[ROM] [ZVA] MM UltraPOP AOSPish V1.1.2 [04-26-2016] - Sprint LG G4

{
"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"
}
UltraPOP AOSPish LS991 LG G4 V1.1.2
Heavily Modified / Ultra Tweaked Marshmallow ZVA 6.0​
This ROM is more of an AOSPish feeling Marshmallow ROM. This version is very responsive and very smooth (no lag or stutter). The AOSPish ROMs are Ideal for power users that want the most from their phones with very little stock resemblance, no bloat and a more basic feel with many customizations . This ROM performs the way a phone should -fast, -responsive and -lagless (just like true AOSP roms do). The new version starting in v1.1.2 has a user selectable operating mode from battery saving to extreme performance.
First Off, Thanks To:
Testers:
-- tabp0le
-- Jaxbierley
-- tourbound129
-- PureLife90
-- LaughingCarrot
-- lafinjack
Credit:
@Nadeox1 For the 1080p 60fps camera mod link here
@Awesomeslayerg For bringing to light the Send_Command trick used with MM 6.0
​
Warning: You MUST Be On ZVA Firmware To Flash This ROM!
I WILL NOT BE HELD RESPONSIBLE FOR THOSE WHO SOFTBRICK THEIR DEVICES! USERS USE AT YOUR OWN RISK
Features:
Ultra Loud Audio Enhancement (Super Loud!)
-- Increased Handset, BT, Headphone, Speaker
Ultra Smooth I/O Tweaks
-- Increased Cache To 1,536 KB
-- Activated NOOP Scheduler
-- Activated I/O Rotational
-- Disabled I/O NoMerge
--FSTrim System/Data/Cache Every Boot
Ultra Bumped Camera Tweaks
-- Video Quality (100%)
-- Picture Quality (100%)
-- Bumped Picture/Video Sizes To 8 MB
-- Ultra Quality 60 FPS 1080p Video Recording Mode
Ultra Touch Boost Tweaks For Amazing Smoothness!
-- Single-Load (2-Cores @ 960 MHz)
-- Multiple-Load 4-Cores @ 960 MHz
Ultra Tweaked Kernel Interactive Governor Values
-- Tweaked Kernel Large Core Values
-- Tweaked Kernel Ramp Up/Down Optimizations
Ultra De-Bloated
Ultra Handy Busybox Injected Into System
Ultra Upped QSlide Limit To 5 Max
Ultra Awesome NOVA Launcher (free version) *recommend buying the pro-unlock key!
Ultra Customizable YAATA Messaging App By Kajozord (With Permission)
Ultra Hidden Status Bar ADB Icon
Ultra Reduced Call Ring Delay To Zero
Ultra Cool Lock Screen Rotation To Landscape Mode (Great For Desktops)
Ultra Stock LGKeyboard
Ultra Slick Timely Alarm Clock (free in market)
Ultra Disabled Logs For Increased System Speed
Ultra Long Wifi Scan Intervals Bumped To 2 Minutes (Saves Battery)
Ultra Removed Forced Provisioning
Ultra Uninstallable Apps (LGBackup, Yaata, LG Smartworld, Google Play Games)
Ultra ALL Applications Supported In Split Windows
AND FINALLY The Mostly Requested:
EDITABLE APN / LTE Hidden Menu Access! (Like ZV6) * No More Downgrading then upgrading!*
-- Just use QuickShortcutMaker (free in market) to access hiddenmenu!
New Marshmallow ZVA V1.1.2
NOTE: Will show V1.0 in software settings on phone, but is actually v1.1.2 (will be fixed in next release!)
New User Definable Switches For Phone Performance! (See Second Post For Info & Instructions)
-- Switch -Performance
-- Switch -Powersave
-- Switch -Extreme Performance
-- No Switch = My Special Blend
Removed LGCalculator (Can Replace With New Google Calculator In Market)
Adjusted Touchboost And CPU Ramp Up/Down Tweaks (Active Without Using Switches)
OTA Update Auto Removal On Every Boot
-- Will Make A Log Of Anything OTA Removed.
--Removes The OTA Nag Message w/ Few More Steps By User (See Second Post For Instructions)
Changed Some Permissions (Some Sub Dir Don't Stick)
--Readable DATA partition (No Longer Hidden)
--Readable/Writeable CACHE Partition (No Longer Hidden)
--Readable/Writable SYS (NOT System) Partition
​
Instructions:
** Thanks @tabp0le for hosting copies of necessary prep files & drivers! **
** THESE PROCEEDURES ARE VERY DANGEROUS! **
* PULLING THE CORD OUT TOO LATE PAST 9% COULD RENDER YOUR DEVICE IN A BOOTLOOP OR BRICKED!
* NEVER REBOOT YOUR PHONE IF YOU MESS UP INSTRUCTIONS WHILE IN DOWNLOAD MODE!
** Me & tabp0le have bricked our phones using this method!
Prepare your system with drivers and needed programs:
Download/Install:
LG Drivers
LG Up
Download LG_Root.zip
Download ZV9 TOT File
Once your Computer system is prepared Follow These Steps:
1.) Copy ROM to root of your G4's INTERNAL storage
2.) Reboot your phone to download mode by rebooting and holding the up-volume button
3.) Run LGUP program you downloaded and point the load file to the ZV9 TOT file you also downloaded
4.) Click on the button to update your phone BUT:
Once the LGUP progress gets to 9% (Green COM# appears on your phone), disconnect the phone and close LG UP.
Note: If you somehow messed up BELOW 9% and don't have a green COM# on your phone, DON'T reboot, just re-run the LGUP with the phone plugged in to 9% again!
- If you went OVER 9% to 10% or more, DON'T reboot, just re-run the LGUP and do a FULL ZV9 Update to 100% You will have to update to ZVA OTA and retry this method!
5.) DO NOT REBOOT YOUR PHONE, Connect your phone to the USB cord again
6.) Open an administrator Shell window on your computer and change to your root program directory
7.) type 'Ports.bat' in the Shell window and hit enter again to exit
8.) See what COM# for LGDIAG port it shows
9.) Type 'Send_Command.exe \\.\COM# (the # is whatever port you show in ports.bat)
10.) You should be at a '#' prompt, type the command below and hit enter:[/COLOR]
Code:
dd if=/data/media/0/ultraZVA_V1.1.2.img bs=8192 seek=65536 count=557312 of=/dev/block/mmcblk0
11.) Should finish in under a minute, then type 'LEAVE' to exit.
12.) You will need to pull battery and restart phone. (Only if you were successful!)
If you have NO IDEA what the DD Commands are, or how to put your phone in download mode, or you need better instructions, or how the process for rooting the LG G4 (LS991) works, STOP and read the other threads referenced below BEFORE you end up bricking your phone!
Reference:
G4 Rooting Thread
UltraPOP ZVA Download Link:
UltraPOP ZVA MM V1.1.2
Please Buy Me A Coffee Or Show Appreciation:
click-> DONATE <-click​
PLEASE HIT THE THANKS BUTTON!​/.

User Definable Switches
New User Definable Switch Instructions:
The user is able to control what tweaks to the CPU, GPU, Touch Boost, etc. by just creating a blank file (like blank text file) named as the trigger words i have selected in a defined directory. I am using the /cache/agimax/ directory for these triggers. The trigger directory is created on boot if it does not already exist. There is also a log file to show what triggers are active.
The easiest way is to open a blank text file and name it as one of the User Defined Triggers listed below and save it to the Trigger Directory as listed below. Once you reboot, the system will change to the desired mode!
Trigger Directory::
/cache/agimax/
User Defined Triggers::
performance
powersave
extreme
Trigger Specifications (For The Curious Folks!)::
** Performance **
CPU Governor: Interactive
GPU Governor: msm-adreno-tz
Go To Hi-Speed Load: 85 (Small Cores)
Go To Hi-Speed Load: 90 (Large Cores)
Min Sample Time: 40,000 (Small Cores)
Min Sample Time: 40,000 (Large Cores)
Hi-Speed Frequency: 1.248 GHz (Small Cores)
Hi-Speed Frequency: 1.248 GHz (Large Cores)
Single Touch Boost CPU Core:
0: 960 MHz
1: 960 MHz
2: 960 MHz
3: 9600 MHz
4: 0 MHz
5: 0 MHz
Multiple Touch Boost CPU Core:
0: 960 MHz
1: 960 MHz
2: 960 MHz
3: 9600 MHz
4: 1.248 GHz
5: 1.248 GHz
Touch Boost Duration: 60 ms
** Power Save **
GPU Governor: powersave
GPU Max Frequency: 490 MHz
GPU Min Frequency: 180 MHz
Go To Hi-Speed Load: 90 (Small Cores)
Go To Hi-Speed Load: 92 (Large Cores)
Min Sample Time: 15,000 (Small Cores)
Min Sample Time: 15,000 (Large Cores)
Hi-Speed Frequency: 600 MHz (Small Cores)
Hi-Speed Frequency: 768 MHz (Large Cores)
Scaling Min/Max Frequency: 768 MHz (Small Cores)
Scaling Min/Max Frequency: 384 MHz (Large Cores)
Single Touch Boost CPU Core:
0: 600 MHz
1: 0 MHz
2: 0 MHz
3: 0 MHz
4: 0 MHz
5: 0 MHz
Multiple Touch Boost CPU Core:
0: 600 MHz
1: 600 MHz
2: 0 MHz
3: 0 MHz
4: 0 MHz
5: 0 MHz
Touch Boost Duration: 30 ms
** Extreme **
GPU Governor: performance
GPU Max Frequency: 600 MHz
GPU Min Frequency: 300 MHz
Go To Hi-Speed Load: 80 (Small Cores)
Go To Hi-Speed Load: 85 (Large Cores)
Min Sample Time: 50,000 (Small Cores)
Min Sample Time: 50,000 (Large Cores)
Hi-Speed Frequency: 1.248 GHz (Small Cores)
Hi-Speed Frequency: 1.536 GHz (Large Cores)
Scaling Min Frequency: 460.8 MHz (Small Cores)
Scaling Max Frequency: 1.44 GHz (Small Cores)
Scaling Min Frequency: 480 MHz (Large Cores)
Scaling Max Frequency: 1.824 GHz (Large Cores)
Single Touch Boost CPU Core:
0: 1.44 GHz
1: 1.44 GHz
2: 1.44 GHz
3: 1.44 GHz
4: 0 MHz
5: 0 MHz
Multiple Touch Boost CPU Core:
0: 1.44 GHz
1: 1.44 GHz
2: 1.44 GHz
3: 1.44 GHz
4: 1.824 GHz
5: 1.824 GHz
Touch Boost Duration: 60 ms
Remove OTA Files / Nag Feature:
On every reboot, the system now looks for an OTA file in the '/cache' directory, and if it finds one -will delete on boot and log what file was removed.
If your phone has taken an OTA file (showing you the Nag message to install) and you are running the new version (1.1.2) of UltraPOP ZVA, just reboot your phone, then after reboot select the nag message and tell it to install. After it counts down to zero, it usually tries to reboot but it won't (cause we don't have the file anymore -it's deleted). Wait for it to count all the way down and manually reboot your phone. The NAG message will now be gone until you factory reset again or force a software update again.
Example Screenshots For Triggers (Using Root Explorer):

Sound mod for speaker? it is interesting
Just all the modes that were, not working on the speaker.
Please, upload only sound mod. It will work on zv6?
On zv6 i flash dolby atmos r6.5 (used flashfire), it works perfectly.

Code Error
When flashing the code remove the (_v1) and just leave it as "ultraZVA.img". I tried flashing the code as is but it didn't work so i just removed the (_v1) and it flashed.

sdgotcharged said:
When flashing the code remove the (_v1) and just leave it as "ultraZVA.img". I tried flashing the code as is but it didn't work so i just removed the (_v1) and it flashed.
Click to expand...
Click to collapse
oops sorry, you are correct. I have updated name in OP.
/.

Is it recommended to factory reset after flashing or is it not necessary?

sdgotcharged said:
Is it recommended to factory reset after flashing or is it not necessary?
Click to expand...
Click to collapse
Would recommend, but won't hurt if you don't. Just leaves crumbs.

Are you ignoring me?
Please uplod sound mod only(mixer_paths.xml and any files).

mayrer said:
Are you ignoring me?
Please uplod sound mod only(mixer_paths.xml and any files).
Click to expand...
Click to collapse
I am not in a position to pull that file right now, and not to sound rude with your demand, but you could always download the ROM and pull the file yourself

Agimax said:
but you could always download the ROM and pull the file yourself
Click to expand...
Click to collapse
That's what I did not want to , but have to

mayrer said:
That's what I did not want to , but have to
Click to expand...
Click to collapse
if i wasn't at the hospital with family right now, I would pull the file from my laptop... I can prob pull it tomorrow.

Agimax said:
if i wasn't at the hospital with family right now, I would pull the file from my laptop... I can prob pull it tomorrow.
Click to expand...
Click to collapse
Pretty sure that sound guy feels like a douche now...

Agimax said:
if i wasn't at the hospital with family right now, I would pull the file from my laptop... I can prob pull it tomorrow.
Click to expand...
Click to collapse
I wish you health and your family too.
I'll wait , because the speed of my internet very bad.

mayrer said:
I wish you health and your family too.
I'll wait , because the speed of my internet very bad.
Click to expand...
Click to collapse
thank you, your requested file attached.
/.

@Agimax can u pm me pls an ty

Agimax said:
your requested file attached.
/.
Click to expand...
Click to collapse
Big thanks.

So is 6.0 rooted now?

donbudafuko said:
So is 6.0 rooted now?
Click to expand...
Click to collapse
No, MM does not have and probably will never have 'root' (as we know root today) on your locked bootloader device. We need an unlocked bootloader to modify the Kernel to allow root in MM. HOWEVER, i CAN modify the MM ROM without restrictions (Mostly).
I would love to find a user that is good with theming the ROM from the framework files. Also anyone that can do boot animations (for an UltraPOP bootup). I have done work in the past, however my skills are rustic on framework & animations, and my time is super limited.
/.

Agimax said:
No, MM does not have and probably will never have 'root' (as we know root today) on your locked bootloader device. We need an unlocked bootloader to modify the Kernel to allow root in MM. HOWEVER, i CAN modify the MM ROM without restrictions (Mostly).
I would love to find a user that is good with theming the ROM from the framework files. Also anyone that can do boot animations (for an UltraPOP bootup). I have done work in the past, however my skills are rustic on framework & animations, and my time is super limited.
/.
Click to expand...
Click to collapse
Ok thanks for the info...
Ps sent u a pm

If you all haven't heard or read yet, DO NOT TAKE THE ZVB Update! There is Anti-Roll Back (Downgrade) Security Measures. You will be stuck on ZVB until we get new TOT files for ZVA/ZVB (and this isn't verified it will even work like before yet).
I will try to incorporate an update removal routine in UltraPOP V1.1 active on each boot so we aren't constantly nagged to upgrade.

Related

[Q] Installed Suckerpunch #51, Serendipity ....

I would like to know how I can check if the phone is overclocked? I used the same settings I found in the Suckerpunch #51 Kernel, -100 pretty much everywhere. Stable, Quadrant score is about 1600 consistently...
How can I check how much I'm running at? Also using Serendipity and Suckerpunch does that mean I'm running EXT4?
I'm pretty new to this, I installed this all last night for the first time.
Any help would be appreciate.
T.
Sorry for the double post, but how can i check my file system and how can I get EXT4 - All files if I don't already have it.
Thanks,
I assume your using voltage control if so go into it select the mhz you want to run at from the drop down then there is a tab at the bottom that says select states un check every mhz above the mhz you want to use example: you want 600mhz then only 400, 200, 100 checked the rest all unchecked.
As for ext 4 boot into cwm goto speedmod then lagfix look at the bottom if u see ext4 at the bottom for file systems then lagfix enabled if u don't then u need to enable it in that menu. only about half the file systems will say ext4 if lagfix is enabled
Paragon rc6 with Paragon Kernel
Underclocked to 800mhz
Undervolted to -100mV
Paragon rc6 with Paragon Kernel
Underclocked to 800mhz
Undervolted to -100mV
I'm currently running Serendipity latest release with SuckerPunch #51 Kernel.
When you say boot into CWM and go to Speedmod then lagfix, that means i need to change kernels right?
my settings for voltage control are not higher than 1200 and my states checked are 7 states under that like suggested in the Suckerpunch #51 post.
Nevermind my friend, I believe I am in the process of updating to EXT4
"keywords are I believe "
Although right now after doing the lagfix like you mentioned from CWM and enabling EXT4 on all data and systems, I try and run Voltage and i get a message I am not rooted.
Is that a problem? am I doing something wrong?
Edit again I apologize I'm rooted again through CWM.
Thing i still don't understand is how do I bring my OC up to 1200 -- or even better how can I confirm I am Overclocked?
Lol very new to this heh? Go into cwm goto backup and restore and make a backup for me please lol. That way if you screw up you can go into cwm and restore. Now for voltage control id recommend underclocking to 800 because it will help with battery and you won't notice a difference in performance unless you run benchmarks which mean nothing other than giving you.some numbers to show off. Now after you select what you want in voltage control click options button and apply boot settings then exit and thats it. You can get a system info app from market or run linpack and it will show you your clock speed in the results.
Paragon rc6 with Paragon Kernel
Underclocked to 800mhz
Undervolted to -100mV
Thank you so much - everything seems to running like you said.
File Extensions are EXT4 now, lagfix is enabled, rom is running beautifully, kernel seems stable after 60 runs through stability test.
I think I'm good
I appreciate your input.
np like I said too if your battery life is an issue try underclocking because I run st 800mgz no problem
Paragon rc6 with Paragon Kernel
Underclocked to 800mhz
Undervolted to -100mV

[Kernel]Vivid ICS(v007)OC~1.73GHz/UV/ZRAM/Intellidemand/DualCore/PowerSaving[Jun-07]

NOTICE: This is COMPATIBLE with ALL Vivid Rooted Stock and Custom ROMs
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 Vivid users:
This is my tenth kernel hack. I want to thank 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 HTC Source Code. So it is COMPATIBLE ONLY WITH HTC ICS Vivid 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).
CleanCache (via ZCache backend)
ZCACHE is a new technology I introduced to HTC Kernel. ZCACHE is a compressed cache similar to ZRAM but the similarity ends there. ZCache is meant to provide as many "cleancache" pages (non-dirty or untouched "virgin" memory) to apps that request for new memory. CleanCache is very easy to allocate and no additional penalty are required to hand them out, so having more CleanCache pages will improve performance. Under heavy memory pressure, often times the kernel will NOT have enough CleanCache pages, so the kernel has to do EXTRA work to reclaim dirty cache pages and clean them for the new apps that's requesting for them. The described process creates a performance hit for the kernel and the app, so the idea is to use compression to create more CleanCache pages available for use. Of course there's a penalty to pay for using compression, but the trade-off between compression penalty and the penalty for reclaiming dirty cache pages and allocating them after cleaning is smaller for compression, so in the end, CleanCache should add more performance.
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.
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.
Kernel Files:
******* Ice Cream Sandwich (Android 4.0.x) ******* (Linux 3.0.33)
[ CFS ] (Ultimate Edition) *** S-ON ***
The File ==> Vivid Kernel 007 (1.73 GHz, GPU @ 320MHz, ZRAM) <==
[ CFS ] (Ultimate Edition) *** S-OFF ***
The File ==> Vivid Kernel 007 (1.73 GHz, GPU @ 320MHz, ZRAM) <==
[ Optional: ]
Files to DISABLE Sweep2Wake:
http://forum.xda-developers.com/showpost.php?p=25538084&postcount=6616
[ For Kernel Devlopers ONLY: ]
The File ==> My Global VDD_TABLE for under volt patch <==
The File ==> KGSL Ring Buffer Power Management Patch for Cordy and Ninja Jump <==
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 Example
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
Optional: Stock Clock Frequencies for Dual CPUs
Code:
su
echo 192000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1188000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu1/cpufreq/online
echo 192000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 1188000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
Optional: ZRAM (Compressed RAM swap space )
Code:
su
mkswap /dev/block/zram0
swapon /dev/block/zram0
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!
Installation Instructions:
Here's a step by step instruction to install this kernel:
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:
Ice Cream Sandwich Version 007 is out. More intelligent intellidemand! Completely free yourselves from mpdecision, thermald and now with intellidemand, complete CPU/Thermal Management by the kernel.
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:
[ Change Log ]
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 and XDA rulez
Follow me on
:
If you find this Kernel useful, feel free to hit the [Thanks] button below
Awesome!! Can't wait to try it!
Sent from my HTC PH39100 using XDA
Thank you so much.. faux123~
Faux your a god.
Sweet....
Anyone install yet and have feedback to report?
Boot Loop
No go for me.
It gave me a reason to update to the new AT&T RUU.
May try again after clean install.
Going to flash stock rooted cwm then maybe this will report back.
ismoore said:
Anyone install yet and have feedback to report?
Click to expand...
Click to collapse
Well it's fast in quadrant scores. I got like a 3560 and in that test CPU scores are significantly higher. Antutu benchmark scores with no overclock are the same as stock. All else felt the same. I'm running this kernel with WC's 3.6 Vivid ROM. Still appreciate the contribution faux! I have run your kernels on other phones and they are always the best!
Now why would Window XP forget my android 1.0 drivers for hboot? can't flash anything in hboot now...
Great, thanks for the info. May try this tonight when I get home. Thanks for your efforts faux.
brwnohno said:
Well it's fast in quadrant scores. I got like a 3560 and in that test CPU scores are significantly higher. Antutu benchmark scores with no overclock are the same as stock. All else felt the same. I'm running this kernel with WC's 3.6 Vivid ROM. Still appreciate the contribution faux! I have run your kernels on other phones and they are always the best!
Click to expand...
Click to collapse
My wifi isn't working, it just says "turning on...". Other than that, it works great
**** mines bootlooping its get the att and loops what should i dooo? I got the latest cwm, and hboot, stock rooted rom. Is it because I let it try to boot right after I flashed the boot.img and didn't flash cwm strait after?
haloXgod117 said:
My wifi isn't working, it just says "turning on...". Other than that, it works great
Click to expand...
Click to collapse
Brand New said:
**** mines bootlooping its get the att and loops what should i dooo? I got the latest cwm, and hboot, stock rooted rom. Is it because I let it try to boot right after I flashed the boot.img and didn't flash cwm strait after?
Click to expand...
Click to collapse
You shouldn't be flashing via cwm. I've included a script for pc tethered flashing. Just run flash.bat on pc with USB cable connected to the phone. You may need to run it twice if it failed to load the modules.
Sent from my HTC Sensation 4G using Tapatalk
faux123 said:
You shouldn't be flashing via cwm. I've included a script for pc tethered flashing. Just run flash.bat on pc with USB cable connected to the phone. You may need to run it twice if it failed to load the modules.
Sent from my HTC Sensation 4G using Tapatalk
Click to expand...
Click to collapse
So I could of flashed this on stock ICS? I didn't think you could OC with a non-rooted phone And I was bootlooping on the stock rooted rom not because of the your kernal I believe
iff this will help
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\Documents and Settings\Noah>cd D:\Documents and Settings\Noah\Desktop\New Fol
der
D:\Documents and Settings\Noah\Desktop\New Folder>flash.bat
D:\Documents and Settings\Noah\Desktop\New Folder>adb kill-server
D:\Documents and Settings\Noah\Desktop\New Folder>adb remount
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found
D:\Documents and Settings\Noah\Desktop\New Folder>adb push Modules/system /syste
m
error: device not found
D:\Documents and Settings\Noah\Desktop\New Folder>adb shell mv /system/bin/mpdec
ision /system/bin/mpdecision_dis
error: device not found
D:\Documents and Settings\Noah\Desktop\New Folder>adb shell mv /system/bin/therm
ald /system/bin/thermald_dis
error: device not found
D:\Documents and Settings\Noah\Desktop\New Folder>adb reboot bootloader
error: device not found
D:\Documents and Settings\Noah\Desktop\New Folder>fastboot flash boot Kernel-Her
e/boot.img
sending 'boot' (4348 KB)... OKAY [ 0.875s]
writing 'boot'... OKAY [ 4.984s]
finished. total time: 5.859s
D:\Documents and Settings\Noah\Desktop\New Folder>fastboot reboot
rebooting...
finished. total time: 0.188s
D:\Documents and Settings\Noah\Desktop\New Folder>pause
Press any key to continue . . .
D:\Documents and Settings\Noah\Desktop\New Folder>
can you make a aosp kernal
Nevermind Faux I figured it out! I just need to flash the boot.img that came with the stock rooted rom, then yours! I can't wait to test my battery now, games fly to!! Thanks for your support!!
SetCPU voltage tables are still nonfunctional, just like every other kernel I've tried.
come at me bro said:
can you make a aosp kernal
Click to expand...
Click to collapse
It would be easier to do so if we had a booting AOSP build right now, I think.
Having no issues here. Kernel is definitely smoother and faster than stock. Running fine on WC ROM. Hitting about 3350 on quadrant afer 5 consecutive runs. I haven't made and changes with setcpu, I'm assuming 1.5MHz from initial flash.
Sent from my HTC PH39100 using xda premium
Aus_Azn said:
SetCPU voltage tables are still nonfunctional, just like every other kernel I've tried.
It would be easier to do so if we had a booting AOSP build right now, I think.
Click to expand...
Click to collapse
thecubed's build boots but just barely and someone is working on a build right now I believe, so one day we might have working rom
Brand New said:
thecubed's build boots but just barely and someone is working on a build right now I believe, so one day we might have working rom
Click to expand...
Click to collapse
it boot loops with the proper builds , the one that boots is hacked up to hell

[KERNEL][ROOT]The Ultimate Kernel for the HTC Desire 500

The Ultimate kernel for the HTC Desire 500, both one sim and dual sim!
Software version 1.32/1.26 only! It probably won't work on earlier versions, but it might work on later versions (1.34), I haven't tested that.
Use at your own risk!
Features:
/system write protection removed
two new frequencies added: 1300 and 1400 mhz
init.d support
intelli_plug
sweep2sleep
sweep2wake and doubletap2wake, both with pocket detection
ntfs read/write support
Governors added: SmartassV2 and Lulzactive
ioschedulers added: sio and fiops Default: sio
Fastcharge
Unsecure (ro.secure=0)
Click to expand...
Click to collapse
If you don't want to overclock your device, then simply choose the download link with no overclocking.
Requirements:
Unlocked bootloader
Custom recovery (cwm or twrp)
Fastboot installed
Click to expand...
Click to collapse
Installation instructions:
Download the latest boot.img
Boot your phone into fastboot mode
Open up your commandline
cd to the directory containing the boot.img
In the command line type: fastboot flash boot boot5.img
Boot into cwm/twrp
Wipe cache and dalvik-cache
If you don't have it yet (your phone is not rooted), flash SuperSU or superuser
Click to expand...
Click to collapse
Downloads:
Version 8: Not overclocked: boot8_no_oc.img, Overclocked: boot8_oc.img
Version 7: Not overclocked: boot7_no_oc.img, Overclocked: boot7_oc.img
Version 6: boot6.img
Version 5: boot5.img
Version 4: boot4.img
SuperSU: SuperSU
Click to expand...
Click to collapse
If your phone does not boot after installing an overclocked kernel, then try installing the not overclocked kernel.
Changelog:
Version 8:
Removed the underclocking, it was way too low, and caused wakeup issues
Added 1300 mhz frequency
Updated intelli plug from faux123's github
Updated to 1.34, many thanks to @0lvin
Little fixups on sweep2wake/doubletap2wake
Version 7:
Added overclocking up to 1400 mhz
Underclocking down to 19 mhz
Added sweep2wake and doubletap2wake
Added intelli plug, a replacement for Qualcomm's closed source mpdecision
Enabled perflock again
Version 6:
Add fastcharge
Version 5:
Disabled -O3 optimization
Version 4:
-O3 optimization
ntfs read/write support
Governors added: SmartassV2 and Lulzactive
ioschedulers added: sio and fiops Default: sio
Version 3 and below:
Check the Ultimate Thread
Click to expand...
Click to collapse
Kernel source:
https://github.com/dummie999/android_kernel_htc_z4u
Click to expand...
Click to collapse
Credits:
@flar2 for sweep2sleep
@xpirt for helping me with Smartass
@GreatEmerald for helping me with kernels in general
@eexter for testing for 1.26
@0lvin for updating to 1.34
To the devs:
Feel free to include this kernel in your rom/rooting tool. Just give proper credits and put a link to this thread in your rom thread (Required for GPL).
XDA:DevDB Information
The Ultimate Kernel, Kernel for the HTC Desire 500
Contributors
dummie999, 0lvin
Kernel Special Features: dt2w | s2w | intelli_plug | fastcharge | oc | init.d
Version Information
Status: Stable
Created 2014-10-14
Last Updated 2014-10-14
Reserved
Reserved
Upcoming features
* Intellidemand (implemented - needs tweaking)
* F2FS
Tips
How to change sleep/wake options:
The options for sweep2sleep, sweep2wake and doubletap2wake:
sweep2sleep: 0 - disabled, 1 - enabled, both directions, 2 - enabled, left->right only, 3 - enabled, right->left only
sweep2wake: 0 - disabled, 1 - enabled, both directions, 2 - enabled, left->right only, 3 - enabled, right->left only
doubletap2wake: 0 - disabled, 1 - enabled, full screen, 2 - enabled, bottom half screen, 3 - enabled, center down of the screen (hope you get it)
To change the options, put a script in /system/etc/init.d:
Code:
#!/bin/sh
echo "0" > /sys/android_touch/sweep2sleep
echo "0" > /sys/android_touch/sweep2wake
echo "0" > /sys/android_touch/doubletap2wake
This setting disables all the sweep/wake options
Code:
#!/bin/sh
echo "1" > /sys/android_touch/sweep2sleep
echo "1" > /sys/android_touch/sweep2wake
echo "2" > /sys/android_touch/doubletap2wake
This setting enables sweep2sleep and sweep2wake, and enables doubletap2wake bottom half of the screen
Click to expand...
Click to collapse
How to use fastcharge:
If you charge your phone via usb (from your computer) then it will only charge at 500mA even while most usb ports are capable of supplying 1000mA. Enabling fastcharge will allow your phone to charge at 1000mA via usb.
!!! Warning: you must be sure your usb can supply 1000mA !!!
Fastcharge is disabled by default. You can enable it in 2 different ways:
1. Writing a 1 to /sys/kernel/fast_charge/force_fast_charge. You can do this with a text editor, or with a script in init.d (see above)
2. Or you can simply install an app. I tested Fast Charge by Mathew Winters and Fast Charge by Chris Conley, both worked.
Click to expand...
Click to collapse
To hard? Use this app by Ufonek: Kernel Settings
A word about governors:
Some governors lower the frequencies to fast. For example, when I play angry birds when using lulzactive, the phone laggs a lot. This is, however, not the fault of the kernel, but the fault of the way the governor is tweaked. It is the price you pay for the better battery life you have. If you want to do something about it, tweak your governor, there are a lot of tutorials about this.
Don't come here complaining the phone laggs, and that I should fix it, I won't, because I can't. Everyone has his own preferences, and if you can't live with this, then I recommend you use the ondemand governor.
Compilation instructions
Instructions for compiling the kernel yourself.
Prerequisites:
1. A linux computer
2. Basic bash knowledge
3. ~120 MB free space
4. The android-eabi toolchain:
git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6 for 4.6
(use darwin-x86 instead of linux-x86 for mac)
And then add it to your $PATH (You need to have the arm-eabi-4.6/bin folder in your path)
Instructions:
1. Download the kernel source
2. Open the cmdline and cd to the directory with all the files (Documentation, arch, block etc.)
3. type: make dummie_z4u_defconfig
4. type: make menuconfig
........A menu will open, and you can change some settings. If you want everything to be the way I built it, then skip this step.
5. type: make
The actual building will begin.
Troubleshoot:
If you run into a python problem, you might want to change, in android_kernel_htc_z4u/scripts/gcc-wrapper.py this:
"#! /usr/bin/env python" into "#! /usr/bin/env python2", credits @svalo
If the building succeeds, then you will find the file zImage in arch/arm/boot.
Next step: turn the zImage into a boot.img
1. Download imgtools, and add it to you $PATH
2. Download my boot.img
3. Open cmdline, cd to the directory containing boot.img and type: unpack boot.img
........You will end up with: ramdisk.cpio.gz, ramdisk and zImage (and the boot.img that was already there)
4. Replace the zImage with the zImage you build earlier (arch/arm/boot)
5. Rebuild the kernel:
Code:
repack_ramdisk ramdisk initramfs.cpio.gz
mkbootimg --kernel zImage --ramdisk initramfs.cpio.gz --base 0x3b00000 --cmdline 'no_console_suspend=1 console=null' -o new_boot.img
You will now see a file called new_boot.img, containing your own kernel, which you can install the very same way
Good luck:good:
Note that -O3 does not work for the kernel, at all, and never has. You can set it but it won't do anything. The compiler will still use -O2, because all the parts where performance matters are written in assembly or through GCC-specific extensions already. There is nothing that automatic code optimisation would improve. Meanwhile -O3 enables non-safe options that can result in imprecise calculations, which can lead to disasters in things that are as important as the kernel. So you should disable that.
GreatEmerald said:
Note that -O3 does not work for the kernel, at all, and never has. You can set it but it won't do anything. The compiler will still use -O2, because all the parts where performance matters are written in assembly or through GCC-specific extensions already. There is nothing that automatic code optimisation would improve. Meanwhile -O3 enables non-safe options that can result in imprecise calculations, which can lead to disasters in things that are as important as the kernel. So you should disable that.
Click to expand...
Click to collapse
Then why do people use it?
dummie999 said:
Then why do people use it?
Click to expand...
Click to collapse
Placebo. It makes them think they're gaining something, even though in truth they aren't (but are not certain).
so i need to flash the boot image than flash the kangbang kernel????
joe-khalil said:
so i need to flash the boot image than flash the kangbang kernel????
Click to expand...
Click to collapse
No, you don't need to flash the kangbang kernel. This is a replacement of the kangbang kernel, for 1.32
Replacement?? That means if i flash the boot image i'll have the kernel installed?
Dual SIM doesn't have the 1.32 update, so i don't think this kernel would work on the dual sim version.
joe-khalil said:
Replacement?? That means if i flash the boot image i'll have the kernel installed?
Click to expand...
Click to collapse
yes, lol
I have installed.. It works fine. Thanks !!!
gayTony said:
Dual SIM doesn't have the 1.32 update, so i don't think this kernel would work on the dual sim version.
Click to expand...
Click to collapse
1.32 for Single SIM = 1.26 for Dual SIM (kernel is the same)
dummie999 said:
Fastcharge
Overclocking?
If you have any requests, post them!
Click to expand...
Click to collapse
Overclocking would be nice!
And don't forget to add a link to your kernel sources, to prevent unfortunate things from happening to this thread
GreatEmerald said:
And don't forget to add a link to your kernel sources, to prevent unfortunate things from happening to this thread
Click to expand...
Click to collapse
lol, I knew I had forgotten sth
dummie999 said:
lol, I knew I had forgotten sth
Click to expand...
Click to collapse
any news about CM @dummie999

[KERNEL][G800F][exynos][G800FXXU1*][TW Only][MM Only]Custom Kernel

hennymcc:
Important notice:
- You flash this image at your own responsibility. I am not responsible for any damage that might be caused by flashing this image (bricked device, lost data, ...)
- Flashing this kernel image will trigger the KNOX counter, so your warranty will be void.
- The image is only for S5 Mini SM-G800F (Exynos)
- The kernel is not tested well. It might be instable, crash your device, drain your battery, or even might damage your smartphone (e.g. if an OTG device drains too much power)
- Backup your data before flashing and check if the original firmware is present (e.g. at SamMobile)
Click to expand...
Click to collapse
Side note: Tripping KNOX counter might break some Samsung applications even after a factory reset. This might be due to secure storage(which is fixable), but for now be cautious if you depend on these features! This image will likley damage the Qualcomm variant of the S5 Mini, do not flash if you have a G800H!
Hello! :laugh:
I've been working on a custom kernel for a while for personal use but I thought some of you might like it.
Current feature list:
Patched to Linux 3.4.113
Fading LED notification (default disabled)
Added row I/O Scheduler
Added zzmoove CPU Governor(with temperature export)
Added PIE network scheduler(supposed to reduce latency, default disabled)
DriveDroid support
Universal Control Interface[UCI] (use the Synapse app to configure)
USB OTG
Boeffla sound engine (Only configurable via Synapse! default disabled)
Powersuspend with LCD panel hooks
1.5GHZ clock speed on processors with revision 2 and above
Double Tap 2 Wake
Voltage Control
MDNIE Hijack
F2FS Support
Haptic Feedback for soft keys
Compiled with Self built Linaro 5.3 toolchain
This kernel is currently only designed to work with the corresponding TouchWiz ROM and likely won't be able to boot custom ROMs. KitKat/Lollipop TouchWiz is also not supported!
If you have any questions about the included features (how to enable, what they do) you may ask in the Q&A until I update the thread.
About 1.5GHZ clock speed
So, as it turns out, Samsung had already done the work to push the 3470 to 1.5GHZ. The frequency tables were already there and all that needed to be done was to remove a soft limit set on it and voila! 1.5GHZ! The catch is that these tables only applied to the second revision of the SoC and above.
Possible reasons why Samsung set the limit:
The S5 mini comes out with both the older and newer revisions of the 3470 and Samsung wanted to avoid getting in legal trouble for selling a higher clocked phone as the same product
The higher clock speeds legitimately can damage the phone
As I don't have multiple S5 Mini's at hand I can't prove the first point, but the second point is more likely true. If you don't feel comfortable with the higher clock speeds you may lower the maximum to 1.4GHZ via Synapse, but the default clock is always 1.5GHZ due to the way in which the frequency controller works.
Current status : BETA
Credits:
andip71(Boeffla sound), faux123(Powersuspend), FrozenCow(DriveDroid support), ZaneZam(zzmoove), Linux Foundation(kernel patches), AndreiLux(Voltage patches for INT and MIF bus), Yank(MDNIE hijack), Samsung(F2FS)
On-board BusyBox by meefik https://play.google.com/store/apps/details?id=ru.meefik.busybox&hl=en
The authors are not responsible for the way in which their features have been implemented in this kernel. Do not post bug reports to them!
Flashing procedure will be the same as with this kernel.
Download current image here:http://forum.xda-developers.com/devdb/project/?id=10241#downloads
Chaneglog:
Code:
1.0
-Initial Release
1.1
-ZZMoove Update to 1.0 Beta 8
- Linux Update to 3.4.108
- Toolchain update
- 1.5ghz unlock for higher revision SoC's
1.2
- Ramdisk update
- Double Tap 2 Wake!
- UCI update
- USB OTG now permanently enabled
1.3
- Voltage Control (CPU, GPU, bus)
- Fixes for DT2W
- Linux Update to 3.4.109
1.4
- Intelliactive Removed
- Linux Update to 3.4.110
- MDNIE Hijack
1.4_L
- Lollipop Variant Now Live
1.4_L2
- Second Lollipop release
- Fixed OTG
- System partition can be remounted again
- Removed Frandom (Does not work so well in Lollipop)
1.5
- KitKat support terminated
- Fix annoying bootloader warning ("KERNEL IS NOT SEANDROID ENFORCING")
- F2FS Drivers updated and F2FS support improved (/data and /cache)
- Patch to Linux 3.4.111
- UKSM removed due to stability concerns
- SELinux policy support update (Latest SuperSU betas might need this)
- Switch to self built linaro toolchain
1.6
- Update to Linux 3.4.112
- F2FS drivers updated
1.7
- F2FS drivers update
- NTFS support enabled (eg. for reading USB HDDs)
- Kernel side haptic feedback on soft keys added (see second post)
1.8
- patch to 3.4.113
1.9
- Switchable OTG
2.0
- Updated to MM
- No longer need to install BusyBox manually to use Synapse
XDA:DevDB Information
G800F Custom Kernel, Kernel for the Samsung Galaxy S5 Mini
Contributors
CurtisMJ
Source Code: https://github.com/CurtisMJ/g800f_custom_kernel
Kernel Special Features: Boeffla Sound, Fading LED, Linux 3.4.113, row I/O Scheduler, zzmoove CPU governor, PIE netsched, DriveDroid support, UCI, USB OTG, DT2W, Voltage Control, MDNIE Hijack, F2FS, Haptic feedback
YOU MAY NEED TO REFLASH SUPERSU AFTER FLASHING THE KERNEL!
Version Information
Status: Beta EOL
Current Beta Version: 2.0
Beta Release Date: 2017-03-07
Created 2015-06-08
Last Updated 2017-03-07
Reserved
OTG switching
Credit to tobigun for the original code (I actually attempted it at some point but failed miserably).
Execute the commands in a terminal:
Turn on OTG
Code:
su -c echo OTG > /sys/class/sec/switch/otg_cable_type
Turn off OTG
Code:
su -c echo USB > /sys/class/sec/switch/otg_cable_type
(Haven't touched Synapse in forever, cannot make sense of it anymore, so no Synapse switch soz)
Synapse Issues
I had some trouble with colour choosers crashing Synapse under specific conditions. If Synapse keeps crashing when picking colours for MDNIE, please try the custom build available in the downloads section of this project.
IF THE DEVICE IS CRASHING WHEN USING SYNAPSE, THEN YOU HAVE LIKELY SET UNSTABLE SETTINGS! SYNAPSE WILL NOT PREVENT THIS, SO PLEASE BE CAREFUL WHEN CHANGING SETTINGS!
There are two ways to recover:
- Use your recovery to delete Synapse's data folder
- Factory Reset your device (Only in extreme cases)
Using PIE netsched:(likely not working with Android at this point in time)
Run following in root terminal or as init.d script
Code:
tc qdisc replace dev wlan0 root pie
tc qdisc replace dev p2p0 root pie
tc qdisc replace dev rmnet0 root pie
ZZMoove and profiles:
The zzmoove governor is highly recommended. It can be set to various profiles to mimic the benefits of various other governors. It'll even ensure the device doesn't overheat!
The profile can be set by setting the "profile number" tunable in Synapse to one of the number values mentioned here. Setting it will change a bunch of other tunables. You'll need to restart Synapse after setting it and save the changes for future application.
Notes on DVFS
Samsung's DVFS feature in their TouchWiz ROMs seems to get a bit shouty when anything other than the "interactive" CPU governor is active. It could also be the cause of rare kernel panics relating to CPU frequency tables(frequency controller expects something from the governor, governor doesn't deliver, panic). Since it also seems to cause a couple other unrelated issues, I'd recommended simply disabling it altogether(the easiest way being via Xposed)
Double Tap 2 Wake
This feature allows you to wake the device by double tapping on the screen while it is off. NOTE:Deep sleep is near totally inhibited while this feature is active, this means extra battery may be consumed. On a tweaked ROM you'll get 2-3%/hr on full standby, on non tweaked you'll get about 4-5%/hr, please keep this in mind while using the feature! Android OS suspension should be unaffected. The feature disables itself when a Samsung branded flip cover is closed, including S-View covers(no double tapping on the window). The feature makes use of the light and proximity sensors in order to detect whether the device is in a dark enclosed place (eg. A pocket) and disables itself in these situations as well in order to prevent accidental wakes (though that may still happen...)
MDNIE Hijack Example
Profile based of iPhone 6+ screen:
R: FF 00 00 - G: 12 FC 12 - Bu: 00 00 FF - C: 12 FF FF
M: FF 00 FF - Y: FF FF 00 - W: FF FF FF - Bl: 00 00 00
Feel free to post any other nice looking profiles you find
Init.d in Lollipop
I did not add Init.d support when building the Lollipop variant's ramdisk. Instead, /su/su.d should be used to run boot scripts. The functionality is exactly the same as the old Init.d.
Haptic feedback on soft keys
In order to avoid conflict with ROM side solutions, haptic feedback is disabled by default. It can be enabled via the following command which can be run as a boot script (eg. in /su/su.d). Command must run as root.
Code:
echo 1 > /sys/class/misc/abov_touckey/vibrate
NOTE: Above "touchkey" was misspelled in code. It should be fixed in a future update. Sorry for any inconvenience
still not fixed lol
Extra Compatibility Notes:
[url]http://forum.xda-developers.com/showpost.php?p=62226500&postcount=2[/URL]
Awesome, thanks !
Installed it and testing now
After a few days of testing !!! All I can say is, Great Kernel :good:
Good performance, great battery life
No issues so far.:highfive:
Working fine on G800FXXU1AOE3
And works great on G800FXXU1AOG2 too.
Again big Thanks Curtis ! :angel:
kernel is damn good.
Games running very fast for me with the new updated kernel
The 1.5Ghz CPU overclock is .. awesome
For additional gaming performance you can lock the GPU Frequency like this:
Shell command:
cd sys/module/mali/parameters
echo 533 > mali_dvfs_control
thats it, gpu locked to 533 mhz. Thanks to hennymcc for this commands
for example:
GTA San Andreas running now with maximum resolution+visibility graphical settings
Solid 30+ FPS :cyclops:
Sorry for noob question - can someone show me the exact syntax to enter in Terminal (or procedure) to activate OTG ? I don't seem to figure it out .
seaman5705 said:
Sorry for noob question - can someone show me the exact syntax to enter in Terminal (or procedure) to activate OTG ? I don't seem to figure it out .
Click to expand...
Click to collapse
To turn on:
Code:
su -t echo 1 > /sys/devices/virtual/sec/switch/otg
And off:
Code:
su -t echo 0 > /sys/devices/virtual/sec/switch/otg
Will ask for root.
EDIT: Enter exact commands in terminal emulator or adb shell
Thanks Curtis , but something is wrong in my case . It doesn't work and I don't understand why . After running the script , I granted the root access
, everything seemed to be ok , but nothing happens when I connect and USB key which is recognized in my S4 phone .
seaman5705 said:
Thanks Curtis , but something is wrong in my case . It doesn't work and I don't understand why . After running the script , I granted the root access
, everything seemed to be ok , but nothing happens when I connect and USB key which is recognized in my S4 phone .
Click to expand...
Click to collapse
Does anything else work? OTG also gets reset on boot, maybe it needs to be in an init.d script. I'll admit, I don't have an OTG cable to test, perhaps I should get hold of one, but the code definitely creates the right behavior (exactly the same as the other OTG kernel around here actually). Maybe switchable isn't the right way to go about it and OTG must be enabled permanently. I'll have to look into this, but in the meantime could you perhaps test with the other OTG kernel and see if it works? Also, the stick maybe might not be automatically mounting. Run "mount" in a terminal and see if it pops up. Apologies for the inconvenience.
CurtisMJ said:
Does anything else work? OTG also gets reset on boot, maybe it needs to be in an init.d script. I'll admit, I don't have an OTG cable to test, perhaps I should get hold of one, but the code definitely creates the right behavior (exactly the same as the other OTG kernel around here actually). Maybe switchable isn't the right way to go about it and OTG must be enabled permanently. I'll have to look into this, but in the meantime could you perhaps test with the other OTG kernel and see if it works? Also, the stick maybe might not be automatically mounting. Run "mount" in a terminal and see if it pops up. Apologies for the inconvenience.
Click to expand...
Click to collapse
No, it will not mount . I tested and OTG works with henny's kernel . Otherwise you made a great kernel - thanks for your work and your advices !
seaman5705 said:
No, it will not mount . I tested and OTG works with henny's kernel . Otherwise you made a great kernel - thanks for your work and your advices !
Click to expand...
Click to collapse
Attached is a build of the kernel with OTG enabled on a permanent basis. If you would not mind, could you test to see if it works? If so it will be done this way in future release, if not I will have to have a good look at any related code...
(P.S, sorry for the wait, my dual-boot was giving me issues)
CurtisMJ said:
Attached is a build of the kernel with OTG enabled on a permanent basis. If you would not mind, could you test to see if it works? If so it will be done this way in future release, if not I will have to have a good look at any related code...
(P.S, sorry for the wait, my dual-boot was giving me issues)
Click to expand...
Click to collapse
Yes , OTG works with this kernel . Great !
Note that after flashing, another reboot is needed to have the usb key properly mounting and poping up the file explorer with the key's content on connection .
Thanks !
New Version!
New version of my custom kernel released. Now includes Double Tap 2 Wake.
Is it possible to add voltage control to your kernel ? thanks .
CPU Voltage control is now implemented. Will work on a Synapse interface and the int and mif buses later today.
New Version!
Voltage control, Linux patches and fixes for DT2W waking up the screen while a call is in progress(sorry 'bout that)
Working great - I achieved good undervolting . Thanks
Hope to see a modified kernel for Lollipop too .

[magisk][kernel]lazy v2

LAZY V2
LAZY IS another optimizer than gives overall optimizations, to a specific chipset sdm439/msm8937.
FEATURES
LAZY ALGORITHM- AN ALGORITHM THAT IS MADE TO PROVIDE PERFORMANCE WHILE STOPPING THE DEVICE FROM OVERHEATING TOO MUCH, AUTOMATICALLY ADJUSTS CPU USAGE BASED ON TEMPERATURE.
KTWEAKS BY @tytydraco - FOLLOWS ALL KERNEL OPTIMIZATIONS APPLIED TO THE ORIGINAL KTWEAKS
4 MODES - GAMING, MULTITASKING, POWERSAVE AND LAZY ALGO
OPTIMIZATIONS FROM PERFD OPTS CREDITS TO MATT YHANG
link to tytydraco's thread
https://forum.xda-developers.com/android/software/module-ktweak-evidence-t4148447/amp/
HOW TO USE
FLASH LAZY AT MAGISK MANAGER MODIFY/CREATE /SDCARD/MODE.TXT (0/LAZY IS DEFAULT) REBOOT, WAIT FOR 2 MINS SEE IF ZZZ.LOG EXISTS
MODES: 1-GAMING - MAXIMUM PERFORMANCE TO CPU AND GPU BUT UNLIKE LAZY COOLS DOWN START AT 40°C AND STARTS MAXIMUM PERF AT 30°C.
2-MULTITASKING-NO TEMP CONTROL ONLY MUTITASKING PROFILES SET TO PROVIDE STABLE MULTITASKING.
3.BATTERY-PROVIDES BATTERY PROFILES, PROBABLY LIMITS CPU AND RAM USAGE TO CERTAIN VALUE.
0. (DEFAULT)LAZY-AUTOMATICALLY COOLS DOWN CPU EVEN UNDER HEAVY LOAD. AUTOMATICALLY SETS CPU USAGE WHEN ITS NEEDED, WHEN TEMPERATURE RISES TO 35°C IT SPEEDS UP AND WHEN ITS EQUAL OR ABOVE 40, LAZY WILL TRY TO REDUCE TEMPERATURE.
BENCHMARKS
https://forum.xda-developers.com/showpost.php?p=83412957&postcount=16
THIS AN INITIAL RELEASE AND I HOPE I CAN IMPROVE IT EVERY UPDATE. ENJOY​
credits:
yc9559
@tytydraco for his script and knowledge on his thread
xda
redmi 7a community
redmi 8a community
Changelogs
changelogs:
v2.3.3
less aggressive memory management
updated to ktweaks 1.4
highest score achieved vs previous jankbenchmarks
https://jankbenchx.now.sh/results/276062212128244237​
Okay so
1. Install BusyBox module in magisk
2. Flash "Redmi8a.zip" in Magisk
3. Flash "Binaries for swift 8a.zip in TWRP or OrangeFox Recovery"
And I've attached an image of the files in /data. Is it correctly working ?
ways2 said:
Okay so
1. Install BusyBox module in magisk
2. Flash "Redmi8a.zip" in Magisk
3. Flash "Binaries for swift 8a.zip in TWRP or OrangeFox Recovery"
And I've attached an image of the files in /data. Is it correctly working ?
Click to expand...
Click to collapse
yes it is when you see swiftgappsopts that means all swift features are executed
Tried this in my phone. My problem is it feels like I'm not connected to the internet even if I am connected to the WIFI. Tried while downloading an app from the Play Store. It just says "Waiting for download" for 30 minutes, not starting the download at all.
So what I did beforehand is backup "boot" and "vendor" from TWRP (Orangefox has no "vendor", only "vendor image"), then restore those after installing the zip files. I now have downloaded and installed the app I need.

Categories

Resources