[ROM/KERNEL] OFFICIAL CM11.0 + 3.0.72 Kernel for Kindle Fire [NIGHTLIES]

Search This thread

Techrecycler

Member
Feb 1, 2008
32
7
Rapid City
Essential Phone
the biggest problem I have with this kernel is battery life, I take the kindle to work or college won't work more than 3 hours. lose more than %25 overnight I had almost 10 hours with stock and even more with cm7
what causes that? is this from kernel?

Use badass battery monitor in market to rule out any persistent apps first. Then try other governers & clock settings.

Sent from my SCH-I500 using Tapatalk 2
 

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
05-26: KERNEL.ZIP #11 IS NOW READY HERE (FLASH IN RECOVERY): http://bit.ly/KTAgj1
md5sum ba1e0ca296645b631954167b74c07bd5
FULL STOCK CM9 ROM AVAILABLE HERE: http://bit.ly/L3LCgP
md5sum 8b3251b824535f2199eb02adc005b94d
- RANDOM REBOOT FIXED. Needs confirmation and testing.
- PowerVR/SGX update: SGX Driver (1.8@869593) with CPCAM support
- Added nls-utf8.ko (external module) for international filesystem support
- Added a bunch of modules for VPN/PPTP/L2TP support (needs testing)
- USB mode changes/cleanup: Mass Storage / ADB


TROUBLESHOOTING FOR USB not being recognized in Windows 7 (while the Kindle is *NOT* plugged into computer):
- Open Device Manager
- Right-click your computer name and select "Show Hidden Devices"
- The top device group should be: Android device(or phone): under it "Android ADB Composite device"
- Right-click on that and select uninstall
- Now plug the Kindle back into the computer and let driver re-install
 

afu1979

Member
Mar 28, 2007
13
1
PPTP VPN

I tried the new kernel and tested my PPTP connection to work. It is still unsuccessful and here is the log output.

Code:
I/keystore(  125): uid: 1000 action: i -> 1 state: 1 -> 1 retry: 4
I/Vpn     (  171): Switched from [Legacy VPN] to [Legacy VPN]
V/LegacyVpnRunner(  171): Waiting
V/LegacyVpnRunner(  171): Executing
D/mtpd    ( 7228): Waiting for control socket
D/mtpd    ( 7228): Received 20 arguments
I/mtpd    ( 7228): Using protocol pptp
I/mtpd    ( 7228): Connecting to *********.*** port 1723 via wlan0
I/mtpd    ( 7228): Connection established (socket = 11)
D/mtpd    ( 7228): Sending SCCRQ
D/mtpd    ( 7228): Received SCCRP -> Sending OCRQ (local = 38913)
I/mtpd    ( 7228): Tunnel established
D/mtpd    ( 7228): Received OCRQ (remote = 59167)
I/mtpd    ( 7228): Session established
I/mtpd    ( 7228): Creating PPPoX socket
F/mtpd    ( 7228): Socket() Protocol not supported
D/dalvikvm( 4107): GC_CONCURRENT freed 331K, 8% free 7370K/8007K, paused 2ms+3ms

I/LegacyVpnRunner(  171): Aborting
I/LegacyVpnRunner(  171): java.lang.IllegalStateException: mtpd is dead
I/LegacyVpnRunner(  171):       at com.android.server.connectivity.Vpn$LegacyVpn
Runner.execute(Vpn.java:569)
I/LegacyVpnRunner(  171):       at com.android.server.connectivity.Vpn$LegacyVpn
Runner.run(Vpn.java:447)
D/dalvikvm(  449): GC_CONCURRENT freed 430K, 10% free 6986K/7687K, paused 3ms+2m
 

Hashcode

Senior Recognized Developer
Sep 3, 2011
3,424
23,730
Yes, the pptp stuff isnt quite working yet. Can you test L2tp or openvpn?

Sent from my DROID4 using Tapatalk 2
 
  • Like
Reactions: artur0588

powerpoint45

Senior Member
Jan 31, 2012
2,465
2,290
Dallas
Good job hash.I just flashed your updated boot loader and kernel. Things seem to be smoother and their is no more shutdown issues.

Sent from my Amazon Kindle Fire using XDA
 
Last edited:

piotr.pot

Senior Member
Jul 1, 2010
90
31
Hello,
Thanks again for your great work Hash. Kernel get better and better every build.

I've got question about charger driver fixing progress. I'm not asking about ETA, just to say few words. Should we look optimistic in future? Or it's looking worse that you think at beginning? Thanks in advance.
 

sthomas38

Senior Member
Feb 9, 2012
695
524
Looks like the new GPU driver makes 3D gaming a lot smoother. Got constant 55 FPS in the FPS part on my latest Quadrant, it was ~40 before, that's really nice.
 

mughalgxt

Senior Member
Sep 15, 2008
455
87
Ajman
USb file transfer leads to tab freeze and screen blacked out, requiring a force restart. This issue has been prevalent for quite a while accross all the updates i believe HAshcode hasn't noticed. It usually occurs while transferring big files > 1 GB with screen suspended. Even the transfer rates are quite slow 1.3MBps compared to 2.6MBps on Factory firmware

Not Sure if its kernel related or Hashcode's CM9 Rom issue.
 
Last edited:
  • Like
Reactions: freefaling

Top Liked Posts

  • There are no posts matching your filters.
  • 434
    STEP 1: DOWNLOAD TWRP 2.7.x.x and UPDATE (REQUIRED FOR 4.4):
    EDIT: @Dees_Troy has an official 2.7.x.x w/ SElinux support here:
    http://techerrata.com/file/twrp2/blaze/openrecovery-twrp-2.7.0.1-otter.img
    Flash with the following adb commands:
    Code:
    adb shell
    su
    idme bootmode 4002
    reboot
    # back in your PC shell
    fastboot -i 0x1949 flash recovery openrecovery-twrp-2.7.0.1-otter.img

    If you have problems with that file and/or don't want to use adb/fastboot flash method, you can download a flashable .zip from the following locations. Use your existing recovery to flash the update:
    Mirror 1: Download (Goo.im)

    BEFORE FLASHING ANDROID 4.4: PERFORM A WIPE + ADVANCED->FORMAT SYSTEM TWRP.

    STEP 2: DOWNLOAD A BUILD OF CM11.0:
    DO NOT USE ART YET. BUGGY AND WILL PROBABLY NEED A DATA WIPE TO RECOVER FROM

    NIGHTLIES:
    http://download.cyanogenmod.org/?device=otter

    GAPPS (Use Version "CM 11" row):
    http://wiki.cyanogenmod.org/w/Gapps

    Older builds are found here:
    http://goo.im/devs/Hashcode/otter/cm10/
    http://goo.im/devs/Hashcode/otter/cm10.1/
    http://goo.im/devs/Hashcode/otter/cm10.2/

    GAPPS (For Android 4.3/CM10.2 builds):
    http://goo.im/gapps/gapps-jb-20130813-signed.zip

    CHANGES:
    • [05/15] More audio updates to fix low-power states (screen off / background music)
    • [11/25] Released updated build for cm11.0
    • [08/12] Kernel updated to 3.0.72 (on par w/ Google/common kernel)
    • [07/30] Updated to CM10.2 build
    • [05/26] Backlight driver update to help w/ SODs
    • [05/24] Sensor updates (includes light sensor now usable in Android OS
    • [05/24] Reverted 2 sound driver commits in the kernel to help w/ headset function -- testing needed.
    • [05/14] New audio driver (WIP)
    • [03/27] Reboot Recovery mode is now fixed
    • [01/17] Updated SGX/PowerVR driver to latest binaries from omapzoom (still showing 1.9@2166536)
    • [01/15] CM10.1 updates + reverted some USB changes in the kernel for sleep testing
    • [01/07] Battery life / sleep improvements
    • [01/06] Update to 3.0.50 kernel
    • [01/06] Update wifi firmware to R5.SP3.06
    • [12/16] Fixed Deep Sleep
    • [12/15] Added multi-profile fix

    CURRENT KNOWN ISSUES:
    • The headphone MIC input is not functioning correctly yet. Work in progress.

    KERNEL FEATURES:
    • [08/12] Mainline version updates to 3.0.72 updated to current with Google's kernel/common
    • [01/06] WLAN Firmware R5.SP3.06
    • [11/07] Updated to SGX/IMG DDK 1.9@2166536 for Android (via omapzoom)
    • [11/07] WLAN Firmware R5.SP3.03
    • [09/05] Updated to SGX/IMG DDK 1.9.RC2@2139099 for Android
    • Based on TI kernel 4AI.1.7 (3.0.31 mainline) which supports 512M memory mapping needed by the Kindle Fire
    • Uses ducati binary from TI based on rpmsg 1.20.5.11 (replaced Archos ducati binary from ICS 4.0.3)
    • Kernel audio: Added a switch device "h2w" which allows the OS to recognize headset plug events and adjust audio capture routes accordingly. Translation: OS can recognize we have a MIC input via headset now. (NOTE: that audio recording is still not working at this time. Tho it is very close).
    • MUCH better standby / sleep function. The device will go inactive for much longer periods of time (80-100 seconds) while still waking up appropriately for wifi events, power button triggers, etc. And this is still going to get even better when I re-implement DPLL cascading and the charger fixes coming later.
    • Many bugfixes pulled down from TI's omapzoom sources.

    RESERVED FOR NOTES

    XDA:DevDB Information
    Official CyanogenMod 11.0 for Kindle Fire 1st Edition, ROM for the Amazon Kindle Fire

    Contributors
    Hashcode
    ROM OS Version: 4.4.x KitKat

    Version Information
    Status: Stable

    Created 2014-05-01
    Last Updated 2014-05-21
    150
    UPDATED 2013-11-25 for CM11.0/CM10.2/CM10.1

    DEVELOPER BUILDING:
    Several patches are outstanding in CM's review so building this from source is currently not an option w/o some Cherry Picks:
    Patch 1: http://review.cyanogenmod.org/#/c/53917/
    Patch 2: http://review.cyanogenmod.org/#/c/54562/

    And I'll be updating more of the cm11.0 gits tonight w/ changes to the build / extract files processes.
    Won't get a decent build till that's all done.



    KNOWN BUGS:
    1. EHCI USB 2.0 isn't able to be add to the kernel w/o it crashing. Need to fix for higher speed USB transfers.
    6. Headset recording via the MIC input jack doesn't work


    DEVS
    BUILDING THIS ROM:

    First, read through Google's Android website about "how to setup a build environment":
    http://source.android.com/source/initializing.html

    Then you can setup the Kindle Fire by doing the following:
    mkdir android
    cd android
    (Use main repo for CyanogenMod 10.2)
    repo init -u https://github.com/CyanogenMod/android -b cm-10.2
    repo sync
    vendor/cm/get-prebuilts
    . build/envsetup.sh && brunch otter
    44
    [09/16] CM10 STOCK + 4AI.1.7 KERNEL [STABLE]
    Download Here
    md5sum: b5746745f62c20ed5f6a2520ca506982

    Changes for 09/16:
    • Charging is now fixed. Including basic OTG support. Test away and I can make tweaks as needed. There may be a bug where adb doesn't restart after OTG devices are enabled.
    • Backlight / Panel driver updated. This was probably causing some of the battery drain.

    EDIT: "now" fixed.

    Enjoy.
    42
    I just wanted to do a quick update:

    Got my new device yesterday, and immediately put twrp, fff 1.4a and ICS on it.

    Should be good to pick up where I left off w/ the kernel now.

    Hope to have a new version in a few days.

    Sent from my Amazon Kindle Fire using Tapatalk 2
    42
    New kernel/ROM based on the 4AI.1.7 release are getting a lot better (IMHO) so I'm probably going to do another kernel/ROM release here soon.

    Here's an update of what's coming in the next release:

    1. Kernel Audio source: Added a switch device "h2w" which allows the OS to recognize headset plug events and adjust audio capture routes accordingly. Translation: OS can recognize we have a MIC input via headset now.
    2. Audio HAL module: updated to TI's latest source to help with #1 and future support for USB audio, etc.
    3. Lights HAL module: removed conflicting battery light operations. The kernel manages the battery light entirely. The OS should almost never do anything with it.
    4. (NEW to JB) Power HAL module: used by the OS for temporarily kicking up the CPU during certain events (using the interactive governor) -- this makes the system more responsive. This feature is also still under development over time and I'll continue to update it.
    5. HW acceleration / graphics buffer system: Completely updated sources from TI for the hwcomposer, libion and other graphics / buffer systems
    6. Along w/ #5 I was able to roll up to the latest PowerVR driver 1.9@2130229 (up from 1.8@945322 in the last build). I noted right off the bat
    less GL issues and smoother game play.

    I may take a night or 2 and continue to play with the MIC settings to see if we can get it working, and that would be the delay in this release (if any).

    But, in general, the build for the Kindle Fire is a getting a lot cleaner (IMHO). And that's always a good thing.


    Still working on:

    - Memory management: I'm still not happy with how the OS is unloading certain processes at times (acore?!), and I'll be working with some of the ROM devs to setup better memory management in this main sources at GitHub. No reason why every dev should need to work that stuff out.
    - MIC function. Getting close, but I need to probably spend 2-3 more nights following audio routes and watching the OS setup the Audio input devices when the headset is plugged in.
    - Charger function. This is the big kahuna. Been a while since I worked on it, probably time to jump back into it.