5,598,718 Members 38,447 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Hashcode
Old
(Last edited by Hashcode; 7th December 2013 at 01:17 AM.)
#1  
Hashcode's Avatar
Recognized Developer - OP
Thanks Meter 19661
Posts: 2,922
Join Date: Sep 2011

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

STEP 1: DOWNLOAD TWRP 2.6.3.0 W/ SELINUX .ZIP and UPDATE TWRP(REQUIRED FOR 4.4):
EDIT: @Dees_Troy has an official 2.6.3.1 w/ SElinux support here:
http://techerrata.com/file/twrp2/bla....3.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.6.3.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

OR BETA BUILDS:
Mirror 1: Download (Goo.im)

GAPPS (For Android 4.4/CM11.0 builds):
NEW! http://d-h.st/mDt (Hopefully goo.im will put up official Gapps soon)

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:
  • [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:
  • Wifi is kind of a work in progress. You may have issues connecting initially, try a diff network and then come back to it.
  • The headphone MIC input is not functioning correctly yet. Work in progress.
  • Virtual keyboard input on Jellybean is terrible. Needs a protocol update or something. Fixing. For now use an alternate keyboard like Swype

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 18 hours ago)
  • [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
Attached Thumbnails
Click image for larger version

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

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

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

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

Name:	device-2013-11-25-110225.png
Views:	5111
Size:	75.4 KB
ID:	2414260  

The Following 429 Users Say Thank You to Hashcode For This Useful Post: [ Click to Expand ]
 
Hashcode
Old
(Last edited by Hashcode; 25th November 2013 at 06:23 PM.)
#2  
Hashcode's Avatar
Recognized Developer - OP
Thanks Meter 19661
Posts: 2,922
Join Date: Sep 2011

 
DONATE TO ME
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
The Following 149 Users Say Thank You to Hashcode For This Useful Post: [ Click to Expand ]
 
intersectRaven
Old
#3  
Recognized Developer
Thanks Meter 986
Posts: 1,947
Join Date: Mar 2010

 
DONATE TO ME
FINALLY!

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

*out-of-topic note: 3rd post!
LG Nexus 4 Occam 4.3 CyanogenMod 10.2 - iRom
HTC One 4.3 CyanogenMod 10.2 - iRom
Nexus 7 (2013) 4.3 CyanogenMod 10.2 - iRom

Buy me a beer (or something...)
BitCoin donations accepted:
169j1kriHAtqd64mG5curpVxrxsY92Wi47
The Following 26 Users Say Thank You to intersectRaven For This Useful Post: [ Click to Expand ]
 
animefun135
Old
#4  
Senior Member
Thanks Meter 14
Posts: 156
Join Date: 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: [ Click to Expand ]
 
backspacepc
Old
(Last edited by backspacepc; 10th April 2012 at 01:22 PM.)
#5  
backspacepc's Avatar
Senior Member
Thanks Meter 37
Posts: 275
Join Date: May 2008
Location: Denham Springs

 
DONATE TO ME
Quote:
Originally Posted by animefun135 View Post
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
Found new non-sell out avenues to develop in. Good bye XDA
The Following User Says Thank You to backspacepc For This Useful Post: [ Click to Expand ]
 
animefun135
Old
#6  
Senior Member
Thanks Meter 14
Posts: 156
Join Date: 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: [ Click to Expand ]
 
Leoisright
Old
#7  
Leoisright's Avatar
Recognized Developer
Thanks Meter 6817
Posts: 4,750
Join Date: Dec 2010
Location: MN

 
DONATE TO ME
Nice job Hashcode.

Sent from my PG86100 using Tapatalk
Device: Samsung Note 2 and Samsung Nexus 10
ROM: Synergy, rooted 4.3 w/note 3 mods
Kernel: Stock

Nexus 10 Developement
 
AlexDeGruven
Old
#8  
Senior Member
Thanks Meter 212
Posts: 687
Join Date: Mar 2008
Location: Ann Arbor
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: [ Click to Expand ]
 
Hashcode
Old
#9  
Hashcode's Avatar
Recognized Developer - OP
Thanks Meter 19661
Posts: 2,922
Join Date: Sep 2011

 
DONATE TO ME
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: [ Click to Expand ]
 
BrooksBlood
Old
(Last edited by BrooksBlood; 10th April 2012 at 11:47 PM.)
#10  
BrooksBlood's Avatar
Senior Member
Thanks Meter 18
Posts: 148
Join Date: Apr 2012
Location: Goodyear Az
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
Developing is fun when you've had something to drink The frustration you obtain is hilarious!

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes