[GUIDE]Improve tegra 3 phone's performance like XOLO Play - Android General

This guide will improve performance of Tegra 3 devices like XOLO Play by increasing the cpu throttling temperatures.
Requirements:
Rooted tegra 3 devices (cooled - cpu ,battery temp less than 40C)
File Manager with root access
Text Editor
Time
Procedure:
1. Goto /d/tegra_thermal through file manager
2. Give temp_shutdown, temp_throttle rw-r-r permisions and temp_throttle_skin rw-rw-rw permissions (if not same)
3. Modify temp_shutdown through text editor
Code:
90000
4. Modify temp_throttle through text editor
Code:
85000
5. Modify temp_throttle_skin through text editor
Code:
70000
6. Use any CPU frequency changing app like No-frills CPU Control or SetCPU and set 1500MHz max value and governor as performance/interactive ( performance will drain battery fast )
7. Try Antutu to successfully test modification
WARNING: YOU HAVE TO TRY MANY TIMES TO SUCCESSFULLY MODIFY THESE FILES BECAUSE EVEN YOU SAVE VALUES THEY GET TO DEFAULT SOME TIMES.
Reboot will reset these files again.
EDIT: There is an app called as LGP800 Booster . you can use the app to do the same as stated above
http://forum.xda-developers.com/showthread.php?t=2306980[/SIZE][/B]
EDIT: Or Download XyrusOS which doesn't need any booster app for full performance.
http://forum.xda-developers.com/showthread.php?t=2453615[/SIZE][/B]

if i use this steps for changing the value in temp files and use setcpu app.....then will my phone got heated???...will this effect on the phone's hardware

Related

Overclock on the Fly

This one is in response to user "Afeeq" who asked me how I overclock & is also for anyone who is looking to overclock their A2 but have been unsuccessful or looking for steps to achieve this. But this is purely for overclocking on the fly i.e your phone will revert to normal once you reboot but according to me it will save you a lot of heartburn by avoiding bootloops, random freezes etc & allow you power when you need it & of course thereby save battery life.
My phone - ME865 based on JB 4.1.2 leak 1 stock, rooted, busyboxed,init.d'ed
I have attached Overclock modules which are essentially from SCV7 ROM overclock standalone modules zip finetuned for 1.2 ghz stock devices (Credit : Radvisct) (received from user Sayantan). Please be aware not all A2 devices are the same even if purchased in the same country in terms of their clock steps & by this I mean typically those devices which overclocked to 1.2 ghz when OTA'ed to ICS official (not fxz & maybe that too) from the stock 1 ghz on GB are the devices which are 1.2 ghz stock devices (I am still looking to understand how to check the clock steps which are different for 1 ghz devices and 1.2 ghz devices which can truly tell you which one is your particular device & it would be great if someone can details steps as to how to check this) but since my phone ramped up to 1.2ghz I took a chance. But beware senior members have always warned you can fry your phone if you push it too high or alternatively set the voltage too low etc. So it's your call & I should not be held responsible but I use this myself successfully hence posting.
Overclocking involves loading some kernel modules and setting some parameters. First step the kernel modules should be in /system/lib/modules (Copy them to this location) & second step keep the overclock script at /mnt/sdcard (i.e the overclock.sh file - copy it to this location) third step just click the overcock.sh from a root explorer & execute as root & the script should return an output of 0 meaning success. I use ROM Toolbox Pro for this & then I go to the performance tab CPU settings where you can pull sliders for speed up to a max 1.2 ghz.
Now additionally what I did was downloaded the "Tweakerz" app (Credit : Whirleyes) attached here as well also copied more of Whirleyes .ko modules (extra kernel modules zip & extract & copied to /system/lib/modules, it also adds 'pegasusq' governor which is developed by Samsung especially for dual core phones best performance) thread as here
So once you have executed the 1.2 ghz OC then open Tweakerz, click on required unloaded module & click on load module (insmod) then (slide across tabs on the top to CPU Voltage & speed), go to the last 1200 mhz tab click it and increase the sliders to the speed you desire (I went up to 1.4 ghz & marginally increased voltage & click set value) & voila extra boost over & above 1.2 ghz SCV7 OC & then once again I go to ROM toolbox Pro cpu settings (you can use setcpu, cpu master etc) & choose pegasusq governor & 'sio' I/o settings. Hitch is when the screen goes off it reverts to 1200 ghz again but I use it only when playing heavy games etc. See attached screenshot for benchmark for my various OC's. 1.2 to 1.3ghz gives the best performance for me. Now I am sure someone can chime in with a easier process and in particular ensure the OC further made using Tweakerz sticks even after screen goes off (as of now I again go to CPU tab and pull the speed tab to max set value when I require) but the 1.2 ghz OC sticks until reboot. Would also appreciate if someone can post Jellybean default speed & voltage table like has been posted for GB & ICS in the forums.
Tweakerz apk in post # 2
Guys, hit thanks button if this helps you in any way :good:
Tweakerz apk
Missed file below, attached herein. Tweakerz apk credit to "Whirleyes"

[Guide] How to increase your gaming performance

To reduce lags download an app named Kernel Tuner or any system tuner(but i recommend to use Kernel tuner).
1. Of course changing cpu frequency to maximum but not done yet, and also change the both governor to performance. Don't forget to change gpu frequency to maximum!
2. Go to thermal and change the cpu to maximum (or any frequency as you want it) three of it.. Then change the temperature of threshold high, medium, and low to 85 degree all of it
3. Go to Misc and change the io scheduler to sio or deadline
4. Go to oom and change the preset to 1000 aggressive
5. Press menu button and create any swap file size, after that activate the swap and change the swappiness to 100
6. Lastly go to settings and choose general, then check "Prevent changes from other apps"
Now you can play the heavy games laglessly
Sent from my HTC Sensation using XDA Premium 4 mobile app
My device isn't compatible with the thermal part, what do I do?, or how do Iget it ? (Any alternatives?)
Sent from my SPH-L710 using xda app-developers app

[Guide] [MOD] Tweakers Kit...Modified init.d and sysctl system + Flashable Disabler

Warning
If you read this you may go blind and never become erect again.
And there is a possibilty a sattelite will fall from the sky and crush your house
This most likely can be incorparated into any rom on any phone
Feel free to post this anywhere and include it in any rom(Just Give Proper Credit)
I made this about a year ago .Works quite well
it makes tweaking very easy
designed to make tearing apart full tweak scripts apart and testing lines a nd full scripts e easy.
allows you to make up to 7 totally different init.d profiles . the ability to turn on or off any profile.
So now you can develop 7 profiles to boot from and run any profile in realtime
also gives you 2 sysctl.conf to boot from and two more to run in realtime
you need root and busybox
the contents of the foldet ( etc) go in /etc
the contents of ( bin) go in /system/bin the 6 files containing (run) need to be executeable
now you can put install-recovery.sh in /etc to get everything to run at boot
if you have Gametheorys kernel you can use the sysinit i provided in / system/ bin
if you already have either of these used by something else just add the lines from mine to yours
init.d
put scripts in the main folder like normal
there are folders in side
prof1 to prof 6
you can set scripts in those
the foldercalled Scripts is to store unused stuff
also is the initd control where you can use root browser root explorer or any scriptmanager to run the (on,off or run) scripts
Note, i cleaned out all my scripts but decided to leave the main folder with a setup i use the most Remove them or use at your risk
now you have
sysctl.conf through sysctl.conf4 in your /etc folder
load those with sysctl settings
init the init.d/scripts/sysctl are scripts to turn on or off sysct1 and 2 and run 3-4 in tealtime
More (run at will) profiles
init.run folder
load setups in run1 to run6 folders
at anytime use the control panel in init.run to exec any ofrun1 through run6
Note all profile folders have a subfolder labeled (a) those are just like pocket folders to store unused scripts
FLASHABLE DISABLER
This design has something very valuable
each profile has its own (applet) in /system/bin
the install-recovery.sh execs all init.d and prof1 through prof6 applets
but when you use the control panel to turn on or off the profiles you are sinply changing the permissions to each (applet)
So incase you put a bad script in and boots up in a loop or something else
i made a flashable zip of all the bootable (applets) with permissions all at zero
This will render all the bootable profiles un executeable
your new init.d script throws you in a loop flash the
InitdDisableall.zip below and reboot
None of the profiles will execute
So this basically gives you 7 init,d folders . you can choose which ones to boot from
for instance
i load one folder with my settings.one core turned off and cpu set at 810 and a clogged up conservative governor with agressive lmk
say i want to convert movies or play games i boot from an init,d folder i loaded with both cores at full cpu and multitasking lmk and a different governor set for speed
And i added a realtime run feature
this means i can exec any of these folders in realtime without rebooting
Then as an added bonus there is an additional folder that allows you to load your profiles to 6 more folders that you can easily exec in realtime without booting
the sysctl has the same idea
you get 2 sysctl.conf you can load with different settings and choose which one to boot from
plus 2 more sysctl.conf to load that you can run in realtime
The idea is to be able to have many Profiles of settings prefabbed and the ability to exec them quickly
This makes switching from performance and battery saving very easy
It makes testing and designing your profiles very easy as well
Now if you look at Sepero's Bootbuddy
it runs scripts at boot from the ext sd
this is awsome for me, when testing scripts i test some from bootbuddy
i use this for certain things like build.prop or certain kernel tweaks that i am not confident about
if this tweak causes a bootloop i can remove the sd card and bootup without the tweak
after several bootups with no issue, i move the tweak from bootbuddy over to init.d
But if you only want to use bootbuddy and not init.d i added 2 more bootable folders so you can choose from 3 profiles to boot from or turn all off
HOW To Develop your profiles
When i start on a new phone this is my formula
first i find supported govenors
i choose the slowest governor
then make an init.d script to load the governor of choice at boot
Then i clog up the governor,this means i slow it down
I change the settings so it doesnt scale up very fast and scales down instantly
Maybe lengthen the duration between mpdecisions
This is awesome for battery use and further testing
Next I want to start chopping away at the cpu, So I remove all cpu cores but 1
then limit the cpu to a lower scale
I usually start nat around 900 mhz
Example
The lg motion with Gametheory's oc kernel with added governors
i used the Conservative governor setwith
sampling down 1
up threshold 96
down threshold 95 ( or higher)
one core on only running at 918 mhz
So now your phone is much slower,Much better battery life but less responsive
do an antutu benchmark
make sure to look at the Details,each individual score
NOTE if you dont know how to get started
use an app like Kernel tuner
check the settings and selected run at boot with init.d
close kernel tuner it will create an init.d script for you
now go to your init.d folder and make a copy of the script
go back to Kernel Tuner and Disable the run at boot settings. it will remove its scripts
but you have your copy
Now for the ease of profiling you need to Batch your tweaks
small and identical for easy swapping and removal
like all vm tweaks in a script only ,net tweaks in a script only
and save the varied settings in a folder
when you are done you will have several folders of batched tweaks
forinstance various Governor tweaks like i posted below
The Ondemand Governor
A init.d script to load the Ondemand governor with stock settings
but it has 4 scripts for ondemand governor with Slower settings and 4 with above stock settings
Do this for every governor you use
The same with cpu max limits
From here on the idea is to chop away at the cpu but keep the score the same or better (when i am done i will run the phone at 594 or 702 but is close to responsive as the 918,and when i run the phone at stock or better phone is fassst)
Running the phone at core only and at lower speeds make its much easier to indentify the results of individual tweaks
Next you need to look at your system
/proc/sys is a good place to start
here are many settings we are gonna start changes to optimize our phone.
fs,kernel,net and vm settings are here
Its nice to know this as many phones have the same files found here but a few may vary
Please Check Attact File For Download
Tweak Pak Is Not Flashable.
I Am Not Responsible For Any Damage To Your Device. Try It At Your Own Risk.
Sorry For My Bad English
Hope You Understand What I Want To Say
Credit To rhino889a
*Reserved For Nothing( I Think).
Hi there iam new to all this and I want to copy the files from /system/bin/ into said folder but I keep getting copy operation failed is there a way to work around this?
Sent from my ONE TOUCH 4015A using XDA Free mobile app
---------- Post added at 09:30 AM ---------- Previous post was at 08:42 AM ----------
Nvm using new app gotten past first hurdle
Sent from my ONE TOUCH 4015A using XDA Free mobile app

Performance Upgrade To rooted phones

here are tips to improve your phone (it worked on me very well so I give you this)
1) Download greenify, this app will freeze your app, then unfreezes it when you use your freezed app (this app is very useful!)
2)ROM toolbox, here you can overclock your phone and change governors for best performance set the max and min slider to the maximum and then set your governor to performance
3)download sd booster, which boost your sdcard and external sd card, set the values to 4092 anc click set at boot
4)download RAMEXPANDER by roehsoft, this app will create swap file (like another RAM), swap file is up to 4gb!
5)download root cleaner, which removes useless files
Hope it Helps

[Root] [MM] [MOD] Locking cpu+gpu+ddr to max speed

Version 3.0 install instructions below
Aded profiles to put phone in more deep sleep (now my phone consume 1.3% battery per hour when screen off and wifi services like messenger enabled), minimize usage of cpu/gpu/ddr by launcher (it might lag with stock launcher, works great with Nova launcher, reduce usage of processor by half.)
Version 2.0 uploaded install instructions below
phone now should better deep sleep
some values revert to original
adjusted speed when launching app, when scrolling lists, on app rotation, when fingerprint or display is touched, on battery states, when you gaming, on launcher.
WHAT IS ALL ABOUT?
Hi, im highly interested to bring all Power from mate7
I discovered that one system app can manages whole mt7 speed values on certain states ex. On app start, on certain app, on screen off...
My long research give me result that some system xml files can generate (on phone boot) certain speed values for cpu gpu and ddr.
I dont know how to read values from this files because they are encrypted, propably with strong rsa/ecb/pkcs1/padding key.
I use magic to allow system read non encrypted xml configuration files on phone boot and i guess it works
What mod do?
It allow to use all phone speed to stard app, when app is started then reduce speed to save energy
It allow to lock cpu,gpu,ddr on full speed in chosen apps.
It adjust cpu frequency dynamically, when screen is touched, on cpu thermal state, on battery critical state, on fling start, on phone rotate...
You can edit xml configuration to add your apps
Install instructions
To lock cpu+gpu+ddr on max speed for any app you must:
Have root, be on MM (i dont know, but it may work on LP too)
1. Download com.huawei.powergenie.zip and etc.zip
2. Unzip com.huawei.powergenie.zip to root. data/data/com.huawei.powergenie (overwrite files, yes its safe :good
3.Unzip etc.zip to system/etc, it will overwrite protected xml that wont allow to change values, (you should backup your old files first)
4. Reboot phone
How do i know that its working?
Download cpu-z app from android market, i added it to my mod, now when you launch cpu-z app, cpu,ddr values should be locked to max
give me information if it works for you
Advanced instructions:
editing xml files:
<scenemode name=".*?(hw.performance|ppsspp|cpuid*?).*" id="10000"> //app name example: org.ppsspp.ppsspp, do not touch original ID, you
can add new unused id for new app, unused id's like: 10025,10026...​ <gpu_minprofile>360000000</gpu_minprofile> //minimal gpu for state/app//​ <gpu_maxprofile>600000000</gpu_maxprofile>//max gpu for state/app//​ <ddr_minprofile>667000000</ddr_minprofile>// the same for ddr memory//​ <ddr_maxprofile>800000000</ddr_maxprofile>
<cpu_minprofile>806400</cpu_minprofile> //minimal frequency for first four cores. scaling from 403,200 to 1305,600 mhz​ <cpu_maxprofile>1305600</cpu_maxprofile>
<cpu_a15_minprofile>1209600</cpu_a15_minprofile> //minimal frequency for cores 5-8, available frequencies from 806,400 to 1804,800mhz//​ <cpu_a15_maxprofile>1804800</cpu_a15_maxprofile>
<msg_policy_threshold>15</msg_policy_threshold> //policies how often app give notification???//​ <threshold_up>300</threshold_up> //HMP Threshold ratio control (times to load task from lower core to higher)//​ <threshold_down>150</threshold_down>
<cpu_number_max>3</cpu_number_max> //propably option to switch number of active cores. Reducing number of active cores can improve battery life, on certain states it also can lag your phone. Values from 1-4//​ <cpu_number_min>2</cpu_number_min> //Minimum of active cores on app/state. Values from 0-4 0= all four cores inactive//​ </scenemode>
AVALIABLE_VALUE
cpu_maxprofile 403200 604800 806400 1017600 1209600 1305600
cpu_minprofile 403200 604800 806400 1017600 1209600 1305600
cpu_a15_maxprofile 806400 1017600 1209600 1382400 1497600 1708800 1804800
cpu_a15_minprofile 806400 1017600 1209600 1382400 1497600 1708800 1804800
gpu_maxprofile 288000000 360000000 480000000 600000000
gpu_minprofile 288000000 360000000 480000000 600000000
ddr_maxprofile 120000000 240000000 360000000 400000000 667000000 800000000
ddr_minprofile 120000000 240000000 360000000 400000000 667000000 800000000
cpu_number_max 1,2,3,4
cpu_number_min 1,2,3,4
cpu_a15_number_max 0,1,2,3,4
cpu_a15_number_min 0,1,2,3,4
Sounds interesting, but before I'm going to try it I have a few questions:
gahu777 said:
What mod do?
It allow to use all phone speed to stard app, when app is started then reduce speed to save energy
Click to expand...
Click to collapse
Isn't this the regular way the phone starts apps, or does it boost cpu etc. to max speed when starting an app with your mod?
gahu777 said:
It allow to lock cpu,gpu,ddr on full speed in chosen apps.
Click to expand...
Click to collapse
Is rebooting required when you add a new app to chosen apps? Also where do I add chosen apps?
This is the regular huawei method to start app, but i modify it slightly to maximize performance on some cases. On app start, on rotate screen, on app.
You can edit scene mode on each profile
With this pattern. com.nameofyourapp.something
<scenemode name=".*?(hw.performance|ppsspp|rockstargames|dsemu|dolphinemu|cpuid|nameofyourapp*?).*" id="10000">
Tazmaniiac said:
Also where do I add chosen apps?
Click to expand...
Click to collapse
Added tutorial for changing values for your own
Thanks for the reply, I replaced the files and compared the values in CPU-Z and can confirm that it works, good job!
But I still don't unterstand one thing.. the profiles (Performance, super, and normal) which I replaced in /etc are the ones that you choose in power manager right? So if I add an app on the performance profile it will only work if the performance profile is active? If I want an app to use 100% cpu on all profiles, i have to add it on all profile xml files right?
Tazmaniiac said:
Thanks for the reply, I replaced the files and compared the values in CPU-Z and can confirm that it works, good job!
But I still don't unterstand one thing.. the profiles (Performance, super, and normal) which I replaced in /etc are the ones that you choose in power manager right? So if I add an app on the performance profile it will only work if the performance profile is active? If I want an app to use 100% cpu on all profiles, i have to add it on all profile xml files right?
Click to expand...
Click to collapse
Yes, exactly
How do I know what to call the app? For example CPU-Z is called cpuid.
Tazmaniiac said:
How do I know what to call the app? For example CPU-Z is called cpuid.
Click to expand...
Click to collapse
I have titanum backup app which shows me full package name for app
You can also search play store for "package name viewer"
com.cpuid.cpu_z is full package name for cpu-z
What exactly do I need from the package name, for example eine names start with com., others with org., then there's also names with like 5 words , for example
Code:
Mupen64Plus FZ Edition
org.mupen64plusae.v3.fzurita
What would the Name be in this case? I would google it myself but I have no idea what to search for..
Tazmaniiac said:
What exactly do I need from the package name, for example eine names start with com., others with org., then there's also names with like 5 words , for example
Code:
Mupen64Plus FZ Edition
org.mupen64plusae.v3.fzurita
What would the Name be in this case? I would google it myself but I have no idea what to search for..
Click to expand...
Click to collapse
In this case mupen64plusae or v3 or fzurita
Example
<scenemode name=".*?(hw.performance|ppsspp|cpuid|fzurita*?).*" id="10000">
gahu777 said:
In this case mupen64plusae or v3 or fzurita
Click to expand...
Click to collapse
Any of these or do I have to try them all out?
Could somebody share a modded file?
fmurillo said:
Could somebody share a modded file?
Click to expand...
Click to collapse
I would but mine is not worth sharing, I only played around a little bit to see the performance improvements (the performance boost is amzing for those who use emulators btw).
Now that Version 3.0 is out, how do I "update" it? Do I need to replace all files all by one or only specific ones? I don't really want to add all apps again to scenemode..
Please... Share it
Tested version 3 and I'm impressed by how fast switching between apps works, now I finally answer whatsapp messages while doing stuff because it's not that slow anymore.
I'm also able to play True Skate with max graphics now that I added it to scenemode! It used to lagg on some maps even with resolution and details at a lower level. Great work man!
Testing v3... looks promising... Cpu-z shows processors 0-3 @ 1305 and processors 4-7 @1804... Will check battery durabilty because I am not fully satisfied with B561 v3 kangvip ROM.
Thanks for you efforts and for sharing them to all mt7 users!!!
tl10 gold b571 doesn't work.. someone with the same problem?
paulopais said:
tl10 gold b571 doesn't work.. someone with the same problem?
Click to expand...
Click to collapse
yeah i tried it yesterday but no differences.
also on mt7-l09 B571
Do you copy all files from both zip archives? (To data/data/com.huawei.powergenie and to system/etc) you can also set files permission 755 or 777
gahu777 said:
Do you copy all files from both zip archives? (To data/data/com.huawei.powergenie and to system/etc) you can also set files permission 755 or 777
Click to expand...
Click to collapse
yes i extracted both zip archives to the paths and overwrote the files (but did backup before)
then restart phone and downloaded cpu-z
but no differences between before and after

Categories

Resources