Related
WARNING KNOW WHAT YOU ARE DOING BEFORE ATTEMPTING THIS, IF YOU DON'T UNDERSTAND WHAT IS BEING TALKED ABOUT HERE YOUR BEST TO LEAVE IT ALONE
This is a Vibrant kernel/recovery image that includes EXT2/3/4 support as well as init.d support for user scripts. Everything works as expected Wifi/GPS/BT etc
This eliminates the race condition as the scripts in init.d run before the default Android services.
You can add any user scripts you want by adding them to the /system/etc/init.d folder e.g "05userscript" They are parsed by order 00 then 01 then 02 etc
BEFORE FLASHING THE KERNEL You must flash the init.d update to add the needed folder and files to boot with this kernel. That is because the completion script sets a prop value telling the default Android services to run. If that prop isn't set you will be sitting at the Vibrant screen forever.
The new init.d updates remove any other versions of busybox and install the correct version and symlinks to take care or the issues people have been having with multiple BB installs. There is a version that has no data to SD script for those that want to run other lag fix's. And then there is one with the data to SD script.
Default CPU frequencies and Overclocked versions available.
OCv4
Clock Drift fixed
Fix scaling bug, performance level was set past end of table on sleep
Scaling enhancement, selectable clock source for GPU
GPU clocked at 222MHz for all speeds except 100MHz, where it matches CPU clock
more up/down threshold changes
Wake Lag improvements
Switched back to "CFQ" for perf reasons over deadline and no-op
BB symlinks removed from ramdisk (to avoid conflict with mods that make their own links to BB)
OCv3
NO MORE WAKE LAG!!!!
Reverted back to OC on boot
up/down threshold adjustments again
rebuilt with crosstool-ng 1.8.0 gcc 4.3.4
OCv2
Extra steps are back. [100/200/400/600/800/1000/1200] YOU MUST use setCPU to up it to 1.2Ghz it is set at 1Ghz default for stability reasons,this CPU is very sensitive to voltage/freq changes. Should be more stable overall then prev build. (Thanks Unhelpful)
up/down threshold adjustments
SCv9
No More WAKE LAG!!
Uncommented FM Radio module in init.rc
SCv8
Conservative/Deadline
SCv7
Ondemand/Deadline are default now in
SCv6
ADB issue resolved.
Busybox issues resolved. Can now update through stericson's BB utility from the market.
OC version available with extra 600mhz and 1200mhz step added (you still have 800, 1000 etc) Linpacks in the 10.0's (Thanks to ivanmmj for the help)
SCv5
Volume rocker fixed
cleaned up RAMDISK
reverted to stock recovery (rev1 had clockwork as the recovery but was having a few issues)
added symlinks for busybox applets
Fully compatible with Clockwork (backups/restore from ROM manager) (no more annoying reboot before Clockwork starts)
INSTRUCTIONS
Note:The new init.d updates install BusyBox for you and create the symlinks. They also remove any other prior version before doing so
1.Choose one of the init.d updates that suites you.
A.
Data and Dalvik init.d-busybox with data to SD update.zip
MD5:0317ae432d2db15e51fd0da2c4d53857
B.
Data and Dalvik init.d-busybox without any lagfix scripts update.zip
MD5:9e720b587188676e7fff2f144433bd23
2.Reboot into recovery and flash this. Once booted check your system/etc dir for the init.d folder and scripts inside before moving forward. If they are there we move on.
3.Download the kernel/recovery image
OCv4 1.2 No Wake Lag/No Time drift
Update.zip (flash through clockwork recovery)
www.justanotherdev.slackdev.com/Kernel-Vibrant-OCv4.zip
MD5:33487d4bec50d123d0bb10843d141723
ODIN Image
www.justanotherdev.slackdev.com/kernel-vibrant-OCv4.tar
MD5:5aae7e5ab08227e1fd4c931c24f678ac
OCv3 1.2 No Wake Lag
kernel-vibrant-OCv3-NG.tar
MD5:1e2ddb9bd9fe4adb0ccc73fa818c63be
OCv2 1.2Ghz with extra steps back in. More aggressive up/down thresholds
kernel-vibrant-oc-ng.tar
BETA OC 1.2Ghz (no added steps for now)
kernel-vibext4-oc1.tar.md5
MD5:d1e26f769406c5d368492855c7b5059e
SCv9 No Wake Lag
kernel-vibrant-SCv9-NG.tar
MD5:0614a8205087a84fe34bbe2c653183a9
SCv8
kernel-vibext4-8.tar.md5
MD5:e9c2a45d89d994c485b8af8e1b1a923c
SCv7
kernel-vibext4-7.tar.md5
MD5:cedbad0273a2dd2a1b2d0a4ed3e89fce
4.Reboot into download mode and use ODIN to flash the kernel. Use the CSC field with no PIT file. This will flash the kernel/recovery
NOTE:You can find ODIN in my other thread here
If you have an EXT2/3/4 partition I used tabbals script (to tired and will be re-writing this shortly) for the mean time to bind your data to the EXT partition or otherwise known as the "EXT hack" for those that want those wondering. If you do not want this script you can remove the 07a2sd script from the init.d folder before flashing the kernel.
Now you can add any user scripts you like to the init.d folder and we dont need to use the "playlogos" hack anymore. This is a work in progress and more tweaks/features will be integrated and updated as they are tested and made available in this thread. I had to give you guys something to mess around with. And a proper way to run user scripts.
Thanks to Unhelpful, supercurio, cyanogen, scepterr, wes garner, Eugene_373 and everyone that helps out in the XDA community!
Sources:
Kernel: T959 source from opensource.samsung.com
Voodoo-fix http://github.com/project-voodoo
OC patch posted below
Enjoy!
Need to revert to the stock kernel??
www.justanotherdev.slackdev.com/kernel-vibrant-stock.tar.md5.tar
MD5:9f89f8c5a6c785ff967806a4ca70906f
Beautiful! now if only we can find a way to flash the kernel from recovery without needing odin.....
anomalous3 said:
Beautiful! now if only we can find a way to flash the kernel from recovery without needing odin.....
Click to expand...
Click to collapse
Agreed. Feel free to use this kernel/recovery in your ROMS just give credit and I'll be more than happy
Also more to come folks just sit tight. This is my hobby and I have to take care of some real life issue ATM...cough ...the woman...cough.
amazing job! thanks for helping calm down the xda addicts. how well does the userinit and apps2sd play with kernel, can we use those files or will they have to modified to work with your kernel?
frank707 said:
amazing job! thanks for helping calm down the xda addicts. how well does the userinit and apps2sd play with kernel, can we use those files or will they have to modified to work with your kernel?
Click to expand...
Click to collapse
Any scripts will work fine just as before. The main difference is that we dont need the "playlogo" hack that was used previously which runs a script called userinit from /system/bin/ now all user scripts will go in /system/etc/init.d/
Now we have this folder (init.d) to store all are user scripts in and gives us the option to choose which runs first according to how they are labeled. Just have a peek inside the init.d folder to see what I'm talking about. Init.d is pretty common on Linux boxes just not Android
Also to be clear this should clear up race conditions as any user scripts in init.d will run before the default Android services.
FYI tabbals scripts is renamed "/system/etc/init.d/07a2sd" (which I should have names d2sd but whatever lol) in this build. Same script so yes the scripts will work just fine
frank707 said:
amazing job! thanks for helping calm down the xda addicts. how well does the userinit and apps2sd play with kernel, can we use those files or will they have to modified to work with your kernel?
Click to expand...
Click to collapse
one of the main purposes of the kernel is to give us a linux-standard place for people to add startup scripts, and to make data2sd possible without trouble, including ext4 which combines most of the speed of ext2 with the stability of ext3.
anomalous3 said:
one of the main purposes of the kernel is to give us a linux-standard place for people to add startup scripts, and to make data2sd possible without trouble, including ext4 which combines most of the speed of ext2 with the stability of ext3.
Click to expand...
Click to collapse
Exactly.
Have fun I'm off to bed for now. I've been running this for 2 days without issues. Please let me know if you find any bugs. WiFi BT and everything else should be working just like the stock kernel I also haven't had one kernel panic yet.
justanothercrowd said:
FYI tabbals scripts is renamed "/system/etc/init.d/07a2sd" in this build. Same script so yes the scripts will work just fine
Click to expand...
Click to collapse
can't wait till take takes off. So is tabbal's script already setup to run automatically as long as i have my ext partition setup?
Im definately +1 for getting rid of odin, Jac do you use github at all ?
frank707 said:
can't wait till take takes off. So is tabbal's script already setup to run automatically as long as i have my ext partition setup?
Click to expand...
Click to collapse
This is correct yes.
bbuchacher said:
Im definately +1 for getting rid of odin, Jac do you use github at all ?
Click to expand...
Click to collapse
I use git/mercurial but not github. I will be creating an account their to share code as people have been requesting it
bbuchacher said:
Im definately +1 for getting rid of odin, Jac do you use github at all ?
Click to expand...
Click to collapse
good to see some Super D/E/F power using this phone. Would I be correct in thinking the main problem with packing the kernel into a boot.img would be the offsets, or do you think we're dealing with something a bit more serious?
Would I have to wipe if I flashed this kernal? Or can this be flashed on top of what I have now and not lose anything?
Goog1e Phone said:
Would I have to wipe if I flashed this kernal? Or can this be flashed on top of what I have now and not lose anything?
Click to expand...
Click to collapse
No Wipe is needed. Make sure you flash the update first though it is a REQUIRMENT for it to boot with this kernel.
justanothercrowd said:
No Wipe is needed. Make sure you flash the update first though it is a REQUIRMENT for it to boot with this kernel.
Click to expand...
Click to collapse
attempted to flash the first zip but init.d folder wasn't created. Wouldn't flash through stock recovery, attempted to flash through cw, will try again and update
The follow error occurs on flash
Code:
E:Can't chown/mod system/etc/init.d/02a2sd
(No such file or directory)
E:Failture at line 7:
set_perm 0 1000 0755 SYSTEM:etc/init.d/02a2sd
Installation aborted.
problem is in script, just edited it, about to try to flash
no dice, no install
davbran said:
no dice, no install
Click to expand...
Click to collapse
EDIT: realized my FTP client wasnt uploading in binary mode which caused some issues.
Re-download the files they have been hashed and double checked.
Enjoy!
Trinity Max is a Kernel for Nexus S running conservative core voltages at each OC level.
Trinity Vmax only differs in extended voltages at each OC level.
I recommend Max, Vmax is if you want to see if you can squeeze out just that last ounce of clock speed and are comfortable with the higher core coltages.
Perfectly fine to use setcpu including screen off profiles below 800MHz. Thanks to coolbho3k's patch that fixes the policies during suspend/sleep and restores the previous on resume.
This is for.Android 2.3.2.or below.
What you get:
Safe Boot to 1.0GHz.
OC Levels of 1.2GHz, 1.3GHz, 1.4GHz, 1.5GHz, 1.6GHz
1000HZ
Voodoo-Sound (Thanks Supercurio)
Low-Freq Sleep Fix (Thanks Coolbho3k)
Build optimizations
Build system tweaks
Ext4 mount fix (aka. Turbo Boost)
Click to expand...
Click to collapse
Trinity-Max-CM7-1.1
Trinity-Max-Bionix-1.1
Trinity-Max-StockRom-1.1
Vmax:
Safe Boot to 1.0GHz.
OC Levels of 1.2GHz, 1.3GHz, 1.4GHz, 1.5GHz, 1.6GHz
Higher Voltages than the Max series Kernels
1000HZ
Voodoo-Sound (Thanks Supercurio)
Low-Freq Sleep Fix (Thanks Coolbho3k)
Build optimizations
Build system tweaks
Ext4 mount fix (aka. Turbo Boost)
Click to expand...
Click to collapse
Trinity-Vmax-CM7-1.2
Trinity-Vmax-cm7-v1.1
Trinity-Vmax-bionix-v1.1
Stock:
Stock Frequencies and Voltages
BFS (Thanks Con Kolivas)
1000HZ
Voodoo-Sound (Thanks Supercurio)
Low-Freq Sleep Fix (Thanks Coolbho3k)
Build optimizations
Build system tweaks
Click to expand...
Click to collapse
Kernel for Stock Roms
Kernel for cm7
Kernel for Bionix NS
Experimental UV Big Bore kernel available: Trinity-UV-108BB-Experimental
------------------------------------------------------------------
BT Trouble? Not in this house!
method of assurance: (lost track who said it first, it's in this thread, thanks)
- switch wifi OFF, switch BT OFF
- update kernel
- FIRST: on reboot switch BT ON
- THEN switch WiFi ON
Can we get an Update.zip ?
and maybe for MoDaCo?
i know youve been waiting for these questions ^^
RinTinTigger said:
Can we get an Update.zip ?
and maybe for MoDaCo?
i know youve been waiting for these questions ^^
Click to expand...
Click to collapse
Yes, you can, later.
Copy/paste on modaco? i could. always forget that nice place for some reason.
Thanks for creating flash zip later.
And i ment a working kernel for the MoDaCo custom rom r3 ^^
RinTinTigger said:
Thanks for creating flash zip later.
And i ment a working kernel for the MoDaCo custom rom r3 ^^
Click to expand...
Click to collapse
What does it need in init.rc to work?
If it does nothing special, it would work anyways, and if it does special stuff, link me to the initrd they use and i can build one with that.
I Will push the modified source to github once i am done, then they can take care of that if i don't before then.
Cool!
Any chance you could post your patches?
here is boot.img. i put the .ko in /system/modules in the ramdisk folder and compiled but still error for wifi. im sure i did it wrong. anyways, its a bootable/flashable img. my phone boots off it.
Code:
fastboot boot oc.img
k0mpresd said:
here is boot.img. i put the .ko in /system/modules in the ramdisk folder and compiled but still error for wifi. im sure i did it wrong. anyways, its a bootable/flashable img. my phone boots off it.
Code:
fastboot boot oc.img
Click to expand...
Click to collapse
Also contains the ext4 optimizations? /hope
I feel the need, the need for speed!
EDIT: And is this only for the stock kernel, or will it work on CM7?
yes, has ext4 mod.
Not booting on MoDaCo r3 :/
So basically just push the .ko and boot the zImage in fastboot?
What is the purpose of the line that's being added to the build.prop?
mortzz said:
So basically just push the .ko and boot the zImage in fastboot?
What is the purpose of the line that's being added to the build.prop?
Click to expand...
Click to collapse
That's all it is.
You can run neocore without it and if you don't hit 65fps, it's still needed.
On the vibrant it still limits the results even if kernel is capable of more.
Why 68? It's what quadrant reports for refresh, and no need to go above that.
k0mpresd said:
here is boot.img. i put the .ko in /system/modules in the ramdisk folder and compiled but still error for wifi. im sure i did it wrong. anyways, its a bootable/flashable img. my phone boots off it.
Code:
fastboot boot oc.img
Click to expand...
Click to collapse
Put the module into system/modules/ inside the update.zip's skeleton
copying SYSTEM, I can modify it to do that if needed.
Now I wonder if mkbootimg actually likes me or not. I wasted so much time on mkbootimg in the beginning, I'm simply staying clear of it right now..
haha, now I get it, not a update.zip
you'd have to modify init.rc to copy it over, which I might add to reduce the number of steps needed
Btw, I'll add /data mount options next time, I tried them after I built this.
Quadrant advanced shows a nice difference obviously, I'll include it in the way shown on the ext4 thread.
Torn between tweaking this more and first flashing somb's alpha rom and trying this with it.
Mine locks up whenever I run Neocore. I guess my phone isn't stable
success!
here is bootable boot.img that will install correct bcm4329.ko and build.prop.
test:
Code:
fastboot boot oc_final.img
or flash:
Code:
fastboot flash boot oc_final.img
edit: whoops, typo.
mortzz said:
Mine locks up whenever I run Neocore. I guess my phone isn't stable
Click to expand...
Click to collapse
Neocore was always my problem child with froyo kernel, I was overjoyed running multiple runs without issues.
This is only a first version, we can push voltages later. And make this available for more phones.
DebauchedSloth said:
Cool!
Any chance you could post your patches?
Click to expand...
Click to collapse
I said I'll push it to github when I'm done.
Right now I just need feedback to get a better idea about reliability.
morfic said:
Neocore was always my problem child with froyo kernel, I was overjoyed running multiple runs without issues.
This is only a first version, we can push voltages later. And make this available for more phones.
Click to expand...
Click to collapse
Yeah, it locks up in nenamark and playing 3D heavy games too.
Awesome, thanks! I'd be disappointed if my phone couldn't take a mild overclock.
this should be a one-click install to install your zimage with correct files.
download, extract, run overclock.bat. only for windows.
k0mpresd said:
success!
here is bootable boot.img that will install correct bcm4329.ko and build.prop.
test:
Code:
fastboot boot oc_final.img
or flash:
Code:
fastboot flash boot oc_final.img
edit: whoops, typo.
Click to expand...
Click to collapse
This only for stock rom? CM7?
Hi Guys,
I have miui andy's rom 2.8.10 ics. With previous kernel 1.0.3 everything was good. Then i flashed last 1.1.0 and the problem I have is that some change I make with devil kernel manager or config app doesn't work after a reboot. I mean that scheduler and governors changes work Just until Next phone restart. After that they come back to default settings.
I read something and tried to use a script manager to navigate to /sbin and run boot-patch.sh as root but it says " sh : no applet found ".
Is it maybe a problem of version 1.1.0? I flashed it twice after a full wipe and a kernel cleaning. Please help me
Thanks
NEXT 2.1.8 placeholder: http://forum.xda-developers.com/showpost.php?p=51678768&postcount=2513
STOP! This kernel supports ONLY Samsung Jelly Bean 4.1.x, 4.2.2, CM 10.1.x, 10.2, and 11.0. It won't work on ICS, CM 9, CM 10.
FOR NOW I FORBID ANYONE ELSE REUSE THIS STILL IN DEVELOPMENT DUAL BOOT PROJECT FOR HIS/HER OWN GALAXY TAB 2 PROJECT!
STOP PRESS:
NEXT 2.x separated in two package: the kernel part as blackhawk-next-kernel-2.x-p31xx.zip and the proprietary binaries part as proprietary-vendor-samsung.zip for JB >= 4.2 and proprietary-vendor-samsung-4.1.x.zip for JB 4.1.x .
Flash the kernel part first and then directly the proprietary binaries part! Flash the appropriate proprietary part on both 1st and 2nd ROM!
Sources:
Kernel sources at http://github.com/kumajaya/android_kernel_samsung_espresso10/tree/cm-10.2-update
Features:
Samsung stock 4.1.x, 4.2.2 (since 1.8), CM 10.1.x and CM 10.2 (since 1.7) support with a single kernel image
For stock ROM: external SD card - internal media swapper script included
Samsung proprietary exFAT modules are loaded. CM 10.1 exFAT support files attached at post #2
For CM/CM based ROM: auto rotate screen default orientation depend on ro.sf.hwrotation value, camera orientation fix included
Dual-booting. You can have Samsung JB and CM 10.1 ROMs on a single device at the same time.
Nice looking AROMA based boot menu
Using CyanogenMod kernel source, updated to p3110 source for newer WLAN (Youtube HD bugfix on stock ROM), modem, sensors driver, and etc for both P31xx and P51xx target
CPU clock: 300MHz, 600MHz, 800MHz, 1.008GHz, 1.2GHz, 1.35GHz, 1.42GHz, 1.48GHz, and 1.52GHz, locked @ 1.008GHz on boot
GPU clock: 153.6MHz, 307.2MHz, 384MHz, and 512MHz, 307.2MHz as the default maximum clock
CPU voltage control. You can use Android Tuner/System Tuner/Trickster MOD to set CPU voltage
The ramdisk base on JB 4.1.2 (stock ROM) and JB 4.2.2 (CM 10.1)
Using newer PowerVR SGX 540 kernel modules and binaries blob
row, bfq, sio, and vr scheduler support
Governor bug fix. Replace Samsung's interactive governor with default OMAP4 3.0.31 interactive governor from omapzoom.org, plus pegasusq and lulzactive
NFS and CIFS/samba (not loaded by default) filesystem support
LZMA compressed initrd, to keep boot image smaller than 8MB
swap support. zram and cleancache with a working zcache driver, enabled by default
kernel config, insmod configs.ko and then you can access /proc/config.gz
external modem support, for PPP Widget (not loaded by default, P31xx need powered USB hub for external modem)
Some tweaks from gokhanmoral's siyahkernel for S3, passive entropy tweak applied
Remove a lot of debug message from touchscreen driver, display, mmc, modem, etc
linaro arm-linux-gnueabihf- cross compiler, compiler optimization applied
SuperSU v1.41 for stock ROM
Self compiled BusyBox v1.22.0-git in /sbin, config file based on CM's BusyBox bbconfig output. fstrim applet patch applied, android_reboot applet added (a quick but clean port from Android toolbox), swapon applet with priority option. For stock ROM: this version of Busybox will overwrite busybox binary in /system/bin or /system/xbin and save it as busybox.backup
Early boot scripts support (/system/etc/init.d, /data/local/userinit.sh, and /data/local/userinit.d)
Post boot script support (/system/etc/init.post_boot.sh)
For stock ROM: custom boot animation support (/data/local/bootanimation.zip or /system/media/bootanimation.zip if exists, Samsung boot animation as a fallback). If a bootanimation.zip found, the boot sound will be turned off as well as the shutdown animation.
Modified mount options
adb insecure, adb mode in charge state also insecure
Advanced TCP congestion support, westwood as the default congestion
No /system/etc/hosts patch, you can install AdAway from F-Droid
Known Problems:
Thanks To:
gokhanmoral, amarullz, Phil3759, Chainfire, cmenard, codeworkx, imoseyon, coolbho3k, Faux123, AuxLV, CodyF86, poppolo2001
This part will be expanded. Most of the patches I applied are coded by someone else. Please remind me if I forget to give credits to anybody...
Downloads:
PhilZ Touch 5.08.5: http://forum.xda-developers.com/showthread.php?t=2202667
Todo:
More features in NEXT tool
Special Thanks:
@trssho91, @Caldair, @fast96, @Jellydroidkin, @Android-Andi, @nakbaliNe, @Bhaskara Rao, @tsatomas
Downloads Record:
blackhawk-next-kernel-1.0-p31xx.zip: 316
blackhawk-next-kernel-1.1-p31xx.zip: 87
blackhawk-next-kernel-1.1-addon-nooc-p31xx.zip: 41
blackhawk-next-kernel-1.2-p31xx.zip: 503
blackhawk-next-kernel-1.2-addon-nooc-p31xx.zip: 160
blackhawk-next-kernel-1.3-p31xx.zip: 240
blackhawk-next-kernel-1.3-addon-nooc-p31xx.zip: 112
blackhawk-next-kernel-1.4-p31xx.zip: 583
blackhawk-next-kernel-1.4-nooc-p31xx.zip: 294
blackhawk-next-kernel-1.6-p31xx.zip: 380
blackhawk-next-kernel-1.6-nooc-p31xx.zip: 227
blackhawk-next-kernel-1.6.1-p31xx.zip: 180
blackhawk-next-kernel-1.6.1-nooc-p31xx.zip: 90
blackhawk-next-kernel-1.6.2-p31xx.zip: 151
blackhawk-next-kernel-1.6.2-nooc-p31xx.zip: 81
blackhawk-next-kernel-1.5-p31xx.zip: 600
blackhawk-next-kernel-1.5-nooc-p31xx.zip: 304
blackhawk-next-kernel-1.8.1-p31xx.zip: 222
blackhawk-next-kernel-1.8.1-nooc-p31xx.zip: 99
blackhawk-next-kernel-1.8.2-p31xx.zip: 577
blackhawk-next-kernel-1.8.2-nooc-p31xx.zip 321
XDA:DevDB Information
[KERNEL][SINGLE/DUAL][JB/KK][STOCK/CM]blackhawk's NEXT kernel, Kernel for the Samsung Galaxy Tab 2
Contributors
ketut.kumajaya, Android-Andi
Kernel Special Features: Dual boot stock and AOSP based ROM
Version Information
Status: Stable
Current Stable Version: 2.3
Created 2014-09-21
Last Updated 2014-10-11
NEXT 2.x separated in two package: the kernel part as blackhawk-next-kernel-2.x-p31xx.zip and the proprietary binaries part as proprietary-vendor-samsung.zip for JB >= 4.2 and proprietary-vendor-samsung-4.1.x.zip for JB 4.1.x .
Changelog:
21/04/2014 2.2:
Flash-Friendly File System (f2fs) support
Full github commits 8/4 - 20/4/2014: https://github.com/kumajaya/android_kernel_samsung_espresso10/commits/cm-11.0
Update proprietary blobs, proprietary-vendor-samsung-update.zip
02/01/2014 2.1.5 -> 2.1.6:
CM 11.0 support
28/10/2013 2.1.4 -> 2.1.5:
Updated to upstream 3.0.101 kernel
Audit and SELinux enabled
Smartreflex completely disabled
GPU frequencies not exposed to STweaks bug fixed
Do not load exFAT modules on CM 10.2
Full changelog: https://github.com/kumajaya/android_kernel_samsung_espresso10/commits/cm-10.2-update
27/10/2013 2.1.3 -> 2.1.4:
Ramdisk updated to sync with latest CM 10.2
20/10/2013 2.1.2 -> 2.1.3:
Update init script for PAC
Disable almost all kernel debugging support except KALLSYMS. Kernel failed to boot with CONFIG_KALLSYMS disabled
28/09/2013 2.1.1 -> 2.1.2:
Turn all CPUs online when governor gets changed, hotplug bug workaround
SIO and VR I/O scheduler
Initial STweaks support, big thanks @gokhanmoral. Download STweaks app from Play store to access almost all NEXT related settings (CPU governor, frequency, and voltages; GPU governor and frequency limit; surfaceflinger rotation; I/O scheduler; logger; CIFS, Xbox controller, and USB modem support; and dual boot related settings).
22/09/2013 2.1 -> 2.1.1:
Update overclock codes, remove gpu_oc interface: https://github.com/kumajaya/android...mmit/94ac45a10213de400c7bf3c01b5c5b052ae8ba18
sgxfreq: add sysfs interface to store frequency limit: https://github.com/kumajaya/android...mmit/738061b30d2278d3b51b341bc2597dad300f4e47
sgxfreq: limit frequency to default on boot: https://github.com/kumajaya/android...mmit/8a6933cf6565b5587db6a2a5ce7b1207807ab701
The latest Android Tuner app needed to control the modified OMAP GPU control interface but the dirty way by editing /etc/init.post_boot.sh always available
18/09/2013 2.0 -> 2.1:
Separated vendor blobs for JB 4.1.x and JB >= 4.2, @poppolo2001 fix applied
With CPU and GPU overclock, CPU under/over voltage, upstream kernel 3.0.96 by @CodyF86
Complete changelog: https://github.com/kumajaya/android_kernel_samsung_espresso10/commits/cm-10.2-update
02/09/2013 1.8.3 -> 2.0:
Vendor blobs in separated flashable zip, taken from Samsung 4.2.2. Flash proprietary-vendor-samsung.zip directry after flashing NEXT kernel 2.0 on both 1st and 2nd ROM!
Ten seconds boot menu timeout. Boot to the latest booted ROM when timeout periode reached. Finally, my trick works :victory:
Using Samsung P3110 Update1 kernel source: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=p3110 . Patched to comply CM/AOSP need and NEXT dual boot, without SELinux and audit support, gcc linaro compiler. Kernel source: https://github.com/kumajaya/android_kernel_samsung_espresso10/tree/cm-10.2
Samsung open source exFAT kernel modules included, source: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=exfat
Without CPU or GPU overclock
Without extended CPU governor or I/O scheduler
Without swap or zram support
AROMA 2.70 beta 6 binary
13/08/2013 1.8.2 -> 1.8.3:
Samsung 4.2.2: The first attemp to reduce battery draining issue, zram service disabled! You can enable zram (not as a service) by issuing "setprop persist.service.zram 25" over Terminal Emulator or "adb shell". Reboot is required.
CM 10.2: Bluetooth tethering fix from upstream CM 10.2
07/08/2013 1.8.1 -> 1.8.2:
The third attemp to support Samsung 4.2.2 for all device configuration
Vendor blobs in separate flashable zip updated, please re-download it!
06/08/2013 1.8 -> 1.8.1:
The second attemp to support Samsung 4.2.2 for all device configuration
Vendor blobs in separate flashable zip. For all ROMs, on both 1st and 2nd ROM: Flash vendor-blobs-new-ducati-blackhawk.zip directry after flashing NEXT kernel!
Single channel sound output bug fix
05/08/2013 1.7 -> 1.8:
Initial Samsung 4.2.2 support
Updated to upstream Linux kernel 3.0.41 (incremental patch)
https://github.com/kumajaya/android_kernel_samsung_espresso10/commits/cm-10.1-blackhawk 1-2 Aug 2013
The first kernel utilizing the new ducati firmware, the first kernel preserved 815.8MB RAM! Don't forget to flash vendor-blobs-old-ducati-blackhawk-p31xx.zip if you switch to another kernel
01/08/2013 1.6.3 -> 1.7:
Initial CM 10.2 support. Do not flash blackhawk-next-cm-exfat-vold.zip! CM 10.2 already has an open source/reverse engineered exFAT filesystem support
zram switched to zsmalloc, zram optimized for Android disabled
XBox 360 USB controller with BigX LED support enabled (by @iks8 request). Modules not loaded by default, edit /system/etc/init.d/02modules to activate it.
23/07/2013 1.6.2 -> 1.6.3:
Add android_reboot applet to NEXT's busybox (a quick port from Android toolbox) to fix AROMA boot menu fail to boot into recovery/bootloader as reported by @kinung
I hate bug!
22/07/2013 1.6.1 -> 1.6.2:
Hotplug CPU governor working properly with cleancache enabled, zcache memory corruption problem fixed!
21/07/2013 1.6 -> 1.6.1:
Hotplug CPU governor kernel panic bug fix. This governor not working properly with cleancache enabled, cleancache disabled for now
Static linked busybox compiled from source, fstrim patch applied. Busybox config based on CM's busybox bbconfig output. Total 46 more than previous busybox applet, add priority option to swapon applet
zRAM swap per CPU core, same priority value. CM's /system/bin/compcache script updated to handle 2 zRAM devices. Reference: http://wiki.gentoo.org/wiki/Zram
Stock ROM persist.customboot.zram property changed to persist.service.zram, follow CM's standard
Stock ROM default zRAM size changed to 26% RAM size
Swappiness value changed to 90
18/07/2013 1.5 -> 1.6:
LZO compression updated to current upstream version, optimized for arm. Reference: http://git.kernel.org/cgit/linux/ke.../?id=b0af9cd9aab60ceb17d3ebabb9fdf4ff0a99cf50
zRam support optimized for Android, utilizing the new lzo library. Set 18% of RAM as zRam swap file. CM user can use CM's Settings - Performance options.
cleancache support with working Zcache driver, utilizing the new lzo library
entropy threshold tweaks, /dev/random linked to /dev/urandom
github 14-18/07/2013 commits: https://github.com/kumajaya/android_kernel_samsung_espresso10/commits/cm-10.1-blackhawk
11/07/2013 1.4.1 -> 1.5:
Decrease CPU voltage for frequencies below 1.2GHz, increase CPU voltage for frequencies above 1.2GHz
Re-enable MMC_CAP_ERASE for I/O speed improvement, run "fstrim -v /data" and "fstrim -v /cache" manually to TRIM your filesystem or run LagFix (fstrim GUI, download it from Play)
Remove my old hack in cpufreq driver
Newer PowerVR SGX540 3D kernel module and vendor binaries, in sync to CM-10.1. For dual boot user, you must update both 1st and 2nd ROM to renew both ROM vendor binaries!
Change screen_off_max_freq from 1.008GHz to 800MHz, small changes in init scripts
SuperSU v1.41
16/06/2013 1.4 -> 1.4.1:
I/O speed improvement, 1.3 and 1.4 bugfix
SuperSU v1.34 - thanks Chainfire
nooc: Smartreflex class 3 re-enabled, voltage control disabled
small update to disable swap support by default for my "stock based ROM" included
04/06/2013 1.3 -> 1.4:
Selected kernel modules, scripts, and binaries integrated in boot.img, single flash for 1st and 2nd ROM
Kernel compression back to gzip, boot.img compression switched to lzma for better compression (I need more space)
Auto root (for stock)
Auto busybox (for stock)
Auto rotate (for both stock and CM) depend on ro.sf.hwrotation value, camera orientation fix included
External sdcard and internal media swapper script integrated in boot.img (for stock as 1st ROM)
Override init.d CPU governor setting on boot completed (technical reason/by design). Please use an app "on boot" or /etc/init.post_boot.sh to set CPU governor
init script reworked (again), simplified
Standalone nooc version, no longer as an addon for standard NEXT
Untested CRT off animation support
01/06/2013 1.2 -> 1.3:
Updated compiler to the latest linaro gcc 4.7
Better data integrity on both 1st and 2nd ROM
Ramdisk init scripts reworked, inline with the latest Samsung (Taiwan BRI 04/2013) and CM (29/05/2013 nightly)
Inline with P51xx port
Updated exFAT modules (don't know it's better or worse, it's closed source)
Default CPU clock still 1.008GHz, default GPU clock 307.2MHz
1.1 -> 1.2:
Potential bug in sdcard swapper script fixed. Yes, for stock ROM as 1st ROM this kernel still has a script to swap external sdcard - internal media.
SuperSU updated to the latest version (stock ROM).
1.0 -> 1.1:
exFAT filesystem support, stock ROM only for now. I will share separate flashable zip for CM 10.1, when it's ready (broken USB storage support). Please note Dual Boot FAQs #24!
CGROUPS, SLUB, and TRACING support back enabled for exFAT compatibility, Android logger disabled by default to compesated it. You can enable logger by editing /system/etc/init.d/02modules .
No boot menu in single ROM environment.
Change stock ROM init.d script starting point. Earlier than before, same as CM 10.1 now.
Non overclock addon for anyone who is experiencing overheats when using standard NEXT kernel.
Source change: https://github.com/kumajaya/android_kernel_samsung_espresso10/commits/cm-10.1-blackhawk, May 24-26, 2013. A lot of undocumented change in ramdisk side.
exFAT support in CM 10.1
Download and flash blackhawk-next-cm-exfat-vold.zip over recovery
fsck.exfat, mkfs.exfat, vold binaries and all needed libraries taken from Samsung JB 4.2.2 included
USB storage support is broken, you need USB OTG Helper from http://forum.xda-developers.com/showthread.php?t=1588940 as 3rd party USB storage mounter
exfat binaries for exfat support in USB OTG Helper included. So, all USB OTG Helper features (FAT, Ext2/3/4, full NTFS, and exFAT support) enabled
To avoid Dual Boot FAQs #24 issue, flash blackhawk-next-cm-exfat-vold.zip and NEXT kernel of course directly after CM update. For CM 10.1 only!
Download Record:
proprietary-vendor-samsung.zip: 4481
proprietary-vendor-samsung-4.1.x.zip: 1478
Dual Boot FAQs
Dual Boot FAQs
Adapted from droidphile's "Dual Boot FAQs" with permission.
1. "Why would I wanna dual-boot?"
A. You don't have to.
Suppose you're more of an aosp rom fan. But misses the HDMI out, bluetooth hands-free and love sammy camera more. Do a minimal installation of sammy rom and boot into it when in need of these features and use aosp rom otherwise.
Or you are a sammy rom fan but love the responsiveness and pure android feel of aosp roms.
And while you can dual boot two sammy or two aosp roms, it doesn't make any sense.
2. "What if I don't need dual booting?"
A. No issues. Kernel won't force to setup 2 roms. You can single boot as before.
3. "Will dual booting change my bootloader or do any dangerous stuff like setting my phone on fire?"
A. NO. Changes are at kernel and ramfs level only. Some space in your internal sd card is used, and also the unused hidden partition mmcblk0p11 is used to store cache of second rom. Dual booting doesn't repartition the filesystem or perform anything scary.
4. "I want to setup dual booting."
A. There are four situations:-
1) Sammy rom now. Want to use aosp as secondary.
2) Sammy rom now. Want to use aosp as primary.
3) Aosp rom now. Want to use sammy as secondary.
4) Aosp rom now. Want to use sammy as primary.
Prerequisites for any setup is
a) Flash latest blackhawk's NEXT kernel
b) Flash new ducati vendor blobs (since 1.8.x)
c) Flash latest PhilZ Touch - blackhawk repack version - recovery
d) Atleast 90% battery left.
e) 2 GB free on internal SD.
f) Some spare time
1) Present sammy, setup aosp as secondary:-
i) Reboot into recovery
ii) Flash blackhawk's NEXT tool, create system.img for CM/CM based ROM and then close it
iii) Reboot into secondary recovery
iv) Flash aosp ROM as 2nd ROM
v) Flash blackhawk's NEXT kernel again
vi) Flash new ducati vendor blobs again (since 1.8.x)
2) Present sammy, setup aosp as primary:-
i) Reboot into recovery
ii) Nandroid backup your current sammy ROM
iii) Flash blackhawk's NEXT tool, create system.img for Samsung stock/stock based ROM and then close it
iv) Reboot into secondary recovery
v) Nandroid restore your sammy ROM as 2nd ROM
vi) Flash blackhawk's NEXT kernel again
vii) Flash new ducati vendor blobs again (since 1.8.x)
viii) Reboot into primary recovery
ix) Flash aosp ROM as 1st ROM
x) Flash blackhawk's NEXT kernel again
xi) Flash new ducati vendor blobs again (since 1.8.x)
3) Present aosp, setup sammy as secondary:-
Same as (1), instead of flashing aosp to second, flash sammy to second.
4) Present aosp, setup sammy as primary:-
Same as (2), instead of flashing aosp to first ROM, flash sammy.
NOTE:
-To dual boot Two Aosp or Two Sammy roms, just follow (1) or (2) (depending on which one of them you want as primary/secondary), just flash Sammy instead of aosp or aosp instead of sammy.
5. "What things should I be taking care off while dealing with dual booting?"
A. - Make sure where you are: in primary or secondary recovery.
6. "How to boot into primary rom?"
A. AROMA based boot menu will help you on every boot.
7. "How to boot into secondary rom?"
A. AROMA based boot menu will help you on every boot.
8. "Is kernel partition shared?"
A. Yes. Same kernel boots both roms.
9. "If I flash another kernel (that doesn't support db) do I lose dual booting?"
A. Yes
10. "I lost dualbooting after flashing another kernel. I didn't do anything to second rom files in sdcard/.secondrom. How can I get db back?"
A. Just flash the latest blackhawk's NEXT kernel, flash new ducati vendor blobs again (since 1.8.x)
11. "Will there be any performance degradation on the rom used as secondary compared to primary?"
A. NO
12. "Will my phone run slow overall because of db?"
A. NO
13. "How to flash a newer version of 1st rom?"
A. As usual, just flash it from primary recovery. Flash blackhawk's NEXT kernel again, flash new ducati vendor blobs again (since 1.8.x)
14. "How to flash newer version of 2nd rom?"
A. Just flash it from secondary recovery. Flash blackhawk's NEXT kernel again, flash new ducati vendor blobs again (since 1.8.x)
15. "Would upgrading 1st or second rom cause other rom to fail on boot?"
A. No. Partitions of other rom are not touched during upgrading.
16. "I miss the recovery I used before, so much.."
A. PhilZ Touch not bad at all.
17. "User apps of 1st rom are automatically available for second rom?"
A. NO. However, if you had backed them up using Titanium Backup or similar apps, just restore apps while on second rom.
18. "I wanna keep separate backup for apps in both the Roms, since I use one Rom for say entertainment and other productivity."
A. Setup different backup directory in Titanium Backup in 1st and 2nd rom.
19. "I don't see STweaks app in second rom."
A. This is blackhawk's NEXT dual boot solution for Galaxy Tab 2, a free implementation of gokhanmoral's Siyah dual boot.
20. "Do I need to anything special before flashing a newer blackhawk's NEXT kernel?"
A. NO. Just flash kernel in primary and secondary recovery. Yes, on both 1st and 2nd ROM. Just flash kernel in recovery - whichever you used to do. Kernel image is copied to the unified kernel partition (since 1.4 version). Flash new ducati vendor blobs (since 1.8.x) on both ROM may be required to ensure vendor blobs match to the kernel
21. "How can I run same STweaks settings of 1st Rom in 2nd Rom?"
A. This is blackhawk's NEXT dual boot solution for Galaxy Tab 2, a free implementation of gokhanmoral's Siyah dual boot.
22. "How do I remove everything related to DB and run single boot again?"
A. In primary recovery, flash blackhawk's NEXT tool and delete 2nd ROM system image. OR delete .secondrom directory in /data/media while on 1st Rom.
23. "If secondrom files are kept in /data/media, will wiping data in recovery erase second rom files?"
A. NO. /data/media is skipped in CWM recovery.
24. "I was using ExFat card on sammy rom without any issues. I have setup dual boot with aosp and now after booting into CM it says microSD card is corrupted."
A. Aosp roms doesn't support ExFat out of the box. The data was corrupted by aosp vold. Even if you boot back to Sammy rom, it still would be corrupted. To recover data, manually mount the card in recovery, copy contents to internal SD and reformat card to a Fat32.
Also try
chkdsk X: /f (where X is the drive letter of microsd), you may be able to copy data.
25. "I read somewhere that both rom data partition use the same space. Doesn't that mean my apps are shared across roms?"
A. NO. It just means they uses same partition. They're still different directories.
1st rom data = /data
2nd rom data = /data/media/.secondrom/data
26. "Will hitting "Boot into Secondary Recovery" in recovery boot menu change my recovery?"
A. NO. It just runs (not flash) an alternate recovery so that you can configure dualboot settings.
27. "How do I backup 1st Rom and 2nd Rom?"
A. To backup 1st Rom, do what you did to backup rom while you were single booting a while ago.
To backup 2nd Rom, use the secondary recovery.
28. "Is there an easier way for dual-boot?"
A. Yes, send your device to me.
29. "DB architecture?"
A. Like you know, every rom has a /data, /system, /cache partition and a kernel to boot.
For primary rom, it's
mmcblk0p10 = /data
mmcblk0p9 = /system
mmcblk0p7 = /cache
And these won't change whether you're single booting or dual booting.
For secondary rom, data and system is stored in internal sd, cache in hidden partition. Note that internal sd in our device is mounted to /data/media.
We have data as a directory, System as an image in data/media/.secondrom. Cache in mmcblk0p11 which is hidden partition and not used otherwise.
- When second rom is booting, second rom data is bind mounted to mmcblk0p10 as /data/
- data/media/.secondrom/system.img partition is mounted as /system.
- mmcblk0p11 is mounted as /cache.
More FAQs will be added and the list will be updated as DB is improved.
Dual Boot Exercises
Exercise I
An example current facts:
ROM: Samsung stock JB 4.1.2
Kernel: blackhawk single kernel
Recovery: PhilZ Touch prior version
Prerequisites step:
Update your kernel to blackhawk's NEXT kernel
Update your recovery to the latest PhilZ Touch - blackhawk repack version - recovery
Download CM latest nightly + GApps zip
~2GB free on internal storage
Dual boot step:
Reboot into recovery
Flash blackhawk's NEXT tool, create system.img for CM/CM based ROM and then close it
Reboot into secondary recovery, make sure you choose "Secondary Recovery"! Make sure you really choose "Secondary Recovery"!!
Flash CM
Flash GApps zip
Reflash blackhawk's NEXT kernel
Reboot into secondary ROM - CyanogenMod!
It's always better if you make a backup before performing all above steps. Do it at your own risk!
Exercise II
An example current facts:
ROM: CM 10.1 latest nightly
Kernel: blackhawk single kernel
Recovery: PhilZ Touch prior version
Have Samsung stock 4.1.2 nandroid backup
Prerequisites step:
Update your kernel to blackhawk's NEXT kernel
Update your recovery to the latest PhilZ Touch - blackhawk repack version - recovery
Nandroid backup your current CM 10.1 ROM
~2GB free on internal storage. I am not sure, depend on your backup data size
CM 10.1 as 2nd ROM:
Reboot into recovery
Flash blackhawk's NEXT tool, create system.img for CM/CM based ROM and then close it
Reboot into secondary recovery, make sure you choose "Secondary Recovery"! Make sure you really choose "Secondary Recovery"!!
Restore CM 10.1 nandroid backup
Format /cache, clean dalvik-cache
Reflash blackhawk's NEXT kernel
Reboot into secondary ROM - CyanogenMod!
Samsung 4.1.2 as 1st ROM:
Reboot into primary recovery, make sure you choose "Primary Recovery"! Make sure you really choose "Primary Recovery"!!
Restore Samsung stock 4.1.2 nandroid backup
Format /cache, clean dalvik-cache
Reflash blackhawk's NEXT kernel
Reboot into primary ROM - Samsung!
Do all above steps at your own risk!
Just opened a new thread for my masterpiece work on Galaxy Tab 2. Enjoy it and don't forget to press my Thanks button
PhilZ Touch attached in post #1 has a "red" on screen navigation bar in secondary recovery to distinguish between primary and secondary :laugh:
08/08/2013: Kernel for stock 4.2.2 Developtment Secret
If you want to build your own kernel for stock 4.2.2, this is the development secrets how to fix CPU frequency jumping to maximum available frequency, how to fix slow graphics issue, how utilize the new ducati firmware and increase the RAM space, how to fix hardware accelerated media problem and how to fix WiFi tethering issue.
Kernel source: http://github.com/kumajaya/android_kernel_samsung_espresso10/tree/cm-10.1-blackhawk
Samsung kernel update: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=p3110
Samsung exFAT source: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=exfat
How to fix CPU frequency jump to maximum available frequency (1.52GHz, overclock version) on boot
Rename /system/lib/hw/power.default.so to /system/lib/hw/power.default.so.bak, copy power.piranha.so from NEXT kernel 1.8.2 package to /system/lib/hw
How to fix slow graphics issue
This solution authored by @codeworkx 8 moths ago but disabled by default: https://github.com/kumajaya/android...mmit/0c6d1a53f1a51b588786b168a48e2566f8a49065 Enabling both FB_OMAP2_VSYNC_SEND_UEVENTS and FB_OMAP2_VSYNC_SYSFS solve this problem
How utilize the new ducati firmware and increase the RAM space
How to fix hardware accelerated media problem
How to fix WiFi tethering issue
If you use above information, proper credit must be given including a clear text about this solution.
21/09/2013: OMAP PowerVR 3D GPU Control
There some interface inside /sys/devices/platform/omap/pvrsrvkm.0/sgxfreq:
frequency interface to access the current GPU frequency (153600000/307200000/384000000)
frequency_list interface to access supported GPU frequencies (153600000 307200000 384000000)
frequency_limit interface to access the GPU maximum frequency limit (default: 307200000). Writeable mean this code inside the pvrsrvkm kernel module, the GPU maximum frequency controllable
governor interface to access the current GPU governor (userspace/on3demand/activeidle/onoff)
governor_list interface to access supported GPU governor (userspace on3demand activeidle onoff)
The upcoming version of Android Tuner (0.10.2) support OMAP GPU controls.
21/09/2013: NEXT 2.0.1
As I mentioned before, I still continued cm-10.2 branch kernel development. This branch is the source code of NEXT 2.0, I've added overclock support but limited at 1.2GHz CPU and 384MHz GPU. OMAP GPU controls support applied as gpu_oc interface replacement. Kernel attached here as blackhawk-next-kernel-2.0.1-p31xx.zip .
Changelog:
Rewriting overclock code: https://github.com/kumajaya/android...mmit/35e0c0455cb7ae4beb50375c5873b328a76a1087
Add sysfs interface to store GPU frequency limit: https://github.com/kumajaya/android...mmit/738061b30d2278d3b51b341bc2597dad300f4e47
Limit GPU frequency to default on boot: https://github.com/kumajaya/android...mmit/8a6933cf6565b5587db6a2a5ce7b1207807ab701
Xpad force feedback support disabled
WARNING: This kernel only for device that can handle 1.2GHz CPU and 384MHz GPU frequency.
ketut.kumajaya said:
Just opened a new thread for my masterpiece work on Galaxy Tab 2. Enjoy it and don't forget to press my Thanks button
Click to expand...
Click to collapse
Now Im very confuse. Which one to use? Im on CM10.1 4.2.2 Lastet update.. GT P3110..which kernel should I install? what is the different between KK and Philz Touch?
Fotonista said:
Now Im very confuse. Which one to use? Im on CM10.1 4.2.2 Lastet update.. GT P3110..which kernel should I install? what is the different between KK and Philz Touch?
Click to expand...
Click to collapse
There is no confusion at all...
Every file you need is in the first post: kernel, tool and Philz. Don't use anything else.
Read the examples. All information is in there...
I don't know about the differences between KK and Philz, but I don't care though... Philz is just great!
Many, many respects to ketut...
Big thanks for your efforts...
Sent from my GT-P3110 using xda app-developers app
Fotonista said:
Now Im very confuse. Which one to use? Im on CM10.1 4.2.2 Lastet update.. GT P3110..which kernel should I install? what is the different between KK and Philz Touch?
Click to expand...
Click to collapse
PhilZ Touch is a recovery image, NEXT kernel is a boot image, KK-Boot discontinued project.
Ketut @ awesome work with awesome guide.. U explained each n every step clearly for freshers.. N BTW do I need to update Blackhawk next kernel to 1.0..if yes, wiping cache n delvk is necessary before flashing? I am asking u cos I Dnt want to be in mess anymore.. I am happily enjoy dual boot environment.. Thanks again for all the effort..
Sent from my GT-P3100 using xda premium
god_creature said:
Ketut @ awesome work with awesome guide.. U explained each n every step clearly for freshers.. N BTW do I need to update Blackhawk next kernel to 1.0..if yes, wiping cache n delvk is necessary before flashing? I am asking u cos I Dnt want to be in mess anymore.. I am happily enjoy dual boot environment.. Thanks again for all the effort..
Sent from my GT-P3100 using xda premium
Click to expand...
Click to collapse
Yes. Fixed the problem when installed CM 10.1 directly as 2nd ROM. No wipe needed.
Please let me ask a question here.
I have already asked in Philz's thread but no answer till now.
Can Philz restore backups made within cwm?
I already have some backups from cwm times and if Philz could restore them that would save me a lot of time. Of course I could just try and see, but that information would be usefull to have before starting in advance.
Please, ketut, any information on that?
Sent from my GT-P3110 using xda app-developers app
dimfil said:
Please let me ask a question here.
I have already asked in Philz's thread but no answer till now.
Can Philz restore backups made within cwm?
I already have some backups from cwm times and if Philz could restore them that would save me a lot of time. Of course I could just try and see, but that information would be usefull to have before starting in advance.
Please, ketut, any information on that?
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
Compatible: http://forum.xda-developers.com/showthread.php?t=2201860
ketut.kumajaya said:
Compatible: http://forum.xda-developers.com/showthread.php?t=2201860
Click to expand...
Click to collapse
Great!
It's a lot of pages. I can't find it right away, but your answer is enough for me! So, they are compatible.
I will try and report if necessary.
Sent from my GT-P3110 using xda app-developers app
This great work Ketut, thanks for giving us easy way to dual boot. Keep up the good job.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Ketut, congrats on your new achievement !
Just one quick question : Can you post all the features (other than dual-boot ability) of this blackhawk-next-kernel on first post ? Or the features are still the same with this :
ketut.kumajaya said:
This is [BOOT IMAGE][GT-P31XX] KK-Boot - Custom boot image for stock 4.1.1/4.1.2 ROM and [KERNEL][GT-P31XX][JB][4.2.2]CyanogenMod 10.1 unofficial kernel 3.0.31 combination, plus cm-10.1-blackhawk commit on github:
Remove Samsung debugging code in ext4 filesystem, inline with omapzoom
Initializing Android USB depending on the rom type, big thanks to gokhanmoral. This is the key of single kernel. Multiboot support not so far, you can reuse my kernel for multiboot (if you can)
Compiler optimizations
Kernel without CGROUPS support
Using SLQB memory allocator
Decrease MPU, IVA, and GPU voltage
Adapt and fix codeworkx's sysfs for controlling pivot mode. This is the key of landscape kernel
Stop the spam from audio driver
An exprimental config, remove a lot of debugging config from kernel: 775MB RAM
Stock JB 4.1.1/4.1.2 ROM: Using a slim version of busybox (from gokhanmoral's ramfs for siyahkernel-sgs3), bash and nano binary, sysrw and sysro script removed. GPU clock @ 384MHz + 2D GPU rendering, stock ROM really need an overclocked GPU.
CM/CM based ROM: As usual, change ro.sf.hwrotation value from 270 to 0 in /system/build.prop will transform your device to landscape mode, a workaround fix for boot animation graphic glitch. GPU clock @ 307MHz + 2D GPU rendering + 16bit transparency + disabled dithering + purging assets allowed
/system/etc/init.post_boot.sh is yours kernel tuning template. But remember, do not force your system too much until you are sure that your device is able to handle it.
Flash this using the latest CWM, CWM Touch, Philz Touch, or TWRP at your own risk!
Click to expand...
Click to collapse
Thank you
distan7 said:
Ketut, congrats on your new achievement !
Just one quick question : Can you post all the features (other than dual-boot ability) of this blackhawk-next-kernel on first post ? Or the features are still the same with this :
Thank you
Click to expand...
Click to collapse
Same kernel, different ramdisk. Thanks for your support :good:
STOP PRESS: Update PhilZ Touch to 5.03.7 http://forum.xda-developers.com/showpost.php?p=39935850&postcount=89!
Oh good news my brother I am happy
Envoyé depuis mon GT-N7100 avec Tapatalk
Couple questions to ketut Please try to answer me - noobie
1) I can flash this for single rom, yes? It should be better than previous version?
2) I can still turn Tab on, press volume down button to boot into CWM?
3) How to turn off the boot menu? (I think I don't need it)
Andrev01 said:
Couple questions to ketut Please try to answer me - noobie
1) I can flash this for single rom, yes? It should be better than previous version?
2) I can still turn Tab on, press volume down button to boot into CWM?
3) How to turn off the boot menu? (I think I don't need it)
Click to expand...
Click to collapse
1. Yes as covered by Dual Boot FAQs. No.
2. Yes.
3. Can not be, maybe the next version. Reboot to recovery and bootloader may be removed for security reasons.
Sandy Kernel v1.9 for 5.0/5.1/6.0
I am keeping short and writing the features i have added so far !
FEATURES :
Changelogs : ( 16/11/2015)
Initial M support
Carries all my previous features and new tweaks from my end
Just flash and have fun. I am sure u will enjoy it on cm13/m !
Changelogs : ( 27/09/2015)
Merged with latest cm amms branch
Should solve all phucking things like bootloop and stuff
Led should work fine including glowing and other nonsense
Elementalx governor added and lazyplug hotplug added ( modified intelliplug and is turned off by default )
Too bored to write other stuff. Just use it and put under trash if u don't like it
Changelogs : ( 24/08/2015)
Intelliplug tweaked with performance boost
Revamp to thermal code ( Device should stay a lot cooler now )
Switched to newer CM source
Interactive governor revamped
Blu-governor ( Simple efficient dynamic freq governor from google and slightly tweaked over )
Much better idle time and in screen battery usage
Removed bricked hotplug and adreno idler
Much more ( Just use to know ! )
Changelogs : (20/07/2015)
Adreno GPU idler ( It's a algorithm for devfreq based Adreno devices which lowers the power consumption while maintaining high-performance )
Added Google's partial resume framework. ( needs some more optimization )
Tuneups to Bricked hotplug
Intelliplug ( Just added for an alternative purpose. You can decide if you want to use it or not )
More tweaks to interactive governor.
Memory hotplug tweaks
Thermal tweaks to control thermal imitation messages
Fs ( filesync ) and mmc fixes
msm mdss improvements and qcrypto fixes.
Some cpufreq enhancements
Various other bug fix enhancements
Changelogs : ( 13/05/2015 )
Frequency lockup possibly working now
Touchboost enhancements
Frandom module missed out in previous build included ( Silly error )
Possibly charging should work fine as v1.3 ( needs more checking )
Arch power enabled
Interactive governor load tweaked
Disable CRC ( improves performance by 30% )
A little tweak to msm_thermal for temparature
Reduced VFS cache pressure
Changelogs : ( 05/05/2015 )
Added bricked hotplug driver by showp1984 ( control the cores the way you want ). Now toggle between how many cores you want to be online while screen on/off
Compiled with latest sabermod gcc 6.0 arm64 toolchain
Kcal control ( Colour control driver by savoca )
Added frandom driver
Added touchboost driver by franco
Slightly tweaked interactive governor
Some optimizations and memory leak fixes
Older versions :
Compiled with Sabermod 4.9 arch64 toolchain
Power suspend ( new PM kernel driver for Android w/o early_suspend .This replaces the existing early suspend driver )
Fast charge ( Highly improved charging time )
FIOPS scheduler ported for Linux 3.10 ( Includes all latest patches of Fiops v2 )
Fsync on/off support
High load average fix
CPU Quiet framework ( This shuts off the cores )
Reduced heat
Deep sleep mode
Instructions :
Download the zip
Reboot to recovery ( TWRP )
Flash the zip
Reboot and have fun
Downloads :
https://www.androidfilehost.com/?fid=24399994186368329
SOURCE
XDA:DevDB Information
SandyKernel, Kernel for the YU Yureka
Contributors
Santhosh M
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2015-11-16
Created 2015-04-21
Last Updated 2016-05-01
Reserved
Screenshots
Thanks buddy I really need this kernel..
Finally!
A custom kernel was what i needed, the new update has been eating away at my battery like crazy! Testing it now! :angel:
differnce between cpu and no cpu
Santhosh M said:
Screenshots
Click to expand...
Click to collapse
hello thanks for making this but will you plz tell us what is differnce between both of your kernal for yureka 5.0.2 cpu and no cpu and which is best on which condition
Support for 5.1
Is this kernal supporting lollipop 5.1 unofficial builds??
Rinku221 said:
Thanks buddy I really need this kernel..
Click to expand...
Click to collapse
Do post reviews.
kane111 said:
A custom kernel was what i needed, the new update has been eating away at my battery like crazy! Testing it now! :angel:
Click to expand...
Click to collapse
Do post reviews
Rehan Sheikh said:
Is this kernal supporting lollipop 5.1 unofficial builds??
Click to expand...
Click to collapse
Read the start of the post. It says for 5.0/5.1
Thanks for Very nice and immediate work bro. I have become your fan. Users are still calling you to rejoin your development thread for Micromax Magnus A117.
Now Review, Battery charging time has decreased to about 2 hours, this is the best thing for me. CPU temp is controlled but I think battery is still heating, means controlled but not as much it should be. O/w everything is fine
Is it compatible with all 5.1 roms.?
Have tried it with cm12.1, works pretty fine there.
Anyone tried it with SOKP?
Yes, working with cm12.1 Lollipop5.1
Difference between CPU quiet and not quiet
Tried to google on what is CPU quiet and not quiet Kernel.
Can anyone explain in simple terms please?
On YU Yuerka Stock CM12 now with TWRP, planning to flash Pac Man Rom with this Kernel, have downloaded with out quiet Kernel
Reboot problem
Hi i flashed sandy kernel with cpuquiet(5.1) on blisspop 5.1
And my phone started restarting every 2mins....
I had to re flash the rom again...
is it possible to flash the kernel by temporarily booting into twrp recovery ???
please help !
Aman dolani said:
please help !
Click to expand...
Click to collapse
As I understand your question, you want to know if twrp can be booted temporarily for flashing kernel.
(Changes done to recovery for booting is temporary & changes done by new kernel is permanent)
Yes Its possible to boot into recovery temporary:
To boot into TWRP temporary:
1) Download ADB,Fastboot drivers https://www.androidfilehost.com/?fid=95916177934556622
2) Download this zip file https://www.androidfilehost.com/?fid=95916177934556116
3) Download TWRP https://www.androidfilehost.com/?fid=95916177934556113
4) open your Internal storage, Create a folder named TWRP ( ignore if already the folder is there ).
Now open TWRP folder and create a folder named "theme".
Now copy the downloaded file ( ui.zip ) into the the theme folder.
The path will be like Internal storage/TWRP/theme/ui.zip
5) Start your phone is fastboot mode.
(Hoping you have already unlocked your bootloader, If not search xda for instructions,
to know oem status open terminal in the folder of that downloaded files & type [fastboot -i 0x1ebf oem device-info])
6) Extract ADB,Fastbootdrivers & TWRP in a folder & run command [fastboot -i 0x1ebf boot recovery_yutwrp64.img]
To Boot into CWM temporary:
1) Download ADB,Fastboot drivers & CWM https://www.androidfilehost.com/?fid=95916177934556622
2) Start your phone is fastboot mode.
(Hoping you have already unlocked your bootloader, If not search xda for instructions,
to know oem status open terminal in the folder of that downloaded files & type [fastboot -i 0x1ebf oem device-info])
3) run command [fastboot -i 0x1ebf boot recovery_cwm.img]
You will be temporarily booted into twrp/cwm :good:
---------- Post added at 06:42 PM ---------- Previous post was at 06:26 PM ----------
[/COLOR]
vu2pmc said:
Tried to google on what is CPU quiet and not quiet Kernel.
Can anyone explain in simple terms please?
On YU Yuerka Stock CM12 now with TWRP, planning to flash Pac Man Rom with this Kernel, have downloaded with out quiet Kernel
Click to expand...
Click to collapse
CPUquiet is a governor much similar to Hotplug but little bit smoother.
It is used to control CPU & GPU frequencies &
Mainly shuts down idle cores to save battery &
Wakes up cores as & when required (when cpu load is increased ).
You can also set on how much load other cores should wake up & sleep.
(using apps like Synapse & Kernel Adiutor )
review after 3 days usage
I'm currently on stock cos12 with sandy's kernel cpuquiet version
What I felt was better
1. Battery charging time is halved, hardly takes 2 hours for 0-100
2. Backup on standby is much better now
3. It's completely stable
What could've been better
1. Performance-there has been quite a fall in gaming performance for me, the kernel is unable to handle a8 on high graphics mode which used to run fluently on stock kernel
2. Apparently there's no way to switch back to stock kernel without a WiFi malfunction, tried your zip, flashify backup and even the fastboot image with no luck
---
Gonna try the no cpuquiet version now
Thanks for developing this kernel!
Review!
Battery charging time is reduced to somewhere around two hours.
The games lag a bit(I'm a fan of csr racing and I must say the loading time has increased!!)
The battery performance is more than the stock but much less than the kitkat(maybe its an OS issue), the phone hardly lasts for a day.
\WiFi hotspot tethering is slower, takes at least 20-30 seconds to turn it on!
One more thing, after sometime the Recent Apps menu does not open at all!(pretty unusual)
Overall the kernel is great, cores shut off automatically, and the device even goes into deep sleep, as mentioned(it didnt do so over the stock kernel on my device).
Now using this kernel with varun's 5.1 build:
it fares pretty nicely, one core is always around 900 mhz while others are off, charging time is the same(about 2 hrs)
battery drains pretty fast when using the phone
phone heats while talking
the performance is NOT low anymore, device runs smoothly
impressive kernel
Santhosh M said:
[KERNEL] [64Bit] Sandy Kernel v1.3 for 5.0/5.1
I am keeping short and writing the features i have added so far !
FEATURES :
Compiled with Sabermod 4.9 arch64 toolchain
Power suspend ( new PM kernel driver for Android w/o early_suspend .This replaces the existing early suspend driver )
Fast charge ( Highly improved charging time )
FIOPS scheduler ported for Linux 3.10 ( Includes all latest patches of Fiops v2 )
Fsync on/off support
High load average fix
CPU Quiet framework ( This shuts off the cores )
Reduced heat
Deep sleep mode
NOTE :
I am giving two builds for users ( With and without cpu quiet ) as i user reviews have been mixed. But both have given good battery backup
If in case the build with Cpu quiet drains your battery flash the other build
Recommended app : TricksterMod app
If in case any lag comes ( during heavy usage ) open trickster app. Specific -> CPUQuiet Power Management -> choose load_stats and press apply. ( This is for users who are on Cpuquiet build )
Instructions :
Download the zip ( If you are on 5.0 choose that zip. Similarly 5.1 users choose 5.1 zip )
Reboot to recovery ( TWRP )
Flash the zip
Reboot and have fun
Downloads :
SandyKernel v1.3 for Yureka Lollipop
SOURCE
XDA:DevDB Information
SandyKernel, ROM for the YU Yureka
Contributors
Santhosh M
ROM OS Version: 5.0.x Lollipop
Version Information
Status: Stable
Stable Release Date: 2015-04-20
Created 2015-04-21
Last Updated 2015-04-21
Click to expand...
Click to collapse
All i can say is " thank u so much for this kernel... The fone is damn faster now.. Using cpu quiet
Trushant said:
As I understand your question, you want to know if twrp can be booted temporarily for flashing kernel.
(Changes done to recovery for booting into twrp is temporary & changes done by new kernel is permanent)
Yes its possible,if you want to keep your old recovery & want to boot into twrp temporarily.
1) Download ADB & Fastboot drivers https://www.androidfilehost.com/?fid=95916177934556622
2) Start your phone is fastboot mode.
(Hoping you have already unlocked your bootloader, If not search xda for instructions,
to know oem status open terminal in the folder of that downloaded files & type [fastboot -i 0x1ebf oem device-info])
3) Download TWRP for Yureka 5.0.2 (if you are on lollipop 5.0.2) & paste it with the downloaded files.
4) run command [fastboot -i 0x1ebf boot twrp.img] (where "twrp" is the name of downloaded twrp image ).
You will be temporarily booted into twrp :good:
shall i boot twrp temporarily and flash this kernel over my stock kernel... i am in stock rom with stock recovery.only rooted. pls adivce thank in advance
Click to expand...
Click to collapse
m_rajaganesh said:
shall i boot twrp temporarily and flash this kernel over my stock kernel... i am in stock rom with stock recovery.only rooted. pls adivce thank in advance
Click to expand...
Click to collapse
Yes you can, I did the same thing with CWM & Sandy Kernel 1.3 is working fine on my device.
If you don't like it, flash Stock kernel https://drive.google.com/file/d/0B0tD0WBS5JtMekdoZVp4QTBpMlU/view?usp=sharing
To boot into TWRP temporary:
1) Download ADB,Fastboot drivers https://www.androidfilehost.com/?fid=95916177934556622
2) Download this zip file https://www.androidfilehost.com/?fid=95916177934556116
3) Download TWRP https://www.androidfilehost.com/?fid=95916177934556113
4) open your Internal storage, Create a folder named TWRP ( ignore if already the folder is there ).
Now open TWRP folder and create a folder named "theme".
Now copy the downloaded file ( ui.zip ) into the the theme folder.
The path will be like Internal storage/TWRP/theme/ui.zip
5) Start your phone is fastboot mode.
(Hoping you have already unlocked your bootloader, If not search xda for instructions,
to know oem status open terminal in the folder of that downloaded files & type [fastboot -i 0x1ebf oem device-info])
6) Extract ADB,Fastbootdrivers & TWRP in a folder & run command [fastboot -i 0x1ebf boot recovery_yutwrp64.img]
To Boot into CWM temporary:
1) Download ADB,Fastboot drivers & CWM https://www.androidfilehost.com/?fid=95916177934556622
2) Start your phone is fastboot mode.
(Hoping you have already unlocked your bootloader, If not search xda for instructions,
to know oem status open terminal in the folder of that downloaded files & type [fastboot -i 0x1ebf oem device-info])
3) run command [fastboot -i 0x1ebf boot recovery_cwm.img]
You will be temporarily booted into twrp/cwm !!