OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Mar 19, 2024 4:58 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Android flash memory questions
PostPosted: Sat Feb 27, 2021 12:20 pm 
Offline
Member
Member

Joined: Fri Nov 22, 2019 5:46 am
Posts: 590
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


Top
 Profile  
 
 Post subject: Re: Android flash memory questions
PostPosted: Sat Feb 27, 2021 12:43 pm 
Offline
Member
Member

Joined: Tue Apr 03, 2018 2:44 am
Posts: 399
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.


Top
 Profile  
 
 Post subject: Re: Android flash memory questions
PostPosted: Sat Feb 27, 2021 1:00 pm 
Offline
Member
Member

Joined: Fri Nov 22, 2019 5:46 am
Posts: 590
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


Top
 Profile  
 
 Post subject: Re: Android flash memory questions
PostPosted: Sat Feb 27, 2021 1:39 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5069
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.


Top
 Profile  
 
 Post subject: Re: Android flash memory questions
PostPosted: Sat Feb 27, 2021 1:48 pm 
Offline
Member
Member

Joined: Fri Nov 22, 2019 5:46 am
Posts: 590
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


Top
 Profile  
 
 Post subject: Re: Android flash memory questions
PostPosted: Sat Feb 27, 2021 1:57 pm 
Offline
Member
Member

Joined: Tue Apr 03, 2018 2:44 am
Posts: 399
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.


Top
 Profile  
 
 Post subject: Re: Android flash memory questions
PostPosted: Sat Feb 27, 2021 2:07 pm 
Offline
Member
Member

Joined: Fri Nov 22, 2019 5:46 am
Posts: 590
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


Top
 Profile  
 
 Post subject: Re: Android flash memory questions
PostPosted: Sun Feb 28, 2021 5:43 pm 
Offline
Member
Member

Joined: Mon Dec 07, 2020 8:09 am
Posts: 212
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group