S-ON Kernel Installer v0.57 9-27-12 - Sprint HTC EVO 4G LTE

Now that the new hboot doesn't allow S-ON devices to flash kernels I went ahead and adapted this for the LTE. It's something I started for the Evo 3D back in January, but when a new way to get S-OFF was found I sat it aside and had forgotten about it.
When used it tries to flash the kernel like normal and doesn't do anything special if able to, otherwise it will copy a script to the system partition and install the kernel when the ROM tries to boot up. All that's needed is for a few lines to be added to the updater-script and it can do the rest.
I'll update this with more information at a later time, but for now I just want to say thank you to everyone who has helped contribute ideas and tested. As always, any help with improving it is welcomed.
How To Use It
This is mainly for ROM and kernel devs to use before releasing, but it can easily be added to any that don't normally use it. For more detailed instructions see Page 3.
Download and add the "kernel" folder to your update zip
Edit your updater-script and use the following when you are ready to install the boot.img
Code:
ui_print("Installing Kernel, please wait...");
package_extract_file("boot.img", "/tmp/boot.img");
package_extract_dir("kernel", "/tmp/kernel");
set_perm_recursive(0, 2000, 0777, 0777, "/tmp/kernel");
run_program("/tmp/kernel/install_kernel.sh", "/tmp/boot.img", "/tmp/bootready.tmp");;
ifelse(file_getprop("/tmp/bootready.tmp","kernel.ready") != "READY",(
ifelse(file_getprop("/tmp/bootready.tmp","kernel.ready") == "STARTUP",
ui_print("Kernel Will Be Installed On Startup."),
ui_print("ERROR: Kernel Not Installed!")
)
));
Sign the zip and it can then be installed like normal from any device with a custom recovery
Changes
v0.57
flashboot.sh - Fixed the case statement that verifies the kernel flashed properly
flashboot.sh - Moved the call for DD to save the old kernel so that it always gets used
Downloads/Sources
Kernel Folder on DevHost (MD5: 27eB86aae3562e147d86b8dfe7a04786)
Google Code
Github - All files including the flashboot binary source

How Can I Test It With S-OFF?
If you comment out the dd command that writes the boot.img it will act like your device has S-ON.
Edit install_kernel.sh and change:
Code:
echo "-Trying to write the new boot.img and verify it's MD5"
$BBDD if=$BOOTPADDED of=$BLOCKBOOT; sync
rm -f $BOOTOLD
to:
Code:
echo "-Trying to write the new boot.img and verify it's MD5"
#$BBDD if=$BOOTPADDED of=$BLOCKBOOT; sync
rm -f $BOOTOLD
Where Are The Log Files?
In the recovery it uses: /tmp/recovery.log
On boot it uses: /data/local/bootinfo.txt
What Does This Need To Work?
A custom recovery
A valid kernel already installed with init scripts to start either /system/bin/app_process or /system/bin/netd
What Recoveries Does It work With?
Most of my testing has been done with TWRP, but it should work just as well with any other recovery
Why Did My Phone Reboot Back To The Recovery?
If it is unable to flash the kernel it will leave the old one in place and reboot back to the recovery. If you are able to, please pull the log file from /data/local/bootinfo.txt and send it to me so I can see what needs to be fixed.
What If I Get A Bootloop?
Either the kernel you flashed doesn't work with your ROM or there was an error and it's unable to reboot back to the recovery. If you hold volume down it should bring up the bootloader, from there use the volume and power buttons to select 'Recovery'.
Why Does My Phone Boot Straight To The Bootloader?
You either managed to wipe your boot partition (kernel) or sometimes this will happen when upgrading hboots. If you are S-ON you will need to flash a new boot image from fastboot.

Reserved for later use

Cute

Does this work for AOSP based kernels as well?

-Cupper- said:
Cute
Click to expand...
Click to collapse
Thanks Cupper
sivarticus85 said:
Does this work for AOSP based kernels as well?
Click to expand...
Click to collapse
Yup, it's all the same to it. The only thing it needs to work is for some sort of kernel to already be installed.

good stuff!!!!!!!

Good stuff man. Like always, xhausx contributing genius stuff for all. Thanks. :thumbup:
Sent from my EVO using xda premium

Awesome. Thanks.
via eVo.

implimenting in my next installer

Zarboz said:
implimenting in my next installer
Click to expand...
Click to collapse
Would be a nice setup, aroma choose the way to install, boot.img or anykernel flash
Then you can flash the modules either way...
Thanks for the script. It will definitely get used.

Zarboz said:
implimenting in my next installer
Click to expand...
Click to collapse
ca1ne said:
Would be a nice setup, aroma choose the way to install, boot.img or anykernel flash
Then you can flash the modules either way...
Thanks for the script. It will definitely get used.
Click to expand...
Click to collapse
Let me know if you need any help implementing it. I know the instructions aren't very detailed yet so I'll see about clarifying them some more here in a little bit.

Cool man
Sent from my EVO using xda premium

I don't mean to highjack anyone thread I was ready to do this since meanrom went with the evilz kernal. since I was s-on on the 1.15 boot. I was going to do this till I found a app on the market place called flash image gui which installed the kernal right on the phone.was simple and just plain easy no typeing anthing in just a click of a buttone.

cgrimm9 said:
I don't mean to highjack anyone thread I was ready to do this since meanrom went with the evilz kernal. since I was s-on on the 1.15 boot. I was going to do this till I found a app on the market place called flash image gui which installed the kernal right on the phone.was simple and just plain easy no typeing anthing in just a click of a buttone.
Click to expand...
Click to collapse
I used Flash Image GUI on my NS4G all of the time. The last 2 updates were to add this phone and the Nexus 7. It takes about 10 seconds to flash a kernel or recovery img. Its a JoeyKrim app...so you know its legit. It actually saved me last night when testing a N7 kernel overclocked over 1.99. . The kernel somehow made my N7 not boot to recovery no matter what I tried so I stuck a different kernel in that app, flashed it and once it booted I flashed the CWM 6.0.1.0 and I was completely fixed. Money well spent.
Edit..XhausX, I bought my first 2 HTCs ever about 2 weeks ago. They are both s on 1.13 but I need to either return on to full stock or use your rooted stock. I need to help my mother out. She's using a Samsung Moment! Ouch.... I am downloading that now. Is it a simple wipe and flash? If its more difficult, I will gladly shoot a donation your way if you can help me. I think I prefer her to be rooted stock so your odex version is the call...should have mentioned I know squat about the HTC methods. Regaw_Leinard got me where I am now
Sent from my EVO using Xparent SkyBlue Tapatalk 2

cgrimm9 said:
I don't mean to highjack anyone thread I was ready to do this since meanrom went with the evilz kernal. since I was s-on on the 1.15 boot. I was going to do this till I found a app on the market place called flash image gui which installed the kernal right on the phone.was simple and just plain easy no typeing anthing in just a click of a buttone.
Click to expand...
Click to collapse
Since the kernel is only writeable from the rom this does something similar, except it does it after you flash the rom and it's automatic.
You could look at it as the rom itself installs it's own kernel. That's one of the reasons why it may look so convoluted, but for a rom/kernel dev to actually implement it is easy once you know how it works.
JohnCorleone said:
I used Flash Image GUI on my NS4G all of the time. The last 2 updates were to add this phone and the Nexus 7. It takes about 10 seconds to flash a kernel or recovery img. Its a JoeyKrim app...so you know its legit. It actually saved me last night when testing a N7 kernel overclocked over 1.99. . The kernel somehow made my N7 not boot to recovery no matter what I tried so I stuck a different kernel in that app, flashed it and once it booted I flashed the CWM 6.0.1.0 and I was completely fixed. Money well spent.
Edit..XhausX, I bought my first 2 HTCs ever about 2 weeks ago. They are both s on 1.13 but I need to either return on to full stock or use your rooted stock. I need to help my mother out. She's using a Samsung Moment! Ouch.... I am downloading that now. Is it a simple wipe and flash? If its more difficult, I will gladly shoot a donation your way if you can help me. I think I prefer her to be rooted stock so your odex version is the call...should have mentioned I know squat about the HTC methods. Regaw_Leinard got me where I am now
Sent from my EVO using Xparent SkyBlue Tapatalk 2
Click to expand...
Click to collapse
If you no longer need it rooted personally I would get s-off first and then run the latest RUU to restore it to stock. That way you'll always be able to re-root anytime without hassle, but the device can still be completely stock and used normally.

Zarboz said:
implimenting in my next installer
Click to expand...
Click to collapse
+1 on that, where do i add this in the updater and what do we do with Blk21 just leave it or will it work around it.

Is it possible to get a mirror of the Dev-Host file? The 'drivers are currently being updated', and I wanted to try adding this to my stock 2.13.651.1 ROM so as to avoid the inevitable questions from noobs that are S-ON about why the ROM won't boot .

Evolutionmods said:
+1 on that, where do i add this in the updater and what do we do with Blk21 just leave it or will it work around it.
Click to expand...
Click to collapse
Usually it's best to run it last so everything else is already in place. It will also check the recovery for the mount point, so that line won't be needed with it.
For your paranoid android rom you could use something like this: http://pastebin.com/rGVDKK2u
I'm not able to test it atm though so you'll probably want to verify it's good first.
Captain_Throwback said:
Is it possible to get a mirror of the Dev-Host file? The 'drivers are currently being updated', and I wanted to try adding this to my stock 2.13.651.1 ROM so as to avoid the inevitable questions from noobs that are S-ON about why the ROM won't boot .
Click to expand...
Click to collapse
mirror: https://dl.dropbox.com/u/18734200/kernel-installer-v0.56.zip

xHausx said:
Usually it's best to run it last so everything else is already in place. It will also check the recovery for the mount point, so that line won't be needed with it.
For your paranoid android rom you could use something like this: http://pastebin.com/rGVDKK2u
I'm not able to test it atm though so you'll probably want to verify it's good first.
mirror: https://dl.dropbox.com/u/18734200/kernel-installer-v0.56.zip
Click to expand...
Click to collapse
And of course the Dropbox link is now dead too .

Related

[Tool] Awesome Recovery Tool-> Touchscreen based PH98IMG Creator (obsolete)

This is outdated. Get S-OFF.
Video: http://www.youtube.com/watch?v=t25gevM3hlk
This tool is unlike any other recovery based tool you have ever seen. I have seen alot of people struggling to reinstall gingerbread roms or even install other ICS roms due to their MainVer changing. Well I introduce Awesome Recovery Tool v2!
This is a touchscreen based tool (tested with AmonRa recovery). You answer two prompts in the tool from your phone and it will create a PH98IMG.zip based on what you need. This tool is based on the aroma (yes, like the smell, not amonra) recovery scripting. This allows you to use your touchscreen to select things during a flashable zip installation.
I have repurposed it as an easy recovery tool that will help get you booting again no matter what rom you are currently on. This will create a PH98IMG.zip personalized to the MainVer you have and the OS you want to flash to.
I don't see how this can get much more noob proof.
The main point of this tool is to create a PH98IMG.zip specific to your needs that has the right mainver attached to it and the right boot.img of the rom you want to get to.
Version 2 already out! You can flash custom boot images with this tool now! Put any boot image you want on your sd card named customboot.img and select the appropriate option in the tool.
How to use:
0) To flash a boot image specific to a rom, pull the boot.img out of the PH98IMG.zip included with the rom. Rename it to customboot.img and put it on the root of the sd card. (not in any folders). The PH98IMG.zip might be inside the roms zip file if it set to autoinstall.
1) Flash the attached zip file in recovery.
2) When the window pops up, tap your MainVer. If you are unsure, tap the OTA (middle button) first.
3) Tap the OS you want to flash to. (Select custom boot here if you are using that feature)
4) A PH98IMG.zip of the files you need has been created.
5) Amonra will say an error occured, but ignore it.
6) Reboot to hboot and install the PH98IMG.zip.
7) If you get main version older error, rerun the tool and select a higher main version.
8) Then flash a rom of the same version (ics/gb) that you chose in the tool. (Scott's cleanroms for each OS are a good base choice to atleast get your phone back on it's feet)
Other note: if the rom you want doesn't automatically reboot into hboot to flash a PH98IMG.zip (you have to put it there yourself) you should install the rom first then use this, but in all honesty it doesn't really matter.
Current Limitations
1) You will need a way delete the PH98IMG.zip off your SD card before you can reboot into recovery again. If you can't boot up because you haven't flashed the new rom yet, use an external card reader to remove the PH98IMG.zip from the card so you can boot into recovery. If you don't have one, the procedure in this post (also by me) will work aswell
2) Depending on the kernel that a specific rom uses, wifi might not work after using this tool. I will update this tool soon to take that into account and fix that problem.
this should clean up some of the rom threads! great idea man! GO BLUE
bump. Nice job man
Worked like a charm, and saves a ton of time in the long-run. Great idea, and great work!
Demiurge7 said:
Worked like a charm, and saves a ton of time in the long-run. Great idea, and great work!
Click to expand...
Click to collapse
You tested it? Good to have a 2nd confirmation.
Nice work con247.. I will try it out once joelz drops another update or Newt..this will really make life easy!
It won't work with joel's roms since he has bravia engine. I will be adding an option for a custom boot image on the sd card
con247 said:
It won't work with joel's roms since he has bravia engine. I will be adding an option for a custom boot image on the sd card
Click to expand...
Click to collapse
Thanks for the update friend. Bravia engine has been my choice at the present.
cornjo said:
Thanks for the update friend. Bravia engine has been my choice at the present.
Click to expand...
Click to collapse
Updated, takes custom boot images now.
con247 said:
Updated, takes custom boot images now.
Click to expand...
Click to collapse
Con, I'd like to refer you to this again...
Con247
WasabiWa83 said:
Con, I'd like to refer you to this again...
Con247
Click to expand...
Click to collapse
made me lol again.
con247 said:
You tested it? Good to have a 2nd confirmation.
Click to expand...
Click to collapse
Yes, I used it to go from a kernel that worked well with every ICS rom I tried (scroslers), to go to Joelz 1.7 with redefined. Wanted to try the oc, so decided to give this a try. Only took one take to get the mainver right (pulled sd to retry), but really simplified and sped up the process -- mostly I am stoked that there is a good method to switch this, given this definitely isnt the last time Thanks again!
Success with cwm!
Sent from my ADR6425LVW using XDA App
Needs to be updated to include main version 3.10.605.13 for the 4.0.3 roms, please.
Thanks for the awesome tool though.
great idea man
Swifty31703 said:
Needs to be updated to include main version 3.10.605.13 for the 4.0.3 roms, please.
Thanks for the awesome tool though.
Click to expand...
Click to collapse
Was not aware of that version. I will add that when I get home tonight.
Any other features you guys think should be added?
Sent from my ADR6425LVW using XDA App
Very nice Con! Awesome tool.
Sent from my ADR6425LVW using xda premium
con247 said:
Was not aware of that version. I will add that when I get home tonight.
Any other features you guys think should be added?
Sent from my ADR6425LVW using XDA App
Click to expand...
Click to collapse
NP. So far there is only 3 roms running that version (that i know of).
Ineffablilis Dues
ICS Sense Redefined
De-Sensed-ish ICS
This should be bumped more or stickied. Very helpful and simple.
Sent from my ADR6425LVW using Tapatalk
con247 said:
Was not aware of that version. I will add that when I get home tonight.
Any other features you guys think should be added?
Sent from my ADR6425LVW using XDA App
Click to expand...
Click to collapse
Well as some of you might have figured out I haven't had time to update it yet. But I have some other cool features planned and I will work on it after my midterm exam tomorrow night. (yes, friday night wtf are they thinking?)

NRGROM boot loop

Was running NRG GB just fine. When giving the phone to the wife I decided to upgrade to ICS. Used CWM to wipe data, cache, etc, and installed, got freeze on HTC logo. Started using Superwipe before each try and also tried flashing several different kernels including the one inside the zip and the one included with the amaze stock kernel flasher. Now the best I can get is 5 seconds into the Energy spinning rings logo before a 5s freeze and reboot.
The only thing I haven't tried is firmware; I've seen references to "find it on the forums" but copious forum and google searches don't seem to lead to the ICS firmware itself. Can anyone help with that or point out what I'm forgetting?
In the meantime I will try installing the ICS stock ROM first and see where that gets me.
ten6 said:
Was running NRG GB just fine. When giving the phone to the wife I decided to upgrade to ICS. Used CWM to wipe data, cache, etc, and installed, got freeze on HTC logo. Started using Superwipe before each try and also tried flashing several different kernels including the one inside the zip and the one included with the amaze stock kernel flasher. Now the best I can get is 5 seconds into the Energy spinning rings logo before a 5s freeze and reboot.
The only thing I haven't tried is firmware; I've seen references to "find it on the forums" but copious forum and google searches don't seem to lead to the ICS firmware itself. Can anyone help with that or point out what I'm forgetting?
In the meantime I will try installing the ICS stock ROM first and see where that gets me.
Click to expand...
Click to collapse
Do just that, remember to lock your bootloader if you're s-on and yes, jumping to an ICS rom without updating your device caused the bootloop.
Dark Nightmare said:
Do just that, remember to lock your bootloader if you're s-on and yes, jumping to an ICS rom without updating your device caused the bootloop.
Click to expand...
Click to collapse
Thanks for the reply! I'm downloading PH85IMG_RUBY_ICS_35_S_TMOUS_2.14.531.3_Radio_1.14.550L.17DC_30.78.550L.15_release_259626_signed.zip from filefactory, it's taking forever. Am I flashing this with CWM? Or should I be downloading a GB factory ROM and using that instead, then re-locking the bootloader and trying to update over the air?
ten6 said:
Thanks for the reply! I'm downloading PH85IMG_RUBY_ICS_35_S_TMOUS_2.14.531.3_Radio_1.14.550L.17DC_30.78.550L.15_release_259626_signed.zip from filefactory, it's taking forever. Am I flashing this with CWM? Or should I be downloading a GB factory ROM and using that instead, then re-locking the bootloader and trying to update over the air?
Click to expand...
Click to collapse
Don't download that one, it has issues, hold up, I'll give you a link to the most recent file.
Here, get this: http://d-h.st/3VD
Download speed should be faster as well. rename it PH85IMG and place it on your sd card after you relock your bootloader, then boot into bootloader, it's gonna detect the file and ask you if you wanna update, follow the on screen instructions to update, voila! Follow the basics to install the new energy rom.
It's almost as tho NO One reads anymore. It's actually getting kinda ridiculous how many times the same issue is gonna be asked.
I know this post isn't very helpful but I'm sure most of the recognized/senior/not noobs members are getting frustrated.
~~~~~~~~~~~~~~~~~~~~~~~~
It's Better To Fail At Originality
Than To Succeed In Imitation.
-Mighty Healthy
Click to expand...
Click to collapse
Double0EK said:
It's almost as tho NO One reads anymore. It's actually getting kinda ridiculous how many times the same issue is gonna be asked.
I know this post isn't very helpful but I'm sure most of the recognized/senior/not noobs members are getting frustrated.
~~~~~~~~~~~~~~~~~~~~~~~~
Click to expand...
Click to collapse
It is useful, I fully agree with you, it's like we come here to answer the same questions over and over, but I'm just trying to be nice, cause I usually just say, read the amaze bible, but then they go and do something even more noobish, so to avoid the tear jerks I just give the basic info, though I'm fading away slowly.
Thanks'd for the link and the help. I was gonna get mad about being called a noob who can't read, but I guess it's a small price to pay for instant, free help. Keep on rockin' XDA.
I came across this issue. As earlier posts said, install the new ICS update. The partitions were messed up and the ruu will clean it up.
ten6 said:
Thanks'd for the link and the help. I was gonna get mad about being called a noob who can't read, but I guess it's a small price to pay for instant, free help. Keep on rockin' XDA.
Click to expand...
Click to collapse
Lol, never pointed fingers buddy, so calm down.
Maybe I should create a new topic but my issue is similar to this one except for the fact that I read quite a lot and tried quite a few things.
My situation is that I made a backup with cwm only booted not flashed so I have the 100% stock backed up, after this I flashed cwm and tried to install the Energy rom based on ics and that was my mistake as I used to be on a Nexus device I didn't have to worry about this.
So I got stuck on a bootloop and tried factory reset/wiping everything, tried to reinstall a stock ROM (t-mobile one as I only found a .exe for the videotron one and I did not feel like exploring the exe as I am a Linux user) by relocking bootloader and using the HTC method, tried to install manually the stock Kernel with Energy ROM using adb and fastboot commands, tried to restore my backup but nothing seems to work, I'm still bootlooping.
Is-it possible to s-off without a regular adb access (only the cwm adb access)? And would s-off allow me to flash anything as I wish? Is there a way to have any ROM working on my device? (i know the answer is yes to the last one, at least )
Thanks!
Edited: I don't know why I even replied to the post above this.
Read more you'll find out what you're doing wrong.
~~~~~~~~~~~~~~~~~~~~~~~~
It's Better To Fail At Originality
Than To Succeed In Imitation.
-Mighty Healthy
Click to expand...
Click to collapse
Double0EK said:
Edited: I don't know why I even replied to the post above this.
Read more you'll find out what you're doing wrong.
~~~~~~~~~~~~~~~~~~~~~~~~
Click to expand...
Click to collapse
Maybe I'm a noob on this forum but it's far to be the first time I face a problem in software configuration/installation and I read quite enough (spent about five hours on xda, google, etc.) to say that you should at least help me a bit by linking me to a thread where I can find an answer.
I know my mistake was to install ics at first but now I flashed the stock recovery back, I relocked the bootloader via fastboot and put the file on the root of my sdcard renamed correctly that it be detected automaticly (and it apparently does install) but I still got the * bootloop.
I'm able to read a manual and to read the Amaze 4G bible four times to try to point out the detail I forgot. I made my homework and now it would only be nice from you that you help me a bit...
johnride said:
Maybe I'm a noob on this forum but it's far to be the first time I face a problem in software configuration/installation and I read quite enough (spent about five hours on xda, google, etc.) to say that you should at least help me a bit by linking me to a thread where I can find an answer.
I know my mistake was to install ics at first but now I flashed the stock recovery back, I relocked the bootloader via fastboot and put the file on the root of my sdcard renamed correctly that it be detected automaticly (and it apparently does install) but I still got the * bootloop.
I'm able to read a manual and to read the Amaze 4G bible four times to try to point out the detail I forgot. I made my homework and now it would only be nice from you that you help me a bit...
Click to expand...
Click to collapse
Okay okay, calm down, there's currently only one method of going about restoring your device since you're s-on and no you cannot s-off with just cwm adb, I think JB s-off method is only an exe file, never saw linux files anywhere on his site. Anyways, you have to use the GB exe for videotron and restore to stock via it then update to ics to use the most recent energy rom, BUT if you just want a working device, this is just an idea, though it should work fine, you can flash a custom recovery and flash the GB version of energy rom, you should be able to restore your backup as well, but you said you can't, which is odd, it may be because of the kernel not being flashable as since CWM cannot flash kernels while s-on, in which case I'd advise you to get 4EXT recovery and then try restoring your back once again, it should work fine since 4EXT can flash kernels while S-ON.
My two cents.
Well, 4ext doesn't works, apparently it flashes correctly but I can't boot in it so can't even try to restore my backup, s-off doesn't works from cwm and my device has to be booted to work with Videotron's exe (or I badly installed my drivers, I nerver understand properly the 899363 drivers per device I have to install for an android phone on Windows?)
Smells bad... I checked the 4ext's md5sum and it's alright, I took it from the fastboot installable img in direct dl from the thread in the Amaze bible.
Any idea?
Oh and there is a JB s-off executable for Linux on his site. After all I guess it is mostly adb commands?
johnride said:
Well, 4ext doesn't works, apparently it flashes correctly but I can't boot in it so can't even try to restore my backup, s-off doesn't works from cwm and my device has to be booted to work with Videotron's exe (or I badly installed my drivers, I nerver understand properly the 899363 drivers per device I have to install for an android phone on Windows?)
Smells bad... I checked the 4ext's md5sum and it's alright, I took it from the fastboot installable img in direct dl from the thread in the Amaze bible.
Any idea?
Oh and there is a JB s-off executable for Linux on his site. After all I guess it is mostly adb commands?
Click to expand...
Click to collapse
I got lost halfway through that post, after flashing a rom, if the kernel isn't flashed (reboots and does it automatically), then flash the kernel manually, should boot fine, does anyone ever really read anymore? This very issue both s-on and s-off has been answered more times today than I can count. If you read the details on JB's site, you'd see and know all you need to.
Right, I'va already flashed manually the stock kernel as sais in the NRGRom thread without success before my first post here, will look at different kernels.
johnride said:
Right, I'va already flashed manually the stock kernel as sais in the NRGRom thread without success before my first post here, will look at different kernels.
Click to expand...
Click to collapse
How did you go about flashing the kernel?
Sent from my SGH-T679 using xda app-developers app
There was a flash.sh file in the zip with the kernel, I couldn't run it normally as I can't boot but I went in cwm (maybe I should have used 4ext, don't think so for this part) executed the adb commands there were in the sh file with all filesystems mounted, rebooted into fastboot and flashed the kernel image. Maybe there are differents /system when in cwm and when booted on regular system... Will figure that out when I have time to spend on this, as soon as possible.
Thanks for all the cues!
Sent from my Nexus S
johnride said:
There was a flash.sh file in the zip with the kernel, I couldn't run it normally as I can't boot but I went in cwm (maybe I should have used 4ext, don't think so for this part) executed the adb commands there were in the sh file with all filesystems mounted, rebooted into fastboot and flashed the kernel image. Maybe there are differents /system when in cwm and when booted on regular system... Will figure that out when I have time to spend on this, as soon as possible.
Thanks for all the cues!
Sent from my Nexus S
Click to expand...
Click to collapse
Okay here's a few tips, cwm cannot flash kernels with son devices, get 4ext recovery for that. Second thing, reflash the from after doing a super wipe, if 4ext doesnt reboot and flash the kernel, do it manually, ill assume you know how to use ad, if not check my Bible tutorial on it, use the boot command for flashing boot images, take the boot file from the zip file, place it in the folder where your adb files are and flash it to your device while its in fastboot mode.
Sent from my SGH-T679 using xda app-developers app
Well, I think I have done all you mention above, the only thing i'm not sure to understand is what you mean by "super wipe" I found some executables about it but I guess it can't do much more than the flash all partitions (except external sdcard) in 4ext recovery wich I finally managed to install properly.
So, I made that global formatting thing, I tried to install an ICS based ROM and 4ext rebooted to install kernel, same bootloop. Tried to install manually the kernel that came with this rom via the classic fastboot flash boot boot.img. Same bootloop. Tried to put the modules manually via the recovery adb access (performing a mount -a in adb shell to have everything present in fstab mounted) and flashing this stock kernel with no more success.
Achieved the same operations with a GB based ROM (this one: http://forum.xda-developers.com/showthread.php?t=1535173) with both the faux and the stock kernel without any more success.
Did I miss something? Am I so dumb? Do you have any other rom to suggest that have higher chances to succeed?
Do you think trying to restore my sotck nandroid with 4ext has more chances to succeed?
Thanks, again and always!

[Q] no os

hello i have recently rooted my htc evo 4g lte and flashed twrp 1.4.4.0 and then tryed to install a rom several roms actually so it goes thru and ses successful but when i reboot i get a black screen and nothing else i can turn it off and flash another rom same thing blank screen can somene pls help my phone is useless at this point (no OS) its essentially a paper weight . is their a way i can just make it to where its out of the box i dont really care about anything else. PLS HELP :crying:
Are you S-off? If not, you need to fastboot flash the kernel after flash ROM. Check the stickies.
Edit: or use flash image GUI to flash the kernel/boot.IMG.
Sent from my EVO using xda premium
While you read up on how to do that just restore the backup you made in twrp of your stock rom.
Sent from my PC36100 using xda app-developers app
Some roms will not work if you are S-On
This one will
Viper4G 3.1.4
http://forum.xda-developers.com/showthread.php?t=2124391
You may need the tool that is very easy to use
Venom IMG Flasher for Viper4G 3.1.x (includes /system rw module)
http://www.androidfilehost.com/?fid=9390288116658474895
This should have you up and running in 20 min
omg im helpless
scottspa74 said:
Are you S-off? If not, you need to fastboot flash the kernel after flash ROM. Check the stickies.
Edit: or use flash image GUI to flash the kernel/boot.IMG.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
ok i dont know what s-off so its probably not that could so after i flash the rom twrp
i fastboot flash the boot.img
ok......
budeone said:
Some roms will not work if you are S-On
This one will
Viper4G 3.1.4
http://forum.xda-developers.com/showthread.php?t=2124391
You may need the tool that is very easy to use
Venom IMG Flasher for Viper4G 3.1.x (includes /system rw module)
http://www.androidfilehost.com/?fid=9390288116658474895
This should have you up and running in 20 min
Click to expand...
Click to collapse
this is the rom i have so after i flash the rom i flash the img i think somone said something about a kernal where would i get the kernal for the venom rom
battlefieldhazard said:
this is the rom i have so after i flash the rom i flash the img i think somone said something about a kernal where would i get the kernal for the venom rom
Click to expand...
Click to collapse
the 2nd link I post has everything you need
http://www.androidfilehost.com/?fid=9390288116658474895
After you download the file you need to unzip it somewhere.
Click on the VenomKernelFlasher.exe file
Click start flash
bingo
Img Flasher inquiry
budeone said:
Click on the VenomKernelFlasher.exe file
Click start flash
bingo
Click to expand...
Click to collapse
Okay so I'm running into a small issue and it really doesn't matter to me in the end but I would like to use the Viper boot img rather than the Sprint obviously. I originally flashed 3.1.4 using twrp and i can do everything i want to. However, since im in s-on mode I couldn't flash the boot img and when trying to use the img flasher, it recognizes my device, reboots to fastboot. Then my computer doesn't see the device anymore and the flasher times out and fails.
Is there a link to the latest HTC drivers im maybe missing or do i need to be in bootloader first and install a new driver? I tried going into bootloader where the tool says its rebooting to but same thing.
Again, not the biggest deal in the world but the sprint boot is just terrible.
Any input is appreciated and awesome job Team Venom, keep on being awesome!
Thanks!
Download HTC sync, install it, uninstall it afterwards to avoid future problems.
budeone said:
Download HTC sync, install it, uninstall it afterwards to avoid future problems.
Click to expand...
Click to collapse
Thanks,
I'll go ahead and give that a try tonight, just a little puzzled at what was happening and not seeing more on it, so i figured it was something i had wrong, hoping that is just it.
here is a driver only link you can try also
https://dl.dropboxusercontent.com/u/2676146/HTCDriver3.0.0.007.exe
budeone said:
here is a driver only link you can try also
Click to expand...
Click to collapse
Okay so I got it to install now, though quick question, doesn't this boot consist of a Viper boot img instead of the Sprint logo on boot?
I tried pointing to the boot.img in the img flasher and also in the Viper 3.1.4 folder... maybe i was just thinking of something else and it was for just a faster boot time.
In any case, thanks for your help.
cho danger said:
Okay so I got it to install now, though quick question, doesn't this boot consist of a Viper boot img instead of the Sprint logo on boot?
I tried pointing to the boot.img in the img flasher and also in the Viper 3.1.4 folder... maybe i was just thinking of something else and it was for just a faster boot time.
In any case, thanks for your help.
Click to expand...
Click to collapse
boot.img is the kernel. You are talking about a boot animation. 2 completely different things.
If you are using Viper rom
http://forum.xda-developers.com/showthread.php?t=2124391
They have a great theme section.
Advanced
•Fix permissions
•Zipalign apks
•Mount system rw/ro
•Disable logcat
•Wipe cache/dalvik
•Customize boot/down animation
•Customize boot sound
Click to expand...
Click to collapse

[Q] Trying To Breathe New Life Into My Rezound...

Hey Everyone! So here's the quick nitty gritty...
Flashed Clean Rom Standard and Left S-On
Worked great for about 8 months
Started crashing like crazy and the only fix was to go back to stock
Went to stock and then unlocked, S is still On
Flashed ClockworkMod 6.0.2.3
Can't get any aftermarket S-On Roms to work
It can never see a PH98IMG.zip file via fastboot/bootloader
So I'm stuck and I don't know what to do
Anyway, that's where I'm at. Right now the phone is working just fine but stock roms suck and it's FULL of bloatware that I can't get rid of. So...any ideas on what I can do? I'd love to use Clean Rom once again but I can't get the PH98 file to flash
More Phone Info...
Ver - 4.0.3
Sense - 3.6
Software - 4.03.605.2 710RD
Kernel - 3.0.16-g480e1b0
Thanks in advance!
AT
AlmostTactful said:
Hey Everyone! So here's the quick nitty gritty...
Flashed Clean Rom Standard and Left S-On
Worked great for about 8 months
Started crashing like crazy and the only fix was to go back to stock
Went to stock and then unlocked, S is still On
Flashed ClockworkMod 6.0.2.3
Can't get any aftermarket S-On Roms to work
It can never see a PH98IMG.zip file via fastboot/bootloader
So I'm stuck and I don't know what to do
Anyway, that's where I'm at. Right now the phone is working just fine but stock roms suck and it's FULL of bloatware that I can't get rid of. So...any ideas on what I can do? I'd love to use Clean Rom once again but I can't get the PH98 file to flash
More Phone Info...
Ver - 4.0.3
Sense - 3.6
Software - 4.03.605.2 710RD
Kernel - 3.0.16-g480e1b0
Thanks in advance!
AT
Click to expand...
Click to collapse
The newer roms are mostly made for S-OFF and do not create a ph98img file to flash with the boot.img you have to manually do it.
You should be able to flash by extracting the boot.img from the rom you want to flash, place it in your fast boot folder on your PC,
Open command prompt in that folder, and type fastboot flash boot boot.img
Hope this helps
Just saw your location
Hi Neighbor
kc6wke said:
The newer roms are mostly made for S-OFF and do not create a ph98img file to flash with the boot.img you have to manually do it.
You should be able to flash by extracting the boot.img from the rom you want to flash, place it in your fast boot folder on your PC,
Open command prompt in that folder, and type fastboot flash boot boot.img
Hope this helps
Just saw your location
Hi Neighbor
Click to expand...
Click to collapse
Haha Howdy!
Well, so I just tried using Nils ROM and it's supposed to be an all in one installer. I can see the installer saying everything is working but when it goes back to the boot loader screen it still isn't seeing the PH98 file...I'm not super familar with using fast boot on my PC as I'm still using older roms that always worked for me before when it came to flashing doing this method.
Sorry to be a pain in the a lol
AlmostTactful said:
Haha Howdy!
Well, so I just tried using Nils ROM and it's supposed to be an all in one installer. I can see the installer saying everything is working but when it goes back to the boot loader screen it still isn't seeing the PH98 file...I'm not super familar with using fast boot on my PC as I'm still using older roms that always worked for me before when it came to flashing doing this method.
Sorry to be a pain in the a lol
Click to expand...
Click to collapse
I'll chime in, but would say that getting acquainted with how ADB works from the PC would be of great help to you. I don't like it either, which is why I s-offed. It does occur to me though that, at the very least, you are rooted, so Titanium Backup will help you freeze and/or uninstall bloat. I just had to RUU because I borked my internal storage and I am running stock, without all of Big Reds crap, and I'm actually enjoying it for a few days...
Good Luck from the mid west!
AlmostTactful said:
Haha Howdy!
Well, so I just tried using Nils ROM and it's supposed to be an all in one installer. I can see the installer saying everything is working but when it goes back to the boot loader screen it still isn't seeing the PH98 file...I'm not super familar with using fast boot on my PC as I'm still using older roms that always worked for me before when it came to flashing doing this method.
Sorry to be a pain in the a lol
Click to expand...
Click to collapse
Sorry to be the bearer of bad news, but I don't see a way around your problem if you're unwilling to learn how to do things with fastboot or adb or (possibly) both. They're easy to figure out for basic operations, so just do it! (Hey, you're flashing custom ROMs, ya gotta give a little too! )
Good luck,
john
AlmostTactful said:
Haha Howdy!
Well, so I just tried using Nils ROM and it's supposed to be an all in one installer. I can see the installer saying everything is working but when it goes back to the boot loader screen it still isn't seeing the PH98 file...I'm not super familar with using fast boot on my PC as I'm still using older roms that always worked for me before when it came to flashing doing this method.
Sorry to be a pain in the a lol
Click to expand...
Click to collapse
There is one way to acquire temp "s-off" meaning you can flash ROMs in recovery and the boot image flash with it. It does do heavy work on your boot partition though. TWRP HTCdumlock there is instructions in flyhalf's TWRP thread to do this method
Sent from my Infected Rezound using xda app-developers app
Don't use CWM plain and simple. Switch over to TWRP. Only con, rebooting to bootloader manually. Also make sure you do a system/data/cache wipe prior to switching roms.
There is always the all in one tool that you can flash the kernel from but you still need to extract the boot img from the rom

[Q] rooted but can't load rom

I am super frustrated right now, because of the fact I rooted my phone a year after I got it and there aren't enough devs supporting this phone anymore.. :crying:
Anywhoo, I have Unlocked my BootLoader and I have set up my custom recovery with TWRP 2.5.0.0 since the latest doesn't work for my phone. I have Access with SuperSU going through the pain of updating the binary. Now, my latest problem and only problem that hinders me from using the Roms I desire is, I'm stuck at BootLoop. My phone shows the HTC logo and then reboots.
I super wiped, I did wipe before and after, I tried all methods of wiping, unless wiping isn't the same anymore from the OG EVO days.
The ROMS, I would like to install is Paranoid Android, BeanStalk, CM Nightlies 10.2, & SuperNEXUS.
I have Tested only BeanStalk and SuperNexus and they both do the same exact thing which brings me to bootloop. The great thing about it is, which is kind of strange but i'm very thankful is that, I can still Restore my phone with my back up! =D
So far I have used TWRP, I don't really feel comfy with using Clockwork. Due to previous experiences, It just doesn't give a clean wipe IMO.
YES, I have S-ON.
Do i really need S-OFF to run these Roms? My phone is updated with 3.17, and everything from the last update a week ago, I believe.
I just did everything within the last 24 hrs.
PLEASE HELP ME! =(
Since you are S-ON you need to fastboot flash the boot.img/kernel then the rom
bigdaddy619 said:
Since you are S-ON you need to fastboot flash the boot.img/kernel then the rom
Click to expand...
Click to collapse
how would i do that? step by step, please.
Read this guide it has everything you need to know
http://forum.xda-developers.com/showthread.php?t=2256478
bigdaddy619 said:
Read this guide it has everything you need to know
http://forum.xda-developers.com/showthread.php?t=2256478
Click to expand...
Click to collapse
Okay, one more question kind sir.
If this works for my phone and I end up running the Beanstalk or which ever ROM.
Do I need to Run another Boot.img to Restore my Rom from Backup?
Or Will it back up on its on, Because its the Stock rom?
Thank you, again.
Caspers25 said:
Okay, one more question kind sir.
If this works for my phone and I end up running the Beanstalk or which ever ROM.
Do I need to Run another Boot.img to Restore my Rom from Backup?
Or Will it back up on its on, Because its the Stock rom?
Thank you, again.
Click to expand...
Click to collapse
It's always a good idea to have at least one backup on your sdcard.
No you won't need to flash the boot.img if you restore your backup.
You will only need to flash the boot.img everytime you flash a new rom for the first time
bigdaddy619 said:
It's always a good idea to have at least one backup on your sdcard.
No you won't need to flash the boot.img if you restore your backup.
You will only need to flash the boot.img everytime you flash a new rom for the first time
Click to expand...
Click to collapse
THANKS!
Do you Flash the Rom First or the boot.img?
or Do i have to Flash the Boot.img then go into my recovery and Flash the Rom?
Caspers25 said:
THANKS!
Do you Flash the Rom First or the boot.img?
or Do i have to Flash the Boot.img then go into my recovery and Flash the Rom?
Click to expand...
Click to collapse
Fastboot flash the boot.img from bootloader or use FlashimageGUI from the playstore then boot into recovery and flash the rom
Flash Image GUI Free here http://forum.xda-developers.com/showthread.php?t=2291969&highlight=flash+image+gui
If you want to S-OFF, join the #moonshiners IRC channel. beaups has a test build he needs help to get working for the latest OTA. It would be helpful for everyone if someone could assist.
Captain_Throwback said:
If you want to S-OFF, join the #moonshiners IRC channel. beaups has a test build he needs help to get working for the latest OTA. It would be helpful for everyone if someone could assist.
Click to expand...
Click to collapse
Stop spamming Capt J/K hopefully someone will take you up on that offer soon
bigdaddy619 said:
Stop spamming Capt J/K hopefully someone will take you up on that offer soon
Click to expand...
Click to collapse
I know I'm going to have to do it myself. Just trying to avoid it. I already relocked once this week to test BabyRacun (which I also requested be updated, btw).
Onandroiding now in prep for full stock mode. I'm hoping someone steps up and I don't have to do it.

Categories

Resources