[Q] Flash boot.img before restoring Nandroid? - HTC One X

Stupid question:
did i have to flash the right boot.img when i restore a rom via nandroid?
lets say, i have a sense rom installed, but want to restore the cyanogen rom.
did i have to flash any boot.img before i restore a backup?
i guess not. correct me if im wrong

Yes, of course you do. You can't write to the boot partition from recovery (without s-off), which is why you have to flash the boot.img via fastboot when you flash a ROM. So when you're restoring a backup from recovery it's still not able to write to the boot partition, so you'll have to flash the boot.img from your backup yourself.

where do you get the boot.img from? is it in the nandroid backup file, if so where? Thanks!
ps sorry for bringing up an old thread.

In the .zip file of the Rom you want to restore.
Sent from my HTC One X using xda premium

where do i get it for a nandroid backup of stock rom?

vans88 said:
where do i get it for a nandroid backup of stock rom?
Click to expand...
Click to collapse
depending what version you want. there is a thread in development by Tryce.. he had all the stock recoveries from 1.26 and onwards and all the boot.imgs for all stock rom versions.
here is the link i was talking about
http://forum.xda-developers.com/showthread.php?t=1616741

Thanks Goku80! That thread did the trick!

vans88 said:
Thanks Goku80! That thread did the trick!
Click to expand...
Click to collapse
no worries buddy. Glad to help

pls help about galaxy y duos gt-s6102
Goku80 said:
no worries buddy. Glad to help
Click to expand...
Click to collapse
I flash by odin but downloading mode in phone not cout --> only zero so long. (use kies is same)
Now my phone is error flashing boot, i want to flash by odin or kies but i can't
Pls help me!!!!

windows112009 said:
I flash by odin but downloading mode in phone not cout --> only zero so long. (use kies is same)
Now my phone is error flashing boot, i want to flash by odin or kies but i can't
Pls help me!!!!
Click to expand...
Click to collapse
this is the HTC One X Forum mate

Thanks to all the info of boot.img really help this guy over here.
i wanted to restore the backup of stock rom and couldnĀ“t do it
once again thanks

SandmanPT said:
Thanks to all the info of boot.img really help this guy over here.
i wanted to restore the backup of stock rom and couldnĀ“t do it
once again thanks
Click to expand...
Click to collapse
U should flash the same boot.img as it was when u made the nandroid, for example, yesterday I was with venon and franco s kernel, made a nandroid, flashed another rom and boot.img. then used my nandroid of venon, restored nandroid and flashed franco s kernel boot.img.
LET THEM TALK, ALOUD!! HTC ONE X, THE ONLY ONE. VIPERX + FRANCO KERNEL r12

Related

How to retrieve current/stock boot.img

Hi guys!
Noob here. Searched through other threads but all i found is making CWM backups as well as flashing the kernel (boot.img)
Would like to know if there is a way to get the currently running boot.img?
I'm on a stock rom, unlocked booloader and rooted. Reason I need this is for easy/quick switching to stock.
I used a boot.img that was posted here on one of the threads but it seems to be for a different region (though it still worked as i was running the correct recovery file plus I had to do all the steps again). In case i have to go back to stock again this would be a faster way i think.
make a nandroid backup of ur stock rom
ul get yourself a stock kernel
or else get ur ruu available and extract urslf
Sent from my One V
paarthdesai said:
make a nandroid backup of ur stock rom
ul get yourself a stock kernel
or else get ur ruu available and extract urslf
Sent from my One V
Click to expand...
Click to collapse
Hahaha. I'm such a noob I didn't realize it's also backing up boot.img
Many thanks, paarthdesai!

Easiest way to restore to stock

Hi all,
Unlocked the boot loader, installed CWM, made a nandroid backup then flashed a boot.img included in a CM10 ROM and installed CM10.
I don't like the battery drain and would like to go back to the stock HTC ROM I backed up with CWM nandroid.
Is it as simple as going into CWM and restoring the nandroid backup, do I have to flash another boot.img first -or- is it going to be a complicated process finding my CID/RUU/all that other stuff and baking my own original ROM?
Thanks
Extract the boot.IMG from your nandroid backup, flash that in fastboot then restore your backup in recovery
sent from my One X using xda venom premium
bogfather said:
Extract the boot.IMG from your nandroid backup, flash that in fastboot then restore your backup in recovery
sent from my One X using xda venom premium
Click to expand...
Click to collapse
This worked, thanks!
For those researching it's exactly the same process as installing a custom ROM but instead of flashing a zip it's just restoring a backup in CWM.
One more question if you don't mind; will this method of restoring from my nandroid (and in general having unlocked bootloader/CWM/root) mean that when a JB sense ROM is released for my handset (Vodafone AU international) I will be able to do the built-in OTA method or, if ever prompted, I should avoid it at all costs and use offline flashing methods?
Thanks again
since you restored your nandroid.. You still got clockworkmod recovery and your bootloader is still unlocked.
To be able to get the ota by the default method, you need to flash the stock recovery and relock the bootloader.
faiz02 said:
since you restored your nandroid.. You still got clockworkmod recovery and your bootloader is still unlocked.
To be able to get the ota by the default method, you need to flash the stock recovery and relock the bootloader.
Click to expand...
Click to collapse
Thanks I suspected as much, I bricked my Xperia Play by doing an OTA after unlocking the bootloader. Relocking and restoring fixed that but would never try getting into that much trouble again :fingers-crossed:
juzza87 said:
This worked, thanks!
For those researching it's exactly the same process as installing a custom ROM but instead of flashing a zip it's just restoring a backup in CWM.
One more question if you don't mind; will this method of restoring from my nandroid (and in general having unlocked bootloader/CWM/root) mean that when a JB sense ROM is released for my handset (Vodafone AU international) I will be able to do the built-in OTA method or, if ever prompted, I should avoid it at all costs and use offline flashing methods?
Thanks again
Click to expand...
Click to collapse
Hi just curious to know but do you still have you nandroid backup or your vodafone au because mine got corrupt and i need to get to stock could you upload it somewhere so i can go to stock and factory restore please this would be super great thanks
nathanm2435 said:
Hi just curious to know but do you still have you nandroid backup or your vodafone au because mine got corrupt and i need to get to stock could you upload it somewhere so i can go to stock and factory restore please this would be super great thanks
Click to expand...
Click to collapse
My nandroid is completely screwed up, I should have made a backup before I rooted it. The camera doesn't work at all and I can't fix it (no camera does), so I'm now trying to relock bootloader, and figure out how to get the custom recovery off/get it to install a clean copy of the ROM somehow
The only way I know is by a RUU be its not yet released for us yet that's why I asked but if u do find a way please do share thank anyway
Sent from my HTC One X using xda app-developers app

[Q] Problems with kernel flashing

Hey guys, i am trying to flash a kernel on my phone (bricked kernel) i came from 3 different roms and i always get the same problem. After i flash the rom and enter into it and make sure everything works, I go back to fastboot to flash the boot.img of the kernel and then proceed to flashing the kernel module in revcovery. Everything goes well but once I restart my phone just wont proceed pass the htc logo
I am running hboot verson 1.36 as that is the highest i can go with a CID_044 and running CWM 5.8.4.0 Is there something i should be doing or am doing wrong? Please help and thanks
Are you on a JB rom ? If you are, you can't use those kernels. They are for ICS roms only
Mr.Hofs i right like always but if you are on a ics rom you still need to repack your boot.img. You can do that by using nibble.cc. First step is to take the source boot.img and that can be found in rom.zip and you select it when you are on nibble.cc by clicking on source img. Then you need kernels boot.img and that comes with the kernel download in the kernel.zip. When it is all ready they will upload and repack and you will download repackee boot.img. Hope it helps and good luck
Sent from my HTC One X using xda app-developers app
Haha thanks, and i had a similar case a while back and i adviced him to use the 0.6 or 0.5 bricked kernel because I saw some reports in the bricked thread about not booting. It worked for him.
And are you using the right bricked kernel on the right rom. There is one kernel for the aosp roms and there is one for the sense roms
I don't know if i understand (bad english). With repacked kernel will it work? Same case, CM10, 1.36 hboot and CWM 5.8.4.0.
hey guys thanks for all your help i got it to work on an ICS rom but not on a JB rom which is a real bummer cause i really like the JB roms so i guess i just skip flashing kernels and stick with stock Thank you all for your help i really appreciate it
In fact there are no custom kernels for JB yet at all, HTC has to release the source code for it .... but they haven't done that yet ! Till then stock is all we have
How did you get back to the default kernel after flash bricked kernel?
There are 2 ways to go back to the stock kernel
1 ; flash the boot.img from the rom you are using and flash the modules that can be found in the rom.zip
2 ; flash the boot.img from the rom you are using and reflash the rom without a full wipe ( only cache & dalvik cache )
These methods are the ones i know, maybe there is a tool somwhere ... but i don't use tools
Mr Hofs said:
In fact there are no custom kernels for JB yet at all, HTC has to release the source code for it .... but they haven't done that yet ! Till then stock is all we have
Click to expand...
Click to collapse
I just want to make sure I understand...If I currently have Stock JB running on my HOX I cannot use a custom ROM because the source has not been released? I am asking because Ive gone through all the "standard steps" needed to unlock, root, backup, and flash CM10, but I cannot get past the boot screen.
angrymanhands said:
I just want to make sure I understand...If I currently have Stock JB running on my HOX I cannot use a custom ROM because the source has not been released? I am asking because Ive gone through all the "standard steps" needed to unlock, root, backup, and flash CM10, but I cannot get past the boot screen.
Click to expand...
Click to collapse
No custom kernels are not possible. And i mean by that, that there is no sweep to wake functions or other big tweaks like undervolting. Custom roms are no problem ! And to your not booting question : CM10 on a JB hboot needs a modified kernel !
http://db.tt/uDdWaAtH
You need this one ! Then it will boot
Mr Hofs said:
No custom kernels are not possible. And i mean by that, that there is no sweep to wake functions or other big tweaks like undervolting. Custom roms are no problem ! And to your not booting question : CM10 on a JB hboot needs a modified kernel !
http://db.tt/uDdWaAtH
You need this one ! Then it will boot
Click to expand...
Click to collapse
Wow, thanks! I'll check it out as soon as Dropbox let's me download it. It says your account has too much traffic and to check back later.
Sent from my HTC One X using xda premium
---------- Post added at 06:33 PM ---------- Previous post was at 05:38 PM ----------
also i have another few questions. Is the boot.img you are inking to different than the one packaged with the CN10 rom? If I want to go back to my stock nandroid backup do I need to flash the stock boot.img, or will the restoring of the backup take care of that for me? if i do need the boot.img from the stock rom, how do I get that.
angrymanhands said:
Wow, thanks! I'll check it out as soon as Dropbox let's me download it. It says your account has too much traffic and to check back later.
Sent from my HTC One X using xda premium
---------- Post added at 06:33 PM ---------- Previous post was at 05:38 PM ----------
also i have another few questions. Is the boot.img you are inking to different than the one packaged with the CN10 rom? If I want to go back to my stock nandroid backup do I need to flash the stock boot.img, or will the restoring of the backup take care of that for me? if i do need the boot.img from the stock rom, how do I get that.
Click to expand...
Click to collapse
Yeah I got a mail that my links are suspended !!!
But yes its a different boot.img, and if you want to restore the nandroid backup you also need to flash the boot.img from the nandroid backup ! Its located inside the backup folder
Here it is, the CM10 boot for usage with higher hboot versions.
Thanks everyone. One more question... I see the stock boot image in the backup, but it has a different file extension. Do I have to convert it, or do I just rename it to boot.img? Right now it's named boot.emmc.win
Sent from my HTC One X using xda premium
Just flash it like this:
fastboot flash boot boot.emmc.win
Thank you so much for the info.
Sent from my HTC One X using xda premium
If the nandroid backup is done with CWM the kernel will be named boot.img, and when the nandroid backup is done with TWRP recovery its named like the file you have ! :thumbup:
Awh yeah! It worked! You guys are awesome, thank you for your help!!
Sent from my PG41200 using xda premium
OK, another question. I have s-off, I was under the impression that I would not have to manually flash boot images. So I guess my question is why do I have to manually flash the boot images?
Sent from my PG41200 using xda premium

[Q] Geting back to stock to update firmware

am trying to get S-off to update firmware , to use 4.4.4 sense
i have ARHD 11 , when u press SU nothing happens
i have a stock twrp zip file on my desktop , how to restore it again using twrp in recovery?
anyone have any solution to SU problem with firewater ?
skywalker_fakih said:
anyone have any solution to SU problem with firewater ?
Click to expand...
Click to collapse
I believe stock ROM and kernel work best with firewater. ARHD might be causing the issue.
skywalker_fakih said:
i have a stock twrp zip file on my desktop , how to restore it again using twrp in recovery?
Click to expand...
Click to collapse
Is it a stock nandroid backup, or a ROM zip?
If its a nandroid, restore as per instructions in Post #2: http://forum.xda-developers.com/showthread.php?t=2701376
redpoint73 said:
I believe stock ROM and kernel work best with firewater. ARHD might be causing the issue.
Is it a stock nandroid backup, or a ROM zip?
If its a nandroid, restore as per instructions in Post #2: http://forum.xda-developers.com/showthread.php?t=2701376
Click to expand...
Click to collapse
hey thanks so much for ur help, its a nandroid backup , i followed some instructions and i can see it in the restore page of twrp , but ts giving me an error that the size (22m) of backup ...boot.emmc.win is larger than target device (16mb)
so its not restoring boot to be able to boot up the rom

I Have Deleted Framework Folder On My Nokia X Need Help

plz help
AddyAdarsh said:
plz help
Click to expand...
Click to collapse
Flash the stock rom or if had a backup of your phone in the past, you can restore it. Or flash a custom rom via recovery.
AFK269 said:
Flash the stock rom or if had a backup of your phone in the past, you can restore it. Or flash a custom rom via recovery.
Click to expand...
Click to collapse
Sir The phone does not boots in fastboot or in recovery mode

Categories

Resources