yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Android Development] Flo95:
I already removed a lot of bloatware.

But nothing is as good as Deep Sleep. Because then the CPU is almost off which is good for the battery.
[Xperia Arc Android Development] bmwbasti:
Can confirm that.

Even if i don´t have set that frequency it is displayed in the Setcpu timetable :confused:

Is there a way to display how long the phone has been in deepsleep? At least Setcpu doesn´t display that state ans, as Flo95 suggested, i think that the phone doesn´t correctly go/stay in deepsleep state.

And another question: How do you test the stability of your frequency/voltage combinations? Set the frequency in SetCPU and then run the integrated stability test?
[Xperia Arc Android Development] Flo95:
You can use CPUSpy to display how long each frequency got used. And after some time deep sleep doesn't get used anymore --> battery drain
[Xperia Arc Android Development] w1000i:
V(R) is better -and here the benchmarks :rolleyes:

http://xdaforums.com/showpost.php?p=10669818&postcount=591

coutts99 made a kernel for Desire and we prove the v(r) work better and i hope that for Arc also :D
[Xperia Arc Android Development] DooMLoRD:
dont worry abt that high freq... it will alwasy be visible... its upto u which freq u want to use...

try the app called CPUSpy it will show how much time was spent in each frequency/state...

well thats one way to do stability testing... other way would be to keep checking if the phone reboots/hangs/etc...
[Xperia Arc Android Development] w1000i:
Mr. DooMLoRD

can you improve the GPU also ?:)
[Xperia Arc Android Development] babygau:
Download this software from market: StabilityTest and NeoCore. If you pass both of them, it mean u reach an appropriate OC/UV :)
[Xperia Arc Android Development] babygau:
some said noop, some said vr, and some said deadline, really confused :P
[Xperia Arc Android Development] DooMLoRD:
small progress..

enabled NLS_UTF8

added new features..

[ minmax, smartass, Scary CPU governors ]

P.S.: kernel not yet released... work still in progress ;)
[Xperia Arc Android Development] bmwbasti:
Oh dear, now i only needed to know what this option all are meant for and what this mysterious I/O thing is and i would know what to do with :D
[Xperia Arc Android Development] DooMLoRD:
DooMKernel (v08)

DooMKernel (v08) released!

[ features ]

added new logo!! Thanks to soheil_rf

added I/O Schedulers:

V(R)

BFQ

added CPU Governors:

Smartass

Scary

MinMax

enabled NLS_UTF8

[ screenshots ]

downloads links at first post!

ENJOY!
[Xperia Arc Android Development] bmwbasti:
V8:

Flashing OK

Booting OK

Nice new logo :)
[Xperia Arc Android Development] DooMLoRD:
Important note

[IMP]

when using VDD control i HIGHLY recommend that u DO NOT TAMPER the voltages of the following frequencies:

24576 (25Mhz)

61440 (61Mhz)

184320 (184Mhz)
[Xperia Arc Android Development] DooMLoRD:
there are tweaks to allocate more memory to GPU but other than that i couldnt find anything more...

u will have to play around with it.. see wht works best for ur usage/workload...

personally i use:

CPU freq min/max: 122Mhz / 1.2Ghz (or 1.4Ghz sometimes)

I/O scheduler: BFQ

CPU Governor: Interactive

VDD: all frequencies -50mV (except for 3 frequencies that i posted in above post)

i will try to add/post some info on wht do these things mean/do... but i will do that later (when i dont have the Arc)... right now i am concentrating on adding features, testing them out on my Arc & improving the kernel :)
[Xperia Arc Android Development] bmwbasti:
What is the reason Doom?

I have set my voltage for 122Mhz to 0,85V and it runs without problem so deepsleep should run also with that voltage, shouldn´t it?
[Xperia Arc Android Development] DooMLoRD:
122Mhz is fine...

the problem is that i havent actually enabled those 3 frequencies in the kernels freq table... BUT they are still showing up... also from what i can gather those frequencies are used for other internal functions/parts... so thats why i recommend not to touch the voltages for only those 3 frequencies...
[Xperia Arc Android Development] ShyamSasi:
Flashed the new Kernel everything works fine ... Love the new boot logo.

BTW what I/O Scheduler is recommend to use?

Thanks DoomLord!
[Xperia Arc Android Development] bmwbasti:
Ah ok.

Sadly because as i use my Arc lowering deepsleep voltage would increase battery lifetime most i would think :(
[Xperia Arc Android Development] harfot:
#8 installed. Working as well as #7 as #6 as...
[Xperia Arc Android Development] DooMLoRD:
i dont think u can set deepsleep voltage ;)

u can only set the voltages for active CPU frequencies...
[Xperia Arc Android Development] DooMLoRD:
u will have to play around with it.. see wht works best for ur usage/workload...

personally i use:

CPU freq min/max: 122Mhz / 1.2Ghz (or 1.4Ghz sometimes)

I/O scheduler: BFQ

CPU Governor: Interactive

VDD: all frequencies -50mV (except for 3 frequencies that i posted in above post)
[Xperia Arc Android Development] bmwbasti:
Hmm, i thought the 25Mhz frequency is deepsleep :confused:

Damn....
[Xperia Arc Android Development] Flo95:
V8 is good. Smartass is fast, but mostly I get 38 instead of 44mflops in Linpack with it. Will let it activated for some time to see how battery life is with smartass
[Xperia Arc Android Development] DooMLoRD:
smartass, minmax, scary CPU governors try to give better battery life and can sometimes sacrifice on performance... interactive is better as they will improve performance at while trying to maintain similar battery life...
[Xperia Arc Android Development] bmwbasti:
As I read smartass should be the "better" interactive. I myself will go on with ondemand because interactive will let my cpu stay permanently on max frequency :(
[Xperia Arc Android Development] DooMLoRD:
between ondemand and interactive, interactive is better because it will use all available frequencies depending on the load which is present...

actually on demand doesnt use the intermediate frequencies at all...

u can check all of this by using CPUSpy app from market... u should test it atleast for 30 mins... with some use...
[Xperia Arc Android Development] SimonZ:
Why don't you release a "standard" kernel with only these settings without "extreme" high overclock frequencies? ;-)
[Xperia Arc Android Development] Flo95:
Some people like to see their phones burning and want the highest possible cpu speed :D

I think he makes it right. People who want high oc can do it and the rest (like me) can use moderate oc to 1.2GHz or so.
[Xperia Arc Android Development] DooMLoRD:
dont worry SimonZ... even if u dont use any CPU frequency control app the kernel will BY DEFAULT ALWAYS boot using min/max 245Mhz/1024Mhz...
[Xperia Arc Android Development] vitaminme:
V8? Pimp ma kernel!! :D

good work dude :)

1.9Ghz :D would luurrv to see round figure 2.0Ghz ;)

will try version 8 tomorrow :) Thanks
[Xperia Arc Android Development] babygau:
Hey guys, after having a hard time with i/o scheduler, here is script that you can apply at init.d folder to start up bfq scheduler at boot

Have fun,

here is my result at boot

UPDATED:

Kernel v8 working smoothly, tks DoomLoRD!

PS: It would be better if you support bfq or v(r) natively in the kernel :|, at first, i thought you updated kernel with bfq default, but it's still [deadline]
[Xperia Arc Android Development] YouZi:
Thanks a lot for the update =]

but I have a few questions:

1. If I dont O/C, do I need to open setCPU and set interacive for every reboot? or is it default?

2. I feel that battery is draining a bit fast, if I set a "screen off" profile with setCPU, is there a recommended frequency that saves battery without freezing/distorting the device?

3. how do I change the boot up logo?

Thanks again =]
[Xperia Arc Android Development] tRippinthehead:
Just fo notice, these VDD settings seems work fine for me and my phone without problems:

Voltage more lower -25 forced to reboot my phone.

cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
24576: 800
61440: 800
122880: 800
184320: 800
192000: 800
245760: 800
368640: 800
460800: 850
576000: 900
652800: 950
768000: 950
806400: 1000
921600: 1050
1024000: 1100
1113000: 1100
1209600: 1100

I do not use frequencies above 1.2Ghz so I have not tested them.
[Xperia Arc Android Development] DooMLoRD:
V(r) & BFQ are already natively supported by kernel... if they weren't supported u would not have been able to select/use them... ;)

As for default selections... the kernel is highly configurable... but as a fail safe the following are the default settings during each bootup:

CPU freq (minimum): 245Mhz

CPU freq (maximum): 1024Mhz

CPU governor : ONDEMAND

I/O scheduler : deadline

The user is free to choose whichever settings works best for him/her... u can use free apps/startup scripts...

The power is given to u!

Enjoy tweaking ;)
[Xperia Arc Android Development] tRippinthehead:
This script doesn't work for me. Still [deadline] sheduler.
[Xperia Arc Android Development] bmwbasti:
Thx DooMLoRD,

Just tested a bit. I don't know if this is normal with interactive governor, or if that setting isn't working correctly in my case, but my lowest frequency setting won't be used much. I have set 122Mhz as lowest setting and 1024Mhz as highest. CPUspy displays very little use of the lowest setting, more highest settings and much much more use of deepsleep. Of course some frequencies between either. With the ondemand setting there is much more using of the lowest setting and the same usage of deepsleep state. That means that interactive setting gives more cpu frequency then needed or that that ondemand setting gives to little frequency :(

So I don't know exactly what's the better choice in that case...
[Xperia Arc Android Development] DooMLoRD:
Ans 1] if u want to define a different CPU governor u can use startup scripts (place them in init.d folder) OR use NoFrills CPU Control App (Free) [or SetCPU (paid)] to set this boot... use "set at boot" option...

Ans 2] if u want to use "screen off' profiles then i recommend using 122Mhz as min & 245Mhz as max... also u can use the VDD control to lower voltages at these frequencies so that u get the best possible battery life...

Ans 3] u dont like new logo? :( there is no easy way... incase u still want to this is a gist of wht u need to do: get the image u want (of correct resolution) -> convert image to rle -> unpack my boot.img -> extract the ramdisk -> replace rle file with ur own -> repack ramdisk (WARNING IF SYMLINKS ARE NOT PRESERVED U WILL BREAK BOOTUP/RECOVERY) -> make new boot.img (using correct parameters) -> flash using fastboot -> DONE ;)

i dont know abt the script but u can use NoFrills CPU control app to select the I/O scheduler (there is even an option to "set at boot")...

interactive is better for smooth performance... u can always use "screen off" frequencies...

also do keep in mind that there are various parameters of these governors which can be tweaked...
[Xperia Arc Android Development] bmwbasti:
Hi DooMLoRD,

I can confirm the smoother performance of the interactive governor. I myself recognise it best when the phone comes of the lockscreen. With ondemand it takes a bit until the slider appears, with interactive it's there immediately. So your suggestion would be using interactive and define a screen off profile if i got you right?

Sure it is highly configurable but I don't have been studying physics and I'm glad that I could configure my Arc the way it's configured now :D
[Xperia Arc Android Development] DooMLoRD:
i hope this screenshot will explain how the default setting in kernel work:

this is after a fresh reboot and no "set on boot" option was configured for any app... so these are the default kernel settings...

as u can see the ACTIVE CPU governor (scaling) is set to ondemand, CURRENT min/max frequencies are 245/1024 even though in previous boot i had set the min/max to 122/1209 & CPU governor to interactive...

thats how the failsafe/defaults work...
[Xperia Arc Android Development] babygau:
In this case, u must use script manager to set the scritp as root and at boot :)

or as DoomLoRD mentioned, using no-frill cpu is also an better alternative way. However, bcoz i'm already using setCPU, so I don't want to no-frill CPU "mixed up" with setCPU, that's the reason why I use this script, it works so well :)
[Xperia Arc Android Development] bmwbasti:
Was your last posting metioned to me Doom?

Because i didn't ask about that, i know what the default values look like ;)

Another quaestion: Is it somwhow possible that you reactivate the "android-integrated screenshot function" ? I don't know why Sony-Ericsson disabled that pretty nice feature and would be happy if this can be reactivated. I know there are a lot of apps on market fpr that but why (if it's possible) use an thirdparty app if it can be done with onboard methods ;)
[Xperia Arc Android Development] DooMLoRD:
i the permissions might be incorrect... those scripts require 755 right?

no dude it was a general post for all ;)

about that screenshot function (i think) thats ROM/framework related...
[Xperia Arc Android Development] bmwbasti:
Hmm, would have been to simple if you could reactivate this by kernel :(

But it would not suprise me if you find a way anyway :D
[Xperia Arc Android Development] DooMLoRD:
if u can direct me to info on how to do this in kernel i will surely "activate" it (if at all its possible that way)...

i still think its a ROM/framework issue...
[Xperia Arc Android Development] bmwbasti:
No problem: You have to look for variable xd54833rtz in line 23452883 and change that to xd54833rty. But before you have to add a line of code which contains: "Dear mighty android god, please enable screenshot function that was disabled by Sony-Ericsson from hell!"

:D

Sorry, but as you (shurely) have recognized i have ABSOLUTELY no idea of Android or parts of it. Seems like this would rather be a case for FreeXperia Team?
[Xperia Arc Android Development] babygau:
Idea:

Hope you also work on how to enable havs sysfs interface to give more choice of optimizing cpu voltage
[Xperia Arc Android Development] DooMLoRD:
havs is pretty controversial as far as i have read... i think vdd control is most useful...
[Xperia Arc Android Development] Flo95:
Deep Sleep works perfect on V08, great :)

Battery life is much better than before.
[Xperia Arc Android Development] babygau:
How to let the phone goes into deep sleep mode, do i have to use smartass governor?
[Xperia Arc Android Development] tRippinthehead:
Hey, can not we just put a file with the scripts in init.d (incidentally, it have to create manually. /system/etc/init.d right?) directory? Why should I use third-party applications?
[Xperia Arc Android Development] babygau:
For some reason (I don't know), the kernel support init.d scripts doesn't mean it can start up at boot automatically.

I also have to use script manager to let my script run at boot.
[Xperia Arc Android Development] Flo95:
Normally the phone should go into deep sleep, no matter what governor you use.

But if it doesn't work for you, you can try it with smartass.
[Xperia Arc Android Development] DooMLoRD:
hey i have done some testing and the init.d support works... BUT there are some issues which may cause init.d support to break...

so i am working on a more universal solution...
[Xperia Arc Android Development] Rycon33:
yup doom, I can confirm it's working on some scripts, i'm using kickasskernel and v6supercharger scripts by zeppelinrox and all are in init.d folder and all are automatically executed on startup even I didn't ticked the option "run as root" and "run at boot" for the two scripts on script manager . So meaning the init.d folder is ok, at least for the 2 scripts that I'm using.
[Xperia Arc Android Development] DooMLoRD:
the init.d support is now improved and more generic... now the /system/etc/init.d folder will be automatically created and any files within it will automatically get 777 permissions... all this will be done on each boot...

the above steps are taken so that any scripts/files in the init.d folder gets proper permissions and are executed correctly (though this cant correct if there is any error within the actual script ;)) ...

this will be integrated in future kernel releases...
[Xperia Arc Android Development] chad0989:
Hi, I'm the developer of IncrediControl. I ended up here after I noticed many xperia arc users were downloading. I noticed that you stated that the settings are only active for that session, are they not sticking on reboot? They should if you click set on boot and then click apply. If not, please let me know, I'm very aggressive with bug fixes and I'd like to add the xperia arc to my list of supported devices.
[Xperia Arc Android Development] DooMLoRD:
hi chad0989,

that note was not directed towards ur app specifically... it was general info on VDD control for users who manually specific the voltages/use scripts ;) i added the link to ur app after one of the users posted it...

thank you for the app!

regarding the app, sometimes i have noticed that the app freezes when setting some voltages...
[Xperia Arc Android Development] bmwbasti:
Hi DooMLoRD,

so for me (as a person that has no idea of scripting) that means, that we don't have to use scriptmanager anymore? Just simply copy the supercharger script into the folder of your description and the script will be executed on every boot?
[Xperia Arc Android Development] DooMLoRD:
yes... any script/binary in the init.d folder WILL be executed on every boot...

i will later provide some test scripts...
[Xperia Arc Android Development] pushtostop:
Hi

This is prob a stupid q so sorry in advance.

Can i flash the cm7 from fxp on your kernal or do I have to use the kernal from cm7

Ie can I just download fxp019 and flash in recovery

Thanx
[Xperia Arc Android Development] DooMLoRD:
currently this kernel is NOT compatible with CM7....

u will have to use CM7 kernel for CM7 ROM to function correctly...
[Xperia Arc Android Development] pushtostop:
Thanx

By the way the kernal is great really smooth

Thanx for fast reply
[Xperia Arc Android Development] Flo95:
My device was stable for 4 days so I undervolted all frequencies -50mV from 122MHz-1.21GHz. (not 25MHz, 64MHz and 184MHz ;) )

It's stable so far. Ran Linpack 20 times, 2 times Quadrant and played Fruit Ninja.

I know each device is different, but did someone go further in undervolting?
[Xperia Arc Android Development] DooMLoRD:
ya i tried -75mV (122Mhz to 1.4Ghz)

stable so far... just routine use... not stress-tested...

also NO random reboots/freezes... so i guess my Xperia Arc can handle that much UV..
[Xperia Arc Android Development] Flo95:
Sounds good. When -50 stays stable I try -75

So:

-25 = slight undervolt

-50 = mid undervolt

-75 = heavy undervolt?
[Xperia Arc Android Development] bmwbasti:
Thank you DooMLoRD :)

Another question about that: which part of supercharger has to be put in the folder to work? The one placed normally on sd or the one that is generated and placed in the (I think) root folder of the phone?
[Xperia Arc Android Development] babygau:
Mine is -75, and running so so stably since the day I got this new kernel ;)

I'm running 245 - 1,2 ghz with -75 UV for all freqs, so as you can see, I don't OC kernel, i guess it might be the reason explain why my phone no crash, no reboot out of the blue :)
[Xperia Arc Android Development] babygau:
the one in /data folder

named 99supercharger.sh

the one in sd card only used to compile the script code, and has nothing to do with the original script itself (99supercharger.sh)
[Xperia Arc Android Development] DooMLoRD:
i dont want to define anything in particular...

from wht i have seen, Xperia 2011 devices are already undervolted [on stock] (especially lower frequencies) as compared to similar devices with same chipset (DHD,Desire Z,etc)...

i dont know abt that script... never used it... send me the details for it... then i can tell u which files need to be placed where..
[Xperia Arc Android Development] Flo95:
Ok, so we have really good uv then.

Just lowered it -75mV. 10 times Linpack without reboot :)

Maybe I'll try -100 later. Someone already tried it?
[Xperia Arc Android Development] chad0989:
What voltages/frequencies? Just the app locks or the phone does also?
[Xperia Arc Android Development] DooMLoRD:
only app freezes.. it happens irrespective of the freq selected
[Xperia Arc Android Development] chad0989:
What voltages? Maybe its voltages out of range for the kernel. I just recently implemented voltage range auto detection in my working tree, I can send you a link to test and see if that fixes the issue. If you are willing
[Xperia Arc Android Development] DooMLoRD:
sure...

send it..
[Xperia Arc Android Development] pushtostop:
Hi

When using incredicontrol I just simply reduce each value by 25 and wait to see if it s stable is that right ?

Can I reduce all at same time

Ps: I seen the ones that should not be changed

Thanx
[Xperia Arc Android Development] chad0989:
I PMd you.

You can reduce them all, but when you do that its pretty hard to tell which one is causing instability if you have issues.
[Xperia Arc Android Development] pushtostop:
Thanx for reply think ill start small reduced them all by 50 first and phone got hot and rebooted so that wasnt the best idea

Thanx for advice
[Xperia Arc Android Development] Flo95:
@ pushtostop:

Are you sure, that you reduced them? Maybe you overvolted by accident.

Because mine is undervolted and is colder than before - not warmer.

Stable @ -75mV
[Xperia Arc Android Development] pushtostop:
Not sure reduced the numbers

Ie 900 to 850

Did this to all except the ones doomlord said not to

Phone was fine for ten minutes then then I left it down and when I came back it was hot and rebooting

Have it at - 25 at the mo tried a stabilitytest from market and it crashed after 2.5 mins

Any help ya can give is appreciated

I have min 245 and max 1209 with interactive
[Xperia Arc Android Development] babygau:
DoomLoRD, Really want u to support install busybox in next version, this old busybox seem not to work well with Titanium Backup :(
[Xperia Arc Android Development] Flo95:
@ pushtostop:

You can try to reduce the voltage one by one to see which speed needs more voltage.

Good example that all devices are different. Some of us can go to -75mV and some just -25mV or nothing.
[Xperia Arc Android Development] pushtostop:
Ya think so im just goin to play wit it for a few days and see how I get on

Thanx for ur help
[Xperia Arc Android Development] DooMLoRD:
dude use latest TB... the newer versions come with their own busybox... so no need to depend on other busybox ;)

also i am looking into some init.d scripts which will give precedence to busybox from /system/xbin/ OR /system/bin/ instead of /sbin/
[Xperia Arc Android Development] babygau:
Anybody give V(r) a go???

I found it f**king fast :D
[Xperia Arc Android Development] babygau:
So good to hear that from u, mate :)

Updated: using -100UV for half of a day, nothing happen so far :X
[Xperia Arc Android Development] bmwbasti:
Hi Chad,

Found some issue in your programme. I set my frequency to 122Mhz (wanted to test if my VDD settings are stable) and wanted to control if the settings are correct so I started incredible. When I hit apply I got the message "... doesn't react... " and i hit force close. After that incredible won't open anymore :(
[Xperia Arc Android Development] Dealeet:
Hi all.

My question is has anyone experience bootloop when installing the kernel ?

Is it just me or anyone else has the same problem.

1)flashed to FW:4.0.A.2.368

2)switched on. adjust the normal settings.

3)switch off phone.

4) fastboot installed kernel.

5) boot up, gave boot loop.

gave boot loop with v5,6,7 and 8.

works well with v1,2 and 3.

i recheck and yeah the version gave me boot loop.

what should i do?
[Xperia Arc Android Development] chad0989:
I believe there is an incompatibility somewhere. Possibly with trying to set out of range voltages. Can I ask what voltages you were trying to set?

I'm working with doomlord to sort it out. I think I might know the issue but I'm waiting for him to confirm something for me. If that is the case I will send him a patch to implement in the kernel that should sort out issues.