Android flash memory questions

Programming, for all ages and all languages.
Post Reply
PeterX
Member
Member
Posts: 590
Joined: Fri Nov 22, 2019 5:46 am

Android flash memory questions

Post by PeterX »

I have two questions regarding (ARM 64bit) tablet/smartphone:

1. Can I overwrite the flash memory of an Android Tablet/smartphone without rooting it?

2. Can I backup the contents of the flash memory? I've read some PROMMers can do that.

Greetings
Peter
thewrongchristian
Member
Member
Posts: 406
Joined: Tue Apr 03, 2018 2:44 am

Re: Android flash memory questions

Post by thewrongchristian »

PeterX wrote:I have two questions regarding (ARM 64bit) tablet/smartphone:

1. Can I overwrite the flash memory of an Android Tablet/smartphone without rooting it?

2. Can I backup the contents of the flash memory? I've read some PROMMers can do that.

Greetings
Peter


In general, no. Booting non-official ROMs, including alternative recovery like CWM or TWRP, tend to require rooting to allow access to the FLASH and bootloader partitions.

It's frankly a shocking state of affairs, I suppose sort of mitigated by the fact it does make it very difficult for malware to be installed in the system software as well (that of course doesn't prevent malware apps being installed, but they're easy to wipe.) But any semblance of added security looks pretty thin when you're left with a phone with old, vulnerable system installation that cannot be updated because the phone has been abandoned by the manufacturer.
PeterX
Member
Member
Posts: 590
Joined: Fri Nov 22, 2019 5:46 am

Re: Android flash memory questions

Post by PeterX »

thewrongchristian wrote:
PeterX wrote:I have two questions regarding (ARM 64bit) tablet/smartphone:

1. Can I overwrite the flash memory of an Android Tablet/smartphone without rooting it?

2. Can I backup the contents of the flash memory? I've read some PROMMers can do that.

Greetings
Peter


In general, no. Booting non-official ROMs, including alternative recovery like CWM or TWRP, tend to require rooting to allow access to the FLASH and bootloader partitions.

Aww, what a pity! There goes my plan of easily tinkering with my Android devices... So rooting is the way to go...

Any chance that I can open the device and grab the Flash chip and put it in a PROM writing device?

Greetings
Peter
Octocontrabass
Member
Member
Posts: 5218
Joined: Mon Mar 25, 2013 7:01 pm

Re: Android flash memory questions

Post by Octocontrabass »

PeterX wrote:Any chance that I can open the device and grab the Flash chip and put it in a PROM writing device?

It's possible, but not easy: you'd need to desolder the chip.
PeterX
Member
Member
Posts: 590
Joined: Fri Nov 22, 2019 5:46 am

Re: Android flash memory questions

Post by PeterX »

Octocontrabass wrote:
PeterX wrote:Any chance that I can open the device and grab the Flash chip and put it in a PROM writing device?

It's possible, but not easy: you'd need to desolder the chip.

Ah, thanks, I overlooked that. And if it is surface-mounted it probably will be difficult...

Greetings
Peter
thewrongchristian
Member
Member
Posts: 406
Joined: Tue Apr 03, 2018 2:44 am

Re: Android flash memory questions

Post by thewrongchristian »

Octocontrabass wrote:
PeterX wrote:Any chance that I can open the device and grab the Flash chip and put it in a PROM writing device?

It's possible, but not easy: you'd need to desolder the chip.


Plus it's probably a BGA eMMC with tiny solder pads designed to be used with high precision pick and place robot manufacturing. I don't even know if there is a standard connector layout, making the prospect of standard writing devices remote (if not prohibitively expensive), but it certainly won't be plain FLASH PROM.
PeterX
Member
Member
Posts: 590
Joined: Fri Nov 22, 2019 5:46 am

Re: Android flash memory questions

Post by PeterX »

thewrongchristian wrote:
Octocontrabass wrote:
PeterX wrote:Any chance that I can open the device and grab the Flash chip and put it in a PROM writing device?

It's possible, but not easy: you'd need to desolder the chip.


Plus it's probably a BGA eMMC with tiny solder pads designed to be used with high precision pick and place robot manufacturing. I don't even know if there is a standard connector layout, making the prospect of standard writing devices remote (if not prohibitively expensive), but it certainly won't be plain FLASH PROM.

Thanks for the info, that is more of the bad news... :(

Greetings
Peter
xeyes
Member
Member
Posts: 212
Joined: Mon Dec 07, 2020 8:09 am

Re: Android flash memory questions

Post by xeyes »

PeterX wrote:Thanks for the info, that is more of the bad news... :(

Greetings
Peter


Good news for you:

You can get a dev kit. It will have much better connectivity for debugging and no need to 'press power button 10 s to reset'. Complete with support packages, documentations and example drivers.

If you don't need the latest SOC and touchscreen (the boards usually have HDMI and USB so you can use PC peripherals with it) you can save quite a bit of $$$ and get one much cheaper than a retail product phone/tablet.
Post Reply