Hello, forum!
My current Pixel 2 is using the stock google system but I haven't updated the OS since March, partly because it's rooted
and the update process is not as easy.
Now that google said it'd only support the phone till this December, I'm thinking to install lineageOS.
However according to its installation guide:
...
3. Now tap Wipe.
4. Now tap Format Data and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.
...
It's surprising that it need clear internal storage?
p.s. I may also think about installing Resurrection Rom. Does it require 'formatting data' then?
Afaik you must back up everything before installing new ROM, because when you install custom ROM you will wipe and format system and it will erase everything in your internal storage
If its rooted try modded version of twrp to backup your internal data as well
armuttaqin said:
Afaik you must back up everything before installing new ROM, because when you install custom ROM you will wipe and format system and it will erase everything in your internal storage
Click to expand...
Click to collapse
No, it's not, nobody wipes /data/media during rom replacement only /data.
However if his bootloader is locked, bootloader unlock will wipe everything, so before switching from stock a backup is must.
Alright, guys. Thanks for the input. Guess I'll just backup the internal storage and do as told.
Related
I am curious about doing an internal data wipe before flashing a new Rom. I am using TWRP 2.5.5. I am on the 4.2 bootloader and am about to update to the new CROMi. I know that doing a factory reset wipes dalvik, cache, and system, am I wrong in thinking this still leaves some stuff left over on your internal SD? If it does, I want to format all of it. I have the 4.2.1 bootloader, the CROMi rom, and a 4.2.1 stock nandroid backup I made in TWRP all saved on my external SD. What I dont understand is if I format all the data on the internal, how will the tablet know what to do when I boot it back up? Will TWRP be lost? If it does boot back up, what will it boot back up to? I just dont quite understand this internal SD formatting thing so well, so I am asking for some help so I can avoid doing something stupid. I know this is possible because I have read about other people doing it in the CROMi thread, I just want to make sure I am not missing anything
Your tablet has the following partitions (and some others which are irrelevant for this discussion):
- Bootloader
- Recovery
- Linux kernel
- Cache partition (/cache)
- System partition (/system)
- Data partition (/data)
The internal SD card is an emulation that uses /data/media as storage. So if you format /data, that removes all user data including the contents of your "internal SD card" emulation. I don't know why the normal "factory reset" somehow deletes only the rest of /data excluding /data/media. It may be convenient but not what I would understand as "factory reset".
If you format /system (which is not touched by a factory reset), you won't be able to boot Android unless you install a new ROM before you reboot. You don't need to format /system, it's done by the CROMI installer anyway.
_that said:
Your tablet has the following partitions (and some others which are irrelevant for this discussion):
- Bootloader
- Recovery
- Linux kernel
- Cache partition (/cache)
- System partition (/system)
- Data partition (/data)
The internal SD card is an emulation that uses /data/media as storage. So if you format /data, that removes all user data including the contents of your "internal SD card" emulation. I don't know why the normal "factory reset" somehow deletes only the rest of /data excluding /data/media. It may be convenient but not what I would understand as "factory reset".
If you format /system (which is not touched by a factory reset), you won't be able to boot Android unless you install a new ROM before you reboot. You don't need to format /system, it's done by the CROMI installer anyway.
Click to expand...
Click to collapse
Aweomse! Thanks for helping me understand that a little better. My first ROM was CROMi 3.4.4 and I researched all this for about an entire week before I started this but I never fully understand the difference with formatting internal SD and factory reset. I have always installed the new ROM before rebooting anyway but it is nice to know CROMi does the system wipe for you. Didnt know that. If I were to do a complete wipe, would I need to install the most recent 4.2 bootloader prior to installing CROMi so it is there for CROMi to build on?
Oh, and btw your Kernels for CROMi are outstanding.
Turin87 said:
My first ROM was CROMi 3.4.4 and I researched all this for about an entire week before I started this but I never fully understand the difference with formatting internal SD and factory reset.
Click to expand...
Click to collapse
There is even official TWRP documentation about wiping: http://teamw.in/whattowipe
(I personally have never used any of the wipe options so far, so I am just repeating what I read about it)
Turin87 said:
If I were to do a complete wipe, would I need to install the most recent 4.2 bootloader prior to installing CROMi so it is there for CROMi to build on?
Click to expand...
Click to collapse
There is no "wipe bootloader" option, so there is no need to reinstall the bootloader. Wiping the bootloader would also brick your device and you would need nvflash to recover.
_that said:
There is even official TWRP documentation about wiping:
(I personally have never used any of the wipe options so far, so I am just repeating what I read about it)
There is no "wipe bootloader" option, so there is no need to reinstall the bootloader. Wiping the bootloader would also brick your device and you would need nvflash to recover.
Click to expand...
Click to collapse
Good to know. Glad I didnt attempt that. My firmware version was .30 so nvflash was not an option for me. Thanks again for your help.
I would like to wipe internal storage to make better/clean install of the ROM (
with old S3 i make a folder on Ext SD with .zip file
reboot to cwm
backup
wipe all (cache + data + system + internal storage)
install (rom + gapps + kernel)
reboot
As you know on 1+ there is no Ext Sd
Someone has already tried to do:
copy .zip file to a folder on PC
reboot to TWRP (2.8.0.1)
make a backup
connect phone to pc and mount data
copy backup from 1+ to Pc
advanced wipe (cache + data + system + internal storage)
copy .zip file from PC to 1+
install (rom + gapps + kernel)
reboot
Can it work?
P.s. I have no OTG cable or USB
You should be able to wipe everything and install the Rom-Zip via ADB-Push.
Why dont you try to install the new rom in recovery with a normal wipe and after you falsh the rom + gapps do a wipe of the internal sdcard should have the same affect ?
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
markbencze said:
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
Click to expand...
Click to collapse
Wow. Interesting thread. However, I wipe my internal storage (for a "full" wipe) everytime I flash a new rom or even the weekly of a same rom and luckily I haven't ran into the problems in your thread.
to the OP: I put all of my zip files in a USB otg so flashing is a bit simpler. This includes all of my nandroid and media.
I would wait to wipe the internal storage until you figure out which route you want to use (USB-otg or ADB)
Until then a normal factory reset in your recovery should be good. Also as @Hogyoku metioned you can erase internal from within the Rom to get the same effect.
Sent from my One A0001 using XDA Free mobile app
Mojar7070 said:
Wow. Interesting thread. However, I wipe my internal storage (for "full" wipe) evertime I flash a new rom or even the weekly of a same rom and luckily I haven't ran into the problems in your thread.
I do put all of my zip files in a USB otg so flashing is a bit simpler.
Sent from my One A0001 using XDA Free mobile app
Click to expand...
Click to collapse
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
markbencze said:
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
Click to expand...
Click to collapse
This i what the OP wanted i'm not saying it's smart .....
::I would like to wipe internal storage to make better/clean install of the ROM :
Hogyoku said:
This i what the OP wanted i'm not saying it's smart .....
::I would like to wipe internal storage to make better/clean install of the ROM :
Click to expand...
Click to collapse
who ever is saying to wipe internal doesn't know what they're doing. This is the last I will mention of this here. There is no need and it's dangerous. That's how efs and the persist files get wiped and you find yourself in some serious trouble.
when installing a rom all that is needed is wipe data and system. Not cache, not dalvik and certainly not internal.
So many people have a misconception on how to properly wipe and everything seems to think they need to wipe caches on top of system and data. Well guess what, when you wipe system and data the caches get wiped too so it's just an extra unneeded step. And some people will post crap saying to wipe 3 times when flashing etc. They are simply making things up
markbencze said:
who ever is saying to wipe internal doesn't know what they're doing. This is the last I will mention of this here. There is no need and it's dangerous. That's how efs and the persist files get wiped and you find yourself in some serious trouble.
when installing a rom all that is needed is wipe data and system. Not cache, not dalvik and certainly not internal.
So many people have a misconception on how to properly wipe and everything seems to think they need to wipe caches on top of system and data. Well guess what, when you wipe system and data the caches get wiped too so it's just an extra unneeded step. And some people will post crap saying to wipe 3 times when flashing etc. They are simply making things up
Click to expand...
Click to collapse
markbencze said:
That's not wise. You should never wipe internal plain and simple. All that s required for full wipe is system and data. If you continue doing so, you're going to find out the hard way one day
Click to expand...
Click to collapse
markbencze said:
are you out of your mind? DO NOT WIPE INTERNAL!!! WIPE SYSTEM AND DATA ONLY
here's my thread for when you wipe internal and brickloop your phone!
Click to expand...
Click to collapse
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Omg man you are not helping things here. Do you think its just a coincidence that everyone with these bricks wiped internal?
Considering I found the fix to this issue I'm pretty sure I know what I'm talking about. But nice try.
Anyway I'm done here. I came here to help people recover from their bricks which I have done.
markbencze said:
Omg man you are not helping things here. Do you think its just a coincidence that everyone with these bricks wiped internal?
Considering I found the fix to this issue I'm pretty sure I know what I'm talking about. But nice try.
Anyway I'm done here. I came here to help people recover from their bricks which I have done.
Click to expand...
Click to collapse
That's really nice of you that you did that guide. But there is no way that bricks could have to do with that wipe. There is no way an internal wipe could corrupt any other partition than /data/ (efs, persist anything) beside of a bug in the recovery. Wiped internal several times on every phone and also the OPO with TWRP 2.8.0.1 and as you can see it's still running.
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Although you are right about this I still think it ain't smart to advice this on this forum. A lot of noobs around here, much more than in any sub forum of a phone I ever owned.[emoji6]
om22 said:
This is complete bull****. Internal wipe will NEVER destroy anything it just wipes the whole /data/ instead of leaving /data/media. If you want your usb storage / internal sdcard / whatever you call it to be erased that's the one to choose. For a complete clean install:
1. BACKUP EVERYTHING YOU MIGHT EVER NEED AGAIN.
2. Grab ROM and GAPPS and put it on internal storage
3. Boot recovery and wipe DATA, SYSTEM, CACHE (dalvik is not needed because it's located on /data)
3. Flash ROM and GAPPS
4. Wipe internal storage
5. Stop talking about things you don't know correctly
Click to expand...
Click to collapse
Thank you
Hey there.
Im planning on buying the LG G2 32GB version since its a pretty good phone for a pretty cheap price. Now I know that it doesnt have an SD card opening, and you only got the internal storage. This isnt a problem for me but Ive got a question when it comes to flashing a custom rom.
When flashing a rom you first have to go to recovery and do a factory reset and wipe the dalvik cache. I know the drill since ive been using CM11 on the phone I have right now (LG L7 II) normally you have to place the .zip from teh rom on the sd card and then flash it. but this phone doesnt have an SD card wich means youll have to put it on the internal storage. But when you do a factory reset all the internal files get deleted, wich means also the .zip from the rom will be gone. the same goes for nandroid backups. can anyone explain to me how to get teh trick done?
Thnx in advance
Arthurvben said:
Hey there.
Im planning on buying the LG G2 32GB version since its a pretty good phone for a pretty cheap price. Now I know that it doesnt have an SD card opening, and you only got the internal storage. This isnt a problem for me but Ive got a question when it comes to flashing a custom rom.
When flashing a rom you first have to go to recovery and do a factory reset and wipe the dalvik cache. I know the drill since ive been using CM11 on the phone I have right now (LG L7 II) normally you have to place the .zip from teh rom on the sd card and then flash it. but this phone doesnt have an SD card wich means youll have to put it on the internal storage. But when you do a factory reset all the internal files get deleted, wich means also the .zip from the rom will be gone. the same goes for nandroid backups. can anyone explain to me how to get teh trick done?
Thnx in advance
Click to expand...
Click to collapse
The device will have an emulated external SD partition, and this partition is untouched when you wipe system/cache/data before flashing a new ROM. Stuff like photos, videos, and other files are saved in this partition too. This partition can be wiped from recovery (TWRP/CWM) if needed, but typically isn't and shouldn't be lest you lose all your stuff (including ROMs, Gapps packages, and nandroid back-ups). Just make sure you do wipes within recovery, and not a "factory reset" through the device itself, which will wipe all your stuff.
Planterz said:
The device will have an emulated external SD partition, and this partition is untouched when you wipe system/cache/data before flashing a new ROM. Stuff like photos, videos, and other files are saved in this partition too. This partition can be wiped from recovery (TWRP/CWM) if needed, but typically isn't and shouldn't be lest you lose all your stuff (including ROMs, Gapps packages, and nandroid back-ups). Just make sure you do wipes within recovery, and not a "factory reset" through the device itself, which will wipe all your stuff.
Click to expand...
Click to collapse
So when I do a system wipe in TWRP all that stuff will stay untouched? (is this also the case with phones who DO have an external SD?)
Arthurvben said:
So when I do a system wipe in TWRP all that stuff will stay untouched? (is this also the case with phones who DO have an external SD?)
Click to expand...
Click to collapse
In TWRP, when you tap "wipe", tap "advanced wipe", you're given the following options (I'm looking at v2.6.3.2 on my LG G Pad 8.3)"
Dalvik Cache
System
Data
Internal Storage
Cache
Micro SDcard
When doing a clean install of a ROM, you wipe Dalvik Cache, System, Data, and Cache. Internal storage is the emulated SD card, and (obviously) Micro SDcard is your microSD card. If supported, USB OTG will also have an option for wiping. If the device doesn't have a microSD card slot, you won't be given the option. If you want to flash a ROM (or whatever) just save it to whatever folder (like "Downloads", or make your own) you want, do the appropriate wipes, then flash from internal storage.
Thnx
Planterz said:
In TWRP, when you tap "wipe", tap "advanced wipe", you're given the following options (I'm looking at v2.6.3.2 on my LG G Pad 8.3)"
Dalvik Cache
System
Data
Internal Storage
Cache
Micro SDcard
When doing a clean install of a ROM, you wipe Dalvik Cache, System, Data, and Cache. Internal storage is the emulated SD card, and (obviously) Micro SDcard is your microSD card. If supported, USB OTG will also have an option for wiping. If the device doesn't have a microSD card slot, you won't be given the option. If you want to flash a ROM (or whatever) just save it to whatever folder (like "Downloads", or make your own) you want, do the appropriate wipes, then flash from internal storage.
Click to expand...
Click to collapse
Thanks very much for a clean explanation!
Now that the Note 5 has NO external SDcard support, how are we suppose to do a FULL and complete WIPE inside TWRP ?
I am talking about when I want to wipe data/media ( Format Data ) to install a new custom ROM on a completely wiped clean system.
I know it is not needed allwas but I like to format data sometimes to really remove all of the old system when I install a new ROM.
With the Note 4 you could just put the new ROM onto the SDcard and format the internal memory safely, and just flash the ROM
from the SDcard.
What can we do now ? If I format via TWRP it will wipe the internal SD area and wipe the new ROM also so I cant flash.
Thanks for any ideas.
re: full wipe
Thibor69 said:
Now that the Note 5 has NO external SDcard support, how are we suppose to do a FULL and complete WIPE inside TWRP ?
I am talking about when I want to wipe data/media ( Format Data ) to install a new custom ROM on a completely wiped clean system.
I know it is not needed allwas but I like to format data sometimes to really remove all of the old system when I install a new ROM.
With the Note 4 you could just put the new ROM onto the SDcard and format the internal memory safely, and just flash the ROM
from the SDcard.
What can we do now ? If I format via TWRP it will wipe the internal SD area and wipe the new ROM also so I cant flash.
Thanks for any ideas.
Click to expand...
Click to collapse
Easy, do an advanced wipe in twrp and don't check mark internal storage or the OTG, only
check mark system, data, cache and dalvik and nothing except do a factory reset in twrp.
(doing it this way will not delete anything on the internal sdcard.
Good luck!
Have a nice Thanksgiving!
Haven't tried on this phone as I haven't rooted but adb push should solve your question.
Hi Guys
Im having trouble flashing new Roms to my S7. When I enter TWRP recovery, it shows my device as 0MB and it doesnt picK up any files. I looked into this and read that Encryption should be disabled on the handset. I followed instructions to do this and noticed that there is no option for Encryption Protection. Its not there!
I disabled any passwords and Pin numbers to erase decryption and it still didnt work!
last resort was to try a factory reset and the device restarted to recovery and failed as TWRP recovery cant find any mounted devices due to the encryption crap.
Any help appreciated.
Chris
scientificharmony said:
Hi Guys
Im having trouble flashing new Roms to my S7. When I enter TWRP recovery, it shows my device as 0MB and it doesnt picK up any files. I looked into this and read that Encryption should be disabled on the handset. I followed instructions to do this and noticed that there is no option for Encryption Protection. Its not there!
I disabled any passwords and Pin numbers to erase decryption and it still didnt work!
last resort was to try a factory reset and the device restarted to recovery and failed as TWRP recovery cant find any mounted devices due to the encryption crap.
Any help appreciated.
Chris
Click to expand...
Click to collapse
Hi mate
Seems like you did not format your data partition during TWRP installation.........
Try flashing your custom rom from the External SD card......your data partition has all your app , files , passwords, photos...there is still a chance that there it may be a incompatibility issue between your apps and the new rom....that is why they recommend a factory reset when flashing a new custom rom
MAX 404 said:
Hi mate
Seems like you did not format your data partition during TWRP installation.........
Try flashing your custom rom from the External SD card......your data partition has all your app , files , passwords, photos...there is still a chance that there it may be a incompatibility issue between your apps and the new rom....that is why they recommend a factory reset when flashing a new custom rom
Click to expand...
Click to collapse
hi mate
thanks for your reply. I dont have an external SD card
Is there any other way of sorting this? I am downloading a stock rom as we speak.
scientificharmony said:
hi mate
thanks for your reply. I dont have an external SD card
Is there any other way of sorting this? I am downloading a stock rom as we speak.
Click to expand...
Click to collapse
Hi
TWRP can not handle Samsung encryption . if you wish to use TWRP and have access to the Data partition ( internal SD card) you need to format it so the encryption is disabled ( you lose all your apps , data and user configuration AKA factory reset) , you can have TWRP and data encryption but mods and roms have to be flashed from external memories also you will not have available MTP in recovery or factory reset from it.
There is no way to disable data encryption without format data.....
Ok, I got a friends SD card and placed the Rom on there. I can now see the Rom but the trouble is, TWRP wont let me wipe Dalvik / data / system / cache as it wont mount the storage....
can I still apply the ROM?
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all of your data.
scientificharmony said:
Unable to restart your device. The integrity verification has failed. You need to reset your device to factory default settings. This will erase all of your data.
Click to expand...
Click to collapse
That is why I point it out " factory reset is recommended when flashing custom rom" if you wish to flash a custom rom you will have to format your data partition and flash the data verify file........
MAX 404 said:
That is why I point it out " factory reset is recommended when flashing custom rom" if you wish to flash a custom rom you will have to format your data partition and flash the data verify file........
Click to expand...
Click to collapse
I have tried to format/wipe data. TWRP keeps saying it failed as it cant mount the storage.
I tried flashing the stock rom via odin and it also failed as it goes to recovery to wipe data and it fails again as it cant mount storage.
scientificharmony said:
I have tried to format/wipe data. TWRP keeps saying it failed as it cant mount the storage.
I tried flashing the stock rom via odin and it also failed as it goes to recovery to wipe data and it fails again as it cant mount storage.
Click to expand...
Click to collapse
How did you flash the stock rom...which files did you use?
Wipe data is not enough you have to Wipe / FORMAT DATA and type yes....
1 To get rid of encryption, go to "wipe", format data (TWRP) (keyboard will pop up) then type "yes" and format it, then reboot to recovery
2. After flashing this, hit wipe, full wipe (this will clean all internal memory and your data will be lost
3 you can test if encryption is still enabled, if TWRP shows error about not mounting data your phone is still encrypted
Sent from my SM-G930F using XDA-Developers mobile app
Josh Smith10 said:
1 To get rid of encryption, go to "wipe", format data (TWRP) (keyboard will pop up) then type "yes" and format it, then reboot to recovery
2. After flashing this, hit wipe, full wipe (this will clean all internal memory and your data will be lost
3 you can test if encryption is still enabled, if TWRP shows error about not mounting data your phone is still encrypted
Sent from my SM-G930F using XDA-Developers mobile app
Click to expand...
Click to collapse
What version of TWRP are you guys using and what version Super SU?
Delete