[KERNEL][MULTIBOOT GB/ICS/JB][TWRP][CWM][PLAY] Turbo Kernel v3.1

Status
Not open for further replies.
Search This thread

paxChristos

Retired Forum Moderator
Aug 27, 2011
2,032
1,779
37
West Bend
Kernels work on any phone type. Doom's GB kernel (gsm) had wifi issues, other than that, you're good.

Sent from my Xperia Play using xda app-developers app
 

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
Hmm strange, I dunno then. So you (1) flashed the FXP-Turbo boot.img (the original one, not 180 mod), then (2)

Code:
fastboot erase system
fastboot erase userdata
then (3) Installed AOKPlay ROM, and it's just stuck? ADB hasn't started (no logcat possible)?

Is it working on AOKPlay for anyone else?
 

cj360

Senior Member
Oct 24, 2011
1,332
709
Hmm strange, I dunno then. So you (1) flashed the FXP-Turbo boot.img (the original one, not 180 mod), then (2)

Code:
fastboot erase system
fastboot erase userdata
then (3) Installed AOKPlay ROM, and it's just stuck? ADB hasn't started (no logcat possible)?

Is it working on AOKPlay for anyone else?

Yea I'm on the latest aokplay and I restored from nandriod I made with lupus kernel. I wiped system, userdata and no problems here.
 
  • Like
Reactions: CosmicDan

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
Yea I'm on the latest aokplay and I restored from nandriod I made with lupus kernel. I wiped system, userdata and no problems here.

OK then, @T3mpr1x does AOKPlay work with original FXP132 kernel on your R800x?

I have a feeling that AOKPlay needs to be updated with latest CM9 changes, try using original FXP132 kernel because that is what this is based on. Or maybe FXP131 kernel I can't remember... I think 132 has no kernel changes.

EDIT: Heads up, anyone experiencing slowdowns, disable compcache. Fudgeswap is bad. Will remove it next release.
 
Last edited:

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
Turbo1a kernel released.

- Wifi modules will automatically be installed to the system if needed (does some smart checking)
- BFS, BFQ and Fudgeswap removed. They all hurt performance and shouldn't be used (I did a lot of testing)
BFS is a sad story since it took me many days to port :( Basically it's not optimized for Android, it causes thread starvation on many background processes and I noticed very poor/unstable performance with media and sync when using BFS.
- Default I/O scheduler set to CFQ (it's specifically optimized for android and faster than V(R) in most cases)
- New boot logo and Recovery graphics in style of new Turbo UI ROM
- 180MB on /system modified version replaced with 200MB version, needed for new Turbo UI ROM
- Less aggressive dbus_input ramping on intellidemand
 
  • Like
Reactions: sickboyy

Leraeniesh

Senior Member
Aug 1, 2011
2,044
975
Detroit
Turbo1a kernel released.

- Wifi modules will automatically be installed to the system if needed (does some smart checking)
- BFS, BFQ and Fudgeswap removed. They all hurt performance and shouldn't be used (I did a lot of testing)
BFS is a sad story since it took me many days to port :( Basically it's not optimized for Android, it causes thread starvation on many background processes and I noticed very poor/unstable performance with media and sync when using BFS.
- Default I/O scheduler set to CFQ (it's specifically optimized for android and faster than V(R) in most cases)
- New boot logo and Recovery graphics in style of new Turbo UI ROM
- 180MB on /system modified version replaced with 200MB version, needed for new Turbo UI ROM
- Less aggressive dbus_input ramping on intellidemand

Awesome, but could you upload a version with the old boot logo as well?

Sent from my Kindle Fire
 

BuckM

Senior Member
Oct 8, 2011
85
22
Kernel works great, its really nice to have options when it comes to govnrs. Any chance of bringing voltage control to the kernel? I always found this to be the best way of maximizing battery life while maintaining performance; its really the only thing I miss about GB (as doomkernel had this capability).
 

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
Kernel works great, its really nice to have options when it comes to govnrs. Any chance of bringing voltage control to the kernel? I always found this to be the best way of maximizing battery life while maintaining performance; its really the only thing I miss about GB (as doomkernel had this capability).

I'm 90% sure there is already vdd in sysfs.

EDIT: Nope, guess not. I'll think about it, it doesn't really do anything useful and would take a lot of my time. The focus on this kernel is performance and not battery life, so if you want that maybe try a different kernel.

EDIT2: VDD sysfs interface coming in next version :)
 
Last edited:

Zerobarat1

Senior Member
Feb 1, 2011
1,003
59
I'm 90% sure there is already vdd in sysfs.

EDIT: Nope, guess not. I'll think about it, it doesn't really do anything useful and would take a lot of my time. The focus on this kernel is performance and not battery life, so if you want that maybe try a different kernel.

EDIT2: VDD sysfs interface coming in next version :)

When you're saying performance and not battery life I hope you're not saying half a day of juice. Other than that I want to ask you if there are any issues with NeoDroid?
thq you very much
 

crono141

Senior Member
Jan 4, 2011
505
35
West Columbia, SC
I'm confused about the different sized partition message. Does this kernel change partition sizes, and thus everyone needs to run those commands? I'm coming from Mjolnir.
 

Fat_boy555

Senior Member
Apr 3, 2012
1,136
165
Singapore
Samsung Galaxy S4
OnePlus 2
I'm confused about the different sized partition message. Does this kernel change partition sizes, and thus everyone needs to run those commands? I'm coming from Mjolnir.

Those commands only nid to be ran if ur changing the partition size.. Btw the smaller sys partition is for turbo ui.. So there is no need to run those commands.. Unless u want to use turbo ui.

Sent from my Xperia Play using xda premium
 

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
Those commands only nid to be ran if ur changing the partition size.. Btw the smaller sys partition is for turbo ui.. So there is no need to run those commands.. Unless u want to use turbo ui.

Sent from my Xperia Play using xda premium

Yep. The one that says "stock partition sizes" is for all other ROM's, it doesn't touch partition sizes at all.
 

Zerobarat1

Senior Member
Feb 1, 2011
1,003
59
Your kernel rocks bro. I'm using it with FXP 133 and it simply rocks. With medium usage I got 2 days+ of battery life. Right now it's at 65% left and it will probabily die today :p but haven't had this much battery life from this phone from like never
 

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
Your kernel rocks bro. I'm using it with FXP 133 and it simply rocks. With medium usage I got 2 days+ of battery life. Right now it's at 65% left and it will probabily die today :p but haven't had this much battery life from this phone from like never

Ha! That's pretty funny. Are you using intellidemand with any overclock?

The next version will have further tweaks on intellidemand for better battery and hopefully triple buffering, which will be close to a Project Butter port for ICS (will also have a patch ZIP for CM9 based ROM's).
 

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
Nice yep 1.4 max recommended, intellidemand can be unstable at 1.5 in my tests (might just be my phone though).

New version has additional tweaks for better performance AND battery life, fine tuning intellidemand for our hardware. Silky smooth right now :D

Sent from Xperia Play (R800a) with Tapatalk
 

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
New release up.

Code:
 - Intellidemand tweaks - better performance and powersavings (fine-tuning for R800 hardware)
 - zRAM now using "Snappy Compression" by Google. Much faster but slightly worse ratios. I'm using 40% zRAM myself and it's great :eek:

I put the VDD sysfs interface in but it simply doesn't work. Sorry, but I don't know how to do it. If you want to change voltages you'll have to edit the sourcecode and compile yourself.

Now I am working on a JBX/CM10 version.
 
  • Like
Reactions: RiThBo
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 109
    adjgCFM7.png





    Gingerbread support is experimental. Whatever the bug is, don't say it - I already know. I will fix them all when I can.



    Current device support:

    • anzu (Arc) (LT15): Alpha in progress
    • ayame (Arc S) (LT18): Alpha in progress
    • haida (Neo V) (MT11): Alpha in progress
    • hallon (Neo) (MT15): Alpha in progress
    • iyokan (Pro) (MK16): Alpha in progress
    • phoneix (Neo L) (MT25): Supported
    • zeus/zeusc (Play) (R800): Supported
    • Others - No plans, probably never (only HDPI Xperia 2011 devices will be supported by MIUI Australia)


    Full feature list:
    • Early roots in KRsH 2.6.32.9/4.1.C.0.7 kernel. Has changed drastically since first release; additional changes from CosmicDan, FXP and Irii. Stock-based kernel with manual changes/updates for AOSP and JB support - reported my many to have better batterey life and reliability than FXP-based kernels. Also built with Linaro toolchain and uses some Linaro-optimized memory functions.
    • Supports GB, ICS and JB ROM's. Configurable via the "Slot Mode" in the specific slot for the Boot Menu (see next point). AOSP-GB ROM's (e.g. CM7) are not supported.
    • Turbo Boot Menu. Entered by pressing vol-down (acts as a pre-recovery menu). Supports four slots for installing ROM's into - Slots 2-4 are stored on ext2 "image" files inside the /sdcard/turbo/ folder. Powered by the brilliant Aroma Installer GUI by Amarullz - any slot can be changed to your default boot, and each slot's icon and text can be customized :)
    • Tweaks and Mods selection for each slot:
      - TSDX - my own set-and-forget sd-ext script. Ability to share apps between each slot. Can also be uninstalled if desired (for one slot or for all - fully wizard-driven install/uninstall interface).
      - Restore random entropy device - By default, Turbo kernel replaces the /dev/random entropy device with urandom. No need for a seeder - in fact an entropy seeder will do absolutely nothing in this kernel, just sit there feeding entropy to the same device. This option can be toggled to set the default device back to random.
      - Deasec v2 - When enabled, this slot will decrypt "asec" apps on startup. Helps a lot with App2SD/Link2SD users. Original concept by Giovanni Aneloni, rewritten by myself (CosmicDan).
      - Change USB to ### - This option can toggle this slot to force UMS (Mass Storage) or MTP (Media Transfer) mode for USB connections. Please note that some ROM's, e.g. latest CM10 and KXP-JB, have completely disabled UMS in the ROM. Nothing I can do about that.
      - Disable ALS - Enable or Disable the ambient light sensor for this ROM. If a ROM has a "disable ALS tweak" built it, this option will not do anything.
      - Logging Mode - Change the Logging mode from the default to either Disabled or Extended. Disabled can increase performance (but logcat will be unavailable), extended can help with developers. See the option itself in tweak menu for more details.
    • Repair Functions. Inside the Boot Menu > Settings and Tools, the repair function will attempt to fix errors on SDCard and Slot2-4 images, and fix permissions. Default full repair and Advanced selection modes possible.
    • TeamWin Recovery Project. Can also be switched to/from CWM-Recovery in the Boot Menu > Settings and Tools menu. TWRP is recommended though as it's much more advanced and user-friendly. Contains additional fixes thanks to championswimmer, a theme and UI design by myself, plus the "Factory Reset" option will *not* touch the sd-ext partition.
    • Increased RAM capacity (select devices). zeus and phonex (Play/Neo L) have 379MB of RAM total. 720p recording is removed since it is buggy in Jellybean (gives a good chunk of more RAM), and also some of my own kernel tuning to squeeze a bit more (smaller kernel footprint = more RAM for Android). Do not ask for a 720p recording version, it will never happen - use a different kernel if you want it.
    • Expanded /data partition (varies per device). 600MB+ of space on userdata. Please note that your /system ROM must be no larger than 310MB to use this kernel. If you don't know how to check this, contact your ROM author for details and to make their ROM compatible with this kernel - also they can contact me for tips on crushing their ROM size =)
    • Automatic wifi-module. There is no ZIP install required for Wifi module, the kernel init can detect automatically if the wifi module(s) need to be installed. They are located on the RAMDisk (at {root}/modules) and the kernel simply makes a symlink to the .ko files on boot if it needs to (linking is better than copying them).
    • Snappy zRAM compression. I personally don't use zRAM at all because it slows things down (still ain't snappy enough, heh), but "Snappy" zRAM compression by Google is apparently a lot faster than the traditional LZO compression and only a tiny bit worse compression ratio.
    • CPU governors - Intellidemand (default, has my own enhancements for our single-core Snapdragon CPU's - including CPU ramping on touch events ported from "Project Butter"), Lagfree, SmartAssV2, Performance and OnDemand. No, I will not add more governors. More governors = more RAM used by kernel = less RAM for Android.
    • I/O schedulers - SIO (default), deadline and noop. No, I will not add more schedulers. More schedulers = more RAM used by kernel = less RAM for Android.
    • CIFS, TUN/TAP and FUSE support built-in. No modules required.
    • ...did I miss anything? Don't think so.


    Compatibility:

    The kernel has been tested and working on the following ROM's -


    Please report if it works or not for other Jellybean/ICS-AOSP ROM's.



    FAQ/Bugs:


    • Q) When I select "Reboot > Recovery" in my ROM, it boots recovery but there are strange errors!
      A) Yes, this will boot recovery but it won't know which slot to use. I can't fix this sorry, so simply don't use it (just use Vol-Down on normal reboot).
    • Q) My device keeps going into the Boot Menu, even though I never pressed the key to enter!
      A) This is a bootloader thing and is rare, to fix it just enter Recovery (for any slot) and select reboot from there.
    • Q) Camera does not work in my Stock GB or Stock ICS based ROM!
      A) Known issue. I *may* be able to fix camera in Stock ICS ROM's later, but Gingerbread will probably never happen.
    • Q) I get an FC when trying to record video!
      A) Make sure you select 480p for the quality in camcorder settings. Recording only works on ICS-AOSP and JB ROM's with no 720p.
    • Q) My ROM in slot 2/3/4 is bootlooping, or I'm getting FC's all the time!
      A) Your microSD has become corrupted, probably due to a battery pull or an unclean shutdown - and so the Slot images have also been corrupted. Chose the Tools > Repair function in Boot Menu to try and solve it. If not, I'm afraid you'll have to *delete* that slot (a format will not do) and re-create the images. (Note to ROM dev's - best to use Slot 1 for testing/working, since this is the safe slot for battery pulls/adb reboot command).
    • Q) I have a problem with my ROM - I flashed Turbo Kernel and restored my backup with Nandroid.
      A) This is not possible. If you have a Nandroid/TWRP backup from another ROM, it cannot be restored with this kernel. This is because of the custom partitions. The same goes for restoring Turbo Nandroid backups in another kernel (but restoring TWRP backups in another kernel will work fine - as long as userdata is not too big for the new kernel).



    Important info on data safety


    • *Never* unmount/remove SDCard or pull the battery while system is using Slot 2/3/4. But mounting USB Storage or MTP to PC is 100% fine. @Dev's - never use "adb reboot" command, instead use "adb shell reboot" for the safe reboot.
    • Do NOT install a ROM ZIP in Slot 2/3/4 until it is marked "multiboot-aware" by the creator. ROM's that are not Multiboot-aware will format and install to your internal (Slot 1), no matter *what* you do. There are two ways to work-around this:
      1) [Easy, temporary]
      Basic idea is to move the ROM from Slot 1 (Internal) to the new Slot. When you first enter Slot 2/3/4, the wizard to set up the slot begins. You have the option to either create blank system and useredata images, or to copy (clone) it from Slot 1 (Internal). So basically, just install the ROM (e.g. CM9 or CM10) in Slot 1, then you can setup Slot 2/3/4 and chose "Copy from Internal" for system (and userdata if you like). Make sure the new Slot works OK, then you can erase and reinstall whatever on Slot 1.
      2) [Detailed, permanent, ROM makers do this please!] Change the updater-script to use generic mount commands. I encourage all ROM makers to do this, it will still work with other kernels and recoveries fine. For details on the specific script changes needed, refer to this post.
    • Make sure your SDCard is free of errors. If you encounter *any* issues with *any* ROM, do a full Repair in the "Settings and Tools" menu before reporting any issues.
    • For a better detailed, newbie-friendly guide on Multiboot, or for more help, refer to this thread guide. Big thanks to RC fma965 for the guide!


    Downloads/Installation

    Please Nandroid backup before flashing. I am not responsible for any permanent damage or data loss. I try my best not to wreck your stuff though :)

    This kernel uses a custom partition layout. /system size is 310MB and /data size is over 600MB. Flashing this kernel will DESTROY all your userdata and ROM, so backup first! You have been warned!


    1. GSM ONLY - You must have a vendor-unlocked partition layout - this only needs to be done once, if you have flashed my MIUI Australia ROM in the past or an official Neo L FTF, you already have it and can skip this step. If not, flash this full FTF first which is the same as .64 FTF but with the required vendor partition to format the unallocated space (it will completely wipe your phone) - R800i_4.0.2.A.0.62_phoenixvendor.ftf on Google Drive. DevHost mirror here - thanks to fma965
      CDMA ONLY - No need to flash any FTF, it seems R800x already has an unlocked vendor partition.
    2. Ensure your ROM is less than 310MB system size. If you are not sure or don't know how to check, contact your ROM builder.
    3. Download and flash the kernel -
      Mediafire folder for Turbo Kernel
    4. First-time users - Enter Multiboot Menu (Vol-Down key) and go to Internal > Recovery, then format system, data and cache before doing anything else. Very important.
    5. Do not install Google Apps straight after ROM install. You *must* boot the ROM at least once before installing Gapps package!

    If you cannot enter the Boot Menu or Recovery after flashing, you need to flash the FTF first.



    Sources and Changelog

    All sources all on my GitHub (see my sig) in the KRsH kernel (there are a few kernel repo's but the KRsH one with latest update is this one), under "jellybean" branch. TWRP sources are in Team-Win-Recovery-Project repo under "jb-wip" branch (yes, it's TWRP 2.4.1.0+ - I'm just too lazy to branch). CWM sources under android_bootable_recovery.

    Changelog: See this post (same changelog for all devices).
    25
    Thread locked. All development and support for this project is over. Relevant source code, if any, can be found in my GitHub (see my signature). Anyone is free to use this code without permission from me, but be sure to credit other contributors as I always have.

    Thank you and good luck to you all!
    9
    I just tested with FPSe... as you know the dev implemented the touchpad on ICS previously (using onGenericMotionEvent) and the touchpad recognition is fine.

    As the mod uses this method to send the event to the "onTouchEvent", as GB does, then everything is fine with the kernel because the event is reaching the onGenericMotionEvent as it should


    Edit: My app didn't FC with me. It's kind weird

    Other thing, dude:

    Usually, FPSe don't recognize the touchpad if the ALWAYS ACTIVATED behavior is ON. I just tested it, and the touchpad worked OK, even with this option. It'a looks like a framework problem. Probably some fix implementation issue, or maybe something changed in the sources that make the fix don't work anymore... I need to check it


    I don't know what's going on then, touchpad is broken for me. As abdel says it work in Turbo UI (so that's my fault, changed IDC/keymap files) which is OK and only my problem.

    But still, why does activator FC in Turbo UI? Hmm.

    On another note:

    31056697.jpg


    Support for Stock ICS is underway!

    Managed to get MIUI Australia to boot logo - no graphic issues at all, but it's stuck in a bootloop and USB is broken. So I'm working on it :)
    9
    Turbo Kernel r13a2 release

    Here is r13 alpha 2. It's more of a final beta than anything, apart from the known-bugs section below it seems perfect. I highly recommend everyone to try it out and test everything they can - especially CWM functions.

    Changelog:
    Code:
    r13
    ---
    
     - New: Two-stage RAMDisk (easier dev'ing, safer booting) - big thanks to championswimmer for backporting the idea from 2012 series
     - New: Slot 4 added
     - New: Boot Menu completely redone
     - New: Ability to switch Recovery between TWRP or CWM
     - New: Option for custom image sizes in Slot creation
     - New: Boot will detect if SDCard has an error and will launch repair (adds a few milliseconds to boot, don't stress)
     - New: Tweaks and Mods menu - TSDX (Turbo SD-eXt) Install/Remove
     - New: Tweaks and Mods menu - Set urandom as default entropy device (not a seeder) (enabled by default)
     - New: Tweaks and Mods menu - Option to deasec (decrypt) apps on startup, will greatly help with App2SD issues
     - New: Tweaks and Mods menu - Switch ROM between MTP (media) or UMS (mass_storage).
     - New: White LED "thinking" indicators when Multiboot/tweaks is casting its' sorcery
     - Removed: Entropy seeder binary (made obsolete by new urandom device method)
     - Improved: Slot creation now verifies for free space and tells you what space will be left
     - Improved: Reliability of created images (requires new image generation)
     - Improved: ICS-AOSP support (Log spam, Video and GTalk FC's)
     - Improve: [Repair Tool] Fix Permissions will always try to mount sd-ext (fixes sd-ext/Link2SD enabled slots)
    [COLOR=DimGray][B][COLOR=black]TODO[/COLOR][/B] [strike] - Improve: [TWRP] Factory Wipe no longer formats sd-ext (you can do that in another option)[/strike][/COLOR]
     - Improve: [TWRP] Various minor layout things (better spacing and placement to avoid accidental touches)
    [COLOR=DimGray][COLOR=black][B]TODO[/B][/COLOR] [strike] - Fix: [TWRP] Backup and restore supports compressed or uncompressed option again[/strike][/COLOR]
    Known bugs:

    • TWRP can only restore COMPRESSED backups right now. Make sure you select "Use Compression" checkbox when making a TWRP backup! Will be fixed when my Linux machine is repaired.
    • TWRP "Factory Reset" option will erase sd-ext - be careful! Only way to *only* wipe data right now is to do it manually via shell. Final version will have "Factory Reset" button changed to "Wipe Data".
    • ? Please report!



    Download:

    Turbo Kernel r13 alpha 2 via Mediafire

    Apart from the known bugs listed above (and any more found by you guys), this will be the last release before r13 final. Then I will be building the kernel for all Xperia 2011 devices :)


    Upgrading from r12 important info:

    The location for Slot 2+ images has moved. If you want to use your existing slot images, please move them to the "turbo" folder on SDCard (the turbo folder will be created by kernel on first start).
    9
    Re: [KERNEL][JB/ICS][MULTIBOOT][TWRP][CWM][PLAY] Turbo Kernel v2.1

    3.1 will be released in a few hours. Give me some time to update OP.

    Sent from Xperia Play (R800a) with Tapatalk