Flash img GUI works to flash the extracted boot.img from a rom or kernel boot.img.
Also supposed to flash a zimage as well but I have never tried.
Basically you need to extract the roms such as CM10 boot.img and flash it through this app then reboot to recovery and flash the cm10 rom.
Then to return to a sense rom you need to extract a boot.img from the sense rom and flash the boot.img. Then flash the whole rom in recovery. If anything happens that you can't boot a rom to use this app then fastboot is needed.
Flash img GUI is available here: http://xdaforums.com/showthread.php?p=28765269
You will need to do this if flashing cm10 or other non stock based rom and to go back to a stock based rom from a non stock based rom
Do the steps below before or after flashing the rom in recovery or you will not boot.
As kernels are starting to pop up I thought I would save some headaches. If you took the ota or on new hboot (1.15) and s-on you can't flash kernels through recovery. So try if you want but you'll most likely have to get a whole boot image and flash it via fastboot.
Didn't see this mentioned anywhere but have seen plenty of people not able to.flash kernels through recovery.
If your phone explodes or melts due to this tutorial its something you did and not me so only blame yourself.
If you are changing kernels it is a good idea to remove any CPU apps or scripts of the original setup. If not compatible settings they will cause issues. (Thanks to chriswbush)
How to flash a boot image if S-ON Dev Unlocked 1.15 HBOOT:
Download the attached adb.zip. It has the files needed to flash via fastboot. I am on XP with an X86 PC.
1.Extract zip to c:\ for ease of use.
2.Place boot.img you want to flash into the c:\adb folder.
3. Get into bootloader by power menu or press and hold the power button ONLY. This will eventually pop up the message that your phone is going to shut down in 3, 2, 1... (this is actually a simulated battery pull)
Once the screen goes black, let go of power
Press power and volume down, and in about 2-3 seconds the bootloader will appear.(courtesy if PillowMetal)
4.Connect your phone via USB and make sure your bootloader is in fastboot mode and says "FASTBOOT USB" after your connected. (HTC drivers are possibly needed but I never tried to do this pre-htc drivers installed)
5.Open command prompt by selecting run in start menu and typing
then click "OK" or by pressing windows key and R key then type
and then click "OK".
Couple of windows 7 shortcuts that can eliminate steps 5 and 6
When in the window explorerand folder you want a command prompt to be at shift-right click > open command prompt here ( thanks antp121)
On Windows 7 just open the start menu and directly type
in it or yet another further shortcut for Windows 7 that doesn't require you to "cd" to the folder. Navigate to the folder through Windows Explorer, and look at the top location/navigation bar. (Below)
Click on the bar so the text is highlighted.
Delete it, and instead put in "cmd" no quotes, and hit Enter.
(Thanks to LiquidSolstice)
6.When in command prompt type
and then press enter key. Should change to
7.Type
and press enter key. Should run through a couple lines and show it was written successfully.
8.Reboot phone and shazam you have a new kernel.
If you have any issues with a kernel once installed it may be due to differences in ramdisks etc. Most sense roms run off stock boot.img best I can tell.
Remember you can revers this process by flashing the boot.img from the rom's zip that your running by using the exact same process.
Good luck and happy flashing.
Constructive criticism always welcome.
Other OS files and setup see here http://wiki.cyanogenmod.com/wiki/Fastboot
______________________________________________________________________________________________________________________
S-ON Dev Unlocked 1.15 HBOOT How to flash twrp recovery.img from fastboot or if unable to get into recovery or rooting fails
Go to http://teamw.in/project/twrp2/98 and download the openrecovery-twrp-2.2.2.0-jewel.img to desktop and rename it "recovery.img" no quotes.
Download the attached adb.zip. It has the files needed to flash via fastboot. I am on XP with an X86 PC.
1.Extract zip to c:\ for ease of use.
2.Place recovery.img you want to flash into the c:\adb folder.
3. Get into bootloader by power menu or press and hold the power button ONLY. This will eventually pop up the message that your phone is going to shut down in 3, 2, 1... (this is actually a simulated battery pull)
Once the screen goes black, let go of power
Press power and volume down, and in about 2-3 seconds the bootloader will appear.(courtesy if PillowMetal)
4.Connect your phone via USB and make sure your bootloader is in fastboot mode and says "FASTBOOT USB" after your connected. (HTC drivers are probably not needed but I never tried to do this pre-htc drivers installed)
5.Open command prompt by selecting run in start menu and typing
then click "OK" or by pressing windows key and R key then type
and then click "OK".
Couple of windows 7 shortcuts that can eliminate steps 5 and 6
When in the window explorerand folder you want a command prompt to be at shift-right click > open command prompt here ( thanks antp121)
On Windows 7 just open the start menu and directly type
in it or yet another further shortcut for Windows 7 that doesn't require you to "cd" to the folder. Navigate to the folder through Windows Explorer, and look at the top location/navigation bar. (Below)
Click on the bar so the text is highlighted.
Delete it, and instead put in "cmd" no quotes, and hit Enter.
(Thanks to LiquidSolstice)
6.When in command prompt type
no quotes and then press enter key. Should change to
7.Type
and press enter key. Should run through a couple lines and show it was written successfully.
8.On your phone select HBOOT and then Reboot Recovery.
Now you can flash a rooted rom if your rooting method failed and you will be rooted.
MAC AND LINUX USERS ONLY!
Here is an adb/fastboot install script for Mac/Linux might need to modify steps in this thread as needed depending on where the script installs them http://xdaforums.com/showthread.php?t=1617718
Also supposed to flash a zimage as well but I have never tried.
Basically you need to extract the roms such as CM10 boot.img and flash it through this app then reboot to recovery and flash the cm10 rom.
Then to return to a sense rom you need to extract a boot.img from the sense rom and flash the boot.img. Then flash the whole rom in recovery. If anything happens that you can't boot a rom to use this app then fastboot is needed.
Flash img GUI is available here: http://xdaforums.com/showthread.php?p=28765269
You will need to do this if flashing cm10 or other non stock based rom and to go back to a stock based rom from a non stock based rom
Do the steps below before or after flashing the rom in recovery or you will not boot.
As kernels are starting to pop up I thought I would save some headaches. If you took the ota or on new hboot (1.15) and s-on you can't flash kernels through recovery. So try if you want but you'll most likely have to get a whole boot image and flash it via fastboot.
Didn't see this mentioned anywhere but have seen plenty of people not able to.flash kernels through recovery.
If your phone explodes or melts due to this tutorial its something you did and not me so only blame yourself.
If you are changing kernels it is a good idea to remove any CPU apps or scripts of the original setup. If not compatible settings they will cause issues. (Thanks to chriswbush)
How to flash a boot image if S-ON Dev Unlocked 1.15 HBOOT:
Download the attached adb.zip. It has the files needed to flash via fastboot. I am on XP with an X86 PC.
1.Extract zip to c:\ for ease of use.
2.Place boot.img you want to flash into the c:\adb folder.
3. Get into bootloader by power menu or press and hold the power button ONLY. This will eventually pop up the message that your phone is going to shut down in 3, 2, 1... (this is actually a simulated battery pull)
Once the screen goes black, let go of power
Press power and volume down, and in about 2-3 seconds the bootloader will appear.(courtesy if PillowMetal)
4.Connect your phone via USB and make sure your bootloader is in fastboot mode and says "FASTBOOT USB" after your connected. (HTC drivers are possibly needed but I never tried to do this pre-htc drivers installed)
5.Open command prompt by selecting run in start menu and typing
Code:
cmd
Code:
cmd
Couple of windows 7 shortcuts that can eliminate steps 5 and 6
When in the window explorerand folder you want a command prompt to be at shift-right click > open command prompt here ( thanks antp121)
On Windows 7 just open the start menu and directly type
Code:
cmd
Click on the bar so the text is highlighted.
Delete it, and instead put in "cmd" no quotes, and hit Enter.
6.When in command prompt type
Code:
cd c:\adb
Code:
c:\adb>
7.Type
Code:
fastboot flash boot boot.img
8.Reboot phone and shazam you have a new kernel.
If you have any issues with a kernel once installed it may be due to differences in ramdisks etc. Most sense roms run off stock boot.img best I can tell.
Remember you can revers this process by flashing the boot.img from the rom's zip that your running by using the exact same process.
Good luck and happy flashing.
Constructive criticism always welcome.
Other OS files and setup see here http://wiki.cyanogenmod.com/wiki/Fastboot
______________________________________________________________________________________________________________________
S-ON Dev Unlocked 1.15 HBOOT How to flash twrp recovery.img from fastboot or if unable to get into recovery or rooting fails
Go to http://teamw.in/project/twrp2/98 and download the openrecovery-twrp-2.2.2.0-jewel.img to desktop and rename it "recovery.img" no quotes.
Download the attached adb.zip. It has the files needed to flash via fastboot. I am on XP with an X86 PC.
1.Extract zip to c:\ for ease of use.
2.Place recovery.img you want to flash into the c:\adb folder.
3. Get into bootloader by power menu or press and hold the power button ONLY. This will eventually pop up the message that your phone is going to shut down in 3, 2, 1... (this is actually a simulated battery pull)
Once the screen goes black, let go of power
Press power and volume down, and in about 2-3 seconds the bootloader will appear.(courtesy if PillowMetal)
4.Connect your phone via USB and make sure your bootloader is in fastboot mode and says "FASTBOOT USB" after your connected. (HTC drivers are probably not needed but I never tried to do this pre-htc drivers installed)
5.Open command prompt by selecting run in start menu and typing
Code:
cmd
Code:
cmd
Couple of windows 7 shortcuts that can eliminate steps 5 and 6
When in the window explorerand folder you want a command prompt to be at shift-right click > open command prompt here ( thanks antp121)
On Windows 7 just open the start menu and directly type
Code:
cmd
Click on the bar so the text is highlighted.
Delete it, and instead put in "cmd" no quotes, and hit Enter.
6.When in command prompt type
Code:
cd c:\adb
Code:
c:\adb>
7.Type
Code:
fastboot flash recovery recovery.img
8.On your phone select HBOOT and then Reboot Recovery.
Now you can flash a rooted rom if your rooting method failed and you will be rooted.
MAC AND LINUX USERS ONLY!
Here is an adb/fastboot install script for Mac/Linux might need to modify steps in this thread as needed depending on where the script installs them http://xdaforums.com/showthread.php?t=1617718
Attachments
Last edited: