[Q] ROM Downgrading nexus 4 - Nexus 4 Q&A, Help & Troubleshooting

Hello everyone, I am a newbie in flashing ROM's rooting etc.
I am currently running on CM11 on my nexus 4 with android version 4.4.4 . I want to flash a CM11 based rom for my nexus 4 which is 4.4.2. Do I need to wipe data before flashing it?
ROM LINK THAT I AM GOING TO FLASH http://forum.xda-developers.com/nexus-4/development/rom-xl-z1-rom-v2-0-xperia-z1-style-t2630043
Thanks in advance!!

Make a nandroid backup of your current ROM and flash the new ROM after wiping cache, Dalvik, and system. If the phone bootloops, wipe the data in recovery. If the phone then boots, you know that some of the apps may not be compatible.

Thanks

balarishinoob said:
Thanks
Click to expand...
Click to collapse
Another option would be to use titanium back-up user apps, wipe data and then flash new rom. (definently shoul do an nandroid regardless)

Related

Flashing and data question

Hello quick question here If my phone is already rooted with stock rom and I flash CM on it will I lose my data?
JayMix said:
Hello quick question here If my phone is already rooted with stock rom and I flash CM on it will I lose my data?
Click to expand...
Click to collapse
Yes. to prevent any issues it is advised to wipe all data before flashing. One of the things you learn to deal with when flashing custom roms.
JayMix said:
Hello quick question here If my phone is already rooted with stock rom and I flash CM on it will I lose my data?
Click to expand...
Click to collapse
You'll want to wipe your data partition when you flash between ROMs. You can use Titanium Backup to backup your user apps before you flash CM (it might be a good idea to copy the TitaniumBackup folder off of your phone after you've made the backup if you aren't familiar with flashing or wiping, if you wipe the internal SD you're backups will be deleted!). Once you've flashed CM you can download Titanium Backup from the market and restore from your backup.
While you can backup/restore system apps as well you'll get weird results between ROMs (which usually results in wiping and starting over again anyway), so my advice is to only restore system apps/data when flashing the same ROM.
Your virtual SD card will not be wiped.
Sent from my Nexus 4 using Tapatalk 2
Thx very helpful.
Sent from my Nexus 4 using xda app-developers app

[Q] will my data be deleted if update my rom

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)

nandroid + flashing/restoring across roms

I'm having a little trouble understanding nandroid vs. other forms of backup and would appreciate some clarification. I'm running CM nightly on my Fido (Canada) G4. I took a nandroid as well as titanium backup of the factory stock image before I flashed CM.
A poster in the last thread I made suggested if I wanted to restore to stock, I could simply restore the nandroid, but I've also seen people say you shouldn't use nandroid to go across ROMs. My understanding is that nandroid is like having a filesystem backup, which would obviously not react well if you restored it over a new operating system (e.g. two different versions of windows). Or is nandroid more like say Acronis, which takes an entire disk image and overwrites everything?
Other misc questions:
- If I do restore via nandroid, do I need to wipe all data / cache / system data before or after the restore?
- I assume I can use titanium to restore SMS + all non-system apps across ROMs, which would save a lot of time.
- If I'm going from one CM nightly to another, would titanium work for system apps (e.g. all my settings, or contacts, etc)
- If I want to flash a new CM nightly, do I need to follow the entire wipe procedure just as if it were going from one ROM to a completely different one?
Thanks!
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
xBeerdroiDx said:
always make a nandroid in recovery. i recommend keeping it on your micro sd card. in the event you need to return your device to it's previously functioning state, restore the nandroid in recovery. if you are running an aosp rom and your nandroid is touchwiz, wipe data, cache & dalvik before restoring the nandroid. if the backup is on your micro sd then feel free to wipe system as well.
if you want to flash a nightly or update to a rom you are currently running, simply wipe cache and dalvik then flash the update, gapps and any custom kernel that you may be running.
i cannot answer your titanium backup questions because i do not use that program
Click to expand...
Click to collapse
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
kabutar said:
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
Click to expand...
Click to collapse
yes, system/user data will remain. understand, however, that if you perform one of these dirty flashes and you have a problem with the functionality of the ROM, you'll need to do a full wipe and flash to see if this clears the issue before you report the problem in the development thread.
kabutar said:
yes, that's about what I have. ok, thank you for the clarification of what to wipe! that's good to know.
re flashing a nightly/update: using your method should preserve system data yes? so no need to reinstall all apps or system data?
and thanks, I'll hold out hope that someone with titanium expertise will be able to answer that one
Click to expand...
Click to collapse
Your right on both titanium questions.. However its not recommended to restore system apps you backed up on a aokp/aosp ROM to a touchwiz ROM and the other way around... Other than that like I said your fine
Sent from my WANAM'ED AT&T S4

[Q] flashing omega rom deletes everything?

I have a stock rom, rooted device and custom kernel installed... GT-I9500
my question is what does happen when i flash a custom rom, omega rom via recovery mode in my case..
will everything be deleted on my device? or everything will be saved ?
re: full wipe
darixtorento said:
I have a stock rom, rooted device and custom kernel installed... GT-I9500
my question is what does happen when i flash a custom rom, omega rom via recovery mode in my case..
will everything be deleted on my device? or everything will be saved ?
Click to expand...
Click to collapse
Before flashing any rom including Omega you should do a full wipe in recovery for best results.
Omega rom does NOT delete everything from your device, none of the custom roms do that.
Good luck and be sure to wipe before flashing...................
darixtorento said:
I have a stock rom, rooted device and custom kernel installed... GT-I9500
my question is what does happen when i flash a custom rom, omega rom via recovery mode in my case..
will everything be deleted on my device? or everything will be saved ?
Click to expand...
Click to collapse
If you wipe it all then all is gone from internal sd.
But you have to full wipe for good result..
You should root the stock rom and backup all user apps with TITANIUM BACKUP and then wipe and flash Omega rom.
After flash you just inatall TITANIUM BACKUP again and restore all from backup...
Sent from my GT-I9505 using xda premium

[Q] Trouble With Flashing CM10.2 and Wrong Kernel

So I was running CM10.1 nightlies with Franco Kernel and decided to make the jump to CM10.2. The ROM and gApps flash went just fine, but like a dummy, I flashed the version of Franco kernel that I'd been using before, which I guess is not compatible with 4.3. The phone seemed to be softbricked and would just hang at the Cyanogen boot animation. I can get into recovery and I've tried to reflash both CM10.1 and CM10.2 - both hang at the boot animation. I can go back to my stock backup just fine, but then when I try to flash CM again (either version), I have the same hanging problem. Does CM store like a memory of the kernel that you have flashed and try to revert to that? Why can't I flash CM again once I've gone back to stock (and the stock kernel)? Would reflashing the stock image fresh (rather than using a TWRP backup) change anything? I'm pretty inexperienced with this and would appreciated any help. Thanks in advance!
alphamini said:
So I was running CM10.1 nightlies with Franco Kernel and decided to make the jump to CM10.2. The ROM and gApps flash went just fine, but like a dummy, I flashed the version of Franco kernel that I'd been using before, which I guess is not compatible with 4.3. The phone seemed to be softbricked and would just hang at the Cyanogen boot animation. I can get into recovery and I've tried to reflash both CM10.1 and CM10.2 - both hang at the boot animation. I can go back to my stock backup just fine, but then when I try to flash CM again (either version), I have the same hanging problem. Does CM store like a memory of the kernel that you have flashed and try to revert to that? Why can't I flash CM again once I've gone back to stock (and the stock kernel)? Would reflashing the stock image fresh (rather than using a TWRP backup) change anything? I'm pretty inexperienced with this and would appreciated any help. Thanks in advance!
Click to expand...
Click to collapse
Just to be sure how much juice was left while you were flashing CM rom?? Reading your problem I would suggest you to do a fresh Stock image installation and then try flashing CM 10.2.
Have you tried restoring your NANDROID backup, if you made one??
Rohit02 said:
Just to be sure how much juice was left while you were flashing CM rom?? Reading your problem I would suggest you to do a fresh Stock image installation and then try flashing CM 10.2.
Have you tried restoring your NANDROID backup, if you made one??
Click to expand...
Click to collapse
I have restored the NANDROID backup successfully, but unfortunately I was lazy and only have the backup from when I first got the phone.
I backed everything up with Titanium Backup right before I tried to flash CM10.2. If I do a complete stock reflash, do I lose all the data I backed up with TB? I do have some app data that I would really like to keep if possible.
One other resort I thought of was flashing a different custom ROM (Paranoid Android maybe?) and then restoring my TB backup. Would there be any reason that I shouldn't be able to reflash CM after I've restored the stock NANDROID?
alphamini said:
I have restored the NANDROID backup successfully, but unfortunately I was lazy and only have the backup from when I first got the phone.
I backed everything up with Titanium Backup right before I tried to flash CM10.2. If I do a complete stock reflash, do I lose all the data I backed up with TB? I do have some app data that I would really like to keep if possible.
One other resort I thought of was flashing a different custom ROM (Paranoid Android maybe?) and then restoring my TB backup. Would there be any reason that I shouldn't be able to reflash CM after I've restored the stock NANDROID?
Click to expand...
Click to collapse
Try this.
As you are able to go in recovery,
Wipe cache , dalvik cache, system, data install PA 3.97 flash pa_gapps then supersu v1.51(for root,also enable app+adb from developer option)
wipe cache and dalvck again and reboot..
P.S : Charge your battery first to 80% minimum and flash the rom.
If the above doesn't help,
Backup all you valuable data into pc, backup app+data through TB move it to pc and flash the factory image through fastboot.
Rohit02 said:
Try this.
As you are able to go in recovery,
Wipe cache , dalvik cache, system, data install PA 3.97 flash pa_gapps then supersu v1.51(for root,also enable app+adb from developer option)
wipe cache and dalvck again and reboot..
P.S : Charge your battery first to 80% minimum and flash the rom.
If the above doesn't help,
Backup all you valuable data into pc, backup app+data through TB move it to pc and flash the factory image through fastboot.
Click to expand...
Click to collapse
I ended up flashing the stock image and completely wiping all data. I then tried to install CM10.2 again and it still hung at the CM boot animation for about 15 minutes. It shouldn't take that long to flash, right?
alphamini said:
I ended up flashing the stock image and completely wiping all data. I then tried to install CM10.2 again and it still hung at the CM boot animation for about 15 minutes. It shouldn't take that long to flash, right?
Click to expand...
Click to collapse
Did you use the Franco.Kernel for the JSS build?
Sent from my Nexus 4 using Tapatalk 4

Categories

Resources