Related
Here's a kernel build based on CM7 Kernel Source Tree
Special Shout out to DebauchedSloth for his pull requests and collaboration on this open source project
Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to hack this kernel. If you use my modified kernel source in its entirety, I kindly ask you to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source. Thank you
What is a Kernel? The Kernel is the Foundation in which everything else builds upon in any software system.
[Car Analogy]: Kernel is like the Engine, Electrical system and the Transmission to a car. The Library, Framework and the Apps [AKA ROM] are the body frame and the rest of the Car.
THIS KERNEL is BASED ON CM7 Source Code. So it is COMPATIBLE ONLY WITH CM7 Builds.
Please DO NOT use any task killers, they DO NOT improve performance nor battery life. They INTERFERE with your phone's stability (more crashes) and App compatibilities (Forced Close).
ZRAM (aka CompCache aka RAMZSwap)
ZRAM is an updated version formally known as CompCache and RAMZSwap. It was originally designed for 2.6.38.xx kernels, I have backported to our 2.6.35.xx kernel. ZRAM allows real-time compression of memory objects in RAM thus reducing memory pressure for the Linux kernel and can keep more apps in memory longer (more apps in RAM == better performance, less fetching from slower MMC or SDCard). Compression, however, is not Free. Some CPU cycles are required to do the compress/decompression, so there's a slight penalty for it. The original CompCache / RAMZSwap required a user space binary to control its behavior which adds additional penalty to performance, but the new version ZRAM eliminated the need for a separate dedicated daemon, thus reducing the overhead and increased performance from the old CompCache by 20%. Therefore, with the newer implementation of ZRAM interface, the performance penalty is almost negligible.
Joe's RCU (Optimized for Small SMP systems)
Joe Korty has created an RCU for small SMP systems (> 32 cores). His approach is to isolate all the Garbage Collection (GC, a slow time consuming but necessary processing) to a single core, thus allowing other cores to ONLY work on real required processing. This will allow the additional cores to complete their assigned tasks as fast as possible (not bogged down by GC) then immediately go back to a suspended state (saving battery).
Fast No Hz RCU (Optimized for SMP operations)
Fast NoHz is an optimized version of the traditional Tree RCU. Many new kernels are using the Tickless NoHz design. This RCU is tailored and designed to work with the new NoHz kernel system.
Brain F*ck Scheduler - (BFS)
This scheduler is designed to be simple and speedy tailor specifically for user interface type systems such as desktop/smart phone devices where user interaction is MORE important than serving 1 million web requests (CFS, the default scheduler) at the same time (think of nimble desktop workstations vs large corporate servers).
SLQB - (SLAB allocator with Queue)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate). Not all kernels are using SLQB including CM7 main line...
Fair Budget Queue (BFQ I/O scheduler)
This I/O scheduler is an improvement on top of Completely Fair Queue (CFQ). CFQ is fair in terms of time but not in terms of throughput / bandwidth, so BFQ make sure that both time and throughput / bandwidth are balanced across all requests.
THIS IS ONLY FOR THOSE WHO ARE WILLING to FLASH THIS ON HIS/HER OWN PHONE... IF YOU ARE NOT COMFORTABLE WITH THIS YOU SHOULD NOT FLASH THIS.
For those who decide to flash, please post the results and/or issues here
[ Current Release Files: ]
[ Start @ 1.0 GHz, Stock Voltage, Max @ 1.55 GHz ]
(Official LGE/Tegra Voltage Values, Same as STOCK LGE Kernel)
The File ==> CM SV Kernel Version 054 stable <==
[ Start @ 1.0 GHz, Stock Voltage (Low Grade aka LG, Max @ 1.48 GHz ]
(Official LGE/Tegra Voltage Values, Same as STOCK LGE Kernel)
The File ==> CM SV Kernel Version 054 stable (LG) <==
[ Installation procedure: ]
1. reboot to CWM
2. Clear cache
3. Advanced, clear Dalvik
4. install zip from SDcard
5. Reboot
DONE!
[ Bulletin: ]
Version 050 is out. SOD, performance issues fixed
[ Bugs: ]
None so far...
[ History: ]
See 2nd post below!
Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this ROM or Kernel!!!
My github in Compliance with GPL
[ History: ]
Version 0.0.1 (deprecated)
Added SLQB memory allocator
Added FakeShmoo OC/UV
Added MinMax Governor
Version 0.0.2 (deprecated)
Adjusted Touch Sensitivity
Adjusted virtual keyboard deadzone
Version 0.0.3 (deprecated)
Updated Kernel to 2.6.32.40!!! Latest Patches!
Version 0.0.4 (deprecated)
Added new 1500 MHz frequency
Made Performance Governor Default (supposedly Tegra has HW scaler)
Default to 1100 MHz as startup frequency.
Version 0.0.5 (deprecated)
Fixed Max OC to allow proper 1.5 GHz setting
Revert back to MinMax Governor to conserve Battery Life
Version 0.0.6 (deprecated)
Updated kernel battery driver for better battery reading
Reduced amount of memory freed by oom_kill
Undervolted -50mv across the board by default
Lowest CPU Freq is now 400 MHz instead of 300 MHz, voltage remain the same
Governor switched back to performance due to some issues
Version 0.0.7 (deprecated)
Removed unnecessary spin locks to eliminate random stalls (lag)
Version 0.0.8 (deprecated)
Removed LG ATS driver support (not needed)
Removed ERRATA 720789 (not needed)
Version 0.0.9 (deprecated)
[ major fail on my part. blame on 3AM kernel hacking ]
Patched MM portion of kernel
Added Relaxed I/O accesses
Version 0.1.0 (deprecated)
Patched from 2.6.32.40 to 2.6.32.41
Compiled with Tegra2 specific VFP optimizations
Version 0.1.1 (deprecated)
Compiled with even MORE Tegra2 specific optimizations
Version 0.1.3 (Beta, Closed!)
Updated battery driver by DebauchedSloth
Boosted Headset volume by DebauchedSloth
Version 0.1.4 (Beta, Closed!)
Updated battery driver (part 2) by DebauchedSloth
Version 0.1.7 (deprecated)
Use normal oom_killer threshold
Upated to use TMUS specific CPWatcher (fixed kernel oops)
Revert star_battery change internal percentage calc method
Mem Cgroup optimizations
Fixed init.d issue
Added read-ahead cache for internal FLASH and SDCARD
Version 0.1.8 (deprecated)
Patched MM
Patched ASHMEM
Updated RCU to use NoHz matching NoHz for SMP used by Tegra2
Version 0.1.9 (deprecated)
BCM4329 disable ISCAN, enabled CSCAN
Patched RCU IRQ handling
Grab CPU Serial Number during boot
Version 0.2.0 (deprecated)
Added LG specific LED kernel driver (props to Aremcee)
Enabled LED generic driver
Version 0.2.1 (deprecated)
Fixed LG LCD Back Light driver
Updated LG LCD ALC/ALS sense cycle from every second to every 1.5 seconds (reduce pulsing effect)
Version 0.2.2 (deprecated)
Memory Carveout reduced from 128 MB to 64 MB
Updated LED config
Overclocked AVP from 240000 KHz to 266400 KHz
Overclocked DDR2 SDRAM timing from 300 MHz to 333 MHz
Version 0.2.3 (deprecated)
Updated BlackLight driver to be more compatible
Version 0.2.4 (deprecated)
Reduced cpu load by making LED notification as a single cpu thread
Reduced cpu load by making Battery driver polling as a single cpu thread
Reverted back to CM7 battery driver for now
Version 0.2.7 (deprecated)
Updated OC Voltages and Frequencies for UV and SV kernels
UV Kernel up to 1.55 GHz
SV Kernel up to 1.40 GHz
Fixed Gyro/Accelerometer output scale factor
Fixed Suspend issue
Fixed lag issue
Version 0.2.8 (deprecated)
Enabled USB Accessories Support
Revert to DS' Battery Driver (CM7 batter driver was causing overheating issues and faulty charges).
Version 0.2.9 (deprecated)
Patched to the p990h v10a drop
Split DS and CM driver into separate zips
Dropping EXT3 versions (too many zips to deal with)
Version 0.3.0 (deprecated)
Fixed WiFi DeepSleep
Enable BT Address access
Reduced unnecessary activities in Battery Charger
Power off Hall Sensor (magnetic) and Accelerometer when not using
Version 0.3.1 (deprecated)
Fixed overly aggressive accelerometer sleep policy
Added Voodoo Sound Processing
Version 0.3.2 (deprecated)
Reverted both power save for Hall and Accelerometer
(Both commits broke magnetic and compass drivers)
Version 0.3.3 (deprecated)
Partially revert load reduction for battery drivers (CM7 and DS)
(this is to fix alarm issue)
Revert WiFi deep sleep policy
(this is to fix WiFi Calling Issue while screen off)
Version 0.3.4 (deprecated)
Changed GPU carving back to 128MB to fix reboot issues
Cleaned up FakeShmoo Overclock code in general for future tweaks
GPU 3D overclock enabled
APV Overclock increased to 280000
Added new LED notification compatibility
Version 0.3.5 (deprecated)
Updated to LG latest drop v10e
Allowed LED lights to be configurable
Version 0.3.6 (deprecated)
Updated to LG latest drop v10e (part 2)
Updated touch screen driver
Version 0.3.7 (deprecated)
Reverted drop v10e's NVRM changes
Adjusted sleep GPIO settings
Updated Kernel to patch level 2.6.32.42
Version 0.3.8 (deprecated)
tegra_gps: Hold wakelock while GPS is in use
Cleaned up OC minor coding error
Updated Bluetooth Sleep driver from V21e (Better Power Savings)
Added Compressed RAM Swap Memory from LGE V21e (More available RAM)
Updated WL driver to use thread based control from LGE V21e (Better way of Control)
Updated Gyro Accel, Compass and TS0710MUX (used for GSM) drivers from LGE V21e (Faster Transfer and better sensor readings)
Added Memory Carveout Killer to reclaim unused memory from LGE V21e (More available RAM)
Version 0.4.1 (deprecated)
Fixed oops that was 0.4.0 (Blame midnight hax and lack of caffeine)
Patched kernel to 2.6.32.45
Updated Battery Charger driver from LGE V21e
Updated rindrv for better TCP throughput from LGE V21e
Updated Mic Bias for headset from LGE V21e
Updated Headset and Amp initialization order per LGE V21e
star_bl: Lower ALC voltage values
p99x: Board file updates from v21e
star: Fix headset detection on resume
star_powerkey: Fix missed events while on LP1
star_proximity: Move event generation to workqueue
nvodm_touch_synaptics: Adjust coordinate limits
star_proximity: Fix pin assignment on p999
Updated CM7 battery charger driver
Version 0.4.2 (deprecated, Nightly 143+)
Updated RAMDISK for Nightly 143+
USB: Remove serial functions from RNDIS composition
Revert "TTY: ldisc, do not close until there are readers
Revert "Fix memory leak in cpufreq_stat
removed LGE's compressed RAM Swap
Version 0.4.3 (deprecated)
Used the git implementation of SHA-1 to reduce boot time by 11%
Updated uidstat to only count IPv4 traffic
Optimized memcpy and memmove for string library calls (real working version )
Version 0.4.4 (deprecated, Nightly 174+)
Added optimized CRC32 and CRC32c which pretty much improves EVERYTHING which use those 2 library calls including File Systems, TCP/IP etc
Added Arcee's SPI DVS patch
Added LZO compression support (for ZRAM)
Added ZRAM patched to beyond Linux 3.1-rc9 (a newer version of Ramzswap without user space daemon )
tegra: Updated nvhost for new star userspace bits
Version 0.4.5 (deprecated, Nightly 174+)
cpufreq: fix cpufreq_stats table removal warning via cpu hot-plug
base:cpu.c: Cherry pick updates from Motorola Atrix 4G kernel
cpufreq: cherry picked updates from Motorola Atrix 4G kernel
compilation: fixed annoying debug section mismatch warnings
Revert "Fix memory leak in cpufreq_stat"
kernel patch: 2.6.32.48 -> 2.6.32.49-rc1
atomic_t: Cast to volatile when accessing atomic variables
Revert "Revert "Fix memory leak in cpufreq_stat""
Revert "Revert "TTY: ldisc, do not close until there are readers""
Revert "tegra: Import dvs updates for SPI from p999's v21e"
Revert "nvrm_user.c: Updates from the p990 v10e drop. Fixes BSOD while charging"
kernel patch: 2.6.32.47 -> 2.6.32.48
kernel patch: 2.6.32.46 -> 2.6.32.47
kernel patch: 2.6.32.45 -> 2.6.32.46
Version 0.4.6 (deprecated, Nightly 174+)
star: Import some v20l patches
star: Add GPIO pins G0, G1, and W2 to wakeup pad
mm: retry page fault when blocking on disk transfer
sched/rt: code cleanup, remove a redundant function call
ARM: Add optimised swahb32() byteswap helper for v6 and above
hugetlb: Replace BUG() with BUILD_BUG() for dummy definitions.
kernel.h: Add BUILD_BUG() macro.
block: limit default readahead size for small devices
PM / Suspend: Fix bug in suspend statistics update
mm/vmalloc.c: eliminate extra loop in pcpu_get_vm_areas error path
lockdep: print lock name for lockdep_init_error
init/main.c: execute lockdep_init as early as possible
[PATCH] Input: introduce device properties
[PATCH] input: mt: Add hovering distance axis
input: mt: Break out slots handling
Input: introduce MT event slots
USB: f_mass_storage: Disable write cache support
kernel:sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
sched: don't call task_group() many times in set_task_rq()
PM: wakelocks: Don't report wake up wakelock if suspend aborted
rtc alarm: fix bad index when canceling alarms[]
ARM: support XZ compressed kernels
decompressors: add boot-time XZ support
decompressors: add XZ decompressor module
arm: Allow CPU-supported unaligned accesses
PM: wakelocks: Display wakelocks preventing suspend by default
mmc: core: put eMMC in sleep (cmd5) mode before suspend
input: evdev: Add missing wake_lock_destroy
lookup3(). The new hash function
Version 0.4.7 (deprecated, Nightly 174+)
Patched to kernel.org 2.6.32.50
Version 0.4.8 (deprecated)
Patched to kernel.org 2.6.32.51
Version 050 (Current, CM7.2.0+)
Increased BL polling from 2 sec to 3 sec
Fixed sys_sync() stability issues
Backport CFS Autogroup to allow for better multitasking performance (smoother operations)
Optimize Driver wait/sleep time outs with more CPU friendly operations
Fixed occasional Sleep-to-Off issues (Take 2 )
Fixed occasional Sleep-to-Off issues
Removed some kernel debug options
Enable ARM unaligned access
Added CM7.2.0 Stable Compatible RAMDISK
Added Screen Off CPU limiter (limit CPU usage to Max 503 MHz)
Turn off 2nd CPU core while screen off
Fixed reboot hang issues
Fix Temple run issue using Sensor updates from v20L
DS battery driver is NOW DEPRECATED (NO LONGER AVAILABLE)
Add CPU Freq Table support (which fix the CPU stats bug, now you can use CPUSPY to see deep sleep stats)
Adjusted CPU freq table, Lowest @ 216MHz, Highest @ 1552MHz
use generic strnlen_user and strncpy_from_user functions
Patched to Linux 2.6.32.59
Added 18 patches from LGE V21Y 2.3.4 GB source drop
Reserved 2 just in case....
When you say you've added min/max governer not sure what you mean. I'm under the impression that Tegra only uses Performance. When I go into governer setting in pimpmycpu there is no option to change it.
Note: It boots fine with cm7 and BT/wifi work fine. Now to test OC/UV
jlevy73 said:
When you say you've added min/max governer not sure what you mean. I'm under the impression that Tegra only uses Performance. When I go into governer setting in pimpmycpu there is no option to change it.
Note: It boots fine with cm7 and BT/wifi work fine. Now to test OC/UV
Click to expand...
Click to collapse
I don't see why tegra only supports performance... I could be wrong... Governor should be independent of CPU architecture underneath.... Could be a limitation of pimpmycpu...
BTW, Did you try it yet? Did it boot? I am curious....
Just wanted to say I just donated 10.00 hard earned bucks towards your G2X fund Faux!
faux123 said:
I don't see why tegra only supports performance... I could be wrong... Governor should be independent of CPU architecture underneath.... Could be a limitation of pimpmycpu...
BTW, Did you try it yet? Did it boot? I am curious....
Click to expand...
Click to collapse
This kernel is excellent, very fast @1.3/1.3 Smartbench 2011 score was 4976/3014. That's a better score than the viewsonic clocked @ 1.7
Fp2sd = 117FPS
Linpack = 49
Great work, thanks! Hope you get your device soon!
jlevy73 said:
this kernel is excellent, very fast @1.3/1.3 smartbench 2011 score was 4976/3014. That's a better score than the viewsonic clocked @ 1.7
fp2sd = 117fps
linpack = 49
great work, thanks! Hope you get your device soon!
Click to expand...
Click to collapse
thank you thank you thank you... I am very happy it booted at all.. I am even more happy that it actually worked from a blind build!!!!!
PLEASE TEST the HELL OUT OF IT!!!!
GOing to bed... tired as hell
faux123 said:
thank you thank you thank you... I am very happy it booted at all.. I am even more happy that it actually worked from a blind build!!!!!
PLEASE TEST the HELL OUT OF IT!!!!
GOing to bed... tired as hell
Click to expand...
Click to collapse
I sure will, once again thanks. Great job
Is this only for CM7? I just love the way stock is running for me so far. I mean I don't mind reflashing CM to test this.
Sent from my LG-P999 using XDA App
And this is for CM7 only??
G2X
fcisco13 said:
And this is for CM7 only??
G2X
Click to expand...
Click to collapse
Yes, for cm7 only.
Ouch....would really love to give these kernels a try...but the stock rom is sick....I anxiously await a stock overclocked kernel....if I had the time and skill I'd have done it myself.
Sent from my LG-P999 using XDA Premium App
Kernal boots fine for me as well. Noticed a increased in speed @ 1.4GHz
Get the phone already!
Quandrant Results
Original at 1Ghz got a ~2000
Overclocked at 1.4Ghz got a ~2800
I know Quandrant isn't accurate but it's fun.
Damn....u did it first! Nice job congratulations!
This thing absolutely screams at 1.3GHz. I'm not experiencing any new bugs or seeing fixes to old ones. I hope folks will post speeds and voltages that are working for them as our use of this kernel settles into a routine.
bookmarked this thread! might wanna try soon.
jland22 said:
Just wanted to say I just donated 10.00 hard earned bucks towards your G2X fund Faux!
Click to expand...
Click to collapse
I just donated another $5.00 not much but your building roms blind...Great Job
Is this only for cm7? I had alot of problems with cm7 could connect to mobile network no matter what I tried. I would love to try this just don't want to mess with cm7 right now cause I need my phone for work & on call emergencies. So any who will this work on stock rom with Pauls fix? Please let me know I'm dieing to give this kernel a go. Thank you fuax123 your hard work is greatly appreciated. Hope to see more awesomeness from you in the future.
Sent from my LG-P999 using XDA App
Love your work!!! Can't wait to try this. Sent ya $30 and would love to send ya a fone but your blind work is simply AMAZING!
Thanks 3x
NOTICE: This is COMPATIBLE with ALL AOSP/CM7/CM9/OpenSense Based ROMs
(Thanks to Albinoman887, scorp2kk, intervigilium and vorbeth for pull requests and contributions.)
For frequency control use fauxclock from Google Play
Just a statement regarding kernel source: The Kernel Source is of course covered under GPL version 2. Free software does NOT mean no work or time was spent working on it. I have donated a large sum of my free time to hack this kernel. If you use my modified kernel source in parts or in its entirety, I kindly ask you mention its origins and to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source. Thank you
Hi XDA members and fellow Sensation users:
This is my eleventh kernel hack. I want to thank Cyanogen, CyanogenMod members, Erasmux, and several others I cannot recall for inspiring me to venture into this unfamiliar territory for me.
What is a Kernel? The Kernel is the Foundation in which everything else builds upon in any software system.
[Car Analogy]: Kernel is like the Engine, Electrical system and the Transmission to a car. The Library, Framework and the Apps [AKA ROM] are the body frame and the rest of the Car.
THIS KERNEL is BASED ON CM7 Source Code. So it is COMPATIBLE ONLY WITH CM7/AOSP Sensation Builds.
Please DO NOT use any task killers, they DO NOT improve performance nor battery life. They INTERFERE with your phone's stability (more crashes) and App compatibilities (Forced Close).
Joe's RCU (Optimized for Small SMP systems)
Joe Korty has created an RCU for small SMP systems (> 32 cores). His approach is to isolate all the Garbage Collection (GC, a slow time consuming but necessary processing) to a single core, thus allowing other cores to ONLY work on real required processing. This will allow the additional cores to complete their assigned tasks as fast as possible (not bogged down by GC) then immediately go back to a suspended state (saving battery).
Fast No Hz RCU (Optimized for SMP operations)
Fast NoHz is an optimized version of the traditional Tree RCU. Many new kernels are using the Tickless NoHz design. This RCU is tailored and designed to work with the new NoHz kernel system.
SmartAssV2 Governor (Balanced)
This governor has a built-in "profile" similar to SetCPU, so screen off will use lower clock rate thus conserve more battery, but it also has a fast wake up feature so that user interaction will not see the lag when switching from Sleep to Wake state.... (So SetCPU Profiles are sorta redundant when using this governor, you can still use SetCPU to OC to higher than default Clock frequency).
Interactive Governor (Performance)
This governor is designed to put more priority to User Interface (UI aka Apps) tasks, therefore appears more responsive then the traditional OnDemand governor. So if you want the smoothest UI interaction, this governor is for you...
Brain F*ck Scheduler - (BFS)
This scheduler is designed to be simple and speedy tailor specifically for user interface type systems such as desktop/smart phone devices where user interaction is MORE important than serving 1 million web requests (CFS, the default scheduler) at the same time (think of nimble desktop workstations vs large corporate servers).
SLQB - (SLAB allocator with Queue)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate). Not all kernels are using SLQB including CM7 main line...
Fair Budget Queue (BFQ I/O scheduler)
This I/O scheduler is an improvement on top of Completely Fair Queue (CFQ). CFQ is fair in terms of time but not in terms of throughput / bandwidth, so BFQ make sure that both time and throughput / bandwidth are balanced across all requests.
Installation Instructions:
Here's a step by step instruction to install this kernel:
*************** ICE CREAM SANDWICH (Android 4.0.x) ***************
<< Fast NoHz >>
[ CFS-OnDemand ] (Mainline Edition)
The File ==> Latest AOSP Sensation Kernel (1.73 GHz) <==
*************** GINGERBREAD (Android 2.3.x) ***************
<< Fast NoHz >>
[ CFS-OnDemand ] (Mainline Edition)
The File ==> Sensation Kernel 029 (1.73 GHz) <==
[ CFS-OnDemand ] (Extreme Edition -- Should work with most phones but NOT GUARANTEED!)
The File ==> Sensation Kernel 029 (1.73 GHz, ZCACHE, GPU @ 320 MHz) <==
[ Optional: ]
The File ==> Modified Sensation Thermal Throttler Configuration <==
Optional Under voltage: Version 0.1.4+ ONLY
Code:
[ to over volt ALL frequencies by 25000 uv (microvolts) ]
echo "+25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
[ to under volt ALL frequencies by 25000 uv (microvolts) ]
echo "-25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
[ to set a specific frequency (ie 1.18 GHz)
with a specific voltage (ie 1.0875 volts) ]
echo "1188000 1087500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
CPU Frequency Voltage Table
Code:
192000: 812500
310500: 812500
384000: 812500
432000: 812500
486000: 837500
540000: 850000
594000: 862500
648000: 875000
702000: 900000
756000: 925000
810000: 937500
864000: 962500
918000: 962500
972000: 962500
1026000: 975000
1080000: 987500
1134000: 1000000
1188000: 1012500
1242000: 1025000
1296000: 1050000
1350000: 1075000
1404000: 1100000
1458000: 1112500
1512000: 1125000
1566000: 1150000
Low Voltage - Under Volt the processor, therefore uses Less Battery, but NOT ALL CHIPS can handle Under Volt.. If you experience instability, try the Stock Voltage Version.
Stock Voltage - Uses the voltage values from ORIGINAL HTC Kernel Source.
There are NO PERFORMANCE DIFFERENCE between the Under Volted and Stock Voltage versions!
1. download the above file (via phone directly or to a PC)
2. copy the downloaded zip file to /sdcard/download/
3. Open ROM Manager and select "Reboot into Recovery" and select "OK"
4. Once in recovery, select "wipe cache partition", select "Yes", then select "advanced", then select "Wipe Dalvik Cache", then select "Yes" again. Once finished, click the back button to go back to the main recovery menu. On that menu, select "Install Zip From SDCad", then select "Choose zip from SDCard", then go to /sdcard/download and select the downloaded zip file and let it run its script.
5. Once the script is done, select "reboot system now"
Note: After FLASHING, the first reboot may take longer than usual, please be patient... After the first reboot, it may lag during initial load (let everything finish loading). Once everything is loaded and phone is ready for use, reboot the phone a 2nd time and the lag will be gone and everything should be silky smooth...
NEWS BULLETIN:
Version 001 for AOSP/CM9/OpenSense is out! Major thanks to all those who worked on OpenSense device tree! Version 029 is OUT for GB!
Please don't hesitate to talk among yourselves and help each other out... The XDA community is what inspired me to hack kernels for everyone since everyone here is nice and helpful to each other... Keep helping each other.... Famous proverb: It's better to give than to receive...
BUGS:
Not All CHIPS ARE CREATED EQUAL
TO DO:
version 1.x.x -- Haven't thought about it yet...
History:
See Post below...
Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!
My Github Complying with GPL
Follow me on
:
If you find this Kernel useful, feel free to hit the [Thanks] button below
Version History
Version 012 (deprecated)
- EXT 4 Support, CIFS + UTF-8 (NLS Support)
- Kineto_gan Support (WiFi Calling)
- BFQ I/O Scheduler default
- TUN VPN support added
- SLQB memory allocator added and made default
- BFQ I/O scheduler added and made default
- Added NEON and other Snapdragon Compiler optimizations
- Patched kernel to version 2.6.35.14
- Tweaked Voltage Table for more stability
- Allowed unaligned memory access
- Reverted CPU Clock Table back to CAF version
- OC up to 1.512 GHz CAF Fast Version
- Added CAF Patches to msm/cpufreq
- OC CPU up to 1.782 GHz, L2 Cache up to 1.512 GHz
- Added CAF Patch to force max frequency for all cores via sysfs mfreq
- Added Bluetooth BNEP support
- Introducing Synchronous L2 Cache (1.56 GHz version ONLY)
- Introducing L2 Cache Bandwidth Boost (from max 310MHz to 360MHz)
- CAF Patch msm: acpuclock: Subscribe to _FROZEN CPU notifiers
- CAF Patch msm: pm-8x60: Remove redundant code for restoring ACPU Clock Rate
- CAF Patch msm: acpuclock-8x60: Use hotplug notifications for CPU, L2, BUS, voltage
- Added back Scaling_Available_Frequecies sysfs entries (For Mike1986 and other ROM devs)
- Introducing GPU 2D/3D Overclocking <img src="http://rootzwiki.com/public/style_emoticons/default/biggrin.png" class="bbc_emoticon" alt="">
- 3D Engine from 266.6 MHz to 320 MHz (both versions will benefit from this boost)
- Fast NoHz RCU (An RCU designed for Tickless kernel, which is our kernel)
- CAF msm: clock-8x60: Refresh PDM and TSSC halt bits at boot (Bug Fix)
- CAF msm: 8660: Add barriers to SMP boot code (Stability patch)
- CAF msm: clock-local: Add memory barriers for later move to _relaxed accessors (Stability patch)
- CAF ARM: SMP: Make resched-ipi-while-offline warning less verbose (Slight performance tweak)
- CAF msm: clock-8x60: Vote for mmfpb_a_clk at 64MHz (Bug fix)
- CAF mmc: core: put eMMC in sleep (cmd5) mode before suspend (Power Saving)
- CAF msm: clock-8x60: Don't disable clocks in reg_init (Bug fix)
Version 014 (deprecated, CM7 Alpha1 ONLY)
-Introducing Global CPU Voltage Table (Under volt capability via sysfs interface, inspired by snq adapted for Snapdragon Dual-Core by me )
Version 019 (deprecated, CM7 Alpha2+)
Applied many FrameBuffer patches from CAF
Applied couple more KGSL patches from CAF
Revenge of CFS, CFS Enhancement (Interactive latency greatly reduced, make it BFS like)
Applied many FrameBuffer patches from CAF yet again
Added New Early suspend drivers for 2D and 3D GPU engines
Re-Enabled KGSL Ringbuffer Power Management Overrides
Updated to JHash3
Updated Cpufreq to copy policy from siblings
Fixed memory leak in cpufreq stats
Removed CPU from NoHz Idle fair cgroup
Shorten 1080P start up latency
Fixed USB Gadget Serial Crash
Applied more MSM FrameBuffer updates from CAF
Fixed random SPI Operational State Invalid error
Added histogram capability for MSM video
Added lock/unlock for KGSL Early Suspend Drivers
Updated KGSL power level change
Revert Reg Init Patch from earlier (cause of instability)
Optimized memcpy and memmove for string library calls (real working version )
fixed audio unmapped memory crash
fixed inaccurate D-Cache size Macro
Version 020 (deprecated, CM7 Alpha2+)
CFS Autogroup Version 2.0 (Super Charged CFS)
Fixed Kernel/Timekeeping issue
Fixed Full / Stretched Screen issue for Video Player
Patched FB and KGSL
Fixed Random Reboot issue (took me a week to verify this fix)
Revenge of JRCU (JRCU tweaked for better performance and battery savings)
Removed ALWAYS ON ADM Clock to save battery
Moved Data Mover to early suspend for cleaner exit
Version 023 (deprecated, CM7 Alpha2+)
Added XZ Compression support to 2.6.35 kernel
Added XZ Compression support for kernel image
Added XZ Compression RAMDisk support (boot time)
Used the git implementation of SHA-1 to reduce boot time by 11%
Updated qdsp6v2 to block write until buffer is full
Updated trivial bug fix for SMP macro
Added newly optimized CRC32 Improves EVERYTHING that uses it including TCP/IP, File Systems etc...
Added newly optimized CRC32c improves EXT4 metadata performance and anything else which uses CRC32c
Patched msm_serial_hs_lite (better battery life)
Patched qdsp6v2 to fix unexpected power consumption (better battery life)
Patched mdp4_overlay to flush RGB pipe when solid fill mode is used (better battery life)
Patched clock-8x60 to add a lower gsbi_uart_clk entry to save power (better battery life)
Lowered Camera Flash limit from 30% to 10%
Tweaked conservative governor for better interactive performance
Enabled Deep Power Management Options (better battery life)
Lowered CPU Minimum Voltage (better battery life)
Gate smi_2x_axi_clk off when smi_clk is disabled (better battery life)
Fixed performance level computation for VCD (better performance)
Added local control of vpe_axi_clk and rot_axi_clk (better battery life)
Removed unnecessary checks from DMA engine (more efficient DMA Engine == performance)
ARM Patch: Use CTR for the I-cache line size on ARMv7 (better performance)
Enabled inline locks for ARM (performance)
CPU workqueue optimization (limit some workqueues to single thread)
patched qdsp6v2 to Set tx and rx flags based on current device
patched display to avoid staging up two pipes at same mixer_stage
Added GPU slumber (whenever screen is off, GPU is set to sleep)
Added idle wait support for SMP
Fixed AXI clock bug in GPU
Fixed L2 Cache Synchro bug (better performance)
Updated spin lock code (better performance)
Reduced WiFi voltage to min recommended by datasheet (better battery)
Reduced other sub-system voltages by 5~10% (better battery)
Eliminated unnecessary macro from decompressors (code clean up)
Wind down GPU turbo mode if idling (better battery)
compiled with latest code sourcery (better performance)
Fixed Power Management memory leak
Added 2 way call record capability (thanks to mdeejay!)
Patched wakelock to latest AOSP
Patched audio DSPs
Patched Ondemand Governor for better power savings.
Version 024 (deprecated, CM7 Alpha2+)
NoHz RCU set as default
Disable BCM4329 wake irq when stopped (battery saving fix)
Re-order PPP packets in PPPoLAC and PPPoPNS (VPN bug fix)
PLL clock training with higher frequencies for better stability (stability enhancements)
mfd - Fix memory leak in debug probe
Introducing GPU 2D scaling governor (Enabled, completely original coding from me)
-- now it will scale from 145.455MHz~200 MHz depending on usage (this should save additional battery while screen is on).
Introducing IntelliDemand CPU governor
-- Built-in Screen Off profile (like SmartAss)
-- Built-in Browsing detection (enabled, completely original coding from me)
(this will limit cpu clock to max 1.0 GHz while browsing web, book, email etc)
Adjusted 3D and 2D GPU scaling and initial states for better compatibility with Rosie
Version 025 (deprecated, CM7 Alpha2+)
msm72k_udc: Replace dma_coherent_pre/post_ops with mb/rmb
nfs: writeback pages wait queue
block: limit default readahead size for small devices
make default readahead size a kernel parameter
smd_pkt: Extend read operation to receive data larger than SMD FIFO
pet watchdog from console driver
Correct the number of slave ports in the system
watchdog: increase pet time to ten seconds
led: enable dynamic LED brightness
mm/vmalloc.c: eliminate extra loop in pcpu_get_vm_areas error path
Revert "qup_i2c: Calculate combined write length for multiple write transactions" (broke Sensors )
restart: call secure code to disable arbiter
restart: Handle reset interrupt from pmic
pmic8058-xoadc: request's done late into suspend
pmic8058-xoadc: Add mpp_config call on configure
Remove pm_runtime_suspended() from __pm_generic_call
HDMI: Support for 480p 16:9 in HDMI Driver
qdsp6v2: Reduce the pcm write timeout value
enable ldo's in PHY resume path (usb)
Add suspend/resume for TSENS (thermal sensor)
While powering down flush all the rpcrouter workqueues (rpc)
Reader thread to allocate memory without holding a spinlock (rpc)
Reorganize the usage of spinlocks in RPC Router reader thread
Update RPC client's cb_list_lock to use spinlocks
Retry callback registration on timeout (rpc)
Add smd_tiocmset api without spinlocks
Close smd ports upon failure to open.
print lock name for lockdep_init_error
execute lockdep_init as early as possible
board:clocks: add comments to make trouble shooting easier
smd_tty: restrict DS port platform driver
smd: add closing state to subsystem restart
smd_pkt: add subsystem restart loopback server reinit
smd_tty: add subsystem restart loopback server reinit
smd: add check for LOOPBACK_TTY platform device
Add 10 microsec delay before fetching setup_data (usb)
Simplify ACA state machine to support standard ACA (usb)
Recovery point SEI support for ISDB-Tmm (vidc)
Copy the End of Sequence flag (vidc)
Fix H.263 30fps standard resolution encoding.
Override SP profile to ASP for MPEG4 decoding.
Remove check for allocation of sequence buffer size. (vidc)
Update firmware memory size. (vidc)
Fix GOB Header for H.263 encoding.
Increase the decoder input buffer size.
Return the correct error code for IOCTL. (vidc)
Set correct divx codec type.
Handle b-frame not supported error.
Increase the kernel SMI memory size. (vidc)
Report bitstream errors to driver client.
add change to print MFC firmware version
Removed check for comparing DPB Size
add Check for infinite intraperiod configuration.
Fix to handle non-fatal sequence header errors. (vidc)
Fix not coded vop handling in decode order.
add mdp revision number
increase mdp max burst size
Calculate combined write length for multiple write transactions (i2c)
Fix input handler crash (ondemand, intellidemenad)
Add htc off-alarm support from XE source
updated sii9234 tpi driver from XE source code
USB misc code updates from XE source
enable android USB gadget projector support
Added thermal trip critical retry from XE source
updated DMA engine from XE source
fixed minor HTC battery driver coding derp
Added HTC Beats headset support from XE source
kernel:sched: avoids loadavg Moire
don't call task_group() many times in set_task_rq()
block level disk cache target for device mapper
Do not destroy old sched domain on cpu_up
Do not block when waiting to free old root domain
Check for extended quiescent state at start of gp (rcu)
Don't allow cpu to get console lock during hotplugging (printk)
Add the function 'cpu_hotplug_inprogress'
Remove extraneous boot_secondary delay
Version 026 (deprecated)
PM / Sleep: fixed coding derp from "Drop pm_op() and pm_noirq_op()"
mfd: timpani-codec: Handle register write for numbers more than cached one
mfd: timpani-codec: Write register defaults when disabling devices
msm_fb: Remove Audio Packet Control Register setup
mfd: timpani: Retry upon I2C failure.
msm_fb: Check for ACP and ACFG register before reset core.
msm_serial: add PM_RUNTIME code from CAF
mm: retry page fault when blocking on disk transfer
msm: kgsl: Do not allow SLUMBER from INIT
PM / Sleep: Drop pm_op() and pm_noirq_op()
PM / Sleep: Unify diagnostic messages from device suspend/resume
sched/rt: code cleanup, remove a redundant function call
ARM: Add optimised swahb32() byteswap helper for v6 and above
hugetlb: Replace BUG() with BUILD_BUG() for dummy definitions.
kernel.h: Add BUILD_BUG() macro.
msm: kgsl: New low power level
msm: vidc: print message as kernel info instead of error
camera:gemini: update gemini engine from hTc Ruby
battery: battery driver and charging driver update
mm: Android Ashmem update from hTc Ruby
misc: android pmem update from hTc Ruby source code
mfd: marimba core update from hTc Ruby
board: ARM kernel update from Ruby source code
cpufreq: add two-phase to ondemand and intellidemand
Version 027 (deprecated)
input/misc/gpio: update input GPIO driver from PyramidLE source
vidc: 1080p: Override profile to ASP for XVid/Divx456
Re-enabled ZRAM
Version 028 (deprecated)
Updated Zcache and ZRAM to latest Linux-next patches
Added Google's Snappy Compression for ZRAM
Version 029 (Current, CM7 Alpha2+)
Init: Multithread initcalls to auto-resolve ordering issues.*
memcg: let css_get_next() rely upon rcu_read_lock()*
idr: make idr_get_next() good for rcu_read_lock()*
mm: implement WasActive page flag (for improving cleancache)*
zcache: fix deadlock condition*
Revert "msm: kgsl: Clocks should be set to the active level during NAP"*
Revert "partition_sched_domains: Do not destroy old sched domain on c…*
mmc: core: Prevent too long response times for suspend*
Reserved 2... just in case!
Faux123 you're my favorite recognized developer hero
Why do you make your font size so large? Hurts to read.
WOW! CM kernel is out!
I have tested this kernel and it runs very smooth, most things so far work. There are a few hiccups but they could also be due to not having kernel source for the cm7 rom yet.
Im not posting screenshots since it scores about the same as sense based roms. Linpack is a bit low but that could be a number of factors. Overall importance is that the rom is smooth and very agile
Wow, you're quick!
persiansown said:
Why do you make your font size so large? Hurts to read.
Click to expand...
Click to collapse
For those people who fail @ reading
Thank you!
Thanks a ton for all the work you do. At first I was afraid this phone wasn't going to have much love (I came from Mytouch slide), but I have been overwhelmed by the amount of people that are putting out quality work for it
Prepare to have your thanks button massaged a few times.
I knew you were up to something. Flashing now.
Remember to give THANKS were THANKS is due.
Where is the download link?
Idk? Faux were is the download link?
Remember to give THANKS were THANKS is due.
Martovitz said:
Idk? Faux were is the download link?
Remember to give THANKS were THANKS is due.
Click to expand...
Click to collapse
I totally support your message, but, it's "where" thanks is due, dude, not "were."
CM7 Kernel is OUT! Version 012 is the baseline version.
Current CM7 is based on 2.3.3 Binary Blobs, so only up to my version 012 is compatible with it. Once CM7 decides to move to 2.3.4 binary blobs, then I will apply my 013 and 014 patches to the kernel.
Enjoy and have fun.. Now let's post some amazing benchmarks!
Wiped cache, dalvik, flashed 1.78 then thermal patch. Rebooted. Getting constant reboots shortly after ADW EX finishes loading. Won't stop.
man, tonight just keeps on getting better and better lol first we get cm7, then xboarder fixes his AOSP rom due to cm7 , then faux comes out with a cm7/AOSP OC kernel... this phone just became the best out , easily.
Part Four said:
Wiped cache, dalvik, flashed 1.78 then thermal patch. Rebooted. Getting constant reboots shortly after ADW EX finishes loading. Won't stop.
Click to expand...
Click to collapse
hm... my beta tester has tested with 1.78 GHz version and verified that essential capabilities were working correctly.
Part Four said:
Wiped cache, dalvik, flashed 1.78 then thermal patch. Rebooted. Getting constant reboots shortly after ADW EX finishes loading. Won't stop.
Click to expand...
Click to collapse
I tried the 1.78 and worked but bootlooped during cf bench, odd because I have been able to run the 1.78 kernels before but we shall see. I'll be testing heavily tonight.
Edit: Okay she's running just fine on 1.5 so maybe my phone cant handle 1.78.......anymore ....??
faux123 said:
hm... my beta tester has tested with 1.78 GHz version and verified that essential capabilities were working correctly.
Click to expand...
Click to collapse
I don't doubt it. All phones are different. With this 1.78, my phone would freeze and reboot after ADW finished loading, but all of your 1.78 versions worked perfectly for me on Melvin's Beast ROM. Trying 1.56 now.
Marla - Kernel
Version: 2.0.9
Linux Version: 3.0.72
Base: CM10.1
This kernel is the base that Moretz is built on. It has some of the Moretz features, but is really intended to be a slightly modified stock kernel without all the extra bells and whistles that the tweakers like. It should offer better performance and battery life over stock while using OnDemand or SmartassV2 governors.
Simplicity is the intent here ... just flash the kernel, pick a governor and you are done. No voltage control, no need to drop it below 1.512GHz to save battery or any other tweaks. if you want to endlessly fiddle with stuff, you should use Moretz.
Moretz will get faster updates than this rom, it is essentially my test bed for changes. Marla will get the rock solid updates that have been proven to work well on Moretz and don't disrupt the user experience by requiring you to tweak a bunch of stuff.
Features:
- Ultra KSM 0.1.2.2
- Tweaked CPU bus speed (added 400MHz)
- KGSL (GPU) Tweaks
- Expanded 2D @ 3D Bandwidth
- Schedulers: BFQ v6, ROW, No-Op, Deadline, CFQ
- Governors: Ondemand (modded), SmartassV2 (modded), Interactive (stock), Performance (stock)
- USB Fast Charge
- MSM MPDecision - tunable via sysfs
- Smart Zipalign at Boot
- SQLite Optimize Databases at Boot
- Sync CPU governors (thanks elbermu)
- Sync CPU frequency policies (thanks elbermu)
- BLN Support
- Other small tweaks / fixes / enhancements
Supported ROMs:
CyanogenMod 10.1
Supported Devices:
AT&T Samsung Galaxy Skyrocket
Thanks:
Team Chopsticks: mikeyman77 & topprospect
Project Mayhem
Team ROOK
Cyanogen
InstagatorX
roger_n
The Muppets
ktoonsez
elbermu
toyes
mindmajick
franciscofranco
Your Mom
mtdew
This build wouldn't be possible if it wasn't for the hard work of Team Chopstics and Cyanogen who got JB4.2 (CM10.1) up and running for the Skyrocket.
Discussion vs. Bug Reports
Bug Reports:
Please post bug reports to this thread with logcats, kernel messages, etc. Specify which version your are running, the ROM you are using, your setings (voltage, governor, scheduler, etc) and exactly how you can reproduce the bug to this thread. Simple, unquantified or otherwise subjective statements without evidence or detailed description will be ignored.
Discussion:
There a discussion thread in the Q&A section (thanks mtdew) where you can post general questions, feedback and feature requests. That thread is here: http://forum.xda-developers.com/showthread.php?p=40321746
Click to expand...
Click to collapse
Donations - Please Read
I have had people asking me about donations lately, so I figured I'd give you my take on it publicly. I do this for fun and for self education. While I greatly appreciate anyone who would consider donating to me, I would ask that you please donate to the real developers and service providers of our community at any of the links below:
Goo.im Donations: http://goo.im/home (Click the Donate button on their homepage)
CyanogenMod Donations: http://www.cyanogenmod.org/ (Click the Donate button on their homepage)
Thanks!
CvD
Click to expand...
Click to collapse
Marla Downloads
(Use this for CM10.1 based builds compiled on or after 4/24/13)
DevHost: http://d-h.st/users/carvsdriver/?fld_id=16910#files
I recommend TWRP for flashing all my work.
Click to expand...
Click to collapse
Prior builds can be found in my goo.im storage and are considered flash at your own risk.
http://goo.im/devs/carvsdriver
Click to expand...
Click to collapse
Code:
[center]
[B]Installation Instructions:[/B]
Download
Nandroid
Flash
Reboot
Enjoy!
[/center]
Marla v2.0.9 - (7.11.13) - Changelog
build: gcc 4.6
cpufreq: ondemand: remove two-phase control
msm: msm_fb: remove mmio access through mmap
msm8660-common: cifs: use offsetof macro
msm8660-common: clean up uninitialized variables
msm8660-common: i2c: fix Kconfig error for INPUT_YAS529_POSITION
drivers: misc: remove dos formatting from a2220.c
cpufreq: Avoid using smp_processor_id() in preemptible context
cpufreq: ondemand: Fix kernel warning in cpufreq_governor_dbs
msm: cpufreq: make the gov stop part fully atomic
cpufreq: Fix optimal_freq logic on ramp down
cpufreq: ondemand: Fix store_powersave_bias() race with hotplug
cpufreq: ondemand: Fix locking issue in store_powersave_bias
ondemand: Add support to consider other cpu load when scaling frequencies
Revert "cpufreq: notify avg load for short sampling_rate"
msm8660: add additional locking protection to touckey driver
msm8660: fix incorrect gpio_config in touchkey driver
Marla v2.0.8.2 - (6.11.13) - Changelog
touchkey: add BLN support
ld9040: various driver updates to fix locking and regulator on/off
Use lowmemorykiller.c from pre 04-24 kernel
Revert: msm8660: bring back touchkey driver from jellybean branch
Marla v2.0.8 - (5.31.13) - Changelog
board config: build with arm-eabi-4.4.3 toolchain
ld9040: fix lcd brightness
msm8660: bring back touchkey driver from jellybean branch
Marla v2.0.7 - (Unreleased) - Changelog
msm8660: disable CONFIG_GPIO_SX150
Marla v2.0.6 - 5.20.13 - Changelog
defconfig: Disable INLINEs and enable debugging for mutex and spinlocks
Marla v2.0.5 - 5.19.13 - Changelog
mdp: Do not start LUT for overlay0
video: msm: Check for null in LCDC IRQ handler
lib/sha1.c: quiet sparse noise about symbol not declared
arm: remove "optimized" SHA1 routines
lib/sha1: use the git implementation of SHA-1
hardlockup: detect hard lockups without NMIs using secondary cpus
staging: android: lowmemorykiller: Change default debug_level to 1
staging: android: lowmemorykiller: Don't count reserved free memory
staging: android: lowmemorykiller: Add config option to support oom_adj values
tty: hold lock across tty buffer finding and buffer filling
msm: smp: Remove WFE/SEV from secondary core bootup
msm: cpufreq: Fix store_powersave_bias to account for sync' CPUs.
USB: f_mtp: Fix corner cases in MTP driver while syncing
arm: show present cpu instead of online cpu in /proc/cpuinfo
msm: cpufreq: Add API to allow limiting of min and max cpu frequencies
msm: thermal: Simplify kernel thermal safeguard mechanism
thermal: Don't limit CPU frequency after msm_thermal is disabled
msm: pm: save registers to noncached area before pc
msm: idle-v7 : Restore context for NR_CPUS >= 2 when PC fails
msm: idle-v7: Remove redundant cache clean
msm: idle-v7: Power collapse Krait with caches enabled
msm: idle-v7.S: Warmboot support for NR_CPUS >= 2
lib: genalloc: Change chunk allocation to vmalloc
Marla v2.0.4 - 5.15.13 - Changelog
video: msm: Remove buggy locking around FB operations
ARM: Fix deadlock scenario with smp_send_stop()
staging: zcache: support multiple clients, prep for KVM and RAMster
msm: pm-8x60: Don't restore ACPU frequency for hotplug cases.
msm: gpio-v2: Fix lockdep warning
msm: gpio-v2: Add support for irq_domains
irq: irqdomain: Change irq_domain_add to detect errors
irq: irqdomain: Add support for dynamic irq_desc allocations
ARM: gic: Remove unnecessary irq spinlocks from gic_resume path
ARM: gic: Disable all interrupts before Power collapse
ARM: gic: protect some of 8625 GIC functionality with irq spinlocks
ARM: gic: Move GIC based code out from mpm-8625
ARM: gic: Add spinlocks for SGIR/AIR/EOI for 8625
ARM: gic: Add support to access GIC in secure mode
arm: gic: Configure the GIC to run in secure mode
arm: gic: Check for error code on irq_domain_add
arm: gic: Register irqdomain after adding it
Perf: Dont reset PMU's if perf is not active
msm: gic: Remove manual GIC programming for PPI trigger type
msm: clock-8960/8660: Support 32/64MHz prng clock frequency plan
msm: gpio-v2: Clear the interrupt status before unmasking
msm: gpio-v2: Re-arrange the write to RAW_STATUS_EN
msm: gpio-v2: Fix spurious interrupts when gpio-irq is unmasked
msm: pm: clean msm_pm_pc_pgd in the cache after writing
msm: 8960: Set last sleep mode variable for WFI
Marla v2.0.3 - 5.12.13 - Changelog
msm: restart: Always send Samsung magic reset reason
video: msm: Remove dead code causing compilation failure on MIPI devices
video: msm: Call complete_all if vsync times out for LCDC
bdi: use deferable timer for sync_supers task
sched: Fix select_fallback_rq() vs cpu_active/cpu_online
panic: Fix a possible deadlock in panic()
sched/nohz: Fix logic in trigger_load_balance
sched/nohz: Fix logic in run_rebalance_domains
sched/nohz: Fix logic in nohz_kick_needed
sched/nohz: Correctly initialize 'next_balance' in 'nohz' idle balancer
msm_fb: Optimize the resolution change on hdmi interface
msm_fb: hdmi: Do not turn on HDMI if not ready
msm_fb: hdmi: update data on resolution change
qt602240_ts: add additional mutex protection
qt602240_ts: fix incorrect #if !defined(CONFIG_*_MODEL) usage
qt602240_ts: clear unused slots in the framework after calibration
msm: display: update non-double-buffered register
msm_fb: Check for panel power on after Unblank.
msm_fb: display: Assign proper destination rectangles to mdp blit
video: msm: Call unblank for DTV too
msm_fb: Use an exclusive semaphore for Vsync IOCTL
Marla v2.0.2 - 5.9.13 - Changelog:
Set as-instr to use printf instead of echo
net/wireless: Backport stack from 3.4
video: msm: Remove dead code
bluetooth: Fix race conditions in BT LPM
lcdc_ld9040: add additional mutex protection
cpufreq: fix utilization statistics for sync cpus
cpufreq: notify avg load for short sampling_rate
cpufreq: Fix panic when setting sampling rate
msm: cpufreq: Fix the race between dbs_refresh and hotplug.
msm: Remove idle stats and cpuidle hooks
msm: cpuidle: Don't disable IRQ's before calling down into the cpuidle driver
msm: cpuidle: Update C state time stats in the cpu idle device.
msm: cpufreq: fix a race between hotplug and cpufreq
msm: rq_stats: remove io_is_busy from load computation
msm:rq_stats: Register for Cpufreq policy notification
cpufreq: Resolve CPUFREQ_NOTIFY issue
msm: rq_stats: Fix missing initalization of cur_freq
msm_fb: display: do not use ION_IOMMU_UNMAP_DELAYED
msm_fb: display: init pipe default configure as solidfill
msm_fb: display: free previous iommu buffer only at overlay_unset
msm_fb: display: add one more pipe_commit delay before free ion buffer
Revert: msm_fb: display: free base layer pipe at adb stop
msm_fb: display: Do a pre-fill to writeback buffers.
msm_fb: display: remove extra dmap irq disable
msm_fb: display: Wait for DMAE for external interface (DTV)
msm_fb: display: calculate mdp clock including borderfill pipe
Asynchronous I/O latency to a solid-state disk greatly increased
kgsl: gpu: a bump in bandwidth on 2D & 3D
lib/string: use glibc version
Anxiously awaiting
Edit: downloading now. Well try on 4/15 nightly
Running well, will take some time to comment on battery and performance. Smartass, noop
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
I'm on Orthus, and I straight up can't turn off the screen with this kernel... I've reboot twice to try and I star) honestly can't do it
Sent from my I9300 using Tapatalk 2
kchen96 said:
I'm on Orthus, and I straight up can't turn off the screen with this kernel... I've reboot twice to try and I star) honestly can't do it
Sent from my I9300 using Tapatalk 2
Click to expand...
Click to collapse
Dunno I know for a fact its been used on orthus.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
mtdew said:
Dunno I know for a fact its been used on orthus.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
I've checked md5, reflashed kernel 3 times, and it's super laggy on boot and just won't turn off screen! gonna try goign back to moretz and hopefully all will be well again
Edit: Booted up after flashing 2.2.3 moretz and i can once again toggle power
Smooth sailing on PAC Man ROM sfsg.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
So far so smooth me likey on AoCP \m/
Working flawless on Orthus for me.
Sent from my SGH-I727 using Tapatalk 2
kchen96 said:
I'm on Orthus, and I straight up can't turn off the screen with this kernel... I've reboot twice to try and I star) honestly can't do it
Sent from my I9300 using Tapatalk 2
Click to expand...
Click to collapse
kchen96 said:
I've checked md5, reflashed kernel 3 times, and it's super laggy on boot and just won't turn off screen! gonna try goign back to moretz and hopefully all will be well again
Edit: Booted up after flashing 2.2.3 moretz and i can once again toggle power
Click to expand...
Click to collapse
While I appreciate the feedback, these are not at all constructive bug reports. Per the OP, I need logcats or other logging information to actually have something useful to work with if there is a problem.
Additionally, this has been tested extensively for the past two weeks or so by many people on many different ROMs (including Orthus, CM10.1, PAC, etc). None of the testers have reported those issues, which is why logging and concrete information on problems is critical.
mtdew said:
Dunno I know for a fact its been used on orthus.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Click to expand...
Click to collapse
Sure has been. Works fine..
--
Sent from my mind to your screen.
Working great all day on CM10.1 4/16 nightly. Thanks!
I've gone through two battery cycles and have to say it works as advertised. I'm running 4/15 nightly. Battery and performance are all good. Since those are subjective I'll leave it at that. Subjectively, ondemand is better than smartass. Both on noop. I like the simplicity. No uv or uc. Just set it and forget it. Keep up the good work!
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
Just set it and forget it. Keep up the good work!
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
I agree. :good:
Alright, so when I first flashed this on the latest PACman by GS2Usr, I went into a bootloop as discussed on the Moretz thread earlier. I found a computer to get a logcat of the issue and, low and behold, I cannot reproduce the issue now. The attached log is immediately upon boot after reflashing the kernel on top of itself to see if it would bootloop again like it did last night. Alas, it did not, which is a good problem to have I guess:good:, but I thought I'd post it in case you could get anything worthwhile out of it anyway.
http://pastebin.com/embed_js.php?i=6Ur5AUsC
I don't have a logcat, but yesterday I flashed 4/18 and Marla 1.1 in one shot, and it booted, but I had the old issue of BT crashing, so I did a straight reboot, and it got stuck on the boot animation for a long time, ten minute plus. I rebooted again and reflashed just the ROM, it came up fine, then I rebooted and flashed Marla and it again booted fine and BT was working. I had seen this before with nightlies and Moretz, but it hadn't happened for a few weeks.
bps119 said:
Alright, so when I first flashed this on the latest PACman by GS2Usr, I went into a bootloop as discussed on the Moretz thread earlier. I found a computer to get a logcat of the issue and, low and behold, I cannot reproduce the issue now. The attached log is immediately upon boot after reflashing the kernel on top of itself to see if it would bootloop again like it did last night. Alas, it did not, which is a good problem to have I guess:good:, but I thought I'd post it in case you could get anything worthwhile out of it anyway.
http://pastebin.com/embed_js.php?i=6Ur5AUsC
Click to expand...
Click to collapse
Alright CvD, I have tried to replicate my issue with the bootloop referenced above on PAC and Slim while running logcat and I cannot do it. I'm going to go ahead and chalk my instance up to either user error, or freak instance, either way, doesn't appear to be an issue with the kernel. Anyway, kernel is running great, thanks for working so hard to bring us so many kernel options
I seen where you said its compatible with cyan10.1 and orthos. Would it run with the slim bean official build 4?? Running 4.2.2
Sent from my SAMSUNG-SGH-I727 using xda premium
navykid0211 said:
I seen where you said its compatible with cyan10.1 and orthos. Would it run with the slim bean official build 4?? Running 4.2.2
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Yes it is. Slim is CM 10.1 based
Sent from my SAMSUNG-SGH-I727 using xda premium
ctalcant said:
Yes it is. Slim is CM 10.1 based
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Thank you
Sent from my SAMSUNG-SGH-I727 using xda premium
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Proto Kernel
Huawei Honor 9, P10 and P10+
This kernel is aimed for optimal relation between Performance and Battery on the Honor 9 and the P10 family.
It's built with Function and Optimization in mind, no mile-long list of Features and unnecessary Bloat.
P10/P10+ users should download appropriate version.
Users with CN versions (AL-00's, TL-00's, C636 Region and alike) must also download appropriate version (CN) or it will cause a major bootloop.
As of August 23rd, following recent Huawei decisions and intentional provocation of issues with custom firmware, EMUI 8 is only Officially supported up to B369. It will work with more recent versions up to September Patch but WE WON'T TAKE ANY BUG REPORTS FROM THEM.
OpenKirin 8.1 Roms and HavocOS-hi3660 are Officially supported, Compatible with other Treble 8.1 and 9.0 Projects BUT WE ADVISE STRONGLY TO BASE YOUR TREBLE ROMS ON B368 OR B369 AT THE MOST.
DISCLAIMER
I'm not responsible for bricked devices and nuked SD Cards or the inability of reading instructions. Unlocking bootloader, flashing kernels and such, voids your warranty. If you have any doubts or don't know what you're doing, SEARCH, READ and then ASK. And i can't and therefore won't respond to issues without logs.
FEATURES
- Compiled with Linaro AArch64 GCC 5.5 2017.10 and GCC 4.9 2017.01 (CN Versions) (ARMv8,A53 Optimized)
- Native ARM big.LITTLE CPU Driver while keeping Huawei's specific SMP Flow for Kirin SoC
- HiSi GPUFreq driver and Frequency Hopping Spread Spectrum feature
- UV (UnderVolt) on both CPU Clusters and GPU for better efficiency (All thanks to @nutcasev1.5)
- Energy Aware Scheduling (EAS) with "Schedutil" CPU Governor
- blu_active and blu_schedutil CPU Governors
- CAF CPU Boost driver and SchedTune Boost v3
- GPU Scene Aware (set as default)
- Maple, SIOPlus and Zen additional I/O Schedulers
- Aggressive GPU Suspend on Low Frequencies
- Swap and zRam disabled
- NTFS R/W Support
- Reduced Kernel Wakelock Sources by 90% in relation to Stock
- Advanced TCP Algorithms with "Westwood" Default
- Reactivation of the "setenforce" command
- Huawei's Analytics Engine disabled
- Capacitive Button Fix by @zxz0O0
- Wireguard VPN Support
REQUIREMENTS
- Unlocked Bootloader
For EMUI 8:
- TWRP Recovery - @zxz0O0 TWRP Mandatory for the H9
- EMUI 8 Stock Firmware up to B369 Officially Supported. Others may work.
For Treble 8.1 and 9.0:
- TWRP for 8.1 - Get it here -> Link
- You will have to place Zips on external SD because this TWRP can't decrypt internal storage.
- OpenKirin Projects and HavocOS-hi3660 Officially supported. Other projects should work as well.
ACKNOWLEDGEMENTS
- Huawei/Honor for the source code
- @osm0sis for the AnyKernel2 and AIK tools
- @zx2c4 for Wireguard
- @eng.stk for his awesome blu_active and blu_schedutil CPU Govs
- @franciscofranco for the small bits and pieces that just make things work
- @zxz0O0 for initial tips on EMUI8 boot structure and the Capacitive Button Fix
EAS DISCLAIMER
- It is possible, as reported on other device threads, that EAS may increase your active battery drain during the first 2 or 3 cycles of usage. This is normal. Just continue to use the device normally and it will tune itself to your use and battery life will stabilize afterwards.
DOWNLOAD H9
AFH
DOWNLOAD H9 CN
AFH
DOWNLOAD FOR P10/P10+
AFH
DOWNLOAD FOR P10/P10+ CN
AFH
XDA:DevDB Information
Proto8, Kernel for the Honor 9
Contributors
JBolho, nutcasev1.5
Source Code: https://github.com/JBolho/Proto
Kernel Special Features: EAS, UnderVolt, GPU Optimization, Persistent Spectrum Support, Wireguard
Version Information
Status: Stable - Final
Current Stable Version: 5.1F
Stable Release Date: 2018-10-24
Created 2018-04-21
Last Updated 2018-10-24
ProtoSSC, Changelog, Init.d Script and EMUI8 Theme
Q&A, Proto-Spectrum System Control, Proto init.d Script and Proto EMUI8 Theme
Proto-Spectrum System Control (ProtoSSC)
- Spectrum App - Google Play Link
- Spectrum System Control - AFH Download
"What is Spectrum and ProtoSSC?"
Spectrum, to put it simply, it's a quick and easy way of changing between Kernel settings oriented for 4 different scenarios, using pre-programmed profiles. More info? Check out the XDA link:
Spectrum App XDA Thread
Huge thanks to @frap129 for this work (and for Maple I/O too by the way)
ProtoSSC is a set of intructions that will give you full power over your system, completely eliminating Huawei's Management and Override Framework, replacing it with Spectrum-based Management, without having to mess around with files on internal storage.
Profiles are now built-in and are persistent after reboots (read notes)
ProtoSSC Instructions
First download the SSC flashable zip for your device file from the link above and place it on external SD card
Go to <root>/vendor/etc and delete the "perfgenius_boost_policy" and "perfgenius_config" XML files.
Go to <root>/vendor/bin/hw and rename (do not delete) "[email protected]" and "[email protected]" (just add ".bak" in the end)
Go to <root>product/etc/xml and delete the "uniperf_config_cust" XML file.
Go back to <root>/vendor and open the build.prop, find the lines "ro.config.hw_perfgenius" and "persist.sys.iaware.cpuenable" and change them from 'true' to 'false'.
If you were already using Spectrum, on your Internal Storage, delete the Spectrum folder, along with the profiles. Leave the Spectrum app installed.
Reboot to TWRP and flash the SSC file and reboot. (If you do not have Spectrum app installed, install it - Play Store link is above). Just give root permissions to the app and set whatever profile you want to use.
Every SSC Profile is now EAS based and separated by device family and was designed and tested for each purpose.
Every single profile has also some degree of underclocking, according to its design and purpose.
Therefore, we don't want to hear any noobs ranting about Antutu points.
Balance - Designed for normal everyday use. Best balance between performance and SOT.
Performance - Designed for more demanding use, heavy multi-tasking and heavy Camera usage.
Battery - Designed for the best Battery life while maintaining minimal settings to avoid lags. GPU and Big cluster capped to minimum frequencies.
Gaming - Specifically designed and tested for sustained performance with heavy 3D gaming.
IMPORTANT NOTES:
After a lot of headaches and trying to figure all this Huawei system out, with the precious help of people at fRom Future Roms TG Group, and of course the ProtoKernel Testing Team, we finally made the profiles 100% persistent, and CPU/GPU freqs will no longer be overriden by the system.
There is only one logic exception to this, and that is of course, the Thermal Engine. Suffice to say, we will never mess with this.
These devices are not gaming consoles, i've heard the complaints, and i adjusted Boost settings on Gaming profile to be less agressive and underclocked the Little Cluster as well. With highly demanding games it will heat anyway, but should be better now. I take no complaints regarding PUBG or hour-long gaming sessions.
What is the Proto init.d Script and how do i use it?
- The Proto init.d Script tweaks the TCP buffers to optimize Mobile Data performance and enables the USB Fast Charging by default.
The script is best used with Magisk and you have to place it under <root>/magisk/.core/post-fs-data.d or <root>/sbin/.core/img/.core/post-fs-data.d depending on Magisk version.
Download is attached to this post as a zip file.
There's a Proto EMUI8 Theme? Where do i get it?
Right this way! --> Download Proto Kernel EMUI 8 Theme
Put it on Themes folder on Internal Storage and it will show up on your Themes app.
"My device started to lag a bit, what's happening?"
- If this occasionally happens, you really should know that rebooting your device every other day is a good thing. Swap and ZRam are dead for good and i'm not bringing them back.
Enjoy!
Version 5.1F - 10.24.18 [Final Feature-Development Release]
- Upstreamed to Linux 4.4.159
- Disable Huawei's D.U.B.A.I. functionality (No More Analytics for the H Company)
- Optimize build for big.LITTLE (GCC 5.5 based version only)
- Full Rebase of EAS to AOSP
- Implement Schedutil Governor
- Port Blu_Schedutil from OP6 Blu_Spark Kernel
- Deprecate Sched Governor
- Fix and Implement WALT (Window-Based Load Tracking)
- Add Tuned Zen I/O Scheduler (Now part of SSC Balance Profile)
- Separate SSC Profiles between Honor9 and P10 family (avoids error spamming on init logs and tailored freqs)
- Update Wireguard
- It's recommended you use the Kernel along with SSC and the init.d Script
Older Versions:
Version 3.0R - 09.19.18
- Upgrade to Linaro GCC 5.5-2017.10 (Keep Linaro GCC 4.9 for CN versions)
- Upstreamed to 4.4.103 - Kernel now on par with stock K970
- Increased Buffer on GPUFreq driver
- Port HiSi JPEG Processing Engine
- Update Wireguard to 0.0.20180910
- Update on SSC - All profiles are now based on EAS with heavy frequency customization
- Revert Proto init.d Script back to v1 due to Huawei's poor implementation of Skia
Version 2.5R - 08.20.18 [GPU Supercharger Edition]
- GPU - Reduce TLB Pressure and Prevent Memory Fragmentation
- GPU - Port and Optimize HiSilicon GPUFreq Driver and FHSS GPU Feature
- GPU - Re-Tune Scene Aware and Disable D.U.B.A.I. Analytics on GPU Govs
- Update Wireguard to 0.0.20180809
- Optimize Async I/O for SSD Storage
- Disable HiSi PerfHub
- Minor FS Optimization
- Initramfs Optimizations
- Minor Memory Fragmentation Optimization
- Updated Proto init.d Script to v2
Version 2.0R - 06.29.18 - Major Milestone Update
- Upstreamed to 4.4.73
- New Optimal Timer Frequency - 156HZ Set as Default
- Go Tickless - Enable Full Dynticks System
- Power Efficient Workqueues can now be toggled
- Revert CPU DDR Link Enabling and other HiSi CPU Functions
- Keep Kirin Specific SMP Flow but move to ARM big.LITTLE CPUFreq Driver
- Reduce Kernel Max Wakelocks down by 90% relative to Stock
- Minor RAM and DevFreq Tweaks
- GPU Scene_Aware Tuned for Power Efficiency
- Minor Log Spam on CPU's Silenced
- Reduce Timeout to Stop Processes and Enter Sleep
- Optimized Sound Output Gains and Eliminate Rates below 16Khz
- Implement UKSM 0.1.2.6
- Upgrade SchedTune Boost to v3
- Major Update to Spectrum Profiles to accomodate new features as well
- Update Wireguard to 0.0.20180620
Version 1.7.1R - 06.02.18 - Minor Fix Version
- @zxz0O0 Capacitive Button Fix now included
- Update Wireguard to 0.0.20180531
Version 1.7R - 05.28.18
- Upstream to 4.4.63
- Implement USB Fast Charging Capability
- Minor Efficiency Tweaks to Sched, SchedTune CPU Boost and LMK
- Removed Sociopath TCP Algorithm (Not needed, performance similar to Westwood)
- Update Wireguard to 0.0.20180524 and make it built-in instead of module
- Updated Spectrum Profiles
- Introduction of Proto init.d script - Tweaks TCP and Enables the USB Fast Charging by Default
Version 1.6R - 05.19.18
- Upstream to 4.4.52
- Add FRandom RNG Driver
- Add Dynamic SchedTune Boost
- Update Westwood TCP Algorithm
- Add Boeffla Wakelock Blocker
- Fix for possible Entropy depletion
- Update Wireguard to 0.0.20180519
Version 1.5R - 05.10.18
- Add blu_active CPU Governor and CAF Boost driver for non-EAS users
- Enable CPUFreq DDR Link
- Enable HiSilicon Low Temp CPU Frequency Set
- Timer Frequency set to 300HZ
- Powersave, Userspace and Conservative CPU Govs no longer available
- Automatic Process Group Scheduling Support
- SMT Scheduler Support for Multi-Threading Optimization
- Disable Scheduler Logging to reduce Overhead
- GPU Scene Aware - Battery friendly balanced GPU management. OpenGL may suffer, Vulkan is favored.
- Add Powersave GPU Gov for users that really don't need any GPU performance
- Maple I/O Scheduler tuned and set to default
- ZRam Disabled
- Entropy Tuned for improved performance
- Add FSync Toggle capability
- Disable CRC checks
- NTFS File System R/W Support
- Enable CleanCache Driver
- Skip Kernel Sync on Suspend
- Disabled Huawei Root Scanner
- Add Sociopath TCP Algorithm
- Update Wireguard to version 0.0.20180420
Version 1.2R - 05.04.18
- Add Maple and Tuned SIOPlus I/O Schedulers (SIOPlus now default)
- Tuned CFQ and Deadline I/O Schedulers
- Updated Sched Governor to Kirin970 .103 Source
- Updated CPUFreq Drivers and Governors to Kirin970 .103 Source
Version 1.1R - 04.26.18
- [FIX] Knuckle Gestures now work
- Reverted Huawei Max Freq. Detection for Increased Granularity on "big" Cluster
- Sched Governor now tuned for faster Freq Ramp-Down - [This may affect Benchmark Performance but not device overall performance and/or behaviour]
Version 1.0R - First Official Release 04.21.18
- Linaro AArch64 GCC 4.9 2017.01 (ARMv8,A53 Optimized)
- UnderVolt CPU/GPU by @nutcasev1.5
- Activate built-in EAS and set "Sched" Governor as default
- Enable Kirin Hotplug Flow for big.LITTLE
- Enable Aggressive GPU Suspend on Low Frequencies
- Deactivated Swap
- Reduced Kernel Wakelocks by 50%
- Set CFQ as Default I/O Scheduler
- Renamed Interactive Gov to bypass EMUI Governor Overrides
- Set Westwood as Default TCP Algorithm
- Reactivated "setenforce" command
- Added Wireguard VPN Capability
YES! a custom kernel, will take a look at this with AOSP oreo.
You say it under volts the CPU, is it possible to allow CPU OC'ing, since the A73 cores can hit 2.6GHz according to ARM, but we get stuck with 2.4GHz?
ambitiousButRubbish said:
YES! a custom kernel, will take a look at this with AOSP oreo.
You say it under volts the CPU, is it possible to allow CPU OC'ing, since the A73 cores can hit 2.6GHz according to ARM, but we get stuck with 2.4GHz?
Click to expand...
Click to collapse
The frequency is there on the kernel CPU files but it's not being considered, and plus, the max frequency is locked by Huawei on a hardware config file on vendor partition that sets all kinds of parameters. So far, fortunately, we managed to get around the override on that file that forced "interactive" to be default governor, no matter what was set on kernel, or else, EAS with its Gov as default wouldn't be possible.
But tampering with the file itself is not an option at this point in time.
JBolho said:
The frequency is there on the kernel CPU files but it's not being considered, and plus, the max frequency is locked by Huawei on a hardware config file on vendor partition that sets all kinds of parameters. So far, fortunately, we managed to get around the override on that file that forced "interactive" to be default governor, no matter what was set on kernel, or else, EAS with its Gov as default wouldn't be possible.
But tampering with the file itself is not an option at this point in time.
Click to expand...
Click to collapse
Ah, ok, still nice anyway, maybe someone will find a way to get around this lock.
ambitiousButRubbish said:
Ah, ok, still nice anyway, maybe someone will find a way to get around this lock.
Click to expand...
Click to collapse
Time will tell. Huawei's manner of doing things is a bit tricky. They set one thing on the kernel but then override it on the rom, or on Vendor (because of Treble compatibility)
I'm still pissed at them for switching to 64bit audio drivers exclusively, which nukes the ability to use currently available audio mods.
so , hang on, on the AOSP rom, i am able to change the CPU governor, and it DOES have an effect (bench on interactive gave ~180000 antutu v7, on performance gave ~200000) so, is it a setting in vendor, if its in the ROM itself, then a custom ROM might allow modifications from the kernel to take an effect, though the ROM may have to exclusively support the feature.
ambitiousButRubbish said:
so , hang on, on the AOSP rom, i am able to change the CPU governor, and it DOES have an effect (bench on interactive gave ~180000 antutu v7, on performance gave ~200000) so, is it a setting in vendor, if its in the ROM itself, then a custom ROM might allow modifications from the kernel to take an effect, though the ROM may have to exclusively support the feature.
Click to expand...
Click to collapse
You misunderstood me. You can change the governor after boot with any kernel management app, that's not the question. (I use KA for example)
But if you do not use one of those apps, the governor by default is interactive, even if you go into the kernel code and change it to something else. (that's why we had to find a way to override that)
Also, that vendor file sets Performance as governor during boot, and sets different governors also when the device is charging.
oh, ok, yes, that makes sense
Use su.d or service.d for change govs or sched like you wish with time wait until process found.
I use this way for my mod .
My H9 have no values stock , cpu at Lmk and no kernel app
k1ks said:
Use su.d or service.d for change govs or sched like you wish with time wait until process found.
I use this way for my mod .
My H9 have no values stock , cpu at Lmk and no kernel app
Click to expand...
Click to collapse
That's not a user-friendly solution. It's not even a solution in itself when it comes to developing...
If I want my kernel to be set a certain way, I have the obligation to make it so, without telling users to follow extra steps... Furthermore, no user should be forced to root in order to have a kernel work as it is intended. This is flash-and-forget, no extra steps needed.
If a certain user doesn't want to use it as-is, then of course, they can install a kernel app or use your method to set things their way, but that's out of my control or responsibility.
JBolho said:
That's not a user-friendly solution. It's not even a solution in itself when it comes to developing...
If I want my kernel to be set a certain way, I have the obligation to make it so, without telling users to follow extra steps... Furthermore, no user should be forced to root in order to have a kernel work as it is intended. This is flash-and-forget, no extra steps needed.
If a certain user doesn't want to use it as-is, then of course, they can install a kernel app or use your method to set things their way, but that's out of my control or responsibility.
Click to expand...
Click to collapse
It's a solution anyway.
By the way, great to see a custom kernel here.
Good initiative.
k1ks said:
It's a solution anyway.
By the way, great to see a custom kernel here.
Good initiative.
Click to expand...
Click to collapse
Thank you!
In the meantime i've been looking through some files and there are things that may be possible to improve but require root access and "manual labor" since TWRP still can't flash stuff on certain partitions.
If i can validate them with my testing, they may end up as some form of "Optional Root-Only Additional Optimizations" but the goal should be to provide something that performs without extra work.
Anyway, any and all feedback is appreciated, this device has great potential.
Nice work bro.. Will definitely give it a try.. :good:
JBolho said:
Thank you!
In the meantime i've been looking through some files and there are things that may be possible to improve but require root access and "manual labor" since TWRP still can't flash stuff on certain partitions.
If i can validate them with my testing, they may end up as some form of "Optional Root-Only Additional Optimizations" but the goal should be to provide something that performs without extra work.
Anyway, any and all feedback is appreciated, this device has great potential.
Click to expand...
Click to collapse
What do you mean " TWRP still can't flash stuff on certain partitions " ??
Twrp flash well .
If you want some support for the optionnal root add.
Yes great potential , sadly Huawei does not do like the others.
k1ks said:
What do you mean " TWRP still can't flash stuff on certain partitions " ??
Twrp flash well .
If you want some support for the optionnal root add.
Yes great potential , sadly Huawei does not do like the others.
Click to expand...
Click to collapse
Last time I checked, it still couldn't mount system... But thanks for the suggestion, this is still a work in progress, Huawei's methods are a bit mind bending and we're still figuring out what works and what doesn't. But there's still much room for improvement, I'm sure.
JBolho said:
Last time I checked, it still couldn't mount system... But thanks for the suggestion, this is still a work in progress, Huawei's methods are a bit mind bending and we're still figuring out what works and what doesn't. But there's still much room for improvement, I'm sure.
Click to expand...
Click to collapse
Of course , for sure . Stille much.
About mount system , i can help.
My mod that I develop on G+ need to mount system and mount root img too and works perfectly.
Works on most Huawei devices , H9 , P9 , P10...
Twrp Oreo manage successfully this step.
New Magisk use another way to mount because .img is in /data/adb/**.
@JBolho your kernel is working on my P10 (VTR-L29c432 Oreo b365), it's pretty fast I'm impressed with it, great work!
Update: Wifi and Bluetooth not working.
Working great on latest 362 ROM with KangVIP341. Safetynet passed, setenforce supported. But I still can not make VIPER4ANDROIDFX work in any way. Also nandroid backup is impossible from latest TWRP 3.2.1-0 v3. Error 255.
This kernel work on honor 8 pro.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
XPerience is a free, community built distribution of Android 9.0.0 (pie) which greatly extends the capabilities of your phone.
This project are based on CAF
The XPerience Project since 2011
MOTO MODS AREN'T COMPLETELY SUPPORTED AT THIS MOMENT
Code:
#include <std_disclaimer.h>
/*
* 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.
*/
NOTE: READ this PLS
Please don't ask for etas
[*] Please don't report same bugs all time
Report with logcat and dmesg
Screenshots representative only
Click to expand...
Click to collapse
Features:
Custom tiles (Caffeine, HeadsUP,Usb tether)
Power menu customizations (reboot to recovery one touch in advanced reboot, for bootloader do a long touch)
Quick Unlock
FaceUnlock (need support from google apps)
Disabled Power menu in lockscreen
Alessa kernel tweaker
weather in lockscreen
SmartPixels (Oled display only)
Custom fonts Manager
Theme appart of white,dark, black (added LUNAR and AITA)
Bionic optimizations
NightFall Launcher our fork of Launcher3
Per-App Thermal control
3 fingers swipe take screenshot
OneHand Mode
Allow to use 4g icon instead of LTE
Show Auto-BT while driving setting
Configurable 0, 90, 180 and 270 degree rotation
Disable Quick Settings on secure lockscreen
//Devices with HW buttons
Disable Home key when calling
HW Keys customization (remap your hardware buttons)
Disable Hardware keys
Hardware key ilumination timeout
Accidental Touch
// Motorola z play
Moto Mods support (not complete )
WORKING:
Boot
Rild
LTE/3G/2G
bluetooth
Camera
camcorder
MTP
Sensors
Led
Wi-Fi
MUSIC
sounds
Videos
Moto mods ( battery, all mods without audio routing)
sepolicy enforced
not Working
VoLTE Sh!t
HostingSharedBox
Source forge
Basketbuild
Or the web
http://thexperienceproject.com
GAPPS:
from
Opengapps.org
OUR CUSTOM TWRP TREBLE needed
twrp-3.3.1-0
old
TWRP-3.2.3-addison-Unnoficial.img
Changes in second post
Any bug not reported in the bug report format below may be ignored.
Code:
What is your--
XPerience version:
Download url:
Gapps version:
Did you--
wipe:
restore with titanium backup:
reboot after having the issue:
Are you using--
a task killer:
a non-stock kernel:
other modifications:
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:
If you like my work, you can buy me a coffee , coke or any drink all donations are appreciated.
Ór
https://www.paypal.me/TheXPerienceProject
XDA:DevDB Information
The XPerience project, ROM for the Moto Z Play
Contributors
TeamMex
Source Code: https://github.com/TheXPerienceProject/android_kernel_motorola_msm8953
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.x
ROM Firmware Required: unlocked bootloader, oreo bootloadeer
Based On: AOSP
Version Information
Status: Testing
Created 2018-08-21
Last Updated 2019-06-23
Reserved
XX means no date yet
13/05/2020
Merge tag 'LA.UM.7.1.r1-17400-sm8150.0 '
Added rotation degrees (that functionality was added in the beginning and i forget to add the option in menu)
Merge kernel tag 'LA.UM.7.6.r1-07400-89xx.0'-->
msm: camera: jpegdma: Fix uninitialized variable
Merge "msm: camerav2: isp: Removed closing of isp node"
Merge "net: sit: fix memory leak in sit_init_net()"
Merge "asoc: msm-compress: Replace goto with return in case of invalid value"
Merge "asoc: msm-compress: Add missing mutex initialization for pdata"
Merge "msm: vidc: avoid OOB write while accessing memory"
msm: camerav2: isp: Removed closing of isp node
Merge "net-sysfs: Fix mem leak in netdev_register_kobject"
Merge "msm: vidc: remove additional checks in response_handler"
msm: vidc: remove additional checks in response_handler
msm: vidc: avoid OOB write while accessing memory
asoc: msm-compress: Replace goto with return in case of invalid value
asoc: msm-compress: Add missing mutex initialization for pdata
net: sit: fix memory leak in sit_init_net()
xfrm: policy: Fix out-of-bound array accesses in __xfrm_policy_unlink
net-sysfs: Fix mem leak in netdev_register_kobject
asoc: msm-compress: Add lock in controls _put() and _get() callback
msm: pcie: Use local variable for manipulation
11/01/2020
Kernel updates
* tag 'LA.UM.7.6.r1-06700-89xx.0':
rmnet: Add support for bridging rmnet_data
dsp: avtimer: validate payload size before memory copy
msm: ipa: add additional checks to prevent use-after free errors
fbdev: msm: Avoid UAF in mdss_dsi_cmd_write
soc: msm-pcm: fix missing mutex unlock while exit
msm: adm: Add error check to avoid memory overread
qseecom : Clear client handle after unmap the resources
PM / devfreq: gpubw_mon: Add null check for governor private data
asoc: msm-routing: Fix array out of bounds issue
ASoC: Fix possible overflow in routing driver
msm: adm: Fix memory overread in adm callback
drm/msm/hdmi-staging: Fix Buffer Overflow
soc: msm-pcm: Add mutex lock to protect prvt data
soc: msm-pcm: Added lock in controls _put() and _get() callback
diag: Validate msg source length to prevent out of bound access
qseecom: check invalid handle for app loaded query request
drm/msm/dsi-staging: Add length check before copying to user space
* tag 'LA.UM.7.6.r1-06400-89xx.0':
msm: kgsl: Make the "scratch" global buffer use a random GPU address
msm: kgsl: Use a bitmap allocator for global addressing
msm: kgsl: Execute user profiling commands in an IB
netlabel: check for IPV4MASK in addrinfo_get
defconfig: msm: Disable EXT2 and EXT3 FS configs for MSM8937/53
msm: kgsl: Verify the offset of the profiling buffer
icnss: Add check on msa region
msm: kgsl: Change data type for GPU ib vote
--Rom changes--
do a vndk-sp copy of libandroid this should fix the camera on android 10 GSI
Add extra vndk v27
03/09/2019
Kernel updates
Merged LA.UM.7.6.r1-05900-89xx.0
Some parts of LA.UM.8.6.r1-01900-89xx.0 (Android Q changes)
Preparations for Q
Rom side
LA.UM.7.1.r1-16900-sm8150.0
15/08/2019
Rebased branch over LA.UM.7.1.r1-15800-sm8150.0
overlay: CarrierConfig: Enable IMS services in Brazil from alberto97
Merged all changes in kernel from alberto 97
the last build until Q arrives (i will try to bring Q)
02/08/2019
add camera firmware from PPK29 deen
update adreno firmware from deen PPKS29.68-16-34-5
Widevine - DRM from deen PPKS29.68-16-34-5
update PERF and iop from deen PPKS29.68-16-34-5
fix moto actions
ship Qcom AT from deen PPKS29.68-16-34-5
: drop whitelisted games
FEATURE_OPENGLES_EXTENSION_PACK support string config file
Fixed Google Drive issue
26/07/2019
MErge tag 'LA.UM.7.6.r1-05500-89xx.0' in to kernel xpe-13.0
wifi: Update WPA3 support overlay config for legacy devices
-- Set WPA3 support overlay config to false for unsupported legacy chipsets.
Migrate to androidx LineageActions
surface hang up when screen on and screen off
frameworks: Add unlinked ringtone and notification volumes
Prevent surfaceflinger gets swapped to zram
Expanded volume bar
Moved to VNDK 28 (Tested some GSI like oxygenOS and works fine without issues )
copy libbinder under VNDK and libcutil under VNDK-sp to satisfy oreo camera blobs
Move some hidl under vendor
Kernel compressed in LZ4 + LZMA ramdisk
xx/07/2019
Merge tag 'LA.UM.7.3.r1-07900-sdm845.0' into xpe-13.0-caf (Jun security patch)
Removed prebuild busybox please install busybox for ndk from Magisk
Merged ASB-2019-06-05_3.18 in kernel
03/07/2019
Implement Yunikon our webview based browser (take as basis Jelly)
Conditionally disable unencrypt for OTA
Add more missing permissions for Google apps :/ again
Created overlay for managed profiles this should fix Android for Work
-- The ManagedProvisioning xml's were moved in Pie.
Also added missing managed_device and managed_user xml's.
This fixes 'Android for Work'.
01/07/2019
Removed libbinder from vndk this make camera crash
Conditionally disable uncrypt for ota
in last build from today i removed a lot of sepolicy cuz that was marked as neverallow but make a lot of issues so i added it again
fixed some services
28-29/06/2019
Tethering issue fixed (AGAIN)
Set HAL3 disabled if you want it enable it using magisk module
Some booting issues
Fixes in black theme
24/06/2019
Add vibration motorola hal to silence MdFmwk crash
add more sepolicy to allow health and others services to rw
A lot of sepolicy remove neverallows
Return Pocket Judge
update sdm and adreno from LA.UM.7.5.r1-03700-8x96.0
addison: move permission set to early-boot
vibrator hal service launched in rootdir/init.rc boot trigger will fail if
given permission have not been set correctly. This CL is to fix such
racing conditions.
addison: set on fs persist/battery permission to give time to read/write the information and not
failed to open
add libc copy to vndk it should help to boot in some GSI's (Please test )
Fix WFD (Wifi display Qcom implementation)
Fixed night light
18/06/2019
Merge "LA.UM.7.6.r1-05300-89xx.0" tag in to kernel/motorola/msm8953
Updated Versioned VNDK
Add libbinder to VNDK-SP-$(BOARD_VNDK_VERSION)
Add libcutils to vndk-sp to silence some warnings in sockets
Per-App Thermal controller configurable from app info
Fixed Backup tool (was broken in the last changes for System as root commits needed by lavender)
Disable Quick Settings on secure lockscreen
Per-APP ThermalControl
One Hand mode
Add three-fingers-swipe to screenshot
Add Flashlight blink on incoming calls (like iOS)
Allow to use 4G icon instead of LTE
Fixed backup tools
VoLTE icon toggle
Import DIRAC framework from MIUI
Added Battery mod reader apk (To read battery mod stats Still working to make it enable the function to activate or deactivate mod like eficiency mode)
add some props for moto mods (Still no lucky xD)
Implement Pixel 3a fingerprint to bypass CTS due to our addison fingerprint is rejected
Extra copy of [email protected] to vendor to fix wifidisplay in AOSP roms
Add extra copy of [email protected] to vndk to fix Wifi issues in AOSP gsi
Add extra copy of [email protected]
13/06/2019
SchedAlessa: Fix CPU overheatting
SchedAlessa: Use idle_calls counter of the remote CPU
For single policies however, the current
code uses the local CPU when trying to determine if the remote sg_cpu entered
idle or is busy. This is incorrect. To remedy this, compare with the nohz tick
idle_calls counter of the remote CPU.
SchedAlessa:Reduce Frequencies Slower
Disable SPI: CRC errors on SPI bus usually means there is something wrong with the
hardware(unstable voltage, wiring, etc).
Disable SPI CRC in favor of improving performance as the cost of
detecting hardware errors are too high, and not all that useful.
Fix Wifi in some GSI's (Like MIUI , AOSP, etc)
Fixed Camera in GSI's now you only need to flash miui fix to get booting the miui GSI
Vibration and sensors hals changes from alberto97
08/06/2019
Fixed Charge_only_mode
updated some blobs for rild
removed qcrild
added android Q battery style
update GPS stack and blobs from LA.UM.7.6.r1-04300-89xx.0
enable some UX optimizations
Updated apn's and sensitive apn
Updated display audio and media hal to LA.UM.7.6.r1-04800-89xx.0
Fix User cannot listen to a VVM that has been saved onto the device via quickoffice
Fix Libcore CTS fail
This CTS issue was introduced by (CR). I inserted 'audio/mp3'
before "audio/mpeg" according to the alphabetical order, but CTS has the hardcode
test that need "audio/mpeg" to be the default mime type of '.mp3' extension.
Solution: Adjust the position of 'audio/mp3' to avoid the CTS issue.
Add a sanity check against the file name because Android hardcoded the file.encoding to UTF-8, thus for any filename other
than that, we have to ignored it since we will have no idea on what the encoding it would be.
Added lockscreen charging animation.
lmkd: ignore the pressure if we still have enough file cache
storaged: ignore the SIGPIPE, or storaged will be crash.
don't kill b-service too early under medium pressure
25/04/2019
Returned to old rild, CNE , GPS
23/04/2019
CPU Overclock 2.2ghz (it can be overclocked to 2.4 ghz but 2.2 is ok)
Gpu overclock to 700mhz
Upstreamed to 3.18.140 [EOL]
increase usleep_range in camera actuator to give more time to power up
Revert some adsp changes some of them are not compatible with ADSP blobs we use (Oreo blobs)
--Revert "ASoC: msm: add support for AVS version check"
--ASoC: revert P qcom changes to keep O ADSP compatibility
--Revert "ASoC: msm: qdsp6v2: add 32bit capture support in dai driver"
--Revert "ASoc: msm: Enable support for 32 bit format and 384Khz"
--Revert "ASoC: msm: qdsp6v2: add support for latest version of media format command"
msm: camera: isp: Fix drop frame due to reg update miss
arm64:check valid low & highmem addr before saving cpu_suspend context.
Merge prima wlan LA.UM.7.6.r1-04800-89xx.0
--ROM
Merge branch LA.UM.7.3.r1-07800-sdm845.0
26/04/2019
Fixed boot (forget to add sensors source my bad)
merged security patch of feb 05 aka LA.UM.7.3.r1-07400-sdm845.0
some fixes
Hotspot fixed
Updated thermal from deen PPK29.68-16-21 (and use prebuilt thermal.msm8953)
Updated ATFWD from deen PPK29.68-16-21
Updated perf from deen PPK29.68-16-21 and OP3 PKQ1.181203.001
Fixed some permissions to qcrild (please test with the new rild again and take some logs with
Code:
adb shell logcat -b radio > radio.txt
Build Services-ext
Added support to change font from settings->Display->font
I added some fonts i will add more soon
Adjust some perf changes
Download will be pushed tomorrow I hope
FROM now user build are really different from my personal builds
12/04/2019
--- Kernel side ---
SchedAlessa 2.1.4 updatesBackporting changes from SchedUtil from 4.9 kernel instead of modify SchedUtil I preffer to update SchedAlessa)
* - Use >= when aggregating CPU loads in a policy
* - Switch from sprintf to scnprintf
* - Add trace point for get_next_freq
* - Avoid processing certain notifications
* - Return to FIFO
* - track hi_speed and pl from upstream
* - schedalessa:Change to use WALT Load based
* - Add hispeed load tunable
* - cpufreq: Return 0 from ->fast_switch() on errors
* - Hard-code rate-limit thresholds
Merge kernel 3.18 tag LA.UM.7.6.r1-04500-89xx.0
Merge prima wlan LA.UM.7.6.r1-04500-89xx.0
Upstream kernel to 3.18.138
Fix ANDROID: qpnp: fg+smbcharger: implement Linux cycle count we use QPNP_SMBCHARGER_MMI and not QPNP_SMBCHARGER
msm_thermal: ignore sensor 19
--- Rom Side ---
Return battery learned
Reverted to old RIL and GPS (if not works dont ask for Fixes)
Implemented core source from motorola for mods (?)
03/04/2019
add exfat lib
vold: add support for more filesystems for public storage
* Add exfat and ntfs support based off f2fs and ported to use
fuse
* Add support for both along with f2fs and ext4 to PublicVolume
* Also attempt to mount any volume if it's been determined that the kernel supports it
vold: ntfs: Use strlcat
vold: Fix fsck on public volumes
vold: Support internal storage partitions
vold: Honor mount options for ext4/f2fs partitions
vold: Mount ext4/f2fs portable storage with sdcard_posix
vold ext4/f2fs: do not use dirsync if we're mounting adopted storage
Fix the group permissions of the sdcard root.
healthd: make periodic battery status a debug message
Kernel optimizations(big changelog so i will write it later or read it here https://privatebin.net/?8a926e288ddb4507#xLieO9avhqWhjLllpneJh/RW2DM+8gbuxEiVSN7DIzE=).
Update wlan to LA.UM.7.6.2.r1-07400-89xx.0
ipv6: add option to drop unsolicited neighbor advertisements
ipv4: add option to drop gratuitous ARP packets
testing radio props (posted in #761 comment)
addison: performance_profiles: set conservative in power saving profile
addison: add ipa data/vendor permissions
addison: add system property to set AudioFlinger client heap size
Addison: more sepolicy
addison: set battery capacity to the correct value 3510mha (this will fix some issues about battery recognized as 4800mha 4000mha etc)
Backport z3fold from Sony devices (4.4 kernel)
-z3fold, a special purpose allocator for storing
compressed pages. It is designed to store up to three compressed pages
per physical page. It is a ZBUD derivative which allows for higher
compression ratio keeping the simplicity and determinism of its
predecessor.
This patch comes as a follow-up to the discussions at the Embedded Linux
Conference in San-Diego related to the talk [1]. The outcome of these
discussions was that it would be good to have a compressed page
allocator as stable and deterministic as zbud with with higher
compression ratio.
To keep the determinism and simplicity, z3fold, just like zbud, always
stores an integral number of compressed pages per page, but it can store
up to 3 pages unlike zbud which can store at most 2. Therefore the
compression ratio goes to around 2.6x while zbud's one is around 1.7x.
wlan_hdd_cfg80211:use active scan
20/03/2019
Track IPACM LA.UM.7.6.2.r1-07300-89xx.0 (this will help us with tethering still dead)
update ramdisk (ims related services from LA.UM.7.6.2.r1-07300-89xx.0)
addison: Update privapp-permissions-qti from LA.UM.7.6.2.r1-07300-89xx.0
addison: update qti_whitelist from caf tag LA.UM.7.6.2.r1-07300-89xx.0
addison: add some ims props (TESTING)
Update thermal config
updated sepolicy
rever: "addison: force HAL1 for motorola camera"
merge LA.UM.7.6.2.r1-07300-89xx.0 tag in kernel
Motorola HEALTH from BECKHAM_PPW29.131_27_1 (removed)
A lot of sepolicy related to motomods
Regenerate Manifest,xml
Moto mod tile
Updated Mod Manager and ModFmwkProxyService
Set the correct mod platform version
Moto mods are now placed in connected devices
13/03/2019
--Kernel--
ipv6: add option to drop unicast encapsulated in L2 multicast
ipv4: add option to drop unicast encapsulated in L2 multicast
(fix wpa_supplicant: nl80211: Failed to open /proc/sys/net/ipv4/conf/wlan0/drop_unicast_in_l2_multicast: No such file or directory)
Re-Enable RFKILL_INPUT (this fix multiexistence of BT + wifi in the new bring of the kernel i forget to re-enable)
--Device related--
Add Qcom WFD implementation (due to google in android P has removed it from the source)
Updated CNE, QMI (Qualcomm Framework),IMS, Radio, Motorola Ril from P blobs (tissot tissot_sprout:9/PKQ1.180917.001 and Deen PPK29.68-16-3 ) (Please test VoLTE)
Add QC RIL service support
Hostapd sepolicy
addison: force HAL1 for motorola camera
Add legacy wifi paths for GSI (untested)
Props to enable WFD
Update CarrierConfig overlays for P
addison: add hbtp sys perm
addison: Sepolicy for new RIL
addison:libmmosal_proprietary needed by wfd
Addison: Update CNE
Addison: Use tether automatic upstream selection
10/03/2019
Re-Enabled Burning protection
NetworkTraffic updates
Updated XPERIA Launcher
NightFall Launcher added Icon pack support
NightFall: Added grid size and icon size support
fwb:Implement substratum service
sepolicy: Sepolicy for substratum service
fwb:Fix theming issues in substratum
Removed RetroMusic due to a lot Ads
RainbowUnicorn: Implemented Alessa (WIP)
Updater: Updater: Implement auto update check interval preference
Implemented Our notes app
Implement Busybox
06/03/2019
Hex-Edited camera libs fix camera on GSI (not tested yet)
Re-Implement EAS
Updated SchedAlessa}
-- schedalessa: Use capacity_orig_of instead of capacity_of in overutilized
-- SchedAlessa: Cache tunables on governor exit
Dynamic Sched boost
Update perf profiles for FK manager and add support for EAS
Optimize EAS scripts.
SchedAlessa: Allow thermal throttling to change cpu freqs
addison: add hostapd config files from CAF LA.UM.7.6.2.r1-07100-89xx.0
A lot of sepolicy
Set Sepolicy Enforced
01/03/2019
Recommended GCAM https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_XCAMBase_F1_v2.apk
or this : https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_Potter_v7.1_san1ty.apk both works
Added MZPGreenTintFix for GCam Credits to Juniiim for the module and Savitar for the original work (https://forum.xda-developers.com/moto-z-play/themes/magisk-modules-mzpgreentintfix-gcam-t3870280)
HAL 3 enabled by default
Added Sepolicy for offline charger
Merged LA.UM.7.3.r1-06900-sdm845.0 it have Dec 05 security patch
Added Performance profiles (configurables using Franco Kernel Manager)
screenshost:
Hex-edit libmmcamera2_isp_modules for P's mutex restrictions
-- Google has been tightening up mutexes by disallowing calling
pthread_mutex_destroy on an already destroyed mutex in P
-- This normally isn't an issue, but Qualcomm, in their infinite
wisdom, decided to destroy a mutex in a loop in isp_module_stop_session
when they were freeing some related memory allocations
-- This results in a SIGABRT in mm-qcamera-daemon from a
__fortify_fatal call in HandleUsingDestroyedMutex in libc
-- To work around this, phtread_mutex_destroy and phtread_cond_destroy
moved outside of the loop so they only calls 1 time (Credits to @Juniiim for the modified lib )
*Based on kuntao implementation so credits too to Paul Keith "javelinanddart" )
Added extra copy of [email protected] to vendor libs
Added a extra copy of [email protected] to vendor due to aosp hals wont work with CAF rom (in this case our vendor is from caf )<(Test Needed)
Dropped [email protected] (Battery learning kanged from marlin. It needs a better implementation and i dont have the time to deal with it)
Removed tetheroffload from manifest (untested) seems to broke hostopt
Pre-OPtimize SystemUI
Update WCNSS_qcom_cfg.ini from deen's PPK29.68-16-8
Fixed UI issues (Related to theming like black icons in dark themes)
Removed TetherOffload from manifest this breaks Tethering (cause reboot of the device)
wifi: Enable Softap ACS and 11ac (Needed by hostpot. (for softap operations))
Code:
02-28 15:31:32.842 29060 29060 E hostapd : ACS: Unable to collect survey data
02-28 15:31:32.842 29060 29060 E hostapd : ACS: All study options have failed
02-28 15:31:32.842 29060 29060 E hostapd : Interface initialization failed
02-28 15:31:32.842 29060 29060 I hostapd : wlan0: interface state ACS->DISABLED
02-28 15:31:32.842 29060 29060 I hostapd : wlan0: AP-DISABLED
Implemented AITA and Lunar themes (mine themes)
26/02/2019
OnTheSpot support
Moto Mods support (efficiency and battery status still broken)
added sepolicy missing for moto mods
Implement better Screen Zoom levels
Use this for Mod Battery status (https://forum.xda-developers.com/moto-z/themes/app-battery-mod-percentage-t3575753 )
VNDK: Added [email protected] and [email protected] for NFC and camera (in phh's the camera crash due to CANNOT LINK with those files)
VNDK: Add libsensor due to missing symbols in AOSP variant of that lib
Fixed offline charger
05/02/2019
*Rom Things*<
Rebased over SDM845 branch
Merged LA.UM.7.3.r1-06700-sdm845.0
libril: Fix manual network selection with old modem
set flag TARGET_USES_OLD_MNC_FORMAT needed by libril
Drop ipa-cfg-mgr
* Kernel things *
Rebase kernel over alberto's one (Merged all the patches from my kernel)
Dropped EAS support nothing changed anyways
-backport kernel: Add API to mark IRQs and kthreads as performance critical
genirq: Introduce IRQD_AFFINITY_MANAGED flag
genirq: Add IRQ_AFFINITY_MANAGED flag
firmware: qcom: Remove debugfs dependency from tz-log driver
init: Don't force DEBUG_KERNEL in EXPERT mode
Reverted QNovo interface seems to not work properly
Merged LA.UM.7.6.r1-04000-89xx.0 branch in the kernel
Fixed bootloop issues
Seems good now for release please review and send logs and some info about "how to reproduce your bug "
04/01/2019
Merge LA.UM.7.2.r1-05400-sdm660.0 Branch (It will be rebased over sdm845 branch)
Restart motorola camera service too
Custom Qperformance.jar UxPerformance.jar
Fixed VNDK for treble compatibility (now this can work as expected without patches)
Enabled RRO's for GSI's
Do extra copy of NFC to vendor
Moto mods enabled (Battery is working no efficiency mode only normal mode attach the mod and restart the device battery percent of motomod is not working )
Added some VoLTE changes (Untested here cant be used)
pin the Home application in pinner service
Minimal optimizations
Updated a lot of blobs from deen PPK29.68-16-8
--GPS,SMD,Audio,ADSP,SVCE
added [email protected] (Battery mod)
Merge speaker changes from alberto's AOSP 9.0
26/11/2018
Merge LA.UM.7.2.r1-05300-sdm660.0 Branch
Merge sepolicy "LA.UM.7.6.r1-03600-89xx.0"
BT: Fix out-of-bounds reading in btm_ble_vendor_capability_vsc_cmpl_cback
BT: Run the wakelock JNI callbacks on the JNI thread
Fix "Disable Absolute Volume" Bluetooth developer option
Nightfall Launcher (my launcher based in quickstep)
updated gallery
Addison: Use ro.crypto.state to handle non encrypted devices and restart camera and wifi HALS (to fix some issues)
17/11/2018
Merge LA.UM.7.2.r1-05300-sdm660.0 Branch
Added a lot of sepolicy's to fix a bunch of things
Added Smart Pixels (you can disable some pixels to save battery (under settings->XPerience Settings->Misc->SmartPixels)
IOP/UXE: This change is to enable the IOP and UXE
IOP : Adding support for UXPerf Class
BoostFramework: Clean up code
Fling/Pre-fling Boost: Call perf boost from System Server context
Add Game boost & modify launchboostv2 invocation.
Add QPerformance and UXPerformance
Set ro.vendor.extension_library - To communicate between perfd and thermal-engine
BT: Adding aptX-Adaptive codec entry to Framework
Fix Framework Reboot due to invalid display.
Bluetooth: Check for BLE on state after gatt service up
Wallpaper is half black after rotating quickly
BatteryMeterView: Fix glitch with percents
BatteryMeterView: Fix PowerSave mode percents and use same method for charge
Fix a NPE in BatteryStatsImpl
Prevent NFE in SystemUI when parsing invalid int
base: SystemUI: Allow user to add/remove QS with one click
SettingsLib: Allow Skia Vulkan to be used as HW renderer
Wifi: Check for WiFiService's existence before its access
SystemUI: add navbar layout inversion tuning
Reserved
Link off to Dowloads
LINK fixed
Is volte working ???
Only Oreo bootloader will work with this rom?
Wysłane z mojego XT1635-02 przy użyciu Tapatalka
sebx_g1 said:
Only Oreo bootloader will work with this rom?
Wysłane z mojego XT1635-02 przy użyciu Tapatalka
Click to expand...
Click to collapse
you can use N too but I recommend to move around oreo.
milind07 said:
Is volte working ???
Click to expand...
Click to collapse
NO
The auto brightness is working?
Projector work or not yet? Love your roms by the way.
sillycat98 said:
Projector work or not yet? Love your roms by the way.
Click to expand...
Click to collapse
Don´'t expect moto mods for some time.
Great, will try it later, hopefully. How can I restore the google framework ID from the old backup (xpe on 8.1 base)?
Edit: Both download-server are very fast, very great 11MB/s, my Z Play-Wifi at 5GHz at his limits :laugh: There is no more possible. For all with 100MBit/s (12.5MB/s) very sad
hi i use oreo rom but it tell me i don't have the good version of bootloader ?
did you say why ?
Amazing work, I'll try it out later today.
Is this 64 bits?
When I flash the gapps,the phone is in the second startup screen,cannot go on
fooby_sjz said:
When I flash the gapps,the phone is in the second startup screen,cannot go on
Click to expand...
Click to collapse
Not tested yet, but I use stock for normal. What do you use?
TeamMex said:
Don´'t expect moto mods for some time.
Click to expand...
Click to collapse
I figured but wanted to check, I tried the dp and didn't see any must have features, so I guess I'll stick with the 8.1 version for now. Thanks for all the work you do for the play, you're the reason I'm glad I bought this phone.
Forced encryption status? It's not on the list of working or non-working features.
I'm in the same boat as sillycat98, If it weren't for you, I wouldn't have enjoyed this phone as much as I have. You've done some great work making this phone great.
TeamMex said:
Don´'t expect moto mods for some time.
Click to expand...
Click to collapse
Hey just a suggestion, maybe post the mods status really big in the announcement so that people who don't search the whole thread don't ask the question every 5 min. After all, you are the mods master and the reason why I hang on to my Z-play! Thank you!