Hello.
Few days ago I rooted my phone to flash cloudyg3 (custom rom).
So, after i installed cloudyg3, I went back to twrp and wiped the cache.. and suddenly - my g2 was having bootloop and was bricked.
No buttons worked and I got it back to life through adb . A real headache for me as an android newb.
Now, I really want to get the rom back lol.
DO I NEED TO WIPE THE CACHE BEFORE INSTALLING A NEW ROM? Thanks. And would this avoid bricks by any way?
Before installing new rom: wipe everything EXCEPT internal storage in the advanved wipe menu i twrp. You'll bootloop if you skip this part. So yes, that includes cache
After wipe, zip new rom and make sure you choose the right variant (d80x or whatever is yours, mine is d802..) in the aroma installer.
Happy flashing!
Sent from my LG-D802 using XDA Premium 4 mobile app
---------- Post added at 09:40 AM ---------- Previous post was at 09:39 AM ----------
That is if you are using twrp. For cwm: wipe to install new rom, than cache, than dalvik cache under advanced menu just in case.
Sent from my LG-D802 using XDA Premium 4 mobile app
Related
Hello!
Only one question..
Im on 4.2.2 with new baseband
When i want to wipe all my data,so i have the whole space back, what button i have to push in twrp ? Wipe data only or more?
And after that i can push my PA 3.0 via adb push on my nexus and flash it without problems ? Thank you guys and sorry for my noob english,i hope u understand what i want to do
Sent from my Nexus 4 using xda premium
In TWRP, click Wipe, then Format Data. Be warned, you'll lose everything, including backups.
USSENTERNCC1701E said:
In TWRP, click Wipe, then Format Data. Be warned, you'll lose everything, including backups.
Click to expand...
Click to collapse
Does it erase TWRP itself?
Does it erase EFS as well?
I assume after I press this, I will have to push a rom in via Odin for example?
the_hatrix said:
Does it erase TWRP itself?
Does it erase EFS as well?
I assume after I press this, I will have to push a rom in via Odin for example?
Click to expand...
Click to collapse
Are you joking mate or just trolling. I hope so otherwise you better buy a iPhone
No not really as I never clicked Format Data before.
I assume it doesn't wipe TWRP itself... but I just want to be sure.
As for EFS I asked because I have a persistent No Service - Selected Network Unavailable showing up since a few days ago. Restore, Full Wipe, Restart, Reconnecting, nothing works. I suspect it might be the EFS partition (TWRP never backed it up as it always fails when it gets to that point, the backup works fine regardless)
So I am down to probably doing a Full Data wipe and install a fresh rom to see if it will fix it.
the_hatrix said:
No not really as I never clicked Format Data before.
I assume it doesn't wipe TWRP itself... but I just want to be sure.
As for EFS I asked because I have a persistent No Service - Selected Network Unavailable showing up since a few days ago. Restore, Full Wipe, Restart, Reconnecting, nothing works. I suspect it might be the EFS partition (TWRP never backed it up as it always fails when it gets to that point, the backup works fine regardless)
So I am down to probably doing a Full Data wipe and install a fresh rom to see if it will fix it.
Click to expand...
Click to collapse
You don`t have to wipe if you flash a factory image in fastboot. Everything will be erased after the wipe. Look here for how to do it http://forum.xda-developers.com/showthread.php?t=2010312.
I'd like an answer to this too.
I want to nuke all data on my N4 (I've saved backups and media on my PC), so that i have a clean phone ready to flash a new ROM (copied across by USB after the wipe) so that any old program folders are gone and I've got a clean slate. But don't want to lose my TWRP recovery/root etc.
I recall that CWM had an option to wipe everything but still had the sense to avoid wiping itself! What's the point of a recovery that nukes itself in the process? That's just retarded - no offence.
Thanks.
gee2012 said:
You don`t have to wipe if you flash a factory image in fastboot. Everything will be erased after the wipe. Look here for how to do it http://forum.xda-developers.com/showthread.php?t=2010312.
Click to expand...
Click to collapse
So thanks to this forum, I thought I bricked my phone last night (well I kinda did). I used the format option on TWRP and magic happened, I was stuck at the logo. I figured I'd just use Odin to flash my official rom, which worked fine. Now I wanna flash the rom I had before formatting but want all the space back (I dont want all of the bloatware folders and bull**** that result from the official rom, which is why I used format in the first place). My questions is: Can I use format now that I have my official rom running and then push a custom rom through Odin? Will that work or not?
Globespy said:
I'd like an answer to this too.
I want to nuke all data on my N4 (I've saved backups and media on my PC), so that i have a clean phone ready to flash a new ROM (copied across by USB after the wipe) so that any old program folders are gone and I've got a clean slate. But don't want to lose my TWRP recovery/root etc.
I recall that CWM had an option to wipe everything but still had the sense to avoid wiping itself! What's the point of a recovery that nukes itself in the process? That's just retarded - no offence.
Thanks.
Click to expand...
Click to collapse
If you use twrp and factory reset it will wipe data not the sd partition if you wipe system it wipes the ROM if you wipe data it will wipe SD partition including your backups. None of those will remove your recovery. Nothing will touch efs partition this is not a Samsung device
Sent from my Nexus 4
Globespy said:
I'd like an answer to this too.
I want to nuke all data on my N4 (I've saved backups and media on my PC), so that i have a clean phone ready to flash a new ROM (copied across by USB after the wipe) so that any old program folders are gone and I've got a clean slate. But don't want to lose my TWRP recovery/root etc.
I recall that CWM had an option to wipe everything but still had the sense to avoid wiping itself! What's the point of a recovery that nukes itself in the process? That's just retarded - no offence.
Thanks.
Click to expand...
Click to collapse
You are showing a complete lack of understanding on the subject. I would recommend doing more reading before you mess with your device.
It is impossible to have root when you don't have a rom on your phone. Clearing all data erases root as well. Flashing a rooted rom (nearly all are rooted) establishes root again.
Wiping data in recovery does not wipe the recovery for one extremely simple reason - recovery has its own partition on any device. The only way recovery could ever be wiped is by flashing a recovery.img file by fastboot (such as the Google factory images).
Sent from my iPad 4
---------- Post added at 03:03 PM ---------- Previous post was at 02:58 PM ----------
FlashThisB said:
So thanks to this forum, I thought I bricked my phone last night (well I kinda did). I used the format option on TWRP and magic happened, I was stuck at the logo. I figured I'd just use Odin to flash my official rom, which worked fine. Now I wanna flash the rom I had before formatting but want all the space back (I dont want all of the bloatware folders and bull**** that result from the official rom, which is why I used format in the first place). My questions is: Can I use format now that I have my official rom running and then push a custom rom through Odin? Will that work or not?
Click to expand...
Click to collapse
Odin?????????
Do you have a Samsung Nexus 4????
Sent from my iPad 4
For some reason in my HTC One X wipe sdcard doesn't work with twrp. I've noticed that in the hardest and surprising way once that j was trying to flash a new rom and before flash I hit the wipe sdcard button. It supposed to delete everything but I didn't. Thanks god it didn't wiped my data, but now that I am safe I want to delete all from recovery and it just don't work.
Sent from The HTC One X Mongrel Cat.
mitchdickson said:
You are showing a complete lack of understanding on the subject. I would recommend doing more reading before you mess with your device.
It is impossible to have root when you don't have a rom on your phone. Clearing all data erases root as well. Flashing a rooted rom (nearly all are rooted) establishes root again.
Wiping data in recovery does not wipe the recovery for one extremely simple reason - recovery has its own partition on any device. The only way recovery could ever be wiped is by flashing a recovery.img file by fastboot (such as the Google factory images).
Sent from my iPad 4
---------- Post added at 03:03 PM ---------- Previous post was at 02:58 PM ----------
Odin?????????
Do you have a Samsung Nexus 4????
Sent from my iPad 4
Click to expand...
Click to collapse
lol nonono I have a samsung galaxy S4 i337M. Sorry for posting in the wrong section but this is all I found on XDA regarding TWRP formatting option.
mitchdickson said:
You are showing a complete lack of understanding on the subject. I would recommend doing more reading before you mess with your device.
It is impossible to have root when you don't have a rom on your phone. Clearing all data erases root as well. Flashing a rooted rom (nearly all are rooted) establishes root again.
Wiping data in recovery does not wipe the recovery for one extremely simple reason - recovery has its own partition on any device. The only way recovery could ever be wiped is by flashing a recovery.img file by fastboot (such as the Google factory images).
Sent from my iPad 4
---------- Post added at 03:03 PM ---------- Previous post was at 02:58 PM ----------
Odin?????????
Do you have a Samsung Nexus 4????
Sent from my iPad 4
Click to expand...
Click to collapse
Thanks for your reply, sorry my knowledge of this subject isn't as strong as yours.
So I can choose wipe data, then copy a new ROM using USB and flash on a clear device?
Globespy said:
Thanks for your reply, sorry my knowledge of this subject isn't as strong as yours.
So I can choose wipe data, then copy a new ROM using USB and flash on a clear device?
Click to expand...
Click to collapse
Yes. U will need to use adb to push the ROM after wiping data though.
Sent from my HTC Desire using xda app-developers app
hey im using paranoid android 3.56 and i want to update it to 3.60 will i loose my data if i do so and also im using nexus 4
yes u will loose
but u can take backup also
rasroh said:
yes u will loose
but u can take backup also
Click to expand...
Click to collapse
how to i backup my entire phone data to my pc
sum93 said:
hey im using paranoid android 3.56 and i want to update it to 3.60 will i loose my data if i do so and also im using nexus 4
Click to expand...
Click to collapse
No. You will not lose your data if you dirty flash the new rom. That means, if you just clear cache andd dalvik cache before flashing the new rom, your data wont be deleted. As you are upgrading from one version of the same rom to another, this will function as well as a clean flash.
A clean flash implies you will have to clear data too in the recovery along with cache and dalvik cache. As I said before, this isnt needed when upgrading from one version of a rom to another of the same. However, if you are shifting from one rom to a different one, clean flash is recommended.
So in conclusion, these are the steps you will have to follow to upgrade to the new rom -
1. Download the new upgraded version of the rom and gapps(if not included in the rom). Also take backups (titanium or/and nandroid as required)
2. Boot into recovery.
3. Clean cache.
4. Clean dalvik cache.
5. Flash new rom.
6. Flash gapps.(if not included in the rom)
7. Clean cache and dalvik again.
8. Reboot to system.
Thus, no data wipe required. Your data and applications will be safe.
Sent from my GT-N7100 or the Nexus 10, heaven knows.
Those who help noobs go to heaven. True story.
---------- Post added at 05:27 PM ---------- Previous post was at 05:24 PM ----------
rasroh said:
yes u will loose
but u can take backup also
Click to expand...
Click to collapse
Please do research some on the topic before giving any advice
Most roms do not ask for a clean flash when upgrading the rom, so he won't lose his data. Unless oyherwise recommended by the developer, he doesnt have to clear his data when going from one version of a rom to a new one.
Sent from my GT-N7100 or the Nexus 10, heaven knows.
Those who help noobs go to heaven. True story.
use a backup app like titanium, helium etc
sum93 said:
hey im using paranoid android 3.56 and i want to update it to 3.60 will i loose my data if i do so and also im using nexus 4
Click to expand...
Click to collapse
If you're just updating a rom you wont lose any data. All you have to do is flash the new rom on top of the old one and that's it. No need to wipe anything.
If you are upgrading from one version of a rom to a higher version of the same rom, you can usually dirty flash (flash on top without wiping) without losing any data.
Also even if you did "wipe date", it won't touch your /data/media which is basically where your /sdcard stuff lives (it will just wipe your apps, settings, etc data, so a backup via recovery is usually advised anyways).
On a related note: what does it take to wipe all of your data off your phone? Basically, to get the Nexus 4 back to brand-new, out-of-the-box fresh? Is there an easy way to do it or do you have to manually wipe different locations and if the latter, what locations must you wipe?
Johmama said:
On a related note: what does it take to wipe all of your data off your phone? Basically, to get the Nexus 4 back to brand-new, out-of-the-box fresh? Is there an easy way to do it or do you have to manually wipe different locations and if the latter, what locations must you wipe?
Click to expand...
Click to collapse
If you are on a stock rom, a simple "format data" from recovery would do the trick as it would wipe /data and /data/media. As the stock rom on /system never changes unless you rooted and added stuff to it. (fastboot can do this too from the bootloader with fastboot erase userdata).
Alternatively, you can just unpack the factory firmware and flash the *.img to their respective partitions (boot[kernel], system, userdata, etc) from this list https://developers.google.com/android/nexus/images#occamjdq39 (PS: I wouldn't bother touching the bootloader as most people never changed it other than to maybe unlock it).
Nutshell version: All your user-specific stuff lies under /data (settings, downloaded apps, media, etc)
I've always had cwm but have twrp and ambtrying to install a mod which tells you to wipe cache and dalvik before and after the install which I know how to do on cwm but have no idea how to do on twrp? Any help?
dav08094194 said:
I've always had cwm but have twrp and ambtrying to install a mod which tells you to wipe cache and dalvik before and after the install which I know how to do on cwm but have no idea how to do on twrp? Any help?
Click to expand...
Click to collapse
Just go to wipe or something, pick advanced and choose the Dalvik, Cache stuff. Should be pretty straightforward. Although there is a bug and you should go to settings first and check something with the formatting. Should be described in the TWRP thread too.
Go into advanced settings
Sent from my VS980 4G using XDA Premium 4 mobile app
---------- Post added at 11:15 PM ---------- Previous post was at 11:15 PM ----------
In trwp
Sent from my VS980 4G using XDA Premium 4 mobile app
Thanks for the heads up guys all working fine, although ive never had a phone which takes so long to wipe cache lol.
dav08094194 said:
Thanks for the heads up guys all working fine, although ive never had a phone which takes so long to wipe cache lol.
Click to expand...
Click to collapse
That's what PAGOT was trying to explain. Going into setting and ticking the checkbox next to "Use rm -rf instead of formatting" will take care of the long cache wipe.
I'm going to try to flash CM 11 and have already rooted and set up a TWRP 2.6.3.2 recovery. I have seen that you need the new TWRP update to flash CM11 so I have a few questions:
How do I update to 2.6.3.3 easily?
How can I backup all my apps, contacts, data, etc. so that I don't lose everything after I flash?
Is there anything I should know or do before flashing?
Also, how often do you guys flash new roms, or do you usually just stick with one for a while?
Thanks in advance
KD2417 said:
I'm going to try to flash CM 11 and have already rooted and set up a TWRP 2.6.3.2 recovery. I have seen that you need the new TWRP update to flash CM11 so I have a few questions:
How do I update to 2.6.3.3 easily?
How can I backup all my apps, contacts, data, etc. so that I don't lose everything after I flash?
Is there anything I should know or do before flashing?
Also, how often do you guys flash new roms, or do you usually just stick with one for a while?
Thanks in advance
Click to expand...
Click to collapse
Hey you can flash Roms with 2.6.3.2 but I'll post a link for you in a Lil for 2.6.3.3...this one is a zip so just flash and wipe cache and davlik afterward.
Make sure you make a backup by going into recovery and clicking on backup and swipe to start. You should always have a BACKUP before you start flashing. If you flash a ROM make sure you wipe SYSTEM, DATA,CACHE, and DAVLIK under advanced in wipe.... Before you flash a ROM and then wipe cache and davlik again afterward.....hope this helps
---------- Post added at 05:28 PM ---------- Previous post was at 05:24 PM ----------
http://techerrata.com/browse/twrp2/g2spr
Here is a link for 2.6.3.3 twrp its flashable so go to recovery and flash the wipe cache and davlik afterward the boot up.....also your contacts and such won't be deleted if its on your internal storage ( make sure you don't wipe this)
Install myphoneexplorer client in phone and in your pc and sync your contacts to it and copy all important stuff to ur pc through it you can use WiFi to connect phone to app in pc if you both are on same network so it gives u flexibility, then install flashify from market and then go to teamw.in/projects and look for twrp and download the one that is for your phone and save it to your phone in sdcard then run flashing and select thy zip u downloaded and flash it and make sure u do cache and dalvik cache wipe after install and then u r done.
Sent from my LG-D800 using xda app-developers app
In settings there should be a section for google to run a back up that syncs your apps and/or contacts.
I flash Roms a lot. Damn near daily, you really should give each ROM youre trying a few days to "settle in" especially the new 4.4 Roms.
Sent from my LG-VS980 using xda app-developers app
Thanks for all the info, it helped a lot and now I finally have a rom working.
About after 6 months, I decided to change ROMs on my Moto X. Just like before, I booted into recovery, made a nandroid backup, and tried to wipe cache, ART and Data. But when I try to wipe the data partition, the recovery freezes, my phone starts vibrating and goes into a bootloop. Neither the new ROM will boot, nor will the Nandroid boot. Is there a way to wipe data partition using ADB, as ADB still works.
Also if it helps, I'm using the adopted storage format for my SD Card(i.e. where the SD Card is formatted as internal storage)
Thank you! Don't have a device rn, so any help is appreciated!
I experienced the exact same thing. Was unable to wipe or re-install back up. My data was in the f2fs format so I changed it to ext4 and was able to wipe and finally install a new ROM. Currently using TWRP 3.1.1.0. Not sure if this helps you but that's what I had to do to get it to function.
Sent from my XT1575 using Tapatalk
Use "format data" first, then go to advanced wipe. It will erase all internal memory.
What rom/kernel was the last? Twrp version? @kkricardokaka95
---------- Post added at 09:43 PM ---------- Previous post was at 09:41 PM ----------
lilcdroid said:
I experienced the exact same thing. Was unable to wipe or re-install back up. My data was in the f2fs format so I changed it to ext4 and was able to wipe and finally install a new ROM. Currently using TWRP 3.1.1.0. Not sure if this helps you but that's what I had to do to get it to function.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
What rom/kernel it happened?
I had it with RRemix + handbag kernel 2.0.
At the time I was running Viper OS with handbag 2.0. I went back to CR Droid with stock kernel for now. I haven't had a chance to mess with things since to verify its fixed.
Sent from my XT1575 using Tapatalk
lilcdroid said:
I experienced the exact same thing. Was unable to wipe or re-install back up. My data was in the f2fs format so I changed it to ext4 and was able to wipe and finally install a new ROM. Currently using TWRP 3.1.1.0. Not sure if this helps you but that's what I had to do to get it to function.
Sent from my XT1575 using Tapatalk
Click to expand...
Click to collapse
I used 4 different variants of TWRP but to no avail. I think my data was also in the f2fs format, I don't remember. Will keep it in mind next time something goes wrong! I used a Flash to Stock tool and I'm sitting at 5.0.0. Used fastboot to flash TWRP, will flash some other ROM and check what's wrong.
I was on Ground Zero ROM(Validus) with Handbag kernel.
dzidexx said:
Use "format data" first, then go to advanced wipe. It will erase all internal memory.
What rom/kernel was the last? Twrp version? @kkricardokaka95
---------- Post added at 09:43 PM ---------- Previous post was at 09:41 PM ----------
What rom/kernel it happened?
I had it with RRemix + handbag kernel 2.0.
Click to expand...
Click to collapse
Format Data wasn't working. Recovery hung and rebooted resulting in a bootloop
kkricardokaka95 said:
Format Data wasn't working. Recovery hung and rebooted resulting in a bootloop
Click to expand...
Click to collapse
Try the suggestion from post #2.
(Twrp - advanced wipe - format/repair file system)
It is most definitely the handbag kernel. I'm back on stock CRdroid kernel (completely fresh install of ROM) and have wiped format, backed up, restored all without any problems on TWRP 3.1.1.0. I even put my file system back to f2fs for data.
Sent from my XT1575 using Tapatalk
You'll have to go back to stock then flash twrp and then recover your backup.
Happened to me when I used handbag with los14. 1 and aicp