• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [DEVELOPMENT] SickleKernels For the SV

D

Deleted User

Guest
Installation Instructions:
1) Get android SDK
2) get kernel.img from OP
3) put in fastboot directory
4) Install appropriate drivers for your phone (NO HTC SYNC, THIS PREVENTS ADB)
5) Boot into FASTBOOT USB
6) issue the command `fastboot flash boot SickleKernel*.img`
7) Reboot and proffit

How To Compile:
1) download this tested toolchain
2) get kernel source here (Current branch is "jellybean")
3) put the toolchain in your $HOME directory
4) be sure your system has all the dependencies to build a kernel (system-devel, gcc, ect)
5) cd to the kernel source
6) issue the command `make ARCH=arm k2_cl_defconfig`
7) issue the command `make -j4 ARCH=arm CROSS_COMPILE=`echo "$HOME/prebuilts_gcc_linux-x86_arm_arm-eabi-4.8/bin/arm-eabi`"`
8) grab the kernel from arch/arm/boot/zImage and the modules from drivers/net/wireless/bcmdhd_*/bcmdhd.ko
9) create a boot.img with either mkbootimg and mkbootfs or android kitchen from xda
NOTE: the mkbootimg command for this device is `mkbootimg --kernel /path/to/zImage --ramdisk /path/to/ramdisk.gz --base 0x80400000 --pagesize 2048 --ramdiskaddr 0x81808000 --cmdline "console=ttyHSL0,115200,n8 user_debug=31" -o bootout.img`

CHANGELOG
Code:
------ V100 -------
Update to 3.4.49
various fixes
Linaro compiled kernel (fast!)
cleaned out the init.rc files. No more low level HTC spying from the kernel
cleaned out some log spam (noticeable performance increase)
Voodoo audio Part 1 (audio limits lowered, eventually removed)

------ V20 --------
New base from JB source from HTC
everything working
s2w and s2s added
remove debugging code
add app to release for controlling the kernel
GCC 4.8 (AOSP)
Fix radio bugs
Fix NFC
Fix wifi
Fix FM radio

------ V2 ---------
put bcmdhd.ko into the boot.img so that its flashed without a zip
build with new toolchain (https://bitbucket.org/codefirex/prebuilts_gcc_linux-x86_arm_arm-eabi-4.8.git)
Add Kbuild cflags to allow gcc 4.8.1 compliance such
------ V1 ----------
remove write protection persist of /system in k2_cl_defconfig
gcc 4.7.3 compliance
port k2_plc_cl (cricket) board files
fix mobicore drivers by adding them back
fix all warnings that show as errors in the code

DOWNLOADS:
http://goo.im/devs/simonsimons34/k2_cl/Kernels/Sense/SickleKernel-v100-160314.img

Take the .img file and run the following commands

adb reboot bootloader
fastboot flash boot SickleKernelv20-101513.img
fastboot reboot

WARNING: This build has my stage one of a voodoo audio type implementation. The audio at max is VERY loud and can cause damage at prolonged exposure. I am not responsible for any hearing damage; be smart.
 
On the CID issue.

I have actually done that but only have gotten as far as hex editing the mmcblk0p4 partition (where off set 00000210 is SPCS_003 and IMEI number attached to it). It asks to flash a stock recovery and boot. And run a stock ROM

I havent bother putting it back on the phone because i dont know if flashing JMZTaylors ROM or Shinrus Angry Walrus ROM would work for this. Also afraid of bricking it.
 
Good news guys. The kernel is booting now. that's good news in itself. Seems a bit more stable. Going to fix up WiFi and upload and set up gerrit
 

Attachments

  • uploadfromtaptalk1368989510587.jpg
    uploadfromtaptalk1368989510587.jpg
    35.2 KB · Views: 146
I really appreciate what you and all of the other devs are doing in your spare time! Thanks for all of your hard work!
 
Okay guys here is the big moment.
K2_CL kernel can be downloaded here at Directory list

Installation instructions will be in the OP. Wifi works out of the box, just flash the kernel. This is for the Boost Mobile model but the Cricket model is also supported in my source so far. The UL will only be supported once i get the 3.4 kernel going properly. That could be a while though. changelog in the op. Enjoy, and leave feedback benchmarks or whatever you'd like here. Feel right at home
 
Update is now posted Check the op. Changelog updated and instructions to compile and install updated. Kernel source code link updated. Download link updated.
Enjoy!

-Simon
 
@simonsimons34
Can you have a look at this Github Sourcecode
It's from a russian kernel dev and it's working for k2ul and k2u (with and without LTE).
Only thing i'm missing for the moment is overclocking.
Maybe you can build a kernel with oc based on it?
 
I can easily add overclock. I know exactly how. But right now this is not a priority as it is not needed to make the phone useable and is fairly dangerous. Right now my goal is to get a stable kernel going and to create my kernel management app. I will then add overclock. I will also then port 3.4
 
I flashed the updated version 2 last night. My phone doesnt seem to like it too much. lots of freezing up, and the phone dialer is acting wonky. I had to do a reboot in order to make a phone call.
 
Not sure what your issue is I'm running it just fine. You are on boost mobile correct
 
that is correct. aside from those minor issues, everything else seemed perfect. For whatever reason, version 1 was perfect for me. keep up the good work!
 
Could be a memory leak in sense. I've had those before. And misbehaving applications. I'm on the newest build and everything seems to be okay. Side note, who wants the swipe to wake feature. If enough users would like it I may port it over after I get the kernel control app working

Edit:
I am looking for a few people willing to be beta testers of an app for kernel control. This means CPU frequency that its currently using updated live time, setting the clock governors and io sched and anything else you can do with the kernel. As new kernel features get added you will be the first people to receive the update on google play to control new features. I have a lot planned for it just little time right now
 
I am looking for a few people willing to be beta testers of an app for kernel control. This means CPU frequency that its currently using updated live time, setting the clock governors and io sched and anything else you can do with the kernel. As new kernel features get added you will be the first people to receive the update on google play to control new features. I have a lot planned for it just little time right now

Hi.
I'll be happy to help, I have a unbranded k2ul.

Don't hesitate to pm me if I can test something for my version of the One SV.
 
Okay so I decided my next move will be to port the k2ul 3.4 kernel and try to get jb booting properly. So the testers for the app will need to wait a little longer. On a side note those who care
egegyra9.jpg
 
Anyone have a nandroid of the k2_ul Rom? Looking to get it ported. I had it booted at one time.

EDIT: I need the 4g version seems there is a 4g and non 4g version of the k2_ul Rom. The version I had didn't have any 4g options.
 
  • Like
Reactions: i2f
Back
Top Bottom