Extracting Boot.img - Xperia Play Q&A, Help & Troubleshooting

anyone know how to extract a boot.img from a nandroid, i rooted my stock cspire play and unlocked the bootloader, im still on stock but i want to have the cspire boot.img just incase i may need it, i made a nandroid of my stock rom

You can try this
third post

Related

where can I get a STOCK ROM?

like all the links in the dev section have broken links to stock ROMs.
I am just trying to restore my GSM gnex to 100% stock, anyone have a totally stock ROM or link?
https://developers.google.com/android/nexus/images#yakju
I just use ODIN or what?
Im usually an HTC guy and use CWM, so this samsung stuff is new to me, I was going to flash a compiled zip via CWM then use the toolkit to flash stock recovery, but with this tgz file I just use odin instead?
edit:
figured it out, nvm

A good solution to OTA from custom rom, for all who cant get back to stock

as the title said, this is a good solution to get back to stock and to OTA update.
1- just download the awesome stock rom that made by mike1986 here http://forum.xda-developers.com/showthread.php?t=1546970&highlight=htc+one+x+*stock* (remember, the odexed one)
2- upload it to your SD
3- flash it normally as any custom rom using the CWM 5.8.4.0
4- flash the stock recovery which can be found at the same ROM thread (fastboot flash recovery recovery.img)
5- flash the stock boot.img, can be found at the same ROM thread (fastboot flash boot boot.img)
6- reboot
7- after rebooting, go to settings, about, software update
8- enjoy
just remember that it seems that mike's STOCK ROM already the latest updated one, so the update won't work till HTC officially releases the jelly bean.
dont forget the thanks button below
1.) is it necessary to lock the bootloader to install the OTA?
2.) i have a stock nand backup from my rom 1.29.
yesterday i flashed the boot.img from backup and restored the backup. after start my HOX came up with OTA update. so does i neet the original recovery.img too?
if yes which one can i take?
BR
1- actually i think relocking your bootloader is a must when u r running the original RUU, but here this is a stock rom to be flashed from ur CWM.
installing OTA just requires the stock boot.img and stock recovery, no need to relock the bootloader.
2- this is a fortune for me, wish i could have mine as well, then why not to restore it and get ur original OTA?
if your HOX updated the OTA already then no need to stock recovery, BTW your stock recovery can be found inside your origional RUU which can be found on filefactory server, am sure u've seen it before (just google how to extract RUU, then extract your stock recovery from it)
Hossam.Abdelsalam said:
1- actually i think relocking your bootloader is a must when u r running the original RUU, but here this is a stock rom to be flashed from ur CWM.
installing OTA just requires the stock boot.img and stock recovery, no need to relock the bootloader.
2- this is a fortune for me, wish i could have mine as well, then why not to restore it and get ur original OTA?
if your HOX updated the OTA already then no need to stock recovery, BTW your stock recovery can be found inside your origional RUU which can be found on filefactory server, am sure u've seen it before (just google how to extract RUU, then extract your stock recovery from it)
Click to expand...
Click to collapse
thanks i think you helped me
that was the plan... restore the backup and then do the OTA but i´m not sure if i could install the original OTA that way or i need to flash the original recovery.img too.
maple85 said:
thanks i think you helped me
that was the plan... restore the backup and then do the OTA but i´m not sure if i could install the original OTA that way or i need to flash the original recovery.img too.
Click to expand...
Click to collapse
hi
u need to get stock recovery and re lock ur phone or else the OTA wont get installed i just did it today
see this my post on the same : http://forum.xda-developers.com/showpost.php?p=32368798&postcount=112

Galaxy nexus 4.2.2

Hello, I'm on 4.2.1, but the phone keeps offering 4.2.2, it downloads it, but I can't install it since i'm on custom kernel and phone is rooted.
My question is that if I install the stock kernel, will I be able to install the update OTA?
If yes, then where can I get a 4.2.1 Maguro stock kernel?
Use this app to unlock your bootloader if you haven done so, then extract boot.img from the stock google image(which can be obtained here for older versions). Then flash the boot.img in fastboot.
Code:
fastboot flash boot boot.img
Anyway, I don't think you will download the whole stock image just to get a 4mb kernel, luckily i have the stock image lying around, so download it here.

[Q] Convert CWM backup (.IMG & .TAR) to ODIN Flashable .TAR file

Greetings Folks,
I know this question has been asked before, and I did read a lot of threads on this topic, but ended up getting confused with terms like ADB shell, root shell, emulator etc . So, here I am, asking for help from you guys. I will try to explain what I am trying to achieve, and hope you will point me in the right direction.
I have a ROOTED GT i9082 (firmware details in screenshot). I have backed up my phone using CWM backup mode (.tar format), and I see that the backup folder contains a lot of different kind of files (like .tar, .img and .tar.a extensions). Please see the attached screenshot for the list. Now, I want to create just one single ODIN flashable file (.tar or .tar.md5) from all these files. The reason for this, is if I decide to try and install some stock not-rooted ROM, and lose the CWM, then restoring back to my old rooted ROM could be a hassle. But if I have a backup ODIN flashable file of my current rooted ROM, then I can straight-away flash my backed-up .tar file from ODIN and restore my phone back to my custom ROM.
I have ODIN and the ADB drivers installed on my laptop, just don't know how to create one single ODIN flashable .tar file from all the various files created by the CWM backup. Any help/advice would be appreciated!!! Cheers!!!
acemccloud1 said:
Greetings Folks,
I know this question has been asked before, and I did read a lot of threads on this topic, but ended up getting confused with terms like ADB shell, root shell, emulator etc . So, here I am, asking for help from you guys. I will try to explain what I am trying to achieve, and hope you will point me in the right direction.
I have a ROOTED GT i9082 (firmware details in screenshot). I have backed up my phone using CWM backup mode (.tar format), and I see that the backup folder contains a lot of different kind of files (like .tar, .img and .tar.a extensions). Please see the attached screenshot for the list. Now, I want to create just one single ODIN flashable file (.tar or .tar.md5) from all these files. The reason for this, is if I decide to try and install some stock not-rooted ROM, and lose the CWM, then restoring back to my old rooted ROM could be a hassle. But if I have a backup ODIN flashable file of my current rooted ROM, then I can straight-away flash my backed-up .tar file from ODIN and restore my phone back to my custom ROM.
I have ODIN and the ADB drivers installed on my laptop, just don't know how to create one single ODIN flashable .tar file from all the various files created by the CWM backup. Any help/advice would be appreciated!!! Cheers!!!
Click to expand...
Click to collapse
If those things confuse you then the more you will get confused if we tell you about LINUX COMMAND LINE.
What I know is that there is nobody yet that can do the things you are asking. There is a tutorial on XDA about extracting files from the tar.md5 ODIN flashable file then "cooking" a custom rom from those files.This can also be done with the files from a NANDROID backup. I do not know of a way to do the reverse of that. That is make an ODIN flashable file from those "modded" files. I am sure there is a way but I think it is beyond the means of us non programmers/developers.
Furthermore, it is easier to restore CWM in case you lose, after that restore any NANDROID backup as long as they are on the external sd card.
If you want to learn try THIS
muntinlupa said:
If those things confuse you then the more you will get confused if we tell you about LINUX COMMAND LINE.
What I know is that there is nobody yet that can do the things you are asking. There is a tutorial on XDA about extracting files from the tar.md5 ODIN flashable file then "cooking" a custom rom from those files.This can also be done with the files from a NANDROID backup. I do not know of a way to do the reverse of that. That is make an ODIN flashable file from those "modded" files. I am sure there is a way but I think it is beyond the means of us non programmers/developers.
Furthermore, it is easier to restore CWM in case you lose, after that restore any NANDROID backup as long as they are on the external sd card.
If you want to learn try THIS
Click to expand...
Click to collapse
Thanks for your response @ muntinlupa
Let me explain what I wish to do, and then maybe you can help me understand this better.
I wish to upgrade my i9082 to 4.2.2, but most of the ROMs available on XDA need me to already be on 4.2.2 leaked ROM. I tried a few of the leaked 4.2.2 which were fine with me being on 4.1.2. After flashing the initial 4.2.2 ROM, I was able to boot up successfully, but after that, when I tried to install Balli's GENNXT XUBMGA 4.2.2 ROM, my phone went into boot loop. So I have decided to try the Samsung official 4.2.2 ROM (released in Germany probably), and then try installing Balli's ROM. But the problem is that the official ROM needs to be flashed via ODIN, and will not be rooted. So I fear that after flashing the official 4.2.2 ROM, I might lose my CWM, thereby rendering my restore ability useless, even though I have my CWM backups for my current ROM (Balli's 4.1.2 rooted ROM).
So, my queries are as follows:-
1) If I flash the official 4.2.2 ROM, will I lose my CWM? If yes, is there any way I can flash and install the CWM again with ODIN, with the official 4.2.2 unrooted ROM still installed?
2) Does flashing CWM via ODIN require root or unlocked bootloader?
3) If I can install CWM with the official 4.2.2 unrooted ROM installed on my phone, will I be able to boot into recovery and restore my backed up rooted Balli's 4.1.2 ROM?
So basically, I want to try the 4.2.2 ROM, but want to be able to revert my phone back to 4.1.2 in case I don't like it.
acemccloud1 said:
Thanks for your response @ muntinlupa
Let me explain what I wish to do, and then maybe you can help me understand this better.
I wish to upgrade my i9082 to 4.2.2, but most of the ROMs available on XDA need me to already be on 4.2.2 leaked ROM. I tried a few of the leaked 4.2.2 which were fine with me being on 4.1.2. After flashing the initial 4.2.2 ROM, I was able to boot up successfully, but after that, when I tried to install Balli's GENNXT XUBMGA 4.2.2 ROM, my phone went into boot loop. So I have decided to try the Samsung official 4.2.2 ROM (released in Germany probably), and then try installing Balli's ROM. But the problem is that the official ROM needs to be flashed via ODIN, and will not be rooted. So I fear that after flashing the official 4.2.2 ROM, I might lose my CWM, thereby rendering my restore ability useless, even though I have my CWM backups for my current ROM (Balli's 4.1.2 rooted ROM).
So, my queries are as follows:-
1) If I flash the official 4.2.2 ROM, will I lose my CWM? If yes, is there any way I can flash and install the CWM again with ODIN, with the official 4.2.2 unrooted ROM still installed?
2) Does flashing CWM via ODIN require root or unlocked bootloader?
3) If I can install CWM with the official 4.2.2 unrooted ROM installed on my phone, will I be able to boot into recovery and restore my backed up rooted Balli's 4.1.2 ROM?
So basically, I want to try the 4.2.2 ROM, but want to be able to revert my phone back to 4.1.2 in case I don't like it.
Click to expand...
Click to collapse
Everything you need to know is HERE. Installing balliboxer rom needs a wipe after flashing or else you will get bootloop.
And I have done this 2 X. I am back to 4.1.2 now because I want to utilize the external2internal app.
And if you wan to get back to nandroid backup of your 4.1.2 then flash any stock 4.1.2 then install CWM and do a restore from CWM. Very easy for me.
Absolutely right @muntinlupa
@acemccloud1
Go easy man...nothing to worry...
First flash leaked or official 4.2.2 through odin..yes u will lose cwm...so flash cwm through odin...same way as u flashed on 4.1.2...boot in to cwm...wipe data factory reset...wipe cache n dalvik cache...now flash GENNXT 4.2.2...after flashing wipe cache n dalvik cache...reboot..
now u r on ballis GENNXT 4.2.2
Now if u want to revert back..(4.1.2 restore)
Flash stock 4.1.2 through odin (necessary as u can't restore ur 4.1.2 backup on 4.2.2)...flash cwm through odin...restore ur 4.1.2 backup with cwm....
Remember...before doing factory reset if ur backup file is in internal sd then just move it on external sd>clockworkmod>backup>ur file...n do not rename ur backup file...u may get md5 mismatch error...happy flashing....:thumbup:
Sent from my GT-I9082 using Tapatalk 2
Thanks @jetvis37 and @muntinlupa :highfive:
I have a better understanding of how to do this now.....I will try it out first thing tomorrow morning....keeping my fingers crossed

Stock boot.img

Could some one share the stock boot.img
for the latest tmo ota?
Can't seem to find it on here. Ruu's, nandroids and radios. But no boot. Img

Categories

Resources