Post Reply

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

OP Hashcode

10th April 2012, 10:47 AM   |  #1  
OP Recognized Developer
Thanks Meter: 22,726
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
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/bla....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
Attached Thumbnails
Click image for larger version

Name:	device-2013-11-25-104216.jpg
Views:	9678
Size:	36.8 KB
ID:	2414224   Click image for larger version

Name:	device-2013-11-25-104123.jpg
Views:	9571
Size:	51.2 KB
ID:	2414225   Click image for larger version

Name:	device-2013-11-25-104159.jpg
Views:	8434
Size:	32.2 KB
ID:	2414226   Click image for larger version

Name:	device-2013-11-25-105945.jpg
Views:	7892
Size:	47.4 KB
ID:	2414259   Click image for larger version

Name:	device-2013-11-25-110225.png
Views:	7857
Size:	75.4 KB
ID:	2414260  
Last edited by Hashcode; 7th December 2013 at 02:17 AM.
The Following 436 Users Say Thank You to Hashcode For This Useful Post: [ View ]
10th April 2012, 10:47 AM   |  #2  
OP Recognized Developer
Thanks Meter: 22,726
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
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
Last edited by Hashcode; 25th November 2013 at 07:23 PM.
The Following 151 Users Say Thank You to Hashcode For This Useful Post: [ View ]
10th April 2012, 11:39 AM   |  #3  
Recognized Developer
Thanks Meter: 1,041
 
1,990 posts
Join Date:Joined: Mar 2010
Donate to Me
More
FINALLY!

I'll see if I can help with power button LEDs.

*out-of-topic note: 3rd post!
The Following 26 Users Say Thank You to intersectRaven For This Useful Post: [ View ]
10th April 2012, 01:56 PM   |  #4  
Senior Member
Thanks Meter: 14
 
156 posts
Join Date:Joined: Nov 2011
Quote:

1. The backlight doesn't sync up well with the screen. Meaning that sometimes when you bootup you won't see anything but a black screen. Once the boot is done, you can hit the power button a few times and eventually the screen and backlight will sync up and you'll get a picture.

I can't even get a picture.
The Following User Says Thank You to animefun135 For This Useful Post: [ View ]
10th April 2012, 02:19 PM   |  #5  
Senior Member
Denham Springs
Thanks Meter: 37
 
275 posts
Join Date:Joined: May 2008
Donate to Me
More
Quote:
Originally Posted by animefun135

I can't even get a picture.

Power button four or five times, and it'll pop up.
Edit: not having the sync issue in HC, hash, do you have the log posted on your site regarding the back light issue? I know its kernel related but 3.2 is a lil more cumbersome, so it could just be OS lag. Are we using 4.0.3 or 4.0.4?
Sent from my MB860 using XDA
Last edited by backspacepc; 10th April 2012 at 02:22 PM.
The Following User Says Thank You to backspacepc For This Useful Post: [ View ]
10th April 2012, 02:42 PM   |  #6  
Senior Member
Thanks Meter: 14
 
156 posts
Join Date:Joined: Nov 2011
Quote:

Power button four or five times, and it'll pop up.

I tried 30+ times.
The Following User Says Thank You to animefun135 For This Useful Post: [ View ]
10th April 2012, 03:03 PM   |  #7  
Recognized Developer
MN
Thanks Meter: 6,902
 
4,832 posts
Join Date:Joined: Dec 2010
Donate to Me
More
Nice job Hashcode.

Sent from my PG86100 using Tapatalk
10th April 2012, 05:02 PM   |  #8  
Senior Member
Ann Arbor
Thanks Meter: 212
 
687 posts
Join Date:Joined: Mar 2008
More
I don't have time at the moment to pull down the sources and poke around for myself, but it sounds like #4 is a script issue of some sort.

Either one of the scripts that needs to fire for shutdown is hanging up, or the output isn't returning properly so that the master script can continue and finish pulling it all down.

If I get a chance tonight, I'll grab the sources and poke around a bit.

I deal with hanging/incorrectly-terminating script **** at work all the time, so now I might even be able to contribute, yay!
The Following 12 Users Say Thank You to AlexDeGruven For This Useful Post: [ View ]
10th April 2012, 08:16 PM   |  #9  
OP Recognized Developer
Thanks Meter: 22,726
 
3,245 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Reserving this for a complete description of the backlight driver/issue and related sources for research.

Sent from my DROID4 using XDA
The Following 17 Users Say Thank You to Hashcode For This Useful Post: [ View ]
11th April 2012, 12:39 AM   |  #10  
Senior Member
Goodyear Az
Thanks Meter: 18
 
148 posts
Join Date:Joined: Apr 2012
More
Hey Hash I wanted to let you know that the charger does work for me. I don't have to boot back into twrp. Don't know if its just me or what but it works.

Edit: Didn't see that you had put its not working well instead off not at all, I'll do some more testing to see if it will give me problems. So far plugged it in about 20 times and its registering the charge.

Sent from my Amazon Kindle Fire using XDA
Last edited by BrooksBlood; 11th April 2012 at 12:47 AM.

Post Reply Subscribe to Thread
Previous Thread Next Thread