Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,988 Members 45,127 Now Online
XDA Developers Android and Mobile Development Forum

[DEVs][Simple] Auto Kernel Install for S-ON Unlocked Devices with MainVer Fix

Tip us?
 
con247
Old
(Last edited by con247; 26th July 2012 at 04:27 PM.)
#1  
con247's Avatar
Retired Recognized Developer - OP
Thanks Meter 3115
Posts: 3,070
Join Date: Sep 2010
Location: Ann Arbor
Default [DEVs][Simple] Auto Kernel Install for S-ON Unlocked Devices with MainVer Fix

I have discontinued support for this since S-OFF is available.
New Update! Easier Than Ever!
How To Install You New Kernel!
With drellisdee's Main Version Fix
Instructions


DEVS: New versions are added. Two zips are attached. One is for flashing zImages, one is for flashing boot images.

Just put the contents up the updater script into your rom along with the kernel folder.

For the zImage one, put a zImage named "zImage" in the kernel folder. For a boot image, put a boot.img named "boot.img" in the kernel folder. Each zip has the appropriate scripting for that type of file. For a rom, it is likely you want the boot image version.

This fixes the main version so that will no longer be an issue with rom installations thanks to drellisdee






OLD NOTES: (Ignore )
 

-1)Flash the rom of your choice and the boot image distributed with it via a PH98IMG.zip. If it doesn't come with one, just move on.
0)Flash the kernel you want's zip file in recovery. Also make sure there are no existing PH98IMG.zip files on your sdcard
1)Download AutoKernelInstaller.zip attached to my post.
2)Extract the zip
3)If you want ziggy's kernel, move to step 4. If you want another kernel, find the zImage file in the kernel's zip folder and copy it to the kernel folder from my zip file. It should overwrite the zImage file in there now.
4)Run buildFlashable.bat
5)Flash the flashmeinrecovery.zip in recovery
6)My scripts in flashme.zip will perform all of the work to create a PH98IMG.zip and then will automatically reboot to HBOOT
7)Press the power button in HBOOT to select bootloader
8)Select Yes for installing the new boot.img
9)Done Your kernel is installed!

To users, you can now use this to flash your own kernels without needing someone else to make it a boot.img specific to a certain rom. You will still need to flash the kernel's zip file in recovery to get the extra stuff the kernel comes with, such as a wifi module. These steps are in addition to that process.

To devs, feel free to add this script to your kernel zip files so S-ON devices can use it without boot.img creation knowledge and so that you don't have to distribute hardcoded boot.img files.

Why is all this necessary? You most likely didn't have to jump through these hoops to install kernels on your other devices...
Quote:
As most of you have figured out, installing kernels is a multi-step process on the Rezound. First, files for the system partition need to be flashed in recovery. Then a boot.img needs to be flashed that contains the kernel and the ramdisk.

Unfortunately, since the ramdisk changes from rom to rom, kernels cannot be distributed as boot.img files. Therefore, they are impossible to flash without conversion. If you have installed ziggy's kernel, you have probably used my premade flashables. Those are fine for now, until ramdisks begin to change from rom to rom. This flashable zip will insert a kernel into a rom's boot image and then package it into a PH98IMG.zip that is flashable from the bootloader (HBOOT) without fastboot,adb, or PC knowledge required. This saves a ton of work for the user and allows kernels to be compatible with ANY rom.
Returning to stock
http://forum.xda-developers.com/show...02&postcount=2
Attached Files
File Type: zip zImageFlasherRezound.zip - [Click for QR Code] (1.21 MB, 774 views)
File Type: zip BootImageFlasherRezound.zip - [Click for QR Code] (1.21 MB, 977 views)
Current Phone: iPhone 5[s]
Check out my GS3 Splash Screen Changer
The Following 26 Users Say Thank You to con247 For This Useful Post: [ Click to Expand ]
 
Marcismo55
Old
#2  
Marcismo55's Avatar
Senior Member
Thanks Meter 416
Posts: 1,763
Join Date: Sep 2010
Location: Ventura, CA

 
DONATE TO ME
Good lookin out on all of this Con...you along with the other developers have been awesome in getting dev for the Rezound off the ground. Thank you!
Current: HTC One M8 32gb Retired: HTC One 32GB Samsung Galaxy S II Skyrocket Samsung Galaxy S III HTC Rezound HTC Incredible (AMOLED)
 
con247
Old
#3  
con247's Avatar
Retired Recognized Developer - OP
Thanks Meter 3115
Posts: 3,070
Join Date: Sep 2010
Location: Ann Arbor
Quote:
Originally Posted by Marcismo55 View Post
Good lookin out on all of this Con...you along with the other developers have been awesome in getting dev for the Rezound off the ground. Thank you!
I am no dev. I have no idea how to make a kernel/rom (for the most part). I just know what with and why users struggle with things and I try to simplify and automate as much as possible. It is better to leave the "real" work for the devs so they don't have to waste time doing things that I can help with.
Current Phone: iPhone 5[s]
Check out my GS3 Splash Screen Changer
The Following User Says Thank You to con247 For This Useful Post: [ Click to Expand ]
 
Evo4gLI
Old
#4  
Evo4gLI's Avatar
Senior Member
Thanks Meter 90
Posts: 454
Join Date: Aug 2011
Location: Long Island, NY
Just out of curiosity, does flashing that first file wipe the internal memory? Not the one with ROM and stuff on it, but the one where your TiBackups are stored and such, because after I flashed the kernel, all my Titanium backups were gone and the internal memory was wiped. I didn't lose anything because I made copies to my desktop computer, but if I hadn't, I would have lost all that stuff. Maybe I did something wrong, but I don't think so, because I followed instructions, and the kernel is installed and working fine.
T Mobile LG G3 Stock Rooted
 
con247
Old
#5  
con247's Avatar
Retired Recognized Developer - OP
Thanks Meter 3115
Posts: 3,070
Join Date: Sep 2010
Location: Ann Arbor
Quote:
Originally Posted by Evo4gLI View Post
Just out of curiosity, does flashing that first file wipe the internal memory? Not the one with ROM and stuff on it, but the one where your TiBackups are stored and such, because after I flashed the kernel, all my Titanium backups were gone and the internal memory was wiped. I didn't lose anything because I made copies to my desktop computer, but if I hadn't, I would have lost all that stuff. Maybe I did something wrong, but I don't think so, because I followed instructions, and the kernel is installed and working fine.
This flashable wipes nothing. It just creates a new flashable boot image from what is already on your device.
Current Phone: iPhone 5[s]
Check out my GS3 Splash Screen Changer
 
Evo4gLI
Old
#6  
Evo4gLI's Avatar
Senior Member
Thanks Meter 90
Posts: 454
Join Date: Aug 2011
Location: Long Island, NY
Quote:
Originally Posted by con247 View Post
This flashable wipes nothing. It just creates a new flashable boot image from what is already on your device.
Any insight into what may have happened then? Because it was all there before I flashed the kernel, and then it was gone afterwards.
T Mobile LG G3 Stock Rooted
 
con247
Old
#7  
con247's Avatar
Retired Recognized Developer - OP
Thanks Meter 3115
Posts: 3,070
Join Date: Sep 2010
Location: Ann Arbor
Did you do a data wipe or something? Did you install a new rom?
Current Phone: iPhone 5[s]
Check out my GS3 Splash Screen Changer
 
pwned3
Old
#8  
pwned3's Avatar
Senior Member
Thanks Meter 259
Posts: 1,154
Join Date: Jul 2011
Location: Cullman
I actually had the same thing happen to me. Almost all my apps were missing one I installed the kernel. It was odd

sent from my newly unlocked Rezound
 
con247
Old
(Last edited by con247; 30th December 2011 at 10:30 PM.)
#9  
con247's Avatar
Retired Recognized Developer - OP
Thanks Meter 3115
Posts: 3,070
Join Date: Sep 2010
Location: Ann Arbor
Quote:
Originally Posted by pwned3 View Post
I actually had the same thing happen to me. Almost all my apps were missing one I installed the kernel. It was odd

sent from my newly unlocked Rezound
Fixed the issue. It was in the PH98IMG.zip it just happened to me also. Sorry guys! Files in 1st post are fixed!
Current Phone: iPhone 5[s]
Check out my GS3 Splash Screen Changer
The Following User Says Thank You to con247 For This Useful Post: [ Click to Expand ]
 
mrbigdrawsz
Old
#10  
mrbigdrawsz's Avatar
Senior Member
Thanks Meter 42
Posts: 445
Join Date: Feb 2008
Location: Canton, Michigan
Default complete noob!!!!!

CON247, you are a huge help with all this and I appreciate your work. Your step by step directions are helpful but sometimes still confusing for noobs. Are there step by step instructions for this that explains what each steps does and why it need to be done? I want to flash a kernel but I'm not sure how to perform all the steps listed here but wish to learn.

Even better knowing so much of this is being done by a fellow Wolverine fan.

THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes