[BHB27 Kernel MOD] IntelliProfiles 8.0 [CM-RR-MOKEE-STOCK] - Moto Maxx Android Development

{
"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"
}
* I am not the Kernel developer. ALL THE CREDITS FOR THE KERNEL GOES FOR @baybutcher27
* I am not responsible for bricked devices, dead SD cards, corrupted partition, nuclear disasters
* Please do some research before using this mod!
* YOU are choosing to make these modifications,
* If you point the finger at me for messing up your device, I will laugh at you. Hard. So hard.
​
I started a project to myself use and shared this with some users in the brazilian Moto Maxx community. This project is based on doing profiles for BHB27 Kernel for our device: Quark.
These profiles are based on tests and new changes are tested before released.
These profiles are hardly tested by me and the beta testers. When released for beta testers the focus is to see if there are improvements between the tested version and the latest version available, find the best configuration for each usage profile and, for sure, search for bugs (as lags, microlags, battery drain, etc). After that tests I release it to Xda and keep searching for bugs for all the users.
I'M DEFINITELY NOT A DEVELOPER!
ALL I KNOW I DID READ A LOT TO MAKE THESE TWEAKS AND CHANGES (I 'STUDIED' EACH TWEAK IN ZZMOVE, FOR EXAMPLE).
THIS DOES NOT UNDERVOLT YOUR DEVICE OR ENABLE WAKE CONTROLS. ACTIVE WAKE CONTROLS OR UNDERVOLT YOUR DEVICE BY YOUR OWN RISK.
- Intelligent Tasker profiles (Temporarily removed)
- Intelligent notifications based on circumstances (Temporarily removed)
- Kernel adiutor profiles constantly updated
- Profiles based on users needs
- Multi profile
- Better battery life on stand-by and usage time
- Better configuration for daily usage
- Better performance for gaming
- No overheat in daily usage
- Screen balance (fix the yellow screen bug on quark)
- Low memory killer tweaked
- Virtual memory tweaked
AVAILABLE PROFILES
Daily Profile: The best balance possible between battery and performance. Reduce frequencies as fastest as possible, deactivate unnecessary cores the fastest possible, only go for high frequencies (above 1497) only if really needed, extremely good cores management to prevent battery drain and overheat.
PowerSave Profile: Maximum optimization for battery. CPU/GPU underclocked, CPU limited to 2 cores, a lot of optimizations for the best battery possible without much smoothness sacrifice.
Gaming Profile: Maximum optimization for games. CPU/GPU tunes and optimizations for a better gaming experience.
***YOUR BATTERY MAY DRAIN FASTER.
***YOUR PHONE MAY OVERHEAT.
I'm so happy to introduce IntelliProfiles, an integration from Tasker and ProfilesMod. This are Tasker profiles based on circumstances which change kernel adiutor profiles, change system configuration and much other actions.
**Every change made will be asked if the user would like to do so by a notification. Nothing will be done automatically.**
Every profiles were hardly tested by 20 users and all the profiles are correctly working.
Recommendations​For daily usage the recommended is daily profile. Other profiles may decrease the battery faster because they stay at high frequencies for longer times.
Don't change anything in the profiles, so you may find bugs and help me developing and fixing it.
Try to run every game with daily profile, if it do lag then you try the Gaming. Gaming keeps all cores and GPU at maxed frequency and may heat and decrease battery really fast.
Always have the up-to-date IntelliProfiles mod. It's really important to be updated and have the newest version.
Report any bug, so I can fix it the fastest possible. Do not hesitate to report any bug or problem you have with the mod.
REQUIREMENTS​
Custom Recovery (TWRP recommended)
BHB27 Kernel
The latest BHB Kernel Adiutor
Kernel and Kernel Adiutor may be found at: http://forum.xda-developers.com/moto-maxx/development/kernel-bhb27-kernel-t3207526
INSTALLATION​EXTRACT THE FILE, COPY TO EMULATED/0/KA_PROFILES AND APPLY THE PROFILE IN KERNEL ADIUTOR APP.
OPTINAL --- Add Kernel Adiutor widget to your homescreen for an easy profile switch.
DONE!
TO DO LIST (LISTED BY PRIORITY)​
• Nothing at To Do List at this moment. You may request me right here or at Telegram @Debuffer)
All under progress since it will take a while to everything work like it should.
"TO DO LIST" priority order may suffer changes based on the user's reports, user's requests faster and/or success rate in profile tests.
This list is variable and may be changed anytime.
All profiles will be hardly tested before being released.
None profile will be released if it presents bugs or instability.
PROFILES SUGGESTIONS ARE ALWAYS WELCOME! I'M SO EXCITED TO DO IT SO YOU CAN ASK FOR ANY PROFILE AND I WILL DO MY BEST TO DO IT.
MORE BETA TESTERS ARE ACTUALLY NEEDED
ACTUALLY IT'S ME AND TWO FRIENDS TESTING IT ONLY ON XT1225 QUARK
NEED TESTERS FOR XT1250
IF YOU ARE AVAILABLE AND WOULD LIKE TO TEST YOU CAN POST HERE OR CALL ME ON Telegram: @Debuffer
CREDITS​
@baybutcher27 for this awesome kernel and for the slogan image
@Paget96 for teaching me a lot of things related to kernel and for features image
@hpbrasil for teaching me a lot of things related to kernel
@xdadevelopers for bringing us this awesome website where I could learn a lot of stuffs
ALL THE KERNEL CREDITS GOES FOR @baybutcher27

All the old changelogs were and will be deleted. The changelog you may track is only the newest one to avoid too many spoilers in the thread and in the post. If you do like to track the changes being made you can do it in this website: https://trello.com/b/LVa4pRQP/profilesmod
CHANGELOG​
30/09/2016​Changed CPU governor for the most optimized combination with Govtuner
Configured all new kernel features for the best optimizations
Changed read-ahead value
Changed I/O scheduler for a more responsive one
Enabled double tap to wake
Improved temperature control
Improved GPU tweaks
INSTALLATION --> EXTRACT THE FILE, COPY TO EMULATED/0/KA_PROFILES AND APPLY THE PROFILE IN KERNEL ADIUTOR APP.
12/07/2016​Changed I/O scheduler for a more responsive one
Changed read-ahead value
Tweaked virtual memory
Some improvements in CPU
READ CAREFULLY:
Now IntelliProfiles doesn't support any Governor Tunables. What does it means? It means that it will not have custom CPU governor tunables. Instead of it, the users should use GovTuner, my other project which fits perfect with IntelliProfiles.
Users should use both together to have the best experience with our Moto Maxx/Droid Turbo.
The link for GovTuner: http://forum.xda-developers.com/and...mod-gov-tuner-project-29th-june-2016-t3407828
27/06/2016​
IntelliProfiles 6.0 released.​
New installation method. Please, check Installation tab to learn the new method. Titanium Backup isn't needed anymore.
Updated Kernel Adiutor to Kernel Adiutor by Baybutcher +12 version.
Tasker is not back yet. Please, vote the pool if it's better with or without Tasker.
New read-ahead value for Daily and PowerSave profiles. This new value might slightly increase the battery.
A lot of optimizations in Daily profile. It's now more smooth and doesn't drain so much battery as the last used to.
Improvements in I/O Scheduler for Gaming Profile.
#2
Installation bug fixed.​

Good idea, but maybe it will be better to focus on less complex range of profiles, such as performance/balanced/battery saving? IMO that way it will be easier for everyone to choose the favorite preset.
P.S. Isn't there a built-in utility to create profiles in KA?

Andrey G. said:
Good idea, but maybe it will be better to focus on less complex range of profiles, such as performance/balanced/battery saving? IMO that way it will be easier for everyone to choose the favorite preset.
P.S. Isn't there a built-in utility to create profiles in KA?
Click to expand...
Click to collapse
In future I might do an easier and a more complex range of profiles, in two separated zips. Is that a good idea?
Suggestions are always welcome. Thanks for yours, @Andrey G.

Tomorrow we gonna have a huge update for all the profiles. Stay tuned!

I'm testing this out on my Droid Turbo with CM13. Can I have Lspeed installed too?

Lamarrotems said:
I'm testing this out on my Droid Turbo with CM13. Can I have Lspeed installed too?
Click to expand...
Click to collapse
Yes.
By the way, it's highly recommended. LSpeed is the best mod you'll find over Xda and other forums and it will improve even more if you use both mods together.
Sent by me using my fingers

thanks! Should I turn off the kernel options/settings in Lspeed? I guess I don't even truly understand what it does or how it works!

I recommend to don't use kernel tweaks on lspeed since bhb is a custom kernel, but any other tweaks you might give a try. @Paget96 is my close friend and he helped me to create some tweaks for ProfilesMod
Sent by me using my fingers

Titanium backu didn't restore any data automatically after install, so I can't find any profile on the widget.

mirdones said:
Titanium backu didn't restore any data automatically after install, so I can't find any profile on the widget.
Click to expand...
Click to collapse
After the flash you gotta wait for the automatic reboot and titanium will restore the profiles.

Debuffer said:
After the flash you gotta wait for the automatic reboot and titanium will restore the profiles.
Click to expand...
Click to collapse
That is the problem.
The phone automatically reboots after the flash, but Titanium does not restore anything automacally, even after a 20 minutes wait without touching the phone.
I am a pro user of Titanium and it already have its own folder of backups.
Maybe it has something to do with it.

mirdones said:
That is the problem.
The phone automatically reboots after the flash, but Titanium does not restore anything automacally, even after a 20 minutes wait without touching the phone.
I am a pro user of Titanium and it already have its own folder of backups.
Maybe it has something to do with it.
Click to expand...
Click to collapse
That's weird.
Try cleaning titanium backup data and reflashing the mod. If does not work, let me know and I'll look for a solution.
Sent by me using my fingers

Debuffer said:
That's weird.
Try cleaning titanium backup data and reflashing the mod. If does not work, let me know and I'll look for a solution.
Sent by me using my fingers
Click to expand...
Click to collapse
I cleaned my titanium folder and it still did not restore anything.
By the way, I have kernel auditor already configured for wake controls.

Clean kernel adiutor data.
Sent by me using my fingers

Debuffer said:
Clean kernel adiutor data.
Sent by me using my fingers
Click to expand...
Click to collapse
It also didn't work.

mirdones said:
It also didn't work.
Click to expand...
Click to collapse
Call me on telegram: @Debuffer
I'll send you the backup files and you just restore in titanium backup.
Sent by me using my fingers

I'll start to work on a new project.
It will use ProfilesMod and Tasker together to optimize the phone based on some circumstances.
More details will be revealed soon.
Sent by me using my fingers

A huge update is coming out tomorrow.
Stay tuned with the news!
Sent by me using my fingers

Installed 1.7 restoring data and app manually on titanium an it worked.
Restoring automatically did not work again.

Related

[FAQ] AK Kernel 101

AK Kernel FAQs
{
"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"
}
Q1) What are custom kernels? What are the benefits of using custom kernels?
A kernel is basically the bridge between the software and hardware. Whenever you command your phone to do something (launching an app), the software sends that request to the hardware which in turn, makes the launching of the app possible. Custom kernels for Android are unofficial creations of independent developers. Unlike the kernels that OEMs make, custom kernels offer more modifications that allow you to tweak your phone in every possible way.
Benefits Of Installing Custom Kernels
You can benefit from having better control of your device. These options are most helpful for users who want to maximize the full potential of their phone or perhaps want to extend their device's battery life. Below are some of the benefits of installing custom kernels.
-Adjust CPU frequencies and set profiles like OnDemand, Battery Saving, etc.
-Underclock and overclock CPU speeds
-Underclock and overclock GPU speeds
-Adjust voltage
-Adjust touch screen sensitivity
-Equip your phone with BLN (backlight notifications)
-Custom recovery that allows backups and restorations of entire ROMs as well as installation of .zip files
-Minimum screen brightness pushed past the limitations of stock kernel
-Conserve battery (with the right settings
Q2) Where can I get the AK kernel and which one should I flash?
The latest kernel is always linked in the OP. The kernel is broken down between the Purity version and Pirate version. The Purity kernel is meant to be as close to stock as possible. The Pirate kernel on the other hand is more of a experimental kernel with more options than Purity.
Q3) I have a XXXXX version of the Galaxy Nexus, will it work?
Yes, the AK kernel works on all versions of the Galaxy Nexus. This includes the CDMA and GSM versions. Download the kernel from the AK thread.
Q4) How do I make changes to my kernel settings? (ex: voltages, fastcharge, etc.)
Download the Trickster Mod from the Google Play store.
Q5) Can I use AK on xxxxx rom?
AK is known to work on any rom based on AOSP, AOKP, CM10, and even MIUI.
Q6) How do I install it coming from another kernel?
TWRP is the prefered recovery, although CWM recovery may also work.
The ideal way to install AK, especially if you are coming from another kernel, is to do the following.
Wipe cache and dalvik cache
Wipe /system
Re-flash your ROM
Flash AK
Fix permissions in recovery (this may take up to a minute or two)
Reboot
Q7) Do I need to wipe cache/dalvik/battery stats/etc if I'm just installing the kernel onto a previous AK version?
No, download and flash away. Only wipe battery stats if your battery percentages are off. Do not believe the myth that doing so will increase your battery life.
Q8) Do I need to run any other apps like SetCPU or equivalent?
No, if you plan to install and run Trickster Mod, please uninstall any other apps that may interfere with your CPU settings. If you are still running into problems (ex: reboots, FCs, etc.) please check your /etc/init.d directory for any left over scripts from other rom or kernels. These may interfere with how AK operates.
Q9) What is Smart Reflex? What is FSync? What is Thermal Throttling?
Smart Reflex is used to scale your voltages. Voltage will be increased or decreased when required. If you are overclocking, disable SR to have access to higher clock speeds.
FSync is a system call that can be toggled on to write buffers to disk (slow) or toggled off (fast) for performance. FSync defaults to on in the linux kernels, the option to disable it exists but it is advised to use this with caution. COMPLETE data corruption could occur if the phone crashes with fsync disabled.
Thermal throttling protects your CPU from overheating. If you are benchmarking, turn this option off to prevent throttling of the CPU that can cause lower scores. Just remember to re-enable it afterwards. Bear in mind that at 110C, the CPU will shut down no matter what. It is not advised to disable thermal throttling, however the option exists for those enthusiasts who are aware of the risk of permanent hardware damage. Please take the necessary precautions!
Q10) Does PGM (slide2wake) for the Nexus work with AK?
Yes PGM is supported on. But be sure to use the latest(March-25) version.
Note- The latest free or pro version of the pgm app is required.[/B]
Q11) What is the sleep of death (SoD)?
You turn the screen off, when you want to pick it up, you can not wake it up.
There is no blinking notification and when you call it, there is no ringing or vibration. When you press and hold power, it does not turn on, otherwise it was OFF.
If you play a game and it reboots, or freezes. That is NOT a SoD.
Q12) Can xxxxx option be implemented in AK?
Stefano wants to keep Purity as close to stock as possible but feel free to request features for Pirate within this thread or the dev thread. Whether or not it gets implemented is up to Stefano.
Q13) I want to keep my Rom's bootanimation, why does AK kernel keep trolling me?
The boot animation by Ciprian is hardcoded so it cant be changed.
Q14) How is battery life?
No one can predict your usage. However, most folks are getting great screen on time and performance.
Q15) I just experienced a reboot, how can I help to pinpoint the problem?
Open up terminal emulator and issue the command:
Code:
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
Take this last_kmsg.txt file and show it to Stefano in this thread. It's suggested to copy the contents and use something like pastebin instead of spamming the thread with your log.
Q16) Whats with all the name changes?
Stefano aka AK changes the name whenever he makes major change to kernels, meaning they are different kernels thats why they have different names.. thats why the kernels went from berserk>dummy>pirate>cylon>AK/diamond>.. AK/Diamond are the same he just changed the name from AK to diamond thats why the changelog for diamond leads to changelog of AK.. as for purity that kernel is as close to stock as possible so its name has been purity since i started using this kernel, Stefnao stopped making the purity kernel and now BigBrother1984 makes Rubik in its place
Any other things that should stand in the FAQ? Did I make some horrible language mistakes? Write me a PM or post in this thread.
=============================
Credits-
Stefano - for this great kernel :good:
GideonX - for letting me use this format and some of the question from his post :good:
If you have any problems, you need to collect the following data before reporting it:
- Report Only with default Freqs + default Uv
- kernel version
- rom version
- governor
- scheduler
- freq cpu
- freq gpu
- logcat
- dmsg
- last_kmsg
- short description of the problem
First!
Great job on this.
jstn_hillis said:
First!
Great job on this.
Click to expand...
Click to collapse
thanks.. btw guys i think this thread should be in the Q&A section instead so i am requestiong that a MOD move it there :good:
Khizar said:
Q4) Can I use AK on xxxxx rom?
Trinity is known to work on any rom based on AOSP, AOKP, CM10, and even MIUI.
Click to expand...
Click to collapse
What? :silly:
Kakashi Hatake said:
What? :silly:
Click to expand...
Click to collapse
i used GideonX post that is linked in the OP to make this and looks like i forgot to edit that, thanks for the catch :good:
PS- if anyone finds something else or has any siggestions please let me know :good:
Honestly I'd like to see peoples custom and under volt settings.
Sent from my Galaxy Nexus using Tapatalk 2
thx dude
PGM(free and better version) can't work with my Gnex with PA 20/2/13 on both Purity kernel and Pirate kernel.
fishhelmet said:
Honestly I'd like to see peoples custom and under volt settings.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
users are more than welcome to post their settings here :good:
pponto said:
thx dude
Click to expand...
Click to collapse
your welcome
baiyy0906 said:
PGM(free and better version) can't work with my Gnex with PA 20/2/13 on both Purity kernel and Pirate kernel.
Click to expand...
Click to collapse
the issue isnt with AK, its with pgm, the free version is outdated
Khizar said:
users are more than welcome to post their settings here :good:
your welcome
the issue isnt with AK, its with pgm, the free version is outdated
Click to expand...
Click to collapse
you are right,I find the latest version,that's work , thank you
Khizar said:
Q12) I want to keep my Rom's bootanimation, why does AK kernel keep trolling me?
The boot animation by Ciprian is hardcoded so it cant be changed.
Click to expand...
Click to collapse
I have no problem with branding, but I believe just a splash of the logo would suffice. I am running the Pirate version and not a huge fan of the pirate splash and would really like to remove it or at least have the option to change it to the AK logo. Any chance of this ever happening?
ThePhantom97 said:
I have no problem with branding, but I believe just a splash of the logo would suffice. I am running the Pirate version and not a huge fan of the pirate splash and would really like to remove it or at least have the option to change it to the AK logo. Any chance of this ever happening?
Click to expand...
Click to collapse
You can download source, compile with:
CONFIG_LOGO is not set
Why do I get major lag after receiving a notification with this kernel?
Sent from my Galaxy Nexus using xda app-developers app
soccer568 said:
Why do I get major lag after receiving a notification with this kernel?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
i persoanly dont have any lag with this kernel(i use stock settings) but post the following info and we might figure out why you are getting lag-
- are you using custom Freqs + Uv?
- kernel version?
- rom version?
- governor?
- scheduler?
- freq cpu?
- freq gpu?
So I'm new to custom kernels, but I'd like to see super basic stuff for newbies in the faq. like "What is the benefit of installing a kernel and what does it do?" in the faq. or like "Is there a rom that works better with this kernel?"
uncola said:
So I'm new to custom kernels, but I'd like to see super basic stuff for newbies in the faq. like "What is the benefit of installing a kernel and what does it do?" in the faq. or like "Is there a rom that works better with this kernel?"
Click to expand...
Click to collapse
i like the first question so will add it in the OP, as for second question nobody can answer it but you, every device is different so the rom/kenrel that works best for me wont necessarily work best for you thats why i recommened that you try different rom/kernel combos
This might help with the question "is there a rom that works better with this kernel", or any kernel for that matter.
http://forum.xda-developers.com/showthread.php?t=2160723
Sent from my Galaxy Nexus using xda app-developers app
My personal opinion about this kernel
I really like the thing to keep it update to mainline linux, only 2 kernel keep this ( leankernel & franco kernel )
I noticed some strange things
the first is disabling MPU Smartreflex and set lower voltage than SR , device is hot and drain more battery WHY? it's unsense ( test with #704 ) anyone can confirm?
The second one too much battery ( using SR ), in the past i love check my phone every seconds and close all apps to keep some juice inside battery, now with AK kernel battery life is something incredible and it's annoying : / , i arrive to 21:00 ( from 7:00 ) with 30-40% and 4-5 hours screen on and ever single thing turn on ( i'm using google now only for meteo lol ), with others kernel same thing, i arrive with much lower %, like 5-10%
This is my settings:
AK kernel 704
AOKP Self Compiled updated with 22feb git
Interactive ( 350 - 1060 Mhz ) - ( Screen off max : 535 Mhz ) - ( hispeed_freq : 810000 ) ( brightness: 50% ) ( 135 apps installed ) ( Full disk encryption [ said only cuz disk operation use more CPU = more Battery ] )
I feel you should include the Wep not working on 704+ pirates.
SOS sent from my gnexus captured by the pirates.

[KERNEL] [Bacon] [OOS 2.x.x / 1.0.0] Boeffla-Kernel (17-11-2016)

Hi all,
some of you know me from the Samsung devices area, where I provide my kernels already for more than two years to Galaxy S3 and Note 10.1 users for all sort of platforms (Samsung, Cyanogenmod, Omnirom etc.)
Last year I got an OnePlus One and decided to port my kernels also to this device.
Please note:
I am not heading to have as many features as possible implemented, this is not my design goal. If you are more into that, move on to other, good existing kernels. If you are searching for a good mix of improvements and new functions while not sacrificing stability, you are welcome here (see below the history section for more info).
Compatibility
Important: This kernel is only meant to be compatible with official OnePlus OOS and nothing else.
So when the kernel does not run on custom rom XYZ, do not even bother me with it or ask hundred times in the thread for compatibility.
I could not care less about it !!
Important notes
When using new anykernel concept Boeffla-Kernel: Flash stock kernel of rom first !
Make sure you flash the correct kernel version, depending on whether you really use Oxygen OS or a different OS !!!
Also note: You have to use Boeffla-Config app which I provide on my homepage to tweak the kernel. 3rd party apps will not be able to unleash the full power of the kernel.
Saying that, the Boeffla-Sound app in Play Store is not designed to work on the OPO, neither was it developed by me, hence it will never work on the OPO ever. Boeffla-Config is the way to go here !!!
Support
First read the FAQ section on the Homepage !!!
Click here to learn about all possible kernel settings in the config app.
Click here to learn about using the config app.
I will refuse to give support if you do any undervolting and experience freezes or hot reboots.
I will also not provide any support if you do not use Boeffla-Config app to tweak the kernel, other 3rd party tweaking apps are known (and intended) to cause issues.
Otherwise, you can get in touch with me via the support e-mail address: [email protected]
Please provide kernel version, rom version, a detailed issue description and ideally supporting screenshots or log files.
Change logs
(you can also access them directly in Boeffla-Config V2 by pressing menu and selecting "change log...")
Change log for Oxygen OS kernel - Click here
Features
Support of anykernel concept (only latest kernels) - flash stock kernel before flashing Boeffla
Full integration with Boeffla-Config V2 (you need at least version 2.1.77 or higher !!!) configuration app (get it from http://www.boeffla.de) to configure all kernel settings
Additional governors: zzmoove, intelliactive, intellidemand, wheatley, smartmax, slim, intellimm, pegasusq, nightmare, lionheart
Zzmoove supporting native hotplugging profiles
Additional schedulers: fiops, bfq, sio, tripndroid,zen
Many Hotplug tweak profiles (Default, Optimized, 1 core max, 2 cores max, 3 cores max, 2 cores min, 3 cores min, 4 cores min, 2 cores exact, 3 cores exact)
Notification LED control (fading, speed, brightness)
Boeffla-Sound engine (Headphones and speaker volume configurable)
zRam (1-4 logical devices)
True dynamic FSync (activated if screen on, deactived if screen off), configurable
Touch boost frequency configurable, touch boost switch
Swipe2Sleep - 3 gestures implemented
CPU Overclocking up to 2.88 GHz
CPU Voltages interface for undervolting/overvolting
GPU idle frequency 27 Mhz added
GPU governor selection support with fixed simple_ondemand
Show GPU frequency usage per frequency in Boeffla-Config
Color control to adjust RGB color space + inverted mode + gamma control
SD card read ahead buffer configurable (default increased to 1024 kB)
Ext4 File system tweaks (default to on, can be disabled)
System Tweaks predefined supported
Kernel logger (dmesg) configurable
Charge rates for AC charger and USB charging separately configurable (set charge rate to 0 to have stock charge logic back)
Charge information display support via Boeffla-Config V2 app
CIFS support (module, do not mount inside /data, if you rooted with Chainfire SuperSu, make sure you uncheck the namespace separation in SuperSu app)
NFS support (module)
exFat opensource support
NTFS support (module) - read-only
XBox support (module)
OTG-Ethernet support (module)
TCP Congestion changed to Westwood
Swap supported (but not recommended, use zRam instead)
init.d support (in /system/etc/init.d - set correct permissions!)
Default entropies increased
Automatic EFS backup
Full support for mpdecision for best compatibility and smoothness (no min cpu frequency reset, use Boeffla-Config to configure min frequencies only)
Integrated full busybox 1.23.1 (own compilation)
Auto-Root by kernel possible by request (latest su included)
Kernel initialisation log file (with history of 3 log files)
Emergency reset script automatically placed into /boeffla-kernel-data folder of your internal memory
Presets supported in Boeffla-Config by kernel (Extreme power, power, normal, battery friendly and battery saving)
Google gcc 4.8 toolchain used for best stability
Always using latest Oxygen OS Initramfs
Always based on latest Oxygen OS kernel sources (https://github.com/OnePlusOSS/android_kernel_oneplus_one)
Note: I do NOT upstream the kernel to higher Linux kernel versions anymore as this usually has zero benefit but likely introduces new issues + is a waste of effort in the end
Download
For all information and downloads (stable AND testing versions), visit the Boeffla-Kernel homepage:
www.boeffla.de
History and design targets
Basically I created my first Boeffla-Kernel in 2012 as there was no kernel for the Samsung Galaxy S3 around that had exactly the mix of functionalities that I wanted. I wanted to have full flexibility in undervolting and charge rates for instance, but did not like the sharpness and/or brightness tweaks many kernels have implemented as per default.
Hence, I began to create my own kernel after a while, adding all the features I like. This is the result of my work, which in the end I decided to share with you. I hope you like it as much as I do.
The objective of this kernel is to have a kernel for daily use. It does not aim for best battery life, or best smoothness or best benchmark scores. Also it does not aim to have the broadest feature set available everywhere.
It aims more for a good mix of all, not sacrificing stability and functionality in the end.
And - most important: It aims to stay quite close to stock !!!
These design targets are also valid for the OnePlus kernel here!!!
This said, I will definitely NEVER implement:
things I do personally not need
things I do not like
things that are in any way dangerous
anything which is highly experimental
f2fs - it is known to cause various issues and compatibility problems
a CAF based kernel
anykernel method to use the ramdisk of the installed rom
anything that requires upstreaming of kernel parts to a higher kernel major version
So do not even ask for it if it falls into the listed categories. Everything else I am happy to check and decide.
And: I do not really care about benchmark numbers, they say almost nothing as long as something is not completely wrong. Important for me is the feel-good factor.
I am also not interested in gaming at all, so never expect a gamer kernel. It will just not happen...
Compatibility
To reiterate it again: Flash the correct kernel depending on whether you are using Oxygen OS or another rom !!!
Configuration of the kernel
To tweak and configure the kernel, manually load and install the app "Boeffla-Config V2" from the downloads section on www.boeffla.de.
You need at least version 2.1.77 or higher for the OnePlus One Boeffla Kernels.
Donation
If you like my work, feel free to donate: Donation-Link
If you donate at least 2,49 EUR (to be in line with the donation app prices on Google Play store), you will receive a personal donation code which unlocks some nice little comfort functions in Boeffla-Config V2 on top.
Source code
All sources can be found in my Github repository: http://github.com/andip71
Credits to developers
Of course, I had never been able to create all that by my own. So I want to give credits to the really good developers around, that have given me all the inspiration and from which I cherry picked lots of the implemented functionalities:
* ZaneZam
* Yank555
* Hardcore
* Chainfire
* AndreiLux
* Netarchy
* Gokhanmoral
* Simone201
* Mialwe
* Entropy512
* Faux
* Harunjo
* FranciscoFranco
* Ak
... I just hope I did not forget someone. If so, please let me know and I will add you of course.
Thanks to all of you for your great work !!!
Disclaimer
*** As always - Flash on our own risk! ***
Make sure you flash the correct version depending on your firmware version!
I can and will not take any responsibility for bricked phones or lost data.
It is generally recommended to run a complete Nandroid backup in your custom recovery and safely store your personal data before you flash a new kernel.
Cheers and enjoy
Andi
Last change logs:
http://kernel.boeffla.de/bacon/boeffla-kernel-oos/oos2xx/changelog.htm
*** You want my support? Then stick to my rules ***
Guys, I am receiving more and more completely useless support requests in different threads. Useless because people provide nothing to be able to help, not even the minimal possible information they could give.
Hence, I will now remind anyone again on the support guide lines stated here:
http://boeffla.de/index.php/support/support
Also you need to ensure you follow the installation guide lines incl. trouble-shooting stated here:
http://boeffla.de/index.php/support/installation-how-to
And to cut a long story short: If you do not at least provide what I request in the support guide lines, I will IGNORE YOUR REQUESTS IN FUTURE.
Straight and simple. I have enough of people wasting my time just because they are too lazy to write details.
Period.
Also as a reminder:
you use xposed? -> no support, everything is your own issue
you use a custom rom and not the official stock or CM one? -> good luck, you are on your own
you undervolt or overclock? -> have fun, but without my support
Sorry, this might sound harsh (and it is meant to sound harsh), but you cannot imagine about how crappy support requests can be. Stating something does not work is just not enough.
Please consider that!!!
Andi
Been waiting for the first known custom kernel for Oxygen os and im glad that it's Boeffla!
Will test in a while, but im sure that it's great! Thanks for all your hard work!
Only for this kernel i will install Oxygen OS un my OPO jejeje
Sent from my One+ One
Th3DaRk_Vampire said:
Only for this kernel i will install Oxygen OS un my OPO jejeje
Sent from my One+ One
Click to expand...
Click to collapse
Hm. Well, to be honest, for me Oxygen OS is not yet complete enough for a real daily driver candidate. Too many things missing for my taste.
But well, yes - try it
Andi
Hell yeah!
Very cool, thank you :good:
I knew it was only a matter of time. Thanks for uploading!
Thanks..
And the boss is..........Andi :good:
thx
Fred
Flashed! Excited to see how this will turn out
Let's see. Don't forget it is a very first version... [emoji16]
Godlike
{
"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"
}
Very strange, after two test (benchmarks) with OC, CPU temp is 50. Itz very low comparing to CM heat with similar conditions
Let's run this and see how it goes.
Thanks for your hard work!
I am going to try this also. Are you rocking OxygenOS add your daily driver? Because I do and it's nice beside that its problem with the system update wakelock.
No, it is not my daily driver. Too many things still missing for me.
For the Google play services wake lock, there is a solution. Calkulin modded the service so it doesn't create the wake lock anymore.
Andi
Yeah I know the solution. But I prefer the other which is starting the SystemUpdate Service from Google play services. This also prevents the wakelock.
Lord Boeffla said:
No, it is not my daily driver. Too many things still missing for me.
For the Google play services wake lock, there is a solution. Calkulin modded the service so it doesn't create the wake lock anymore.
Andi
Click to expand...
Click to collapse
What is missing?
Ofthecats said:
What is missing?
Click to expand...
Click to collapse
Notification Led control, data protection settings, just two name some I am missing...
Andi
You made it! Awesome. I have no time so I'm glad to see someone else working on an Oxygen kernel. I personally prefer Oxygen over CM, although it's not quite finished. Again, great to see more kernel options.

KT-SGS6E [Kernel] Builds [Discussion] [G92X] [TW 5.0] ★KTWEAKER SHOP★

ALL THANKS AND CREDITS GO TO THE ONE AND ONLY KTOONSEZ FOR HIS AWESOME KERNEL AND GIVING ME THE OPPORTUNITY TO PROVIDE THESE BUILDS.​
Welcome!
I am in no way affiliated with Ktoonsez or his work. I’m just a simple member of the XDA community who happens to be a huge supporter of this kernel and its creator. This is just my way of giving back. I am aware of some of the issues that may occur on specific kernel builds for some users as well as the difficulties faced when fine tuning the kernel and this is my response to that:
This is by no means intended to replace any of the original KT-SGS6E kernel threads. The purpose of this thread is simply to work in conjunction with them by providing a variety of builds for which users can experiment with and find which versions perform as intended on each of their respective device models. As on previous Samsung devices I am also bringing back the Ktweaker Shop filled with tons of pre-configured settings compiled by myself and others in attempt to further assist S6 & S6 EDGE users with improving their overall experiences on this device or to simply use as a baseline to work upon tweaking further. So I’ve gathered just about all of the current and previous kernel builds I had hidden within my pc as well as all the various Ktweaker settings and am sharing them with the public. I hope this makes a difference for all you guys. ENJOY!! :good:
POST #2: Reserved for UNIFIED {G92X} users
POST #3: Reserved for the KTWEAKER SHOP
POST #4: Reserved for TEST PROFILES
If at any given time you aren't already on the kernel and Ktoonsez hasn't updated his links, there'll be no need to flash previous builds when you want to receive OTA's as ALL posts will be updated regularly upon future releases. So please be sure to refer back here for all builds from this point moving forward!
I will NOT be held liable for anything that may occur to your device nor will Ktoonsez. So please...
***FLASH AT YOUR OWN RISK***​
If you encounter any suspicious issues when updating the kernel, follow my recommended procedure for the best possible results:
1) Backup current Ktweaker settings
2) Open any root browser (make sure it's mounted as r/w) then navigate to /system/app/ and delete the Ktweaker and KTmoniter apk's
3) Navigate to your sdcard and delete the Ktweaker folder OR rename it by adding a ".bak" extension without the quotes.
4) {Optional} Clear all Superuser logs
5) Reboot Recovery
6) Flash kernel
7) Reboot
8) Copy any saved profiles back into /sdcard/Ktweaker/Profiles/
9) Restore Ktweaker settings
10) Profit?
NOTE: If at any point Ktoonsez no longer wants this thread open it will be closed without question.
Please visit original kernel thread for change logs, extras, etc...
If you like and support his work, donate with this link:
http://forum.xda-developers.com/donatetome.php?u=4325945
**********G92X**********​
KT-SGS6 kernel features
•Must have a S6 model G920F and G920I and G920S and G920T and G920W8 and G925F and G925I and G925S and G925T and G925W8
•Samsung open source
•Optimized kernel configuration
•unsecure root adb
•Voltage interface
•Over Clocking
•Under Clocking
•KTweaker app for kernel control
•KTweaker Widgets
•KTmonitor app to watch your cpu cores current speed
Click to expand...
Click to collapse
Downloads
Touchwiz Lollipop 5.0 VERSIONS:
https://copy.com/Yo6i7SqAQS8zsAmg
Main kernel thread: http://forum.xda-developers.com/tmo...lopment/kernel-kt-sgs6e-ocv-ktweaker-t3099758
{
"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"
}
Welcome to the Ktweaker Shop!
Here you will find all of the pre-configured settings provided by myself and Ktoonsez. As a proud member of Team Kernelizers, I am offering a variety of profiles specifically for S6 and S6 EDGE users with their personal needs in mind as it's pretty clear not everyone favors the same governor, scheduler, etc.. Any suggestions are always welcome. All future profiles will be added here for sharing and discussion. Keep in mind that results will always vary per device regardless on the settings being used.
All profiles have been grouped into 3 sub-categories; "Conservative", "Balanced", and "Performance", which are used to classify each profile based on their role and what they are expected to deliver to your device. The 4th sub-group is where you can find some of our best "Projects" in which offers 2 or more profiles per project. Make your selections based on your usage needs and apply what works best for you and your phone. We're here to help eachother out and with more options comes better experiences for everyone running this kernel.
So shop around.. pick and choose.. load and go!!
Installation
Download links will include the specified profile(s) as well as an "Adjustments" and "About" file. The "Adjustments" file is just a simplified view of all the changes made to a profile compared to stock settings.
1. Download the file(s) to your phone.
2. Copy ONLY the XML(s) (DO NOT copy the "Adjustments" or "About" file) to "/sdcard/KTweaker/Profiles" using a file Manager of your choice.
3. Open the Ktweaker app and click on the "Profiles" setting at the top of the slider drawer OR scroll to the bottom and select "Profiles & Scripts" then click "Restore Profile from sdcard".
4. The file you just copied should be listed there. Select the one you want to apply and confirm.
5. Make sure the "Set options on boot" setting at the top of the slider drawer shows a little green boot icon below it, indicating the settings will be applied upon reboot.
6. Profit!
IMPORTANT: Be sure to ALWAYS load your stock voltage table on BOTH CPU clusters IMMEDIATELY after applying a profile as most of these are based on an ASV10 CPU and may result in reboots!!!
1) Apply the profile
2) Quickly go to the CPU voltage for cluster 0 and click "more" and load default voltages, then click apply.
3) NOW go to the CPU voltage for cluster 1 and click "more" and load default voltages, then click apply.
4) Done!
​
Conservative​
Asking Alexandria
This is a battery driven profile in which focuses on saving as much juice as possible while also maintaining stability and providing an extremely snappy feel to your phone. It is quite possibly one of the smoothest and snappiest battery saving profiles available.
Why Asking Alexandria?
It's named after yet another one of my top favorite metalcore bands and I chose this because Alexander The Great basically ruled the world at one point and "Alexandria" is the female equivalent to that name, which has become known to mean the "one who comes to save warriors".
"Asking" was an addition to the title name as an indication in the sense that we are all asking Alexandria what she can really do to our phone.
Coming soon....
Bless The Child
Based on Ktoonservateq and aimed towards battery. This is specifically for all the battery hungry users out there wanting to conserve as much power as possible. So don't expect the BEST but rather decent performance out of this one.
coming soon...
Dead By April
This profile attempts to bring some of the best battery life possible to your device. It is similar to Bless The Child but takes things a step further with it's heavy underclocking as well as it's higher thresholds and online blocks to prevent other cores from coming online too soon. Although It focuses very little on performance it manages to maintain a fairly smooth interface for your average daily use.
https://copy.com/oFLHg4ZG2MyvRzrq
Balanced​
Balanced Bull v1
These settings are very special to me as they were my very first, dating back to the Galaxy S3, and is a profile designed for my own personal usage pattern. It has become notable for it's fairly smooth interface and amazing battery life. If this stacks up to your standards then I encourage you to use it!
https://copy.com/SKdHYHskn1NgLitp
ECLIPSE
This is a performance oriented option where great battery life is also expected to intervene. This not only will bring an incredibly stable, smooth, and snappy feel to your device but will also benefit towards longer lasting battery so you can love and enjoy your phone the way you were meant to.
coming soon
Ktoonsified v1
These settings are my settings, This is a performance oriented option in which also offers a great deal of battery life. YOU WILL NEED TO LOAD YOUR STOCK VOLTAGE TABLE THOUGH since there are 16 different bins of CPUs!!!
Click to expand...
Click to collapse
https://copy.com/COP9WtEfLzTudZ2F
Ktoonsified {MOD}
This mod is intended to work as an alternative to the original Ktoonsified profile. It's specifically for the users experiencing issues such as screen wake and incoming call delays and media stutters on Ktoonsified v1 . Use this profile to repair most if not all of these issues.
NOTE: The adjustments text file will show you the few changes I've made from the original Ktoonsified profile.
https://copy.com/2bcvnievx8suWohD
SmoothManic v1
This profile was put together by none other than the BOSS himself, @ktoonsez!
The idea with this is to get the CPU really high on 2 cores when screen is touched and then bring them both back down really quick so UI is super smooth but don't kill the battery by hanging out at that high Mhz step.
Click to expand...
Click to collapse
https://copy.com/mgoNzpgrYn7TkLZO
Undisputed
This is a universal performance setup in which combines the essential elements of other profiles by providing equal battery life, speed, performance, and stability to bring the ultimate experience to your device.
coming soon
Performance​
Feed The Machine
The exact opposite of Bless the Child. This is a performance oriented option for all hardcore users. If battery isn't a priority for you then this is a great option.
coming soon
From Ashes To New
This is a straight performance profile. It's similar to Feed The Machine and Rebirthing in the sense that it syncs the cores to the boosted frequency on touch and almost instantaneously jumps right back down to 300MHz. The difference between the profiles is that this one makes better use of all the cores. However, due to the rapid scale down I think most people will find battery life to be surprisingly good for this type of profile
coming soon
KTGaming v1
This profile was put together by none other than the BOSS himself, @ktoonsez! This is a super performance oriented option which allows me to play any game with ZERO LAG!!!!!!!
Click to expand...
Click to collapse
https://copy.com/VwSaksMPwJGCfCux
SmoothGaming v1
This profile is based on SmoothManiac v1 but with performance enhancenents to provide a much smoother gaming experience while hotplugging is active. Some of these enhancements include a much higher sampling interval as well as offline blocks to allow frequencies to scale and hotplug at a more reasonable pace.
NOTE: The adjustments file will show you the changes I've made to SmoothManiac v1.
https://copy.com/zI4c1TovjavAQBtI
Projects​
Comatose
This project was inspired by the album of the same name by my #1 favorite rock band of all time, Skillet. It consists of 3 profiles of which are also named after 3 of my favorite tracks from this album (included in the "Extras" folder) and all focus on one key element; VARIETY.
As the name suggests, "Comatose" is geared towards battery conservation. It focuses on keeping CPU low for a prolonged period but utilizes 3 of the 4 cores on touch and the 4th on demand for fluidity. Sample rates have been decreased heavily as to increase polling and allow the other cores to quickly spike towards higher frequencies for a given task then immediately drop back down as if the component had been knocked unconscious.
The second profile is "Rebirthing". This profile will counteract the affects of Comatose by heavily boosting performance as a means to bring life and energy back into this profile that remains unconscious. Rebirthing is intended for those seeking a performance-based version of Comatose but who knows... For such a power hungry profile you may just be surprised by the great battery life it also delivers.
Some of you may not favor the heavy battery conservation that "Comatose" offers or the overall power consumption of "Rebirthing" and much prefer a mashup of elements delivered between the 2 and that is the purpose of "Whispers In the Dark". This profile is directed towards finding the right balance between these 2 profiles while still acting as a it's own profile. It utilizes most of the performance aspects from "Rebirthing" Like "Comatose" it uses a fairly high up_threshold for that extra boost in battery performance. The profile also idles at the same minimum cpu as "Comatose" but ALL profiles run at stock 2457Mhz.
All profiles maintain the same concept of rapid cpu polling. So yes, cpu will be working consistently but my theory here is that more polling will allow the kernel to rapidly check CPU usage, thus allowing CPU to change more frequently according to the load, which in turn will prevent persistent pegging of even higher frequencies and instead consume various amounts of power in various scenarios depending on your usage, consuming even less when a specific task has completed and immediately dropping the load.
This also applies to screen off states but that goes back to what was explained in this post regarding high vs low sampling rates and how they can greatly increase idle times depending on your screen off max.
coming soon
If you'd like to contribute to the Ktweaker Shop all you need to do is post the profile you'd like to share and include a brief description of it's purpose. It will then be tested thoroughly by the community and based on feedback will be submitted here in the Shop for approval and sent out to the dev so he can add the profile to the Shop in Ktweaker!
Useful Links​
Information about profiles can be found HERE
Interested in learning how to fine tune this kernel but not sure of where to start?
Please refer to this Ktweaker User Guide (thanks to @Perseus71) and you'll be tweaking in no time!
Ktoonservativeq governor adjustments explained HERE
Reserved
Reserved..
just in case
Are the Same
LuigiBull23 said:
**********T-MOBILE**********​
Downloads
Touchwiz Lollipop 5.0 VERSIONS:
https://copy.com/NGddRACV6Nm1xulA
Main kernel thread: http://forum.xda-developers.com/tmo...lopment/kernel-kt-sgs6e-ocv-ktweaker-t3099758
Click to expand...
Click to collapse
Hello the G925W8 and G925T its the same phone? use the same Kernel, Can I flash my G925T with sotck G925W8 frimware with Odin? maybe this frimware ask about the unlock code..
fabioplata said:
Hello the G925W8 and G925T its the same phone? use the same Kernel, Can I flash my G925T with sotck G925W8 frimware with Odin? maybe this frimware ask about the unlock code..
Click to expand...
Click to collapse
Yes they are the same, therefore use the same kernel. Not sure about the firmware but you're willing to try. However, as I'm sure you know I take no responsibility of the end result.
fabioplata said:
Hello the G925W8 and G925T its the same phone? use the same Kernel, Can I flash my G925T with sotck G925W8 frimware with Odin? maybe this frimware ask about the unlock code..
Click to expand...
Click to collapse
+1. Let us know if it works especially the sim unlock. Thanks
what worst?
LuigiBull23 said:
Yes they are the same, therefore use the same kernel. Not sure about the firmware but you're willing to try. However, as I'm sure you know I take no responsibility of the end result.
Click to expand...
Click to collapse
What its the worst?? Maybe error in the Odin and need flash with the stock firmware or maybe I can damage the phone?
fabioplata said:
What its the worst?? Maybe error in the Odin and need flash with the stock firmware or maybe I can damage the phone?
Click to expand...
Click to collapse
The worst I'd say is probably a soft brick since the devices are nearly identical but I still can't guarantee a positive result for you. It's a decision you're gonna have to make among yourself.
dont work
LuigiBull23 said:
The worst I'd say is probably a soft brick since the devices are nearly identical but I still can't guarantee a positive result for you. It's a decision you're gonna have to make among yourself.
Click to expand...
Click to collapse
Dont work, in Odin don't work, fail in Odin and now I have my phone in downloaded mode, stuck in this mode, I hope when de battery dies the phone start normally.
fabioplata said:
Dont work, in Odin don't work, fail in Odin and now I have my phone in downloaded mode, stuck in this mode, I hope when de battery dies the phone start normally.
Click to expand...
Click to collapse
Attempt to boot into recovery and wipe your data.
fabioplata said:
Dont work, in Odin don't work, fail in Odin and now I have my phone in downloaded mode, stuck in this mode, I hope when de battery dies the phone start normally.
Click to expand...
Click to collapse
just press power+volume down and it will restart
thanks
batillojr said:
just press power+volume down and it will restart
Click to expand...
Click to collapse
Ok, thanks.. Works for me..
The phone start normally but with Sim lock :crying:
fabioplata said:
Ok, thanks.. Works for me..
The phone start normally but with Sim lock :crying:
Click to expand...
Click to collapse
i know, i received the unlock code but won't work , i tried different roms but always says unlock unsuccessful , s***t ! I'm giving up , i'm just going to sell it on craigslist
I can't
batillojr said:
i know, i received the unlock code but won't work , i tried different roms but always says unlock unsuccessful , s***t ! I'm giving up , i'm just going to sell it on craigslist
Click to expand...
Click to collapse
Oh no.. I can't do that.. I'm in Colombia, I can't sell the phone buecouse don't work with local company's.. ..
I hope a solution.
fabioplata said:
Oh no.. I can't do that.. I'm in Colombia, I can't sell the phone buecouse don't work with local company's.. ..
I hope a solution.
Click to expand...
Click to collapse
Ya se, estamos en una situacion muy dificil , ojala que exista una solucion pronto.. por mientras seguire usando mi nexus6
Very awesome
Good thread dude, loaded some of these on to my phone

[rom][6.0.1] aokp mm [jfltetmo][unofficial]

{
"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"
}
To God be the glory, my AOKP project finally works!
This is not a dirty unicorn. This is the original unicorn, the AOKP. Now made out of a marshmallow! That's right, all of the AOKP stuff you love, plus CyanogenMod's theme engine, plus Paranoid Android's Pie, and more! All wrapped up into one! With tons of settings from status bar tweaks to home button remaps, it's all here and ready to rumble!
**** This is an UNOFFICIAL ROM. Install at your own risk! ****
Downloads:
Rom Download link:
http://www.mediafire.com/download/y669np9yxsahxdn/aokp-jf-mm-20160913.zip
Gapps link:
http://opengapps.org/
-Which I personally tested Pico and Nano. Be sure to choose "Arm" and "6.0".
Old Rom Download:
http://www.mediafire.com/download/2g225ob9ga5a34b/aokp-jf-mm-20160830.zip
This Rom has been very stable for me. Be sure to follow these installation steps very carefully, as they may be different then what you are used to.
Installation instructions:
-Download ROM and gapps, and put them on your phone or external storage.
-Reboot into recovery mode - TWRP (I personally installed this using 3.0.2-0).
-Backup what you had. (Just to be safe.)
-Wipe. (I personally wipe everything prior to flashing new roms, but at least do the basic wipe.)
-Install Rom.
-Wipe Cache and Davlik.
-Install Gapps. - Optional
-Reboot to system and enjoy!
Code:
What works:
So far everything that I have tried works, such as
- Camera for pictures and video!
- Phone calls/receiving
- Data 2g/3g/LTE
- Bluetooth
- WiFi -First boot WiFi does not work, but reboot and it will work just fine after that.
- MTP
- GPS
etc....
What doesn't:
- None that I know of, but if you find one, please let me know so we can try to fix it!
- Post #2 will be updated with notes.
This AOKP MM ROM was built for the JFLTETMO, the T-Mobile Samsung Galaxy S 4. I have not tried this on any other device, but you are welcome to try it AT YOUR OWN RISK. See post #3 for successful tests on other devices.
A huge thanks to the Android Open Kang Project team!
Disclaimer: AOKP is not responsible for any damages to your device.
All of my work is completely available for any who wish to use or modify it. I didn't make AOKP, the device trees, or vendor blobs. I simply used and edited existing material. A huge thanks should go to those who actually created this stuff.
AOKP XDA Forum: http://forum.xda-developers.com/aokp
Source Code: https://github.com/AOKP
Official website: http://aokp.co/
ROM OS Version: 6.0.1 Marshmallow
ROM Kernel: Linux 3.4.112
Based On: Overall AOSP and some CyanogenMod.
My device tree: https://github.com/alaskalinuxuser/
Features the AKLU kernel:
http://forum.xda-developers.com/gal.../kernel-marshmallow-lollipop-kernels-t3411543
Created 2016-06-03
Last Updated 2016-12-20
Change log:
Code:
20160913
-Now built with openjdk-8-jdk - Java 8!
-Sync with AOKP source.
-Security patch updates to September 6th, 2016.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160830
-Now built with openjdk-8-jdk - Java 8!
-Sync with AOKP source.
-Old school boot animation from the AOKP team.
-Updated AudioFX app.
-Security patch updates to August 5th, 2016.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160801
-Sync with AOKP source
-Security patch updates to July 5th, 2016. - Important Qualcomm security updates for our phone.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160720
-Added GPU Overclock - use with Kernel Adiutor
-Edited updater script so that it may be flashed on any JFLTE phone.
20160718
-Set SELinux to permissive.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160716
-Fixed video recording, now works properly! (Praise God!)
-Dropped Android browser and added CM13's Gello browser.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160710
-Synced with AOKP source
-PA Pie added!
-Lots of great updates and fixes!
-Removed NFCPU in favor of Kernel Adiutor app
-Edited updater script so that it may be flashed on any JFLTE phone.
20160707
-Added Kernel Adiutor app
-Added Fast Charge commits to the kernel.
-Edited updater script so that it may be flashed on any JFLTE phone.
20160623:
-Added Lionheart and Smartmax kernel governors
-First boot WiFi does not work, but reboot and it will work just fine after that.
20160619:
-Synced with AOKP source
-Edited default background
-Added "No Frills CPU" app to build
-Fixed mGerrit app
20160603:
-First build release.
Here are some screenshots:
Let me know what you guys think!
Noteworthy features:
Code:
-CyanogenMod Theme Engine (CMTE)
-Kernel Aduitor App
-Rom Control
+ Wakelock blocker
+ Slim Recents
+ PA Pie
+ Lockscreen DT2S
+ Status Bar AOKP logo
+ Breathing missed calls
+ Status Bar icon control
+ Status Bar network traffic
+ Smart Pulldown
+ Hardware key settings
+ Power menu screenshots and screen record
+ Volume step adjustments
+ Gesture Anywhere
+ Toast Animations changer
+ App Circle Bar
And more!
I highly recommend setting your LCD density to 320 to get the most from this screen.
Bluetooth work around:
Okay, so I finally got a cheap Bluetooth speaker so I could better understand the Bluetooth problems, and I too received the call of death.
However, I realized what darazor has been trying to tell everyone all along, and now I want to expound on that to help others.
When using Bluetooth, if you pair with an audio device (speakers, car, headset, etc.) And you have not adjusted any settings, the default for each audio device is phone and media. This will cause the COD if you get a phone call while playing music or other media.
So, if you want to use Bluetooth devices to play music:
Go to settings, Bluetooth, and click on the gear (settings) icon next to your paired speakers, and choose media, and unchecked phone. (See picture.) Now, when playing music, my phone vibrates and the screen comes on to tell me I have a call. Then, I can answer it, and the music stops. All is well.
If you want to use your hands free headset, choose phone and unchecked media. (See picture for reference.) And it should work for calls.
I now understand what everyone was talking about, and will do my best to look into it. Thanks @darazor for pointing this out, hopefully this lengthy explanation makes it clearer.
Governors:
Code:
If you want to save battery life, I recommend that you use the Kernel Aduitor app, and set your Governor to SmartMax, and your I/O scheduler to Noop. This may affect performance slightly, but will save on some battery power.
If you want to increase performance, I recommend that you use the Kernel Aduitor app, and set your Governor to Lionheart, and your I/O scheduler to CFQ. This will boost performance slightly, but will have a negative impact on battery power.
The governor is currently set to Interactive, which is a good balance.
Fast Charge:
To use Fast Charge, you must enable it in the Kernel Adiutor app. If you want to set custom settings, you will need to get another app from the Play Store, such as Device Manager or other apps that allow you to control the fast charge settings. Note that some fast charge settings apps do not change the appropriate values to function. The lockscreen may still say "slow charge" as the rom itself does not natively support fast charge, even though the kernel does.
Thanks @khaoticking for sharing that this rom works on jflteaio!
Thanks @alesu69 for sharing that this rom works on jfltexx (i9505)!
Thanks @darazor for testing and finding that Xposed modules work on this rom!
Standard bluetooth issues?
.
Thanks for the hard work!!
Sent from my SGH-M919V using XDA-Developers mobile app
always cool to have more ROMs for our phones! Many thanks, and yes also wondering about BT stability.
kazzxtrismus said:
Standard bluetooth issues?
.
Thanks for the hard work!!
Sent from my SGH-M919V using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks.
As for the Bluetooth, I do not have any devices to test with, so I test it by sending and receiving a file to and from someone else's phone, which works great. However, I would think the standard Marshmallow Bluetooth issues would apply here as well.
I took the base of the device tree from the SlimLP build, in which the Bluetooth was great, but I had to use vendor blobs from Marshmallow ROMs to make it work, so it will probably have the same Bluetooth issues as the other CM Marshmallow ROMs.
Sent from my SGH-M919 using XDA-Developers mobile app
EDIT: The Bluetooth does work, but you need to adjust a setting. For working Bluetooth see post #3 "Bluetooth Workaround".
For what it is worth, here was the benchmark result:
Not bad, but not as good as the benchmark from the SlimLP ROM.
Sent from my SGH-M919 using XDA-Developers mobile app
AlaskaLinuxUser said:
For what it is worth, here was the benchmark result:
Not bad, but not as good as the benchmark from the SlimLP ROM.
Sent from my SGH-M919 using XDA-Developers mobile app
Click to expand...
Click to collapse
I found your marks to be pretty accurate even with AdAway, Task Killer, lookout and nova launcher running I got just under 39900.
darazor said:
I found your marks to be pretty accurate even with AdAway, Task Killer, lookout and nova launcher running I got just under 39900.
Click to expand...
Click to collapse
Thanks, I am glad that the ROM is measuring up!
Sent from my SGH-M919 using XDA-Developers mobile app
AlaskaLinuxUser said:
Thanks, I am glad that the ROM is measuring up!
Sent from my SGH-M919 using XDA-Developers mobile app
Click to expand...
Click to collapse
I can report that Bluetooth seems to work fine. Connected to my Garmin Nuvi and was able to make calls from same. While not a definitive test it is very promising.
Great Rom
So far in a week of using this rom, it works pretty damn good. very stable only a couple of issues...
Contacts list disappears randomly.
Takes about 2 -3 minutes to reboot.
Waze app force closes.
The bluetooth works without problems.
Overall, I'm pretty happy with the results.
cirrus97 said:
So far in a week of using this rom, it works pretty damn good. very stable only a couple of issues...
Contacts list disappears randomly.
Takes about 2 -3 minutes to reboot.
Waze app force closes.
The bluetooth works without problems.
Overall, I'm pretty happy with the results.
Click to expand...
Click to collapse
Cirrus97,
Thanks for the feedback. Yes, the reboots seem a bit slow to me as well. As for the contacts issue, I haven't seen it here, but for reference, which gapps did you use?
Also, does Waze app fc on startup, or randomly during use, or is there a specific action that causes it?
If you have the time, pulling a logcat for when these errors happen would be great! If not, that is okay, too.
Sent from my SGH-M919 using XDA-Developers mobile app
AlaskaLinuxUser said:
Cirrus97,
Thanks for the feedback. Yes, the reboots seem a bit slow to me as well. As for the contacts issue, I haven't seen it here, but for reference, which gapps did you use?
Also, does Waze app fc on startup, or randomly during use, or is there a specific action that causes it?
If you have the time, pulling a logcat for when these errors happen would be great! If not, that is okay, too.
Sent from my SGH-M919 using XDA-Developers mobile app
Click to expand...
Click to collapse
I have not encountered this either. Using open gapps nano date 20160604. Contacts version 6.0.1
Bluetooth issues slightly
(works great but may experience a Sim disconnected, Bluetooth share stops responding and some other issues that dont effect to much)
Bluetooth audio / call works tested both on speaker and car
Have not used default music app
Notice that audio effects makes the audio alot lower (bluetooth)
Battery life is great compared to last rom I was running just ate all my battery in a hour with screen off
Superuser enabled/disabled for quick settings (for those who use snapchat an ect)
------------
Just some ideas about status bar/notification center
Anyone want a challenge? Notification drawer quick settings (make it like Samsung quick settings which is a single row with scroll)
Wish they made different notification drawers would be a lot nicer then current. Or at least a way to replace parts. Or even a horizontal status bar/notifications.
Hi
I'm new to relatively new xda. I have tried this custom rom on my s4 m919 and it works great. The only problem i have is that my battery dies really fast, Any suggestions or kernels that i can try?
Thanks
djrddragon said:
Hi
I'm new to relatively new xda. I have tried this custom rom on my s4 m919 and it works great. The only problem i have is that my battery dies really fast, Any suggestions or kernels that i can try?
Thanks
Click to expand...
Click to collapse
I'm actually getting better battery life than on my lollipop rom. Some thoughts:. Gapps nano so that you only use what you need. I use advanced Task Killer Free (by ReChild) . Also use Disable Service, AdAway, and Net Guard No Root Fire wall. You can read more about each one and see if they help. There are olther settings in the rom that will help reduce battery drain as well. If You don't use an app uninstall it. Good Luck.
Better battery life options: kernel tweaks.
When I put this together, I figured most AOKP users would be more on the power user scale, so I set the kernel for Performance and IO scheduler for BFQ. Pretty standard for average to heavier loads. However, if you want better battery life, you can download this free app on the play store. No-frills CPU Control found here (there are other apps, but I can vouch for this one working):
https://play.google.com/store/apps/details?id=it.sineo.android.noFrillsCPU
With this, you can set your kernel governor and io scheduler to anything you want. From a battery only perspective, you can set it for:
Powersave
Noop
But that is a bit extreme. You will notice "stuttering" when doing any task. A good alternative is to set your system for:
Conservative
Noop
Which can give moderate gains while not sacrificing too much performance.
Conversely, if you want more speed, use this:
Performance
CFQ
Which will just eat through your battery, but will really give your phone some "pep in it's step".
Many will argue facts and fiction, but the general community accepted power saving to performance chart looks like this:
I/O scheduler: Noop > BFQ > CFQ
(Row is Read over write, so it is really smooth for video playback, but very slow on writing to disk, which makes it hard to judge power saving vs performance.)
Governor: Powersave > Conservative > Interactive > Ondemand > Performance
(Userspace governor lets the app tell the kernel what speed it requires, this is unusual for a phone, usually used on servers. Most apps do not know how to use this function. I like to include it though, as a power user may have a use for it.)
Hope that helps.
L-Speed from the Store is also a good tool for some simple tweaking
Fixed
OK fixed the contacts & waze issue, cleared the cache & family, imported the contacts & reinstalled wake. Works great now! the battery life seems to be excellent and really good memory management. Like I mentioned the only issue is the long boot time. Keep up the great work.
AlaskaLinuxUser said:
Cirrus97,
Thanks for the feedback. Yes, the reboots seem a bit slow to me as well. As for the contacts issue, I haven't seen it here, but for reference, which gapps did you use?
Also, does Waze app fc on startup, or randomly during use, or is there a specific action that causes it?
If you have the time, pulling a logcat for when these errors happen would be great! If not, that is okay, too.
Click to expand...
Click to collapse
does this rom support my device , See below details
sprint galaxy s4 L720T
baseband : OH1
Please help guys !!!!

[Oct 31] [Machinex][MarkOneHundred][KERNEL][TW][5.0.1][I9505]

Machinex
MarkOneHundred
Sheer will .
This is machinex.
This is machinex. I have been working on this kernel for over a year now, and am finally comfortable with its release to the public. This kernel builds on the great work of those who have made this device the powerhouse that it is. There are elements here that you have experienced on every GS4 kernel to date, as well as other devices.
The goal I had for this project was upstreaming/updating/experimentally upgrading as much as I possibly could. I have done so, and will continue to do so.
This kernel is ONLY for TW-based, 5.0.1 roms for the I9505!!! NO I WILL NOT DEVELOP FOR DEVICES I DO NOT OWN, SAVE YOUR BREATH!
OBLIGATORY DISCLAIMER:
THIS KERNEL COULD VERY WELL DESTROY YOUR PHONE, YOUR LIFE, YOUR MARRIAGE, Etc. YOU INSTALL AT YOUR OWN RISK!! XDA AND I ACCEPT NO LIABILITY FOR YOUR DECISION TO USE THIS KERNEL!!For noobs: assume that installing this kernel will cause your phone to grow arms and punch you in the face.
PLEASE READ AND UNDERSTAND THIS OP BEFORE LEAVING USELESS "IT DOESN'T WORK" COMMENTS!
Issues that aren't answered here will be dealt with on a case-by-case basis.
SEE POST #2 FOR UPDATES, CHANGELOGS, and FIXES
SEE POST #3 FOR BATTERY/PERFORMANCE INFO
SEE POST #4 FOR A SHORT SYNAPSE BRIEFING
LOGS OR IT DIDN'T HAPPEN! Context helps too. What were your Synapse Settings?
KNOWN ISSUES Wifi issue is fixed! After a fresh rom install, all you need to do is reboot and the appropriate files are created in /data enjoy! HOTSPOT IS FIXED!!!! Finally! I AM AWARE OF AND WORKING ON LOCKSCREEN PIN BUGS!!
FEATURES:
- Linux 3.4.113 + a LOT of upstreamed subsystem code.
- Automatic Busybox Installation, Version 1.25.1.
- Cpufreq core backported ENTIRELY from mainline 4.13. All Cores operate independantly. Their governors and tunables can all be different.
- Govorners: Due to a highly upstreamed cpufreq core api, not many custom governors for now except for Interactive, Intelliactive, and the *NEW* Schedutil governor, described in the documentation like so:
The "schedutil" governor aims at better integration with the Linux
kernel scheduler. Load estimation is achieved through the scheduler's
Per-Entity Load Tracking (PELT) mechanism, which also provides
information about the recent load [1]. This governor currently does
load based DVFS only for tasks managed by CFS. RT and DL scheduler tasks
are always run at the highest frequency. Unlike all the other
governors, the code is located under the kernel/sched/ directory.
Sysfs files:
* rate_limit_us:
This contains a value in microseconds. The governor waits for
rate_limit_us time before reevaluating the load again, after it has
evaluated the load once.
For a great, comprehensive blog regarding the specifics of each governor, as well as the settings found below, please check out the link I've referenced in post #3.
- HARDLIMIT and THERMAL: Incorporated Yank555's CPU Limiting solution, Hardlimit. ALL hardlimits, cpu boost limits, and thermal limits are now PER CORE. I have included it directly in the core cpufreq code, and it is the primary controller for THERMAL, INPUT BOOST and user controlled hardlimits. Thermal overrides both user-selected and input-boost limits, and you can monitor the limiting in real time. Also, the thermal driver now accounts for each core's temperature, and saves time/lock-contention by skipping core control if the temps are below the frequency limiting value.
-CPU HARDPLUG: A driver I built that hooks into the main cpu hotplug API and allows you to disable any core you want, configurable for screen on/off.
- Hotplugs: MX Hotplug, personally built from scratch and uses a real-time kthread for its calculation work. Intelliplug 15.8 (Personally Updated), Alucard Hotplug, MSM_sleeper, Lazyplug, Blu Plug, and Bricked hotplug.
Hotplug Notes: I changed the names of certain functions in the Alucard and MSM Sleeper hotplugs, so that their tunables could be streamlined in Synapse. Synapse is cleaner and simpler than ever, but if you use a third party app, Alucard and MSM Sleeper's max cores and max cores during suspend settings will not be tunable. So anyone who uses a third party app with this kernel let me know and I'll devise a workaround. Mpdecision removed entirely. The "mpdecision" in our sysfs is actually bricked hotplug.
-GPU:Machinactive, Interactive, Conservative, Ondemand, Performance and Powersave GPU Governors, GPU touchboost (fixed suspend issue), ability to lock the min/max freqs, and more!
-Updated version of fauxsound (5.4) (flar2, alesaiko, me). I limited the options in the code to the 4 controls that actually work for our device, and you'll notice a significant stability improvement. Slimbus:Golden-ratio-based operation is pristine. Sound quality is hardware-perfected. The version number is largely arbitrary and I increment when I make any significant improvements. NO MORE USERSPACE CALCULATIONS NEEDED!!!
-A gamot of colour, brightness, and panel options that I frankly didn't think would be feasible for our device, but it's working! MDNIE HIJACK selection, KCAL, and Cyanogen's generic PCC colour control are implemented in Synapse. Note that MDNIE/KCAL stuff is a battery thief, and I've not tested PCC colour control enough for power consumption to give you a definitive statement on it. Note: PCC values are from 1000 (safety limit) to 32768 (or a number close to that), meaning your tuning control is as FINELY GRAINED as possible for this device. I can't believe Synapse actually supports its ridiculous number of steps (and well, I might add). Faux's generic "colour control presets' are in there and they actually work! The stock colours much more vivid, and lower brightness settings benefit from them as I have modified top brightness to my liking.
-HBM:Qualcomm High Brightness Mode: unlocked! This can be controlled via a checkbox in Synapse, but you can also use flar2's HBM widget from the play store. I tried it before and HBM would flicker, but i pulled off a VERY hacky way of making it userspace controllable. Be careful! Though it doesn't seem to drain the battery or overheat the device, it's purely experimental and could cause Chuck Norris to come to your house and personally smash your phone. Now SEPARATE from autobrightness! "SCREEN FLICKER FIX" on PAGE 2
- Completely upstreamed and overhauled cpu, power, scheduling...you name it. Updated Powersuspend to the point where I had to rename it, because it is now closely integrated with the core suspend/power api. Introducing: Prometheus. The driver now calls suspend directly when you turn the screen off, unless a) music is playing, b) the phone is plugged in or c) you choose to disable the feature.
-All the TCPIP tweaks etc, updates to random/frandom, android-specific autogrouping, limited but significant LMK/OOM updates.
-BACKPORTED "codel" fair-queueing net-scheduler, for a faster/more consistent networking experience.
-persistent ram, kexec-support, fast-charge, etc. Drop Caches button in Synapse is useful.
-Utilizing Qualcomm's built-in QRNGD (qualcomm random number generator daemon) with randomness optimized in the kernel = entropy for days.
-BOOTLOADER: Officially only 5.0.1 Bootloaders are supported. Unofficially, someone tried it with a KK bootloader and it worked fine for him so what do I know?
-COMPLETE Synapse support. Download, update, AND install Busybox On Rails from the PlayStore before you install the kernel for best compatibility and support. UPDATE: FULL Busybox installation is now included in machinex installer script. If you have any issues, still feel free to install Busybox on Rails. Upon kernel installation, you'll find Synapse installed in your system apps. If you want to get rid of it, just remove it from /system/priv-app with your file manager.
-CPU and GPU VOLTAGE Control: Both in Synapse. I DO NOT SUPPORT ISSUES IF YOU CHANGE VOLTAGE. YOU ARE ON YOUR OWN.
MENTIONS:
To those listed here, I cannot express how grateful I am for your assistence, patience, and kindness towards me as I badgered you throughout my journey. Though saying "thank you" doesn't feel like enough, thank you all. If I missed someone here, please tell me.
Thankyou:
friedrich420
Slim80
Tkkg1994
flar2
osm0sis
alesaiko
HybridMax
Kushan
Alucard24
Ausdim
Ktoonsez
neobuddy89
javelinanddart
Andreilux
theHacker911
UpInTheAir
Pafcholini
Placiano
Dorimanx
faux123 (seriously like the godfather of s4 kernel hax)
jcadduono
FransiscoFranco
Cyanogen
Meticulus
Eliminator74
Matthew-333 (moonshine kernel)
klabit87
apbaxel
yank555
ion-storm
yseras
PDesireAudio
lsswizard
arter97
Grarek
mrg666
showp1984
gsstudios
Lord Boeffla (andip)
Chainfire
TeamTrickster
tommygreenus
Andycar (For being the best bloody coding buddy I could ask for)
The Machinex Testing Team! - AMAZING folks, just amazing.
My Awesome Testers from this thread.
Again, I'm sure there's tons more.
On to the fun part then
INSTALLATION INSTRUCTIONS:More importantly, the uninstallation instructions. The install pretty much takes care of itself.
There are two links below that you must download in order to safely have an install/uninstall solution for this kernel. The one labelled "machinex-MarkOneHundred.zip" is the kernel. UPDATE: Busybox On Rails isn't required anymore. The second zip is crucial for uninstalling, aptly named "machinex-uninstaller-Jan12.zip." When this kernel is installed (and everytime it boots), it will rename mpdecision, thermald, thermal-engine, and power.default.so with an appended "-bak" suffix, because they all interfere with the updated power/cpu code in the kernel. If you switch to a different kernel, I INSIST that you flash the uninstaller (or take a look at the scripts yourself and do the stuff manually). ATTENTION: SLIM80'S KERNEL CLEANING SCRIPT IS NO LONGER NECESSARY WHEN FLASHING THIS KERNEL!!!!!! I HAVE INTEGRATED MY OWN CLEANUP PROCESS IN THE INSTALLER!!!!!!!!!!
TLDR: NO NEED FOR BUSYBOX ON RAILS, flash zip. use uninstaller zip to uninstall.
DOWNLOADS:
!!!JANUARY 12, 2017:UPDATE!! NEW UNINSTALLER for EVERY VERSION!!!!
DO NOT MIRROR THESE ELSEWHERE. DO NOT INCLUDE THEM IN YOUR ROM WITHOUT ASKING MY PERMISSION FIRST. I AM HAPPY TO COLLABORATE, NOT TO BE ON THE RECEIVING END OF BUG REPORTS CAUSED BY THIRD PARTY DOWNLOADERS.
UNINSTALLER-JAN12: https://www.androidfilehost.com/?fid=385035244224412313
md5: 295ac70bbb17ad2e5dc59e4ca1288e79
MarkOneHundred
INSTALLER: https://www.androidfilehost.com/?fid=745849072291685412
md5: 03af9cfc399d3eda3141254291668563
SOURCE: https://www.github.com/robcore/machinex
(be gentle on my ridiculous commit history, my git skills are shoddy at best).
So keep in mind this a development thread, blah blah blah, but if we all have good discussions (let's TRY to keep it on topic), I'm more than happy to have some fellow nerd friends to talk about my passion with. Heck, I want to use this thread as a chance to meet some other developers who wanna work on stuff together, exchange ideas, learn, and teach me how to get better at git.
Enjoy!
XDA:DevDB Information
Machinex, Kernel for the Samsung Galaxy S4
Contributors
robcore
Source Code: https://www.github.com/robcore/machinex
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: MarkOneHundred
Stable Release Date: 2017-10-31
Created 2016-09-05
Last Updated 2017-10-31
Reserved
UPDATES NOTICE:
Reset your fuelguage (in Synapse) after every install! WIping your cache and dalvik-cache can be helpful for stubborn apps, as well as wiping the cache of any specific app giving you trouble!
-------------------------------------------------------------------------
UPDATES - MarkOneHundred - October 31, 2017
CHANGELOG:
- Updated memory management to roughly linux 4.4.
- Modified Cpufreq in various ways. Per-Cpu frequency touchboost, per-cpu thermal core tracking and limiting, and governors can now be changed if a cpu core is offline. The governor selected will be applied to the core once it comes back online.
- Implemented Omniboost, a generic touchboost interface that can be used for any driver, so long as driver has an external function that the booster can use.
- Built a new hotplug driver from scratch, mx_hotplug. The driver chooses to on/offline cores based on a combination of system load and current number of scheduler requests (and touch of course). What separates this hotplug driver from others is that it uses a real-time kthread in order to give it an "interactive" type calculation.
- Speaking of which, found and fixed the issues with google's most recent interactive governor, and have added it back. Due to it working perfectly now, I forward-ported Intelliactive as well.
- Updated Hardplug to be more efficient.
- Built a little userspace hotplug driver from scratch for those who just need manual core adjustments.
- Tons of other little fixes and updates, to the kernel itself and to Synapse. Please explore around Synapse for some of the updated features.
- Found and fixed any of the user reported bugs i could.
- Continued with the various core updates to 4.14.
- Updated to my own toolchain, 7.1.1 hardfloat, cortex-A15 optimized (it is similiar enough to krait to give us an edge).
- I will update this if i think of anything else.
Sticky: Kernel base is now pretty much somewhere between 3.16-3.18, however I will keep the versioning at 3.4 for certain functions that depend on kernel_version conditionals. Wifi hotspot disconnect issue still persists, but i'd like to think that one day it will be solved...
Can be found in MachineX Rom by the awesome @Andycar found here: https://forum.xda-developers.com/ga...m-machinex-debloated-nogapps-s6-apps-t3573009
See my poorly formatted wiki for older updates:
https://github.com/robcore/machinex/wiki
-----------------------------------------------------------------------
LOGS
In Synapse, under 'LOGS AND PROFILES,' you will find a button that says ALL LOGS. Please press this button IMMEDIATELY after a bug appears that you would like to report, or after a boot if you get a kernel panic (RR).
From now on, without these logs present, I am no longer able to respond to the issues brought up by users.
FIXES
The following fixes involve sqlite and the "Setting Storage" application, also known as Settings Provider, or "com.android.providers.settings package" You will be working with a file named settings.db, and the 'system' table within.
Synapse Cancelled Fix: Get rid of the init.d scripts that are conflicting with UCI service startup. Also check the SuperSU section below...
Sound Fix: Either don't use an audio mod, or don't use Faux Sound Engine. That's all she wrote.
ScreenFlickerFix: Using an SQLITE DB Editor of your choice (from playstore), navigate to the "system" table and change values for "dim_screen" and "intelligent_screen_mode" to 0. *UPDATE* NOW AVAILABLE IN SYNAPSE UNDER THE "EXTRAS TAB"
ChargingTweak: Same as above but change "adaptive_fast_charging" to 0. This is only IF you are having issues which kernel driver-level fast charge. *UPDATE* NOW AVAILABLE IN SYNAPSE UNDER THE "EXTRAS TAB"
MASSIVE THANKYOU to @Andycar for making the above two fixes possible via Synapse!
SuperSU: I'm seeing a lot of permisison errors. Make sure, when using custom roms and kernels, that SuperSU is set to be as permissive as possible so you don't get knox blocked. Here are the crucial settings:
- ENABLE SU during boot
- DISABLE (untick) Mount namespaces separation
- Install SuperSU into /system
- ENABLE Trust System User
- Though I know many have security issues with the idea of allowing apps by default, doing so will make your experience way faster and provide you with less interuptions. At the very least I would set allow by default for Synapse.
These SU settings are kinda par for the course when it comes to android modding.
build.prop: Here is a list of property removals/changes recommended for our device:
REMOVE(lines containing):
ANYTHING with "fps/FPS" in it.
persist.sys.NV_FPSLIMIT
persist.sys.NV_POWERMODE
persist.sys.NV_PROFVER
persist.sys.NV_STEREOCTR
persist.sys.NV_STEREOSEPCHG
persist.sys.NV_STEREOSEP
persist.af.resampler.quality
af.resample
persist.af.resample
ro.telephony.default_network
telephony.lteOnCdmaDevice
dalvik.vm.dexopt-flags
ro.media.enc.jpeg.quality
ro.media.enc.hprof.vid.fps
ro.ril.power_collapse
ro.ril.sensor.sleep.control
pm.sleep_mode
power.saving.mode
persist.cust.tel.eons
persist.sys.dalvik.hyperthreading
boot.fps
shutdown.fps
debug.egl.profiler
hw2d.force
hw3d.force
video.accelerate.hw
debug.mdpcomp.maxlayer
debug.egl.buffercount
debug.enabletr
ro.hwui.renderer.disable_opaque
persist.sys.media.use-awesome (this is default anyway, and is controlled via the nuplayer checkbox in developer settings, so it's unneccesary)
CHANGE:
persist.sys.storage_preload=0 to persist.sys.storage_preload=1
tunnel.decode=false to tunnel.decode=true
af.resampler.quality=4 (or anything else) to af.resampler.quality=255
ro.config.dha_ils_enable=false to ro.config.dha_ils_enable=true
#ro.config.dha_cached_max=4 (remove the #)
#ro.config.dha_empty_max=36 (remove the #)
#ro.config.dha_lmk_scale=0.594 (remove the #)
sys.config.samp_spcm_enable=false to sys.config.samp_spcm_enable=true
sys.config.spcm_preload_enable=false to sys.config.spcm_preload_enable=true
ro.security.mdpp.ux=Disabled to ro.security.mdpp.ux=Enabled
For those having gaming issues, try removing them if you have them or adding them if you don't:
debug.performance.tuning=1
persist.sys.ui.hw=1
This might solve some issues for some folks.
---------------------------------------------------------------------------
INSTALLATION NOTE: Your first boot will probably take longer than usual, because this kernel makes significant (but safe, and auto-backed-up) changes to your core operating system.
This kernel includes drivers that TW has been compatible with since JB (I checked),
but didn't update the kernel drivers for (the best example of this is Autosleep). That said, there are userspace controllers like thermald and mpdecision (a binary linked to kernel code)
that interfere with custom governors, hotplug drivers, etc, so I've made the decision to back them up in the kernel script, and have them disabled while using this kernel.
The UNINSTALLER restores everything to the state it was in before flashing machinex, which is why I so strongly emphasize its use.
PERFORMANCE AND POWER-SAVING
Regarding the age-old performance/battery-life settings questions floating around, I'm gonna go ahead and suggest the following website created by a very dedicated fella who started out with the exact line of questioning, and built a genius guide for users of custom kernels. Heck, it's useful for developers too.
His username here is @gsstudios and he is a recognized developer here on XDA. Deserves it too
http://androidmodguide.blogspot.ca/
and on XDA:
http://forum.xda-developers.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957
I encourage you to rate that thread 5 stars, as it is the most comprehensive guide to kernel tunables you ever did see.
Note that I *probably* don't incorporate feature requests, as I have enough on my plate with bringing up the subsystems to a point where I can call this a stable release thread. Don't like it? YOU try backporting linux 3.9 scheduling code to a Samsung 3.4 base
On that note, if anyone here is savvy regarding kernel, C and (not "or") git development, I welcome coding partners because working with a team means better quality, better time management, and a better chance of incorporating fancy tweaks.
Cheers.
SYNAPSE:
Synapse has a default "warning" that comes up the first time you open it.
{
"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"
}
The initial warning is just a bug in the app because it's just been installed.
It's a design flaw in the app itself.
Synapse bases its stability check on whether the device is rebooted within 2 mins of being turned on.
Synapse does this on first boot for every single kernel that uses it,
because it has no previous internal boot settings to base its decision on,
and also because the app expects saved defaults when none have been established yet.
It is nothing to worry about.
Untick the option in settings called "stability check" going forward.
Breathe.
Does it work?
I'm on imperium kernel on Thor s7 rom, I was wondering if your kernel works with m919, tmo gs4, I was looking forward to trying out your rom.
Thank you
-jeff
Hey Jeff,
The answer is...maybe/probably. I know that's probably not what you want to hear, but let me explain.
My device is actually an i337m (which is why i included it in the thread title), but I've been using the international kernels and roms without *major* issues ever since I've owned it. This is built from international sources, and it is running well on Albe's awesome 9.0 rom, so I imagine it will perform well for the ported/upgraded roms for our phones.
So if you've been using the international roms/kernels without problems, I see no reason why this wouldn't work for you other than the bugs/current issues listed in the op.
Sent from my GT-I9505 using XDA Forums
Can you create kernel for cm 13?
Wysłane z mojego GT-I9505 przy użyciu Tapatalka
Welcome to s4 community Bro.
Congratulations . Downloading. ......
Sounds nice bro, good Job! Try this Kernel later as soon as possible on my GT-I9505 with THOR S7 v1.5!
Sent from my SM-G935F using XDA-Developers mobile app
r2089 said:
Can you create kernel for cm 13?
Wysłane z mojego GT-I9505 przy użyciu Tapatalka
Click to expand...
Click to collapse
Sorry man, but CM is not on my list of priorities.
NAROUTO said:
Welcome to s4 community Bro.
Congratulations . Downloading. ......
Click to expand...
Click to collapse
Thanks! Though I've been around here for a while
xell75 said:
Sounds nice bro, good Job! Try this Kernel later as soon as possible on my GT-I9505 with THOR S7 v1.5!
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks! I hope you enjoy!
Everyone who uses this, feel free to provide feedback to help me assess what's needed for MarkTwo!
@robcore.
Im gonna try this to imperium rom v15.
So what is the best settings for more battery life ?
Playing clash of clans a few times a day browsing tapatalk and using youtube all day.
I want my device to run cool. Lol
Update:
Got a random reboot from the first initial setup.
==========
Will let it run for a couple of days with the preset default settings.
I will use my old 2600mah for now and later on swap my 7500mah once i get some good battery stats.
droidblitz said:
@robcore.
Im gonna try this to imperium rom v15.
So what is the best settings for more battery life ?
Playing clash of clans a few times a day browsing tapatalk and using youtube all day.
I want my device to run cool. Lol
Update:
Got a random reboot from the first initial setup.
Click to expand...
Click to collapse
Msm sleeper is a pretty sold hotplug for battery. I've noticed power efficient workqueues tend to slow things down/eat battery. Honestly I would try out msm sleeper for battery savings. Just note that games+youtube by design will eat into battery life. I will add some more power conscious governors soon. Also the usual stuff, the power your screen brightness the better, and turning off vibration/haptic will help.
robcore said:
Everyone who uses this, feel free to provide feedback to help me assess what's needed for MarkTwo!
Click to expand...
Click to collapse
I'm using this Kernel now on my GT-I9505 with THOR S7 v1.5 and so far a stable Kernel for me, many settings and alot settings I had never seen before as I like, very good! Just one thing til yet, Trying to set "Hellsactive" as CPU governor causes a freeze and a full reboot. Otherwise Kernel seems stable, using "Stockdemand" CPU Governor now. Keep going your work!
Sent from my SM-G935F using XDA-Developers mobile app
xell75 said:
I'm using this Kernel now on my GT-I9505 with THOR S7 v1.5 and so far a stable Kernel for me, many settings and alot settings I had never seen before as I like, very good! Just one thing til yet, Trying to set "Hellsactive" as CPU governor causes a freeze and a full reboot. Otherwise Kernel seems stable, using "Stockdemand" CPU Governor now. Keep going your work!
Click to expand...
Click to collapse
You know what, the interactive-based governors gave me trouble for the longest time. But I have found the issues in a great patchset, and am working on a fix that should be ready in a couple of hours. Until then EVERYONE STICK TO ONDEMAND-BASED GOVS!!!!
droidblitz said:
@robcore.
Im gonna try this to imperium rom v15.
So what is the best settings for more battery life ?
Playing clash of clans a few times a day browsing tapatalk and using youtube all day.
I want my device to run cool. Lol
Update:
Got a random reboot from the first initial setup.
==========
Will let it run for a couple of days with the preset default settings.
I will use my old 2600mah for now and later on swap my 7500mah once i get some good battery stats.
Click to expand...
Click to collapse
I'm guessing interactive based gov? If so, see my post above, MarkTwo is coming tonight.
robcore said:
You know what, the interactive-based governors gave me trouble for the longest time. But I have found the issues in a great patchset, and am working on a fix that should be ready in a couple of hours. Until then EVERYONE STICK TO ONDEMAND-BASED GOVS!!!!
Click to expand...
Click to collapse
Nice mate that's ok, thanks for the information! I'm looking forward for your new version!
Sent from my SM-G935F using XDA-Developers mobile app
xell75 said:
Nice mate that's ok, thanks for the information! I'm looking forward for your new version!
Click to expand...
Click to collapse
Dude thank YOU. I can't tell you how much I appreciate you and the others for testing this out and helping me iron out the remaining bugs, and being so understanding that "interactive based govs are broken" which is super embarrassing. Lol.
droidblitz said:
@robcore.
Im gonna try this to imperium rom v15.
So what is the best settings for more battery life ?
Playing clash of clans a few times a day browsing tapatalk and using youtube all day.
I want my device to run cool. Lol
Update:
Got a random reboot from the first initial setup.
==========
Will let it run for a couple of days with the preset default settings.
I will use my old 2600mah for now and later on swap my 7500mah once i get some good battery stats.
Click to expand...
Click to collapse
Update: simple gpu gov is snappy at stock settings and sooooo much better for battery consumption.
Also if memory serves me correctly, aren't you a cm kinda guy ; )
robcore said:
I'm guessing interactive based gov? If so, see my post above, MarkTwo is coming tonight.
Click to expand...
Click to collapse
Nope havent touched anything
There was a failed message when i booted the synapse app.
Something link kernel image failed but not sure should have taken a screencapture and the log.
Either way its working now.
robcore said:
Update: simple gpu gov is snappy at stock settings and sooooo much better for battery consumption.
Also if memory serves me correctly, aren't you a cm kinda guy ; )
Click to expand...
Click to collapse
More into like AOSP rom but had to use Tw for camera/video
I just noticed something.
My display colors somewhat changed? I think in a good way. Lol
simple gpu gov in marktwo?
droidblitz said:
Nope havent touched anything
There was a failed message when i booted the synapse app.
Something link kernel image failed but not sure should have taken a screencapture and the log.
Either way its working now.
More into like AOSP rom but had to use Tw for camera/video
I just noticed something.
My display colors somewhat changed? I think in a good way. Lol
simple gpu gov in marktwo?
Click to expand...
Click to collapse
Well it's great to see you here man! Lol with screen colour I made some fixes and changes to sammy's mdnie code. Upon checking the code against their roms, it turns out they've never bothered to fix discrepancies between the values in settings and the driver itself! "Standard" and "dynamic" have been switched this whole time. Also "auto" has been a placebo all along, they have had the backend in place all along but never initialized it in the list of available screen modes. On that note, for even cooler stuff check out the "video_mode" scenario in synapse. It's AWFUL for battery life, but sharpens everything to a crisp. I'm pretty sure kcal helped with color too(?).
As for simple gpu gov, works just fine on MarkOne! Franco's simplification to it made it a freakin' powerhouse while being better for battery somehow.
Building MarkTwo as we speak, then I'll test it and it's out! I'm working on the gov settings in synapse while building too. The tunable settings are ticking me off.

Categories

Resources