Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

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

OP con247

30th December 2011, 09:13 PM   |  #1  
con247's Avatar
OP Retired Recognized Developer
Flag Ann Arbor
Thanks Meter: 3,119
 
3,070 posts
Join Date:Joined: Sep 2010
More
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, 808 views)
File Type: zip BootImageFlasherRezound.zip - [Click for QR Code] (1.21 MB, 1025 views)
Last edited by con247; 26th July 2012 at 05:27 PM.
The Following 26 Users Say Thank You to con247 For This Useful Post: [ View ]
30th December 2011, 09:20 PM   |  #2  
Marcismo55's Avatar
Senior Member
Flag Ventura, CA
Thanks Meter: 417
 
1,765 posts
Join Date:Joined: Sep 2010
Donate to Me
More
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!
30th December 2011, 09:22 PM   |  #3  
con247's Avatar
OP Retired Recognized Developer
Flag Ann Arbor
Thanks Meter: 3,119
 
3,070 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by Marcismo55

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.
The Following User Says Thank You to con247 For This Useful Post: [ View ]
30th December 2011, 09:28 PM   |  #4  
Evo4gLI's Avatar
Senior Member
Flag Long Island, NY
Thanks Meter: 90
 
454 posts
Join Date:Joined: Aug 2011
More
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.
30th December 2011, 09:37 PM   |  #5  
con247's Avatar
OP Retired Recognized Developer
Flag Ann Arbor
Thanks Meter: 3,119
 
3,070 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by Evo4gLI

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.
30th December 2011, 09:38 PM   |  #6  
Evo4gLI's Avatar
Senior Member
Flag Long Island, NY
Thanks Meter: 90
 
454 posts
Join Date:Joined: Aug 2011
More
Quote:
Originally Posted by con247

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.
30th December 2011, 10:42 PM   |  #7  
con247's Avatar
OP Retired Recognized Developer
Flag Ann Arbor
Thanks Meter: 3,119
 
3,070 posts
Join Date:Joined: Sep 2010
More
Did you do a data wipe or something? Did you install a new rom?
30th December 2011, 10:45 PM   |  #8  
pwned3's Avatar
Senior Member
Cullman
Thanks Meter: 259
 
1,160 posts
Join Date:Joined: Jul 2011
More
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
30th December 2011, 10:52 PM   |  #9  
con247's Avatar
OP Retired Recognized Developer
Flag Ann Arbor
Thanks Meter: 3,119
 
3,070 posts
Join Date:Joined: Sep 2010
More
Quote:
Originally Posted by pwned3

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!
Last edited by con247; 30th December 2011 at 11:30 PM.
The Following User Says Thank You to con247 For This Useful Post: [ View ]
31st December 2011, 12:17 AM   |  #10  
mrbigdrawsz's Avatar
Senior Member
Flag Canton, Michigan
Thanks Meter: 44
 
453 posts
Join Date:Joined: Feb 2008
More
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 to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes