The app is made with Tasker, with focus on functionality over UI, so you may find the UI unpolished. The tasker project XML can also be found in the attached files.
Purpose
To apply and manage set of kernel settings (called "profiles" within the app). Also supports shell scripts.
Features
[ROOT REQUIRED]
– Loading profiles (+quick shortcut to swap between two profiles)
– Saving the current kernel settings in a new profile (or only some of the settings)
– Updating a profile file with the current settings (with this feature you can load a profile, then tweak in any kernel manager app and then update the loaded profile with the new settings)
– Comparing profiles (compares two profiles and outputs only the different settings with respective values for each)
– Load shell script files (such as the ones in the AKT zip file – see Downloads section – or others) *
– Convert shell script file to profile file** and profile file to shell script file
– Open/rename/delete files with a very simple file browser (tap and hold)
– Set a profile and/or script to be loaded on boot
– Uses cache for profile files, so applying a profile, which you have applied before, happens instantly.
– When applying profiles temporary changes the permissions of all non-writable files from the profile to apply all settings, after which restores them to the original permissions.
* loading scripts: when applying a script you will be asked if you want to temporarily change non-writable permissions to apply all values. If the script is more complex (such as with if/else statements) it is advised not to chose that option, since the script will not be applied correctly. In that case just choose "apply script as is". Also note that some scripts may require busybox, so you may need to install that to be able to apply them.
** converting shell scripts to profile files: the "echo" lines are converted to paths and values in the profile file. In more complex scripts (with if/else statements for ex.), multiple echo lines may cause incorrect settings to be applied if converted to a "profile file". If you know the script is such, it is not advisable to convert the script to profile. You may instead, apply the script and then save the current settings as a new profile.
Downloads
Downloads can be found in the attached files. There are two files named "AKT OP3" and "AKT OP3T". They are the scripts from the AKT thread. If you're familiar, you may find it useful. I would not advise using them on other devices.
Compatibility
The app should work on any device with two big and two little cpus. Generally any device should be supported but the saving functionallity might not correctly save the governor settings of one of the clusters, if the chip is too different. Made on OnePlus 3 and tested on a few other devices. No incompatibility reports received yet. The caveat is that some devices might need to adjust the font size in the settings for proper text visibility.
XDA: DevDB Information
Kernel Profile Manager, App for all devices with 4 cores and big.LITTLE architecture.
Besides the "Save settings as new profile", all features are device-independent and should work on any device. If you have a device with more cores or different architecture, you can use the "Update profile" feature to save settings, or better yet – pm me to add support for your device.
Contributors
Arstoien
Version Information
Status: Stable
Current Version: 1.25
Created 2018-06-03
Last Updated 2018-07-21
Changelog:
v1.25
– change: instead of holding down the "load profiles" option to swap between two profiles, the shortcut is now swipte-to-the-right
– new feature: holding donw "load profiles" option allows to compare the last applied governor to the current system settings. If you have made any manual changes (or the system for some reason has restored some of them, you will get a report with the changed values and option to reapply them
– change: change the tooltip of "load profiles" to describe the above features
– bugfix: minor workflow bugfixes
v1.24
– UI bugfixes
v1.23
– performance boost when loading file lists
– changed the SU check on app start for better user experience when granting root access
– "active profile" label resets to "none" on boot, if the profile is not applied (when the boot service is not activated)
– other minor bugfixes
v1.22
– bugfix: "apply on boot: shell script" could in certain situations not work properly
v1.21
– bugfix: when saving or updating profile the app would save the I/O scheduler in a way that would not be applied correctly afterwards
– bugfix (very minor): updating a profile could cause an extra redundant line after an empty line in the profile file
v1.20
– initial public release
Wow, thank you! That's awesome, a new toy!
On first glance everything seems to apply correctly...
Can i use these script (.sh) files with ek kernel manager?
Sam Nakamura said:
Wow, thank you! That's awesome, a new toy!
On first glance everything seems to apply correctly...
Click to expand...
Click to collapse
Thanks for the feedback. Hope you enjoy it!
anaknin said:
Can i use these script (.sh) files with ek kernel manager?
Click to expand...
Click to collapse
yes, you can also use the "profile" files with ek kernel too – just load them appropriatelly (I believe governor profiles or something similar).
I updated the "Compatibility" section of the OP, just to make some things clear, since the "save" function might not work well with some devices. If anyone faces something similar, I'd be glad to hear and it'll probably be an easy fix. Just don't have anyone with such device around me.
ask best balance tweaks suggest?
puturaya20 said:
ask best balance tweaks suggest?
Click to expand...
Click to collapse
Very difficult to say. It depends a lot on what you're looking for and your usage. I am currently using the latest FusionOBeta on OnePlus3. If you have OP3/3T, you can pm me and I'll share it. I think it's close to being stable and released pretty soon.
Arstoien said:
Very difficult to say. It depends a lot on what you're looking for and your usage. I am currently using the latest FusionOBeta on OnePlus3. If you have OP3/3T, you can pm me and I'll share it. I think it's close to being stable and released pretty soon.
Click to expand...
Click to collapse
hmm okay bro,how paste AKT_Scripts.zip ? paste in folder?
puturaya20 said:
hmm okay bro,how paste AKT_Scripts.zip ? paste in folder?
Click to expand...
Click to collapse
Unzip all files in any folder. Then, in the app, choose "load shell script file", navigate to the script you like and select it.
Update with one bugfix.
I would be very happy if a user with different cpu would assist me in testing the app, so it would offer better support for saving settings.
Also any feedback is appreciated.
Arstoien said:
Unzip all files in any folder. Then, in the app, choose "load shell script file", navigate to the script you like and select it.
Click to expand...
Click to collapse
How Look working script after select?
puturaya20 said:
How Look working script after select?
Click to expand...
Click to collapse
Open an app, with which you can see the values of the governor. Check them before and after the script. If you use KPM you can save the governor settings before and after the script and then compare.
Note that applying the AKT scripts takes a while, so give it some time. And make sure to have installed busybox in advance
Arstoien said:
I would be very happy if a user with different cpu would assist me in testing the app, so it would offer better support for saving settings.
Click to expand...
Click to collapse
What do you mean by "different CPU"? Different like SD820 vs SD821 or different like i.e. SD6xx or SD4xx or even completely different like Exynos, Mediatek?
Sent from my OnePlus 3T using XDA Labs
Sam Nakamura said:
What do you mean by "different CPU"? Different like SD820 vs SD821 or different LIKE i.e. SD6xx or SD4xx or even completely different like Exynos, Mediatek?
Click to expand...
Click to collapse
I meant other snapdragon series. Exynos and Mediatek would also be interesting to look at, I don't know how big the differences are and how easy it'd be to support them. In any case I need someone to test with such device.
Arstoien said:
Open an app, with which you can see the values of the governor. Check them before and after the script. If you use KPM you can save the governor settings before and after the script and then compare.
Note that applying the AKT scripts takes a while, so give it some time. And make sure to have installed busybox in advance
Click to expand...
Click to collapse
Thanks u bro
v1.22 Changelog:
– bugfix: "apply on boot: shell script" could in certain situations not work properly
@puturaya20 you may want this one, if you're going to use the function.
Thanks for your work, Arstoien!
I have 1.20 installed which is functioning great with the FusionBT 15 script.
Just wanted to update to 1.22 but it doesn't install. Neither does 1.21 btw.
Do I have to uninstall 1.20 before installing a new version? If so, does it keep my settings?
ericvanb said:
Thanks for your work, Arstoien!
I have 1.20 installed which is functioning great with the FusionBT 15 script.
Just wanted to update to 1.22 but it doesn't install. Neither does 1.21 btw.
Do I have to uninstall 1.20 before installing a new version? If so, does it keep my settings?
Click to expand...
Click to collapse
Thank you for the feedback!
Yes, it seems you are correct – I did not foresee that. The issue seems to be that I had reinstalled Tasker and even though I had set the package name to be the same and version to be higher, it is no longer compatible as an update to verison 1.20 or lower. After version 1.21 there should be no more issues with updates, so unfortunately I'd have to suggest to uninstall and then install the latest version.
If by "settings" you mean – lose whatever you have set up in the "settings" screen of the app, then yes, you will lose that. You will not lose any files you have created or modified though – only the info stored within the app's interface. So the app will no longer remember which is the last applied profile, etc.
No worries...problem solved by uninstalling 1.20 and installing 1.22 directly afterwards.
Had the scripts and profiles saved in a separate directory so changed settings to the correct directory and applied FusionBT again.
So up and running again! ??
Any idea when we can expect the new FusionBT profile? ?
ericvanb said:
No worries...problem solved by uninstalling 1.20 and installing 1.22 directly afterwards.
Had the scripts and profiles saved in a separate directory so changed settings to the correct directory and applied FusionBT again.
So up and running again! ??
Any idea when we can expect the new FusionBT profile? ?
Click to expand...
Click to collapse
Rather soon I'd imagine. Only minor tweaking is being done recently.
Been following these threads for quite some time. Own an HTC 10 and with the help of ZeroInfiniti have found a way to run his Engine and AKT and getting them to stick. Just wanted to say I appreciate all you guys hard work developing and maintaining. Been using AKT final 1.6 zip. Project Zhana battery. Getting fantastic results. 6+ hours on screen. About to try the new AKT app tomorrow.
Related
Hi All,
Here is my second contribution to the Android community, android2sd!
I tried to make the installation a bit more straight forward and the readme very verbose.
There is NO going into recovery and wiping of the Android to install this construct. (Of course you can if you want to have a clean slate to build from but it is by your choice only!)
Remove .zip from filename, then unrar (sorry to zip users, zip was too big) the package and copy the android2sd.sh install script to the Android say /data/local and make executable with something like chmod 0750 and copy the android2sd.img install image to the sdcard. (Detailed instructions are in the readme file.) Once the install is complete, you can delete both install files.
Execute the script {where ever you installed it}ie:
/data/local/android2sd.sh and follow the instructions.
Included are several of my scripts (updated from the ones in data2sd) and the rules still apply, adjust or remove as you see fit. The readme explains them all.
I have noticed an improvement in speed based on the install, but you can judge for yourself and tweak as you see fit!
The construct uses Overlay Profiles to overlay the Android system and thus any changes to the Android once loaded, are actually done to the overlay profile thus you have like a safe mode which is the untouched Android under the overlay.
Hope you find it useful!
Darkstrumn
Darkstrumn said:
Hi All,
Here is my second contribution to the Android community, android2sd!
I tried to make the installation a bit more straight forward and the readme very verbose.
There is NO going into recovery and wiping of the Android to install this construct. (Of course you can if you want to have a clean slate to build from but it is by your choice only!)
Remove .zip from filename, then unrar (sorry to zip users, zip was too big) the package and copy the android2sd.sh install script to the Android say /data/local and make executable with something like chmod 0750 and copy the android2sd.img install image to the sdcard. (Detailed instructions are in the readme file.) Once the install is complete, you can delete both install files.
Execute the script {where ever you installed it}ie:
/data/local/android2sd.sh and follow the instructions.
Included are several of my scripts (updated from the ones in data2sd) and the rules still apply, adjust or remove as you see fit. The readme explains them all.
I have noticed an improvement in speed based on the install, but you can judge for yourself and tweak as you see fit!
The construct uses Overlay Profiles to overlay the Android system and thus any changes to the Android once loaded, are actually done to the overlay profile thus you have like a safe mode which is the untouched Android under the overlay.
Hope you find it useful!
Darkstrumn
Click to expand...
Click to collapse
Damn man. Good work.
sounds interesting, what is this all about?
brilliant?!? I think.
So basically, this is a non-destructive method that enables us to run new roms on the G1 without flashing? Am I reading this right? If so... wow.
edit: or, erm... maybe not... i think i've been up too long. Gonna have to watch this thread to get a better grasp on this. interesting nonetheless.
Rename To RAR
Darkstrumn said:
Remove .zip from filename, then unrar (sorry to zip users, zip was too big) the package and copy the android2sd.sh install script to the Android say /data/local and make executable with something like chmod 0750 and copy the android2sd.img install image to the sdcard. (Detailed instructions are in the readme file.) Once the install is complete, you can delete both install files.
Click to expand...
Click to collapse
very interesting .. at first i failed to see this part as i'm sure many pay skip over the whole "rename to rar" thing - LOL - so this loads profiles from the SD to the phone
for anyone having trouble with the whole "rename" process try this:
http://files.lucidrem.us/jf/android2sd.rar
as i know windows with hidden file extensions does not allow a rename easily
So what exactly does this do? I see install instructions, but no description.
Overlay Profiles...
tr.slate said:
So what exactly does this do? I see install instructions, but no description.
Click to expand...
Click to collapse
Well,
I've worked up the natural progression to this XXX2SD business, and have made an Android2SD construct which can expand the Android similarly to the the previous constructs, but puts /system, /data and /cache on sd.
So let me explain the overlay thing:
An overlay profile is a snapshot of the Android file system, namely /system, /data, and /cache.
The initial profile is called 'android2sd' and is a snapshot of your android at the time of install, plus the file system structure as explained in the readme adding the mnt/ dir structure and additional scripts in bin/ (which you can remove or adjust as you need).
Typically I reckon folks would only have the one profile and under it your original Android. But you can create additional profiles and set them up however you like. The overlay is overlayed on top of the Android file system with any changes or edits to the system affecting the profile and not the Android under.
The effective change is that the /system /data/, cache are moved to the sdcard thus expanding them to however large your sdcp2 is; on a class 6 card also improving access time.
A second benefit is that the underlying Android is safe from alteration and can be booted into like a 'safe mode'. (It can also serve as the base for new profiles, or you can make new profiles from active overlays. These snapshots can serve as a form of backup, but that is a fringe benefit.
It cannot protect the Android from update.zip installs exactly, as those will modify the Android directly, but say you try a theme and it gafs your 'droid...you can reapply the firmware update to clean out the theme, then copy the desired profile back to the Android and restore the Android to the state of the profile. (I would recommend having a 'base' profile of the Android but not using that as an active profile which will thus serve as a backup) Note: To restore the Android as described above, you cannot restore using a profile with 250+ apps in /data as the Android doesn't have the space for it!
Originally I used unionfs for the overlays but it was too slow.
Hope that explains things here; the readme has far more detail.
I've gotta go, but if I see that I've been as clear as mud, I'll try to explain better when I have more time.
Hmm just out of curiosity: What are you using now? Bind mounts?
I got a little bit lost in setup, I am not sure if I had problems because I was using Cyanogens latest or something else but either way Im going back to JF to try this.
I installed it using the "-COMMIT" addition
But when I made it to installing/linking apps things wouldnt link
Maybe I will let a few other people try it first.
More info...
[email protected] said:
Hmm just out of curiosity: What are you using now? Bind mounts?
Click to expand...
Click to collapse
Yes. Originally it was to have a multi profile layered system using unionfs: union0 the ro base snapshot and union1 the rw profile containing the copy-on-write data. But as the tests went on, the unionfs was too slow to use for /data; Android is unforgiving of unresponsiveness and was ANR'ing the apps that didn't respond fast enough.
The faster bind mount means that union1 is now not used and union0 is rw.
The reason I wanted the union0,union1 path was that the union0 could serve as base and various profiles could be layered over any part of the file system granting "Lego" like flexibility in how the user could adjust their a2sdLoader.sh script (the android2sd loader which controls the overlay process).
You could have a pristine base and several "change" profiles that you layered to your liking and could change any sub layer to different effect.
While you still can under this paradigm, it is not as compact.
But the unionfs option is not completely done away with. It can still be used for the above layering but shouldn't be used for that apps and package system.
An example of the layering I'm on about:
The Android 0-layer which the base layer is a snapshot of.
The base layer is pristine (fully configured settings, but minimal apps loaded, maybe a particular base launcher layout and wallpaper).
A change profile containing my apps and package system
A change profile containing a version of etc with reconfigured bluetooth settings.
A change profile with a theme (manually installed, or snapshot to profile and restored to pristine)
Now I could take these 4 profiles and arrange several different setups:
'base' with all apps loaded, themed with custom bluetooth
'base' with all apps loaded, themed with normal bluetooth
'base' with all apps loaded with custom bluetooth
'base' with all apps loaded with normal bluetooth
'base' with all apps loaded
'base' themed with with custom bluetooth
'base' themed with normal bluetooth
'base' with custom bluetooth
'base' with normal bluetooth
...
Those would be set to serve as the ro union0 and the rw union1 which will hold the copy-on-write changes to the overlay (which preserves the sub layers)
You could have several more theme profiles and have a script that randomly chooses one at boot...
You could simply use the overlay to protect a favored configuration. Should anything untoward happen such as accidentally damaging the packages.xml file while experimenting with the system, you could simply delete the change profile, make a new blank change profile and the damaged files are undone.
The things one can do with the overlay concept are limited only by your imagination and need (and if they slow down app processing too much causing ANR's)
It vary well could if done correctly allow one to have multiple roms as profiles and switch them based on the selected profile, but I have yet to experiment on that...I reckon that is my next move! (Note that this path would have a high space cost as the roms are about 40MB zipped!)
brandenk said:
I got a little bit lost in setup, I am not sure if I had problems because I was using Cyanogens latest or something else but either way Im going back to JF to try this.
I installed it using the "-COMMIT" addition
But when I made it to installing/linking apps things wouldnt link
Maybe I will let a few other people try it first.
Click to expand...
Click to collapse
Taken from [Rom] CyanogenMod:http://forum.xda-developers.com/showthread.php?t=518851
"DO NOT RUN ANY OTHER APPS2SD APPLICATIONS ON THIS BUILD. YOU WILL BREAK YOUR SYSTEM. THEY ARE NOT NECESSARY BECAUSE THIS ROM WILL DO A2SD AUTOMATICALLY AND BETTER!"
The android2sd construct pretty much falls into the A2SD category and thus is likely the reason you had issues with the install.
My Android is based on JF 1.51... and thus your mileage will vary based on the rom you are using. I reckon with a rom derived from theh JF roms, the install may work as intended.
As I go into the next construct build process, I will see if I can't make it multi-rom compatible (to support multi-rom profiles) I'm sure it will take some time to do as I would have to use my actual Android to test with, but no worries!
Hope that helps a little. Sorry it's not better news though.
An excellent "misuse" of this concept would be to run ion (picking it for its speed and almost stock nature) with a hero overlay (picked due to known instability as we are still developing it) so that ion would serve as a "safe mode" for when you crash hero.
I have a spare phone if i crash this and a secondary sd for if that gets corrupted. Let me know if you need help testing.
twistedumbrella said:
An excellent "misuse" of this concept would be to run ion (picking it for its speed and almost stock nature) with a hero overlay (picked due to known instability as we are still developing it) so that ion would serve as a "safe mode" for when you crash hero.
Click to expand...
Click to collapse
Interesting thought, and if this could be done, I suppose it would be possible to have bluetooth working in ION while using a Hero overlay?
Request for feedback...
Hi All,
Those who've installed android2sd, how is it going?
Can you give some pros and cons of your experience so I may improve things going forward? (Hopefully no cons exists!)
I know that roms that already make use apps2sd will encounter issues as the apps2sd and android2sd function similarly and thus step on each other. I may be able to detect this condition and adjust for it going forward...we'll see.
Thanks in advance for your input!
Darkstrumn
LucidREM said:
very interesting .. at first i failed to see this part as i'm sure many pay skip over the whole "rename to rar" thing - LOL - so this loads profiles from the SD to the phone
for anyone having trouble with the whole "rename" process try this:
http://files.lucidrem.us/jf/android2sd.rar
as i know windows with hidden file extensions does not allow a rename easily
Click to expand...
Click to collapse
Thanks for putting the rar up, XDA wouldn't take the .rar and I didn't want to signup to a file-share site just yet.
And it being seemingly natural to make windows show file extensions, it didn't cross my mind to make a note about that.
Thanks again!
Darkstrumn said:
Thanks for putting the rar up, XDA wouldn't take the .rar and I didn't want to signup to a file-share site just yet.
And it being seemingly natural to make windows show file extensions, it didn't cross my mind to make a note about that.
Thanks again!
Click to expand...
Click to collapse
How come no one is trying this? It seems to me an excellent idea and would be really cool to boot mutipe roms if someone figures that out. I'm not testing this because I'm using appstosd and didn't want conflicts...but no one else with jf1.51 Rom is testing this idea?
Just curious
so wait a second. let me get this straight ... if I have a class 6 8gb card i might be able to install a hero build without rosie or widgets with the original launcher on the sd card that might actually come sorta, kinda, a little close to a speed that might be bearable? at least for like 5 minutes?
Can this be adapted to install bigger roms such as hero without the dangerspl .
XD
Ill try this with ion later tonight
wow this is beautiful work! now to test it!
Im trying so hard to understand this lol.. Correct me on my errors but from what i read this is my hypothesis on what i think this does..
This is like a apps2sd but with data and that type thing from the build we are using? And you Said this takes snapshots So we can create several profiles of the phone? Like for example have a profile with some apps loaded and another profile with all removed and be able to switch between them at will?
Hi,
I just uploaded my last application to the market - "Scripter"
purpose:
to make it as simple as possible to run scripts in your device
how:
3 options to run scripts
1) scan QR code which code the script as text
2) run files from the sdcard (like any other script program)
3) rerun any script that you ran in the past or save with the application
This application requires 'root' permissions and 'busybox' (all custom roms has is)
if you don't have 'busybox' then you can instal 'BusyBox' application from the market (by Stericson) which will install it for you
so now what?
if you want to help someone to run some commands without the hassle of adb/terminal, understanding the importance of CapiTaliZatIoN in *nix then you can create a simple QR code for the user and all he has to do is to scan it from the application
1 site to create free formatted text QR code can be found here:
http://keremerkan.net/qr-code-and-2d-code-generator/
just select "free formatted text" from "Select a Code Action"
there is no need for overhead in the script (no #!/system/... or any other things) just the commands you want to run
for example the code to change the vending_preferences.xml in order to fix the timeout errors with google market:
or the user can download this file:
http://www.sendspace.com/file/qyqwnt
click it in the android download manager and select "scripter" to run it
the application is free and open source
you can find the code for it here:
http://github.com/dmanbuhnik/Scripter
Please contact me if you have questions, suggestions, bugs or cats
have been using gscript for a long time but that is no longer being worked on.
What plans do you have for this app?
any chance of a scheduler?
thanks
the main purpose of the application is 1 time scripts
but!
this is an open project + i'm open for suggestions for features
what would you like to see in the application?
quite useful, thanks.
Can you add an option to delete a script.
Maybe another option on long press to run without root. (normal sh)
thanks for the suggestions.
I'm planning to add those new features:
the ability to delete an individual script
the option to install busybox if there is none
set scripts to run after reboot
fix minor bug
still thinking about it - option to run scripts w/o root permissions
i updated the application
main new features:
you can new create script manually (hand writing script) by the application
option to export/import to sdcard
delete button for each script
i'm now directing users without busybox to install stericson's busybox application
http://www.appbrain.com/app/stericson.busybox
and more
planned:
run script after reboot - still in plan
option to edit scripts
anyone has more features he want to see in the application?
I would like to see a way to pass arguments to the script. Maybe the app could scan to see if arguments are called for, then pop up a box asking for arguments before running the script.
That is, if it's possible.
Sent from my HTC Magic using XDA App
interesting,
for a technical point of view is possible to add this feature but can you come up with a use case for it? did you ever wanted to run scripts in android with switches/arguments?
bare in mind that the next version will have 'edit script' option so you can always change your script
For example, I download a lot of pictures when I'm bored. I want to write a script which will move all the pictures from the default DL dir (for the app I use) to a specific dir, but put them in a dir I specify when I call the script. Including create the dir if it does not exist. I have tried to write this script, but have been unable to get wildcards to work...
Where might you suggest I look for some tutorials that will work with android?
Sent from my HTC Magic using XDA App
fair enough
i will add 'add switches' to the 'run script' pop up in future release (i'm planing an update after this weekend, depending on my free time i will try to add it in that release)
Maybe this idea is a little over-the-top but I would love to see an option to set a script as a widget or app with custom icon. There is an app that does this. Java/J2ME Runner by Netmite. It's free, maybe the Dev would share?!
Sent from my HTC Magic using XDA App
sounds great!
i will add it to the plans, but this one will be in the "far future"...
thx for the features ideas
Your welcome, glad to help! I'd be happy to help more, but I'm still learning Java... anything else I can do, let me know.
Sent from my HTC Magic using XDA App
version 1.8 is now on market
main new features:
* edit scripts
* stdout and stderr log after each run ('more info' button)
* changeable backgrounds
* redesign script list
* upgrades on the database for future options (running scripts without root permissions, running scripts after reboot)
see in app change log for full list
in plan:
* running scripts without root permissions
* running scripts after reboot
* home screen widget for 1-click script run
* run script with switches
where can I dl the APK file for Scripter?
My Market is patched on the wildfire and still I'm not able to find it.
How to use scripter to install hebrew ?
Thanks !
erez29 said:
My Market is patched on the wildfire and still I'm not able to find it.
Click to expand...
Click to collapse
If you can't find it you can get the source here and compile it. Or PM and let me know I could compile it for you.
https://github.com/dmanbuhnik/Scripter
Screen size problem
Hello,
I can create a new script, but if I long press the script name it opens "Script options" on the border of the screen, impossible to move higher or see the options.
Google Nexus 4 with Android Oreo.
Thanks!
Hello to all
Too many people don't have enough posts to post on my rom's thread.
So i decided to created a new thread in general!
Here you can post your problems or ask something you dont understand for the flashing process etc.
Will be posted flashing info and known flashing problems here soon.
So feel free to post your question, or report a bug!
1. How to flash Kyrillos' rom?
- Instructions: Here
2. I just flashed Kyrillos' rom and after flashing the phone bootloops (it plays the same boot sound again and again).
- You havent done a Wipe data/factory reset in Recovery mode. Remove the battery & re-insert it, go into recovery mode (Vol up + Vol down + home + power), and select the Wipe data/factory reset option. Click yes, and reboot.
3. The phone booted but my sd partition isnt working. What should i do?
- Firstly you have to ensure that you put the Hybrid Data2SD files in your sdcard. They are contained in v8.0 rom you downloaded. You can also download them from here. You must put the four files (data2sd.dirs, fs.data2sd, multiosdata, multiosdata.cache) in /sdcard/Android/data/G3mod/*. Then reboot your phone and your partition should work.
4. I partitioned my sdcard but i dont see the free sdcard (a2sd) space in Titanium Backup.
- Hybrid Data2SD doesnt show up in Titanium Backup. Its normal Fixed
5. After restoring my backup with Titanium Backup, i dont see all my apps in Android Market.
- Go in Titanium Backup, find Android Market and wipe Android Market's data. Reboot your phone, and it should be ok.
6. I have too much lag!
- Make sure that you dont have more than 50 User Apps installed in your phone.
- Go in titanium and do a batch operation: Move all apps to internal memory
- If you have a linux-swap partition in your sdcard, delete it.
- Go in Settings/Sound and disable all Feedback sounds (leave the haptic feedback checked if you want )
7. I have battery drain issue.
- Let the battery calibrate itself and after 3-4 days recheck if the problem remains.
- If your problem isn't fixed and you have installed the Overclocked version, install Setcpu and change the governor to OnDemand or Conservative. You can try to Undervolt/Underclock the cpu too. You should make a screen off profile (83min - 400max) too.
- If SetCPU is not used, in OC version, CPU frequency is at stable 800MHz, on performance, so there MUST be a battery draining^^
So, SetCPU is absolute nesassary to be installed and set up. Best working governour is ondemand, if it laggs, drop up threshold in advanced to lower level.
8. What are the best settings for setcpu? [Updated 25/10/11]
- Main tab: Min 83Mhz, Max 800-1200MHz, Scaling: Ondemand (or Conservative), Set on boot: Tick
- Profiles tab: Set on boot: tick
- Profile (1): In call: 83min, 400max, Scaling: Ondemand, Priority:100
- Profile (2): Time profile: 1AM - 7AM (here put the time you sleep), min/max 83MHz, Scaling: Powersave, Priority: 99
- Profile (3): Screen off: 83min, 400max, Scaling: Ondemand, Priority:98
- Voltages: Try -100mV in all frequencies from 500-1200. If it hangs, try -75mV/-50mV, apply, set on boot: tick
9. How to enable v6 supercharger?
- Go in Terminal Emulator, type "su" hit [enter] (you may see a superuser popup, press "Allow", then type "v6_supercharger" hit [enter]
- Choose scrolling speed "2".
- It will ask you if you want intergration with init.rc, choose yes (press Y).
- It will ask you if the home is locked in memory, choose no (Press whatever you want except Y)
- When you see this: Please enter option 1-30, enter 2
- Let the rest of the text scroll through. When script finishes, press the home button, then press the power button and reboot the phone.
- For best results, go in recovery and wipe dalvik-cache and cache.
Note: You must re-enabled v6_supercharger after kyrillos' rom updates!
10. I have a partition in my sdcard and each time i try to install an app from market, the phone just reboots!
- This could be a corrupted filesystem problem. Make a backup d repartition your sd.
- Wipe data/factory reset.
11. I really miss some removed apps. Where can i find them & how to install them?
- You can find any app you want in this thread [By Dharam]
- To install an app, you must put it in /system/app/. There are many ways to do that.
- a) Copy the app you want to install in your sdcard. Use an app, which called root explorer. Open it, find the app you want, copy it, navigate to /system/app/, press the Mount R/W button on the top-right of your screen once, the click paste. Reboot your phone.
- b) You must know how to use adb. adb push appname.apk /system/app/
12. Kies isn't working.
- I highly recommend you to stop using Kies and start using Titanium Backup!
- Anyway, to get it working you must download this and this app and put it in /system/app/
13. How much left data space is normal to have after i install Kyrillos' rom?
- If you dont have partition in your sdcard: ~112MB
- If you have partition in your sdcard: ~150+MB
14. Gps isn't working.
- The gps in our phone isnt the best. I did try to make it better and for many users i did succeed.
15. I have partition in my sdcard but internal storage is still 200MB instead of eg. 1200MB (if partition => 1GB)
- Its normal. Your partition works as it should, but its not full data2sd, and thats the reason that it doesnt show 1200MB.
16. One of my apps cant start because it detects that i have adblock on my phone.
- Download Adfree Android from Android Market, open it and click "Revert"
17. When i sent messages in Arabic it displays ??? ? ? ???? ??? ???
- Go in messaging settings => Input Mode: and change it to Automatic or Unicode
18. I want to set an mp3 file as ringtone or notification sound. What should i do?
- Make a "media" folder in your sdcard. Inside it make an "audio" folder and then make a "ringtones" or "notifications" folder and place the mp3. Reboot and select it from settings
19. The order of the messages is fu**ed up. How to fix it?
- Go to Settings => Date and Time. Untick "Automatic" and et the correct Time Zone!
20. Sometimes i see squares instead of letters.
- It happens because the Ubuntu font. Download android fonts from v9.0_extras if you cant live with it
21. What about themes? How can i know if a theme is compatible with kyrillos rom?
- Firstly, you have to check it it supports nine lockscreen. (If it doesnt, contact the developer of the theme and ask him to enable his theme 9 lockscreen support)
- You can replace any if the theme files EXCEPT: Settings.apk, android.policy.jar, framework.jar, services.jar. If you do replace any if those, your phone will bootloop.
- Enjoy the theme
22. What is Chainfire3D? How to configure it? (Use version v2.8)
- Info: Chainfire3D is an intermediary OpenGL driver. What does that mean? It means that Chainfire3D sits between your apps and the graphics drivers, and can intercept and/or change commands between the two. It has some built-in functions, and can be further extended with plugins to provide extra functionality. (More info: http://forum.xda-developers.com/showthread.php?t=1087427)
- With Kyrillos' rom v9 + Chainfire3D you can play some 3d games, or play some games better than before & without white textures.
- Chainfire3D installation: Ensure that you have Kyrillos' rom v9 OC. Download Chainfire3D Free or Chainfire3D Pro, run it, accept the su permissions. Press "CF3D driver", and then press "Install". The phone will reboot in a few seconds/minutes.
- Plugin installation: When it boots up, download the plugins (search for Chainfire3D plugins on google. Plugins: libGLEMU_NVIDIA.so, libGLEMU_POWERVR.so, libGLEMU_QUALCOMM.so), put the in your sdcard and open the app. Press "Install Plugins and Shaders". The app will search your phone to see if there is any plugin available in your sd. Install all the three plugins. Go back to the main app menu.
- Configure Chainfire3D: In the main app menu, press "Default OpelGL settings". Select the option "Reduce texture quality", and then choose plugin by pressing "Use plugin". There are 3 choices: Powervr, Qualcomm & Nvidia.
- Test the plugins: Select the "Powervr" plugin and run the game you want. Run it for a minute. Then close the game and change the plugin to "Qualcomm" and run the game for a minute. Compare which plugin worked best (if it worked) and enjoy the game. Note: Nvidia games require Nvidia plugin.
23. Most of the apps are being installed in sdcard instead of internal/partition. How can i change the default app install location to internal?
- Open terminal amulator
- Type:
su (enter)
pm setInstallLocation 1 (enter)
- Done [Info: 0 (Auto), 1 (Internal), 2 (External). You can see the current state by typing "pm getInstallLocation".]
24. How to convert my sdext partition from ext3 to ext4?
- Download KMapp from here: http://forum.xda-developers.com/showthread.php?t=1301697
- Install it and run it. Accept the superuser permissions and press the menu button. Select "Filesystem Conversion". Scroll down and select Sdext => ext4 and click "Convert".
25. What is Mobile Tracker and how to set it up? (Highly recommended // Enabled it in case you lose your phone) (for Kyrillos rom v9.4+)
- The Samsung Galaxy 3 comes with a mobile tracker software by default which is not activated, as you need to register your phone and account with the Samsung online website. Only then the option works and your phone goes more safer, as the Mobile tracker is one of the best options to use when your phone is stolen or lost.
The Samsung Dive mobile tracker is something that helps you remotely work on your phone when it is stolen. The online website of its helps you in remotely swiping the phone and delete delete your private data. Though this service is not available in India, a few features of its work, like prompt SMS sending when the phone is used with any new SIM than that which was used to register with the mobile tracker. The app also helps in getting the location information of the phone.
- How to set it up (source):
α. Go to Applications => Settings section in the phone. Select Location and Security tab in it.
β. Scroll down in the menu in Location and Security, and you will see a section for Mobile tracker. Here you need to hit the “Set Mobile Tracker” option which will set the mobile tracker recipient and control the remote phone that is activated. It will take you through the process of registration and set-up of the mobile tracker.
γ. The first thing you need to set is the mobile tracker password which would be asked to you or anyone who changes the SIM in the phone. It has to be of 8 digits and all numeric characters in it. You need to remember this password for always, as it can get your phone locked if you forget it and type the wrong password multiple times.
δ. After you set the password, you need to add recipients to whom the phone sends an SMS from the new SIM to notify/alert them about the changes made in the phone.
ε. Set the information of the sender, i.e. the Sender name and the message to be sent to the recipient. And then agree to the terms.
στ. Login through your Samsung account, and if you have not registered to it, you can do that for free online by registering the product. And then you would be directed to the mobile tracker settings where you can change any recipient or make changes in the samsung account.
ζ. After everything is setup, go back to the Settings section, and into the Location and Security section. There you have to check the “Mobile Tracker” option, so that it is activated.
Note: If at all you have reset your phone through the factory reset option, all the information in the Mobile tracker is lost. You need to set it all over again.
- Now if you lose your phone or somebody stole it, you can track it and/or lock it and/or wipe all your private data in SamsungDive.
Copyright 2011© All Rights Reserved, Kyrillos13
Reserved for future use
Reserved for future use xD
I flashed your version of ROM directly from DDJP2 with the hope that camera bug would go,and the facebook touchsite would open. But even your rom has the same thing. So i changed to the european version new release XWJPF. And its pretty stable an i can bet its boots alot faster than any of the custom rom or even offcial ROM.
Anyway is there any solution.
1)The camera bug. YOu cant click a photo unless you get a fix on location or disable the location settings.
2)Facebook touchsite wont open like it use to open in eclair. DDJP6. And when you open facebook it shows GT-I5510.
Please fix this.
ayancold said:
I flashed your version of ROM directly from DDJP2 with the hope that camera bug would go,and the facebook touchsite would open. But even your rom has the same thing. So i changed to the european version new release XWJPF. And its pretty stable an i can bet its boots alot faster than any of the custom rom or even offcial ROM.
Anyway is there any solution.
1)The camera bug. YOu cant click a photo unless you get a fix on location or disable the location settings.
2)Facebook touchsite wont open like it use to open in eclair. DDJP6. And when you open facebook it shows GT-I5510.
Please fix this.
Click to expand...
Click to collapse
I use facebook touch without problem What problem do you face?
Does swap makes a diffrence in perfomance?How about sd'd life is it decreased from the constant read-write?
mpbm23 said:
Does swap makes a diffrence in perfomance?How about sd'd life is it decreased from the constant read-write?
Click to expand...
Click to collapse
Linux-Swap
What is SWAP?
Swap space is an auxiliary storage, such as a portion of a hard-disk, which can be used as memory by the operating system when system RAM is insufficient. This is especially useful on systems with very little system RAM, such as most DD-WRT compatible routers, as it helps prevent the system from running out of memory when multiple background processes are installed.
Swap is rarely used, and if you have a high class sd you may see more responsive phone.
kyrillos13 said:
Linux-Swap
What is SWAP?
Swap space is an auxiliary storage, such as a portion of a hard-disk, which can be used as memory by the operating system when system RAM is insufficient. This is especially useful on systems with very little system RAM, such as most DD-WRT compatible routers, as it helps prevent the system from running out of memory when multiple background processes are installed.
Swap is rarely used, and if you have a high class sd you may see more responsive phone.
Click to expand...
Click to collapse
So in a class 2 SD swap should not be used.
But a class 4 is OK, isn't it?
thx for this thread. Reading for a long time, but i never made a post, because its not possible on the other thread.
Using the non OC 4.1, b/c i had freezes with the OC version. But the normal version is ok for me.
@kyrillos
I tried every rom available here and yours by far the best. thx for the great work
GalaxyDrei said:
But a class 4 is OK, isn't it?
Click to expand...
Click to collapse
Yeah
andro456654 said:
thx for this thread. Reading for a long time, but i never made a post, because its not possible on the other thread.
Using the non OC 4.1, b/c i had freezes with the OC version. But the normal version is ok for me.
@kyrillos
I tried every rom available here and yours by far the best. thx for the great work
Click to expand...
Click to collapse
Thanks
clarkkov said:
The "gt 5510" issue is Facebook's problem, not Kyrillos's or Samsungs problem. This does not affect anything, other phones are detected falsely, too. Facebook divided phones to groups and the most ubiquotous phone is shown. This only serves for offering you the correct version of Facebook app. This is a non issue.
I never saw "the camera bug", is this present only in India?
Sent from outer space!
Click to expand...
Click to collapse
I dont know whether this camera bug is present only in india or not but...my question is is there any solution for it????
kyrillos13 said:
I use facebook touch without problem What problem do you face?
Click to expand...
Click to collapse
i mean when ever i open facebook touch site the mobile site opens. And is there any solution for the camera bug???
Every time i click a photo i have to wait for a lock or have to disable the location.
My camera was working perfect on Stock eclair DDJG6. But after upgraing i am having this prblm. My camera is working perfect but if the location is enabled and if i dont have lock on my position my camera would force close if a click a photo. But if its turned off it works flawlessly. And in FROYO their isnt any option for turning off Geo-tagging.
And when i flashed kyrillos 4.1 i ddnt do any partition or anything i directly flashed it over DDJP2 by wiping cache. And i ddnt understand the procedure of the partitioning properly. I liked the ROM though.
Do you have any solution for this prblem..or a most stable ROM that doesnt have any prblm.
DDJG6>DDJP2>Kyrillos 4.1>XWJPF
tnx for thread.
I have v4.1 and i had some probs. 1st when using CoPilot and GPS. Phone was just turn off, and that happend 4 times :S. 2nd: Day before yesterday, phone just turned it self off, and i couldnt turn it on.
Everything else is OK, I have OC version and its great!
Also, can you put battery change by 1% in new version?
TNX
cickova
GPS problem flashing from Lestat 1.8 >> Kyrillos 4.1 fixed
Kryrillos,
Thanks for all these roms
Curruntly using 4.1 ultimate non OC.
4.1 OC just sometimes freezes even at 667 mhz.
Tried Lestat 1.8 alpha 14 is was very slow with reading sd card and also the phone reacts slow.
So decide to flash back to Kyrillos 4.1 non oc.
Everything works only GPS fix was not working.
After wipe cache / factory reset.
It is oke, gps fix in 30 sec or less.
can you do something about flash and 3d driver for next version ?
clarkkov said:
Facebook mobile site is supposed to open if you access Facebook trough browser. Facebook redirects you to the most appropriate version of the site for your device/browser. If you want the Facebook Touch experience, download the Facebook app - called Facebook Touch.
Sent from outer space!
Click to expand...
Click to collapse
I have tried using facebook touch app but it redirects me to the mobile site i dont know why. Even on the official India Update DDJP2. And what about the camera bug?
Sometimes when the phone comes out of flight mode when i try to open wlan ,it does not work and a error comes in the settings.
red02498 said:
can you do something about flash and 3d driver for next version ?
Click to expand...
Click to collapse
No flash, 2D and 3D graphics increased in v5.0
Remember to have the screen turned ON while you apply the script!!!
Hi guys!
Today i want to share with you a script i specifically tailored for our 4C, to decrease high battery drain just by tuning parameters of the interactive governor.
As many of you know, on the Nexus 5X forum there is a huge post about different profiles created to achieve the same purpose, and almost all of them works with our device (personally tested)
[GUIDE] Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life!
I raccomed to read it!
One of them in particular was extremely good battery wise but i felt some lagginess here and there (talkin about HawkTail 1.2)
So i decided to make a script myself and share it with you, the idea behind it is to force the CPU to scale better with loads and making the Big cores in use more frequently by tuning some of the kernel parameters.
Plus we will have the GPU idling @ 180MhZ instead of 300MhZ (like in the Nexus 5x) and a switch to noop scheduler.
Performance wise and taking in example the latest stable ROM from Xiaomi.eu (8.0.5) we will have a decrease of about 5k point in Antutu (I'll attach two screenshots, the 71K was the result without tweaking, plus just by switching back to CFQ scheduler you'll get 2K points back but NOOP is more battery friendly)
So here you go, this is my script TAO.
Using it is pretty simple and you have a couple of options: [ROOT IS NEEDED]
Since it's a script, if your rom have INIT.D folder support, you can just move the file under /etc/Init.d and reboot the device. The script will make a log file under /sdcard/TAO.log that you can check if anything went wrong.
The second option, if your rom doesn't have Init.d folder support, just use Kernel Auditor and a text editor.
Open the downloaded file in a text editor, select all and copy the text.
Then open Kernel Auditor, and in the menu look for init.d, enable the "Emulate Init.d" and then click the "+" symbol. It will ask to add a name (let's set it to TAO for coherence), then OK. It will open a new window where we have to paste all the text previously copied, save it by pressing the icon on the top right. Now we can just reboot the device or click the newly created item and select execute.
Third option is to run it manually from terminal.
Plus, i'll add my Thermal-engine-8992.conf that you guys can use to change the thermal throttling values. Download it and replace it in /system/etc/ , set it with permission 644 and reboot.
This modded thermal will move up the limits, long story short, your device will continue to perform even if it gets hot.
Enjoy! & report back for feedback
Remember to have the screen turned ON while you apply the script!!!
P.S.
Files are zipped, extract them!!!
UPDATE
Minor update - use_sched_load set to 0 for both cores
Correction made for the log file
UPDATE 0.7
Since @solis_f is having some problem with the big cores, and this could be a common problem to many others too i've decided to add something in the script that will force the big core online so you should not have any more problem executing the script. Let me know
UPDATE 0.8 - Experimental
Updated Target_loads for both Little and Big cores.
Little core min freq. to 384 MhZ.
Input boost @ 787 MhZ instead of 600 MhZ.
hispeed_load disabled for both cores.
Updated values for UpMigrate.
Enabled core_ctl for big cluster:
With this update, you'll have your big cores Offline most of the time, but they will comes online when needed.
Yours perfd (/data/system/perfd/default_values) with this version have to look like this:
Code:
ihf;787200
iahd;38000
ighl;200
itl;39 460800:5 600000:62 672000:10 787200:81 864000:90 960000:99
gpu_default_pwrlvl;5
sst;33
smil;20
sminr;3
sitl;65
sum;66
sdm;54
cbmf;1525
cbhdr;90
cbhip;16
ihf0;787200
iahd0;38000
itl0;39 460800:5 600000:62 672000:10 787200:81 864000:90 960000:99
imst0;0
ighl0;200
imf0;0
itr0;30000
its0;-1
iiib0;1
intb0;0
ibd0;0
ihf4;1248000
iahd4;38000
itl4;53 768000:64 864000:72 960000:79 1248000:99
imst4;0
ighl4;200
imf4;20000
itr4;30000
its4;-1
iiib4;1
intb4;0
ibd4;0
P.P.S.
Over two hundred downloads, but not even half of you gives me feedback...
UPDATE 0.9
Sorry for the delay, many things to do IRL.
This version is what i'm using now, should be smoother then v0.8, hope you like it.
nice one, will try this
Did you try to run Antutu several times in a row, so we can see is the result of 66k almost constant. Since as we all know, results can degrade towards 44k because of overheating..
predragiPredrag said:
Did you try to run Antutu several times in a row, so we can see is the result of 66k almost constant. Since as we all know, results can degrade towards 44k because of overheating..
Click to expand...
Click to collapse
I did not, but degradation of score is dictated by the thermal config. That's why i modded that too, and pushed the standard limits...
Let me show you with an example:
Code:
[SS-SKIN-XO-THERM-PERF]
algo_type ss
sampling 250
sensor xo_therm_buf
device cluster1
set_point 43000
set_point_clr 37000
time_constant 0
device_max_limit 800000
This is taken from the original file, and it covers the big cluster... when it reach 43° celsius, the thermal throttling will limit the max frequency of the cluster to 800MhZ
Code:
[SS-SKIN-XO-THERM-PERF]
algo_type monitor
sampling 5000
sensor quiet_therm
thresholds 46000 48000 50000
thresholds_clr 44000 46000 48000
actions cluster1 cluster1 cluster1
action_info 1632000 1248000 960000
This is the same part but modified by me, i've added more step... as you can see thermal throttling for big cluster will work once the big cluster reach 46° and it will cut the max frequency to 1632MhZ, then at 48° 1248MhZ and at 50° at 960MhZ
The hot-plug, that put the cores offline, on the original file for the big cluster is marked at 42° for core 4 and 45° for core 5.
On my config file both cores will be hot-plugged once they reach 52°.
TL;DR if you use my thermal-engine conf file, you will get more consistent score on several runs.
Nice to hear that will try this when I have more time to play with my phone and report back.
Great work and thanks for sharing this
GoldGanja said:
Hi guys!
Today i want to share with you a script i specifically tailored for our 4C, to decrease high battery drain just by tuning parameters of the interactive governor.
As many of you know, on the Nexus 5X forum there is a huge post about different profiles created to achieve the same purpose, and almost all of them works with our device (personally tested)
[GUIDE] Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life!
I raccomed to read it!
(...)
Enjoy! & report back for feedback
P.S.
Files are zipped, extract them!!!
Click to expand...
Click to collapse
Hi,
I can not apply root because of he problem between pokemon go and root, (I am playing pokemon go with my 8 years old son a father-son activity and he loves it)
I am using a dev miui rom and i did tune my thermal-engine and remove the input boost using the TWRP file manager to apply the files.
This rom does not have init.d folder could i call your script from init.qcom.post_boot.sh? if so, do you know how to?
best regards,
John
You should look for some sort of systemless root, and magisk to masquerade root and be able to play Po Go on a rooted phone. I don't think you can chain load the script within post_boot.sh and by the way to modify it you should have super user permissions. Anyway keep up the father and son activity, is way more important!
Sent from my Mi-4c using Tapatalk
GoldGanja said:
You should look for some sort of systemless root, and magisk to masquerade root and be able to play Po Go on a rooted phone. I don't think you can chain load the script within post_boot.sh and by the way to modify it you should have super user permissions. Anyway keep up the father and son activity, is way more important!
Sent from my Mi-4c using Tapatalk
Click to expand...
Click to collapse
thanx, my son does not talk about anything else...
About the chain load the TS rom does that with ts_power.sh file.
Code:
# ts power scripts permissions
chown -h system /system/etc/ts_power.sh
chown -h system /data/ts_power.sh
Code:
# Call ts_power.sh, if found
if [ -f /data/ts_power.sh ]; then
logi "Call /data/ts_power.sh set_profile $profile"
sh /data/ts_power.sh set_profile $profile
elif [ -f /system/etc/ts_power.sh ]; then
logi "Call /system/etc/ts_power.sh set_profile $profile"
sh /system/etc/ts_power.sh set_profile $profile
fi
I will try to see if it works using your script.
About systemless root, i don't want to be in the middle of the cat and mouse thing. Today google update and tomorrow there is another hide root.
I did replace the thermal engine using the twrp file manager. It works.
Nice share bro. Thermal engine + init.d script is good battery backup for mi4c.
Hello,
could you make patched files available and the place where they should be placed ?
I don't want to root my phone but I want to give your optimisation a try. It is possible with TWRP to replace the files in the file manager. More work but it can be done without root. Therefore however I will need the allready patched files....
A little more "complicated" even... might it not be possible using TWRP to flash these files ? I have no idea how that would work exactly but I can imagine it would be possible to create a flashable zip that replaces these files... It currently goes beyound my abbilities though unfortunatly but maybe someone can help with that.
Thanks for your share @GoldGanja , looks interesting.
But i think the thermal-engine.conf would cause more overheating as it is already (for me reduce overheating is the most important), but i like the way to reduce the clockspeed step by step. Maybe i will try it with lower values.
The modified governer looks great. I think this will help with heating too. But on this there aren´t laggings ?
Thank you! i hope this fix my battery drain and the heat, i'll report if i see changes
@nachtwacht
Even if i make a zip file to use with twrp, this will only be useful for the thermal-engine conf file...because the other one is a script i've created and so there is no other file to replace. As stated ROOT is needed, i'm sorry.
@Danny94
thermal-engine.conf per se will not increase or decrease over-heating, of course one could make a conf file to be more restrictive on the temps and brutally decrease the performance but i don't see the need of this because i don't have any over-heat problem within my device with the script i've made. A major cause of over-heating is the input-boost frequency that by default is set to 1248MhZ, while if you run my script it will be 600 MhZ. Farther i have no lags at all...give it a try and report back. More feedback I have about it, the better I can adjust some parameters.
@HYBRIDEMON
Thanks!
@GoldGanja
Yeah i will try tomorrow if i get some free time.
Wich Rom do you use ? I have at almost all roms overheating problems. After 10 min+ of 3d gaming i have ~55°c + (On my old phone Thl 5k i could play the same game hours, don´t get over 45 °c and no lagging or something - and yeah its not the best phone).
With your thermal config the device throttles later. So it will heat higher, until it shut down big core etc. As hotter it becomes as more difficult its to cooldown. Sure if you won´t reach 52°c would be perfect one. But maybe i will replace the values with lower, else it looks very good.
I can't find tao.log at sdcard.
Script is applied or not?
I copied to etc/init.d and set 755 permissions.
Edit:
Finally I applied manually and I have 2 errors with big cluster settings.
Enviado desde mi Mi-4c mediante Tapatalk
@dany94
I'm using last stable from xiaomi.eu (8.0.5). Anyway, if you get to know how the gears of the thermal engine works, do what is best for your usage. Feel free to change the numbers on my file if needed
siba01 said:
I can't find tao.log at sdcard.
Script is applied or not?
I copied to etc/init.d and set 755 permissions.
Edit:
Finally I applied manually and I have 2 errors with big cluster settings.
Enviado desde mi Mi-4c mediante Tapatalk
Click to expand...
Click to collapse
I think you are using a CM TS rom, right? well, for that you have to do two things.
First, set the battery mode to QUICK, because on BALANCE there is the hotplug of the BIG cores. Then re-run my script.
If that's not the case, maybe the device was just a bit hot, and the hotplug kicked in by the thermal-engine...let it cool down first or use my thermal-engine conf.
Second, rename my file to userinit.sh and place it under /data/local if you want the settings to be applied at each boot.
GoldGanja said:
Even if i make a zip file to use with twrp, this will only be useful for the thermal-engine conf file...because the other one is a script i've created and so there is no other file to replace. As stated ROOT is needed, i'm sorry.
Click to expand...
Click to collapse
Maybe I was not clear or, more likely I do not completely understand which is a fact for sure
Let me clear up the first part, then hopefully in the end I will also better understand
Your script chances several files if I understand correctly ? scaling_min_freq for example is the first one you change in the script ?
Could we not update all the files that you change using TWRP ?
My guess is, (that's just me trying to understand better.....) that I think that using TWRP it is possible to change these files without root, but in reality it is not because the phone is not rooted ? Maybe because only the complete system can be changed and not single files ? (without root)
I do know that in the end, for me it is possible to root my phone, apply the settings, and then unroot it again.... which hopefully have my phone working like it never was rooted... it's just a risk I would like to avoid if in any way possible, therefore I am investigating and trying to get it all clear for me, sorry for that
GoldGanja said:
@dany94
I'm using last stable from xiaomi.eu (8.0.5). Anyway, if you get to know how the gears of the thermal engine works, do what is best for your usage. Feel free to change the numbers on my file if needed
I think you are using a CM TS rom, right? well, for that you have to do two things.
First, set the battery mode to QUICK, because on BALANCE there is the hotplug of the BIG cores. Then re-run my script.
If that's not the case, maybe the device was just a bit hot, and the hotplug kicked in by the thermal-engine...let it cool down first or use my thermal-engine conf.
Second, rename my file to userinit.sh and place it under /data/local if you want the settings to be applied at each boot.
Click to expand...
Click to collapse
I'm using Resurrecction Remix.
Thanks for your answer.
Enviado desde mi Mi-4c mediante Tapatalk
I was pretty sure you will do such a good job for Mi4c! Well done!
Edit: btw big cluster values are not getting applied
solis_f said:
I was pretty sure you will do such a good job for Mi4c! Well done!
Edit: btw big cluster values are not getting applied
Click to expand...
Click to collapse
What ROM are you using?
Sent from my Mi-4c using Tapatalk
Hi Snapdragon S7 users!
As we know we have a locked bootloader, and rooting includes heavy thermal throttling and strange frequency managment done by the system automatically (try to change max/min freq and you will se how it resists). Also to suffer a slower system (apps take longer to open/multitask), And a higher battery consumption (kernel organises processes strangely and big cpu is always under moderate-high load)
i have been searching all over xda (and many other forums) to get to the solution. And this is how far i could get:
Warning
Use this at your own risk!
su.d scripts will break safety net
Thanks to:
@xFirefly93 and his [MOD] Pixel (XL) Unified Kernel(s) Tuning Script (v1.3)
@Zola III
@TheDevelopper
@Craz Basics
Xperia XZ forum
OnePlus 3/3T forums
Pixel XL forum
su.d/init.d
Thermal throttling solution
Block max/min auto frequency: Samsung Custom Frequency Manager, i call it "The Slippery" (gekkehenkie11 explanation here) is "samsungs personal assistant" when it comes to cpu frequency, changing it according to samsung preferences. We don't have sourcecode of it, so we cant modify it. But we can override it so it doesn't modify our settings (we do it with permissions this way) so then you can choose the range of frequencies you prefer with any cpu manager like kernel adiutor (kernel's thermal throttling will still continue working) re-activated in v8 (see changelog for more info)
"Disable" throttling (push it further) = snappier device specially during heavy tasks (tested very heavily and couldnt pass 82C (180F) battery never reached 42C (108F)) you may have different temps due to Sillicon lottery or heavy gaming modified in v8 (see changelog for more info)
We have 3 options to manage temperature: Core Control (turns off cores), VDD Restriction (increases voltage when cpu is really cold) explanation HERE and HERE and Throttling (decreases cpu max freq)
How to check
A log file with the name "90Thermal_solution.log" will be created at /data
Click to expand...
Click to collapse
CPU Solution
If you take a look you will realise big cpu utilization percent is always high, and that leads to higher frequencies used and sustained for more time = higher battery consumption and cpu temps
I've tried to mitigate that by changing interactive cpu governor tunables and after setting tunables i got to a point where big cpu doesn't ramp up so often when nothing is being done (there is always something going on in background but that cpu usage and frequencies when doing "nothing" can't be justified in my opinion (i blame eng kernel for this)
Change gpu governor to cpufreq (i didnt notice any increment in battery consumption whereas the smoothness has increased for good) and set freqs to 214-624mhz (133 caused scrolling lags sometimes. You can change it if you want -> kernel adiutor)
Useful sites:
Advanced Interactive Governor Tweaks by SoniCron - Angler thread
[Guide] Advanced Interactive Governor Tweaks
GoogleSource documentation about governors
Interactive – why is this the best governor? [INFO]
[*] [URL="https://source.android.com/devices/tech/perf/boot-times"]Optimizing Boot Times | Andorid Open Source Project[/URL]
How to check
A log file with the name "91Cpu_solution.log" will be created at /data
Click to expand...
Click to collapse
DAC Solution
Enable class AB config for hph (good explanation of what it does HERE), In simply words:
Prioritize quality over battery consumption (especially when not at max volume)
High performance only works with headphones (or anything you connect using 3,5mm jack)
How to check
A log file with the name "92Dac_solution.log" will be created at /data
Click to expand...
Click to collapse
More Solutions
First of all, the links:
How GPU governor impacts user experience
GPU causing jitter in essential phone
GPU causing jitter in essential phone 2
Sysctl documentation
Extra free kbytes explanation
Extra free kbytes explanation 2
Difference between vm.dirty_ratio and vm.dirty_background_ratio
VM tunning
More VM explanations
Entropy explanation by zeppelinrox
Overcommit ratio is a myth
How overcommit works
good scheduler explanation by kgs1992
cfq, noop, deadline comparison
Improving the Real-Time Properties
What this does:
Adjust some VM things
We will allow dirty data to stay on ram for a while (i cant belive why this was "off" originally -> eng kernel (maybe))
We will ajdust min and extra freekbytes to stock user-kernel value
Adjust lmk values
Increase read ahead and disable io stats (technically this should free some cpu) + change scheduler to deadline
Disable some logs (less 'disk' use) and other useless things
Modify entropy rngd tunables and link random to urandom
How to check
A log file with the name "94More_Solutions.log" will be created at /data
Click to expand...
Click to collapse
Installation
All has been tested in S7 Edge 935V with CRG2 Stock_Oreo_Hybrid by Jrkruse Rooted with Root For S7/S7Edge Oreo And Nougat by Jrkrusewith interactive governor option without issues (no bootloop)
0 ) You must be rooted
1 ) Make sure you have lastest busybox installed Google Play link
2 ) Download the Files (attached)
3 ) Extract .zip or .rar (they have the same files)
4 ) Copy tweak files (.sh ones) you want to apply to
Code:
/system/su.d
or
Code:
/system/etc/init.d
or use any init.d emulator (i dont guarantee it wil work) [MOD][APK+SCRIPT+ZIP] Enable Init.d for Any Phones w/o Need of Custom Kernels!!!
5 ) Set 777 permission (rwx-rwx-rwx)
6 ) Reboot
Click to expand...
Click to collapse
Click to expand...
Click to collapse
build.prop
Dalvik solution
I'll keep this simple
Most important pages:
Configuring ART
Optimize android rutime
GoogleSource: Configuring ART
Eng builds different things
More eng builds different things, and stock values
Google Pixel default values
[MODULE][SYSTEM/LESS] ART Optimization v2.0 [DISCONTINUED]
Conclusions:
Our eng kernel has different values for certain dalvik things which ruins the "smooth android experience" (eng kernels are not meant for normal use). Hopefully most of them can be changed (fixed) into normal/stock values
The whole dalvik cache creation is really complex (and i barely know chunks of it), but to summarise It uses profiles which are a versus of "space utilization vs performance" more speed = less space available and vice versa (there are exceptions of course)
After testing with an exynos s7 besides my snapdragon i saw that exynos dalvik-cache folder was like 1gb big in stock conditions (and the phone was basically factory resetted), whereas snapdragon's folder was 300mb or so (with more than 100 aps installed). After applying the tweaks to exynos variant, dalvik folder went to like 1,2gb. After restoring ~100 apps on exynos dalvik is 1,8gb
Applying this tweaks could lead to (after dalvik-cache gets completely rebuilt):
Apps opening faster (they have more "parts" optimized)
Less cpu cycles used (apps have more "parts" optimized, so no need to waste cpu on doing that every cold launch)
Less battery consumption (above reasons)
Less internal space available (Dalvik cache will get bigger)
Longer first boot (A LOT LONGER) only first after deleting dalvik. Then it will be almost like before applying patch until dalvik gets completely rebuilt.
Some battery consumption increase until dalvik gets completely rebuilt (it's built while phone is booting, idle or charging)
After applying this tweak and deleting dalvik cache next boot will take A LOT LONGER. It's not a bootloop, i can ensure you, just wait. (like 20min)
How to install
Since values were not applying using setprop, i think it's better to add the values inside the build.prop (if someone has a better idea please tell me)
Make build.prop backup
Add values to build.prop
Leave one blank line at the end, like this:
battery.capcacity=3600
improve.performance=true
Last.buildprop.line=1
'empty space'
Click to expand...
Click to collapse
Delete dalvik-cache
Delete what is inside /data/dalvik-cache/
or
wipe dalvik-cache through Flashfire
Reboot (and go make a sandwich as it will take some time)
Click to expand...
Click to collapse
Dalvik takes time to rebuild, so wait some time (a couple of hours of device idle, charging if possible). I suggest you to do this at night some time before going to sleep: follow installation steps, check dalvik folder size and go to sleep (you can take screenshots to keep trace). at the next day check again if it has gain some size, reboot the phone, and use it normally. That night check again dalvik size. As soon as you see it stopped growing you can "document" your feelings with the configuration
Values
pm.dexopt.boot=verify
pm.dexopt.first-boot=quicken
pm.dexopt.bg-dexopt=speed
dalvik.vm.image-dex2oat-filter=speed
dalvik.vm.dex2oat-filter=speed
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.dex2oat-flags=--compiler-filter=speed
dalvik.vm.dex2oat-flags=--compiler-backend=optimizing
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Extra build.prop tweaks
Here are some more build.prop values i found and im using right now. You can add them under dalvik solution ones if you like
boot.fps=30
shutdown.fps=30
ro.secure=1
ro.debuggable=0
persist.sys.scrollingcache=4
sys.config.samp_spcm_enable=false
sys.config.samp_enable=false
ro.config.fha_enable=true
ro.sys.fw.use_trim_settings=false
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Extra
Rendering Solution
We know gpu is better than cpu at graphic rendering
In the old times a file named egl.cfg existed at lib/gles | lib/egl. That file contained the name of the libraries which would be used to render the screen (Phone and external). Some users modified the file in order to force gpu rendering always. This basically made phones smoother (info HERE)
Many people claimed that using gpu rendering only would increase battery consumption, whereas others said the opposite
We dont have egl.cfg, so i investigated and it results that since oreo the EGL loader doesn't need a config file to "know" which libraries to load, it detects the libraries and loads them automatically. So deleting (or renaming) libGLES_android.so makes the EGL loader unable to detect software rendering libraries and stick with only hardware ones, thus disabling cpu rendering List of commits
As far as i've tested, disabling cpu rendering made the device perform smoother (easily noticeable, specially just after a reboot). I didn't notice any big difference with battery (it may be lasting a little longer though)
How to
Rename (or delete) "libGLES_android.so" to "libGLES_android.bak" and set 444 permissions. . The file is at /system/lib/egl and /system/lib64/egl
Reboot
Click to expand...
Click to collapse
Apps Solution
Unlike the rest of solutions, this is not a script. Here i will tell you two group of apps i disabled, and made a LOT of difference in terms of snappiness
Short tuto:
1 ) in titanium backup search for 'qualcomm' with system/defrosted filter
2 ) freeze all
3 ) do the same but searching 'knox'
4 ) delete frozen apps data
5 ) reboot
Long tuto:
1 ) Download Titanium backup
2 ) open and go to 'backup/restore' tab
3 ) 'click to edit filters' and select type 'system', temperature 'defrosted'. the rest in 'all'
4 ) apply filter
5 ) click the magnifying glass and type 'qualcomm'
6 ) tap the paper with a tick
7 ) go to 'freeze/defrost' and tap 'run' in the first option "freeze all user & system...."
8 ) select all and tap the tick
9 ) repeat from step 5 but instead of qualcomm type 'knox'
10 ) go to 'backup/restore' tab
11 ) 'click to edit filters' and select type 'system', temperature 'frozen'. the rest in 'all'
12 ) tap the paper with a tick
13 ) go to 'manipulate data' and tap 'run' in the second option "wipe data for user & system apps"
14 ) select all and tap the tick
15 ) reboot
I will leave you also attached some screenshots of the apps i have frozen, so you can be sure they don't cause bootloops in case you wonder that. If you froze/disable something and suddenly something stops working (for example: bluetooth doesnt turn on) just defrost/enable it again and you should be fine
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Solution Installer
This is just 2 .bat installer, which will install
EngSolution.bat
Thermal Throtlling Solution
Cpu Solution
Dac Solution
More Solutions
Rendering Solution
A modified sysconfig to allow google play services and playstore be optimized by doze
AppSolution.bat
Will delete lots of apps i consider bloat
This is done using a pc
1 ) Unzip/decompress
2 ) Run .bat you want
3 ) Device will reboot once completed
Click to expand...
Click to collapse
If you want to Uninstall
1 ) Delete the files you copied and reboot
2 ) If you used dalvik solution, restore build.prop backup and wipe dalvik cache (delete the files inside /data/dalvik-cache/) --> Next boot will take more time after this (only the next one after deleting)
3 ) If you used Rendering solution, restore stock name and set permission to 777
4 ) If you used Apps solution, defrost all the apps you froze
Click to expand...
Click to collapse
Changelog
V2
V3
V4
V5
V6
V7
V8
V9
Click to expand...
Click to collapse
Has anyone tried this and noticed any improvement? What about heat issues?
Archangel said:
Has anyone tried this and noticed any improvement? What about heat issues?
Click to expand...
Click to collapse
I have! I have noticed my device is much more snappy and I do notice an improvement in audio. I have a s7 edge and it is running cool.
I ran it for a day or so and it seemed to make mine run hotter,,,I will try it again and see
C64assembly said:
I have! I have noticed my device is much more snappy and I do notice an improvement in audio. I have a s7 edge and it is running cool.
Click to expand...
Click to collapse
Archangel said:
I ran it for a day or so and it seemed to make mine run hotter,,,I will try it again and see
Click to expand...
Click to collapse
It will run hotter. Anyways i couldn't make cpu surpass 82C/180F, and i think it's really worth the benefit. I think samsung's eng kernel throttling wasn't totally polished, because some degrees ahead device stops getting hotter (unless during a heavy task), apps opening/switching becomes noticeably faster and scrolling lag decreases
I need to do some more research about how thermal throttling kicks in (eng kernel is weird) because i have plans and new ideas for an update but im not having my phone in hands until next week. Im thinking of wether release all at once or make it in 2 or 3 simpler updates
Reorganized post, added dalvik tweaks, redone all the scripts.
I suggest anyone who is using this uninstall and install new versions
I do not know if you're aware but Im pretty sure installing these and rebooting breaks safetynet! I had signed out of snapchat a day after installing these and tried to sign back in and i got the dialog you get if you are rooted and snap detects safetynet is broken, I then went an uninstalled the files from the su.d, rebooted and i was able to log in again, might want to add to OP !
gwilly3301 said:
I do not know if you're aware but Im pretty sure installing these and rebooting breaks safetynet! I had signed out of snapchat a day after installing these and tried to sign back in and i got the dialog you get if you are rooted and snap detects safetynet is broken, I then went an uninstalled the files from the su.d, rebooted and i was able to log in again, might want to add to OP !
Click to expand...
Click to collapse
oh, thank you. Since don't use snapchat, and none app has given me problems, i didn't realise it. added to op :good:
Are build.prop lines working for you without breaking safety net?
Maxissc said:
oh, thank you. Since don't use snapchat, and none app has given me problems, i didn't realise it. added to op :good:
Are build.prop lines working for you without breaking safety net?
Click to expand...
Click to collapse
Build.prop lines should be fine, they won't break safetynet. As that's what apps like L-Speed modify are lines in the build.prop and it doesn't cause any problems
Maxissc said:
Hi S7 users!
As we know we have a locked bootloader, and rooting includes heavy thermal throttling and strange frequency managment done by the system automatically (try to change max/min freq and you will se how it resists). Also to suffer a slower system (apps take longer to open/multitask), And a higher battery consumption (kernel organises processes strangely and big cpu is always under moderate-high load)
i have been searching all over xda (and many other forums) to get to the solution. And this is how far i could get:
Warning
Use this at your own risk!
su.d scripts will break safety net
Thermal throttling solution
CPU Solution Not finished, only touchboost tweaks for now
DAC's high performance mode
Installation
Dalvik solution
If you want to Uninstall
Click to expand...
Click to collapse
Have you had anymore development on these? Running these along with my flashing stock BL tweak has been very helpful
gwilly3301 said:
Have you had anymore development on these? Running these along with my flashing stock BL tweak has been very helpful
Click to expand...
Click to collapse
Yes, im currently testing 2 configs to decide which is better. Then i'll finish with cpu governor tunables and update op
Maxissc said:
Yes, im currently testing 2 configs to decide which is better. Then i'll finish with cpu governor tunables and update op
Click to expand...
Click to collapse
Awesome, thanks for the update! Don't mean to nag
UPDATE V2
Reworked Thermal solution
Added cpu tunables tweaks (at Cpu Solution)
Deleted some build.prop lines (also there aren't test values any more)
Maxissc said:
UPDATE V2
Reworked Thermal solution
Added cpu tunables tweaks (at Cpu Solution)
Deleted some build.prop lines (also there aren't test values any more)
Click to expand...
Click to collapse
Awesome, trying now! Will let you know how it runs!
---------- Post added at 11:39 PM ---------- Previous post was at 11:15 PM ----------
Maxissc said:
Hi S7 users!
As we know we have a locked bootloader, and rooting includes heavy thermal throttling and strange frequency managment done by the system automatically (try to change max/min freq and you will se how it resists). Also to suffer a slower system (apps take longer to open/multitask), And a higher battery consumption (kernel organises processes strangely and big cpu is always under moderate-high load)
i have been searching all over xda (and many other forums) to get to the solution. And this is how far i could get:
Warning
Use this at your own risk!
su.d scripts will break safety net
Thermal throttling solution
CPU Solution
DAC's high performance mode
Installation
Dalvik solution
If you want to Uninstall
Click to expand...
Click to collapse
Does Dalvik Solution.txt go into /su.d as well?
gwilly3301 said:
Awesome, trying now! Will let you know how it runs!
---------- Post added at 11:39 PM ---------- Previous post was at 11:15 PM ----------
Does Dalvik Solution.txt go into /su.d as well?
Click to expand...
Click to collapse
no, i'ts just a txt you can use to copy build.prop tweaks more easily.
about the .sh tell me if you have the logs at /data because i wasn't having them (neither the scripts running) until i deleted and pressed enter at every line of the files (i dont understand why that fixed the issue)
UPDATE V3
Reupdated V2 with scripts working correctly now
Maxissc said:
no, i'ts just a txt you can use to copy build.prop tweaks more easily.
about the .sh tell me if you have the logs at /data because i wasn't having them (neither the scripts running) until i deleted and pressed enter at every line of the files (i dont understand why that fixed the issue)
Click to expand...
Click to collapse
No, no logs. Does that mean scripts aren't running then?
gwilly3301 said:
No, no logs. Does that mean scripts aren't running then?
Click to expand...
Click to collapse
yes. please try with v3 i just uploaded. im sure they are working fine now
Maxissc said:
UPDATE V3
Reupdated V2 with scripts working correctly now
Click to expand...
Click to collapse
Should I re-download? Also with the, .txt file, I need to copy what's in there to my build.prop or do the scripts already do that?
---------- Post added at 11:55 PM ---------- Previous post was at 11:54 PM ----------
Maxissc said:
yes. please try with v3 i just uploaded. im sure they are working fine now
Click to expand...
Click to collapse
Do I need to clear dalvik again?
gwilly3301 said:
Should I re-download? Also with the, .txt file, I need to copy what's in there to my build.prop or do the scripts already do that?
---------- Post added at 11:55 PM ---------- Previous post was at 11:54 PM ----------
Do I need to clear dalvik again?
Click to expand...
Click to collapse
redownload, delete previous files (from v2) at su.d, and copy new ones and give them 777 permission (all rwx). add .txt lines at the end of build.prop (remember to leave a blank line at the end), delete dalvik cache and reboot. it will take a while to boot after deleting dalvik (5-10min or so)