I want to get a CWM recovery from a kernel and push into my phone, how do i do that? I think i should find the recovery.img from the kernel and the push with fastboot using "fastboot flash recovery recovery.img", am i right?
But where is the recovery.img located?
ffp. said:
I want to get a CWM recovery from a kernel and push into my phone, how do i do that? I think i should find the recovery.img from the kernel and the push with fastboot using "fastboot flash recovery recovery.img", am i right?
But where is the recovery.img located?
Click to expand...
Click to collapse
No you're not able to use kernel's recovery ( CWM ) via pulling method , simply can't it's different !
But if you're curious where does it locate ? Then i'll tell , the cwm located in kernel's ramdisk in /sbin folder
But there's no way to get it from a kernel? I'm asking because i can't find CWM recovery 5.0.2.7 FULL by Doomlord anywhere and i know a kernel that have it.
ffp. said:
But there's no way to get it from a kernel? I'm asking because i can't find CWM recovery 5.0.2.7 FULL by Doomlord anywhere and i know a kernel that have it.
Click to expand...
Click to collapse
Extract the boot.img which has the wanted recovery with kernel kitchen... Recovery is there in ramdisk/sbin as recovery.cpio...
Sent from my Xperia Neo V using xda app-developers app
Attitude.SSJ said:
Extract the boot.img which has the wanted recovery with kernel kitchen... Recovery is there in ramdisk/sbin as recovery.cpio...
Sent from my Xperia Neo V using xda app-developers app
Click to expand...
Click to collapse
Thank you!! But where should i put recovery.cpio in my phone?
EDIT: I only found a recovery without file type (not .cpio) in sbin and recovery.fstab outside sbin using android kitchen. Which one would be?
Related
I know pulling the boot.img from the rom is the old way to do things then wiping in recovery and flashing the boot img in fastboot... Then flash the rom in recovery....
Or you could just fasboot boot recovery.img and wipe and flash the rom... without pulling the boot.img
Doesn't these two methods work just the same minus the fact that fastboot boot recovery is just quicker to flash a whole rom....
This is for the hboot 1.5 users.....
I know about flash gui im just asking about using ADB and recovery flashing.....
Either way works fine doesn't it...>< ?
Yes, booting into recovery vía fastboot allows simultaneous flashing of kernel/ROM.
You may also flash a custom kernel zip file in the same fashion.
Sent from my PG86100 using xda premium
intrlude said:
Yes, booting into recovery vía fastboot allows simultaneous flashing of kernel/ROM.
You may also flash a custom kernel zip file in the same fashion.
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
Ya that is the advantage of using the recovery via fastboot.... But other then that they both get the job done... Minus that fastboot lets you flash the whole rom instead of taking the boot img out.... along with custom kernels....
One stop shop
There's also a app called Flash Image GUI that works pretty good...
Just thought I would post this since Bin4ry's recovery image was getting out of date...
DO NOT FLASH THIS - if you do, your phone will explode in your face!
to use:
Code:
fastboot boot recovery.img
http://www.mediafire.com/?5o5787wd11o8ww3
Keiran
Thanks, I've been wanting a newer external recovery image.
CrimsonKnight13 said:
Thanks, I've been wanting a newer external recovery image.
Click to expand...
Click to collapse
Your welcome
I also edited the keylayout in my CM sources for recovery so that we can use the four hardware buttons efficiently, back button = back, home button = up, menu button = down, search button = select.
I did this because on the new CWM the layout is all messed up for our device
Keiran
Could be possible to flash it through terminal emulator??? (without pc... )
bamsbamx said:
Could be possible to flash it through terminal emulator??? (without pc... )
Click to expand...
Click to collapse
No flashing....
And you probably can't boot it through terminal emu either.
Sent from my R800i using Tapatalk
KeiranFTW said:
No flashing....
And you probably can't boot it through terminal emu either.
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
Why not??? I have tried to write: su fastboot flash...etc and it answered: not found..... But it seems to be possible to flash.... I dont know why it wouldnt boot....(have unlocked btl...)
Thanks for your answer
bamsbamx said:
Why not??? I have tried to write: su fastboot flash...etc and it answered: not found..... But it seems to be possible to flash.... I dont know why it wouldnt boot....(have unlocked btl...)
Thanks for your answer
Click to expand...
Click to collapse
No it's not possible to flash as the Xperia range does not have a recovery partition, which is where you usually flash the ClockMod Recovery to
Could you possibly update this to the newest CWM?
i will try to update it, as it is not that hard to do
CWM Version 5.5.0.4 by FreeXperia Team
Instructions:
Code:
- In Fastboot mode type in terminal: fastboot boot recovery2.img
- Spam volume up and down button
Download: Recovery
Tried on my terminal with unlocked bootloader. If someone with a locked one can give a feedback it would be great.
6.0.0.6 is out, but won't work for me.
6.0.1.0 is already out
i am using it with the jelly bean kernel
call me a noob but why should i not flash these recovery imgs again?
Today I rooted my device,my next step is installing recovery, which is the simpliest,fastest method for installing!?with easy steps or tutorial? on x10 flashing,rooting etc. was much simplier than on S, and on x1 was easy too...I am planning to install CM 10 ...
4.0.4 .45
piponxs said:
Today I rooted my device,my next step is installing recovery, which is the simpliest,fastest method for installing!?with easy steps or tutorial? on x10 flashing,rooting etc. was much simplier than on S, and on x1 was easy too...I am planning to install CM 10 ...
4.0.4 .45
Click to expand...
Click to collapse
Go to dev section and in the search write cwm and you will find a .bat file for cwm... Install it... Super easy
Sent from my LT26i using xda premium
Installing any custom kernel you will have CWM automatically
Thanks guys it works!!!... my last question is how will I install .img or any other rom (.img) file, now when I have recovery , Do I have to put .img on my phone or .zip or I installit through cmd? and what with kernel? Tried theese steps but it wont work http://forum.xda-developers.com/showthread.php?t=1780338
piponxs said:
Thanks guys it works!!!... my last question is how will I install .img or any other rom (.img) file, now when I have recovery , Do I have to put .img on my phone or .zip or I installit through cmd? and what with kernel? Tried theese steps but it wont work http://forum.xda-developers.com/showthread.php?t=1780338
Click to expand...
Click to collapse
Nope, flash through fastboot mode. Copy .img file to fastboot folder and open cmd there, then type : fastboot flash boot boot.img ( boot.img is the name of .img file )
Kernel on the latest CM rom (137) is provided in .zip file. Remember that this kernel (boot.img) is flashed last, after wiping & installing Rom successfully
Sent from my LT26i using Tapatalk 2
lilude56214 said:
Nope, flash through fastboot mode. Copy .img file to fastboot folder and open cmd there, then type : fastboot flash boot boot.img ( boot.img is the name of .img file )
Kernel on the latest CM rom (137) is provided in .zip file. Remember that this kernel (boot.img) is flashed last, after wiping & installing Rom successfully
I cant enter fastboot mode..after blue led comes up,phone turnes on
Sent from my LT26i using Tapatalk 2
Click to expand...
Click to collapse
piponxs said:
Click to expand...
Click to collapse
Did you install fastboot driver ? Or could flash .img file through Quick Img tool
Sent from my LT26i using Tapatalk 2
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:
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'