Recovery overclocking - Defy Q&A, Help & Troubleshooting

Im a bit confused about bootmenu overclocking. Why do we have 3 (or 4) (3 different clock and voltage settings) options and when is which option used? I know that the last one is for the sleep mode (screen off), but what about the others? When the phone uses the 1st one and when the 2nd one?

it is depend from what program run in your phone usally the phone when govenor is
"on demand" wake-up from 300 and then you open a program example phone dialer
then from 300 goes for a momment to 600 and then back to 300
but if you open a game (modern combat)starts from 300 then 600 and cause the game is more complex program goes to 800 or 1000 or 1200(depent where last govenor is set)

Related

nueDynamicClock experiences? (Over-/Underclocking)

I've found this neat tool: http://www.nuerom.com/BlogEngine/page/nueDynamicClock.aspx
Has anyone used this on their X1 and did you notice any changes? I don't think you can use it for overclocking an X1. But I'm thinking about setting clock frequency to 19 MHz on Suspend, to get more out of my battery.
I've got this tool, not sure if it made much of a diff when I overclocked it to 528
( or just set it to the base clock speed since they have it underclocked @ 400 mhz ), wanna try the lower speeds, but not sure whether it will have a negative effect.
I uninstalled it..
found that any apps (such as gps cycle computer, audiomanager etc) that played with the screen on didn't work very well when the speed was lowered. Also had quite a lot of instances when the screen was corrupted after coming out of suspend..
I use it since yesterday, so i can't say anything about changed battery lifetime. But i got it working only after setting min-clock to 384MHz. With lower settings the phone got frozen in standby mode after a while. I'll try it for a few days for testing a (hopefully) enhanced standby time...
PS: i use 384MHz in suspend mode and after idle time of 5s, didn't change max clock or voltage settings (all to "auto"). Maybe setting idle time to 2s would care more battery life, but i don't know how the cpu will stand changing the clock so much often...
Been using it since v1.0. Seems to have some battery gain (10% over 8 hours better) - set to default 528MHz, down to 256MHz idle and 122.98MHz on suspend and screen off. Needed 123MHz for clean audio playback in standby.
Only screen corruption (inversion) issues I had was when set too low (19MHz) at standby. Now using these settings for a few days and no issues so recommended for use with TFlo3D2.
Unless you're running WM6.5 with WM7 titanium - makes it very slow to respond out of standby.
And it doesn't overclock - 528MHz is default clock speed.
I wanted to try this but my X1 says no, here is the screen shot, due to security, I press yes and my X1 does a soft reset, then I try the program again and get the same thing.
View attachment 180763
Has anyone with a standard Official Rom 2 got this to work, and how ?
Mark A Cilenti said:
I wanted to try this but my X1 says no, here is the screen shot, due to security, I press yes and my X1 does a soft reset, then I try the program again and get the same thing.
View attachment 180763
Has anyone with a standard Official Rom 2 got this to work, and how ?
Click to expand...
Click to collapse
I have a standard R2A ROM and it works for me. Can't tell you what's the problem with your installation, though.
Anyway, I found since I installed the tool my device is worse than before. It sometimes interrupts audio playback when display is off (ALthough frequency in that case is still at 3xx MHz!) and sometimes it takes very long (5 secs +) to suspend and to wake up again. So I think I'm gonna remove it.
I only turned down the voltage to 1.1 instead of 1.325 running on 528MHz.

So, this is my final and ultimate Gingerbread configs

Hi all, first, as every flash maniac here in xda, I had a hard time living and tweaking my Galaxy S2 all days and nights. But it finally came to a time, a month ago, when I decided that I had come too far, it was time to stop everything. Currently I'm too satisfied with my Gingerbread, I even changed to ICS but I was too disappointed that I changed back. I even think I'll stick to my version of S2 forever.
I don't want to make another thread to discuss anything, it's enough, I just want to write down things I have done with my Gingerbread here, I think it should be useful for some. And if you want, I would like you to share your final version too, just the version you're satisfied like me, don't give anything you're confused and ask for help. I think we maniacs should stop that and begin to live our life in a better way without worrying about one drop in the battery percent like we have been doing.
Well, to begin, here is my performance:
5 to 6 hours of screen-on with Average use. Remember it's average use, means I set my brightness to 30%, lower at night and higher outdoor, a lot of web sulfing, no restriction in usage time to save battery, just call/sms/anything anytime I want to. So this result is too good, I can easily make it to 2 days with normal usage.
Here are all my tweaks:
ROM
- Checkrom Revo HDv6
- All Samsung Bloatware deleted completely.
- Bluetooth apps deleted as I never use it.
- Fast Dormancy disabled (code *#9900#) but I actually find no difference from when it is enabled.
- Use code to "only use 3G (*#301279#)", just because I'm living in a country where the 3G network isn't fast, so only use 3G is more than enough.
- Only one home screen with black wallpaper, I love to have it as every icons stand out so well.
- JKay Deluxe is amazing, I set my top bar like this: Wifi - Data - GPS - Autorotation - Vibrate - Sound - Sync, that's all. On the Lock Screen I set 6 quick buttons. Again everything here is for myself and it's extremely comfortable for me as I can access anything I want in a blink.
- Other common tweaks in the rom you can find easily.
- One brightness app and one phone-lock app on the home screen helps me a lot.
- I don't enable sync or 3G when locking the phone so any Juice Defender apps are useless for me. If I want I just pull down the top bar and one click on the icon, boom it's done !
- Default modem with rom
Kernel
- Siyah 2.6.14 (final version)
Clock: 200mhz - 1200 mhz
Voltage:
875 - 925 - 975 - 1075 - 1175.
- This is even lower than normal, but for my Checkrom it's completely smooth, I don't care about battery anymore so if it lags I will try to raise anything, maybe I'm just lucky my rom is extremely smooth.
Governor:
- Lulzactive
Scheduler:
- Sio
Lulzactive App (download from Market):
- cpu load 75%
- pump up step 1, pump down step 2
- sleep frequency: 6 - 200mhz
- rate up: 35000, rate down 25 000
I know this must not be close to perfect, but as I said I don't care about it anymore, I just want to share my config so don't yell at me that these tweaks are so wrong, it works for me !
- I used to have default On Demand with Sio and it seemed to be the same, but my feeling it's better when I use Lulzactive. Also I used to set cpu load and the rate is different but it seemed worse.
Extweaks:
CPU loadl 45%, loadh 75%, 2nd CPU disabled when off (it means my loadh_scroff is 100%)
Rate 200
rate cpuon = rate cpuoff = 400
freq_cpu1on = 800 000mhz
sched_mc is disabled
everything else is default
GPU tab:
2 steps: 133mhz 267mhz
GPU undervolted: 900 1000, I can set it to 850, 950 but I don't want to
GPU threshold up 75%, down 45%, threshold 2 up = 100 (it means disabled 3rd step)
everything else is default
Screen tab:
min_bl = 30, min_gamma = 0, max_ gamma=20.
Also I must say that my phone is too bright at night, when Im about to sleep, I set the brightness to 0% to read some papers but it's even too bright.
-----------
So basically these above things are everything I tweak with my phone, whatever other things I changed to my phone, installed anything etc, they're those things that I must preserve.
After those tweaks, I almost forget everything about battery, just use my phone at its best and, well, it's super smooth and battery is astounding, this is why I think I will stick to Gingerbread for a long long time in the future.
Best luck to everyone, how about you guys?
-----------
P/S: sorry for my clumsy English
Nice config.
Instead of messing around with different settings and apps for voltage control, I've been using Phenomenal 4.0 Extreme. Not only is the CPU and GPU preundervolted, but also the bus. You just need to flash a rom (I use XWLA4 also) and this kernel, and that's it. I get 5 hours screen time minimum.
Easy and effective.
Hi Voctor, I'll take a look of that, but I doubt I'll make any change here
I forgot to mention one thing that with 1650mha battery, I can guarantee to have at least 4.5 hours, with 2000mha battery im using, it's 5 hours to more than 6 hours. So the '5 to 6 hours' above is a short combination of both
Sent from my GT-I9100 using XDA

Just another list of questions...

Hi all, I know there are threads already created for questions etc but I've an extensive list of them and I don't think its appropriate to spam them in someone else's thread. And I'll update the first post of the answers and replies I've received for the questions I've posted!
My phone's information: will5's MIUI ROM 2.5.25 GB 2.3.7
My list of questions
Android OS
::Hard rebinding hard keys::
Is that possible? My power button recently got damaged and its really tough to press the power button now which is quite a problem, is there any way to rebind the power button to say the camera button? (specifically the 2nd-click of the camera button, not the first click (focus)) MS2Toolbox is able to wake screen with the camera button but thats just soft-sided and I need to hard bind for turning on the phone and using the recovery etc... :crying:
::Allow app to stay active when screen-off and when not in foreground:: http://forum.xda-developers.com/showpost.php?p=29658020&postcount=95
I want to let my app, specifically Opera Mobile, to be constantly active as I run a script (user javascript) on it which repeats its function periodically. Is there a way to keep it active throughout deep-sleep, or when in the background? Currently its working well when I switch the screen off as long the app was in the foreground. The script and Opera Mobile still runs perfectly and I do not experience battery drain (weird). I have been doing so for the past few months and it takes probably only 30% of my battery overnight when I sleep despite the periodic data connection. However, this didn't happen on the MIUIv4 ROM when I tested it. The app is 'frozen' or suspended, it seems, the moment I switch the screen off. Tried apps which disabled deep sleep etc but didn't work. Any ideas?
Overclocking
::What are the default VSELs for the respective frequency for MS2?::
I know there's one here http://forum.xda-developers.com/showpost.php?p=11620994&postcount=1 by santiemanuel, but it gives VSELs WAY above those I'm using or the defaults from MS2Toolbox. Say, for 300MHz, the stock vsel is 33 and 30 is considered unstable. How ever the default in MS2Toolbox for that frequency is 17 if I'm not wrong. I'm using that at the moment and it seems to be running fine (used powersave governor to enforce 300MHz to test it out). Just to confirm, should I really follow that table?
WiFi
::Changing Milestone 2's WiFi MAC address::
Hi guys, I've been trying to look for a way to change my M2's MAC address but have not been able to get it to work.
I've googled up for methods but the common ones do not work.
Tried so far:
- The nvram.txt file
Can't find it in the usual folders stated.
- busybox ifconfig tiwlan0 hw ether <MAC>
- busybox ip link set dev tiwlan0 addr <MAC>
Tried these two commands but didn't work either in terminal emulator. Even did the off-on-immediately spam commands but no luck.
Unsorted
Code:
http://forum.xda-developers.com/showpost.php?p=29675172&postcount=905
::SOLVED::
Overclocking
::How do I check the current VSEL and frequency at any point in time?::
I'm trying to underclock and ultra-undervolt to save as much battery as possible and want to know how's the selected governor working in order to manually optimize the settings to my preferences.
::How do I know its an unstable VSEL?::
Q: Quite vague a question but... as said in the first question, I'm running 300MHz at a VSEL of 17 instead of 33, nearly half of the stock. How would I be able to tell if its unstable? When I'm running in powersave governor, it shows that the 'system' process stopped responding at boot and I've the wait/close option, but after selecting wait the dialog disappears and the phone still works as per usual. However its very sluggish, clearly because of the underclock. Regardless, does the system process being unresponsive at the start shows it is unstable?
A: djlooka via PM
djlooka said:
...My suggestion is: try with that setvsel app for defy (see my answer in the CM9 thread) which comes with a useful mini-stress tester app (you can install it from within the main OC app). It can stress test every single freq step, so you can find its 'sweet-spot-vsel'.
One could also think that there's some advantage in fine tuning the middle steps. IMHO it's wasted time
After some days of tweaking, I realized that our phone will stay in the two the middle steps (combined) for less than 5% of the time. So even if you could save some % of the power by losing 1 or 2 vsel points (let's say 10% of the original vsel), the "on the road" gain would be infinitesimal (10% x 5% = 0.5%).
Anyway it's fine to OCD a bit even about those 2 steps
My final word is: find the lowest possible vsel for both the top and bottom freqs by stress testing. To be extra careful, raise them by one point for rock solid.
E.g.: 300-22 is the best combo for my lowest step -> I put 300-23, and so on.
Click to expand...
Click to collapse
::3 steps shown in the bootloader but 4 shown in MS2Toolbox::
Q: This has been bugging me recently. I've read recently that the M2 has 4 steps for its CPU. So the CPU actually follows the 4 steps shown in MS2Toolbox or the 3 in the bootloader? Note: When I change the values in the bootloader, the values changes respectively in MS2Toolbox for the 2nd,3rd,4th rows (did not tick auto apply in M2T to prevent overlaps with bootloader settings). But the 1st row shows values lower than the one in the 2nd row automatically.
A: djlooka @ http://forum.xda-developers.com/showpost.php?p=29806494&postcount=908
djlooka said:
...Our phone, instead has 4 steps (300, 600, 800, 1000 MHz - the same as the Defy+).
AFAIK, when you set a configuration which allows only 3 steps (in the bootmenu), the hw internally adjusts to have the last 2 steps equal (e.g. 300, 600, 800, 800 MHz).....
Click to expand...
Click to collapse
Applications
MX Player - Does not require codecs. If it requests for ARMv7 NEON codec, get the NEON version of the player instead.

Setting Up Custom Kernels for testing..etc. (Osprey)

Setting up Custom Kernels​
*this information is helpful for anyone, everything written here, I have thoroughly tested, this guide is not laid out beautifully,I will rewrite it on my desktop pc soon.
There seems to be allot of confusion about how to set up
"Custom" Kernels for the Moto G 2015 (Osprey) for testing
This is mostly due to the following reasons :
Guides/info are Outdated
info usually Vague/Confusing for Novice
Guides are often for different hardware/software
Information is wrong or unfounded or based on speculation/theory
tunables for "performance" often do the opposite
But the biggest issue that Novices have seems to be
A lack of understanding that almost every tunable has
An equal opposite reaction (side effects)
Therefore balancing each tunable with each other is essential*
Getting Ready to bench
1 ) My First step is, head over to the Android Modders Guide (look in KA to see which Gov's & Scheduler's) and get familiar with the Govs & Sched's featured in the kernel your using
2 ) now that you're familiar with that open up KA and go to
To the hotplugging section, disable any hotplugging
For the reason that you want to be able to accurately test the performance/characteristics of The CPU and Governor in use (in order to properly tune the system.)
(If you want, turn it back on when your *COMPLETELY DONE TUNING*)
3 ) make sure that while testing your phone CPU freq and Gov
That you're IO ReadAhead cache is set to 128, that way it doesn't interfere or confuse you while trying to set the CPU.
4 ) Go to the misc tab, do you see "Dynamic Fsync" ?
If so turn that off, This will switch it back to Standard Fsync
So in the rare case of a system crash your less likely to damage your data.
5 )*(optional) in the IO tab, Disable add random, and then go to entropy tab and set to 64-192 or 128-256 depending on preference.
Now onto the benching itself
1 ) alright, open the CPU tab and check the Max CPU Frequency, if there is OC available make sure you Never Start your testing/tuning using the Highest OC Frequency
(We don't have a baseline yet and most chips will not be able to perform properly or stable at these higher OC freq's eg. Above 1.593 GHz) start testing with your Max CPU set to
1.363 GHz and work your way up testing each one for performance and stability(Geekbench 3 is a good start).
2 ) Do the same thing for Selecting a Governor for benching . (Your phone might get warm while benchmarking, if you feel Like your phone is getting too hot, this could effect performance turn the phone off for a while until it cools down. Also make sure you restart occasionally in between tests to refresh everything.)
3) in GPU Tab, this is going to be just like setting up the CPU with one exception, you'll want to stick with one of
these two GPU govs (simple_ondemand) & (Msm-adreno)
the other ones are experimental.
and another thing, if your overclocking gpu to max550-650
i recommend setting the min freq to 200 for 550 and 310 for 650mhz, to avoid heat due to ramping up and down.
4 ) alright now into the IO tab, this is where you pick the scheduler that you're going to test with, I suggest fiops or tripndroid. *.
5 ) start benchmarking, I suggest you do multiple tests of whatever your using to benchmark.
6 ) Have fun!
*understand that benching will eat battery, therefore make sure when you get settings you like, you do separate battery test on a full charge.
*once you get the tunables that you're comfortable with.
You can enable hotplugging if you want.
I will post my recommended tunables for the 1GB Osprey
Below...
__________________________________________________________
*if you're going to be doing GPU heavy tasks i recommend
disabling Adreno idler.
recommended tunable for Adreno Idler
(battery savings and cool GPU)
24
17
6

Lag in games?

Hi everybody, I'm using an XT1642 with RR 7.1.1 but had the same problem with stock nougat too (I thought RR would help but it didn't): Serious lagging in Angry Birds Pop. GameBench shows fps usually around 20, while on my old Xperia Z1 Compact it's almost always 60...
Does anybody have an idea what might be the problem?
It's possibly an issue with the kernel not online-ing cores. Even so, it shouldn't lag that far behind the Z1 (even though the Z1 does have a faster CPU).
I recommend installing an app called "Kernel Adiutor", and manually change the minimum/maximum cores of the "big" cluster of the CPU, or even offline the big cluster and see if Angry Birds scales better on 4 cores.
Thank you! Setting "minimum cpus big" to 3 did solve the problem. I assume that shouldn't be kept this way because of the battery. Is there a way to have the setting changed to 3 when I open the app and back to 2 when I'm not playing? Like in getools?
berliner77 said:
Thank you! Setting "minimum cpus big" to 3 did solve the problem. I assume that shouldn't be kept this way because of the battery. Is there a way to have the setting changed to 3 when I open the app and back to 2 when I'm not playing? Like in getools?
Click to expand...
Click to collapse
There are a couple routes to this. There should be 2 variables within the Kernel Adiutor (I use EX kernel manager which is definitely worth a buy, the dev also develops the ElementalX kernels) that are called "Up Threshold" and "Down Threshold" for the big cluster. Essentially, "Up threshold" marks the CPU load at which the CPU begins to online the big cluster cores, while "Down Threshold" is the CPU load at which the CPU begins to offline big cluster cores.
I set the minimum to 0, and my up/down load levels are 60 and 45, respectively (I'm a super light user, just some reddit and clash royale), and my maximum is 4. However, lowering up and down load levels may help as the load at which the CPU onlines is much lower.
However, this may not work regardless. Some apps scale weird on octa-core CPUs; I know that Chrome was very, very janky on early big.LITTLE designs.
With EX Kernel manager flar built in a "performance" and "battery saving mode" which can be toggled via a desktop widget. I find it super useful if I'm using my G4 for VR. Essentially, you can set the max frequency and CPU governor per each mode. It is a paid app however, but the dev is great (he has a kernel out for the G4 as well) and well worth the price.
Thanks again, I will loot into it!

Resources