FORUMS
Remove All Ads from XDA

[DISCONTINUED][UNOFFICIAL] CM-12.1 [22 Nov 2016]

2,873 posts
Thanks Meter: 6,973
 
Thread Closed Email Thread
Announcement from ggow: CM-12.1 for Amazon Fire 7" 2015
IMPORTANT NOTICE
:
As many of you know, the CM-12.1 branch will not be supported in the new LineageOS fork. And many of the new Google security patches are difficult and fiddly to back-port as they are now geared towards Marshmallow and Nougat. So as a result there will be no further updates to this rom.

Instead my focus will now be Fire Nexus ROM for this device.

Also looking at possible ways to get later android versions on the device. Will let you know if there is any progress later.

Thanks for all the support



Code:

/*
 * I am not responsible for bricked devices, dead SD cards, thermonuclear war,
 * or you getting fired because the alarm app failed.
 * Please do some research if you have any concerns about features included
 * in the products you find here before flashing it!
 * YOU are choosing to make these modifications.
 */
Current Progress

updated: 25 Jan 2016

Rules
- Please search the thread before asking questions
- Please try to stay on topic, I know it's not always possible
- Please report bugs here
- Report only one issue per bug report
- When reporting bugs please post a logcat and/or dmesg containing pertinent information regarding the issue...
- Saying something isn't working without proper explanation will not attract any attention.

Prerequisites for Installation
- If you have FireOS 5.0.1 then use Cyanogen Recovery or TWRP Image
- If you have FireOS >= 5.1.1 then use FlashFire 0.50

Fresh Installation from TWRP
- From your recovery perform a Factory Reset
- Flash the ROM File
- Flash Open Gapps - Use either micro, pico or nano
- Do NOT use stock gapps as there is not enough space on the /system partition
- Reboot and enjoy!

- Fresh Installation from FlashFire 0.50
- Click the Red + and choose 'Wipe'
- Ensure System data, 3rd party apps and Dalvik cache are CHECKED
- Click the Red + button and choose 'Flash ZIP/OTA'
- Navigate to and choose the latest Cyanogenmod Zip
- Accept defaults
- Click the Red + button again and choose 'Flash ZIP/OTA'
- Navigate to and choose the latest Open Gapps Zip.
- Accept defaults
- Move "Wipe" to the Top of the order
- Press the big FLASH button.

Upgrading from FlashFire 0.50
- Click the Red + button and choose 'Flash ZIP/OTA'
- Navigate to and choose the latest Cyanogenmod Zip
- Click the Red + button again and choose 'Flash ZIP/OTA'
- Navigate to and choose the latest Open Gapps Zip.
- Accept defaults
- Click the Red + again and choose 'Wipe'
- ONLY tick Dalvik and Cache.
- Press the big FLASH button.

Downloads
*** Please do NOT create any mirrors ***
- CM-12.1 for Amazon Fire 7" 2015 Tablet
- Open Gapps

Source Code
- Device Tree
- Kernel Source: Ford stock kernel, build number update-kindle-global-37.5.6.0_user_560177220

Thanks
- Cyanogenmod
- csolanol
- diegocr
- k4y0z

XDA:DevDB Information
CM-12.1 Amazon Fire 2015, ROM for the Amazon Fire

Contributors
ggow
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: Cyanogenmod

Version Information
Status: Stable

Created 2015-11-15
Last Updated 2017-02-03
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-11-14-23-23-11.jpg
Views:	77122
Size:	36.2 KB
ID:	3542896   Click image for larger version

Name:	Screenshot_2015-11-14-23-22-50.png
Views:	77940
Size:	52.3 KB
ID:	3542897   Click image for larger version

Name:	Screenshot_2015-11-14-23-23-17.png
Views:	77526
Size:	241.4 KB
ID:	3542898  
The Following 319 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
 
 
15th November 2015, 11:30 AM |#2  
ggow's Avatar
OP Senior Member
Thanks Meter: 6,973
 
Donate to Me
More
Clock Release Notes / Changelog
2016-11-22
- Fix Xposed - Needs testing

2016-11-21
- November 2016 AOSP Security Patch Level
- Switch to using lastest FireOS 5.3.2 - update-kindle-global-37.5.6.0_user_560177220 binaries and boot.img
- Fix Video Recorder bug [Cannot connect to camera]
- Fix bug in OMX causing freeze of video

2016-10-21
- October 2016 AOSP Security Patch Level
- Fix x265 video playback - Thanks @jeromeof

2016-09-22
- September 2016 AOSP Security Patch Level

2016-08-10
- August 2016 AOSP Security Patch Level
- Fix audio lag issue in games - thanks @$ideWinder

2016-07-10
- July 2016 AOSP Security Patch Level
- Re-tested exFAT with 32GB Sandisk microsd card and seems to work fine.

2016-06-14
- June 2016 AOSP Security Patch Level
- Added CIFS Support (Instructions here)
- Switch to using lastest update-kindle-37.5.4.4_user_544271020 binaries and boot.img

2016-05-30
- Fix Swipe for stock keyboard
- Added back fix for screen rotation glitch

2016-05-28
- May 2016 AOSP Security Patch Level
- Fixed bug: No way back from USB Charge Only Mode

2016-04-20
- Updated CM Code

2016-04-11
- Fix sdcard write access

2016-04-06
- Updated CM Code
- 01 April 2016 AOSP Security Patch Level

2016-04-04
- Updated CM Code
- Prevent recovery been overwritten: Modify build system to prevent recovery-resource.dat and recovery-from-boot.p from been generated. This needs testing preferably by people with the ability to boot TWRP.
- Fixed failure to mount /system partition error due to change in build system

2016-03-30
- Enable Bluetooth Low Energy Support

2016-03-29
- Updated CM Code
- Switch to using lastest update-kindle-global-37.5.4.2_user_542168620 binaries and boot.img

2016-03-11
- Updated CM Code
- 01 March 2016 AOSP Security Patch Level
- Updated FlashFire Flashing instructions on OP

2016-02-29
2016-02-19
- Updated CM Code

2016-02-03
- Updated CM Code
- 01 February 2016 AOSP Security Patch Level

2016-01-26
2016-01-20
2016-01-12
- Updated CM Code

2016-01-04
- Enable WiFi Display

2015-12-30-R01
- Fixed bug where FlashFire will fail to go from FireOS -> CM

2015-12-30
- Thanks to @chetta for testing and prompt feedback
- Reverted use of Google's prebuilt WebView for now (Too many issues)
- Clean Flash via TWRP Re-tested
- Google App Tested
- YouTube and NetFlix Re-tested
- Upgrade via TWRP re-tested
- FlashFire FireOS -> CM re-tested

2015-12-29-PM
- Fixed issue with GAPPS and SuperSU been overwritten on upgrade of ROM

2015-12-29-AM
- Fixed bug when using FlashFire where Gapps would not be preserved
- Use Google's Prebuilt WebView
- Update WebView to version 48.0.2564.48
- Updated CM code on 2015-12-29
- Re-tested ROM upgrade via TWRP, CM recovery and FlashFire
- Fixed Flash failure going from FireOS 5.1.1 -> CM
- Re-tested FlashFire functionality going from FireOS 5.1.1 -> CM

2015-12-23
- Fixed ability to use FlashFire to go from FireOS_5.1.1 to CM-12.1
- BLOCK_BASED_OTA is now enabled
- Updated CM code on 2015-12-22

2015-12-16
- Fixed screen-off animation rotation orientation
- Updated CM code

2015-12-11
- Fixed permissions on /system/etc/install-recovery-2.sh
- Implement fix for Play Video - thanks @diegocr

2015-12-10-PM
- Switch to using update-kindle-full_ford-37.5.4.1_user_541112720 binaries and boot.img
- New version of the selinux_permissive.ko module - thanks @k4y0z
- Added /system/etc/install-recovery-2.sh with the same content as /system/bin/install-recovery.sh
- Fixed Built-In Root Access (Privacy Guard)

2015-12-10-AM
- Fix problem with install-recovery.sh been overwritten
- exFAT should now work (was broken in the previous build)
- init.d now initialises correctly
- Enabled built in Root Access
- NuPlayer should now work correctly
- Fixed Camera Support (HDR mode is not working and not supported)
- Fixed Video Recording
- General Video Support should be good now
- I tested Netflix and YouTube

2015-12-09
- Switch to using update-kindle-37.5.2.2_user_522054520 binaries and boot.img
- Add kernel module to switch selinux operational mode to permissive - thanks @k4y0z
- This means SuperSU is now not required and much faster boot times
- Add exfat support
- Enable init.d support - thanks @k4y0z
- Remove GPS configs
- Removed NFC configs
- Removed GPS, telephony and NFC permission files
- Add further properties to disable some SIM/RIL related stuff

2015-12-04
- Fixed USB OTG - thanks @csolanol and @diegocr
- Updated CM Code

2015-12-02
- Fixed Bluetooth Audio
- Updated CM Code

2015-12-01
- Fixed Bluetooth - thanks @diegocr
- Enable Multi-user (5)
- Updated CM Code

2015-11-22
- Enable MTP
- Enable OTG Support
- Add properties to declare device has no radio
- Added configuration item to build for BLOCK_BASED or not.
- BLOCK_BASED build currently not flashing due to symlink error
- Add further config for MTK Bluetooth
- Fixed build errors in lib_driver_cmd_mt66xx private static lib
- Clean up config for WIFI
- Added IPv6 support
- Fixed battery stats - thanks @csolanol for providing the required power_profile.xml

2015/11/16
- This version will boot standalone - no more tethered boot

2015/11/15
- Initial Release
The Following 117 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
15th November 2015, 11:30 AM |#3  
ggow's Avatar
OP Senior Member
Thanks Meter: 6,973
 
Donate to Me
More
Question Frequency Asked Questions
Question 1:
How do I adjust the keyboard sound level?
Answer:
- Go to settings -> Languages & input -> Android Keyboard -> Advanced -> Keypress sound volume
- Then adjust the slider to your preferred level

Question 2:
Why does the screen image seem stretched or distorted?
Answer:
- The actual pixels in the Fire's LCD are not perfectly square
- That causes some distortion. It is particularly noticeable with round icons & when the screen rotates.
- This issue also effects the stock amazon OS as well as all custom roms.
- It is not yet known if this will be fixable in software (my current thinking is probably not)

Question 3:
Why is my brightness slider not working?
Answer:
- Try installing Brightness Level and use it to change brightness. After doing this brightness slider should work fine and you can remove Brightness Level.

Question 4:
When installing Google Play Games and Google Calendar I get error -505?
Answer:
- Install older versions from apkmirror then update from Google Play Store.

Question 5:
How do I use CIFS?
The Following 42 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
15th November 2015, 12:56 PM |#4  
Member
Thanks Meter: 6
 
More
Actual CM12.1 on the Fire 2015? So, a premium device for $50 with CM12.1? Awesome! Might have to pick one up now... I'd guess I don't have to fastboot each time I power on right? Just the first time to get CM/TWRP, then have CM/TWRP install+boot CM12.1, then I can get CM12.1 without fastboot?
The Following 2 Users Say Thank You to bobbob1016 For This Useful Post: [ View ] Gift bobbob1016 Ad-Free
15th November 2015, 01:05 PM |#5  
ggow's Avatar
OP Senior Member
Thanks Meter: 6,973
 
Donate to Me
More
Quote:
Originally Posted by bobbob1016

Actual CM12.1 on the Fire 2015? So, a premium device for $50 with CM12.1? Awesome! Might have to pick one up now... I'd guess I don't have to fastboot each time I power on right? Just the first time to get CM/TWRP, then have CM/TWRP install+boot CM12.1, then I can get CM12.1 without fastboot?

- You will have to fastboot each time
- It's all in the OP including the reasons why this is the case at the moment.
- It's not ideal - but thought I would share what I have so far
- I am looking into solutions for this now.
The Following 7 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
15th November 2015, 01:06 PM |#6  
ggow's Avatar
OP Senior Member
Thanks Meter: 6,973
 
Donate to Me
More
Info 2
- Links are now up
The Following 10 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
15th November 2015, 01:51 PM |#7  
Member
Thanks Meter: 6
 
More
Quote:
Originally Posted by ggow

- You will have to fastboot each time
- It's all in the OP including the reasons why this is the case at the moment.
- It's not ideal - but thought I would share what I have so far
- I am looking into solutions for this now.

Thanks for the hard work!
The Following 4 Users Say Thank You to bobbob1016 For This Useful Post: [ View ] Gift bobbob1016 Ad-Free
15th November 2015, 04:40 PM |#8  
Senior Member
Thanks Meter: 115
 
More
Once booted into CM12.1 we can make general system configuration changes, install apps, etc, correct? And will changes be be retained if we need to reboot (through fastboot)? If so, where will CM12.1 files be stored?
15th November 2015, 05:07 PM |#9  
ggow's Avatar
OP Senior Member
Thanks Meter: 6,973
 
Donate to Me
More
Quote:
Originally Posted by blueberry.sky

Once booted into CM12.1 we can make general system configuration changes, install apps, etc, correct? And will changes be be retained if we need to reboot (through fastboot)? If so, where will CM12.1 files be stored?

- Yes customise as much as you want - all will be retained.
- Your data and OS is stored on the /data and /system partition respectively
- The only thing you have to reload on a reboot through fastboot is the modified_boot.img which won't affect anything else.
The Following 5 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
15th November 2015, 06:41 PM |#10  
csolanol's Avatar
Senior Member
Thanks Meter: 1,361
 
Donate to Me
More
Awesome work @ggow!. @diegocr and me have been working on bring slimrom to this device. We are having some issues with WiFi and bluetooth. Would you mind to share your device and vendor for cyanogen?.
Thanks.
The Following 2 Users Say Thank You to csolanol For This Useful Post: [ View ] Gift csolanol Ad-Free
15th November 2015, 07:05 PM |#11  
ggow's Avatar
OP Senior Member
Thanks Meter: 6,973
 
Donate to Me
More
Quote:
Originally Posted by csolanol

Awesome work @ggow!. @diegocr and me have been working on bring slimrom to this device. We are having some issues with WiFi and bluetooth. Would you mind to share your device and vendor for cyanogen?.
Thanks.

Hi csolanol,

- I am in the process of updating my bibucket with the most recent changes
- Having trouble with bluetooth too.
- Wifi is working fine - I got it working like this:
- put this in your device tree
- then add this to your boardconfig.mk:

Code:
WPA_SUPPLICANT_VERSION := VER_0_8_X BOARD_WPA_SUPPLICANT_DRIVER := NL80211 BOARD_HOSTAPD_DRIVER := NL80211 BOARD_WLAN_DEVICE := mediatek BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_mt66xx BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_mt66xx WIFI_DRIVER_FW_PATH_PARAM:="/dev/wmtWifi" WIFI_DRIVER_FW_PATH_STA:=STA WIFI_DRIVER_FW_PATH_AP:=AP WIFI_DRIVER_FW_PATH_STA:=P2P
- Then add this to your device.mk or equivalent

Code:
# wifi PRODUCT_PACKAGES += \ lib_driver_cmd_mtk
- Do not include the propriertary bin/wpa_supplicant when building otherwise you will get a build error
- Instead copy it into your ROM after building.

- Hope this helps for now.
The Following 4 Users Say Thank You to ggow For This Useful Post: [ View ] Gift ggow Ad-Free
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes