Flashing a kernel when S-ON - HTC Flyer, EVO View 4G

I have an HTC flyer rotted by unlocking the bootloader and it is S-ON. Everyone knows that when your flyer is rooted that way you'll need to flash the kernel manually
Code:
fastboot flash boot boot.img
otherwise the kernel will not be flashed.
So now i have the lledroid HC ROM and I flashed the kernel with clockworkmod. (The kernel can be flash within the recovery) So my question is is the kernel now flashed or do I need to do it manualy.
Link to lee's rom (great work on it BTW) http://forum.xda-developers.com/showthread.php?t=1406851

Don't personally know how LeeDroid handles boot.img. If the thread says that it will flash boot.img for you in recovery with S-On, than you should be good. The worst that will happen if try to boot, is that it will get stuck on the boot splash screen. In which case, just restart into bootloader, and flash the boot.img in fastboot.
On the other hand, flashing it manually (even if it was already flashed automatically) typically will not hurt anything either.

I knew that My question was can you flash flash a kernel using a zip file without commands with S-ON

TheWizardOfROMs said:
I knew that My question was can you flash flash a kernel using a zip file without commands with S-ON
Click to expand...
Click to collapse
If its not a feature of the installer for the particular custom ROM, then no.

Related

htc evo 3d

i am goin through a really big problem! i was trying to permanently root my phone! but during the revolutionary step it says hboot 1.40.0000 or 1.30.0000 it says 1.40.0000 and it also says it is not supported yet! please help me!
Hi,
you dont need S-OFF for evrything. If you cannot S-OFF,
still you can flash roms, and do most of the things without a problem,
Only thing is you cannot just install custom roms using the recovery menu.
You need to download and installed Android Framework tools and fastboot in your PC to fire ADB Dos commands to your phone via USB to flash the updates.
Let me know.
theRocker_007 said:
Hi,
you dont need S-OFF for evrything. If you cannot S-OFF,
still you can flash roms, and do most of the things without a problem,
Only thing is you cannot just install custom roms using the recovery menu.
You need to download and installed Android Framework tools and fastboot in your PC to fire ADB Dos commands to your phone via USB to flash the updates.
Let me know.
Click to expand...
Click to collapse
You can flash ROMs through recovery on S-on too and it will work fine as long as the new ROM contains the same kernel as your current kernel. And if it contains another kernel use flash Image GUI app or fastboot command to flash tha kernel.
Provided your bootoader is unlocked via www.htcdev.com
mnomaanw said:
You can flash ROMs through recovery on S-on too and it will work fine as long as the new ROM contains the same kernel as your current kernel. And if it contains another kernel use flash Image GUI app or fastboot command to flash tha kernel.
Provided your bootoader is unlocked via www.htcdev.com
Click to expand...
Click to collapse
Most of the time, ROMs does not have the same kernal,
So most of the users who are s-on and new to flashing get stuck on boot loops. Other thing is flash image gui app is a paid application
So best way is to use fastboot commands to flash the kernal after installing the ROM zip file
Cheers..
You could update to hboot 1.50, use the HTCDev unlock and use the Wiretrick to get s-off

[Q] Flashing Kernels after ROMS?

I'm trying to flash Awesomesauce. I know with HBOOT 1.15 I have been flashing the boot.imgs from ROMs through fastboot. I'm currently on SuperLTE ROM, HBOOT 1.15. Awesomesauce is supposed to have the S-On installer zip built in. I downloaded the S-ON flavor of Awesomesauce 2.2, flashed in recovery, rebooted into bootloop. I then tried flashing the boot.img from the Awesomesauce zip then flashing the zip again in recovery. No luck, more boot loop. I read the Sticky pertaining to flashing kernels for HBOOT 1.15 but I didn't see anything about flashing a kernel that wasn't already inside the ROM zip.
So what am I doing wrong? Do I need to reflash the ROM since I have decided to change kernels? Or am I just a super nooblet and not doing the process right?
Some roms fail on the kernel installer, you should be able to.just extract kernel and fastboot, I don't think there would be any problem after that
kjcmusic17 said:
I'm trying to flash Awesomesauce. I know with HBOOT 1.15 I have been flashing the boot.imgs from ROMs through fastboot. I'm currently on SuperLTE ROM, HBOOT 1.15. Awesomesauce is supposed to have the S-On installer zip built in. I downloaded the S-ON flavor of Awesomesauce 2.2, flashed in recovery, rebooted into bootloop. I then tried flashing the boot.img from the Awesomesauce zip then flashing the zip again in recovery. No luck, more boot loop. I read the Sticky pertaining to flashing kernels for HBOOT 1.15 but I didn't see anything about flashing a kernel that wasn't already inside the ROM zip.
So what am I doing wrong? Do I need to reflash the ROM since I have decided to change kernels? Or am I just a super nooblet and not doing the process right?
Click to expand...
Click to collapse
I'm guessing fastboot flash doesn't work. You could try to manually place the kernel into the rom by replacing the kernel folder in the rom with that from awesome, copy/paste the contents from system>lib>modules into the same location in the rom. Zip the rom and flash.
om4 said:
Some roms fail on the kernel installer, you should be able to.just extract kernel and fastboot, I don't think there would be any problem after that
Click to expand...
Click to collapse
Extract kernel and fastboot? Does that mean extract the kernel folder from the Awesomesauce zip and flash that through fastboot? What would be the command for that? "fastboot flash kernel kernel.zip"?
It's the boot.img, it is pretty much the fail safe way to flash a kernel and components. I have yet to have it fail unless I didn't have full access to fastboot
kjcmusic17 said:
I'm trying to flash Awesomesauce. I know with HBOOT 1.15 I have been flashing the boot.imgs from ROMs through fastboot. I'm currently on SuperLTE ROM, HBOOT 1.15. Awesomesauce is supposed to have the S-On installer zip built in. I downloaded the S-ON flavor of Awesomesauce 2.2, flashed in recovery, rebooted into bootloop. I then tried flashing the boot.img from the Awesomesauce zip then flashing the zip again in recovery. No luck, more boot loop. I read the Sticky pertaining to flashing kernels for HBOOT 1.15 but I didn't see anything about flashing a kernel that wasn't already inside the ROM zip.
So what am I doing wrong? Do I need to reflash the ROM since I have decided to change kernels? Or am I just a super nooblet and not doing the process right?
Click to expand...
Click to collapse
Try this it's a boot.img flasher right from your PC
http://forum.xda-developers.com/show....php?t=1917106
om4 said:
It's the boot.img, it is pretty much the fail safe way to flash a kernel and components. I have yet to have it fail unless I didn't have full access to fastboot
Click to expand...
Click to collapse
That's what I had tried first and got stuck in boot loop. I'll try it again after class today.
bigdaddy619 said:
Try this it's a boot.img flasher right from your PC
http://forum.xda-developers.com/show....php?t=1917106
Click to expand...
Click to collapse
Tried the Flash Img GUI app if that's what you mean. The link you posted gives me a 404 error. I just tried flashing via Flash Img GUI and still no dice. I've tried flashing a different (Enoch) via fastboot, next I'll try flashing it via Flash Img GUI. Any other ideas?
kjcmusic17 said:
Tried the Flash Img GUI app if that's what you mean. The link you posted gives me a 404 error. I just tried flashing via Flash Img GUI and still no dice. I've tried flashing a different (Enoch) via fastboot, next I'll try flashing it via Flash Img GUI. Any other ideas?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1917106 sorry here it is again
I confirmed it's working now
bigdaddy619 said:
http://forum.xda-developers.com/showthread.php?t=1917106 sorry here it is again
I confirmed it's working now
Click to expand...
Click to collapse
I even tried this, still getting a boot loop after trying to flash any kernel other than the one that is baked into SuperLTE. Any ideas guys? At this point, I've tried Awesomesauce, Enoch, and EvilZ and have flashed using various methods: recovery (with S-On installer kernels), fastboot, Flash Img GUI, desktop boot img flasher. All of these send me into boot loop.
Try meanrom, evilz kernel runs fine on that one
kjcmusic17 said:
I even tried this, still getting a boot loop after trying to flash any kernel other than the one that is baked into SuperLTE. Any ideas guys? At this point, I've tried Awesomesauce, Enoch, and EvilZ and have flashed using various methods: recovery (with S-On installer kernels), fastboot, Flash Img GUI, desktop boot img flasher. All of these send me into boot loop.
Click to expand...
Click to collapse
Some devices don't play nice when being OC'ed MeanRom v4.8.1 is coming with a stock kernal OC'ed to 1.7 ghz with option to OC to 1.8ghz and it has a kernal installer built ito the script
---------- Post added at 09:21 PM ---------- Previous post was at 09:20 PM ----------
om4 said:
Try meanrom, evilz kernel runs fine on that one
Click to expand...
Click to collapse
Using EvilZ kernal breaks mikeys tweaks refer to my last post
Runs fine for me and it seems to me op is trying to flash a kernel separate from the one packed into rom
Figured it out. My phone won't play nice with 2.1GHz OC. My friend suggested I try the 1.89 flavor of Awesomesauce. Flashed in recovery (S-On Installer Script), boot looped once then rebooted to the ROM. I should have thought of this before.
Yeah things like that slip my mind, sorry I didn't think of that. I even had to check my phone to see if I'm overclocked lol

HTC Flyer stuck on boot

Hi!
I've updated to honeycomb 3.2.1 and everything worked fine. Then I decided to unlock bootloader using HTCDev site and root it.
Everything went ok and flyer was working until I decided to flash custom ROM (Cool 3D Honey and later LeeDroid).
After following the install guide device is stuck in a boot loop. It's booting to the "desktop" screen and then reboots over and over again.
Same happened with LeeDroid rom.
How can I get it working again? No matter which rom - just to make it work.
I can only boot into fastboot/recovery now.
hboot 1.11
S-ON
rooted
Please help
You need to flash the boot.img using fastboot. This needs to be done everytime you flash a custom ROM. Otherwise, you have no kernel (or kernel is mismatched for the ROM you are on). This is one of the downsides to having S-On versus S-Off (and with you hboot version, there is no S-on, as you likely already know).
To flash boot.img using fastboot:
- On your computer, use a zip program (Winzip, WinRAR, etc.) to open the ROM zip.
- Extract boot.img, and put it in the same folder that you have fastboot.exe (which you should alreay have if you are bootloader unlocked).
- Connect the Flyer to your computer via USB, put phone into fastboot mode
- Open command prompt on computer
- Change directory in command prompt to the folder where you have fastboot.exe
- Use following command to flash boot.img:
fastboot flash boot boot.img
- Reboot phone after flash is complete, and it should boot properly
Also, make sure you are trying to flash on HC, ICS, or JB based ROMs. GB based custom ROMs require GB hboot. Since you are only bootloader unlocked (not S-Off) I don't believe you can downgrade hboot (at least not easily). So I think you are stuck on HC, ICS, and JB ROMs (no GB ones).
redpoint73 said:
You need to flash the boot.img using fastboot. This needs to be done everytime you flash a custom ROM. Otherwise, you have no kernel (or kernel is mismatched for the ROM you are on). This is one of the downsides to having S-On versus S-Off (and with you hboot version, there is no S-on, as you likely already know).
Click to expand...
Click to collapse
Thanks for your effort.
I've followed the procedure you described above but still no luck for Cool 3D honey or LeeDroid (HC) ROMS. However, I was able to flash Virtuous ROM yesterday and Flyer is working. Only bug I noticed for now is that I can only power it down through fastboot > powerdown because standard/software power down option is not working (probably ROM bug or something).
BTW, should I follow this guide to downgrade to GB? Can I expect this to work?
http://forum.xda-developers.com/showthread.php?t=1428104
redpoint73 said:
You need to flash the boot.img using fastboot. This needs to be done everytime you flash a custom ROM. Otherwise, you have no kernel (or kernel is mismatched for the ROM you are on). This is one of the downsides to having S-On versus S-Off (and with you hboot version, there is no S-on, as you likely already know).
To flash boot.img using fastboot:
- On your computer, use a zip program (Winzip, WinRAR, etc.) to open the ROM zip.
- Extract boot.img, and put it in the same folder that you have fastboot.exe (which you should alreay have if you are bootloader unlocked).
- Connect the Flyer to your computer via USB, put phone into fastboot mode
- Open command prompt on computer
- Change directory in command prompt to the folder where you have fastboot.exe
- Use following command to flash boot.img:
fastboot flash boot boot.img
- Reboot phone after flash is complete, and it should boot properly
Also, make sure you are trying to flash on HC, ICS, or JB based ROMs. GB based custom ROMs require GB hboot. Since you are only bootloader unlocked (not S-Off) I don't believe you can downgrade hboot (at least not easily). So I think you are stuck on HC, ICS, and JB ROMs (no GB ones).
Click to expand...
Click to collapse
thank you very much
shinichiwtbe said:
Thanks for your effort.
BTW, should I follow this guide to downgrade to GB? Can I expect this to work?
http://forum.xda-developers.com/showthread.php?t=1428104
Click to expand...
Click to collapse
I think this is what you want: http://forum.xda-developers.com/showthread.php?t=2070140
The linked RUU thread in the guide is obsolete (dead/deleted download links). But the method seems to be valid, if you can find the RUU for your version.
i have same scenario with the you dude
HC
s-on
1.11 hboot
i want to flash this Cool3dhoney, but the thread said that i must have proper radios and hboot, dunno what's the proper radio and hboot
RadarZgin said:
i have same scenario with the you dude
HC
s-on
1.11 hboot
i want to flash this Cool3dhoney, but the thread said that i must have proper radios and hboot, dunno what's the proper radio and hboot
Click to expand...
Click to collapse
Honeycomb ROM requires a HC hboot. So if you are already on HC, you are already on one of the correct hboot versions. I don't think that radio will make much difference, and the one you are on is probably fine..
Since you are S-on, you must manually extract boot.img and flash from fastboot as I instructed in post #2 above. That is probably the reason why you can't boot. The kernel will not flash in recovery with S-on. So your kernel is currently mismatched with the ROM.
redpoint73 said:
Honeycomb ROM requires a HC hboot. So if you are already on HC, you are already on one of the correct hboot versions. I don't think that radio will make much difference, and the one you are on is probably fine..
Since you are S-on, you must manually extract boot.img and flash from fastboot as I instructed in post #2 above. That is probably the reason why you can't boot. The kernel will not flash in recovery with S-on. So your kernel is currently mismatched with the ROM.
Click to expand...
Click to collapse
thank you sir for the reply, i already studied everything, flashing and flashing boot.img manually, thanks! now ill flash this rom

Roms dont get past the boot animation

Okay so i bought my rezound recently then I unlocked it Rooted it and tried installing a rom Im on S on with the unlocked bootloader
im using the amon ra recovery
i wipe then i install the rom and then i reboot the phone but it always gets stuck on the bootanimation
can someone give me the detailed steps to install this rom please
http://themikmik.com/showthread.php...nse-4-5-ICS-4-0-4-(9-29-12)-Stable-and-smooth
thank you
Sounds like you need to flash the kernel. When s-on you need to flash the kernel separately after flashing the ROM.
Some ROMs make the PH98IMG of the kernel for you and if so it will be on the root of your external card. If you boot into bootloader it should ask you if you want to take the update, say yes, that's the kernel. You should be able to boot after that.
If there's no PH98IMG left for you, pull the boot.img from the ROM and flash in fastboot.
fastboot flash boot boot.img
If it's not the kernel issue then post back.
Followed your link to the ROM. Looks like you can just download the kernel from the thread. From the install directions:
**Installation of boot.img**
-download boot.img
-copy to pc to your fastboot directory
-cd to the directory
-type these commands
-"fastboot flash boot boot.img"
That is for if you are s-on, which you are. I'm sure this will get you going.
Yes !! it worked thank you alot :laugh:
just one more question do i have to do the same thing every time i install a new rom?
Yes. Since you are s-on you must flash the kernel that goes with the ROM after you flash the ROM.
If you s-off you won't have to but it makes it easier to brick the phone. I've also read where some people have lost the use of their usb ports trying to s-off. I'm s-on and it doesn't bother me to flash the kernel separately. The ROM I'm using puts it on the sd card and puts the phone in hboot so all I have to do is accept the update. Easy peasy.

[Q] What kernel should I be using

Sorry what boot.img it should say, I knew I'd got it wrong
Ive just rooted my HOX+, do I need to flash a BOOT.img before flashing InsertCoin 3.8.2, it doesn't say anything about flashing a Boot.img, or am I ok to flash InsertCoin 3.8.2 straight onto the phone?
I want to install InsertCoin 3.8.2, and maybe try Viper later. Is there a boot.img I can flash for both these roms assuming I need to.
open the zip file then find the boot.img extract it to your desktop then download the fastboot / adb put the boot.img inside the folder, connect you phone via fastboot to your compuetr then flash the boot.img. Ithnks there is a good tutorial on the general section, just check it to understand more about flashing
Jonnibravo said:
Sorry what boot.img it should say, I knew I'd got it wrong
Ive just rooted my HOX+, do I need to flash a BOOT.img before flashing InsertCoin 3.8.2, it doesn't say anything about flashing a Boot.img, or am I ok to flash InsertCoin 3.8.2 straight onto the phone?
I want to install InsertCoin 3.8.2, and maybe try Viper later. Is there a boot.img I can flash for both these roms assuming I need to.
Click to expand...
Click to collapse
boot.img has to be flashed fastboot, like recovery, with "fastboot flash boot <boot_img_name>.img" command. Or you can use hasoon2000's All-In-One kit to do so.
If you want a kernel which works for multiple sense roms, you should try EliteKernel OXP by nik3r or hXore Kernel by bedalus should also work (if i understood right). They should work for all Sense roms based on 1.17.401.1, i don't know whether they work on 1.17.401.3.

Categories

Resources