[WIP] AOSP 7.1.1 (Nougat) - Nexus 4 Original Android Development

What's up guys, even though this Nexus 4 is 4 years old, (pun not intended XD) it's still holding up strong and in time for some Nougat treatment. [emoji14]
Note: Most of the components are working and I believe that it is enough for daily tasks. However, YOU see whether it fits your needs or not.
Working:
- Audio
- Wi-Fi
- Bluetooth
- RIL
- H/W Acceleration
- USB
- GPS
- NFC
- Sensors
Semi-Working:
- Camera (Video recording stutters sometimes with some apps)
Not Working:
How to Flash:
1. Download Zip
2. Flash zip
3. Flash GApps
4. Wipe Data (If coming from anything other than 7.0)
4. Flash SuperSU (Optionnal, Uses systemless as a root method)
5. Profit
Note: You will see Fc's all along the setup, just skip them if shown. Also if Google Play Services is crashing, grant it the location permission in the settings.
Download:
AOSP 7.0 download folder
Mirror
Quanta:
Quanta V19 Test
GApps:
OpenGApps
Banks GApps
SuperSU: SuperSU Stable
Sources:
Device Tree
Kernel Source

Changelog, other stuff
Code:
V10 (18/12/16):
- Updated to Android 7.1.1
- Patched kernel with the latest security fixes.
V9: (14/10/16)
- Video recording on Camera2 partially fixed (Video shakes sometimes)
- Fixed stack trace for native processes
- Updated to October's Security patches
- Misc fixes
V8: (18/09/16)
- Kernel patched accordingly to September security fixes (Patches all Quadrooter exploits up to now)
- Fixed Torch
V7: (11/09/16)
- Updated to September security fixes (For real this time)
- Enabled H/W encoding for video recording
- Re-enabled navigation bar tweaks and night mode in SystemUI
- Fixed Google Play Services FC's using OpenGApps (For real also)
- Add possibility to change WebView provider
V6: (09/09/16)
- Updated to September security patches
- Fixed freezing while watching YouTube
- Attempt to enable LTE
- Hidden misc battery drain as it causes some misinterpretations
V5: (05/09/16)
- Enabled Doze for real this time
- Reverted a change that may have broke Camera
V4: (02/09/16)
- Fixed H/W video decoding for the most part
- Kernel: SDCard FS enabled
- Attempt to fix permissions for GApps
- Enabled Navigation Bar tweaks and Night mode in SystemUI Tuner.
V3: (30/08/16)
- Fixed Sensors
- Semi-Fixed camera
- Fixed MPDecision
- Enabled Doze
- Used Flo's developper preview N GPU drivers
V2: (28/08/16)
- Fixed audio
- Fixed GPS
- Fixed data connectivity
- Disabled the power toggle widget which caused Settings to crash on every boot
V1 (26/08/16):
- Initial release
Here's a video showing how to install the ROM. (Thanks @Swapnil Soni)
Here's another one with a little overview of it. (Thanks @DaKoin)
Build instructions:
Since some of you guys asked me how to build from scratch, I will give a walkthrough of what I mostly did.
Note that this is in no way a walkthrough in how to compile (there are several guides for that on XDA) but more a guide
on how I did my setup so you can replicate the AOSP builds on your device.
Here's what I did:
1. Download the latest AOSP revision for android-7.1 which is r6 at the time of this writing (replace with whatever required branch necessary)
Code:
repo init -u https://android.googlesource.com/platform/manifest -b refs/tags/android-7.1.1_r6
repo sync
2. Download the kernel source used for the build:
Code:
git clone https://github.com/zaclimon/android_kernel_google_msm -b mako_nougat
3. Once both sources has been downloaded, compile the kernel. Note that AOSP do have a kernel toolchain that you can use to compile
Code:
export CROSS_COMPILE "/path/to/aosp/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi-"
make mako_defconfig
make -j$(grep -c processor /proc/cpuinfo)
4. Copy the arch/arm/boot/zImage file to the Android source into device/lge/mako-kernel
Note: You must create the said directories if they don't exist. You also must rename the file to kernel after copy.
5. Go back to the AOSP source, and download/update/replace the following repositories for each component (relative path):
Code:
device/lge:
git clone https://github.com/zaclimon/android_device_lge_mako mako
hardware/qcom:
git clone https://github.com/zaclimon/android_hardware_qcom_audio audio
git clone https://github.com/zaclimon/android_hardware_qcom_display display
git clone https://github.com/zaclimon/android_hardware_qcom_gps gps
git clone https://github.com/zaclimon/android_hardware_qcom_media media
vendor:
git clone https://github.com/zaclimon/android_vendor_lge lge
6. Apply the following patches to each of their respective repositories:
Code:
bionic:
https://github.com/LineageOS/android_bionic/commit/81af26a3a033723fb34ddf280e33a9d4a6ce82c4.patch
frameworks/base:
https://gist.github.com/zaclimon/bb39d7f5059b63e3add3b5cad15e87db
https://android-review.googlesource.com/#/c/147266/
system/sepolicy:
https://github.com/LineageOS/android_system_sepolicy/commit/10dd0402ab62aa1a6416d7ea549a6a3eea1c6ae4.patch
7. Increase RAM usage for Jack (Only if you have 6/8GB of RAM in your system)
Code:
export ANDROID_JACK_VM_ARGS="-Xmx4g -Dfile.encoding=UTF-8 -XX:+TieredCompilation"
8. Once all the patches have been applied, we can now proceed to compile the system.
Code:
. build/envsetup.sh && lunch aosp_mako-userdebug
make -j$(grep -c processor /proc/cpuinfo) otapackage
9. The build should be in out/target/product/mako
10. Flash and enjoy!!

You're the king, buddy! ?
P.
[sntfrmnxs⁴]

first
oops, second
Thanks @zaclimon and BTW wiping data is needed?
Nitin

nitin.chobhe said:
first
Nitin
Click to expand...
Click to collapse
Ha ha ! Almost.
Sent from my Nexus 4 using Tapatalk

You're great!!

nitin.chobhe said:
first
oops, second
Thanks @zaclimon and BTW wiping data is needed?
Nitin
Click to expand...
Click to collapse
It's not necessary per se because it should boot fine. That said, as always, it's recommended to wipe so random issues are less prone to happen.

Merci infiniement !!!
Just downloaded, and works, I think we need to changes the permission so that google play service not crashing

Its people like you who make this world a better place, thank you very much!

zaclimon said:
It's not necessary per se because it should boot fine. That said, as always, it's recommended to wipe so random issues are less prone to happen.
Click to expand...
Click to collapse
Thanks man! One last question - I need N gapps for this, right?
Open gapps should be fine?
@cqloveqc what gapps did you use? And what permissions need to be modified?
Nitin

funthomasz said:
Its people like you who make this world a better place, thank you very much!
Click to expand...
Click to collapse
nitin.chobhe said:
Thanks man! One last question - I need N gapps for this, right?
Open gapps should be fine?
@cqloveqc what gapps did you use? And what permissions need to be modified?
Nitin
Click to expand...
Click to collapse
Please everybody read the note (I should make it bold so people can see it)
"Note:You will see Fc's all along the setup, just skip them if shown. Also if Google Play Services is crashing, grant it the location permission in the settings. I'm also surprised to say that even with your data not wiped, it's working."

I am coming from the fake Nexus Rom aka I do not have a custom bootloader yet. What bootloader is the best to go with?
Could someone write me a quick instruction how to get started with my situation. I bet there are a lot coming from fake nexus.
Thanks for the great work!!

wow! cool zaclimon, so quanta is now N compatible i guess? haha, gj, if i'll find any kind of fix for something, i'll pull request, and thanks alot!

aabuk said:
wow! cool zaclimon, so quanta is now N compatible i guess? haha, gj, if i'll find any kind of fix for something, i'll pull request, and thanks alot!
Click to expand...
Click to collapse
I compiled a stock kernel as I wanted to start off a fresh base if ever others wanted to use a custom kernel. (Including myself with Quanta) It is patched with Google's latest updates.
I could compile a build of Quanta and incorporate the patches required to boot Nougat but it wouldn't be fair lool.

zaclimon said:
Please everybody read the note (I should make it bold so people can see it)
"Note:You will see Fc's all along the setup, just skip them if shown. Also if Google Play Services is crashing, grant it the location permission in the settings. I'm also surprised to say that even with your data not wiped, it's working."
Click to expand...
Click to collapse
I'm using the open gapps 7.0 arm version, and after change the app permission, all is good so far
And another sergestion, can we change the original LCD density to 240 instead of the default 320 ?
This change make the desktop more attractive.

zaclimon said:
I compiled a stock kernel as I wanted to start off a fresh base if ever others wanted to use a custom kernel. (Including myself with Quanta) It is patched with Google's latest updates.
I could compile a build of Quanta and incorporate the patches required to boot Nougat but it wouldn't be fair lool.
Click to expand...
Click to collapse
hahaha, okie, atleast i got some space to look at dem kernelzz, thanks for echo

cqloveqc said:
I'm using the open gapps 7.0 arm version, and after change the app permission, all is good so far
And another sergestion, can we change the original LCD density to 240 instead of the default 320 ?
This change make the desktop more attractive.
Click to expand...
Click to collapse
This has been allowed always from build.prop, did you try that?
P.
[sntfrmnxs⁴]

Gu$houn* said:
This has been allowed always from build.prop, did you try that?
P.
[sntfrmnxs⁴]
Click to expand...
Click to collapse
Yes, I've tried that by using a es file manager, but if we can make the 240 default, we don't need to make change anymore

Damn I'm late to the party, downloading now !
And thanks a ton @zaclimon for keeping mako alive, you're the man !

@zaclimon nice work.. keep it clean please

Related

[EOL][ROM][6.0.1] Unofficial CyanogenMod 13.0 for N7105

[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.

[ROM][6.0.1][AOSP][OPTIMIZED] UltimateROM [Stable][FINAL #2][21.08.2018]

The Prehistory of UltimateROM
About a month ago I decided to set out to improve the performance of my phone with a more optimized build. I had already begun building OmniROM 5.1.1 with a some set of optimizations based on the work of OptiPop Team, and shortly after some the major issues on Marshmallow on our devices were resolved, this idea to create an ultimatively optimized AOSP-based ROM has born.
Why Should You Use UltimateROM? What makes it different?!
Honestly, I don't necessarily care, how many users or downloads my ROM has. Most importantly, and what I do care about is people liking and enjoying their phone; if you try UltimateROM and you like it, great! I'm glad you enjoy it. If you don't, maybe leave some feedback on how I can improve it, and go try something else in the meantime. If you'd like to know, what I've done that makes this ROM unique, here is a list:
Highly optimized. similar to Linaro(and in many ways, better than), build, resulting in a smoother Android
Compeletely developed in the open, everything I do is right on my GitHub for anybody to use and improve upon.
A unique kernel which attempts to balance features, stability, and of course, performance
Almost the sources, excluding apps, the SystemUI and some more, are based on CyanogenMod ones, which means there are more fixes and support for our legacy devices (even though CyanogenMod itself doesn't really support any devices like our, anyway google doesn't even do that minimal support as CM Team does)
Disabled SELinux. Looking backward on how many issues SELinux was causing and still causing for people that use it on MM, it seems to me a ridiculuos how google promotes and implements it everywhere, without any proof of improving anything rather than making worse.
Current Information
Everything I do with UltimateROM I always test personally on my phone, but anyway...
Code:
#include <disclaimer.h>
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modifications, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Please also note that currently I don't test installation with the Gapps. So far installation is only tested as dualboot ROM - though, the uploaded build is an usual one, - please let me know if the uploaded build has issues with booting, even though normally this should not happen.
What's working:
RIL (phone/SMS/3G)
Video (playback & recording)
Audio (playback & recording)
Wi-fi
Bluetooth
Camera (Front and rear)
2D/3D HW Acceleration
USB, MTP, ADB
all native tethers (Wifi/BT/USB)
external storage
What's not
Formatting SDcard as adoptable storage will screw it up (don't format / encrypt)
MTP bug with doubled folders in sdcard root folder
ROM features:
Dark Marshmallow Theme
long volume press to skip track
PA Pie control
SlimRecents / improved AOSP recents
Re-added task manager
Navigation Bar
System UI tuner
expanded desktop
storages are swapped by default
extended reboot menu
customizable button backlight settings
Viper4Android FX
superuser embedded
Download
UltimateROM
Installation
Before installation, make sure that you have enough free space on partition /system. AT LEAST 540 Mb is required for this build if installing WITHOUT any Gapps. If you don't have enough space, follow repartition manual. (at your own responsibility for any kind of possible damage. Be sure to measure twice and cut once!). There is a CWM ReParted zip that was tested by @Culateralligator.
wipe cache
make sure you're using TWRP 2.8.6.0. All the below is only tested on this recovery. Philz is not supported by this ROM and not planned to in the near future. Note that TWRP from the linked topic requires preinstalled chrono kernel.
install ROM first
install latest chrono kernel
install gapps (optional), if you do so, make sure you are not running of space on /system ( about GApps )
Sources:
https://github.com/UltimateROM/android_manifest
Thank Yous
SergeyL - many-many thanks for an initial set of patches, device tree and TWRP 3.0.0.0! Also thanks for helping me implementing some features to this ROM.
JDCTeam, BenzoROM - thanks for great cherry-picks!
MWisBest - this project was heavily inspired by his FML (Fork My Life) ROM
OptiPop - an initial set of optimizations that the currently used by me is based upon
@Meticulus - thanks for his great contributions on our devices!
@AGONTUK - thanks for an initial Marshmallow bring up!
@nieltg - Sources for Galaxy Ace 2 device
@golden-guy - thanks for great cherry-picks !
@TeamCanjica - vendor and hardware sources
@Unjustified Dev - Audio fixes
Google
CyanogenMod
AOKP
SlimROMs
EuphoriaOS
OmniROM
AOSPA
Viper4AndRroid Team
And many other devs, I could forget (please write me if I did so).
Special Thanks
@shaqman89 - for providing the build server
@S.AMU - for providing FTP server
XDA:DevDB Information
UltimateROM, ROM for the Samsung Galaxy Ace II
Contributors
ChronoMonochrome, SergeyL, JDCTeam, OptiPop Team, BenzoROM, OmniROM, AOKP, CyanogenMod, SlimRoms, AOSPA, Temasek.
Source Code: https://github.com/UltimateROM
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Stock 4.1.2 ROM or up + kitkat-compatible recovery
Based On: AOSP, CyanogenMod
Version Information
Status: Stable
Created 2016-03-20
Last Updated 2018-08-20
Changelogs
Changelog
20.08.2018 - build #13
sources update
switch to opensource sensors
switch more device libs to open source base
unified codina / janice build
02.12.2017 - build #12
fixed native moving apps to SDcard
APP2SD and similar apps now should work correctly *
fixed second incoming call not to crash rild (not tested, needs confirmation), thanks to @SergeyL
small RIL fixes
NOTE: installation method was updated. Flash latest chrono kernel build after this ROM install.
02.04.2017 - build #11
kernel updated to r5.0
sdcard mount fixes
integrated an unofficial build of the Xposed framework
ported the utility mtools *
* for repairing the broken sdcard label you can move the file /system/bin/mtools to /system/xbin folder, then type in the terminal emulator mlabel/i]. It will show the current sdcard label and will prompt to type the new one.
27.02.2017 - build #10
updated sources to 6.0.1_r78
added an initial support of the PowerHAL *
ported some changes from Resurrection Remix 7.1.1 build (thanks to SergeyL for patches)
updated kernel to r5.x.x (mostly updates from google android-3.4 kernel)
changed recovery to TWRP 3.x.x
unstable MySQL optimizations are reverted
changed buttons backlight mode - backlight is only enabled when buttons are pressed
experimental change scheduling policy of the surfaceflinger to FIFO
maybe, something yet
* at the moment there's no support of changing the PowerHAL profiles from the Settings, however, you can change profile in a file /system/etc/init.d/999powerhal
Proceed installation of this build only with data wipe.
20.09.2016 - build #9
Fully switched to an opensource RIL! Many thanks to Meticulus for finding the working RIL sources and fixing it, also I'd like to thank millosr and mickybart from Nozomi (Xperia S) forum for fixing the crash when performing a call and providing patches for debugging the proprietary libril!
More libs now are built from source - credit goes to Meticulus
Added sdcardfs support (requires at least build r4.8 of Chrono Kernel)
Added home key press to accept the incoming call and power key press to end the active call features from CyanogenMod - thanks to SergeyL for helping with finding those patches
Changed LowMemoryKiller tunables to the more aggressive + increased zram size to 400Mb - multitasking should be (hopefully) better
Changed Dynamic governor tunables to be more aggressive
Various minor fixes that improves the stability of ROM
We've also finally got rid of all shim (i.e. interposed) libraries that were needed in order for some features (camera, GPS etc) to work
30.05.2016 - build #8
updated wifi autoconnection fix (fixed the battery stats)
fixed SystemUI FC when switching USB mode via status bar notification
fixed GSM / WCDMA preferred / WCDMA Only switching
fixed soft reboot when switching 2G/3G with an enabled mobile data
added Pie Control from Paranoid Android
added SlimRecents
updated AOSP recents implementation ("clear all" button doesn't properly work, so don't enable it or use SlimRecents)
added task manager
allowed disabling of brighness slider disabling
revert AOSP camera to 5.1.1 (fixed the photo cropping issue)
added FAT images mounting via UMS support (use
sys.config.opt_sd0device=full_path_to_the_image.img build.prop setting to override the device mounted as Sdcard0 or sys.config.opt_sd1device for Sdcard1)
26.05.2016 - build #7
Work around wifi autoconnection issue
Fixed video encoding issue by some apps (instagram video upload etc) - thanks to Meticulus for the original patch
Added LockClock back
Added option to show the weather in the status bar
Various small improvements, tweaks etc.
23.05.2016 - build #6
More ROM modules compiled with GCC instead of Clang (GCC supports more optimizations)
Almost ROM modules compiled with Link Time Optimizations
Enabled graphite optimizations for more ROM modules
Added autovectorization optimization on per-modular base
More modules built in ARM mode
Allowed disabling of FC notification
Added time-context custom header images feature
Added customization of the carrier label
Added SystemUI tuner
Added display autorotation setting
19.05.2016 - build #5
updated kernel to r4.4.1
added and enabled by default UMS (USB Mass Storage) mode
re-added some default AOSP optimizations
added navigation bar
added battery level icon customization setting
added long back press to kill app feature
remove 3 secs delay in Superuser before to give the app permissions
added feature of disabling mediascaner at boot
added Sqilte performance improvements
disabled an unnecessary debug
another fixes / improvements
fixed graphical glitches in some apps caused by new UMP lib
resized bootanication (thanks Lemu @ 4pda.ru)
fixed init.d scripts
added aggresive Dynamic governor settings
13.05.2016 - build #4
cleaned up the default google optimizations, removed unnecessary flags
disabled forcible ARM mode optimization - until I revisit this again
added performance settings from OmniROM
added CM Filemanager
added a few more opensource code to libUMP, replacing calls to old library
fxed up an inadeqate CPU time consumption caused by logd process
6.05.2016 - build #3
updated sources to 6.0.1_r30
kernel update to r4.3.1
switched to GCC 5.3 toolchain by UBER
enabled graphite, fast math, loop nest, unsafe loop and some more optimizations
entire build is compiled in ARM mode
switched to opensource RIL libraries (based on CyanogenMod repos)
UMP (Unified Memory Provider) library now is mostly opensource - based upon CM sources
Attempt to fix storage permission issues in some apps such as browser - not tested
fixup for RIL java code - thanks to @SergeyL
disabled scrolling cache
SQLite code optimizations
Reduced various delays
many other fixes and improvements - thanks to SergeyL for patches
20.03.2016 - build #2
fixed APN editor crash
added removed fonts back
removed Gallery, Calendar and PrintSpooler
Viper4Android driver post-install (no need to install manually anymore)
Fixed busybox related issues
20.03.2016 - build #1
initial release
Miscellaneous
reserved
Take some time to try this ROM, and now there are some issues
1.there are lost 4 opentype fonts (compared with Sergeyl's CM13)(JP,KR,SC,TC-Regular),so Simplified Chinese display likes XXX
2.V4A needs to works with busybox, lol...
But ROM works smooth
fim5646 said:
Take some time to try this ROM, and now there are some issues
1.there are lost 4 opentype fonts (compared with Sergeyl's CM13)(JP,KR,SC,TC-Regular),so Simplified Chinese display likes XXX
Click to expand...
Click to collapse
These are removed, because of overly sized ROM. Are these fonts only that support these languages? If so, I'll of course re-add them. I was comparing this ROM to my OmniROM and haven't found these fonts, so I thought they can be safely removed.
2.V4A needs to works with busybox, lol...
Click to expand...
Click to collapse
I guess, it's common 6.0.x problem, as busybox has got partially replaced by toolbox and toybox from AOSP, thus making some apps confused.
ChronoMonochrome said:
These are removed, because of overly sized ROM. Are these fonts only that support these languages? If so, I'll of course re-add them. I was comparing this ROM to my OmniROM and haven't found these fonts, so I thought they can be safely removed.
Click to expand...
Click to collapse
Yeah,these 4 fonts only support Janpanese,Korean,Simplified Chinese and Traditional Chinese,(lastest outdated AOSP 6.0 has same problem...)Maybe OmniROM has different font files
ChronoMonochrome said:
I guess, it's common 6.0.x problem, as busybox has got partially replaced by toolbox and toybox from AOSP, thus making some apps confused.
Click to expand...
Click to collapse
Yeah....
Is there any way to fix sdcard problem?
And thanks for this awesome rom.
Fake2Dead said:
Is there any way to fix sdcard problem?
Click to expand...
Click to collapse
What problem exactly?
What GApps should we install, these modified by SergeyL? open_gapps-arm-6.0-pico-20160204.zip
https://yadi.sk/d/HX0CiHNnoGiC5
Culateralligator said:
What GApps should we install, these modified by SergeyL? open_gapps-arm-6.0-pico-20160204.zip
https://yadi.sk/d/HX0CiHNnoGiC5
Click to expand...
Click to collapse
GApps aren't personally tested by me, but I guess, you'll need those provided by SergeyL else keyboard will crash.
ChronoMonochrome said:
What problem exactly?
Click to expand...
Click to collapse
phone says sandisk sd card is corrupted. I tried to format from phone but it didn't work. Also i can't use my camera without external sdcard. And why extsdcard is sdcard0
"Sorry for my english if a have a fault"
Fake2Dead said:
phone says sandisk sd card is corrupted. I tried to format from phone but it didn't work. Also i can't use my camera without external sdcard. And why extsdcard is sdcard0
"Sorry for my english if a have a fault"
Click to expand...
Click to collapse
Did you format your sdcard as adoptable(internal) storage? This is something you actually shouldn't do and it's explicitly mentioned in the issues list as it doesn't work properly on our devices. SDcard should normally work without formatting (in case of M - which also performs encrypting of it), thanks to @SergeyL work. Now you have to format sdcard from Windows / *nix / whatever other OS; if even this won't help, we'll probably need a volunteer to test it. Personally for me sdcard works, but you may want to try SergeyL's CM13 to see if it's working there.
WiFi is unstable, lost connection from time to time, Web Browser is crashing. And any of gapps do not work - do not fit in system. Yes, i readed first post, i have orginally partitioned internal card and do not want touch it. SergeyL's CM13 work with smallest gapps
ChronoMonochrome said:
Did you format your sdcard as adoptable(internal) storage? This is something you actually shouldn't do and it's explicitly mentioned in the issues list as it doesn't work properly on our devices. SDcard should normally work without formatting (in case of M - which also performs encrypting of it), thanks to @SergeyL work. Now you have to format sdcard from Windows / *nix / whatever other OS; if even this won't help, we'll probably need a volunteer to test it. Personally for me sdcard works, but you may want to try SergeyL's CM13 to see if it's working there.
Click to expand...
Click to collapse
Thank you so much for help. I tried to format from windows(exfat) and it worked!
Edit: Don't try to format sdcard as fat32 it didn't worked on me
Pastorious said:
WiFi is unstable, lost connection from time to time, Web Browser is crashing. And any of gapps do not work - do not fit in system. Yes, i readed first post, i have orginally partitioned internal card and do not want touch it. SergeyL's CM13 work with smallest gapps
Click to expand...
Click to collapse
I can confirm Web Browser is unstable.
I haven't those WiFi problems yet, but I'm testing for little time.
What do you mean with smallest GApps?
I've tried no repartition + SergeyL GApps and I get ERROR CODE 70 -not enough system space-.
Culateralligator said:
I
What do you mean with smallest GApps?
Click to expand...
Click to collapse
I found somewhere gapps ~45MB, still too big for install, i have no idea how install Play shop
New build is 20.03.2016(#2) UP!
Changelog
fixed APN editor crash
added removed fonts back
removed Gallery, Calendar and PrintSpooler to free up some space
Viper4Android driver post-install (no need to install manually anymore)
Fixed busybox related issues
Might fix GApps not being fitted on /system issue in the future, but I'll need a volunteer to test the new partition scheme. If anyone knows how to modify CWM repartition scheme zip and create a new one with ~700-750Mb on /system, it would be even much great, because right now I have absolutely no time for this.
Enjoy!
Something weird... I've connected phone to PC 5-6 times.
Last 2 times appears sdcard1 with 1,09GB (real internal sd).
However, I have access to files of real external sd. But when I try to paste a file, it says I have no space for it.
Succesfully installed gapps removed printspooler webbrowser gallery calendar clock and 1 more thing and i found 48 mb gapps
Culateralligator said:
Something weird... I've connected phone to PC 5-6 times.
Last 2 times appears sdcard1 with 1,09GB (real internal sd).
However, I have access to files of real external sd. But when I try to paste a file, it says I have no space for it.
Click to expand...
Click to collapse
Indeed, it seems that I have misapplied one fix to the vold binary. Does this issue also appear on CM13?
P.s. it's possible that vold from CM13 will also work, because UltimateROM use same sources as CM. Can anyone try replacing /system/bin/vold and check if it helps?

[ROM][CM13][CAF] DARK ROM [Optimized][Delta Updates][08/21]

Hi guys,
I've been building an extra lean CM13 ROM for hammerheadcaf with a few added features. A lot of CM packages have been stripped down, only the bare minimum is built to provide a fast and stable ROM. That gives you much more freedom as you can install exactly what you really want from the Playstore. You can install most of the missing packages manually, they are available in a flashable zip on the server (see second post).
Key features
ROM comes with TrueSight v3.0 builtin (with a few of my own tweaks)
Up to date MOB30Y vendor from Myfluxi's and Kylon's repo
Option to choose between dialer and voice assist in lockscreen
Option to hide next alarm from expanded status bar and lockscreen
Clock font and size customizable
Hide bluetooth icon when disconnected
Disable immersive messages
HeadsUp timeout and blacklist/whitelist
Longpress power button while screen off to trigger flashlight
Battery saver options
Keyboard options
SSID in status bar
Network traffic in status bar
Volume steps
Navigation bar size
Seconds in status bar
SuperSU builtin
AdAway and Xposed builtin (in developer options)
Synapse builtin
OpenDelta builtin for delta updates
ViPER4Android builtin (and working in Enforcing)
Optimizations
Every effort has been made to optimize the ROM the most :
ROM built with SABERMOD GCC 5.4 and DRAGONTC 4.0 (O3, Graphite, Strict aliasing, Polly, OpenMP, Pthread, LTO/ThinLTO, Krait tunings and lots of extra optimization flags)
KERNEL built with SABERMOD GCC 7.0 (O3, Graphite, OpenMP and lots of extra optimization flags)
Java built with OpenJDK 8
Removed some useless debugging
Installation
You will need latest radio (2.0.50.2.29) and latest bootloader (HHZ20h)
Latest TWRP recovery 3.0.2-0 for hammerheadcaf is highly recommended (and mandatory for delta updates)
If coming from any other ROM
Backup first... always backup first
Wipe system, data, cache and dalvik cache
Install ROM
Install GAPPS (opengapps are recommended)
Enjoy !
If coming from a previous build of mine
Backup (you know it)
Dirty flash
Enjoy! (if anything goes wrong, clean flash)
Xposed app is preinstalled and available in the developer options menu. BUT, you will have to install the Xposed framework in recovery if you want it. Afterward, it will survive dirty flashes, so you only need to flash it once. Please, be smart and only install required Xposed packages. Installing too many packages can cause weird behavior and I won't be responsible for it.
Download
To download the whole ROM
AndroidFileHost
To download delta updates
Go to Settings/About phone/System updates and use the OpenDelta app to automatically download delta updates.
Delta Updates
(Information to be confirmed later)
Here are a few explanations on how to use delta updates. First, you will need to keep the first full build you downloaded on your sdcard (any full build that have NIGHTLY in the filename will do). I recommend that you keep it on the root of your sdcard until you flash a new build with the OpenDelta app. After that, the OpenDelta app will automatically place a new flashable zip inside the OpenDelta folder that will be used for the next delta updates. At that point you can delete the build on the root of your sdcard, but you will need to keep the (latest) file in the OpenDelta folder at all times to keep the delta updates working.
You will also notice a folder named FlashAfterUpdate in the OpenDelta folder. As its name suggests, any flashable zip files that you put in this folder will be flashed automatically after the update. I recommend that you put all your extra flashable zips there, cause if you use the app to auto-flash the latest build, it will reboot automatically after updating, which means you won't have the opportunity to manually flash other zips.
Support
Please consider a donation if you like my work !!!
I hope you enjoy it !!!
Thanks and credit
CyanogenMod
@myfluxi
@lol4topnz
@kylon
@xanaxdroid
@frap129
@DVDandroid
@theapuv
All the good devs who contributed to the features I added
Extra Packages
On the server you will find a file named ExtraPackages_date.zip which contains a few apps that are not available out of the box in my builds (see list). You won't have to flash it every update, since there is a survival script. I suggest you open the zip and remove the files you don't need. As such, there are 2 browsers (Browser and Gello) and 2 cameras (Camera2 and Snap).
Here is what's included:
- Browser
- Gello
- Calendar
- Camera
- Snap
- Eleven
- Gallery
- Messaging
AudioFX
Those who prefer using AudioFX instead of ViPER4Android can now download a flashable zip named V4AtoAudioFX_date.zip that I uploaded on the server. It will uninstall V4A and install AudioFX. You won't have to flash it every update, since there is a survival script.
Changelog
08/21
- Upstream updates from CM
- Removed option to have 4 or 5 columns in QS
- Added option to have seconds in status bar
- Replaced Kernel Adiutor Mod with Synapse
- Added OpenDelta (in Settings/About phone/System updates)
- ROM built with GCC 5.4 SABERMOD
Older changelogs
08/13
- Upstream updates from CM
- Added option to have 3, 4 or 5 columns in QS
- Replaced Synapse with Kernel Adiutor Mod
08/06
- Updated to 6.0.1_r61
- August security patch
- Updated TrueSight kernel to v3.0
- Latest blobs from Myfluxi and Kylon (MOB30Y)
- Upstream updates from CM
- Updated Xposed Installer from DVDandroid
- ROM built with GCC 6.1 SABERMOD
07/27
- Upstream updates from CM
- Built with latest DragonTC 4.0
07/21
- Updated TrueSight kernel to v2.8
- Upstream updates from CM
- Updated Xposed Installer (DVDandroid version)
- Used Google Webview (in hope of fixing Google Play Services battery drain)
07/10
- Updated to 6.0.1_r52
- July security patch
- Latest blobs from Kylon (MOB30P)
- Updated TrueSight kernel to v2.7
- Added option to resize the navigation bar (in buttons settings)
- Added blurred lockscreen (in lock screen settings)
- Upstream updates from CM
- Updated SuperSU and AdAway
- ROM built with GCC 5.4 SABERMOD
- Removed DragonTC for now (fixes OK Google recognition)
06/27
- Updated TrueSight kernel to v2.6
- Upstream updates from CM
- Updated XposedInstaller (DVDandroid version)
- Used CM Webview (might need a clean install)
- Built with latest DragonTC 3.9
06/16
- Updated TrueSight kernel to v2.5 (fix for data connection problem)
- Tweaked some default kernel settings
- Upstream updates from CM
- Removed optimizations for some packages (fix for OK Google hotword not working)
06/09
- Updated to 6.0.1_r46
- June security patch
- Latest blobs from Kylon (MOB30M)
- Updated TrueSight kernel to v2.4
- Upstream updates from CM
- ROM built with GCC 5.3 SABERMOD
- Built with latest DragonTC 3.9
06/01
- Updated TrueSight kernel to v2.3
- Updated UKM to v3.9.3
- Updated XposedInstaller (DVDandroid version)
- Updated SuperSU to v2.74
- Updated Webview
- Upstream updates from CM
- ROM built with GCC 6.1 Linaro
05/27
- Added SSID in status bar
- Added Network traffic in status bar
- Added Volume steps
- Upstream updates from CM
- Updated TrueSight kernel to v2.2 (with temporary audio fix)
- Built with latest DragonTC 3.9
05/20
- Updated to latest CM upstream
- Updated TrueSight kernel to v2.1
- Updated Webview
- Removed double tap to sleep on lockscreen (broken since CM LiveLockScreen)
05/12
- SuperSU 2.72
- Upstream updates from CM
05/09
- Replaced KernelAdiutor with Synapse
- UKM preinstalled and fully working
- Fixed the clock size not sticking after reboot
05/06
- Updated to 6.0.1_r43
- May security patch
- Latest blobs from Kylon (MOB30H)
- Xposed Installer from dvdandroid
- Font and size of clock is now customizable
- Built with latest DragonTC 3.9
Looks promising and right up my alley! Will test and report back!! Thanks!
Edit: which gapps do you recommend? I have been using openapps, however with cm the compatibility seems to be lacking. So I switched to slimgapps, however, they have no launcher nor keyboard with them. I can find apks for the launcher and key board, but I don't think you can install them without a launcher correct?
Well this looks good. Just one question have you removed CM Theme Engine? Not that I'm complaining, just wanted to know.
Theme engine is still in.
See second post for info on how to manually install launcher and keyboard
Seems nice, do you use JustArchi's optimizations? And can i uninstall V4A easily enough because i want to use customized one?
And opengapps do work since 25.4, just remember to not use old builds you possibly have lying around.
V4LT5U said:
Seems nice, do you use JustArchi's optimizations? And can i uninstall V4A easily enough because i want to use customized one?
And opengapps do work since 25.4, just remember to not use old builds you possibly have lying around.
Click to expand...
Click to collapse
Well I use a lot more optimization than JustArchi's. But to answer the question, I have an equivalent form of the O3 optimization JustArchi has. About V4A, if you want to use a custom apk, you can easily replace the one provided with the one you like. If it contains other mods, than it might not work as easily. I don't recommend flashing any V4A package on top of the ROM, but if you link me to file I can take a look if there is a way to make it work.
Dark_Eyes_ said:
Well I use a lot more optimization than JustArchi's. But to answer the question, I have an equivalent form of the O3 optimization JustArchi has. About V4A, if you want to use a custom apk, you can easily replace the one provided with the one you like. If it contains other mods, than it might not work as easily. I don't recommend flashing any V4A package on top of the ROM, but if you link me to file I can take a look if there is a way to make it work.
Click to expand...
Click to collapse
I plan using this http://forum.xda-developers.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075 ViperAtmos 4.8 sony beats edition, still not sure if i use that specific one, there are million different versions
I tried following your instructions to put the apks in the sys/app folder but I do not have such folder. I think I am missing something? I tried putting them in the data folder however did not get installed during initial boot. If you could let me know that would be awesome!
New build is up!!!
I changed my mind and added back Trebuchet (CM launcher) and the keyboard, so you won't have to mess around when you first flash the ROM (or a new build for that matter).
I won't release new builds everyday, expect them once or twice a week.
acat550 said:
I tried following your instructions to put the apks in the sys/app folder but I do not have such folder. I think I am missing something? I tried putting them in the data folder however did not get installed during initial boot. If you could let me know that would be awesome!
Click to expand...
Click to collapse
Just for the sake of answering your question (that might be useful later), you have to mount the system partition before you can access it. Then you will see what is inside that partition. It is litterally impossible that you don't have a system/app folder, all prebuilt apps go there (and in system/priv-app).
I appreciate the quick answer! I think I will just go with the new build though lol! Been looking for a ROM that is stripped down and optimized to the fence! I have been running truesight as well so the duo is perfect!
Once a week is more than enough! I'll move to this rom when i have time. One thing you could do is aroma installer, thats a whole new thing to learn but if you feel like bored or want to try something new, it would be very useful. One thing i can think of now is adding and removing apps. You could use something like Cataclysm as reference
EDIT: Do you have the TrueSight UKM thing included? Thats one more thing to add if not.
One more question, lol. Does the adb work? The cm 13 build that i currently have crashes when i turn adb on. Not sure if TrueSight causes this or what. If you havent tried it, be aware that if it does crash for you too, you probably cant turn it off anymore. That happened to me, the phone was very slow when it was in lockscreen after boot and when i tried to unlock it, it just rebooted. So take backup if you think you want to try it
V4LT5U said:
Once a week is more than enough! I'll move to this rom when i have time. One thing you could do is aroma installer, thats a whole new thing to learn but if you feel like bored or want to try something new, it would be very useful. One thing i can think of now is adding and removing apps. You could use something like Cataclysm as reference
EDIT: Do you have the TrueSight UKM thing included? Thats one more thing to add if not.
One more question, lol. Does the adb work? The cm 13 build that i currently have crashes when i turn adb on. Not sure if TrueSight causes this or what. If you havent tried it, be aware that if it does crash for you too, you probably cant turn it off anymore. That happened to me, the phone was very slow when it was in lockscreen after boot and when i tried to unlock it, it just rebooted. So take backup if you think you want to try it
Click to expand...
Click to collapse
Nope UKM is not installed. At first I had Synapse prebuilt and UKM preinstalled (before releasing), but I had too many problems with it. It never applied my settings on reboot, plus half the time it crashed when restoring my profile. Too much trouble, and I don't use the extra settings that are not available in kernel adiutor. So, if you want it you will have to install both the app and UKM.
I just enabled adb without any problems. It also works when connected to the computer.
Dark_Eyes_ said:
Nope UKM is not installed. At first I had Synapse prebuilt and UKM preinstalled (before releasing), but I had too many problems with it. It never applied my settings on reboot, plus half the time it crashed when restoring my profile. Too much trouble, and I don't use the extra settings that are not available in kernel adiutor. So, if you want it you will have to install both the app and UKM.
I just enabled adb without any problems. It also works when connected to the computer.
Click to expand...
Click to collapse
Thanks for all the answers and hard work! :good:
It seems with the new build, that notification pulldown is broken. I have tried both open gapps and slim gapps, both to no avail. Any others with this problem?
HELP
Help Devs !! Why I can't dropdown the statusbar ?? Even I can't see quicksettings at all...this is bug ?
---------- Post added at 04:47 AM ---------- Previous post was at 04:47 AM ----------
acat550 said:
It seems with the new build, that notification pulldown is broken. I have tried both open gapps and slim gapps, both to no avail. Any others with this problem?
Click to expand...
Click to collapse
Same problem with me !!! Any solution ?? (
Junnie said:
Help Devs !! Why I can't dropdown the statusbar ?? Even I can't see quicksettings at all...this is bug ?
---------- Post added at 04:47 AM ---------- Previous post was at 04:47 AM ----------
Same problem with me !!! Any solution ?? (
Click to expand...
Click to collapse
That's most likely the cm and opengapps bug. Use an old gapps package for now.
Dark_Eyes_ said:
That's most likely the cm and opengapps bug. Use an old gapps package for now.
Click to expand...
Click to collapse
Gapps suggestion please???
Junnie said:
Gapps suggestion please???
Click to expand...
Click to collapse
Try banks gapps. Maybe slimgapps too, but someone bf reported it not working...

[ROM][EOL][LineageOS][Android 7.1.2r36][OMS7] TugaPower™ 65.0

Build 12/01/2019 #OPO #N
TugaPower ROM G+
Telegram Group: https://t.me/TugaPowerOPO
#TugaPower N 65.0 LineageOS #laos #OnePlus #Android 7.1.2r36 #OMS7 #SubstratumRootLess
If you have some spare bucks consider donating, it will be really appreciated: https://www.paypal.me/TugaPower
Please be sure you are using one TWRP that can handle firmware flash. ( http://forum.xda-developers.com/oneplus-one/development/unofficial-twrp-3-0-x-tugapower-t3398366 )
Also be sure you are using proper firmware. The one recomended its the one from cm 13 nighly, you can find here: https://meocloud.pt/link/c1d9a297-e3f7-480b-9567-1bc601c073dd/TugaPowerFirmwareCM13_v4.zip/
Relative to gapps, testing open gapps 7.1 nano package, working without issues
http://opengapps.org/?api=7.1&variant=nano
Replaced built in OTA by OTA Updates app ( https://github.com/MatthewBooth/OTAUpdates )
Replaced audiofx with Viper4Arise 2.4 ( https://forum.xda-developers.com/android/software/r-s-e-sound-systems-auditory-research-t3379709 )
Disable manually AudioFX to hide the icon from drawer
Kcal Support ( use Color Control app to adjust colors )
Gello removed and replaced by latest TugaBrowser ( built in OTA for the Browser ) ( blocks ads and protect privacy)
TugaBrowser -> http://forum.xda-developers.com/android/apps-games/app-tugabrowser-t3472457
Call Record
Support out of the box to microG GmsCore ( http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616 )
No more need to make microG system app
Multi-ROM Support
Increase max chg current to 2000/500mA
Kernel permissive
PoGO: Gonna catch then all
Partial screenshot ( activate screenshot on power menu button and long press there to activate partial screenshot )
Full support to Substratum OMS7 RootLess
Powered by Magisk root v16.x
Replaced Trebuchet with latest Lawnchair beta ( https://github.com/Deletescape-Media/Lawnchair )
3 finger screenshot support
What does not works:
Let me know to add here
Be sure you dont have an older Magisk module called Android Pay Fix on Magisk or NFC will start to FCing
Change log N65.0 :
Project name: android
December Security Patch
Updated Lawchair to Alpha 783
Updated Magisk Cannary Release to latest version
( use https://bit.ly/2N8UVlq in custom magisk channel )
Project name: android_external_v8
Remove unrecognized compiler flag
Revert "Backport: Fix Object.entries/values with changing elements"
Project name: android_frameworks_av
CTS error while media dump()
Project name: android_frameworks_base
Recover shady content:// paths.
Pass userId through to singleton ContentProviders
This android version is the last update, no more updates to Nougat
It was a long run...
Thanks all for the support.
Download: https://tugapower.net/TP/OP1/NOUGAT/TugaPowerN65.zip
MD5: 272a0ea5dd43041d0b45a11f1470c8bb
Please dont mirror for now the roms zips, thanks
Sources :
Rom:- https://github.com/LineageOS
Kernel:- https://github.com/LineageOS/android_kernel_oneplus_msm8974
Yeah, downloading. Android 2.3 GingerBread, i was waiting so many time for this, thanks!
UPDATE:
Installed and booted. First impression: this is not 2.3 GingerBread, i've been tricked by daniel.
Alright, in case some people want to know some first impressions:
Everything is working fine, even the backlight hardkeys.
It has some features like CM13: livedisplay, privacy guard, in-root working, custom action buttons and some other stuffs.
You can directly flash the rom with the gapps and it will not show any error (tested with opengapps nano 09/17/2016). Also flashed viper4andoid with no problem.
Adaway working with no need to install busybox.
A bug i found is that i cannot change the custom battery icon from the CM options.
To be the first build it's really great. The only things i miss are CM Theme manager and KCAL control but i'll be patient to see them in futures updates.
Thanks for the work daniel.
UPDATE 2:
With the purpose to clarify some possbile doubts i'm going to say what you need to do to get KCAL color control, Multirom support and themes. This might be useless in future updates.
Although it's not recommended so it can affect the stability and perfomance of the rom, if you are desesperate (like me) to get this features you can follow this steps. Do not report bugs to daniel related to kernel, storage, interface or FCs that could be related to the following steps if you follow them, you're using mods unrelated to the rom.
-For KCAL color control you need to flash a custom kernel compatible. I've tested Radioactive kernel and works with no problem. I repeat: This is not recommended because might cause incompatibilities, but just in case you want to get KCAL and other features related to kernel you can do it at your own risk to bugs.
-For flash it as secondary rom with multirom follow the steps from @venky716 and give him thanks: http://forum.xda-developers.com/showpost.php?p=68727289&postcount=37
Edit: KCAL control and MultiROM support already implemented.
-For themes i installed substratum. What you can do and what you can't do: You can use the theme manager with user apps like whatsapp, kernel adiutor, twitter, etc but if any change is implemented in system components you could get a boot-loop. I didn't tested system apps but i would not recommend it.
Good job Daniel. Downloading now.
Best ROM ever.
Very cool.
Sent from my A0001 using XDA-Developers mobile app
Thank you very much for this build and your hard work. I'll give it a try.
Sent from my A0001 using XDA-Developers mobile app
CM kernel?
Sent from my A0001 using Tapatalk
Thanks for work! Did NFC working?
Sent from my A0001 using XDA-Developers mobile app
This is amazing. Sorry to say but I didn't liked your 6.0 builds. Don't know why. But definetly I'm going to try this out.
Any suggestion? Should I be F2FS or EXT4?
How I can login into your browser?
Another Android 7 ROM for OPO by a great dev! Thank you for your work! Will try it soon!
thnx for effort
downloading now...
thanks for building this rom...
Hi,
first of all thank you for your work @danieldmm.
Flashed it right now and currently using the system.
Great work so far. Got system as ext4 and data and cache as f2fs formatted and it works.
However, "Anomalies" i have witnessed so far:
1. Settings -> Status Bar -> Hitting "Status Bar Icons" crashes and opens Settings again.
2. Changing the Battery status style does not change the icon
3. Camera crashing instantly after u open it.
Thats all for now since i did not use the system long but will report further bugs if any occur.
I should wait for tomorrow to do this. But will I ...
Gesture typing on aosp keyboard doesn't work ATM... Using google one instead
f2fs compatibility?
edit - i would think at this early stage a pointer to the gapps that works is probably a good thing. my thought is that as a developer point to the preference of what you have built.
and then you run away from what should I get?
milomak said:
f2fs compatibility?
Click to expand...
Click to collapse
data and cache, will test on system on my next release...
but tuga i think point a link to the gapps you used. in your op. or are they included in your download?
i've used and contributed to you.
but i think this needs to be clear
edit - only because as we move from place to place, some have have. some don't.
Weird. I can't receive snapchat sms for auth :/
milomak said:
but tuga i think point a link to the gapps you used. in your op. or are they included in your download?
i've used and contributed to you.
but i think this needs to be clear
edit - only because as we move from place to place, some have have. some don't.
Click to expand...
Click to collapse
It's written. Gapps advised it's Open Gapps Nano Package. Obviously the package for Android 7.0. Tomorrow will add the info on the thread to be more explicit. Cheers
Also notice at least for Google messenger when you pull down from status bar to reply to a text the notification doesn't go away

[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