Related
Hi,
I just flashed the new rmk gingerbread sense ROM to my Desire Z, and I'm thinking of trying the unity v3 kernel since it seems to have better battery life and performance from what I'm reading.
I've never flashed a kernel before. It seems like the flash process is identical to flashing a ROM? i.e. place the zip file in my sdcard, go to ROM manager and flash it there?
How do I backup the previous kernel though? Do I just do a backup via the ROM manager, which backs up everything, or do I backup just the existing kernel? Also, if I have the rmk ROM zip in my sdcard, if anything goes wrong with the kernel flash, can I just flash that zip in recovery boot? That way I don't have to backup anything.
Also, do I still need SetCPU to manage governors and clockspeeds? Not sure if anything has changed...
Thanks!
Do a full nandroid backup before flashing a new kernel. Nandroid backup will back-up the kernel and the entire ROM.
Flashing a kernel.zip is the same as flashing a ROM. Enter recovery, select "install .zip from SDcard" and proceed from there.
If the kernel causes problems or isn't working properly, revert to your previous nandroid backup.
Depending on the ROM and kernel combination, SetCPU may be required or advised, such as with a high OC kernel. Everyone has their own method to setting profiles, however.
Thanks.
I'm using rmk vision gingerbread sense 2.42. If I already have this downloaded ROM zip file in my sdcard, can I just flash back to this, rather than do a nandroid backup and restore to that? Does the nandroid backup keep my user settings?
Thanks.
goister said:
Thanks.
I'm using rmk vision gingerbread sense 2.42. If I already have this downloaded ROM zip file in my sdcard, can I just flash back to this, rather than do a nandroid backup and restore to that? Does the nandroid backup keep my user settings?
Thanks.
Click to expand...
Click to collapse
No, don't just flash over it. You're best off simply using CWM to backup and restore. The nandroid backup makes a complete perfect copy of the state of your phone at that time, restoring to it makes it seem as though nothing has happened after that point.
I've been playing around and checking out a few ROMS (CM9 and CM10), but since they aren't fully complete I want to go back to stock. when I rooted I made a Nandroid backup in recovery. Now If i want to go stock again do I just wipe everything and use the backup I made. Still confused because I flashed kiss kernal. Will restoring remove the kiss kernal?
No need to wipe before you restore your backup, and it will install the stock kernel also
Sent from my One V using xda premium
No... restoring from nandroid will not removed the flashed kiss kernel.
You need to flash a stock boot.img first before nandroid restore or you can flash kiss kernel that is meant for a sense rom first. Without reflashing kernel, you'll be in bootloop.
My bad
Sent from my One V using xda premium
Thanks a lot!
Twner said:
I've been playing around and checking out a few ROMS (CM9 and CM10), but since they aren't fully complete I want to go back to stock. when I rooted I made a Nandroid backup in recovery. Now If i want to go stock again do I just wipe everything and use the backup I made. Still confused because I flashed kiss kernal. Will restoring remove the kiss kernal?
Click to expand...
Click to collapse
Can you share me the stock backup, upload to mediafire or something. i just want to go back to stock rom too. thanks a lot if can
chiplovez9x said:
Can you share me the stock backup, upload to mediafire or something. i just want to go back to stock rom too. thanks a lot if can
Click to expand...
Click to collapse
I asked this in the IRC and was told you would need to flash the stock ROM (RUU?).
Think its this thread:
http://forum.xda-developers.com/showthread.php?t=1591059
Someone could verify.
Not sure how to tell which one you need either. Anyone know what I'd need for Koodo Canada version?
chiplovez9x said:
Can you share me the stock backup, upload to mediafire or something. i just want to go back to stock rom too. thanks a lot if can
Click to expand...
Click to collapse
I would but I have the Middle Eastern model (PrimoU), and im kind of a noob. But if you think it will work on your message me and i'll upload .
atonz said:
Not sure how to tell which one you need either. Anyone know what I'd need for Koodo Canada version?
Click to expand...
Click to collapse
I would get the Telus RUU, but only flash the kernel (boot.img) as I imagine that even if their ROMs are different, they'll be running the same kernel.
Here's how to get the boot.img out of the RUU:
Run the RUU (no need to connect the phone, all you want it to do is extract)
Go to %temp% (Start, Run..., enter %temp%)
Sort by date to find the most recent folder
Find rom.zip in there, open it and extract the boot.img wherever you like
After that you should be able to just fastboot flash boot boot.img like any other kernel, and restore your original nandroid.
formicae said:
I would get the Telus RUU, but only flash the kernel (boot.img) as I imagine that even if their ROMs are different, they'll be running the same kernel.
Here's how to get the boot.img out of the RUU:
Run the RUU (no need to connect the phone, all you want it to do is extract)
Go to %temp% (Start, Run..., enter %temp%)
Sort by date to find the most recent folder
Find rom.zip in there, open it and extract the boot.img wherever you like
After that you should be able to just fastboot flash boot boot.img like any other kernel, and restore your original nandroid.
Click to expand...
Click to collapse
Thank you, I've bookmarked this thread for my future use
Loving the speed of CM9 since I'm assuming its mostly due to the OC'd processor.
Twner said:
I've been playing around and checking out a few ROMS (CM9 and CM10), but since they aren't fully complete I want to go back to stock. when I rooted I made a Nandroid backup in recovery. Now If i want to go stock again do I just wipe everything and use the backup I made. Still confused because I flashed kiss kernal. Will restoring remove the kiss kernal?
Click to expand...
Click to collapse
you need to restore a kernel that is compatible with stock roms, or either the stock kernel itself. Please note, that the boot.img inside the nandroid is NOT a fastboot flashable one, and cwm will NOT flash the boot file.
Also, it is unsure, that one phones nandroid will work in an other phone, not to mention that if cid mismatches it won't even work (this is a lesson I have learned in my own faliures).
Ken-Shi_Kun said:
Also, it is unsure, that one phones nandroid will work in an other phone, not to mention that if cid mismatches it won't even work (this is a lesson I have learned in my own faliures).
Click to expand...
Click to collapse
I can confirm the nandroid from other phone is working for another phone. I just tested that. Use the nandroid backup for my phone and restore it on my wife's phone. Tested with a 2.09.707.1 nandroid backup. Once reboot, the OTA update notification is there.
Hello to all,
I have Arc with ICS .587 installed and rooted, CWM is Also installed. Whenever i try to restore my Backup i end up in bootloop, sometines its restored but somethings are not working like no service, some widgets are Gone, cant get into Phone settings as the setting button is completly gone from phone.
Please can good Samaritan help me
Thanking All in Advance
Do you Wipe Data/Factory Reset/Cache etc before restore?
did you changed kernel?
if you chanege the name of the backup, things will not work.
gabimx said:
did you changed kernel?
if you chanege the name of the backup, things will not work.
Click to expand...
Click to collapse
yes....not change the name of backup...
moreover if you have flashed a zip and it didn't go fine....there is a possibility that the istallation have spoiled the backup or file of kernel...(for all I know it happened to me in this way)
Yes Guys i do make a full wipe before restore, and after making a backup i transfer it to pc for Safe storage, so whenever i need it i transfer it back to cloclworkmod folder
centi50 said:
Yes Guys i do make a full wipe before restore, and after making a backup i transfer it to pc for Safe storage, so whenever i need it i transfer it back to cloclworkmod folder
Click to expand...
Click to collapse
If u flash custom kernel, u need to also flash wifi modules before rebooting after restore...
I dont Flash custom Kernel, everything is stock, by the way My Arc is Bootlocked so customs kernels
While you make backup does cwm show any errors? have you checked the log ? Does the restore process complete without errors ? And do you fix permissions and mount system /data etc before restoring ?
nikufellow said:
While you make backup does cwm show any errors? have you checked the log ? Does the restore process complete without errors ? And do you fix permissions and mount system /data etc before restoring ?
Click to expand...
Click to collapse
Backup Completes without Error, and no i do not Fix permission or Mount System/Data before restore.
centi50 said:
Backup Completes without Error, and no i do not Fix permission or Mount System/Data before restore.
Click to expand...
Click to collapse
Then do it ! and try again .
This is what is happening to me. Lets say am Running on GB Rom e.g X-Gamer, now i want to try lets say Optimax Rom, i backup my Current ROM which is X-Gamer, then i try to restore it to see if its works, and i find that it works. so Flash ICS Original Sony ROM and root it. in the end i Have Sony Stock ROM.587 and CWM installed. So far am ok.
Now i Install ICS based ROM like Optimax or JellySandwhich. Everything goes Fine, so i Backup That ROM too and keep a copy on my Laptop. Now i decide to go to my old backup of X-Gamer, i Boot to recovery do a full wipe + i mount data/system and fix permission as i have CWM 5.5.0.4. which has permission option in it. i continue to restore my X-Gamer Backup. After Finnishing of course without error. i reboot the phone and Bam!!. Bootloop.
I reflash GB.42 with Flashtool, root it and install CWM. Boot to recovery and try to restore my X-Gamer backup, and WOLA!! it's restored.
same with ICS Backup. Reflash Stcok Rom root it and restore the ICS backup i made, and it works.
As i know i may be wrong (am a noob) The backup is a snapshot of the rom, so regardless of what rom someone is running when he restores the Backup, he should be back to that ROM in the backup and not to reflash first the corresponding Stock ROM in order for the Backup to work.
Please somebody help and shade some light
Have you used the same recovery all the time? Switching recoveries can "sometimes" not flash backups properly. Either that or it didn't back it up properly in the first place. TBH there's not much we can can do. The backup is corrupted and for that it is causing bootloops and braking things. All I can suggest to you is to reinstall a fresh install of the ROM and then try an advanced restore of your applications and data just not the Boot.img or the system.img
Sent from my Galaxy Nexus using xda premium
Jessie-James said:
Have you used the same recovery all the time? Switching recoveries can "sometimes" not flash backups properly. Either that or it didn't back it up properly in the first place. TBH there's not much we can can do. The backup is corrupted and for that it is causing bootloops and braking things. All I can suggest to you is to reinstall a fresh install of the ROM and then try an advanced restore of your applications and data just not the Boot.img or the system.img
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
I have tried to use same recovery, but same result. restoring backup across different ROM does not work for me it seems. I have to have a working corresponding rom as the backup am trying to Resotre. for example if i want to restore my backup of GB ROM, i have to have a working GB Rom already on Phone. I Can't restore an ICS Rom while my Phone is On GB and vice verser.
centi50 said:
Please somebody help and shade some light
Click to expand...
Click to collapse
Flashing an ftf also flashes the kernel, so restoring a GB backup when you originally installed ICS or vice versa will give you issues as CWM doesn't backup your kernel.
XperienceD said:
Flashing an ftf also flashes the kernel, so restoring a GB backup when you originally installed ICS or vice versa will give you issues as CWM doesn't backup your kernel.
Click to expand...
Click to collapse
Thanks XperienceD for Clarifying. now i undersatnd. Just wanted to ask is it possible to flash A GB Sock Kernel on an ICS ROM or vice versa, then using the backup to restore thru CWM, as this will save time than to reflash the ftf, root it and install CWM just only to restore your backup.
centi50 said:
as this will save time than to reflash the ftf, root it and install CWM just only to restore your backup.
Click to expand...
Click to collapse
This is why it's better to unlock your BL, then it's just a flash of a kernel then restoring your backup.
When you make a backup of a ROM using CWM does it also back up and reflash the boot.img when you restore from your backup? Or does this mean that you still have to reflash your kernel after restoring the ROM? Or what's so useful about a recovery?
No it doesn't restore it for you ,you have to reflash stock Rom
donhashem.dh said:
No it doesn't restore it for you ,you have to reflash stock Rom
Click to expand...
Click to collapse
you mean kernel?
served24 said:
When you make a backup of a ROM using CWM does it also back up and reflash the boot.img when you restore from your backup? Or does this mean that you still have to reflash your kernel after restoring the ROM? Or what's so useful about a recovery?
Click to expand...
Click to collapse
yes, u have to flash the boot.img or the restored rom wont boot. for example, i was using AOKP with TITANIUM KISS USB then i restored my previous PA backup. it was not booting it stuck on bootanimation.then i flashed hellboy kernel then it booted.....
Yes
Since we have a s on device we have to reflash the kernel
Sent from my One V
Samsung apparently does not allow you to boot into the bootloader on their phones. I am trying to return to a different kernel I was using previously, which was contained in a nandroid backup. However, to my understanding, restoring a nandroid backup does not restore the kernel, and you have to extract the boot.img and flash that by itself.
What is the best way to go about doing this without fastboot?
Also, I don't suppose "restore boot" in nandroid advanced restore does this now, does it? Can't find anything on it online.
From what I recall, restoring the nandroid backup would restore the kernel. What recovery was used to create the nandroid?
audit13 said:
From what I recall, restoring the nandroid backup would restore the kernel. What recovery was used to create the nandroid?
Click to expand...
Click to collapse
I used CWM. I read in several places (forums) that it didn't....Hm. I mean I have the boot.img from the backup, so I have the kernel right there. I suppose I could find some way to make it into a flashable zip, but I was just wanting to see if anyone knew a way around that.
But if you are confident that the backup would restore the kernel, do you know if I could restore just the kernel from advanced restore? It'd be fab if I could keep /data the same, but not a must I suppose.
I use TWRP on an HTC and just restored a nandroid backup. After restoring the backup, the previous kernel was restored too.
I don't have any devices at the moment that use CWM.
Not sure about just restoring the kernel. Any particular reason you just want to restore the kernel?
audit13 said:
I use TWRP on an HTC and just restored a nandroid backup. After restoring the backup, the previous kernel was restored too.
I don't have any devices at the moment that use CWM.
Not sure about just restoring the kernel. Any particular reason you just want to restore the kernel?
Click to expand...
Click to collapse
I started getting some problems after flashing a custom kernel and I want to revert to the previous one, the default CM one, to test if my problems are related to that kernel or not. I suppose I'll look into making the .img a flashable zip then, unless anyone else knows of a better way. I'm not familiar enough with Odin to know if you can flash a .img in it.
There's that "restore boot" option in the advanced restore menu on CWM. Do you have any idea what that restores? I want to naturally say that it probably restores the boot.img, but I have searched and searched and just cannot find anything online about what that actually restores.
Nandroid backups created with CWM need to be restored using CWM.
Sorry, not sure what the advanced options will do but you could try different ones.
Restoring boot in advanced nandroid restore restores the zimage and initrd.gz. The kernel. Thus, I suppose a full restore will restore the kernel. Perhaps there are exceptions for certain devices. Restoring boot got me where I needed.
Sent from my SAMSUNG-SGH-I747 using XDA Free mobile app