[MOD][Interactive Tunables] Excelsior Profile - Xperia Z5 Android Development

Hello everyone, here I present to you a stunning profile - Excelsior - optimized for performance, less heat & stunning battery life.​
EXCELSIOR PROFILE​
Explanation & Features
Well, many of you might be using GovTuner mod or Xenon Tweaks, but you might still be expecting Stock Like Performance, so for such people here I bring to you Excelsior Profile - meticulously calculated values for the Interactive tunables. This is brought to public only after a lot of extensive testing by myself & -DM-, for the most part he did stunning battery tests & brought me proof of concept.
The main aim was to achieve stock like performance but with less heat - this was done by making use of the lower & mid-lower frequencies for most tasks without any noticeable lag, which also translates to better battery.
Results are attached below.
Now, obviously everyone might have different results according to the rom used. The above results are gained from RomAur 4.2.1 with Xposed & Greenify, and browsing, messaging, some video, few calls, 2 e-mail accounts always running with imap push, stock messaging and 3rd party messaging app also always running in background with LTE always on, on a E6853 - Z5 Premium.
Installation
Now, for people with init.d support, just copy the file under system/etc/init.d & give permissions 777.
And for those who don't have init.d, you can just add .sh extension to the file & run it with root & on boot with any script manager app.
For people who use Kernel Adiutor - Excelsior.json has been attached, you can just go to Kernel Adiutor > Profile > Import & apply it and select apply on boot.
Downloads
init.d script - https://drive.google.com/open?id=0BzzQ3ZoP3L62WEtoTzNDWWRzaEk
Kernel Auditor Profile - https://drive.google.com/open?id=0BzzQ3ZoP3L62VkFERzI4OXVtUE0
Credits
Me - obviously.
-DM- for extensive testing & results.​

Giving it a go now. Will report back with how it's been running after a few days Thanks
BTW, what theme are you using in the first 2 screenshots?

JonesWTF said:
...BTW, what theme are you using in the first 2 screenshots?
Click to expand...
Click to collapse
Those 2 are mine, status bar mod with flat style bar indicators module, the nav bar is from xstana but I moded one of the theme in the apk itself as I wanted more spacing in between icons...by doing that the touch highlights on the nav bar were off centered so I made a theme to remove those highlights on touch...
The theme apk that I made is here ---->View attachment tmp_7829-gray-dav-1306345171.apk
Now for the Excelsior mod, getting a smooth fast experience all around...great battery life, phone is cooler....the mod is use on RomAur with Zach's Kernel 2_4_7, no thermal mod added (I will test with some in future)
@Christian Fleming did an excellent job with this mod...

Over the last few days, I've had fairly identical results. Everything seem to run super smooth, too.

I had everything same with and without profile.

JonesWTF said:
Over the last few days, I've had fairly identical results. Everything seem to run super smooth, too. View attachment 4017115View attachment 4017116
Click to expand...
Click to collapse
L33Tgod said:
I had everything same with and without profile.
Click to expand...
Click to collapse
Well, if you actually read the OP - the main aim was stock like performance with less heatage, both of you I presume, use the regular Z5 with a 2900mAh battery, you're almost reaching 5 hours - pretty good for a Z5. Thank You again.

Christian Fleming said:
Well, if you actually read the OP - the main aim was stock like performance with less heatage, both of you I presume, use the regular Z5 with a 2900mAh battery, you're almost reaching 5 hours - pretty good for a Z5. Thank You again.
Click to expand...
Click to collapse
but I don't get near 6 hours like you screenshoted, hardly 4 and a half hours.

Christian Fleming said:
Now, obviously everyone might have different results according to the rom used. The above results are gained from RomAur 4.2.1 with Xposed & Greenify, and browsing, messaging, some video, few calls, 2 e-mail accounts always running with imap push, stock messaging and 3rd party messaging app also always running in background with LTE always on, on a E6853 - Z5 Premium.
Click to expand...
Click to collapse
L33Tgod said:
but I don't get near 6 hours like you screenshoted, hardly 4 and a half hours.
Click to expand...
Click to collapse
Could you not read the original post?? It's mentioned there - it depends on your usage, for my own self - I get 5 hrs & 45 mins of SOT cause of games. Try use Greenify - it helps.

Christian Fleming said:
Could you not read the original post?? It's mentioned there - it depends on your usage, for my own self - I get 5 hrs & 45 mins of SOT cause of games. Try use Greenify - it helps.
Click to expand...
Click to collapse
i have greenify combined with xposed for better results and even without games i get low SOT

anyone knows why greenify wont ask me for root? Its donated version
fixed it by disabling xposed module for greenify and than reenable it

New Version for Nougat.
*Recalculated some values.
*Less overheating.
*Better Battery.
*Balanced usage of all frequencies, the usage of frequencies above 1.2 Ghz is reserved for only tedious tasks resulting to better battery life for little cores.
*Frequent throttling of bigger cores to 1.9 Ghz reduced translating to lesser heat.
Still in testing phase.
https://drive.google.com/file/d/0BzzQ3ZoP3L62QUpkYklmdkZsQVU/view?usp=drivesdk

i copied into su.d folder.... root/su.d/
will it still work??
thanks

whalesplaho said:
i copied into su.d folder.... root/su.d/
will it still work??
thanks
Click to expand...
Click to collapse
I haven't tested with su.d, it works fine with init.d/Kernel Aduitor Init.d emulation.
You can also use script manager & set it on boot, just check the changed values in any Kernel Control app you use.

Christian Fleming said:
I haven't tested with su.d, it works fine with init.d/Kernel Aduitor Init.d emulation.
You can also use script manager & set it on boot, just check the changed values in any Kernel Control app you use.
Click to expand...
Click to collapse
im using exkernel manager.....
how do i check, just check the changed values in any Kernel Control app you use?
thanks

whalesplaho said:
im using exkernel manager.....
how do i check, just check the changed values in any Kernel Control app you use?
thanks
Click to expand...
Click to collapse
Yeah just match the values in any app & you'll be fine.

Christian Fleming said:
Yeah just match the values in any app & you'll be fine.
Click to expand...
Click to collapse
okay brov.... i ll double but check now & my settings is still same!

whalesplaho said:
okay brov.... i ll double but check now & my settings is still same!
Click to expand...
Click to collapse
If you use Script Manager, that works, & if you use Root Explorer, navigate to su.d & tap on Excelsior, open with Linux Script Handler & execute the file, this works too.

Christian Fleming said:
If you use Script Manager, that works, & if you use Root Explorer, navigate to su.d & tap on Excelsior, open with Linux Script Handler & execute the file, this works too.
Click to expand...
Click to collapse
i have applied with script manager & keep watch....
thanks

How i import the v2 to kernel adiutor? The file isn't .json (sorry if my english is bad).

Rekon.fs said:
How i import the v2 to kernel adiutor? The file isn't .json (sorry if my english is bad).
Click to expand...
Click to collapse
I haven't yet created a json for V2 yet, you can put the script in system/etc/init.d & emulate init support with Kernel Adiutor if you don't have it.

Related

[MINIGUIDE][CM7|Stock] V6 Supercharger for the 2x (Smoothness & Snappyness)

.
Attention: This guide is for an older version of the V6 SuperCharger.
This doesn't mean that you can not use this guide as a reference or interesting read, but the new script has some more options which aren't covered here. You have to read the instructions within V6 carefully.
I did a lot of testing some weeks ago and now that I finally have some time I'd like to share what I got so far.
The V6 Supercharger is a tweak skript by zeppelinrox which works really great on my 2x. It feels smoother and snappier than ever - and multitasking is damn fast (and I never felt that CM7.2 was unsnappy.. but there is a difference now).
I won't talk a lot about what it is and how it does work - read the original thread. It has an even better effect on low spec phones, but it does improve the snappyness on high-end phones, too (and is even used on Samsung Galaxy S II and Galaxy Nexus phones!)
[Script][MOD][U9RC6.1] Sticky 'n Smooth ISCream-=V6 SUPERCHARGER!=-The ONLY RAM Fixer
All credits go to zeppelinrox for this great script!
Here's a quote for what it does:
zeppelinrox said:
What's it do?
It makes your phone FAST... super snappy with better multitasking!
It rearranges and fixes the OOM Groupings and Priorites and lowmemorykiller values.
So basically, it's a COMPLETE MEMORY MANAGEMENT FIX!
It's the ONLY one of it's kind
NO LAUNCHER REDRAWS, faster than ever, multitasking is better... why?
Because it works with the lowmemorykiller and letting it work the way it's meant to work.
Click to expand...
Click to collapse
Warnings:
This is not for ICS! Go to the 2nd post in the thread linked above - there are instructions for ICS (CM9) - I don't use CM9 yet and don't want to include instructions here, which I haven't tested thoroughly.
You shouldn't use this with custom kernels (like vadonkas) I guess - it might break some tweaks from the kernel devs.
I tested this with CM7.2 (temasek KANG) with the stock CM-kernel and it is working GREAT! It should make an even greater difference on Stock - please report!
I tested lots of options and never had a single problem.. but you should do a nandroid backup! There is always a slight chance that something goes wrong.
Click to expand...
Click to collapse
Instructions:
(type all options without quotes.. I hope that's obvious)..
Go to Settings - Cyanogenmod - Performance and make sure that "Lock home in memory" is not checked. If it is: uncheck it and restart (don't worry, the tweak will take over with a better solution than a permanent lock in memory).
Download the "V6_SuperCharger_for_Android-update9_RC6.1.sh.txt" from the original thread or from the attachments here and put it to the root directory of your SD card.
Open "Terminal Emulator"
Type "su" (and approve the Superuser request)
Type "cd /sdcard"
Type "sh V6*" (this is cAsE-sensitive)
The first time "wizard" will guide you through the installation process.
for the scrolling speed "2" is a good choice for the first time
type "b" for the build.prop option
type "y" to integrate /init.rc
I disabled the "AWESOME" animation (type "y") because it would get annoying after waiting for it to finish after the 3rd time.. sorry for that zeppelinrox
press the enter key
now type "10" (Quick V6 Custo-OOMizer option)
type "y" to use the calculated values
press enter twice
type "29" to reboot and wipe dalvik cache. The restart will take a while, be patient, that's normal!
that's it!
Click to expand...
Click to collapse
There's a "quick walkthrough" in the second post - together with the best options (at least for me) for the older update 8.
Again: All credit to zeppelinrox - he has a donation link in his thread! If you like it, donate to him please
Quick walkthrough - commands only (update 9 RC6.1):
("type Enter key" or "type any key" not mentioned)
Code:
su
sh /sdcard/V6*
2
b
y
y
10
y
29
Click to expand...
Click to collapse
------------------
Instructions for the "older" update 8:
Go to Settings - Cyanogenmod - Performance and make sure that "Lock home in memory" is not checked. If it is uncheck it, restart the device and recheck
(don't worry, the tweak will take over - I didn't have a single launcher redraw).
Download the "V6_SuperCharger_for_Android-update8.sh.txt" from the original thread or from the attachments here and put it to the root directory of your SD card.
Open "Terminal Emulator"
Type "su" (and approve the Superuser request) (without quotes.. I hope that's obvious)
Type "cd /sdcard"
Type "sh V6*" (this is cAsE-sensitive)
Type "0", "1", "2", or "3" to set how fast the text will scrool. "2" is a good selection for the first time.
Choose "9"
Type "16" (your device will restart without further warning!)
Click to expand...
Click to collapse
tonydl said:
under construction
Click to expand...
Click to collapse
Great but hard to set
PYCON said:
Great but hard to set
Click to expand...
Click to collapse
Sorry.. I wrote that because I pressed "Submit New Thread" accidentally before the post was ready. It's up now
there is already a update 9, which works perfect on the speed, but I don't see great improvements between Chuck Norris Edition with and without V6. Think Chuck Norris is already so awesome.
P.S: really easy to set up, just download Script Manager from the Market, open it, click on SU and open up this Script, everything else will be explained through the MENU
Has anyone tested this with the latest vadonka's ETaNa yet?
I know it's not ready yet, but I'm already psyched about it :-D
I already have a question about it.
If I run this skript is it suggested to change minfree values?
I have mine set on 16-24-32-90-100-110 right now. Thats pretty heavy I think, but Setiron suggested those values.
---------- Post added at 08:22 PM ---------- Previous post was at 08:19 PM ----------
TweetyPeety said:
there is already a update 9, which works perfect on the speed, but I don't see great improvements between Chuck Norris Edition with and without V6. Think Chuck Norris is already so awesome.
P.S: really easy to set up, just download Script Manager from the Market, open it, click on SU and open up this Script, everything else will be explained through the MENU
Click to expand...
Click to collapse
Hey, can you tell us how long you've been using this?
And can you tell us where you actually saw the improvement?
TweetyPeety said:
there is already a update 9, which works perfect on the speed, but I don't see great improvements between Chuck Norris Edition with and without V6. Think Chuck Norris is already so awesome.
Click to expand...
Click to collapse
Yup but update 9 is still a RC. I know it's pretty stable but haven't tested it yet, will do that over the weekend and update the instructions if everything works fine.
You're correct - the Chuck Norris ROM does use a lot of tweaks, too - this is mainly focused to non-tweaked CM7 and Stock ROMs
Great... I include always it in my rom...
Inviato con il mio P990 DjangoManouche!
Wow, thanks very much, my device feels superfast right now!
Do i have to repeat this procedure everytime i flash an cm update, e.g. a kang?
this script only advantage the bulletproof/hard to kill launcher for as, but since the o2x is a highend phone the launcher reload fast, probably dont even noticed that and if you have a memory hungry launcher probably not a bad thing if this is not stuck in the memory, so its not really necessary this. bulletproof the launcher is good thing in an old phone like moto milestone (this script originally made for that phone by the way)
the memory management is not so good, the autokiller memory optimizer app do a much better memory management and its user friendly.
also this script minfree values is not optimized for the o2x.
I'd rather not use overall, but its your choice guys
vadonka said:
this script only advantage the bulletproof/hard to kill launcher for as, but since the o2x is a highend phone the launcher reload fast, probably dont even noticed that and if you have a memory hungry launcher probably not a bad thing if this is not stuck in the memory, so its not really necessary this. bulletproof the launcher is good thing in an old phone like moto milestone (this script originally made for that phone by the way)
the memory management is not so good, the autokiller memory optimizer app do a much better memory management and its user friendly.
also this script minfree values is not optimized for the o2x.
I'd rather not use overall, but its your choice guys
Click to expand...
Click to collapse
I cannot agree in all points.
First of all V6 won't lock the launcher in memory (unlike the CM method!).
Then it will tweak more aspects in terms of memory management than just the "harder to kill launcher" - more on that in the official post. Last but not least - the phone is a highend one, but it lacks some memory (1GB would have been great). And it seems that it does help quite a lot, here.
But of course you're correct that it might not be the "best of all" solutions for the 2x - but I can feel quite a difference while using V6. For Stock LG and CM7 it seems to be a good enhancement - I don't mind if people here use it or not, I'm really happy with this solution right now. Just thought might be worse sharing as there are many threads for V6 for other phones (even the SGS II!!), but not for the 2x.
Just my 2 cents.
P.S.: I havent tested your newest kernel with the tweak scripts - maybe it will even blow me away more if the values are more optimized for the 2x
tonydl said:
I cannot agree in all points.
First of all V6 won't lock the launcher in memory (like the CM method!).
Then it will tweak more aspects in terms of memory management than just the "harder to kill launcher" - more on that in the official post. Last but not least - the phone is a highend one, but it lacks some memory (1GB would have been great). And it seems that it does help quite a lot, here.
But of course you're correct that it might not be the "best of all" solutions for the 2x - but I can feel quite a difference while using V6. For Stock LG and CM7 it seems to be a good enhancement - I don't mind if people here use it or not, I'm really happy with this solution right now. Just thought might be worse sharing as there are many threads for V6 for other phones (even the SGS II!!), but not for the 2x.
Just my 2 cents.
P.S.: I havent tested your newest kernel with the tweak scripts - maybe it will even blow me away more if the values are more optimized for the 2x
Click to expand...
Click to collapse
just look into this supercharger script and see what is really doing
I'll wait for ICS version of the script
PYCON said:
I'll wait for ICS version of the script
Click to expand...
Click to collapse
ICS is done. See post #2 of my OP.
vadonka said:
this script only advantage the bulletproof/hard to kill launcher for as, but since the o2x is a highend phone the launcher reload fast, probably dont even noticed that and if you have a memory hungry launcher probably not a bad thing if this is not stuck in the memory, so its not really necessary this. bulletproof the launcher is good thing in an old phone like moto milestone (this script originally made for that phone by the way)
the memory management is not so good, the autokiller memory optimizer app do a much better memory management and its user friendly.
also this script minfree values is not optimized for the o2x.
I'd rather not use overall, but its your choice guys
Click to expand...
Click to collapse
Will the REAL vadonka please stand up?
http://forum.xda-developers.com/showthread.php?p=14327296&highlight=supercharger#post14327296
vadonka said:
zeppelinrox: i use i&f 2.2 and now i installed your supercharger script v6, with the optiom oom fix and htk launcher. well, now the rom running even smoother than before. great job
Click to expand...
Click to collapse
lulz...
btw I'm sure you are totally unfamiliar with the newest incarnations where the values are calculated according the ram available on any device.
SO IT"S ALWAYS OPTIMIZED FOR THE DEVICE IT'S RUNNING ON.
If anything, bulletproof is BETTER suited for devices with more ram - since they can more easily do this without detrimental effects since they do have more ram.
Nothing you say adds up.
look, your script working superb on my old milestone, when i write this post what you quoted here i had the milestone not the o2x. but with o2x honestly i dont think its necessary to tweak so many memory management part. the phone have enough memory to handle most of everything and have a fast dual core processor.
i use only this:
echo 0,1,2,4,6,15 > /sys/module/lowmemorykiller/parameters/adj
echo 1536,2048,4096,15360,17920,20480 > /sys/module/lowmemorykiller/parameters/minfree
i dont see the point of the other stuffs
lock the launcher in the memory is also not necessary, its reloaded fast i dont even noticed that every time.
but its just my opinion
ps: you are using this file in many procedures: rcpath="/system/etc/rootfs/init.mapphone_umts.rc"
this isn't exsist in the o2x rom.
for example:
sed -i '/ro.EMPTY_APP_ADJ/ a\
setprop ro.FOREGROUND_APP_MEM '$SL1 $rcpath
this is only work if the rcpath=/system/etc/build.prop and cut out the 'setprop' string (/data/local.prop also not good for as). i also found some code what is not working with the o2x rom. the whole script is for the droid/milestone's. at least what i found in this thread OP
Try the newest one
http://forum.xda-developers.com/showthread.php?p=22689090&posted=1#post22689090
init.mapphone_umts.rc isn't even mentioned.
Instead, it does a search for the appropriate file.
It's vastly more sophisticated than Update 8 in all aspects.
The 0,1,2,4,6,15 is kinda useless... no different really than the default 0,1,2,4,7,15
There is a fairly new supercharger thread for the new Galaxy Note... they see a clear difference.
So you really won't ever know until you try
zeppelinrox said:
Try the newest one
http://forum.xda-developers.com/showthread.php?p=22689090&posted=1#post22689090
init.mapphone_umts.rc isn't even mentioned.
Instead, it does a search for the appropriate file.
It's vastly more sophisticated than Update 8 in all aspects.
The 0,1,2,4,6,15 is kinda useless... no different really than the default 0,1,2,4,7,15
There is a fairly new supercharger thread for the new Galaxy Note... they see a clear difference.
So you really won't ever know until you try
Click to expand...
Click to collapse
okay, this version it seems better: V6_SuperCharger_for_Android-Update9_RC6.1.sh
Yeah there isn't much difference between that and the one I linked to above if you're on CM7.
The incremental update was an ICS detection fix.
I may have all 4 scripts updated today tho
zeppelinrox said:
Yeah there isn't much difference between that and the one I linked to above if you're on CM7.
The incremental update was an ICS detection fix.
I may have all 4 scripts updated today tho
Click to expand...
Click to collapse
Hey zeppelinrox, do you recommend to change minfree values when using the v6 script?
I'm running CM9 with Ironkernel and mine are set to 16-24-32-90-100-110, but I think thats a little extreme. Setiron suggested those values, because ICS needs more ram.

[I9001/I9000]Google Now for ICS

Google Now 8/8/2012 ​
Description
Well for thous trying get Google Now on ICS, i found a post, and successively installed it, now I'm giving you instructions and i will update it every time an update comes.
I DONT TAKE ANY CREDIT! FOR GOOGLE NOW ZIPS AND APK
I am not responsible if you brick you phone
Click to expand...
Click to collapse
PLEASE REFER TO THIS LINK FOR GOOGLE NOW: http://forum.xda-developers.com/showthread.php?p=30269273#post30269273
Nice. Thanks.
This morning I installed Google Now for Arco's CM9 Alpha 7. I am not interested in cards and notifications (as they eat a lot of battery and are laggy) but I am only interested in voice search (kind of cool) so I installed Mikey6_Online package, I disactivated all Google Now options and maps option but it's laggy as well.. If you have any ideas how to make it work smoothly, I'm buying.
Schlahbi said:
Nice. Thanks.
This morning I installed Google Now for Arco's CM9 Alpha 7. I am not interested in cards and notifications (as they eat a lot of battery and are laggy) but I am only interested in voice search (kind of cool) so I installed Mikey6_Online package, I disactivated all Google Now options and maps option but it's laggy as well.. If you have any ideas how to make it work smoothly, I'm buying.
Click to expand...
Click to collapse
A Few reasons:
-Well first, offline package does reduce the lag a bit, try that
-Our kernel of the ICS is not done, i mean the kernel is not finished, so performance can be a question, do to the kernel's config, no-oc, no-ow, etc.
-If you have many processes in background it can cause the lag, in fact it can make a huge lag if you have like 10-15 high process[WebBrowser,Games,Maps,Music Player[Playing ofc], FACEBOOK [This app is the biggest ram, and performance killer], PlayStore]
-Try config the CPU's speed, and CPU governor [Settings - Performance - Processor] and set the CPU Governor to Performance, and min CPU frequency to 368, This will make Google Now work very very Well
I love this. I flashed it over slim ics and works like charm. Thanks.
Sent from my GT-I9000 using xda app-developers app
if i install online package and then find out that indeed is very laggy, how can i install offline package. simply by running the zip file through cwm or i must do something else?
Thanks
Thanks for directing me to that link
where is the lockscreen file of a rom?and whats its name?
and the wallpapers of the rom?

[MOD] [New Version]CPU Editor Modified for ATRICS or ICSROMs

As promised earlier that I would share my work and yes I stand by that promise. The modified CPU editor script.
CREDITS​smokin1337 The original creator of the script​upnndwn4par For his support
todobarato For suggesting optimization which was really useful​
ONLY FOR ATRIX 4G Running ICSROM or ATRICS
The usual warnings. Do not blame me for bricked phones. This is still under testing phase and I need testers.
Please donot PM me with the results, Post them here in this forum
New Version
Added an optimization suggested by todobarato (thanks!!) Works fine. The only problem still is the sticky bit issue. Still Working on it
Download the New Version Here.
Instructions
1. Flash in CWM
2. Reboot
3. The script should start working on its own (Doesn't Work for now)
Open terminal > "auto-cpu" (Without quotes)
And also please let me know if the CPU frequencies are reverting at boot or not?
Changes Made
1. The original script by smokin1337 is kept intact , so advanced users can still use the script as usual.
2. The modifications automatically shutdown one of the cores when its not required.
So please go ahead test it and let me know results.
Anyone is welcome to help and provide suggestion or even modify this and contribute.
deathscream said:
As promised earlier that I would share my work and yes I stand by that promise. The modified CPU editor script.
CREDITS​smokin1337 The original creator of the script​upnndwn4par For his support​
ONLY FOR ATRIX 4G Running ICSROM or ATRICS
The usual warnings. Do not blame me for bricked phones. This is still under testing phase and I need testers coz I just lost my phone to my girlfriend for a week
Please donot PM me with the results, Post them here in this forum
Download the attachment.
Instructions
1. Flash in CWM
2. Reboot
3. The script should start working on its own (Couldn't test it , Sorry guys)
And also please let me know if the CPU frequencies are reverting at boot or not?
Changes Made
1. The original script by smokin1337 is kept intact , so advanced users can still use the script as usual.
2. The modifications automatically shutdown one of the cores when its not required.
So please go ahead test it and let me know results.
Anyone is welcome to help and provide suggestion or even modify this and contribute.
Click to expand...
Click to collapse
Thanks for your job
I try it..to take off one cpu I have do it manually..on reboot the cpu starts both
andrea_marcello said:
Thanks for your job
I try it..to take off one cpu I have do it manually..on reboot the cpu starts both
Click to expand...
Click to collapse
Yes I got those same results from others. Can you try using SManager and select the script /system/xbin/auto-cpu and let me know of the results.
Thanks!
what is this for?
and how do i know if it is working or not?
mindstorms54 said:
what is this for?
and how do i know if it is working or not?
Click to expand...
Click to collapse
It allows CPU mods without using an app (which of course uses battery).
You can change min/max frequencies on each core individually. You can even take one of the cores offline completely. Running on one core is not noticeably different from two for routine use. I hardly see a difference. I can't give any hard number for the increase in battery life since I have only been using it for less than two days. But battery life is definitely better.
There is some more info here:
http://forum.xda-developers.com/showpost.php?p=34427620&postcount=785
*********************************
deathscream,
I just tried it. The script is not running automatically as far as I can tell. I am not seeing the second core shutting down.
Thanks, and keep up the good work.
I'll look into it. I just got my phone back. Now I can test it without any problems.
Sent from my MB860 using xda premium
Hello,
I am following this and I think you are complicating it to much.
I have test this script and the original and it never disable the 2nd core.
If you will disable it is very easy with the following command as su: echo 0 > /sys/devices/system/cpu/cpu1/online
The only issue is that it comes online very fast again and you have to execute the command again... I have found the script that disable the 2nd core but only when the screen off, this isn't our problem, by CPU-spy it show deep-sleep is working.
I have changed the script to disable the 2nd core when the CPU frequency is under 350Mhz, this check every X second (I use 35seconds, this can be changed) , now the second core is offline when it detects low CPU frequency and stay offline, if you need it again I have observed after switch off and on again the screen it comes back online or by open set-CPU(I have it on widget to check CPU temp) if you have. If you use one very CPU intensive app comes only by itself too.
I put the script on /system/etc change the correct permission, run with SDmanager.
The script is:
--------------------------------------------------------
#!/system/bin/sh
#
#
while [ 1 ]
do
CPU0=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq`;
if [ $CPU0 -lt "350000" ]; then && echo 0 > /sys/devices/system/cpu/cpu1/online;
fi;
sleep 35
done
-------------------------------------------------------------
I hope this help, I am using it on CM7 and work better that I have expected.
Sent from my MB860 using xda app-developers app
Thanks a lot. Will try it out.
Sent from my MB860 using xda premium
It' dont work for me automatically after reboot.
I use the terminal to put the values by myself
It's a great tool.
Thanks for the work
Regards
You have a lot of features about OC on Atrix (scripts) here
http://forum.xda-developers.com/showthread.php?p=23715720
And here
http://forum.frandroid.com/topic/93255-autoucuv-forcage-cpu-et-oc-uv-gpu/
And here
http://forum.frandroid.com/index.php?/topic/105205-[APP]-✖-AtrixTweaks-(19/08/12)#entry1701606
it works but not automatically. i noticed a little battery increase. from 12hrs i got about 15 hrs uptime running latest icsrom.
fabianowerner said:
it works but not automatically. i noticed a little battery increase. from 12hrs i got about 15 hrs uptime running latest icsrom.
Click to expand...
Click to collapse
Yes. I tried it . The script doesn't run automatically. The sticky bit setting is driving me nuts. haven't slept the whole night. adding this to userinit also doesn't work , so I guess the only way would be try upacking the booimage, ramdisk and adding to the init.rc . I'll try running that there. That should probably work. But can't say for sure.
relax dude... even with the 2nd core disabled, the battery life had increased just a little almost insignificant hours. im pretty sure that we will have this serious issue solved only if someone can put hands on another ics kernel or this leaked kernel source.
fabianowerner said:
relax dude... even with the 2nd core disabled, the battery life had increased just a little almost insignificant hours. im pretty sure that we will have this serious issue solved only if someone can put hands on another ics kernel or this leaked kernel source.
Click to expand...
Click to collapse
Yeah. Hope for the best . Released a new version. It's not automated but its even better working. The cores are managed better than the original one.
deathscream said:
Yeah. Hope for the best . Released a new version. It's not automated but its even better working. The cores are managed better than the original one.
Click to expand...
Click to collapse
I just released a new version of ICSROM with init.d support.
It might help with your automation.
upndwn4par said:
I just released a new version of ICSROM with init.d support.
It might help with your automation.
Click to expand...
Click to collapse
Perfect. I'll check it. At work now. Thanks!
deathscream said:
Perfect. I'll check it. At work now. Thanks!
Click to expand...
Click to collapse
Thank you for your support!
I'm testing the new version on AOKP (not suggested, I know ) and it seems that doesn't switch well the cores status.....I'm able to set a maximum cpu1 settings but not it doesn't really applies it.
Within my tests I can see that the 2nd core is not so much important....I can play Riptide GP and Shine Runner (heavy games??? ) plus others apps with only 1 core without any noticeable lags...so
I'd like to ask you if you can make a unique profile and cut off other settings:
cpu0 @ 1ghz max, variable
cpu1 @ 456mhz max, variable (enabled only if cpu0 is @ 1ghz more than 5/10 seconds)
screen-off: cpu0 456mhz max, cpu1 disabled.
Thanks a lot for the suggestion. I'll definitely try adding those.
Sent from my MB860 using xda premium
If disabling a core is not fetching significant battery increase in leaked rom(s) then efforts to streamline sampling would we worthless as primary issue of battery drain would not get solved.
This came as a surprise as the second core was suspected to be the mAh drainer. Maybe it could be the GPU that runs at max..
After a long amount of observation, I found out that shutting down a core isn't reducing the battery drain. There is something more to it. Thanks to upndwn4par to release icsrom 1.4.5 so that I could test my scripts... I'm still working on the battery drain issue and will let you guys know the progress soon.
Sent from my MB860 using xda premium

CPU load with custom CM13 kernels

Guys.. With every Android since the 2.x, you could activate the "Developers Options" and activate an option called "Show CPU usage".
"The numbers show the average load of the CPU in different time intervals. From left to right: last minute/last five minutes/last fifteen minutes"
My doubt: When I install any CM13 ROM (now I'm with Exodus) on my S5 (G900M), the load, after some minutes, are always near 10. Now I'm staring at it, with many apps installed (whatsapp, facebook, uber, maps, messenger, firefox, mx player, es file explorer, foursquare, traceroute, wifi analyzer, gmail, imo, os monitor, tinder, fing, poweramp, mindroid, remote desktop, 99, youtube, andsmb, diskusage, soundhound, photos, dropbox, goseek, instagram, juicessh, google now, picsplay, speedtest, skype, swiftkey, stabilitytest... just to name some...) and it's 11.32 / 14.37 / 23.11
Now the problem: whenever I install Boeffla Kernel or CrazyKernel, the load is ALWAYS higher.. always nearing 20. With default options, or trying to tweak the cpu options in both kernels.. and the bigger problem is that I SENSE that. The phone seems to RUNS SLOWER.
ps: If you LOCK your device (or let it lock by the timeout), this "load" value will raise because the cpu will also run slower.. it doesn't mean it's working more, just that more work is queued to the cpu, as it doesn't NEED to work on it (because it's locked/screen turned off, etc)
Hi,
I guess everyone will have that. So the poll is quite useless.
The reason for it, as I tracked down:
Two governors (intellimm and slim) are adding overhead to the system, even when they are not used.
Why? I do not know, as I am not the developer of these governors.
But for a test, I removed them from beta11 and compiled it as a beta11test1 version, attached here.
Let me know if removal of these governors lowers the cpu utilization for you down to stock levels almost.
Andi
Lord Boeffla said:
Hi,
The reason for it, as I tracked down:
Two governors (intellimm and slim) are adding overhead to the system, even when they are not used.
Why? I do not know, as I am not the developer of these governors.
But for a test, I removed them from beta11 and compiled it as a beta11test1 version, attached here.
Let me know if removal of these governors lowers the cpu utilization for you down to stock levels almost.
Andi
Click to expand...
Click to collapse
Wow that was fast. I'm testing right now and yes, the CPU load is *finally* down to ~11 like it were with vanilla CM13 kernel (which I think is what Exodus uses).
Still I get a little lag here and there mostly when "loading" stuff (like when clicking in a group chat on whatsapp, which needs to open a huge .db to display the history.. I think).....
But nice work.. I wonder what more could be optimized.. it's strange to a vanilla kernel be snappier than a custom .. given the experience you have..
Thanks
fbs said:
Wow that was fast. I'm testing right now and yes, the CPU load is *finally* down to ~11 like it were with vanilla CM13 kernel (which I think is what Exodus uses).
Still I get a little lag here and there mostly when "loading" stuff (like when clicking in a group chat on whatsapp, which needs to open a huge .db to display the history.. I think).....
But nice work.. I wonder what more could be optimized.. it's strange to a vanilla kernel be snappier than a custom .. given the experience you have..
Thanks
Click to expand...
Click to collapse
I am not sure vanilla stock kernel is more snappy. I feel it is the other way round personally. But this is about expectations and perception. Also it is about what is important for one. A custom kernel gives you many other goodies that might of course compromise in other areas. Nothing is for free.
And I personally prefer some other features over pure performance.
But well, that's it. I will not do more, having in mind the s5 kernel is only my #5 kernel in terms of priority. Sorry.
Andi
Lord Boeffla said:
I am not sure vanilla stock kernel is more snappy. I feel it is the other way round personally. But this is about expectations and perception. Also it is about what is important for one. A custom kernel gives you many other goodies that might of course compromise in other areas. Nothing is for free.
And I personally prefer some other features over pure performance.
But well, that's it. I will not do more, having in mind the s5 kernel is only my #5 kernel in terms of priority. Sorry.
Andi
Click to expand...
Click to collapse
Now I'm on boeffla-config trying to tune "interactive" governor and it says it's not tunable. it was before this test version. Maybe the removal of that other governors screwed up boeffla-config listing of whats tunable or not.. ? check this out too please..
fbs said:
Now I'm on boeffla-config trying to tune "interactive" governor and it says it's not tunable. it was before this test version. Maybe the removal of that other governors screwed up boeffla-config listing of whats tunable or not.. ? check this out too please..
Click to expand...
Click to collapse
Well, not such an issue here. I can enter tunable mode.
Reset your app via the apps maintenance menu.
But you know, you are on a completely unsupported test kernel. Just to say that again.
Andi
Lord Boeffla said:
Well, not such an issue here. I can enter tunable mode.
Reset your app via the apps maintenance menu.
But you know, you are on a completely unsupported test kernel. Just to say that again.
Andi
Click to expand...
Click to collapse
Right, but given the test was a success, you'll remove these governors for good, right?
fbs said:
Right, but given the test was a success, you'll remove these governors for good, right?
Click to expand...
Click to collapse
Yes, already announced everywhere (here on xda, as well as on Twitter and on my site).
Andi

I've found the best ROM in terms of battery and performance!

Hello! I've found the best custom rom + kernel for my needs and I wanted to share with you guys.
In my opinion the smoothest, good battery backup (8-9 hours sot) and performance combo is Pixel Experience + and Predator kernel. To make all of your apps work properly enable force fulllscreen mode for any of them . Now let me share with you guys some battery tweaks:
1. Install Naptime and make sure that these options are enable:
https://imgur.com/a/TR0EV5d
2. Restrict any app in the background that you don't need to work in the background, like these apps:
https://imgur.com/a/INZF0Bi
3. Disable unused default apps like these:
https://imgur.com/a/PAqMJpr
and disable Google Assistant if you don't use it ( if you disabled Google app you will not found Search, Assistant and voice in the settings ): Settings - Google - Account services - Search, assistant and voice - Google Assistant - Assistant - General - Disable Google Assistant. Also disable location/ Find My Device, automatically data sync for apps.
4. Disable automatically backup for Google Photos.
Here are some apps which I use it and it will make your life easier:
- Youtube and Youtube Music without ads ( no need to root ): https://vancedapp.com/
- Magisk, needs to be flashed in custom recovery: http://www.mediafire.com/file/vzf3re143yb68uc/Magisk-v21.1.zip/file
- Google Camera. You will need to install "Remove Google Camera" module in Magisk first if you have it already installed in your rom, the link for this module is this one: http://www.mediafire.com/file/bhm6dhrrnqiar2d/RemoveGCam.zip/file
Google Camera ( if you don't have it already installed as default camera, you can install it as any apk file, no need to root ) , this is the download link for it: http://www.mediafire.com/file/eogevstxhlq0yvv/MGC+7.4.201+Parrot043+V1.1.apk/file
- L1 Security patch that will make Netflix stream more than SD: https://www.mediafire.com/file/85mrfht25lzjfjx/DRM_L1_Patch.zip/file
( needs to be installed in Magisk )
- I also changed the default launcher because it's not that customizable, and I found this launcher to be more customizable and well optimized:
http://www.mediafire.com/file/p6uxixksr05w17w/Systemless_ShadyLauncher-v1.5.zip/file
- If you want to have Dolby Atmos install these Magisk modules ( Install in this order ):
1. Audio Modification Library: http://www.mediafire.com/file/wigiq7cxf488frr/1.Audio_Modification_Library-v4.0(55).zip/file
2. Audio Configuration Database:
http://www.mediafire.com/file/hwj1zqs2a695hrz/2.ACDB-0.49.zip/file
3. Restart after you installed the first and the second module.
4. Dolby Atmos:
http://www.mediafire.com/file/zhu8i4o3tpflxlf/4.DolbyAtmos.zip/file
- Dark boot animations to not kill my eyes when I boot my phone in the evening :laugh: :
Android 10: https://www.mediafire.com/file/d4r6edkq5y9xl98/Android-10-Dark-Bootanimation-%28v1.0%29.zip/file
EvolutionX:
EvoX DARK Bootanimation systemless
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
All these files I shared with you I am sure that have no viruses. I hope that I helped you and I have a question for you guys: What is the best combo for your needs? What custom rom and what kernel?
?thanks
Thanks buddy. Helped a lot. ^_^
Allen (=^w^=) said:
Thanks buddy. Helped a lot. ^_^
Click to expand...
Click to collapse
Always glad to help!
Please Hit Thanks if you love this tutorial It really helps a lot!
I use PE + with stock kernel without any tweaks and I get about 8 hours sot.
Those tweaks just **** up performance and multitasking
So in terms of performance it is worse
F4JL0 said:
I use PE + with stock kernel without any tweaks and I get about 8 hours sot.
Those tweaks just **** up performance and multitasking
So in terms of performance it is worse
Click to expand...
Click to collapse
Everyone has their own personal opinion. But I don't think that restricting apps to work in the background, Naptime or disable some bloatware can negativity affect the performance. On the contrary, it should improve performance and battery life.
Radu15 said:
Everyone has their own personal opinion. But I don't think that restricting apps to work in the background, Naptime or disable some bloatware can negativity affect the performance. On the contrary, it should improve performance and battery life.
Click to expand...
Click to collapse
Yeah ofc
Everybody uses their smartphones differently.
I use lot of multitasking.
Before i had miui it was so agresive on killing apps. That's why i switched and i use PE and it's beautiful.
And I tried storm breaker.. little difference in battery Life but it wasn't that smooth and fast as stock kernel.
At least for me
F4JL0 said:
Yeah ofc
Everybody uses their smartphones differently.
I use lot of multitasking.
Before i had miui it was so agresive on killing apps. That's why i switched and i use PE and it's beautiful.
And I tried storm breaker.. little difference in battery Life but it wasn't that smooth and fast as stock kernel.
At least for me
Click to expand...
Click to collapse
It doesn't have any effect multitasking in any way. The apps still don't refresh after leaving them in the background, the apps remains normal.
Use PE plus +Predator 9.1 very good working.
Best sound mod for lavender.
Download https://drive.google.com/folderview?id=10A1e3TevGFRuFIrF59P96jg4k3idfHXq
Go to twrp recovery
1. Mount System and Vendor.
2. Instal Pulse audio
3. Instal Sirenes
Reboot.
My choice of kernel Predator 9.1 HMP stable (old cam)
Im getting only 4hrs sot on stock kernel PE+

Categories

Resources