[EOL][ROM][6.0.1] Unofficial CyanogenMod 13.0 for N7105 - Galaxy Note II N7105 Android Development

[ROM][6.0.1] Unofficial CyanogenMod 13 N7105
NOTICE: Support for this ROM has ended, as I can no longer work on this. Take a look at the other Marshmallow ROMs out there.
Code:
/*
* Your warranty is now void.
*
* 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 this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Working
Graphics
RIL
Wifi
Bluetooth
Sensors
Vibration
Camera
Video Playback
NFC
Audio
Doze
GPS
Ambient Display
Not working/Unknown
Camera occasionally stops working. Reboot to fix or download mediaserver killer and run it.
Data occasionally doesn't work after reboot. Turn airplane mode on and off.
Download
Latest build: 11.03.2016
Older builds: Archive
Gapps: Open Gapps
Installation
Read the FAQ to familiarize yourself with any issues that may come up
Make sure you're using the latest TWRP version (3.0.0)
Download the latest build
If using F2FS, read the F2FS section first
Factory reset in TWRP (Very important! Do not skip)
Flash CM13
Flash Gapps
Reboot
Take a look at the post-install steps. They could fix some errors
For updates, it's OK to dirty flash. If you experience any issues however, it is recommended that you clean flash.
Post-install
Make sure YouTube is really working by playing a video
Enable development settings and enable ADB
If you flashed the Stock gapps package, download this and extract it to /system/app
F2FS
F2FS has been enabled. However, you should not use it unless you know what you are doing. I am not responsible for any data loss or damage that occurs. That being said, it should be OK to use.
YOUR EXISTING DATA WILL BE LOST IF FOLLOWING THESE INSTRUCTIONS. BACK IT UP!
Download this for /data and this for /cache
Flash them in TWRP
Reboot to recovery
Follow the rest of the ROM flashing instructions
Changelog
Changelog: -- 11.03.2016
Synced with CM
Back to my custom repos
Experimental incoming calls fix
Doze reenabled
Accelerometer sensor update
New implementation of Ambient Display: You can now wave your hand to A) show notifications or B) turn on the screen to unlock
Latest kernel updates
Changelog: -- 04.03.2016
Synced with CM
Using upstream smdk4412-common and t0lte repo
Latest kernel updates (supposedly fixes the rotation issues)
Changelog: -- 28.02.2016
Synced with CM
SELinux back to permissive (still causing issues in enforcing)
Changelog: -- 16.02.2016
Synced with CM
F2FS support enabled
Changelog: -- 15.02.2016
Moved Snap building to smdk4412-common
Allow flashlight to have wakelock
Downclock more aggressively (better battery life)
Fix Wifi disconnecting when sleeping
Base for F2FS
Changelog: -- 13.02.2016
Experimental Bluetooth patch
Additional SELinux fixes
Changelog: -- 11.02.2016
Synced with CM
SELinux back to permissive (No more bootloops)
Active Display enabled
Additional Doze stuff
Changelog: -- 08.02.2016
Synced with CM
Removed CM12 chroot hack
Switched to CM's method (with a few minor changes)
SELinux is now enforcing
Changelog: -- 05.02.2016
Synced with CM
Latest security release
Applied latest upstream kernel and system/core changes
Changelog: -- 28.01.2016
Synced with CM
Experimental patch for in call volume
Changelog: -- 25.01.2016
Synced with CM
Switch to BFQ
Boot with noop for faster boot
Changelog: -- 24.01.2016
Synced with CM
Switch to Samsung HAL
Add Snap overlay
Changelog: -- 23.01.2016
Synced with CM
Enabled Doze
Changelog: -- 22.01.2016
Synced with CM
Set SELinux to permissive on stock kernel (should fix the bootloop issues)
Update SELinux policies
Apply additional Netflix patch
Allow ADB on stock kernel
Cleaned up radio access families
Changelog: -- 21.01.2016
Synced with CM (fixes the missing QS tiles)
Fix broken camera
Fix YouTube
Changelog: -- 20.01.2016
Synced with CM
Remove camera2
Test fix for Youtube
Fixed kernel
Changelog: -- 19.01.2016
Synced with CM
Added test code to see if it can stop RIL from crashing
Thanks To/Credits
* CyanogenMod team
* p-an (For the original i9305 RIL code)
* ivan_meler (YouTube and Netflix patches)
XDA:DevDB Information
CyanogenMod 13.0 for N7105, ROM for the Samsung Galaxy Note II
Contributors
PoisonNinja
Source Code: https://github.com/PoisonNinja
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.0.x
Based On: CyanogenMod
Version Information
Status: Stable
Stable Release Date: 2016-03-11
Created 2016-01-20
Last Updated 2016-03-23

Reserved
FAQ:
Root
Enable Developer settings and enable root. You can also flash SuperSU (Beta version) in TWRP, but you'll have to flash it every time you upgrade.
Now on Tap
By default, press and hold the Menu button for Now on Tap. To change it, open Buttons in settings and change the action for the button you want to "Search Assistant"
Wifi Issues
Go to developer settings and turn on "Use Legacy DHCP Client". No longer needed

Reserved
Reporting Bugs
When reporting an issue, please provide the following information:
Device (N7105, i317, 889, etc.)
Build Date (Keep in mind the one in About may not be accurate)
Kernel Build Date
Logcat when the issue occur (http://forum.xda-developers.com/showthread.php?t=1726238)
If it's a random reboot, also provide the following information:
Kernel logs. Run "adb shell su -c cat /proc/last_kmsg > /sdcard/Download/kernel.txt" and grab kernel.txt from the Download folder on your phone
Building CyanogenMod
Follow the instructions https://wiki.cyanogenmod.org/w/Build_for_t0lte until the "Get Prebuilt Apps"
Skip that step and do the next one
Edit roomservice.xml in .repo/local_manifests/ and remove the lines with android_device_samsung_smdk4412-common, android_device_samsung_t0lte, and android_kernel_samsung_smdk4412. It should look like this.
Edit blobs.xml in .repo/local_manifests (create it if it doesn't exist). Edit it so it looks like this.
repo sync --force-sync
Delete any folders if you need to in order to resolve sync errors
Turn on caching
source build/envsetup.sh
brunch t0lte

New build is up.

Build2 is booting up just fine. Will be grabbing all my apps and testing this for the day! Thanks @PoisonNinja!

xxjabberwockxx said:
Build2 is booting up just fine. Will be grabbing all my apps and testing this for the day! Thanks @PoisonNinja!
Click to expand...
Click to collapse
No problem. Remember that Camera won't work. I'll fix it later tonight. Videos also won't work, so if a video tries to play, it will freeze. Just exit the app, and you'll be fine.

Roger that PN...So far, strange thing is that it's not restoring my apps. Poop. Gonna have to download everything manually.

xxjabberwockxx said:
Roger that PN...So far, strange thing is that it's not restoring my apps. Poop. Gonna have to download everything manually.
Click to expand...
Click to collapse
What are you using to restore? Are there any errors? I successfully restored using Titanium Backup.

PoisonNinja said:
What are you using to restore? Are there any errors? I successfully restored using Titanium Backup.
Click to expand...
Click to collapse
oh i was talking about the auto restore google play does... maybe its just the transition from L to M.

New Build
New build is up.
Changes:
Fixed missing QS tiles (CM issue)
Fixed broken camera
Fixed video playback (Not Netflix though)
Synced with latest CM sources
If you want video to work, you MUST factory reset and flash again. Sorry about that.
Also, I'm looking for people to test Netflix for me. I suspect I may need more patches, but I don't have a Netflix account to test.

Downloading and testing. 20160121 right?

gathithow said:
Downloading and testing. 20160121 right?
Click to expand...
Click to collapse
Yup. Be warned, I haven't tested this build with Agni. Flashing it may break YouTube, but I doubt it.

PoisonNinja said:
Yup. Be warned, I haven't tested this build with Agni. Flashing it may break YouTube, but I doubt it.
Click to expand...
Click to collapse
Is necessary flash the boot.img?

gathithow said:
Is necessary flash the boot.img?
Click to expand...
Click to collapse
No. Do not flash the boot.img, as it is from a old build. Link is removed from the main post.

Everything works perfectly ... Thank you for the joy you gave me to have the new version of Android.

diogocpr said:
Everything works perfectly ... Thank you for the joy you gave me to have the new version of Android.
Click to expand...
Click to collapse
No problem.
PS: Agni is confirmed working with the latest build. It doesn't break anything.

I'm unable to boot on the latest build on a i317. I just get a bootloop.

jooprzol said:
I'm unable to boot on the latest build on a i317. I just get a bootloop.
Click to expand...
Click to collapse
Have you clean flashed? Try flashing Agni kernel.

PoisonNinja said:
Have you clean flashed? Try flashing Agni kernel.
Click to expand...
Click to collapse
Yeah, clean flashed. Tried with and without gapps, bootloop both times.
Boots up fine with the Agni kernel.

jooprzol said:
Yeah, clean flashed. Tried with and without gapps, bootloop both times.
Boots up fine with the Agni kernel.
Click to expand...
Click to collapse
Interesting. That should have been fixed with the latest build. Let me know if there's anything else wrong.

Related

[ROM][v500][AOSP][5.1.1] Android 5.1.1 Lollipop - 20151012 - LMY48W (CLOSED)

AOSP - Android 5.1.1 - LMY48W​
This is a build of pure AOSP Android 5.1.x Lollipop, the goal is to have a pure AOSP rom, so it is not the objective of this project to include any functionality that is not native to Android AOSP.
THIS PROJECT WILL NOT HAVE MORE UPDATED​
Download:
ROM: https://www.androidfilehost.com/?fid=24052804347836083
Gapps: http://opengapps.org
Instructions:
Install TWRP (http://forum.xda-developers.com/lg-g-pad-83/orig-development/recovery-official-twrp-t3135886)
Boot into recovery and flash the zip of ROM and Gapps.
For Root flash SuperSU (http://forum.xda-developers.com/showthread.php?t=1538053)
Source:
https://github.com/AdrianoMartins/aosp_manifest
To build from source:
Code:
repo init -u https://github.com/AdrianoMartins/aosp_manifest.git -b android-5.1
repo sync
. build/envsetup.sh
lunch aosp_v500-userdebug
make -j4 otapackage
Credits:
The kernel is base on @ckret, @Rick Roll, @franciscofranco and @fefifofum kernel source.
The device repo for the newer version is based on the @fefifofum source.
Code:
/*
* Your warranty is now void.
*
* 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 this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
XDA:DevDB Information
AOSP Android 5.1 Lollipop, ROM for the LG G Pad 8.3
Contributors
adrianom
Source Code: https://github.com/AdrianoMartins/
ROM OS Version: Lollipop
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Created 2014-11-15
Last Updated 2016-02-07
Changelog:
20151012
Update to 5.1.1_r24 (LMY48W)
Several bug fix patches (see github)
Replace some AOSP apps:
Music by Eleven
MusiFX by AudioFX
Update some AOSP apps:
Browser
Launcher
20150823
Performance Improvement
New Kernel (see github)
Fix some problems
Update to 5.1.1_r10 (LMY48J)
20150719
Performance Improvement
New Kernel (see github)
Fix some problems
Update to 5.1.1_r8 (LVY48C)
20150628
Performance Improvement
20150627
Rebase the system based on @fefifofum repo device
Update blobs, kernel and other packages with many patchs (see github)
Update to 5.1.1_r5 (LYZ28E)
20150614
New Kernel (a merge of LG, @fefifofum, @Rick Roll and a my work, it is based on the Stock Lollipop kernel)
Update some blobs from Stock Lollipop
Update Wifi and Bluetooth configuration and firmware
Add OV5693 Camera Sensor Support (I don't tested this, I need someone to test and report)
Other changes to make use of the new kernel and for optimization
20150604
Build with personal toolchain (Basic the Google Toolchain with Cortex-a15 and others optimization flags)
Small patches to Framework (bugfix)
Boot image Bumped
Update to 5.1.1_r4 (LMY48B)
Enable Strict Aliasing, Mthumb-interwork and Graphite optimization flags
20150422
Update to 5.1.1_r4 (LMY47V)
20150419
Some minor memory leaks fixes
New Kernel:
Revert some changes made in 20150314 version
Build with 4.9 A15 Toolchain
Add graphite and cortex-a15 optimization
20150415
Update to 5.1.0_r5 (LMY47O)
Update Adreno Libs (from Mako 5.1)
20150327
Update to 5.1.0_r3
20150314
General Performance Improvement
New Kernel (performance e memory manager improvements)
Update Adreno Libs
20150311
Update to 5.1 version (LMY47D)
Rebuild with google toolchain (more stable)
20150106
New Kernel - Fix Gamma Calibration
20150104
Wifi Update (fix connection and speed problem)
New Kernel (rebuild with new toolchain and update gpu driver)
Updated adreno blobs (from mako lrx22c)
Optimization
20150101
Build with Sabermod Toolchain (4.8.5 with cortex-a15 optimization)
Build with 03 and some optimization flags specific for cortex-a15
Apply patchs from master repo to fix memory leaks
Tweaks to WiFi and Network config
20141227
Fix GPS
Fix bluetooth on secondary user
Enable silent and airplane mode in power button options
Optimization and small fixes
20141221
Update to 5.0.2 (LRX22G)
Optimization
20141205
Update to 5.0.1
Add off mode charger (now charge when the device is off)
Fix sensor instability (rotation)
Fix clock reset at reboot
Enable init.d scripts
Enable knock-on (thanks to @forfivo for the tip)
Fix Google Account Backup/Restore
20141123
Location fix (only with google service)
Update Adreno drivers
Several internal changes to fix and optimization
20141119
Update to Android_5.0_r7
Fix media playback (Youtube and other)
Enable Multiuser Support
Remove MPDecision & Thermald (test to fix random reboot)
Change installation to work with all recovery
20141116
Update to Android_5.0_r6
Fix Wifi, Bluetooth, Internal Storage, Sensors and other
20141115
First release
Old Versions:
2015-08-23: https://www.androidfilehost.com/?fid=24052804347800184
2015-07-19: https://www.androidfilehost.com/?fid=24052804347777166
2015-06-28: https://www.androidfilehost.com/?fid=24052804347766452
2015-06-27: https://www.androidfilehost.com/?fid=24052804347765783
2015-06-14: https://www.androidfilehost.com/?fid=24052804347759924
2015-06-04: https://www.androidfilehost.com/?fid=24052804347756835
2015-04-22: https://www.androidfilehost.com/?fid=96042739161891521
2015-04-19: https://www.androidfilehost.com/?fid=96039337900114132
2015-04-15: https://www.androidfilehost.com/?fid=95916177934542265
2015-03-27: https://www.androidfilehost.com/?fid=95916177934547199
2015-03-14: https://www.androidfilehost.com/?fid=95916177934541801
2015-03-11: https://www.androidfilehost.com/?fid=95916177934540292
2015-01-06: http://d-h.st/5DAl
2015-01-04: http://d-h.st/IUW
2015-01-01: http://d-h.st/rch
2014-12-27: http://www.mediafire.com/download/33f4u3cw3s2ic8g/aosp_v500-ota-eng.adrianomartins_20141227.zip - (mirror)
2014-12-21: http://www.mediafire.com/download/ucbt5fc5qh74dqn/aosp_v500-ota-eng.adrianomartins_20141221.zip
2014-12-05: http://www.mediafire.com/download/9bp40glnlnapmo2/aosp_v500-ota-eng.adrianomartins_20141205.zip
-
That is great news. I can't really help you, and I can't even flash it 'cause I use my Gpad daily as a productivity device, but I'm definitely rooting for you !
Great work! What kernel are you using as a base?
Edit: btw your zip doesn't work.
Thanks very much for your effort. Looking forward to a full working function rom
Some help
I want to help, what i must to do?
Great News, thanks ?
Pretty awsome! I Will test this and edit on how it goes later
Looking at the nonworking wifi and internal storage is top priority for me.
Edit1: Looks pretty cool Its a chance to preview of the UI and under the hood stuff. Pretty much none of the apps work though except calculator and the browser and a few other stuff
Edit2: When I go to TWRP recovery to flash back my backup it runs openrecoveryscript and reboots. I cant get into TWRP itself. Any suggestions on what to do here?
Bronando said:
Pretty awsome! I Will test this and edit on how it goes later
Looking at the nonworking wifi and internal storage is top priority for me.
Edit1: Looks pretty cool Its a chance to preview of the UI and under the hood stuff. Pretty much none of the apps work though except calculator and the browser and a few other stuff
Edit2: When I go to TWRP recovery to flash back my backup it runs openrecoveryscript and reboots. I cant get into TWRP itself. Any suggestions on what to do here?
Click to expand...
Click to collapse
You are using the 2.7 version of TWRP, right? Try send a "adb reboot recovery" from pc in the moment that recovery start, this restart the recovery and go back to normal recovery.
I recommend use TWRP 2.8.
Is this only for gpe?
Sent from my LG-V500 using XDA Premium 4 mobile app
This is for v500.
Looking Forward For Full Fix!
Wow I thought there would be more support for this rom. Sorry I'm one of the useless ones that can offer no help. Hope the cavalry arrive soon
Sent from my Nexus 4 using XDA Free mobile app
When Google releases code this next week or so, then this project will get a huge bump. Great start so far though. I can feel the enthusiasm.
adrianom said:
Not working:
Wifi, Bluetooth, GPS, Internal Storage, Sensors and other
Click to expand...
Click to collapse
wifi etc. are propably due to new sepolicy
look into the sources of mako and other devices
maybe you can figure it out
https://android.googlesource.com/device/lge/mako/+/android-5.0.0_r6
https://android.googlesource.com/device/lge/mako/+/3370c7953eb2d1559f5c66a2f6010573d7fe9b9a
they put everything into "sepolicy"
bluetooth, wifi, storage. etc.
you have to fix it up for the awifi
ckret said:
wifi etc. are propably due to new sepolicy
look into the sources of mako and other devices
maybe you can figure it out
https://android.googlesource.com/device/lge/mako/+/android-5.0.0_r6
https://android.googlesource.com/device/lge/mako/+/3370c7953eb2d1559f5c66a2f6010573d7fe9b9a
they put everything into "sepolicy"
bluetooth, wifi, storage. etc.
you have to fix it up for the awifi
Click to expand...
Click to collapse
CM Team is working on an universal sepolicy for all qcom devices. For now you need to set selinux as permissive.
https://github.com/victormlourenco/...mmit/5a20f7d373d61672a4ab3bbe7a9111fb3cbe651f
Rick Roll said:
CM Team is working on an universal sepolicy for all qcom devices. For now you need to set selinux as permissive.
https://github.com/victormlourenco/...mmit/5a20f7d373d61672a4ab3bbe7a9111fb3cbe651f
Click to expand...
Click to collapse
ckret said:
wifi etc. are propably due to new sepolicy
look into the sources of mako and other devices
maybe you can figure it out
https://android.googlesource.com/device/lge/mako/+/android-5.0.0_r6
https://android.googlesource.com/device/lge/mako/+/3370c7953eb2d1559f5c66a2f6010573d7fe9b9a
they put everything into "sepolicy"
bluetooth, wifi, storage. etc.
you have to fix it up for the awifi
Click to expand...
Click to collapse
Yes, I am upload a version with some changes to sepolicy and boot set to permissive, I get almost all working.
New Version:
Download: http://www.mediafire.com/download/25u8mp2ixstk6lr/aosp_v500-ota-eng.adrianomartins_20141116.zip
Changelog - 20141116:
Update to Android_5.0_r6
Fix Wifi, Bluetooth, GPS, Internal Storage, Sensors and other
Great initiative, can't wait for lollipop to become "stable" on the g pad!

[CM12][5.0.2][Unofficial][Dior][Stable] Optimized CM 12 for QCOM Redmi Note 4G

Optimized CyanogenMod 12 Android 5.0.2 Lollipop for the Redmi Note 4G(QCOM) brought to you by haoyangw
NOTE: This is for the QCOM variant of the Redmi Note, otherwise known as Redmi Note 4G, and NOT the MTK variant of the Redmi Note. In short, this ROM will NOT work on the MTK variant of Redmi Note 4G
NOTE: GApps is NOT provided, use any GApps package you can find. I would recommend Open GApps for Lollipop(link below).​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We're 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 this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Version Number explanation is in the #2 post, changelog and device tree branches for my github repositories explanation is listed in the #3 post
Comment your reviews below or even better, PM me as I won't be regularly monitoring this thread. Thanks again! You will be listed in the credits too ​
Downloads
ROMs
All ScarletRice builds and addons(AndroidFileHost)
All ScarletRice builds and addons(BasketBuild)
ScarletRice selected builds and addons(XDA)
I don't have the time to link specific builds everytime there is a new one anymore, so unfortunately you all have to go into XDA downloads or AndroidFileHost folder and download the latest one. So sorry!
Recoveries(compiled by me )
CWM, Philz touch and twrp recoveries(AndroidFIleHost)
Addons(includes my custom kernels So keep an eye on it)
Addons(AndroidFileHost)
Addons(BasketBuild)
XDA Downloads(Addons and ROMs)
Older downloads:
ScarletRice Beta 0.1
ScarletRice Alpha 0.02: https://mega.co.nz/#!40cXxKQL!Dd-pk41oJOPJbhLILLGnS9yAE09ly6nKIIfgRzLCpak
ScarletRice Beta 0.1 AndroidFileHost mirror
ScarletRice Alpha 0.01: https://mega.co.nz/#!EgN1lIxY!n7f-o9bujoh6eAu0H8iuaiiGrQ1fG3OCxYoodAyuLSA
The battery life so far on this ROM is amazing! It doesn't face any kind of drain issues so far, except maybe for the infamous Google Play Services wakelocks. To quote:
Swordsman0815 said:
Battery life seems to be amazing... I am off the charger for over 12hrs and still have around 46% of charge left
Click to expand...
Click to collapse
Well good/bad battery life is actually really subjective, some people might have higher standards due to their past experience etc so it all depends! Try it out yourself and see
Not working:
Cast screen/Screen mirroring
FM Radio
Compass
Back Camera and front camera video Fixed now
Buggy power detection Fixed
Flashing red borders(chrome only) Fixed
Working:
Back and Front camera(video + photo)(wipe dalvik if doesn't work)
Wifi
Headphones
Touch
Auto brightness
Gyroscope
Alarms
Location
Double tap 2 wake(built into ROM zip's kernel and my custom kernels) Removed due to bugs
Anything else
Installation
Download the ROM from the link above
Download GApps package for Lollipop(Recommended: OpenGapps, for 4.4+ and all architectures)
Download any addons/custom kernels from links above or anywhere else
Put the zip files on your SDCard
Reboot in Recovery(choose one of the 3 above if you wish )
Wipe Data / Factory Reset(ONLY IF you are coming from another ROM/upgrading to beta 0.2.x to get working camera)
Recommended: Wipe dalvik-cache
Select "Install zip from SDCard"
Choose CM12 zip file
Select "Install zip from SDCard"
Choose GApps zip file
Optional: Select "Install zip from SDCard"
Optional: Choose addon/kernel zip
Reboot system
Reporting bugs
If you have found a bug, make sure you fill up a form here: Google Form: Bug reporting This allows me to easily track all bugs reported without scanning the whole thread. Do make SURE that you fill in a VERY detailed description! And don't forget logs! For a tutorial on how to get logs, here you go! Log tutorial Of course, feel free to still report bugs here as I will be monitoring this thread But you MUST fill up a form, reporting on XDA is optional
Sources
Manifest
For those who would like a shortcut to sync all the neccessary repos to build stable cm12, just download/copy the contents of this file into .repo/local_manifest: Local manifest xml and the next time you repo sync everything will be there Then just 'lunch cm_dior-userdebug' and 'make -j4 otapackage'
Manually
I've finally given up making my own trees and fixing the annoying bugs in Xiaomi's kernel sources, so here are all the working tree/sources brought to you by our awesome devs! I take no credit for this! GO AND THANK THEM!
Edit: I've made some minor updates and fixes to the trees, but still credit goes to them!
Updated trees(updated by me but originally created by the following devs)
Device tree
Kernel source
Vendor tree(a.k.a. prebuilt/proprietary blobs tree)
Original trees:
@Silesh.Nair's device tree
@Silesh.Nair's vendor tree
@audahadi's kernel source
@stane1983's kernel source
I've uploaded the device tree I used to compile twrp to my device tree above, the branch name is 'twrp'. It's based on syhost's outdated twrp device tree, with problematic flags removed to fix bugs and also translated back into english, so there you go!
NOTE: Currently this device tree is ONLY for compiling CM12, you can face all kinds of build errors if you compile CM11 with it. For example, you will not be able to compile sepolicy in the device tree. You have been warned. Have fun building
Credits
CyanogenMod
XDA
syhost(for his twrp device tree)
Stane1983(for his first working trees)
Silesh.Nair(for his updated trees)
sm_94(for his suggestions on fixes)
And everyone else who contributed logcats and findings and worked hard for the better of all Note 4G users. Thanks!
XDA:DevDB Information
ScarletRice, ROM for the Xiaomi Redmi Note
Contributors
haoyangw
Silesh.Nair
sm_94
stane1983
sadlmadl(Contributed best and most logs and reports)
Swordsman0815(Contribute working/not working reports and logs )
@suhasgta(contributed logs, suggestions and reports )
And all others who contributed logs and reports! Thanks A LOT!
ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: Stable
Created 2015-03-17
Last Updated 2015-11-29
Version numbers
Version Number explanation
There will be 4 naming conventions for builds, namely Alpha, Beta, Release Candidate and Stable.
Alpha - Build is NOT tested and may not boot
Beta - Build has been tested and boots up, but there are many device-related issues and bugs
Release Candidate, or RC - Build has been tested and device-related issues and most bugs are fixed
Stable - No more than 3 minor bugs and no performance or battery drain issues(caused by ROM on my side)
Changelog + Github Repos' Branches
Changelog:
1.0
Device:
Fixed front and back camera(photo+video) as well as video playback
ROM:
Optimized with O3 and graphite
Enabled optimizing compiler for ART
Kernel:
Added more cpu governors(total 23)
Added gamma control
Added faux sound control
Added alucard and intelli hotplug
Compiled with O2
Maybe more(can't remember)
0.2.4
Device:
Merged changes from sileshn
Fixed some more webview problems(that were not caused by the previous absence of webview completely)
Added FM blobs, FM radio should work properly now (also means you'll need my new local manifest to sync qcom's fm stuff)
Tweaked media configs, hopefully improves some stuff(but playing youtube videos and the like still not working )
0.2.3.1
ROM:
Fixed superuser
Device:
Fixed google play store crashes
Tweaked button brightness, hopefully it isn't too bright nor dim
Old builds' changelogs:
0.2.3
ROM:
Compiled with user instead of eng, should result in increased performance!
Fixed performance issues! Now it's faster than syhost's cm12.1! You know what that means? if we build for cm12.1, then bam, performance will be faster than a rocket! And did I mention Justarchi optimizations and graphite flags?
Many vulnerability fixes like the new Serialization vulnerability
Device:
Bright button lights should now be fixed No light at all Sorry!
Location should be working properly now, without relying on Xiaomi's partners like Qualcomm
Fixed annoying flashing red borders ONCE AND FOR ALL!
0.2.2
Clean install(i.e. with factory reset required for working front camera)
ROM:
Fix Gapps problems(e.g. Play store and google keyboard crashes) by removing system jar compression tweak
Improved performance a little
0.2.1
ROM:
Fix prebuilt WebView that caused browser crashes
Add some missing blobs to increase performance
0.2.0
ROM:
Integrate home button fix
Upstream fixes(most notably stagefright vulnerability fix)
Use prebuilt WebView
System jars 0 compression(store only), but causes problems
Add Open Camera as system app
0.1
ROM:
Finally boots
Fix front camera
Device:
Use Silesh.Nair's device tree to fix problems and make ROM boot
Custom kernel:
V1.2.4:
Updated intelliactive and intellidemand to faux's latest sources, no longer using some outdated files that I got because of laziness So intelliactive is finally working properly(no reboot), and also better performance/battery etc
Added intelli hotplug driver, do check it out!
Updated simple and simpleondemand gpu governors, but they still don't work So do AVOID them!
V1:
Add intelliactive and smartmax governors
Add SIO and ZEN I/O schedulers
Experimental fix for back camera
Github Repository Branch Explanations:
Kernel source repo
cm-12.0: stock cm12 kernel without extra governors and I/O schedulers
cm-12.0-custom: CM12 custom kernel with extra governors and I/O schedulers
stock: Original kernel source from Xiaomi with only fixes for compilation errors
cm-12.0-wip: latest fixes/additions for cm12 that may not work/compile successfully
Upcoming(when it appears on the kernel source repo, cm12.1 is coming ):
cm-12.1: CM12.1 custom kernel with extra governors and I/O schedulers
cm-12.1-custom: stock cm12.1 kernel without extra governors and I/O schedulers
wip-cm12.1: latest fixes/additions for cm12.1 that may not work/compile successfully
Hi, I tried your rom just now on my Redmi Note 4G but it doesn't boot at all.
I wouldn't mind being a tester! I'm installing now and I'll see how it works.
fix
what about camera. fixed or not yet
It's stuck on the MI boot screen.
Finaly
thanks haoyangw for this thread. I would to participate but I just a noob and don't have skill about devs . I just follow and subscribe this thread, hope you can fix any problem about this devices. :good:
i can also help testing,i have min knowledge about what a rom is and logcat.
robreyes07 said:
Hi, I tried your rom just now on my Redmi Note 4G but it doesn't boot at all.
Click to expand...
Click to collapse
Hi, can you send me a logcat please? Or install LiveBoot by ChainFire through recovery and post all the errors you see printed. Thanks a lot! Sorry if the ROM doesn't boot
Good to see someone is working on CM12 for our phone. I tried CM12 syhost version and it's awesome but camera doesn't work and I need it. If you manage to get camera to work that would be awesome.
Thanks for your work. You may want to check the source code for the official cm12 version of the htc desire 816. It has the same gpu/cpu combination so there must be some similarities.
What is the point of this thread when the rom doesn't even boot
i think,
shyampareek said:
What is the point of this thread when the rom doesn't even boot
Click to expand...
Click to collapse
I didn't know but i hv subscribe
shyampareek said:
What is the point of this thread when the rom doesn't even boot
Click to expand...
Click to collapse
The point is to encourage someone to work on device. Right now it gathers little to no interest at all.
shyampareek said:
What is the point of this thread when the ROM doesn't even boot
Click to expand...
Click to collapse
Point is to give support to developer, or this thread will die. I think u shouldn't be on this forum, so ungrateful
haoyangw said:
Hi, can you send me a logcat please? Or install LiveBoot by ChainFire through recovery and post all the errors you see printed. Thanks a lot! Sorry if the ROM doesn't boot
Click to expand...
Click to collapse
Sure, maybe this weekend kind of busy this workdays.
robreyes07 said:
Hi, I tried your rom just now on my Redmi Note 4G but it doesn't boot at all.
Click to expand...
Click to collapse
Nemado said:
Thanks for your work. You may want to check the source code for the official cm12 version of the htc desire 816. It has the same gpu/cpu combination so there must be some similarities.
Click to expand...
Click to collapse
Yeah I thought of that, I copied some bits from the desire 816 device tree for Redmi Note 4G. I've tried building recovery with my sources and device tree and the recovery works perfectly, so I think it must be something in the ROM that is the problem. I'll need a logcat for tracking the malfunctioning part.
robreyes07 said:
Sure, maybe this weekend kind of busy this workdays.
Click to expand...
Click to collapse
Thanks a lot! Hope I can get this ROM working soon, then our beloved device will get Lollipop sweetness.
Have you tried to compile kernel that xiaomi relased for our device?

[ROM] [Unofficial] [Stable] [6.0.1] CyanogenMod 13.0 for trltespr

Disclaimer
This ROM is constantly under development, and the file(s) provided are a snapshot at a particular point in time. There are no guarantees that they will work. On the other hand, it's quite possible that the file(s) here may make your phone explode, make your boy/girlfriend leave for another country, cause you immense financial loss or other horrible things. The CyanogenMod team and I are not responsible for any of it.
***THIS ROM ONLY WORKS WITH OK1 OR PREVIOUS BOOTLOADERS/MODEMS***
Reporting Bugs
This thread is for development discussion of this ROM only. If you have encountered a bug, please try to reproduce it with a CLEAN FLASH without any other apps/data (unless specifically needed to reproduce the bug).
Valid bug reports will contain the items below as a minimum:
Steps to reproduce error
Phone firmware (Baseband) - (i.e. NK2, OB7, OG5) - You can find this by going to Settings->About phone and looking for Baseband version
Version of CyanogenMod (i.e. 2015XXXX-UNOFFICIAL)
Filename / version of gapps used if the issue may be related to gapps
Logcat - CatLog is a good Android app to save logs with. You can attach to your XDA post if you desire or use a service like PasteBin.
Installation Instructions
MAKE SURE YOU ARE ON OG5 OR GREATER BASEBAND!!!!
Use TWRP!
Do a nandroid! What happens when the ROM doesn't work?? You'll be stuck, that's what!
Factory Reset if this is your first flash of CyanogenMod 13.0! (Wipe Cache/Dalvik/Data)
Install the latest nightly ROM ZIP file!
Install your favorite gapps (Slim Marshmallow Gapps is the only version I consider at this point in testing)
What Works / Doesn't
Working: Mobile Data
Working: WiFi
Working: Camera / Camcorder
Working: Calls / SMS / MMS
Working: GPS
Working: Bluetooth
Working: External SD, including formatting
Working: S-Pen
[*]Not Working: Bluetooth (Voice Calls) -- Needs more testing and more logs (fixed in 01/22/16 build)
[*]Not Working: APN Access (even if you make an Activity shortcut) (fixed in 02/04/16 build)
[*]Not Working: Exfat formatted external SD cards (fixed in 12/16/15 build)
Not Tested: Anything not mentioned above.
Found Bugs
Camera takes a long time to launch the first time each boot (before asking for location permissions, if first time)
Camcorder crashes if you use UHD 4k resolution -- 1080p works fine.
Browser crashes when downloading files -- use Chrome instead or edit Browser's permissions to allow "Storage".
Brightness gets wonky - when you let the phone dim, it may not go back to normal brightness. Press power to turn off screen and press again to fix the brightness and turn screen back on. Seems to be resolved by turning off Ambient Display / Daydream.
Automatic time zones may not work properly. You can force a timezone in Settings->Date and Time
Sometimes calls will show up as "Unknown" in the call log.
Cannot use WiFi Hotspot in 5GHz Mode
Camera freezes when you use the flash -- use alternate camera from Play Store
Download
AFH
Sources
Device Tree
Common Tree
Kernel
To compile, you will need a proper build environment. You will also need a stock OG5 or OK1 ROM to extract the proprietary files from. These builds also use the Adreno blobs from "shamu" (here). The shamu blobs Adreno blobs replace any blobs from the OG5/OK1 ROM.
THIS THREAD IS NOT FOR BUILD ENVIRONMENT OR COMPILING DISCUSSIONS
Please be aware that cm-13.0 is in a HUGE state of flux. You should NOT depend on this as your primary ROM. I cannot guarantee that everything (or anything) will work.
If you cannot post a helpful message or a detailed bug report, please do not post at all.
XDA:DevDB Information
CyanogenMod 13.0 for trltespr, ROM for the Sprint Samsung Galaxy Note 4
Contributors
nivron, drcrimzon, fattire
Source Code: https://github.com/fat-tire/android_kernel_samsung_trlte/tree/cm-13.0
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: OG5 or Greater Baseband
Based On: CyanogenMod
Version Information
Status: Stable
Created 2015-12-03
Last Updated 2016-02-25
Changelogs
Below are changelogs for the different versions of the ROM available for download on AFH. Please re-read the original post, as the Working/Not Working/Known Issues section relates to the MOST RECENT version of the ROM.
06/21/16 - Probable Final Build
Upstream CM features and bug fixes
05/24/16
Includes "Gello" Browser instead of AOSP Browser
Specific ISO options in Camera are now selectable
Updated CPU/Architecture Variants for Build
Upstream CM features and bug fixes
05/18/16
Upstream CM features and bug fixes
05/05/16
Upstream CM features and bug fixes
04/12/16
Upstream CM features and bug fixes
03/21/16 - EXPERIMENTAL BUILD
Upstream CM features and bug fixes
Misc common updates to get closer to my branch
03/08/16 - EXPERIMENTAL BUILD
Upstream bug fixes and features
Updated time_daemon (fix time/date resets?) Credit: @placiano and @Pafcholini
SELINUX Enforcing
Back to Fat Tire's common repo (which I contribute to)
Charging Rapidly will now show if >= 750mA
Vibrator Intensity configurable via Settings->Display
03/01/16 - EXPERIMENTAL BUILD
Fingerprint Scanner (a bit tricky to use, but it works) - Credit: Ljzyal
Added sensorhub service - Credit: raymanfx, fattire
02/25/16 - EXPERIMENTAL BUILD
Upstream bug fixes and features
Less GPS Debugging in Logs
Removed init system prop generator
Removed trlteusc (because of above change)
Shimmed libqc-opt.so
Switched build to clang
Switched back to CM PowerHAL
Added hardware-backed graphics for Recents
Removed qcmediaplayer
Removed tcmiface
Stopped mpdecision from spamming the logs
Removed ZeroLemon fix (Battery Capacity Testing)
02/09/16
Upstream bug fixes
Fixed accidental touch input while in call
02/04/16
Upstream bug fixes
CM - Fresh installs won't default to 24-hour time or a particular date format.
CM - Live Lockscreen (currently cannot disable properly, will be fixed in future build)
APN Settings are now available/editable
Useless "Carrier Settings" option removed.
01/27/16
Bluetooth - Corrected to a more proper fix.
Upstream bug fixes
01/22/16
Upstream bug fixes
Forgot to add the ZeroLemon battery fix (AGAIN), should be back next build
01/14/16
New Camera App
Removal of Busybox in favor of Toybox (upstream AOSP change)
Upstream CM Changes
Forgot to add the ZeroLemon battery fix, should be back next build
01/04/16
Upstream CM Changes
12/16/15
Upstream CM Changes
Exfat external SD cards now are usable
12/10/15
Upstream CM Changes
ZeroLemon Fuel Gauge Fix (by TheLoneWolf20)
12/09/15
Upstream AOSP/CAF Changes
Upstream CyanogenMod Changes
Fixed Button Remapping (Recents Button Now Available for Mapping)
Re-Enabled Stylus Gestures
Added Updated Offmode Charging (Now With Icon!)
One of the upstream AOSP changes is related to DHCP on WiFi. Certain DHCP servers use non-standard UDP ports when they offer addresses. The prior build that was posted would not interpret these properly, and you would lose WiFi connectivity within a minute or so of connecting. This is now fixed.
12/03/15
Initial Version
6.0 is here!!
Thank u so much dude!!!
I'll fix in a bit but the OP says to get Slim Lollipop gapps. That was from me copying the old thread. Use the Marshmallow gapps, obviously!
Sent from my SM-N910P using Tapatalk
Thank you!
Please always review the current status of the ROM before posting any potential bugs. I'm also curious to see if our issue sending texts is fixed - the one that requires switching the network types.
Sent from my SM-N910P using Tapatalk
Superb. Great work nivs.
Getting folder not found in mega, it worked from the office about an hour ago but not anymore.
Won't download on my phone or pc link might be dead ?
Mega site is asking for decryption key ...
I'm uploading to AFH now, will update OP when complete with link.
See OP for AFH link.
Thanks ?
Does it have mobile Hotspot?
Nice work, keep it up!
I have tested and can confirm Hotspot is working.
Also can confirm Xposed Frameworks works without issue on this build as well, just make sure you get xposed-v78-sdk23-arm.
crazycori said:
Nice work, keep it up!
I have tested and can confirm Hotspot is working.
Also can confirm Xposed Frameworks works without issue on this build as well, just make sure you get xposed-v78-sdk23-arm.
Click to expand...
Click to collapse
Sms work without fix?
xyojimbox said:
Sms work without fix?
Click to expand...
Click to collapse
Yeah, I was able to send SMS and MMS without issues right after install.
drcrimzon said:
I'm uploading to AFH now, will update OP when complete with link.
See OP for AFH link.
Click to expand...
Click to collapse
Got it, it worked, thanks a billion! Loving MM
Thanks for the AFH upload! Silly MEGA.
I'm going to work on this a bit more today and try to get some of the bugs worked out. Future uploads will probably be AFH only.
drcrimzon said:
I'm uploading to AFH now, will update OP when complete with link.
See OP for AFH link.
Click to expand...
Click to collapse
Sent from my SM-N910P using Tapatalk
Does or when will this include the zero lemom mod if not does anyone know a kernel I can flash onto this that includes it? Also is this a nightly update?
Just a warning for any newb's, as it states:
•Not Working: Exfat formatted external SD cards
Anyone installs this ROM and has this type of filesystem with your EXTSdcard may very well have issues with your SD card and the ROM thinking it is corrupted and try to FIX (meaning it will format the disk). DO NOT DO THIS or you will lose your SDCard.
You may also have issues after you play with CM13 and go back to other ROMs with not being able to read the SDcard (thinking it is corrupted and not readable, this is NOT true, it is still there). I got around this by wiping device, and using CM12.1 (latest), copying all of my SDCard to my PC, then formatting the SCDard back to a universally readable filesystem.

[ROM][6.0.1] Cyanogenmod 13.0 N7100 Build 15

Cyanogenmod 13.0 for N7100
Code:
/*
* Your warranty is now void.
*
* 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 this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Working:
- OpenGL (CPU rendering)
- MALI blobs (GPU rendering)
- HWComposer and MALI R3P2 drivers
- Rotation
- Camera
- WiFi
- Bluetooth
- NFC (Android Beam)
- Sensors (ALL!)
- Vibration
- Home Button wake
- RIL
- GPS
- Signal Icon
- Soft Keyboard on first boot
- Mouse pointer
- Pin lock
- External media mounting
Not working
- Some video apps have issues with video playback(You might want to use chrome dev)
DO NOT POST BUG REPORTS WITHOUT LOGCAT OR STEPS TO REPRODUCE BUG
(some bugs also require dmesg and/or (last_)kmsg)
Downloads:mega.nz
RomHut
MD5: c43910241c33dcd3325f46fc4e50179c
gapps:http://opengapps.org/
Install gapps right after rom (dont exit recovery) and dont wipe cache/dalvink/data before going thru gapps setup
Based On Android 6.0.1 marshmallow
Changelog
08.09.2016.
Reverted pegasusq changes
Synced with cm source
Misc
21.08.2016.
Allow flashlight to take wakelocks again
Synced with cm source
20.08.2016.
Chnaged way rotation sensor looks for time (Should fix it hopefully)
Updated Doze implementation
Synced with cm source
10.08.2016.
Synced with cm sources
Enabled doze
improved pegasusq logic
improved video handling
Misc changes check my github
16.07.2016.
Synced with cm source (android-6.0.1_r52)
Updated sensors timing flag (this might solve issues with them)
Updated samsung power hal
reintrodouced AdvancedDisplay (Device settings)
Added gello browser to build process (bassed on chromium project and caf browser)
disabled low latency audio (Should resolve some stuttering issues over bt)
Changed pc hostname haha (Like anybody cares but well it can be seen in kernel version)
12.04.2016.
Synced with cm source
Misc updates
Hey things are kinda sorting out in my life so this might mean i am back,
Sorry but gf was more important than updating rom and still is so yeah
but as long as she is alright i will update and improve rom
03.03.2016
Synced with cm source
Updated power hal
Allowed torch to use wakelocks so it cane be enabled when screen is off
Misc updates
22.01.2016
Synced with cm source
Fixed few CVE-s
misc device tree updates
15.01.2016.
Synced with cm source
Switched to Snap camera app
Updated media codecs
Misc device tree and kernel updates (check github)
06.01.2016.
Synced with cm source
Misc changes
29.12.2015.
Fixed custom vibration values
Misc updates
24.12.2015.
Enabled idev emulation (fixes aosp keyboard issues some users had)
23.12.2015.
Synced with cm source
Sdcard (external media handling) updates (It shouldnt work this way but since everyone is complaining.. here you go)
21.12.2015.
External media can be mounted now(sdcards woo)
SIM pin lock is now working
09.12.2015.
First public release
XDA:DevDB Information
[ROM][6.0.1] Cyanogenmod 13.0 N7100 Build 15, ROM for the Samsung Galaxy Note II
Contributors
Ivan_Meler
Source Code: https://github.com/ivanmeler
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.0.x
ROM Firmware Required: XXUFND3 or later baseband
Based On: CyanogenMod
Version Information
Status: Beta
Current Beta Version: 12.12.M
Beta Release Date: 2016-09-08
Created 2015-12-10
Last Updated 2016-09-09
Reserved
:good: You ivan, live long and prosper.
YAOUUU.. big thank Ivan
Great job! I was waiting for it. I am gonna test it as soon as possible
Awsome Job Ivan...!
Awesome work Ivan...!:good:
Which version SuperSU to use? 2.61? ...
Yingmu said:
Which version SuperSU to use? 2.61? ...
Click to expand...
Click to collapse
None, Rom comes prerooted you just have to enable root in developer options
Ivan_Meler said:
...
Click to expand...
Click to collapse
You are a hero, hats off :highfive:
Goooooood job Ivan _ Meler .I'll wait for the final.
Where is the donation button? You are the man.
Gesendet von meinem GT-N7100 mit Tapatalk
Oh no Sdcard isnt working. Waiting for next build but its the best rom for n7100. Cheer ?
Sent from my GT-N7100
+1 Best dev of this years
Fisrt look great and work not very well on my phone
I have a crash AOSP keyboard stop woking every 3 secondes.
evilpacer said:
+1 Best dev of this years
Fisrt look great and work not very well on my phone
I have a crash AOSP keyboard stop woking every 3 secondes.
Click to expand...
Click to collapse
Blame gapps
I wouldnt recommand wiping cache/dalvink/data right after installing gapps it will remove some essential permissions from them that will cuase some of gapps to crash its bug in most 6.0.x gapps as of now :/
Ivan_Meler said:
Blame gapps
I wouldnt recommand wiping cache/dalvink/data right after installing gapps it will remove some essential permissions from them that will cuase some of gapps to crash its bug in most 6.0.x gapps as of now :/
Click to expand...
Click to collapse
Thanks, you right.
I install CM13.0 only and AOSP keyboard work well.
Pico Gapps is buggy.
PS: The keyboard bug lock my SIM i need to use my code PUK to unlock it .... :'-(
evilpacer said:
Thanks, you right.
I install CM13.0 only and AOSP keyboard work well.
Pico Gapps is buggy.
PS: The keyboard bug lock my SIM i need to use my code PUK to unlock it .... :'-(
Click to expand...
Click to collapse
Doh will look into it we had same bug in 5.0
tried pico micro mini. keyboard just keeps crashing. open gapps are buggy at this time. Rom is awesome though
---------- Post added at 15:37 ---------- Previous post was at 15:28 ----------
i read in tilak's cm13 google forum about this PUK problem in sim, so i already enquired for it from my carrier and it did ask me PUK code instead of sim pin.
I think you do not a wipe cache and dalvik after rom flash.
I will try and test after sd card fix
Seraphitas said:
I think you do not a wipe cache and dalvik after rom flash.
I will try and test after sd card fix
Click to expand...
Click to collapse
Tried that already. Crashes all over the place. Using OpenGapps Micro.
Does anyone have GApps package that actually does work?
Sent from my GT-N7100 using Tapatalk
SteveDC said:
Tried that already. Crashes all over the place. Using OpenGapps Micro.
Does anyone have GApps package that actually does work?
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Just tried slim mini gapps. didnt help. tried with and without wiping cache/dalvik. no luck.
Without installing gapps, the keyboard is working fine.

[ROM][SM-P605][7.1.2] Unofficial LineageOS/CyanogenMod 14.1 for lt03lte (20.03.2021)

This is only for SM-P605 (lt03lte)! Even loading an custom recovery will irreversible trigger Knox to 0x1!
LineageOS/CyanogenMod is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
LineageOS/CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (GApps). LineageOS/CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS GitHub repo. And if you would like to contribute to LineageOS, please visit Gerrit Code Review.
How to flash:
-Be sure you are on 5.1.1 Bootloader and Modem (Flash 5.1.1 firmware via Odin) !
-Flash TWRP (version 3.0.0-0 or newer recommended)
-Make Nandroid backup (optional)
-Wipe > Advanced Wipe > select data, system, ART/Dalvik Cache, Cache, Internal Storage > Swipe
-Install > select Lineage14.1 Zip > Swipe, optional: flash GAPPS, SU Addon (before rebooting!)
-Reboot
Please read full OP before posting or flashing anything. Please don't report any bugs, if you use Xposed, any mod or modified the system.​
Please report no issues, if you
using the official builds (or others than mine)
flashed Xposed
or modified the system
What is working
Everything
No major issues/bugs
Download
Other Builds
GAPPS​
Notes:
- If SIM is not detected/RIL not working, flash 5.1.1 firmware again!
- Enable root: flash SU Addon, Settings > About tablet > tap 5x at build number. Settings > Developer options > Root Access
- just ignore E: Unknown Command errors in TWRP
- Flash GAPPS before reboot first time after flash!
- If using MTP/PTP shows no files, please tap one more at transfer files in notifications
- If something not listed ist not working, please test it also with SELinux permissive (setenforce 0 via Terminal Emulator/ADB Shell or use SELinuxModeChanger)
Changelog:
20210320: Synced sources
20200913: Synced sources, added midi support, disabled 5 GHz AP
20200318: Synced sources
20200124: Synced sources, a few kernel changes
20191101: Synced sources, small changes
20190801: Synced sources, slightly higher volume on speaker and Headset, small changes
20190303: Synced sources,smaller changes
20181226: Synced sources, changed SEPolicy, updated HID driver, small changes
Older
--Lineage--
20181217: Synced sources
20181029: Synced sources, small changes
20180816: Synced sources
20180618: Synced sources (Security Patch Level 2018-05-05), switched to 2048 heap/hwui memory map, sepolicy
20180524: Security Patch Level 2018-05-05
20180424: Synced sources
20180326: Synced sources, small things
20180307: Synced sources, kernel security patches, a few things
20180124: Synced sources, removed libsecril and legacy sd symlink, kernel updates
20171205: Synced sources, RIL changes, implemented stylus gestures
20171026: Synced sources, fixed magnet cover, switched to source built CAF ril, some kernel changes
20170925: Synced sources, fixed camera, kernel updates, sepolicy updates
20170829: Synced sources, switched to msm8974-common kernel (with some changes for our device), CLOCK_BOOTTIME_ALARM support, some smaller changes (Note: Please flash boot.img from post #643 to fix camera!)
20170803: Fixed MpDecision
20170802: Synced sources, only activate button light if they are pressed, added missing low latency record (-->for Skype etc.), updated init and sepolicy, some small improvements and changes
20170723: Synced sources, grant proper unix permissions for netmgrd and rmt_storage, updated sepolicy and init, smaller changes
20170703: Synced sources, removed buggy timekeep (fixes wifi problem), RIL updated (fixes Autotimezone), disabled live display per default, some minor changes
20170626: Synced sources, switched to Sony Timekeep (experimental), added SamsungDoze, enabled sdcardfs, enabled CIFS/NFS, mac access fixed, some kernel changes
20170614: Synced sources (Android 7.1.2_r17), quiet "KERNEL IS NOT SEANDROID ENFORCING"
20170604: Synced sources, fixed a bunch of kernel leaks
20170518: Synced sources, Only expose su when daemon is running
20170507: Synced sources (android-7.1.2_r8, Jelly...), correct keylayout config, enabled volume wake settings, added missing liblight defines, fixed prefered network setting, fixed rotation problem
20170422: Synced sources (Android 7.1.2), F2FS support, changed keylayout again, some kernel changes, IR changes from Lineage, dex preopt (not prerooted, flash SU Addon)
20170320: Synced sources, prerooted again, enabled Miracast/WiDi overlay, added missing SEPolicys for s-pen third party apps
20170301 #2 : Fixed tethering/hotspot (not prerooted, flash SU Addon)
20170301 #1: Synced sources, improved macloader related stuff (not prerooted, flash SU Addon)
20170203: Synces sources, fixed telehony fc after Nandroid restore, enhanced off charging mode
20170126: Synces sources, enabled Blur, a few kernel changes
20170114: Synced sources (Android 7.1.1_r9)
20170104: Synced sources, removed some deprecated stuff (dhcpcd entries, legacy symlinks)
20161231: Synced sources, Bluetooth disabled per default, unknown sources enabled per default
20161227: Synced sources, first Lineage build
--CyanogenMod--
20161215: Synced sources (Android 7.1.1_r6), disable notification LED for now (until I find a better solution), switched to common IR/lights HAL, last build from CyanogenMod Sources
20161207: Synced sources (Android 7.1.1), reduced power consumption, add missing SELinux rule
20161202: Synced sources, fixed magnetic cover, fixed VOIP mic
20161128: Synced sources, fixed off charging Mode, changed keylayout: Menu button: menu, longpressmenu: splitscreen view, doubletaphome: recent Apps
20161115: Synced sources, fixed camcorder, mapped longpressmenu as menu
20161110: Synced sources, Setup Wizard fixed, updated SEPolicy
20163010: first xda release, sync with cm 14.1 sources
Credit: LineageOS/CyanogenMod Team, Maintainer and Valera1978
Kevin F. Haggerty, Paul Keith
Sources:
Device
Kernel
Kernel since 20170829
Vendor
XDA:DevDB Information
Unofficial LineageOS (CyanogenMod) 14.1 for SM-P605, ROM for the Samsung Galaxy Note 10.1 (2014 Edition)
Contributors
davidmueller13
Source Code: http://github.com/LineageOS
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 5.1.1 bootloader and modem
Based On: LineageOS
Version Information
Status: Stable
Created 2016-10-30
Last Updated 2020-09-17
FAQ - Frequently Asked Questions
FAQ
Please read before posting anything!
Will this work/can you make it work on P600/P601?
Short answer: No! Only SM-P605 is supported.
But there are other projects for your device. For P600 (n1awifi) you can just download the latest official nightly.
Can you add xy feature?
It is and will stay a build straight from LineageOS sources, not a fork, so no. And also afaik there is no feature request way for LineageOS atm.
My SIM card is not recognized. What can I do?
As RIL blobs are from 5.1.1 firmware package, you need to be on modem from 5.1.1 firmware. The easiest way: just get an firmware package from Sammobile, Updato... and flash it via Odin. If it's still not working after that, do the same again (sometimes this is necessary).
Something is not working (correctly) / I found a bug? What should I do?
Make sure there are no potential courses for that issue like installed Xposed or system modifications. Also look, if it's listed in the OP or somebody already mentioned it. If not, just post about it and all information about it you have (circumstances, steps to reproduce it...).
Of course only for my builds you found in that thread, not for other/offical builds.
Amazing work!
Running your 10-27 build since yesterday night and working great so far on my T-Mobile P-607T.
Only thing noticed so far are that can not change the battery style and display battery % on the statusbar.
That's purely cosmetic, the build is fast and stable. Weather location service works, have not tested GPS
nav yet.
Setup wizard worked for me on the 10-27 build.
Will download and test this build.
Thanks for keep supporting the Note 10.1 2014.
Thanks
Thanks for making this sweet build. Everything works well on my P607-TM except for the fact that it thinks the SIM card is not inserted. I came from a aosp 6.0.1 build and did an advanced format of everything except for external SD card. I tried formatting a few times and reinstalling a few times with no luck.
iandy1 said:
Only thing noticed so far are that can not change the battery style and display battery % on the statusbar..
Click to expand...
Click to collapse
Yes, some stuff for that is not fully ported and implemented yet.
iandy1 said:
Setup wizard worked for me on the 10-27 build.
Click to expand...
Click to collapse
Thats the SetupWizard App, that comes with GAPPS. I had to remove the CyanogenMod SetupWizard, because of a FC while Wifi Setup. (I think, it uses the deprecated SETUP_WIFI_NETWORK.)
temijun said:
except for the fact that it thinks the SIM card is not inserted. I came from a aosp 6.0.1 build and did an advanced format of everything except for external SD card. I tried formatting a few times and reinstalling a few times with no luck.
Click to expand...
Click to collapse
Make sure, you are on the latest modem (e.g. by flashing latest firmware).
Also an LogCat would be useful (How to do this).
Yeah you're absolutely right about the radio firmware once I upgraded baseband from P607TUVUBOI2 to P607TUVSBPH1 and reflash everything works as expected! thanks again for this awesome rom!
davidmueller13 said:
Yes, some stuff for that is not fully ported and implemented yet.
Thats the SetupWizard App, that comes with GAPPS. I had to remove the CyanogenMod SetupWizard, because of a FC while Wifi Setup. (I think, it uses the deprecated SETUP_WIFI_NETWORK.)
Make sure, you are on the latest modem (e.g. by flashing latest firmware).
Also an LogCat would be useful (How to do this).
Click to expand...
Click to collapse
firmware is very smooth, but
- Sometimes crash settings app
- Does not work the microphone during a call through Skype
Does this version fix the bug that I saw with rotation?
Edit. Isn't a bug. Settings disabled rotation for certain orientation by default. Need fix by changing in settings.
it cant read my sim
Does it support exfat or ntfs file system with write rights?
great rom..sometimes a little bit stuttering, but finally great to have 7.1
how do you use your stylus? do u have a special app for that?
Thank you again
ameenkhaled said:
it cant read my sim
Click to expand...
Click to collapse
I flashed back to the default TMobile P607TUVUBOI2 firmware and then did an internal update to P607TUVSBPH1 which updated the radio baseband. This solved the missing SIM issue for me.
Hooray! One more of my devices could hop on CM14.x! I think imma start building myself starting next month...
Are MTP and ADB connections working too? Those aren't present in official CM13 nightlies and are the most irritating I found in them.
Sent from Google Nexus 6P @ CM13
AndyYan said:
Are MTP and ADB connections working too? Those aren't present in official CM13 nightlies and are the most irritating I found in them.
Click to expand...
Click to collapse
Yes, they work.
In the CM13 Nighlys the kernel driver for MTP is failing. If you want to fix/add some things to your CM13 Builds:
Fix camera failing while SELinux Enforcing: http://review.cyanogenmod.org/#/c/165576/
Fix MTP-driver: https://github.com/davidmueller13/k...mmit/4785cabeb9047e8d9e5e19e3f3f5c4f4e3a59ceb
enable adoptable storage: https://github.com/davidmueller13/d...mmit/5ed5e71080c366e3e35ee23f032b86da74db2dba
And if you want to build CM14, it's important that you know that i use the common graphic binaries:
https://github.com/TheMuppets/proprietary_vendor_qcom_binaries
temijun said:
I flashed back to the default TMobile P607TUVUBOI2 firmware and then did an internal update to P607TUVSBPH1 which updated the radio baseband. This solved the missing SIM issue for me.
Click to expand...
Click to collapse
Does PH1 update the baseband? I extracted modem.bin from PH1 tar and flashed, and later flashed the whole PH1 package from Odin, but baseband stays at OI2...
Sent from Google Nexus 6P @ CM13
---------- Post added at 05:38 PM ---------- Previous post was at 05:37 PM ----------
davidmueller13 said:
Yes, they work.
In the CM13 Nighlys the kernel driver for MTP is failing. If you want to fix/add some things to your CM13 Builds:
Fix camera failing while SELinux Enforcing: http://review.cyanogenmod.org/#/c/165576/
Fix MTP-driver: https://github.com/davidmueller13/k...mmit/4785cabeb9047e8d9e5e19e3f3f5c4f4e3a59ceb
enable adoptable storage: https://github.com/davidmueller13/d...mmit/5ed5e71080c366e3e35ee23f032b86da74db2dba
And if you want to build CM14, it's important that you know that i use the common graphic binaries:
https://github.com/TheMuppets/proprietary_vendor_qcom_binaries
Click to expand...
Click to collapse
Do the patches works for TWRP too? Last I recalled TWRP also doesn't have ADB/MTP, if those could fix it I might consider syncing TWRP and do a patched build...
Sent from Google Nexus 6P @ CM13
AndyYan said:
Do the patches works for TWRP too? Last I recalled TWRP also doesn't have ADB/MTP, if those could fix it I might consider syncing TWRP and do a patched build...
Click to expand...
Click to collapse
I think, it's the same issue. If you want to build TWRP you should use a OmniROM source tree (i change the device tree for that a bit :https://github.com/davidmueller13/device_lt03lte_nougat/tree/omni ).
Is it common that the menu button calls up the recent apps?
I tried editing it in options but no matter if short press or long press are changed to any option available it still uses recent apps.
Cirno5 said:
Is it common that the menu button calls up the recent apps?
I tried editing it in options but no matter if short press or long press are changed to any option available it still uses recent apps.
Click to expand...
Click to collapse
Yes, that is normal. I don't know how to fix it myself without gravitybox. That option won't work because 7.0/7.1 has no xposed support yet.
Sent from my LG-H850 using XDA-Developers mobile app
Cirno5 said:
Is it common that the menu button calls up the recent apps?
I tried editing it in options but no matter if short press or long press are changed to any option available it still uses recent apps.
Click to expand...
Click to collapse
Manually edit the .kl file in /system/usr/keylayout (can't remember which, but should be obvious).
Sent from Google Nexus 6P @ CM13
Cirno5 said:
I tried editing it in options but no matter if short press or long press are changed to any option available it still uses recent apps.
Click to expand...
Click to collapse
Change in sec_touchscreen.kl in system/usr/keylayout "APP_SWITCH VIRTUAL" to "MENU VIRTUAL".
I think, i will change it in the next build and set the app switch to "long press home" and disable "double tap home".
Good news for camcorder: I fixed recording, but we have to wait for some changes in CM14.1. But at least it works for our device finally in CM13.

Categories

Resources