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

[Kernel] Hellcat's Root Kernel v1.25 // root,CWM5+4+stock,CIFS,BLN,BootLOGO and more

Tip us?
 
HellcatDroid
Old
(Last edited by HellcatDroid; 6th February 2012 at 08:09 AM.) Reason: New kernalz :D
#1  
HellcatDroid's Avatar
Senior Member - OP
Thanks Meter 773
Posts: 1,026
Join Date: Jul 2011
Location: Cologne Area

 
DONATE TO ME
Smile [Kernel] Hellcat's Root Kernel v1.25 // root,CWM5+4+stock,CIFS,BLN,BootLOGO and more

OMG, *another* rooting kernel

Yes , wanted to try to dive into this, and so here is my selfbuilt kernel.
The kernel is built from the original Samy sources, not just a modded initramfs and repacked, actually built from scratch.


Quote:
Features
  • Root
    Kernel comes "instant rooted", after flashing this kernel your system is completely rooted (su, busybox and the Superuser app).
    Nothing more needs to be done, totally newb friendly
  • MULTIPLE Recoveries!
    By default this kernel will run ClockworkMod 5.0.2.3 when booting into recovery.
    You can, however, set an option to boot two other recoveries:
    Create a file "opt.recovery.cwm4" in /sdcard to get ClockWorkMod Recovery 4.0.1.4 when booting to recovery.
    Create a file "opt.recovery.stock" in /sdcard to get original stock (e3) recovery when booting to recovery.
    Content of the files doesn't matter, a 0-byte size is good enough already, it just needs to exist and have the above stated names.
  • ADB with root priv's in recovery mode
    When booted into recovery mode you have ADB available to connect to from your PC.
    ADB also runns with full root priv's in recovery mode for all your haxx'n'tinker needs (in normally booted OS mode ADB still runns "secure" with only user priv's, use su to get root there)
  • Custom boot scripts
    There is some bootscripts you can put your own commands in for being executed during boot.
    The scripts are /system/bootrc.sh and /data/bootrc.sh.
  • Additional modules natively supported and loaded on boot
    The original plan was to integrate these into the kernel, but due to hitting size limits of the zImage I decided to have them loaded from external directories.
    Currently supported modules: (these modules are compiled together with the kernel and are included in the download!)
    - slow-work.ko (not needed on Android 2.3.4 FWs, like XXKG2, e.t.c.)
    - cifs.ko
    If these modules are present in either /system/lib/modules or /data/lib/modules they will be automatically loaded at boot and are available to use (for example in case of CIFS, just get CifsManager from the marketplace and start mounting your shares)
  • Custom Bootanimation and Bootsound
    This kernel also supports using a custom bootanim (bootanimation.zip) and bootsound (PowerOn.wav).
    To install, simply create a folder "import" on in your /sdcard and drop your files into it, i.e.:
    /sdcard/import/bootanimation.zip -> for bootanimation
    /sdcard/import/PowerOn.wav -> for bootsound
    If either one of those is present upon the next boot they will automatically be installed to the correct path and be available.
  • Custom Boot-LOGO !
    This let's you change the logo shown BEFORE the bootanimation (usually the "Samsung Galaxy SII" splash screen).
    Similar to the bootanim and -sound, copy the desired logo.jpg (480x800, max. 100k) to:
    /sdcard/import/logo.jpg
    Upon the next boot the new bootlogo will be installed!
    Please read the additional note about installing a new bootlogo bellow!
  • BLN support
    This kernel has BLN (=BackLight Notification) support!
    Just install the BLN Pro App from the market (to actually use/get the notification lights you need the paid version, the free version only lets you test if BLN works propperly) and off your blinkieness goes
  • Touchscreen Sensitivity Fix
    vitalij's touchscreen fix to make the touch more responsive again when performing movements on the screen.
  • init.d support
    If you got a lot of shell scripts you want to have executed during boot, just drop them in
    - /system/etc/init.d
    or
    - /data/etc/init.d
    Everything put into those directories will be executed during boot
Might add more features as I go and figure out how they work
Note about installing custom Boot-LOGO:
When you reboot to have the new logo installed you will at first still see the old logo.
When the system comes up it will (esp. at the first time) stay in the bootanimation for quite some time -. this is normal and to be expected!
The phone will eventually reboot again (also normal!) and you should already see your new bootlogo
/!\ The custom bootlogo ONLY works when the yellow triangle is NOT shown, in situations where the phone shows the yellow triangle screen, it will override the custom bootlogo.
I figured out how to apply a new bootlogo thanks to this thread and simply automated the process and made it a bit more simple to apply (IMO).


How to install
  • Download a build of my kernel that matches your FW/current kernel version und unpack the downloaded archive.
    You will get a .tar file. Don't extract that, you need this .tar.
    (go to Settings -> About this phone -> look at "Kernel Version", this will tell you what kernel build you need)
  • Make sure no Kies related processes are running in the background (start Taskmanager and kill'em all)
  • Launch Odin
  • Select the .tar file extracted previously as PDA
  • Power off your phone and restart it in Download Mode (hold "Vol-Down + Home + Power" to turn it one) and press Vol-Up to confirm and actually entering Download Mode.
  • Connect your phone to the PC via USB
  • When Odin recognized the phone, hit START
  • The phone should reboot shortly after and that's it, you're all set


I hope you like it

I might build it for other firmware versions as the one I have so far as well, but might take a while as I completely (re)build the kernel for every firmware version, i.e. (re)applying all mods to the original initramfs and then do a clean build (which takes ~45 minutes on my current setup).
It might not be completely neccessary to do that, but it's the most cleanest way IMO, and I like it clean


Quote:
Companion Tool



A little tool to aid with some tasks after rooting, makes getting rid of the yellow triangle a bit more easy (see bellow).
This tool can also backup and restore the EFS partition for you, no need to deal with terminal commands anymore


Since v1.20 of kTool it also has a function to check/verify the EFS backup, if it's OK and all.

The kernel includes this tool and it will be automatically installed on your system, there is no need to download and install it seperately, I will still provide it as seperate download though for those interested in using the tool but not using the kernel.

Removing the yellow triangle /!\
Getting rid of the yellow triangle in a few simple steps:
  • Flash this (or any other) custom kernel via Odin
  • Once your system is rooted run the Companion Tool ("HC-kTool")
  • Tap "Dump current kernel"
  • Tap "Reboot to Downloadmode"
  • When back in downloadmode, start Odin, connect the phone and flash any stock Samsung kernel (this will remove the yellow triangle as the phone is now running on an official kernel again)
  • when the phone rebooted after the Odin flash start up the Companion Tool again
  • Tap "Flash kernel from /sdcard/zImage"
  • Tap "Reboot"
That's it.
You are now running the custom kernel (again) but without having the yellow triangle on boot - also the custom bootlogo now works again (it doesn't when the triangle is shown).
Easy?


Thanks and additional credits
  • Chainfire - for his CF-Root, that got my SGS2 rooted in the first place, inspired me to try on my own kernel tinkering and gave me ideas for the initial feature set
  • neldar and creams@nexus - neldar for the original BLN mod and creams for his blog posts here and here that significantly helped me to add BLN support to my kernel
  • connexion2005 - for this thread that got me onto the right track about changing the bootlogo (disclaimer: I did *not* use any of his files, everything has been made and automated from scratch, though the credits for the original method belong to this guy! )
  • vitalij - for the touchscreen sensitivity fix he described in this thread


Enjoy:

v1.24 XWKE7 (2.3.3): [ DOWNLOAD ]
v1.24 XWKF1 (2.3.3): [ DOWNLOAD ]
v1.24 XWKF3 (2.3.3): [ DOWNLOAD ]
v1.24 XXKG1 (2.3.4): [ DOWNLOAD ]
v1.24 XXKG2 (2.3.4): [ DOWNLOAD ]
v1.24 XXKG3 (2.3.4): [ DOWNLOAD ]
v1.24 XXKG5 (2.3.4): [ DOWNLOAD ]
v1.24 XXKG6 (2.3.4): [ DOWNLOAD ]
v1.24 UHKG7 (2.3.4): [ DOWNLOAD ]

v1.24 ZSKG2: [ DOWNLOAD ]

Built from Sammy's i9100_update2 source:
v1.24 XXKH1 (2.3.4): [ DOWNLOAD ]
v1.24 XXKH3 (2.3.4): [ DOWNLOAD ]
v1.24 XXKI3 (2.3.5): [ DOWNLOAD ]
v1.24 XXKI4 (2.3.5): [ DOWNLOAD ]
v1.24 XWKI4 (2.3.4): [ DOWNLOAD ]
v1.24 XWKI8 (2.3.5): [ DOWNLOAD ]

Built from Sammy's i9100_update2 source:
v1.25 XWKI4 (2.3.4): [ DOWNLOAD ]
v1.25 XXKH1 (2.3.4): [ DOWNLOAD ]

Built from Sammy's i9100_update3 source:
v1.25 XWKI8 (2.3.5): [ DOWNLOAD ]
v1.25 XXKI3 (2.3.5): [ DOWNLOAD ]
v1.25 XXKI4 (2.3.5): [ DOWNLOAD ]
v1.25 XWKJ1 (2.3.5): [ DOWNLOAD ]
v1.25 XWKJ2 (2.3.5): [ DOWNLOAD ]
v1.25 XWKJ3 (2.3.5): [ DOWNLOAD ]
v1.25 XWKK2 (2.3.6): [ DOWNLOAD ]
v1.25 XWKK5 (2.3.6): [ DOWNLOAD ]
v1.25 XXKL1 (2.3.6): [ DOWNLOAD ]
v1.25 XILA2 (2.3.6): [ DOWNLOAD ]
v1.25 XWLA4 (2.3.6): [ DOWNLOAD ]

kTool companion tool v1.24 : [ kTool XDA thread (with market link for download) ]


The kernels are compiled pretty universal, so the KE7 one should work on most 2.3.3 based FWs and the KG2 one on most 2.3.4 ones.

Though, if there's demand/requests for a FW version specific build, I can make one
Quote:
The process com.xda.forum.signature has stopped unexpectedly. Please try again.
Quote:
[ Force Close ]
The Following 70 Users Say Thank You to HellcatDroid For This Useful Post: [ Click to Expand ]
 
jlevy73
Old
#2  
jlevy73's Avatar
Senior Member
Thanks Meter 1,297
Posts: 9,240
Join Date: Nov 2009
Location: Los Angeles
The more kernels the better
The Following 2 Users Say Thank You to jlevy73 For This Useful Post: [ Click to Expand ]
 
lpsi2000
Old
#3  
lpsi2000's Avatar
Senior Member
Thanks Meter 143
Posts: 2,435
Join Date: Jan 2004
Location: TriState
Quote:
Originally Posted by jlevy73 View Post
The more kernels the better
LOL, nothing else needs to be said.
AT&T Samsung Galaxy Note III(N900A)
Previous devices:
Samsung Galaxy S II, III, & Note II(i317)
Retired devices: AT&T Samsung Galaxy Note / Moto Atrix and SGS Captivate / HTC Leo(HD2) / AT&T Tilt 2/ HTC Fuze / HTC Advantage / I-Mate JasJam / JasJar / Pocket PC / XDA
Network: AT&T
OC/UV
825/850/875/900/925/950/975/1000/1025/1050/1075/1100/1125/1150/1200/1250/1275 -1800Mhz
The Following User Says Thank You to lpsi2000 For This Useful Post: [ Click to Expand ]
 
HellcatDroid
Old
#4  
HellcatDroid's Avatar
Senior Member - OP
Thanks Meter 773
Posts: 1,026
Join Date: Jul 2011
Location: Cologne Area

 
DONATE TO ME


I also finally figured out how to enable custom boot animation (du'h, Samy uses a different path than default Android for the anim.zip in their bootanimation executable....) and I found a way to replace the boot splash logo, the one before the animation (even though this only works when no yellow triangle is shown).

Just have to find a neat and not too messy way to implement my idea, will put both things into the next build then
Quote:
The process com.xda.forum.signature has stopped unexpectedly. Please try again.
Quote:
[ Force Close ]
The Following 2 Users Say Thank You to HellcatDroid For This Useful Post: [ Click to Expand ]
 
HellcatDroid
Old
#5  
HellcatDroid's Avatar
Senior Member - OP
Thanks Meter 773
Posts: 1,026
Join Date: Jul 2011
Location: Cologne Area

 
DONATE TO ME
UPDATED to v1.10

Now supports custom bootanim, bootsound and bootlogo!
Also features a totally easy way to apply/install them
Quote:
The process com.xda.forum.signature has stopped unexpectedly. Please try again.
Quote:
[ Force Close ]
The Following 3 Users Say Thank You to HellcatDroid For This Useful Post: [ Click to Expand ]
 
murdoch1
Old
#6  
murdoch1's Avatar
Senior Member
Thanks Meter 104
Posts: 551
Join Date: Jan 2010
Default Kg3

Quote:
Originally Posted by HellcatDroid View Post
UPDATED to v1.10

Now supports custom bootanim, bootsound and bootlogo!
Also features a totally easy way to apply/install them
Any chance of a kg3 kernel..... It sounds really good.
 
HellcatDroid
Old
#7  
HellcatDroid's Avatar
Senior Member - OP
Thanks Meter 773
Posts: 1,026
Join Date: Jul 2011
Location: Cologne Area

 
DONATE TO ME
Quote:
Originally Posted by murdoch1 View Post
Any chance of a kg3 kernel..... It sounds really good.
Ask, and you shall receive

KF1 and KG3 builds posted!
Quote:
The process com.xda.forum.signature has stopped unexpectedly. Please try again.
Quote:
[ Force Close ]
The Following User Says Thank You to HellcatDroid For This Useful Post: [ Click to Expand ]
 
lambstone
Old
#8  
lambstone's Avatar
Senior Member
Thanks Meter 220
Posts: 1,333
Join Date: Mar 2008

 
DONATE TO ME
I've got something off-topic, but I presume you're not the same hellcat as the PSP's hellcat?
 
cerede2000
Old
#9  
Senior Member
Thanks Meter 5
Posts: 158
Join Date: Jun 2007
Please add the touchsreen fixe into your kernel

Thanks!
 
HellcatDroid
Old
#10  
HellcatDroid's Avatar
Senior Member - OP
Thanks Meter 773
Posts: 1,026
Join Date: Jul 2011
Location: Cologne Area

 
DONATE TO ME
Quote:
Originally Posted by info5i2002 View Post
I've got something off-topic, but I presume you're not the same hellcat as the PSP's hellcat?
Well, actually.... I am
Found some additional playground for me


Quote:
Originally Posted by cerede2000 View Post
Please add the touchsreen fixe into your kernel
Thanks!
You got some linkage on the matter for me?
Would be happy to include it Just need to know what exactely it is/does as I haven't encountered it so far.
Quote:
The process com.xda.forum.signature has stopped unexpectedly. Please try again.
Quote:
[ Force Close ]

The Following User Says Thank You to HellcatDroid For This Useful Post: [ Click to Expand ]
Tags
dxkh2
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes