Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,769,404 Members 39,606 Now Online
XDA Developers Android and Mobile Development Forum

[PROGRAM]boot.img Flasher v1.2.1 | Updated 12.18.12

Tip us?
 
-viperboy-
Old
(Last edited by -viperboy-; 18th December 2012 at 07:13 PM.)
#1  
-viperboy-'s Avatar
Recognized Developer - OP
Thanks Meter 12836
Posts: 7,684
Join Date: Jun 2007
Location: PA

 
DONATE TO ME
Angry [PROGRAM]boot.img Flasher v1.2.1 | Updated 12.18.12


Quote:
Hi everyone, I wrote this simple little program to help with flashing kernels on S-ON HTC devices. The program is pretty simple and contains all of the needed files to flash your boot.img and push the necessary kernel modules, either while the phone is booted into Android or if you are stuck in a bootloop and can only get into the bootloader. The program is configured to flash a near-stock boot.img from the 2.13 base (only added init.d support) and the kernel modules for the kernel. In theory, you can replace the boot.img and modules from other kernels and flash through this program as well (more info in 3rd post)

Quote:
Download:
v1.2.1 - For JB ONLY! https://dl.dropbox.com/u/6621763/boo...-v1.2.1-jb.zip
v1.2.1 - For ICS ONLY! http://bit.ly/OGAGgn

Quote:
Credits:
Morto_jeffrey for some code from Venom Flasher
patensas for the icon
The Following 29 Users Say Thank You to -viperboy- For This Useful Post: [ Click to Expand ]
 
-viperboy-
Old
(Last edited by -viperboy-; 18th December 2012 at 07:14 PM.)
#2  
-viperboy-'s Avatar
Recognized Developer - OP
Thanks Meter 12836
Posts: 7,684
Join Date: Jun 2007
Location: PA

 
DONATE TO ME
Changelog

Quote:
v1.2.1 JB RELEASE- 12.18.12
  • Updated boot.img and kernel modules from 3.15.651.6 RUU
v1.2.1 - 10.5.12
  • Fix default debug mode
  • Fix first time run procedure
  • Open log.txt on exit if debug enable
v1.2 - 10.4.12v1.1 - 10.2.12
  • Fix code when pushing files
  • Added logging to diagnose issues
  • Don't automatically detect when in fastboot, wait for user input
  • Download - http://bit.ly/T0d5T1
v1 - 10.2.12
The Following 11 Users Say Thank You to -viperboy- For This Useful Post: [ Click to Expand ]
 
-viperboy-
Old
(Last edited by -viperboy-; 4th October 2012 at 05:21 PM.)
#3  
-viperboy-'s Avatar
Recognized Developer - OP
Thanks Meter 12836
Posts: 7,684
Join Date: Jun 2007
Location: PA

 
DONATE TO ME
Info


Quote:
How it works:
This program flashes whatever boot.img is placed in the "files" folder and moves whatever modules are in the "files\modules" to /system/lib/modules on your phone.
Quote:
How to use:
Use the main menu to flash your boot.img to your phone. For most people, this will be the option they need to use. If you cannot boot (bootloop) then you need to get into the bootloader by pressing and holding power and volume down. This may take 10-15 seconds and you may see the bottom LEDs flashing in the process. In this case, please use the advanced menu to flash the boot.img (this way removes the adb steps to automatically boot into recovery, since you can't use adb if you're in a bootloop)
Quote:
Flashing a different kernel than what is included with the program:
If you want to use this program to flash a different kernel than the stock 2.13.651.1 kernel, place the custom kernel boot.img in the "files" folder and also take the new modules for the kernel you want to flash, delete all the files in the "modules" folder, and put the new modules into the "modules" folder.
The Following 7 Users Say Thank You to -viperboy- For This Useful Post: [ Click to Expand ]
 
smw6180
Old
#4  
Recognized Contributor
Thanks Meter 4761
Posts: 5,920
Join Date: Oct 2007
Location: Bear, DE

 
DONATE TO ME
I'll test it out and report back.

---------- Post added at 04:36 PM ---------- Previous post was at 04:14 PM ----------

Usage instructions:

Open the zip file and extract the boot-img-flasher.exe and the files directory somewhere on your computer.

Boot your phone into bootloader/fastboot.

In the 'files' directory (example: C:\Flasher\Files) put the boot.img from your selected kernel.
In the modules directory (C:\Flasher\Files) put whatever modules come with your kernel.

Run boot-img-flasher.exe

Select option 1 (if flashing the stock kernel it comes with). Phone will reboot into bootloader and flash the kernel. Follow the directions.

Viper needs to make a few changes so it's not quite ready for prime time yet, but it should work. I'd wait for the next version, but if you're impatient, light it up and give it a shot
Current Phone:
T-Mobile HTC One
Tablets:
Asus Eee Pad Transformer Prime
Asus Eee Pad Transformer
Previous Smart Phones:
Sprint HTC ONE
HTC Evo 4G LTE
HTC Evo3D
HTC Evo 4G
PPC6700
Touch Diamond (WinMO 6.5)
HTC Hero
The Following 4 Users Say Thank You to smw6180 For This Useful Post: [ Click to Expand ]
 
-viperboy-
Old
#5  
-viperboy-'s Avatar
Recognized Developer - OP
Thanks Meter 12836
Posts: 7,684
Join Date: Jun 2007
Location: PA

 
DONATE TO ME
Quote:
Originally Posted by smw6180 View Post
I'll test it out and report back.

---------- Post added at 04:36 PM ---------- Previous post was at 04:14 PM ----------

Usage instructions:

Open the zip file and extract the boot-img-flasher.exe and the files directory somewhere on your computer.

Boot your phone into bootloader/fastboot.

In the 'files' directory (example: C:\Flasher\Files) put the boot.img from your selected kernel.
In the modules directory (C:\Flasher\Files) put whatever modules come with your kernel.

Run boot-img-flasher.exe

Select option 1 (if flashing the stock kernel it comes with). Phone will reboot into bootloader and flash the kernel. Follow the directions.

Viper needs to make a few changes so it's not quite ready for prime time yet, but it should work. I'd wait for the next version, but if you're impatient, light it up and give it a shot
Thanks Steve, as always.

If you need to use this right away, boot into bootloader the go into the advanced menu and flash from there. You may see an Adb error when its rebooting, I will fix all this in about an hour or so.

Sent from my EVO using Tapatalk 2
The Following User Says Thank You to -viperboy- For This Useful Post: [ Click to Expand ]
 
smw6180
Old
#6  
Recognized Contributor
Thanks Meter 4761
Posts: 5,920
Join Date: Oct 2007
Location: Bear, DE

 
DONATE TO ME
Quote:
Originally Posted by -viperboy- View Post
Thanks Steve, as always.

If you need to use this right away, boot into bootloader the go into the advanced menu and flash from there. You may see an Adb error when its rebooting, I will fix all this in about an hour or so.

Sent from my EVO using Tapatalk 2
No sweat. It's what I do.
Current Phone:
T-Mobile HTC One
Tablets:
Asus Eee Pad Transformer Prime
Asus Eee Pad Transformer
Previous Smart Phones:
Sprint HTC ONE
HTC Evo 4G LTE
HTC Evo3D
HTC Evo 4G
PPC6700
Touch Diamond (WinMO 6.5)
HTC Hero
The Following 2 Users Say Thank You to smw6180 For This Useful Post: [ Click to Expand ]
 
scottspa74
Old
#7  
scottspa74's Avatar
Senior Member
Thanks Meter 2792
Posts: 8,386
Join Date: Apr 2009
Always at it viper :thumbup:
When I saw thread title, I thought it was gonna be something that could be done from the phone, but I guess that's what flashIMGGUI is for, or am I wrong?

from my flying AOKP'd Evo LTE and xda premium
Evo LTE=$XXX.XX ~ XDADevs = PRICELESS
------
Evo LTE. AKA "the beast" . Thanks regaw_lienad, you're a genius.
ROM: AOKP
Kernel: komodo v7
Hboot: lazy panda S-off 1.12.222

Evo 4G HW002
Rom: Deck GB
Kernel: SZ 0.savaged zen21
Recovery: AmonRa 1.80

- thanks whitslack & fastRX8 & Netarchy & Toast, of course. - my Evo: the house that toast built (& many other XDAers)- thank you all
The Following User Says Thank You to scottspa74 For This Useful Post: [ Click to Expand ]
 
-viperboy-
Old
#8  
-viperboy-'s Avatar
Recognized Developer - OP
Thanks Meter 12836
Posts: 7,684
Join Date: Jun 2007
Location: PA

 
DONATE TO ME
Quote:
Originally Posted by scottspa74 View Post
Always at it viper :thumbup:
When I saw thread title, I thought it was gonna be something that could be done from the phone, but I guess that's what flashIMGGUI is for, or am I wrong?

from my flying AOKP'd Evo LTE and xda premium
Yeah, this will be from the computer Would be hard to have an app run on your phone that is bootlooping, now wouldn't it? Almost done with v1.1. Actually, it is done - someone is just whipping me up a kick ass icon
The Following 3 Users Say Thank You to -viperboy- For This Useful Post: [ Click to Expand ]
 
Blackcircle
Old
#9  
Blackcircle's Avatar
Senior Member
Thanks Meter 85
Posts: 397
Join Date: Aug 2009
Location: No.Virginia
This is pretty cool. Thanks for the tool.

via eVo.
ROM: NFSFAN 6.5 V1 Final---HTC Touch
ROM: EnergyROM 23559 April 18th, 2010 Co0kie 1.7.1 Sense 2.5---HTC Touch Pro 2

HTC Evo 4G-MikG 2.2
HTC Evo 4G-Synergy
HTC Evo 3D-Virus Eternity
HTC Evo 4G LTE
 
smw6180
Old
#10  
Recognized Contributor
Thanks Meter 4761
Posts: 5,920
Join Date: Oct 2007
Location: Bear, DE

 
DONATE TO ME
Quote:
Originally Posted by Blackcircle View Post
This is pretty cool. Thanks for the tool.

via eVo.
Wait for the next one.
Current Phone:
T-Mobile HTC One
Tablets:
Asus Eee Pad Transformer Prime
Asus Eee Pad Transformer
Previous Smart Phones:
Sprint HTC ONE
HTC Evo 4G LTE
HTC Evo3D
HTC Evo 4G
PPC6700
Touch Diamond (WinMO 6.5)
HTC Hero

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes