[Q] How to backup a kernel? - HTC EVO 3D

Well, as title says i want to know how can i backup the kernel. I am using stock right now but i will try another one and before i flash the new i want to backup the kernel i am using for restore if something goes wrong. All replies will be appreciated.

luis4ever said:
Well, as title says i want to know how can i backup the kernel. I am using stock right now but i will try another one and before i flash the new i want to backup the kernel i am using for restore if something goes wrong. All replies will be appreciated.
Click to expand...
Click to collapse
Make a nandroid of system and boot and just restore it if you want to go back
Sent from my HTC Evo 3D using Tapatalk

aaronpoweruser said:
Make a nandroid of system and boot and just restore it if you want to go back
Sent from my HTC Evo 3D using Tapatalk
Click to expand...
Click to collapse
Thanks. I thought just had to save a zip file or something.

Freeza has a thread with the stock .5 kernel. U can download that. Kernel flashing is just wiping caches and flash kernel. Or use the flash GUI app to flash the kernel for u.
There isn't any kernel with the new base that doesn't Bork something like camera.
Sent from my PG86100 using xda premium

luis4ever said:
Well, as title says i want to know how can i backup the kernel. I am using stock right now but i will try another one and before i flash the new i want to backup the kernel i am using for restore if something goes wrong. All replies will be appreciated.
Click to expand...
Click to collapse
Seems like a double post with: http://forum.xda-developers.com/showthread.php?p=23445201#post23445201
luis4ever said:
Thanks. I thought just had to save a zip file or something.
Click to expand...
Click to collapse
To give some technical details around the proces, the kernel is generally stored in a partition labeled as "boot". The standard process for backing up and restoring this partition is to dump the whole partition into one file and labeled as boot.img or something similar.
The nandroid backup/restore which is standard in custom recovery's automates this process.
The .zip files which are distributed to flash kernels commonly contain either the boot.img file itself or the parts which make up a boot.img that are assembled at run time when being flashed by the custom recovery.
The .zip file part of the custom kernel that is distributed is essentially a packaging with directions telling the custom recovery how to specifically load the kernel onto the device.
The only side note which is important to mention is with the EVO 3D, and common with HTC devices, the kernel drivers for things such as WiFi are loaded separately from the kernel boot.img file. These kernel drivers are separate and are referred to as modules. They are stored in /system/lib/modules. These modules need to always match the kernel. If you were to manually backup a kernel and load a new kernel without loading the new modules for that kernel, WiFi will usually not work.
Hope that helps add some technical background to the question!

Related

[UPDATE ZIP] Stock 1.2 update.zip flashable from CWM

I modified the official 1.2 update to allow CWM to flash them. You can use these to upgrade to 1.2 or to return to stock.
There are two files. One replaces CWM with the stock recovery (good for going back to stock). The other doesn't replace CWM (but will replace uboot).
Other than that they are identical to the update from B&N.
update-nc-stock-1.2-keepcwm-signed.zip
update-nc-stock-1.2-signed.zip
Please note neither one of these are rooted yet.
Just curious as to if this is rooted or just fixed to allow use of CWM?
Nevermind just read the full post!!
So just to make sure, I could use the one zip to return to full stock but with the 1.2 update? Also will this work if I have CM7 and CWM on my emmc? So reboot into CW, format \system and \data then flash the update-nc-stock-1.2-signed.zip, then Reboot. At that point, I should be 100% 1.2 stock, sound about right?
I thinking about returning to stock and just run CM7 for my SD if this is an options.
Thanks,
Derek.
DGarmon said:
So just to make sure, I could use the one zip to return to full stock but with the 1.2 update? Also will this work if I have CM7 and CWM on my emmc? So reboot into CW, format \system and \data then flash the update-nc-stock-1.2-signed.zip, then Reboot. At that point, I should be 100% 1.2 stock, sound about right?
I thinking about returning to stock and just run CM7 for my SD if this is an options.
Thanks,
Derek.
Click to expand...
Click to collapse
Assuming you haven't fooked up any paritioning by using the "dual-boot" stuff you can return to 100% stock by doing the folllowing:
Download the update-nc-stock-1.2-signed.zip above
Flash the zip with CWM (either from emmc or sdcard)
Use CWM to factory reset the device (wipe /data and /cache)
Reboot into 100% stock froyo
If you have modified your partitions this will not work.
This won't work off of an sd right?
I'd like to modify this so it just installs to my dual boot partition.
I've done this before with flashing kernels, but there are more partitions here to take care of.
I figure if I'm going to change the updater script to mount the correct block partitions then I should also have it wipe /data and /cache on the secondary partition.
Any ideas on syntax?
sassafras
Thanks
Once we have a rooted version I'll probably check it out for fun.
nemith said:
Assuming you haven't fooked up any paritioning by using the "dual-boot" stuff you can return to 100% stock by doing the folllowing:
Download the update-nc-stock-1.2-signed.zip above
Flash the zip with CWM (either from emmc or sdcard)
Use CWM to factory reset the device (wipe /data and /cache)
Reboot into 100% stock froyo
If you have modified your partitions this will not work.
Click to expand...
Click to collapse
But then I'm stuck with stock froyo - I can't go back to CM7 after I've satisfied my curiosity, right?
Hmmm, have to think about that......then, again, maybe not.
nemith said:
There are two files.
Click to expand...
Click to collapse
Many thanks for these.
Please post MD5's of these so that we can be sure that the download was successful (some may want to store the file for later use).
BTW, free MD5checker can be found at getmd5checker.com
HarleyChick said:
But then I'm stuck with stock froyo - I can't go back to CM7 after I've satisfied my curiosity, right?
Hmmm, have to think about that......then, again, maybe not.
Click to expand...
Click to collapse
Create a backup first.
Thanks for the files nemith. Much appreciated.
Sent from my NookColor using Tapatalk
Hey nemith, would it be okay if I used this as a base for a rooted version? Give you full credit of course, just dont feel like going through the hassle of the updater script and what not.
msgnyc said:
Create a backup first.
Thanks for the files nemith. Much appreciated.
Sent from my NookColor using Tapatalk
Click to expand...
Click to collapse
I guess I wasn't clear the first time: if I use this method, am I stuck with B&N's version of Froyo until someone figures out how to root this one, or can I just reflash CM7? And I'm not sure I understand the difference between both of the zips that nemith has produced.
In any case, thanks nemith - I always appreciate the work that the devs do!
HarleyChick said:
I guess I wasn't clear the first time: if I use this method, am I stuck with B&N's version of Froyo until someone figures out how to root this one, or can I just reflash CM7? And I'm not sure I understand the difference between both of the zips that nemith has produced.
In any case, thanks nemith - I always appreciate the work that the devs do!
Click to expand...
Click to collapse
If you dont like this, just boot into a bootable clockwork recovery and flash cm7 or whatever you want. You wont be stuck on this.
One zip removes Clockwork Recovery and puts the stock recovery back. The other leaves Clockwork Recovery intact.
I'd assume, leaving it intact allows you to flash back to any backups or any other Rom if incase you do not like the official build.
I'm at work so I'm unable to test it out.
Or you can always just use a bootsble SD with clockwork on it to reflash whatever ron or backup you have.
Sent from my NookColor using Tapatalk
nemith said:
I modified the official 1.2 update to allow CWM to flash them. You can use these to upgrade to 1.2 or to return to stock.
There are two files. One replaces CWM with the stock recovery (good for going back to stock). The other doesn't replace CWM (but will replace uboot).
Other than that they are identical to the update from B&N.
update-nc-stock-1.2-keepcwm-signed.zip
update-nc-stock-1.2-signed.zip
Please note neither one of these are rooted yet.
Click to expand...
Click to collapse
My rooted BN1.1 with auto-nooter 3.0 does NOT have CWM in emmc. Can I use update-nc-stock-1.2-signed.zip to go to 1.2 unrooted?
nemith said:
I modified the official 1.2 update to allow CWM to flash them. You can use these to upgrade to 1.2 or to return to stock.
Please note neither one of these are rooted yet.
Click to expand...
Click to collapse
Any way you could make something would allow you to flash 1.2 onto a secondary parttion for those of us who are dual booters?
So Ive got this thing rooted but I for the life of me cannot get the market to work. I have the vending.apk and googleservicesframework.apk under /system/app but market will not show up in my app drawer on the stock or adw launcher. Under manage applications, market or googleservicesframework arent there either. Does the nook have other dependencies? If anyone with some experience could throw some suggestions my way. ADB isnt currently working without the driver. Ive added other apps that are showing up and working perfectly.
Did you modify the build.prop?
Sent from my Nook Color using XDA App
scoutcamper said:
Did you modify the build.prop?
Sent from my Nook Color using XDA App
Click to expand...
Click to collapse
Nope didnt touch it, im usually devving for the evo, so modding that isnt normally needed for gapps. What would need to be modified in the build.prop?
The device code will have changed and prevent market access. Try pulling the device code from a froyo device with market access like Droid X.
Sent from my Nook Color using the XDA App

Returning to stock experience from CM9

I know I just have missed the thread and/or I am not searching for the correct words, but could someone help me find how to restore a rooted nook Tablet running CM9 alpha.05 to the out of box user experience?
My recovery is twrp 2.2 and I'm not very familiar with it or even cwm for that manner in how to restore and unroot.
Any and all help is very much appreciated and sorry for posting this if there is another thread somewhere.
downsay said:
I know I just have missed the thread and/or I am not searching for the correct words, but could someone help me find how to restore a rooted nook Tablet running CM9 alpha.05 to the out of box user experience?
My recovery is twrp 2.2 and I'm not very familiar with it or even cwm for that manner in how to restore and unroot.
Any and all help is very much appreciated and sorry for posting this if there is another thread somewhere.
Click to expand...
Click to collapse
Well since you have a custom recovery the only way you can get to stock is to use adamoitlers total wipe flash back to stock and root from there. You could try flashing some stock recovery but it is a bit risky IMO.
Sent from my Nook Tablet CM7 BETA using xda premium app
8GB or 16GB model?
Cubanluke88 said:
8GB or 16GB model?
Click to expand...
Click to collapse
16gb
Here ya go
You'll need to do one thing before you do any of that and thats get clockworkmod recovery on there first. You should be able to use indirect's app to flash recovery to do that.
Cubanluke88 said:
Here ya go
You'll need to do one thing before you do any of that and thats get clockworkmod recovery on there first. You should be able to use indirect's app to flash recovery to do that.
Click to expand...
Click to collapse
I flashed cm7 without flashing cwm and am now in a boot loop. Any ideas ?
I have a 16 gb trying to go from cm9 back to cm7
sailerph said:
I flashed cm7 without flashing cwm and am now in a boot loop. Any ideas ?
I have a 16 gb trying to go from cm9 back to cm7
Click to expand...
Click to collapse
Did you flash cm7 from clockworkmod running off an sdcard?
Cubanluke88 said:
Did you flash cm7 from clockworkmod running off an sdcard?
Click to expand...
Click to collapse
Yes, After flashing cm7 and gaaps,wipe and re-boot I'm in bootloop. For now I am running cm7 off sd card fine, but hope to fix internal ? Also, while in cmw from sd card, I get the error message after flashing "can't mount E recovery". There is probably the culprit ?
I'm not sure to be honest. Try flashing a different rom and see if you can boot.
You could also flash the zip for internal clockworkmod if you like, via the sdcard clockworkmod.
sailerph said:
Yes, After flashing cm7 and gaaps,wipe and re-boot I'm in bootloop. For now I am running cm7 off sd card fine, but hope to fix internal ? Also, while in cmw from sd card, I get the error message after flashing "can't mount E recovery". There is probably the culprit ?
Click to expand...
Click to collapse
That is normal after flashing rom on this device.
Cubanluke88 said:
I'm not sure to be honest. Try flashing a different rom and see if you can boot.
You could also flash the zip for internal clockworkmod if you like, via the sdcard clockworkmod.
Click to expand...
Click to collapse
Thanks for the help thus far, but none of the above work. I also tried the repart.img from Raywaldo tutorial and it doesn't finish.I also tried AdamOutler wipe/ubunto method and it gets stuck at writing zeros to mlo. The roms seem to flash ok, but can't boot into it without a loop. I suspect partitions are messed up if someone can point me in the right direction. So it looks like TWRP caused this when reverting to cm7 from cm9 Thanka again
sailerph said:
The roms seem to flash ok, but can't boot into it without a loop. I suspect partitions are messed up if someone can point me in the right direction. So it looks like TWRP caused this when reverting to cm7 from cm9 Thanka again
Click to expand...
Click to collapse
If it is a partition issue, then this thread should be able to help:
http://forum.xda-developers.com/showthread.php?t=1570022
The first method worked for me, although I did flash a clean CM7 install instead of 1.4.2 at the end.
Also, you shouldn't need to make a.CWM sd card, since you can reach recovery.
Just download "acclaim_update.zip" from XDA and then go in and navigate to "updater_script" which is located in "META-INF/com/google/android/" edit the first two lines and where it says "blaze" change to "acclaim" on both lines and update your zip file or rezip it whatever you do and you can now flash it in CWM or TWRP.
mamifsidtect said:
Just download "acclaim_update.zip" from XDA and then go in and navigate to "updater_script" which is located in "META-INF/com/google/android/" edit the first two lines and where it says "blaze" change to "acclaim" on both lines and update your zip file or rezip it whatever you do and you can now flash it in CWM or TWRP.
Click to expand...
Click to collapse
So how do I edit those lines ? I can view it in Winrar, but how do I edit it exactly. It won't let me simply cut and replace Thanks
sailerph said:
So how do I edit those lines ? I can view it in Winrar, but how do I edit it exactly. It won't let me simply cut and replace Thanks
Click to expand...
Click to collapse
I'd recommend getting something like notepad++ as notepad will not display the file very cleanly, and wordpad will add extra characters. Extract the file out of the zip, to say your desktop. Open it with notepad++. Edit what you like, save the file. Drag it back into the original place in the zip. Winrar will update the file in the zip. Make sure you extract the file though, if you try opening it directly from the zip, you're just going to be working on a temp copy of the file.
If you suspect that your partitions are messed up there are some threads about repartitioning. You can follow them up until you're supposed to start changing partitions to see if yours are the same as what their original ones were.
Can you boot the internal recovery still? I've seen a few posts about the CWM that come with CM7 and CM9 not being compatible with the other version. Perhaps try Indirect's Flasher.
Next time though, you should ask your question in a new thread since it's not really on topic with the OP and thread topic. Your question refered to a bootloop... The OP referred to returning to stock. By keeping the threads on topic to their content, it helps make searching easier for other people who may need the help.
Yes, notepadd++ --> On its menu, go to edit, and then to Eol Conversion to choose between :
windoze - cr/lf - od/oa ( hex )
unix - - lf - oa
mac - - cr - od
.
( of course ) we want the second choice...
ShinnAsuka said:
Well since you have a custom recovery the only way you can get to stock is to use adamoitlers total wipe flash back to stock and root from there. You could try flashing some stock recovery but it is a bit risky IMO.
Sent from my Nook Tablet CM7 BETA using xda premium app
Click to expand...
Click to collapse
That worked but I can't register with B&N. We need noob instructions on getting the correct serial # back in the tablet Thanks
sailerph said:
That worked but I can't register with B&N. We need noob instructions on getting the correct serial # back in the tablet Thanks
Click to expand...
Click to collapse
you can bypass registration by pressing on certain parts of the screen. look it up in one of the threads or on youtube.
Sent from my Nook Tablet CM7 BETA using xda premium app
ShinnAsuka said:
you can bypass registration by pressing on certain parts of the screen. look it up in one of the threads or on youtube.
Sent from my Nook Tablet CM7 BETA using xda premium app
Click to expand...
Click to collapse
Thanks, but I don't understand. What good is stock without registration ?
sailerph said:
Thanks, but I don't understand. What good is stock without registration ?
Click to expand...
Click to collapse
oh I thought you just wanted a custom rom experience. my bad. never mind...
Sent from my Nook Tablet CM7 BETA using xda premium app

[Q] Nandroid Backup into a single file

Dear Members, is there a way to make a nandroid backup into a single zip or tar file?
SonicMZ said:
Dear Members, is there a way to make a nandroid backup into a single zip or tar file?
Click to expand...
Click to collapse
Use an older version of clockwork recovery (5.5.x or touch 6.1) and they create a single zip, latest clockwork did offer an option to change the way it backups last time I checked also.
Sent from my GT-I9300 using Tapatalk 2
I tried to use zip from CWM but it doesn't seem to do the full nandroid backup. Any ideas?
ghostofcain said:
Use an older version of clockwork recovery (5.5.x or touch 6.1) and they create a single zip.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Sent from my GT-I9300 using Tapatalk 2
Go into recovery..change the backup format to tar ..press create image.zip..it will create a cwm flashable zip file..
Sent from my GT-I9300 using xda app-developers app
zoot1 said:
Go into recovery..change the backup format to tar ..press create image.zip..it will create a cwm flashable zip file..
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
It created the zip file and some other files in the folder, however the size is too small to be the recovery image. I doesn't create the full image. Still doesnt work. Is there a way to create a full nandroid backup into a single file with all the settings as it is done in normal cwr backup? Any help appreciated.
SonicMZ said:
It created the zip file and some other files in the folder, however the size is too small to be the recovery image. I doesn't create the full image. Still doesnt work. Is there a way to create a full nandroid backup into a single file with all the settings as it is done in normal cwr backup? Any help appreciated.
Click to expand...
Click to collapse
Just change default backup to tar then backup as normal that should work.
Sent from my GT-I9300 using Tapatalk 2
ghostofcain said:
Just change default backup to tar then backup as normal that should work.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
Creating tar recovery results in multiple files in recovery folder not a single zip file. My question was is there a way to create a single zip file that can be flashed in recovery as a custom rom.
I use the older version of cwm which creates full nandroid into 5 or so files. I then zip it into one but you have to unzip it to restore it. I don't think there is a clean way to create one full flashable nandroid with all your data and settings etc... I would also like to know if there is a way.
Sent from my GT-I9305 using xda app-developers app
btemtd said:
I use the older version of cwm which creates full nandroid into 5 or so files. I then zip it into one but you have to unzip it to restore it. I don't think there is a clean way to create one full flashable nandroid with all your data and settings etc... I would also like to know if there is a way.
Sent from my GT-I9305 using xda app-developers app
Click to expand...
Click to collapse
The same thing for me, searched for forums and no success. Thank you for your answer. Perhaps you could also know if there is any possible way to install stock samsung bootanimation on CM10 rom?
SonicMZ said:
The same thing for me, searched for forums and no success. Thank you for your answer. Perhaps you could also know if there is any possible way to install stock samsung bootanimation on CM10 rom?
Click to expand...
Click to collapse
Not on CM10 they might have different locations for there boot image not sure.
In regards to the Nandroid I was just thinking about it actually and I find it quite strange as to why after ALL this time there isnt a way to create a FULL nandroid with apps,settings,themes,data.contacts, EVERYTHING all in the one file so its flashable. I mean it wouldnt be that hrd for the dev to do it as there is an option for the update zip. I really dont get it. Wouldnt everyone prefer it that way?
btemtd said:
Not on CM10 they might have different locations for there boot image not sure.
In regards to the Nandroid I was just thinking about it actually and I find it quite strange as to why after ALL this time there isnt a way to create a FULL nandroid with apps,settings,themes,data.contacts, EVERYTHING all in the one file so its flashable. I mean it wouldnt be that hrd for the dev to do it as there is an option for the update zip. I really dont get it. Wouldnt everyone prefer it that way?
Click to expand...
Click to collapse
I fully agree, it would have been much easier for testers to get back to the rom they tuned and customized. Any ideas are always welcome.
Yes. It will be very easy to keep the backups if we could make a signal zip file. so we can name it with date and keep.

[Q] Nandroid backup of Gingerbread on Samsung Galaxy Proclaim

Hey Everyone. Sorry if I posted in the wrong spot, but I've watched the "noob" video, and I couldn't find anything about my phone on here. So, I've become interested in custom roms, and I'm thinking about learning how to make some. I currently own a Galaxy Proclaim, and I havent been able to create a nandroid backup. I've successfully set up the adb on my Lubuntu Netbook, and I ran adb backup, and apparently that only works for ICS. So, that leaves me with a few questions. How do I make a nandroid backup of gingerbread? What does ROM Manager, from googleplay, back up? And Is there a way I could make a backup manually? I know how to backup the files on my system, but how would I backup the bootloader and everything else? Sorry about all the questions, I'm just curious and determined to make a custom ICS rom, or compile a ROM from source, but I'm afraid to try anything because I don't want to brick my phone.
Buddy do it via cwm.download compatible cwm for ur cell to sd card to root and go stock recovery m0d install zip from sd card and select cwm then select backup restore and in that option just select backup and wait until its done.u need root for flashing cwm in recovery.
Sending from SgY via TT2
Rom:JellyBlast v3.0.4
Kernel:Kuro
my first custom kernel & rom
waiting 4 Nemisis One
adil.sgy said:
Buddy do it via cwm.download compatible cwm for ur cell to sd card to root and go stock recovery m0d install zip from sd card and select cwm then select backup restore and in that option just select backup and wait until its done.u need root for flashing cwm in recovery.
Sending from SgY via TT2
Rom:JellyBlast v3.0.4
Kernel:Kuro
my first custom kernel & rom
waiting 4 Nemisis One
Click to expand...
Click to collapse
Clockwork Manager doesn't support my phone. The phones model number is SCH-S720C. I've tried other backup apps and they back up my apps/media just fine, but I need a full nandroid backup in case I mess up the boot loader or flash the wrong .pit file. I'm not taking any huge risks this time since I bricked my last one. Is there anyway I could make a backup manually? I currently run Lubuntu 12.10, and I've compiled adb and it works right on my computer.
Bump
Sent from my SCH-S720C using xda app-developers app
I never hear U'r device, but the important point is You have CWM for U'r device
Sent from my HS-E910 using Tapatalk 2
I wasn't aware that there was a custom ROM. When i rooted my device, i flashed it back to the stock ROM lol
Sent from my SCH-S720C using xda app-developers app

[Q] How to get everything back to stock exactly the way it was when bought in shop?

I'm currently on cm10.1 I want to sell my HOX+ and would like to find out easiest way to get everything back to stock as in the way the phone is when you buy it in the store, I have the stock recovery.img and I also made a backup of the stock sense 4+ rom that came with the phone only its a folder instead of a zip and it has these files inside of it.
boot.emmc.win
boot.emmc.win.md5
cache.ext4.win
cache.ext4.win.md5
data.ext3.win
data.ext3.win.md5
recovery.emmc.win
recovery.emmc.win.md5
system.ext4.win
system.ext4.win.md5
How can I flash this rom ? Can I just zip the folder together and flash it or do I have to do anything else?
Reason Im doing this is I need the cash really badly and they extensively check the phones before paying you so I need it back exactly the way it was when I bought it. Its in International (UK) Unlocked HOX+.
I have already backed up all my files and wiped the whole phone.
What recovery did you use to take the backup? Inside the backup section there should be a restore option. You should do a full wipe before restoring. And make sure you flash the boot.img from fastboot.
Sent from my HTC One X+ using Tapatalk 4 Beta
AndroHero said:
What recovery did you use to take the backup? Inside the backup section there should be a restore option. You should do a full wipe before restoring. And make sure you flash the boot.img from fastboot.
Sent from my HTC One X+ using Tapatalk 4 Beta
Click to expand...
Click to collapse
Im pretty sure it was TWRP.
its just a folder with the listed files in it, how do I flash it ? Do I need to zip the folder first ? and Its on my computer I im in twrp at the moment and usb storage isn't mounting so How would I move the rom there?
Take a look here: http://forum.xda-developers.com/showthread.php?t=2066390
If i understand what you say, you don't have any rom installed now, and the back up files are on your computer? Right?
Sent from my HTC One X+
Dude, if you want to have the phone as stock as possible, just download the RUU from HTC and run it. Just make sure you flash stock recovery beforehand.
Sent from my HTC One X+ using xda app-developers app

Categories

Resources