Hi guys.
I'm on JB STOCK, Stock recovery and Stock boot.
I want to create a backup of Stock recovery before i flash my TWRP-JB to take Stock NAND backup.
I searched and found a command to run recovery without flashing it to recovery partition.
fastboot boot recovery recovery.img <- my custom recovery. Then use either ADB or recovery itself to take a backup.
Will it work??
Regards
Yasir
neXus PRIME said:
Hi guys.
I'm on JB STOCK, Stock recovery and Stock boot.
I want to create a backup of Stock recovery before i flash my TWRP-JB to take Stock NAND backup.
I searched and found a command to run recovery without flashing it to recovery partition.
fastboot boot recovery recovery.img <- my custom recovery. Then use either ADB or recovery itself to take a backup.
Will it work??
Regards
Yasir
Click to expand...
Click to collapse
But the method that extracts kernel from partition and makes img file doesn't work also with recovery partition?
I mean the dd command from adb.
xpirt
This worked.
fastboot boot twrp.img
I made a nand backup of every partition.
Regards
Yasir
Sent from my HTC Desire X using xda app-developers app
neXus PRIME said:
This worked.
fastboot boot twrp.img
I made a nand backup of every partition.
Regards
Yasir
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Good to know but not really needed. The stock Boot.img and Recovery.img come together with the OTA
Attached here the JB Stock Recovery.img if you want it.
ckpv5 said:
Good to know but not really needed. The stock Boot.img and Recovery.img come together with the OTA
Attached here the JB Stock Recovery.img if you want it.
Click to expand...
Click to collapse
How did you get this recovery ?
Sent from my HTC Desire X using xda app-developers app
neXus PRIME said:
How did you get this recovery ?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
It comes together with the OTA. (Save the OTA before installing).
Both stock boot.img and recovery.img are inside firmware.zip
Hey... I too have the update zip... To flash to stock jb.. I first need to flash stock recovery then stock boot then I wud be installing the stock Rom right? I am confused for the correct procedure to reinstall stock. Also how does one open firmware.zip... Its access denied for me every time...
Sent from my HTC Desire X using xda app-developers app
prtksxa_ind said:
Hey... I too have the update zip... To flash to stock jb.. I first need to flash stock recovery then stock boot then I wud be installing the stock Rom right? I am confused for the correct procedure to reinstall stock. Also how does one open firmware.zip... Its access denied for me every time...
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
-flash custom recovery/restore/flash stock boot.img+stock recovery.
-drop it to your pc and use "7zip".
ckpv5 said:
Good to know but not really needed. The stock Boot.img and Recovery.img come together with the OTA
Attached here the JB Stock Recovery.img if you want it.
Click to expand...
Click to collapse
Can you attach the OTA Zip file?
Droid.Anoop said:
Can you attach the OTA Zip file?
Click to expand...
Click to collapse
Do you have CID__044 ?? if not, then why do you need it?
Droid.Anoop said:
Can you attach the OTA Zip file?
Click to expand...
Click to collapse
You mean the firmware zip?
navmad
---------- Post added at 04:08 PM ---------- Previous post was at 04:06 PM ----------
neXus PRIME said:
Do you have CID__044 ?? if not, then why do you need it?
Click to expand...
Click to collapse
The firmware zip in 405 OTA was not protected. It could be opened.
For us ( HTC__038) it doesn't open. May be thats why he needs it.
navmad
Can someone plz upload JB stock kernel...
neXus PRIME said:
Do you have CID__044 ?? if not, then why do you need it?
Click to expand...
Click to collapse
Ohh,I forgot about the CID!
neXus PRIME said:
This worked.
fastboot boot twrp.img
I made a nand backup of every partition.
Regards
Yasir
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Bro, to take backup of the stock recovery.. u just booted the custom recovery using 'fastboot boot customrecovery.img' & took a nandroid? or any other command? specifically for backingup the stock recovery..?
That command boots the phone with the selected img , without actually flashing the img , by temporarely downloading the img into the phone memory and booting it from there .
This way , you could boot the phone into a custom recovery while having the stock recovery flashed , and then backup the unharmed stock recovery from that custom recovery .
TWRP can backup both the boot and the recovery partitions if I'm not mistaking . Just choose "Backup" and you'll be prompted with a list of partitions you can backup
neXus PRIME said:
This worked.
fastboot boot twrp.img
I made a nand backup of every partition.
Regards
Yasir
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
would you please describe how you are done the nand backup? it is witout rooting.is n't?
insalen said:
would you please describe how you are done the nand backup? it is witout rooting.is n't?
Click to expand...
Click to collapse
Question 1: did you unlock your phone?
Lots of info over here, to read for yourself. For a backup: install a recovery. After that: push the button 'backup'
Related
Hi, I've a Desire S, S-ON running CM7, hboot 2.00.002 GRJ90 GB 2.3.5, and would just like to know if it's ok to flash the boot.img found in the nandroid backup of my stock rooted rom (after the restore). Or do I perhaps have to find another one?
If in case I need another, there was a dropbox link here http://forum.xda-developers.com/showthread.php?t=1616741 [Collection | 1.26 & 1.28] Fastboot Pack v1.2 but 1st) I'm in China ATM and dropbox is blocked so can't download it and 2nd) I wouldn't know/don't understand what 1.26 or 1.28 are or how they correspond.
Any advice is appreciated
*EDIT* I tried flashing the within nandroid boot.img, Failed to boot, extracted signed_boot.img from compatible RUU(albeit older HBOOT) Failed again. I have searched but can' find a stock boot.img for my ROM.
twiice said:
*EDIT* I tried flashing the within nandroid boot.img, Failed to boot, extracted signed_boot.img from compatible RUU(albeit older HBOOT) Failed again. I have searched but can' find a stock boot.img for my ROM.
Click to expand...
Click to collapse
you tried to flash the boot.img from recovery or fastboot from bootloader???
Sent from my Nexus One using Tapatalk
n1newbie said:
you tried to flash the boot.img from recovery or fastboot from bootloader???
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
The normal way I did with all roms 'fastboot flash boot boot.img' in bootloader message is sent OK. I have no problem flashing, the Boot.img is wrong
do you have the rom zip file that u are running? in that if you unzip it ull find boot.img you can use that for fastbooting
Sent from my Nexus One using Tapatalk
I know CWM is better, especially since I want to install the rom by nitsuj17 so I need to remove TWRP and replace it with CWM.
How do I do this?
CISGS said:
I know CWM is better, especially since I want to install the rom by nitsuj17 so I need to remove TWRP and replace it with CWM.
How do I do this?
Click to expand...
Click to collapse
adb reboot bootloader
fastboot flash recovery DNA.CWR6.IMG
Exactly what he said, just download the cwm recovery and flash it using that command, it will simply overwrite the current recovery method and begin working instantly.
Sent from my HTC DNA.
Thanks guys. Got it working
Sent from the King's DNA
cj2566 said:
adb reboot bootloader
fastboot flash recovery DNA.CWR6.IMG
Click to expand...
Click to collapse
Dude explain in simple language please?
download ROM Manager from the market and let it flash it for you
iamafrickinnoob said:
Dude explain in simple language please?
Click to expand...
Click to collapse
You literally type those 2 lines into the command prompt on your computer.
Sent from my HTC6435LVW using xda app-developers app
Hi,
I just rooted my HTC One x+ using RootBoot for Software number 1.14.401.16 and i had completely forgotten that I upgraded to 1.17 today
I lost my signal, wifi isnt working and it was stuck on the HTC logo for a while but its unbricked now. I still have no signal or wifi though.
Does anyone know if there is a new rootboot version?
Cheers
flash the kernel from your custom rom
where can i find my custom rom please????
i am still on the custom rom that came with the phone? how can i find that?
skdubg said:
flash the kernel from your custom rom
Click to expand...
Click to collapse
So, you have a recovery installed, either CWM or TWRP? Why do you want to keep the stock ROM?
Use the All in One tool from Hasoon or follow the guide for the original One X that explains how to set up the fastboot folder on your C: drive, then flash one of the above mentioned recoveries for the X+ via fastboot, then flash the boot.img of a ROM you'd like to try, also via fastboot and then flash a custom ROM from recovery. But first make sure that you download a custom ROM.zip and transfer it to your phone as unlocking will have wiped your SD card.
Or you can just root your stock ROM, for that you need the Super User tools, so after unlocking, flash one of the recoveries for the X+ via fastboot, power up phone, copy Super User tools to SD card and flash them in recovery!
Make sure that you understand what you are doing. Reading first is mandatory!
Sent from my HTC One X+ using xda premium
I couldnt find the CWM for HTC one x+, just for htc one x. should i use that one?
Can you please tell me where I can find it? and whats a good custom ROM that i can use? also is it possible to just go back to the stock ROM for now?
Cheers
hardstuffmuc said:
So, you have a recovery installed, either CWM or TWRP? Why do you want to keep the stick ROM?
Use the All in One tool from Hasoon or follow the guide for the original One X that explains how to set up the fastboot folder on your C: drive, the flash one of the above mentioned recoveries for the X+ and via fastboot, then the boot.img of a ROM you'd like to try, also via fastboot and then flash a custom ROM from recovery. But first make sure that you download a custom ROM.zip and transfer it to your phone.
Make sure that you understand what you are doing. Reading first is mandatory!
Sent from my HTC One X+ using xda premium
Click to expand...
Click to collapse
so i just installed CWM and tried Elite's kernel but i still have the same issue. no signal, no wifi.
can someone please help? would a whole new RUU work?
I had the same problem but i finally managed to fix that by flashing a custom rom after flashing the boot.img for that rom.
roufee said:
so i just installed CWM and tried Elite's kernel but i still have the same issue. no signal, no wifi.
can someone please help? would a whole new RUU work?
Click to expand...
Click to collapse
You need to flash the boot.img inside the Rom.zip that you download. Put the whole .zip on your SD card, boot into bootloader, select fastboot, hook up the phone, point to the folder your fastboot files are located and you dropped the boot.img, open a cmd window, and type
cd c:\fastboot and enter, then
fastboot erase cache and enter
fastboot flash boot boot.img and enter
fastboot erase cache and enter
Unplug cable, select hboot/boot recovery, select, then inside recovery install zip from SD card, don't forget to select the wipe option in the aroma installer...
The whole process takes like 20 mins, including download of the ROM, copying the boot.img into the fastboot folder (make sure there is only one boot.img in there...the one you want/need), flashing the boot.img, flashing ROM in recovery and booting up (which takes like a few minutes)
Hope this helps
Sent from my HTC One X+ using xda premium
---------- Post added at 02:35 PM ---------- Previous post was at 02:26 PM ----------
roufee said:
so i just installed CWM and tried Elite's kernel but i still have the same issue. no signal, no wifi.
can someone please help? would a whole new RUU work?
Click to expand...
Click to collapse
Just to make sure http://forum.xda-developers.com/showthread.php?p=34173694 is the CWM recovery for the X+ or use the TWRP recovery found in the Android Original Dev section...and please, use the search button, read, understand and ask if you don't, and then a hit on the thanks button is appreciated
Sent from my HTC One X+ using xda premium
hill67 said:
I had the same problem but i finally managed to fix that by flashing a custom rom after flashing the boot.img for that rom.
Click to expand...
Click to collapse
Which ROM did you flash ? I have the same problem and have no luck with decoding HTC stock ROMs.
Please try to flash boot.img from ARHD 6.2 here http://forum.xda-developers.com/showthread.php?t=1987885
I am in a same problem ase I flash my ARHD 6.2 Rom and after the Oxp_elitekernel_130119, all work but my data connection is not stopped when screen is in sleep mode...
Is Oxp_elitekernel_130119 works fine with ARHD 6.2 ROM ?
call fastboot flash boot boot.img
Click to expand...
Click to collapse
this command flashes kernel
then what would be the command to flash boot file?
ankahuja said:
this command flashes kernel
then what would be the command to flash boot file?
Click to expand...
Click to collapse
boot file ? :-o
boot.img is the kernel image.
Regards,
navmad
navmad said:
boot file ? :-o
boot.img is the kernel image.
Regards,
navmad
Click to expand...
Click to collapse
A little Correction: boot.img is the image of boot partition, containing kernel (zImage) AND ramdisk
Sent from my HTC Desire X using xda app-developers app
neXus PRIME said:
A little Correction: boot.img is the image of boot partition, containing kernel (zImage) AND ramdisk
Click to expand...
Click to collapse
When installing a jb Rom on ics hboot...we flash boot.img...someone said me that's not kernel...that's boot file....
Sent from my HTC Desire X using xda premium
neXus PRIME said:
neXus PRIME
Click to expand...
Click to collapse
Please reply...
Sent from my HTC Desire X using xda premium
ankahuja said:
When installing a jb Rom on ics hboot...we flash boot.img...someone said me that's not kernel...that's boot file....
Sent from my HTC Desire X using xda premium
Click to expand...
Click to collapse
That person thinks they're a smartass.
Sent from my Nexus 7 using Tapatalk HD
Stereo8 said:
That person thinks they're a smartass.
Sent from my Nexus 7 using Tapatalk HD
Click to expand...
Click to collapse
Part 3 - Installing boot.img and booting your DX
7. Open the ICShboot_Toolkit folder and run the Install Boot.img.bat
here boot.img.bat with code
call fastboot flash recovery boot.img
Click to expand...
Click to collapse
MEANS THAT THERE US NOTHING LIKE BOOT FILE...WE'RE JUST INSTALLING A KERNEL IN RECOVERY PARTITION??right?
And what's boot file ? Never heard such thing as boot file.
As explain by neXus PRIME - boot.img is the image of boot partition, containing kernel (zImage) AND ramdisk
Part 3 - Installing boot.img and booting your DX
Installing boot.img - as per item no.7 (JB boot.img on ICS hboot - we flash the boot.img to recovery partition)
booting your DX - as per item no. 8 (Press Power once to go to hboot and select Recovery to boot your device)
So... what's the problem actually ??
ckpv5 said:
boot.img is the image of boot partition, containing kernel (zImage) AND ramdisk
Click to expand...
Click to collapse
that means boot.img CONTAINS kernel....ok i got it
call fastboot flash boot boot.img
Click to expand...
Click to collapse
then what does ↑ this code do?
here then it is image of boot partition (not the kernel ONLY) ???
______________________________________________________
also on JB on ICS HBOOT
what image is there on the boot partition????
if there is ;image of boot partition;
then we have 2 ;image of boot partition;
1 on boot partition and 2nd on recovery partition
?????
:crying: :crying: :crying: THIS IS VERY VERY CONFUSING :crying: :crying: :crying:
THANKS IF YOU COULD DEVOTE SOME TIME FOR ME... :laugh: :good:
ckpv5 said:
ckpv5
Click to expand...
Click to collapse
please reply ckpv5..... :fingers-crossed:
Yes, you have boot image on boot and recovery partition.
Now when you boot normally, it uses boot from boot partition to start Rom, and when you reboot to recovery, it uses boot from recovery partition to start rom.
Sent from my HTC Desire X using xda app-developers app
@ankahuja
call fastboot flash boot boot.img
then what does ↑ this code do?
Click to expand...
Click to collapse
call fastboot flash | boot | boot.img
part 1: call fastboot flash : flashing in fastboot mode
part 2: boot - flash to which partition ? for this command - to boot partition
part 3 : boot.img - flash what ? for this command - the boot.img
also on JB on ICS HBOOT
what image is there on the boot partition????
Click to expand...
Click to collapse
the ICS boot.img - so you don't need to reflash boot.img when restoring your previous ICS ROM
if there is ;image of boot partition;
then we have 2 ;image of boot partition;
1 on boot partition and 2nd on recovery partition
?????
Click to expand...
Click to collapse
boot.img on boot partition - for ICS ROM
boot.img on recovery partition - for JB ROM
That's why for JB ROM on ICS hboot, you need to reflash recovery.img any time that you need to get back to recovery to do flashable zip installation... and reflash the boot.img to recovery partition again to boot your system
ckpv5 said:
@ankahuja
call fastboot flash | boot | boot.img
part 1: call fastboot flash : flashing in fastboot mode
part 2: boot - flash to which partition ? for this command - to boot partition
part 3 : boot.img - flash what ? for this command - the boot.img
the ICS boot.img - so you don't need to reflash boot.img when restoring your previous ICS ROM
boot.img on boot partition - for ICS ROM
boot.img on recovery partition - for JB ROM
That's why for JB ROM on ICS hboot, you need to reflash recovery.img any time that you need to get back to recovery to do flashable zip installation... and reflash the boot.img to recovery partition again to boot your system
Click to expand...
Click to collapse
Thanks now I got it completely :good: :good:
If anyone can help. i need to know how to make a copy of my phones stock recovery before flashing a custom recovery. so i can flash back to stock recovery in order to an OTA update.
Thanks
JOE180360 said:
If anyone can help. i need to know how to make a copy of my phones stock recovery before flashing a custom recovery. so i can flash back to stock recovery in order to an OTA update.
Thanks
Click to expand...
Click to collapse
If you are rooted already with a stock recovery, skip to the second half of the next paragraph.
What you want to do is boot twrp instead of flashing it at first. You do this by using the command "fastboot boot recovery.img" where as "recovery.img" is the name you have assigned to your twrp recovery image. Once you have booted into twrp, reboot system. You will be prompted to root the device (assuming you are not already rooted), select yes. Now that you are rooted, download this app. In the app settings change the backup format to .img, and then backup your recovery. Now you will have a copy of your stock recovery. Now that you have that, go back and flash twrp using the command "fastboot flash recovery recovery.img", whereas "recovery.img" refers to whatever you have named your twrp recovery image.
all of this is assuming that you have adb setup on your computer, and a good working knowledge of how to use it.
What if I'm already rooted with twrp recovery, is it still possible?
Sent from my HTC One_M8 using XDA Free mobile app
Would I have to runn the ruu agian.
Sent from my HTC One_M8 using XDA Free mobile app
Thanks for the info. Much appreciated. I will do this next time I flash back to stock.
Thanks
Sent from my HTC One_M8 using XDA Free mobile app
JOE180360 said:
What if I'm already rooted with twrp recovery, is it still possible?
Click to expand...
Click to collapse
You still have stock recovery? If so, it sounded like you did fastboot boot TWRP (instead of fastboot flash TWRP).
In which case, you can just then use TWRP to backup the recovery partition. You don't need a seperate app or root to do this.
I flashed twrp using fastboot flash recovery twrp but I'm still using the stock rom, but since I flashed twrp that means my stock recovery img is gone right?
Sent from my HTC One_M8 using XDA Free mobile app
JOE180360 said:
I flashed twrp using fastboot flash recovery twrp but I'm still using the stock rom, but since I flashed twrp that means my stock recovery img is gone right?
Click to expand...
Click to collapse
Yes, you can only have one recovery at a time. TWRP custom recovery overwrote the stock recovery. You can't back up what isn't there anymore.
But you can always return to stock by RUU, if needed.