adoptable storage and rom updates - One (M8) Q&A, Help & Troubleshooting

Hi, am i correct in believing that updating a custom rom is not possible if i have implemented androids adoptable (sd as internal) storage?
thanks

Not 100% (I don't use adoptable storage), but my understanding, you can flash a custom ROM, but will need to format the SD when you do so. Obviously, you will lose your data when you format. So backup data to an off-phone location (cloud, PC, etc.) before doing it.

I have the same problem of Carperman. So do you advise some program for make a complete backup and restore after the rom update ?
redpoint73 said:
Not 100% (I don't use adoptable storage), but my understanding, you can flash a custom ROM, but will need to format the SD when you do so. Obviously, you will lose your data when you format. So backup data to an off-phone location (cloud, PC, etc.) before doing it.
Click to expand...
Click to collapse

Related

Factory Reseting

Since this phone does not have an SD card, does this mean that anytime I want to try a new ROM or something and have to factory reset, that everything off my phone will be erased? Including pictures and ect? I cannot believe they didn't leave SD card support for this phone, really upset about that. It takes too long to transfer my 10gig+ data from my sdcard to this phone. I don't want to have to go through that constantly with this phone.
No the stuff on your phone will not be wiped. The whole "sdcard" thing is a misconception.
The phone itself has a internal storage.
Other phones such as Galaxy S2/S1... have a internal storage and external. Which is removable.
HerroMoto said:
Since this phone does not have an SD card, does this mean that anytime I want to try a new ROM or something and have to factory reset, that everything off my phone will be erased? Including pictures and ect? I cannot believe they didn't leave SD card support for this phone, really upset about that. It takes too long to transfer my 10gig+ data from my sdcard to this phone. I don't want to have to go through that constantly with this phone.
Click to expand...
Click to collapse
Well, if you flash a new a new system image only, then I guess the stuff located in the userdata partition will not be erased...
zephiK said:
No the stuff on your phone will not be wiped. The whole "sdcard" thing is a misconception.
The phone itself has a internal storage.
Other phones such as Galaxy S2/S1... have a internal storage and external. Which is removable.
Click to expand...
Click to collapse
... but if you flash the userdata partition, ALL of your data will be erased, because /sdcard is actually a link to /data/media
If it was me I would make a backup anyway for the sake of a few minutes before flashing any ROM.
Flashing a new rom does NOT erase your data, ie photos - downloads - music etc.
Vangelis13 said:
Flashing a new rom does NOT erase your data, ie photos - downloads - music etc.
Click to expand...
Click to collapse
Have you tried it? Try flashing one of the stock builds from Google found here and tell me if your data gets erased. I can tell you that mine did, but I make sure to make a backup of everything (like daleski75 said earlier) before flashing anything related to the data partition.
as far as I have seen the stock recovery will wipe the /sdcard partition. CWM recovery will not
fundo51 said:
as far as I have seen the stock recovery will wipe the /sdcard partition. CWM recovery will not
Click to expand...
Click to collapse
Is there any way to flash a ROM or factory image in fastboot without wiping the SD card partition? I can only get my device to show up in fastboot, not ADB.
PolishPauL11 said:
Is there any way to flash a ROM or factory image in fastboot without wiping the SD card partition? I can only get my device to show up in fastboot, not ADB.
Click to expand...
Click to collapse
Remove userdata.img from the Google images.
Honestly I would work on getting ADB to work properly. It will give you much more flexibility in these situations.
Sent from my Galaxy Nexus using XDA App
i got the same prob i just rooted, im use to having a sd card so whats the answer if you flash in cwm do a wipe in cwm it wont erase the internal storage? because it sux reloading everything from the computer via usb
dre4402 said:
i got the same prob i just rooted, im use to having a sd card so whats the answer if you flash in cwm do a wipe in cwm it wont erase the internal storage? because it sux reloading everything from the computer via usb
Click to expand...
Click to collapse
No it won't wipe the SD card partition unless you unlock the bootloader or flash the factory images in fastboot.

[Q] Is there anyway to wipe internal SD Card and install a Rom?

After many program installations and various rom setups, I want to free up space on my Internal SD Card by doing a full wipe. Is there a way to do this and be able to load a rom?
sfetaz said:
After many program installations and various rom setups, I want to free up space on my Internal SD Card by doing a full wipe. Is there a way to do this and be able to load a rom?
Click to expand...
Click to collapse
Stock recovery wipes everything but TWRP preserves the "virtual" sdcard. There might (or might not) be some advanced option in TWRP to wipe the virtual sdcard, never looked.
Twrp has the wipe option, I knew that already. I wanted to find a way to use it and still be able to flash a rom. In any case I figured out how to transfer a file to the device with the ADB push command after getting adb to recognize the nexus. Will attempt all this in a couple of days.
sfetaz said:
Twrp has the wipe option, I knew that already. I wanted to find a way to use it and still be able to flash a rom. In any case I figured out how to transfer a file to the device with the ADB push command after getting adb to recognize the nexus. Will attempt all this in a couple of days.
Click to expand...
Click to collapse
I guess I don't understand what you mean then as by default twrp doesn't reset your virtual sdcard for a wipe, so whichever ROM update.zip files you had on the virtual sdcard would survive a wipe in twrp, so there would be no reason to copy them back over.
I guess maybe your question had nothing to do with wipe, and you were really asking how to transfer a custom ROM install file to the tablet so twrp can install it. You can do that using adb or mtp or just download the file using the browser on the tablet.
In advanced wipe there is a box for internal storage... and TWRP supports OTG so you can connect a flash drive formated to FAT32 that contains the Zip you wan't to flash and flash it like any other file.
iamezio said:
In advanced wipe there is a box for internal storage... and TWRP supports OTG so you can connect a flash drive formated to FAT32 that contains the Zip you wan't to flash and flash it like any other file.
Click to expand...
Click to collapse
This is what I mean. My virtual SD Card (data/media) is bloated with files I want to get rid of. So I wanted to wipe internal storage to clear all files and reinstall a rom. Using ADB or USB-OTG as iamezio says, I can transfer a rom zip back to the internal storage after wiping it to be able to install a rom. When I first made this post I wasn't sure how to do this.
sfetaz said:
This is what I mean. My virtual SD Card (data/media) is bloated with files I want to get rid of. So I wanted to wipe internal storage to clear all files and reinstall a rom.
Click to expand...
Click to collapse
Well, when you do a wipe from twrp, it is just removing all the files using a delete operation, which you can also do yourself.
The part of your question that seemed pertinent to me is you wanted TWRP to see your ROM file, which is the same question one would have if they asked how do I install a ROM.
sfetaz said:
This is what I mean. My virtual SD Card (data/media) is bloated with files I want to get rid of. So I wanted to wipe internal storage to clear all files and reinstall a rom. Using ADB or USB-OTG as iamezio says, I can transfer a rom zip back to the internal storage after wiping it to be able to install a rom. When I first made this post I wasn't sure how to do this.
Click to expand...
Click to collapse
twrp will wipe you internal storage with that option you saw in advanced settings. i actually did that one day by mistake and had to sideload the files to get back up and running. if that's what you are ready for, then go for it, it'll do it...

[Q] Write protected internal storage in KitKat

Hello guys, I have a major problem on my N7100. After updating to 4.4.2 TW, I see that I'm not able to write on my INTERNAL storage (I don't have any sd card), and I can't do a full wipe because I have many apps with valuable data, and I can't erase them without a backup, and since I cannot do a backup, so I cannot do a full wipe. Also I cannot put a rom in my phone to flash it without touching Data partitions, please help!!!
aze300 said:
Hello guys, I have a major problem on my N7100. After updating to 4.4.2 TW, I see that I'm not able to write on my INTERNAL storage (I don't have any sd card), and I can't do a full wipe because I have many apps with valuable data, and I can't erase them without a backup, and since I cannot do a backup, so I cannot do a full wipe. Also I cannot put a rom in my phone to flash it without touching Data partitions, please help!!!
Click to expand...
Click to collapse
What about taking the MicoSD out from the back of the GN2 and using a multi card reader or similar and backing up the contents onto a PC/MAC, then formatting it to the correct format type (I think FAT32) for non stock ROMS, then doing what you need to do with the device. The only reason I suggest this route is because this is exactly what I ended up doing this very week. I now have a GT-N7105 running Omni 4.4.2 with 64Gb worth of MicroSD storage, and all the data that I had before Samsung screwed the pooch with an update.
Hope this helps.
WB

Wiping internal storage?

I followed This Guide to get temp root on my Verizon M8 in order to get s-off with sunshine. The SuperSU apk the guide requires is hosted on an iffy looking file hosting site. I'm worried that it could've been infected with malware, which would've gotten root access.
After getting s-off, I followed the guide to install the DigitalHigh GPE ROM HERE. First I had to flash the 5.1 GPE firmware, and then the ROM itself. Would doing both of these things remove any infections, if that apk was infected? If not, what should I do? If it had root access, it could have installed as a system app. I'm assuming that flashing either the 5.1 firmware or the ROM would've overwritten system apps, but I'd like to be sure.
If I wipe internal storage, will I still have s-off and be able to flash the firmware through adb or sideload a ROM?
TheLeshii said:
I'm assuming that flashing either the 5.1 firmware or the ROM would've overwritten system apps, but I'd like to be sure.
Click to expand...
Click to collapse
Firmware doesn't touch system partition; but a ROM flash wipes it and flashes the new ROM to the system partition.
TheLeshii said:
First I had to flash the 5.1 GPE firmware, and then the ROM itself. Would doing both of these things remove any infections, if that apk was infected?
Click to expand...
Click to collapse
I can't claim to have the technical knowledge to really say. But I suppose theoretically its possible some malicious code can reside on other partitions. But it probably unlikely for an infection to be that sophisticated, when there is lower hanging fruit to be had. I'd guess that you are correct, that most malware is installed in system partition or as an app in user data.
TheLeshii said:
If I wipe internal storage, will I still have s-off and be able to flash the firmware through adb or sideload a ROM?
Click to expand...
Click to collapse
Yes, yes, and yes.
The only thing that can make the phone s-on again, is you manually making it so.
So if I do wipe internal storage, would I be able to do everything without a microSD, being that I can't enable USB debugging with no OS? If so, would it be as simple as rebooting to fastboot, then RUU mode, flashing a firmware zip, and then maybe pushing the ROM?
Sent from my HTC One_M8 using XDA Free mobile app
TheLeshii said:
So if I do wipe internal storage, would I be able to do everything without a microSD, being that I can't enable USB debugging with no OS? If so, would it be as simple as rebooting to fastboot, then RUU mode, flashing a firmware zip, and then maybe pushing the ROM?
Click to expand...
Click to collapse
I'm not sure I follow. Wiping internal storage doesn't affect the ROM. Or are you thinking of wiping everything (internal storage, system, etc.) again.
Wouldn't wiping internal storage take out everything, including the ROM? I'd just like to my sure my phone is clean of malware.
Sent from my HTC One_M8 using XDA Free mobile app
TheLeshii said:
Wouldn't wiping internal storage take out everything, including the ROM? I'd just like to my sure my phone is clean of malware.
Click to expand...
Click to collapse
"Internal storage" specifically just means the user-accessible storage partition (also called the "virtual SD" by some), which is /data/media. That one partition, that's it. No other partitions are touched, including system (ROM) partition, as I already mentioned.
Now, there are options to wipe other partitions, such as in the Advanced Wipe options in TWRP. If you select the system partition, than that will wipe the ROM. But again, its a completely different option and partition than internal storage.
If I wipe the OS completely, would I still be able to access the device with adb? Or would wiping /system definitely get rid of all possible malware?
TheLeshii said:
If I wipe the OS completely, would I still be able to access the device with adb?
Click to expand...
Click to collapse
You should be able to use adb while booted into TWRP. Fastboot commands will work without OS (boot into bootloader-fastboot mode).
TheLeshii said:
Or would wiping /system definitely get rid of all possible malware?
Click to expand...
Click to collapse
"Definite" is a tough term. In the grand scheme, in theory you can have malware on your phone and computer from any number of sources. But its a matter of probability. I'd say if you've already replaced your ROM, wiped user data, and you wipe internal storage; the probability of malware is rather low.
redpoint73 said:
"Internal storage" specifically just means the user-accessible storage partition (also called the "virtual SD" by some), which is /data/media. That one partition, that's it. No other partitions are touched, including system (ROM) partition, as I already mentioned.
Now, there are options to wipe other partitions, such as in the Advanced Wipe options in TWRP. If you select the system partition, than that will wipe the ROM. But again, its a completely different option and partition than internal storage.
Click to expand...
Click to collapse
Sorry to ask again, seems I have to do it because my internal storage is almost full because of unnecessary "things".
So if I wipe the internal storage from TWRP, it will not affect the ROM, etc? So I don't need to flash any ROM again after wiping the internal storage?
Thank you, sir!
pryg said:
Sorry to ask again, seems I have to do it because my internal storage is almost full because of unnecessary "things".
So if I wipe the internal storage from TWRP, it will not affect the ROM, etc? So I don't need to flash any ROM again after wiping the internal storage?
Click to expand...
Click to collapse
ROM is on the "system" partition, which is completely separate from internal storage. You will only wipe the ROM if you specifically choose to wipe the system partition in Advanced wipe options.
You will however, lose all personal data on internal storage if you wipe it, including TWRP backups. So its advised you copy TWRP backups to your computer or removable SD before wiping. You should always have a known good TWRP backup available, in my opinion.
ROM zips also take up a lot of space. If you've been doing a lot of ROM flashing you might clear up your storage problem simply by moving unneeded TWRP backups and ROMs to your computer.
redpoint73 said:
ROM is on the "system" partition, which is completely separate from internal storage. You will only wipe the ROM if you specifically choose to wipe the system partition in Advanced wipe options.
You will however, lose all personal data on internal storage if you wipe it, including TWRP backups. So its advised you copy TWRP backups to your computer or removable SD before wiping. You should always have a known good TWRP backup available, in my opinion.
ROM zips also take up a lot of space. If you've been doing a lot of ROM flashing you might clear up your storage problem simply by moving unneeded TWRP backups and ROMs to your computer.
Click to expand...
Click to collapse
Thank you, sir. Where can I find the TWRP backups?
pryg said:
Thank you, sir. Where can I find the TWRP backups?
Click to expand...
Click to collapse
TWRP>Backups>Serial number

Can I wipe Internal Storage on Mi Max 3?

This might be an obvious question.. I just don't want to kill my Mi Max 3.
- on this device, can I safely wipe the Internal Storage to clean it up before flashing a custom ROM?
GEoMaNTiK said:
This might be an obvious question.. I just don't want to kill my Mi Max 3.
- on this device, can I safely wipe the Internal Storage to clean it up before flashing a custom ROM?
Click to expand...
Click to collapse
Yes, just make sure you have the flash files on SD Card or mount USB to PC to import the files in case you do not have an SD Card.
You can also go from rom to rom without wiping internal after wiping everything else except external of course. Its fine to wipe clean just to make sure.
With the exception of Miui EU Rom, which wipes everything when converting partitions EXT4 to F2FS (since its mandatory) before flashing the rom itself and etc.
Wmateria said:
Yes, just make sure you have the flash files on SD Card or mount USB to PC to import the files in case you do not have an SD Card.
You can also go from rom to rom without wiping internal after wiping everything else except external of course. Its fine to wipe clean just to make sure.
With the exception of Miui EU Rom, which wipes everything when converting partitions EXT4 to F2FS (since its mandatory) before flashing the rom itself and etc.
Click to expand...
Click to collapse
Nice one, thank you.
Just wiped internal to clean up from all the custom ROM's I've used and re-installed XtendedROM... working great.

Categories

Resources