[Q] will my data be deleted if update my rom - Nexus 4 Q&A, Help & Troubleshooting

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)

Related

[Q] Odin vs. One Click Recovery

To return to stock I was wondering if it was better to use odin or the One Click Recovery.
Do they both do the same thing?
Is one better than the other?
Thanks
Odin is only true way to go back to stock
rjmjr69 said:
Odin is only true way to go back to stock
Click to expand...
Click to collapse
I know odin completely wipes everything... if i just wanted to flash a new rom and kernel would that still be the way to go?
Maadj said:
I know odin completely wipes everything... if i just wanted to flash a new rom and kernel would that still be the way to go?
Click to expand...
Click to collapse
You need Recovery to change your Roms. Odin won't do that. If you looking to flash Roms, One Click by noobnl. If you wanna go back to Factory. Odin.
so then in all the threads when they say wipe everything they mean the clockwork recovery stuff. not a system wipe
Simple explination: When they say wipe, they mean inside of clockwork recovery you choose the option to wipe the cache, it would be like formatting a hard drive before you install a new windows os, u want to make sure all the old files and disk errors are gone. Same thing here, the cache is where the data/settings are stored.
Sent from my SPH-D700 using XDA App
awesome guys.. thanks for all your help
Not to be mean but no cache does not wipe your data. It's the equivalent to clearing cache on your browser. When a rom thread calls for a wipe they mean wipe data/factory reset, wipe cache, and go to advanced wipe dalvik cache.
Sent from my SPH-D700 using XDA App
I don't know about the whole format thing... guess you look at it that way. It only clears a part, and there's a few of those. But when you wipe your clearing all your data and setting. Each rom is built different. So in some cases you'll need to wipe to make sure nothing from the previous messes you up. The OP (thread starter) of the rom will say when to wipe. Should always wipe between roms. Cool thing is, you can advance restore your stuff back. ; ) or Titanium Backup. But something will alway catch you off guard or you'll forget. So have multi ways of backup. In clockwork you will see back up (Nand Backup as they call it), this backs everything up, if you mess up you can always go back like it was with restore. Have fun and don't let it piss you off.
Sent from my SPH-D700 using Tapatalk
With respect a454nova it should be clearer than that. If a rom says to wipe, the clockwork recovery probably should not be used to restore data because the ROM poster is probably putting something in data along with changing the system files. Titanium can be used judiciously to restore data files but only with full knowledge of what the OP has put in the data directory. Best practice is to use listables and download everything new then restore only items that could not be downloaded from the market

[Q] Correct wipe/flash procedure

Disclaimer: I'm used to my old Evo 4G and use a triple wipe script built into my recovery (smelkus) whenever I flash a rom. It pretty much wipes everything.
For the Nexus 7, what needs to be wiped to flash a rom? I did a factory reset, wiped data, wiped cache, wiped system, wiped dalvik-cache, and then flashed a new rom, but I wasn't sure if all that was necessary. I'm using the latest TWRP recovery.
If I'm moving from one rom based on a jelly bean version to another based on the same version, am I ok?
Can I assume upgrading to a new version of the same rom that I don't have to wipe? (I know this one is rom specific, but in general.)
Can I leave data and will that retain my apps? Otherwise, I use Titanium Backup religiously on my Evo and now on my Nexus 7.
I searched within some of the rom instructions as well as the rooting guides, but didn't see anything specific as to what to wipe. Some threads seem to say just factory reset and maybe dalvik-cache.
Instructions with what to wipe usually come in the original post of each ROM. Usually the same ROM with different version only requires a cache wipe while moving between different ROM's requires a full wipe/reset + dalvik.
Worse comes to worse you try something and it doesn't boot and you get back into recovery and fix it.

(Q) How to full wipe with TWRP?

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

Back to Stock Kernel, only Nexus start screen

Hi,
I had the Faux Kernel 16 mako and wanted to get back to Stock Kernel because I wanted to update to 4.3. So I downloaded a Stock Kernel and flashed it. I didn't work it's stuck at the nexus start screen. So then I wanted to get back to 16 mako faux kernel and it's still the same.. It keeps loading. Can someone help how to fix this? Please?
Thank you so much in advance...
Does maybe the Recovery Kernel Faux help? The link is dead
easygoingx said:
Hi,
I had the Faux Kernel 16 mako and wanted to get back to Stock Kernel. So I downloaded a Stock Kernel and flashed it. I didn't work.. it's stuck at the nexus start screen .. now I wanted to get back to 16 mako faux kernel and it's still the same.. can someone help pls?
Click to expand...
Click to collapse
What android version, what ROM, what did you wipe (if anything)?
Sent from my Nexus 4 using Tapatalk 4
szucsgf said:
What android version, what ROM, what did you wipe (if anything)?
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
I have 4.2.2 and I wiped dalvik cache..
easygoingx said:
I have 4.2.2 and I wiped dalvik cache..
Click to expand...
Click to collapse
Try wipe cache, dalvik, and system (assuming you're using twrp) (you won't lose any apps or data), then reflash your ROM and gapps without flashing a kernel.
Sent from my Nexus 4 using Tapatalk 4
szucsgf said:
Try wipe cache, dalvik, and system (assuming you're using twrp) (you won't lose any apps or data), then reflash your ROM and gapps without flashing a kernel.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Yes I'm using TWRP. Do you mean in the menue 'WIPE' which says FACTORY RESET Wipes Data, Cache and Dalvik (not includiung internal storage)?
I don't lose any apps and data right?
Ok I did. But now it says I have no OS when trying to reboot. I always have used Stock Rom... where can I reflash it?
easygoingx said:
Yes I'm using TWRP. Do you mean in the menue 'WIPE' which says FACTORY RESET Wipes Data, Cache and Dalvik (not includiung internal storage)?
I don't lose any apps and data right?
Click to expand...
Click to collapse
No don't do that, you will lose data.
Click on "Advanced wipe", then select only cache, dalvik cache, and system. Make sure you have a ROM zip file available in your phone's storage. Wipe those 3 things, then flash your ROM and gapps. You will not lose any apps or data. It will remove any leftover files from past kernels and you'll be back on your ROM's default kernel. I often do this when switching kernels. Not needed most of the time but I hope it helps you now.
Sent from my Nexus 4 using Tapatalk 4
szucsgf said:
No don't do that, you will lose data.
Click on "Advanced wipe", then select only cache, dalvik cache, and system. Make sure you have a ROM zip file available in your phone's storage. Wipe those 3 things, then flash your ROM and gapps. You will not lose any apps or data. It will remove any leftover files from past kernels and you'll be back on your ROM's default kernel. I often do this when switching kernels. Not needed most of the time but I hope it helps you now.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Puh, I did the Advanced Wipe without DATA. The problem is that I don't have a ROM Zip on my phones storage. Can I somehow access to the storage to put the Stock Kernel on the phone and then install it? So confusing! I am so thankful for your help.
easygoingx said:
Puh, I did the Advanced Wipe without DATA. The problem is that I don't have a ROM Zip on my phones storage. Can I somehow access to the storage to put the Stock Kernel on the phone and then install it? So confusing! I am so thankful for your help.
Click to expand...
Click to collapse
Wiping System essentially wipes the Android OS off your phone (but keeps your user apps and data), so once you wipe system you need to flash a ROM to be able to boot your phone. That's why I told you to have a ROM zip available.
You can use TWRP's built in file manager (Advanced -> File manager) to see if you have one on your phone. If you don't have any, you can use a root toolkit (like mskip's) to push a ROM zip from your PC to your phone: http://forum.xda-developers.com/showthread.php?t=1995688 or use an adb push command.
How can I make it connected with adb? I always type in adb devices but my device is not listed. I have it connected via USB to my computer but it won't find it. How can I make it visible? Should I turn it off or have it on in the bootloader or recovery? Sorry
It didn't work... it said something with insecure boot blah? Jesus.. I'm getting crazy. I just want to put the stock rom on my phone..
easygoingx said:
How can I make it connected with adb? I always type in adb devices but my device is not listed. I have it connected via USB to my computer but it won't find it. How can I make it visible? Should I turn it off or have it on in the bootloader or recovery? Sorry
Click to expand...
Click to collapse
I'm sorry, I'm not skilled at ADB. I believe USB debugging needs to be enabled, which is something you enable in Android. You may need to do some Googling to figure out how to push a ROM to your phone. The command is "adb push" so try searching that.
In general I always recommend keeping a copy of a working ROM zip on your phone just in case.
The toolkit I linked you earlier has the functionality to flash the Google stock ROM. That's something you can try as well. However that may cause you to lose your apps and data.
I am very desperate. I tried so much to just push a file on my phone with toolkit or adb.. now nothing really works. Does anyone know what I can do? When I use adb and try to push it always says read-only file.. do i have to do something before? It won't push.. I just want to add the stock rom on my phone. Is there any other way?
Ok, I somehow managed to push.. but I can't find it when I want to Select Zip Install the Stock Rom.. the file was TGZ. Is there the Stock rom as ZIP too? Or why is it not there where I pushed it?

[Q] Selling N4 with PA, what to wipe

I have a custom ROM (PA 3.99) on my phone. I am meeting a guy tonight to sell it, and my new phone comes tomorrow. So I need the phone up until I meet the guy, so I will wipe after he agrees to buy. What all do I wipe to keep it working, but safely remove all my settings/pics/etc...? I'm on TWRP recovery.
RichAggie said:
I have a custom ROM (PA 3.99) on my phone. I am meeting a guy tonight to sell it, and my new phone comes tomorrow. So I need the phone up until I meet the guy, so I will wipe after he agrees to buy. What all do I wipe to keep it working, but safely remove all my settings/pics/etc...? I'm on TWRP recovery.
Click to expand...
Click to collapse
Backup (apps&data), all of your pictures and videos, and anything you wish to keep to your computer. Download the factory image of KitKat or whatever you want to put on the phone, do a full wipe and flash.
Sent with my Nexus® 10 minus 3
Berrydroidcafe said:
Backup (apps&data), all of your pictures and videos, and anything you wish to keep to your computer. Download the factory image of KitKat or whatever you want to put on the phone, do a full wipe and flash.
Sent with my Nexus® 10 minus 3
Click to expand...
Click to collapse
Advanced Wipe partitions list: Dalvik, System, Data, Internal Storage, Cache, usb-otg. Do I select them all to wipe?
Also, the Format Data menu says it wipes backups, pics/vids, media, and encryption. Do I do that too or is the above sufficient?
Wipe everything but system and otg
If you wipe system then there is no rom on the phone. Don't have a otg device plugged in so that's useless
albundy2010 said:
Wipe everything but system and otg
If you wipe system then there is no rom on the phone. Don't have a otg device plugged in so that's useless
Click to expand...
Click to collapse
OK thanks, that was what I was wondering - how I wipe everything but keep the rom zip to flash to. So doing it your way, after the wipe, I reboot to a new phone (running PA 3.99) with no flashing needed?
Doing it that way will be leave a clean install of that rom. It won't change the kernel though if you flashed a different one over the one that came with the ROM.
If you wanted that back you would just dirty flash that same rom overtop of it.
In a nutshell there are a bunch of partitions on the devices. I won't go over ALL but the main ones we use.
/ system is the ROM
/boot is mainly the kernel.
Wiping all the rest leaves it clean. All your data and media goes on those partitions / mount points /data / internal storage or emulated / whatever the heck it is.
Basically yeah wipe everything but system ( and boot if your recovery has that option)

Categories

Resources