yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] DooMLoRD:
working on few things...

testing more undervolting...

@devs

need a little help here...

i added the following two patches:

https://github.com/CyanogenMod/andr...mmit/d1a4720be07685fb2c45edaf6dd50d93de274c22

https://github.com/CyanogenMod/andr...mmit/c159b9228fec71ea2a8b1978a82cf6248650b615

but its breaking precompiled wifi...

i keep getting the following in dmesg:

<6>[ 268.193224] cfg80211: Calling CRDA to update world regulatory domain
<6>[ 268.199206] cfg80211: World regulatory domain updated:
<6>[ 268.199359] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_
gain, max_eirp)
<6>[ 268.199511] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
<4>[ 268.241049] wlan: disagrees about version of symbol set_user_nice
<4>[ 268.241141] wlan: Unknown symbol set_user_nice (err -22)
<4>[ 268.241721] wlan: disagrees about version of symbol wake_up_process
<4>[ 268.241873] wlan: Unknown symbol wake_up_process (err -22)

i saw that Kail-, FXP & codeworkx added prima & prima_legacy drivers, but which one should be used for stock ROMs?

@Entropy512

how is ur work going on for the conservative GPU governor?
[Xperia Z Original Android Development] tanoxxx:
Good :good: Thanks

About undervolt.. i tryed the maxium UV for my XZ:

384 - 800

432 - 800

486 - 800

540 - 800

594 - 800

648 - 800

702 - 800

756 - 837,5

810 - 837,5

864 - 850

918 - 850

972 - 875

1.02 - 875

1.08 - 925

1.13 - 925

1.18 - 950

1.24 - 950

1.29 - 975

1.35 - 975

1.40 - 987,5

1.45 - 987,5

1.51 - 1000

and by my test no difference in battery life, no improvement,

also changed the governor to ondemand, no improvement

:(

i hope you found the way to get an improvement battery life
[Xperia Z Original Android Development] sipe1:
This already is the minimum voltage I have ever seen. I put them in my xpreria to see if it is working without reboot.

If you want more battery install custom rom, clean it from bloatware, undervolt and turn off wifi/bluetooth/gps when not using. That is the maximum battery savings you can get. Anything above 4-5 hours of screen time is good. And lower your brightness, it drains battery the most.

Doomlord kernel is working fine, I notice shorther boot up thank you!
[Xperia Z Original Android Development] DooMLoRD:
i am testing lower undervolt limit of 700mV...

currently i am testing:

cat /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
192000: 700000
384000: 725000
432000: 750000
486000: 750000
540000: 775000
594000: 775000
648000: 800000
702000: 800000
756000: 850000
810000: 850000
864000: 875000
918000: 875000
972000: 900000
1026000: 900000
1080000: 950000
1134000: 950000
1188000: 975000
1242000: 975000
1296000: 1000000
1350000: 1000000
1404000: 1012500
1458000: 1012500
1512000: 1025000
1620000: 1050000
1728000: 1100000
1836000: 1150000
1890000: 1200000
1944000: 1225000
[Xperia Z Original Android Development] tanoxxx:
Thanks for the suggestions, but i just know it and do it :)

I wanted to try your voltages but i can go more down to 800.. i use System Tuner..

how i can set 700 and try your voltage?

thanks
[Xperia Z Original Android Development] DooMLoRD:
i am testing that right now... so far that frequency/voltage table is stable, no reboots so far... kernel with that feature is not yet released ;)
[Xperia Z Original Android Development] tanoxxx:
:good:
[Xperia Z Original Android Development] gm007:
Are trying to include this smartreflex?

http://rootzwiki.com/topic/13092-ke...-kernel-631-32913/page__st__10180#entry676132

http://rootzwiki.com/topic/13092-ke...-kernel-631-32913/page__st__10460#entry695040
[Xperia Z Original Android Development] DooMLoRD:
no...

also if i remember correctly smartreflex is for OMAP devices...
[Xperia Z Original Android Development] babakmaham:
Hi

How does it works?!

I installed setcpu. But dont works.when I doing overclock to 1800 mhz and play a game like as real racing 3 I have many problems and lagy,then I become to setcpu app and wonderfully clock decreased automatically!!!to 928 mhz!!

Is there any ways to set overclocking but I am noob..

Guid me please
[Xperia Z Original Android Development] gm007:
Does real racing lag on default frequency?

There is a protection for the cpu when it gets hot.
[Xperia Z Original Android Development] babakmaham:
That was very lagy with stock kernel too!!!

Loool this phone is hottest phone as normal as I have ever seen!!but what protection when it has a hot cpu normally?!!!

If there is protection then this method in not useful for a hardcore gamer with xz!!!

I am thinking about to comeback to iphone !!!
[Xperia Z Original Android Development] gm007:
http://xdaforums.com/showthread.php?p=38662245#post38662245
[Xperia Z Original Android Development] sea2605:
Waiting for doomkernel v6 because I really want to test 700 mV :) that would mean almost always 5.5 - 6 h screen on time with my usage patterns...

@Doomlord: you recommended kernel tuner. Its great for undervolting.

1.)But when underclocking all cpus only cpu0 will stick. The other 3 will jump back to 1512, ...

2.) ...what makes me also wonder if undervolting is also just working for cpu0.

I already learned that the ("htc one-") workaround in the kernel tuner-settings must be the mpdecision-setting, that will make the underclocking stick with all cpus (tested successfully), ...

3.) ...but I guess that mpdecision-setting keeps all cores awake forever, right? Wont save battery therefore, right?

4.) Btw, whats better for saving battety with your kernel: Ondemand or interactive?

Thanks in advance!
[Xperia Z Original Android Development] Supersaiyan.IV:
Hello Doom,

Any chance you'll make a v03 re-release compiled with gcc 4.7 and cortex a15 optimizations?

As of now only v03 allows significant GPU overclocking.

Sent from my C6603
[Xperia Z Original Android Development] DooMLoRD:
as discussed with other devs, probably not...
[Xperia Z Original Android Development] E90 Commie:
I am very happy with this kernel. After undervoltning, my Xperia Z is noticeable colder in operation, it develops less heat and the battery life has been improved. I look forward to the 700 mA table.

It is also very smooth, I use the Interactive governor with the screen on and Ondemand when it is off.

Keep up the good work, both v4 and v5 has been absolutely great.
[Xperia Z Original Android Development] DooMLoRD:
DooMKernel (v06) Released

DooMKernel (v06) Released!

Changelog:

added Simple I/O Scheduler

added Wheatley CPU Governor

lowered CPU undervolt voltage to 700mV - now u can undervolt more :)

lowered voltage for 192MHz by default - better battery life on this particular frequency

Please do consider sending me donation if you like my work!

download links at first post!

Keep watching the TO-DO list for planned/work in progress features

Cheers!
[Xperia Z Original Android Development] mafiarock93:
hi mate,i just switch from ip5 to this device and this is the 1st sony phone i use^^,since i use this kernel from mighty doom(lol) i just see that this kernel have wheatley governor,i just started search and dont have the anwser for my question:

is this governor for battery life??

tks in advance!!!
[Xperia Z Original Android Development] sea2605:
Be careful guys!

After booting with doomkernel v6 somehow kernel tuner (or the kernel itself?!) had changed some voltages drastically(!), so I got reboots! Had to lower them myself, after that it works great so far
[Xperia Z Original Android Development] haynesteve:
Thanks for new update - have a drink on me

ID131425227M306060S
[Xperia Z Original Android Development] tanoxxx:
Great Doom, Thanks for the update :):good:

i test now your kernel, is perfect :)

i test undervolt mixing by your configuration and my.. is very low.. i will ceck if its work and for battery life.. i will report you :)

what about Wheatley? is better than Ondemand and Interactive for battery life?

thanks
[Xperia Z Original Android Development] sipe1:
Thank you DoomLord on new kernel. Can you add in first/second post your undervolt configuration to have BASE which we can go from? I know that every chip is different and some can reboot, but just to have a base for undervolt. Thank you
[Xperia Z Original Android Development] PandaKen:
can Z-DooMKernel-v06 use for locked bootloader?
[Xperia Z Original Android Development] scoopdreams:
No - LB must use stock kernel AFAIK.

------------------------------------------

Sony Xperia Z C6603 Purple | RomAur 2.3.1 + DooMkernel v6
[Xperia Z Original Android Development] mistelbe:
how activate slide2wake on v6

Hello,

I just unlocked the bootlaoder on my Xperia and installed v6 of your kernel succesful.

But now I am wondering how I can activate slide2wake (the main reason that I have installed your kernel).

Thank you in advance
[Xperia Z Original Android Development] tanoxxx:
there isnt untill now this feature, but you can try this: http://xdaforums.com/showthread.php?t=2225790

work perfectly :good:
[Xperia Z Original Android Development] Mr.Dadulka:
v06 flashed and so far no issue - using 192 MHz with 725mA (System Tuner doesn't show me correct voltage for lowest level, why-bug?)

Another problem - something has force my phone always go to 1350MHz even I have set only 1242 everywhere. What can it cause this? I have already uninstall Incredicontrol, SetCPU and so on, but something has still remain there. What should I do to get rid of this behaviour?
[Xperia Z Original Android Development] gm007:
Do you have any script in init.d?
[Xperia Z Original Android Development] DooMLoRD:
one should search ;)

http://xdaforums.com/showthread.php?t=1736168

yes in my tests Wheatley performed better in terms of battery life.. though sometimes i noticed a little bit of lag but i guess for those who want better battery life wouldnt mind a slight lag...

thank you for your kind donation!

sure please do test out all possible combinations for better battery life...

faux123 has recently lowered the undervolt limit to 600mV... so if the current 700mV undervolt is stable for everyone then i can lower the undervolt limit to 600mV...

for Wheatley check above reply...

currently the kernel as-is is not undervolted to maintain compatibility across all devices...

current freq-voltage table can be found here:

https://github.com/DooMLoRD/android...aster/arch/arm/mach-msm/acpuclock-8064.c#L141

depending on the capabilities of ur chip the voltage table is automatically selected... it can be slow, norm, fast or faster...

NO... for now custom kernels can be used ONLY ON UNLOCKED bootloaders...

i have not yet implemented slide2wake... though there is an app to achieve similar effect....

though honestly i dont much point of sleep2wake as this device has the power button at a very comfortable location...

hmm.. uninstall the app and try again...
[Xperia Z Original Android Development] Mr.Dadulka:
I've just checked all files in init.d - didn't find any link to CPU setting (is there any specific file it is supposted to be inside?).

...as DoomLoRD suggested I will try to uninstall System Tuner as there is no other app for CPU setting.
[Xperia Z Original Android Development] tanoxxx:
@DooMLoRD

I Love you :p you are Great :good:Thanks for all you make :good:

lowered the undervolt limit to 600mV?? wow, we can try it :) for me 700 is perfect and stable, maybe we can try with 600 :laugh:

seems with Wheatley and undervolt tyhe battery life is a little bit better.. i will continue the test ;)

here my last undervolt frequency:

M/GHz - mV

192 - 700

384 - 725

432 - 750

486 - 750

540 - 775

594 - 775

648 - 800

702 - 800

756 - 837,5

810 - 837,5

864 - 850

918 - 850

972 - 875

1.02 - 875

1.08 - 925

1.13 - 925

1.18 - 950

1.24 - 950

1.29 - 975

1.35 - 975

1.40 - 987,5

1.45 - 987,5

1.51 - 1000

Untill now all worked perfectly without any reboot :good:
[Xperia Z Original Android Development] DooMLoRD:
Thanks but most of the features in this kernel are ported from kernels of other devices... So the original authors did a great job... I am just getting these awesome features to work on our Xperia phones... :)

Also for testing lower voltage stability it's Best to test out for few days before coming to any conclusions...

Lastly all devices are not same... All chips won't support same extreme levels of undervolting... So keep testing!!!
[Xperia Z Original Android Development] tanoxxx:
:good:

All of Devs. Here in xda are great..and you are one of those ;)
[Xperia Z Original Android Development] Mr.Dadulka:
Reinstall - seems to be OK now after I set the frequencies.

Set according to your suggestion, thank you. Seems to be stable after a while. I will see later if there is any reboot.

I really hope there will be some significat difference about battery consumption. :cyclops:
[Xperia Z Original Android Development] tanoxxx:
I hope ;)
[Xperia Z Original Android Development] Haldi4803:
For what exactly is the Voltage ? It's the core voltage and not the SoC Voltage.... GPU has its own Voltage... so its for the Cores only ?

Jus thinking that maybe 700mV might work fine, but when you activate WiFi Hotspot and send a file via Bluethooth...

does each core have it's own Voltage Regulating module? directly draining from battery?

haven't found any good documentation from Qualcom about that.

btw, 192 and 384mhz running fine on 700mV gonna test that trough the week. But i think it might work with 650... maybe.
[Xperia Z Original Android Development] sea2605:
Got a serious issue: before I went to sleep I had 72% left. Right now I woke up and the Z had no juice left...betterbatterystats hasn't any stats for me. Havent installed anything but the kernel v6 these days. All apps in the background were all greenified. Maybe my voltages are too low? Set them a little higher right now... What do you guys make of the stats in the pictures?!

Edit: the answer might be whatsapp (got messages in the night and the vibration, sounds and led might have drained it ?)
[Xperia Z Original Android Development] dogsofgods:
Anyone getting bugs with the top right hand clock? My clock is not moving
[Xperia Z Original Android Development] 23Six:
Underclocking all CPUs work successfully when done in Kernel Tuner, not SetCPU etc. Make sure you select link all cores together.

It's only when you back out and jump back in the settings tend to reset back to default with exception of CPU0 most times.

I know this because I monitor core activity using System Monitor and the frequencies don't jump higher as long as I don't go back into KT.

You can also manually force cores offline using widget.
[Xperia Z Original Android Development] sea2605:
So you change the frequencies (all cores together), dont press "back" and just leave kernel tuner by pressing "home " or switching to another app...and the frequencies stick?
[Xperia Z Original Android Development] Beukhof1:
Can this be used for cm10.1?
[Xperia Z Original Android Development] 23Six:
You can quit however you like just try to refrain opening KT afterwards as it could reset values.

No, stock ROMs only. (I was using the kernel before I switched ROMs)
[Xperia Z Original Android Development] Beukhof1:
Hi Doom! Can u pls make a cm10.1 version 2?
[Xperia Z Original Android Development] DooMLoRD:
CM is in active development... i may work on a CM compatible kernel once CM for this device is fairly stable with most functions working...
[Xperia Z Original Android Development] jeroenqui:
Whooop, nice to see you're at least not saying a plain NO this time :)
[Xperia Z Original Android Development] Delacor:
+1 I'm happy :)

Sent from my Xperia Z
[Xperia Z Original Android Development] deathg0d:
distress!!!

my phone just suddenly do not boot up, just a flashing red led.

an a S1 service on device manager.

help urgently please??
[Xperia Z Original Android Development] gm007:
More info needed.

Battery have enough juice?

Did you tried flashtool?
[Xperia Z Original Android Development] deathg0d:
i was charging it till around 40%, my phone rang so i unplugged the usb and i got this sony usb error pops up and the phone reboot itself, after that the screen is black and the led just flash red with a nice tempo.

i am downloading flashtool but i got a bad feeling.
[Xperia Z Original Android Development] gm007:
I hope it's not hard brick like what happened to me yesterday.

Try flashtool or emma(from sony website).
[Xperia Z Original Android Development] deathg0d:
thanks a bunch for everyone for the kind advises. i tried flashtool with a sg unbranded ftf and my xperia z came back to life!!

what a close shave to permanent phone brick

---------- Post added at 06:05 PM ---------- Previous post was at 05:07 PM ----------

sorry for me being stupid.

i fix the phone using flashtool but now my bootloader is unknown and i cant unlock it. any ideas how? i search google a bit but seem no solution
[Xperia Z Original Android Development] gm007:
I think you are using an old flashtool's version,right?
[Xperia Z Original Android Development] harfot:
Use this version of FlashTool's BLU icon in toolbar to toggle bootloader lock/unlock (you'll get right text back).
[Xperia Z Original Android Development] tanoxxx:
The v6 working so great Untill now :) Great Doom Thanks:good:

i wanna share my last Extreme UV

M/GHz - mV

192 - 700

384 - 700

432 - 725

486 - 725

540 - 750

594 - 750

648 - 775

702 - 775

756 - 800

810 - 800

864 - 825

918 - 825

972 - 850

1.02 - 850

1.08 - 925

1.13 - 925

1.18 - 925

1.24 - 925

1.29 - 950

1.35 - 950

1.40 - 975

1.45 - 975

1.51 - 987,5

Untill now all work perfectly, without reboot or problem..

I Wait for 600 low Frequenze :p
[Xperia Z Original Android Development] deathg0d:
i got beta 5 but its not working for me. i press unlock or relock but my phone bootloader is stilll unknown???

---------- Post added at 06:34 PM ---------- Previous post was at 06:29 PM ----------

problem with my firmware i downloaded?
[Xperia Z Original Android Development] gm007:
Use the flashtool from this link and flash the firmware again.

Page 18 in flashtool's thread.
[Xperia Z Original Android Development] tanoxxx:
+1 bravo gm007:good:

http://xdaforums.com/showpost.php?p=39338155&postcount=178
[Xperia Z Original Android Development] deathg0d:
no joy
[Xperia Z Original Android Development] gm007:
Hi Doom,

Trickster mod app is supporting our phone http://xdaforums.com/showthread.php?t=2238244
[Xperia Z Original Android Development] [NUT]:
Was the ftf you used prerooted? Try stock Rom if that's the case, the root process can cause this. I had the same thing but flashing a stock Rom fixed it for me.
[Xperia Z Original Android Development] androizers:
Hey @DoomLoRD

A Gr8 Fan Of uh over Here....

Using ur kernel from Last 3 days back and Incredible Battery and Performance!!!!

Just Wondering if u're going to add some more governors to it like Nightmare, Lionheart and Hotplugx??

Nd wat bout kernel Sound Level, if we go thru manual way out, we have to edit those file via any text file editor or there some particular app for it, just askin for it to prevent bootloops!!
[Xperia Z Original Android Development] Juzman:
Just applied these with Wheatley governor. Will see how it goes. :)
[Xperia Z Original Android Development] tanoxxx:
:good:

this configuration for me is really stable :)

Now i testing more Extreme Voltage, untill now it working so great, no problem and no reboot, when i finish my test i will share ;)
[Xperia Z Original Android Development] Juzman:
Awesome. Mines been running fine too so far. :) Will like to see the battery life.

Edit: So I have lost 11% in 34 minutes, just from texting. No browsing.
[Xperia Z Original Android Development] DooMLoRD:
I have noticed that if you undervolt too much the camera app start force closing and keep getting "error camera not available"
[Xperia Z Original Android Development] xHok:
If I undervolt 1.72 to 1075, antutu doesnt do the test and 3dmark says it's not compatible. Weird
[Xperia Z Original Android Development] Haldi4803:
right... i had one Force close of camera in the last feq days. But also made some Pictures & Panoramas and it worked fine!

btw.

5h30min awake on 192mhz! undervolted to 700mv! Drained 5%!
[Xperia Z Original Android Development] tanoxxx:
Until now no problem with camera and benchmark..never I get These issue..
[Xperia Z Original Android Development] Klaus N.:
AW: [KERNEL][Z] DooMKernel {JB}(v01)[20130303]

Slide2wake us a function that lets wake up the device by sliding with one finger from the very left to the right side of the screen ;)

Gesendet von meinem C6603 mit Tapatalk 2
[Xperia Z Original Android Development] r1c4rd0:
very nice feature, i used it everytime in my galaxy nexus.:laugh:
[Xperia Z Original Android Development] elroy944:
Re: [KERNEL][Z] DooMKernel {JB}(v01)[20130303]

What's the thing of android apps optimalisation every time on reboot? (Just like when wiping cache and dalvik)
[Xperia Z Original Android Development] wars045:
Odp: [KERNEL][Z] DooMKernel {JB}(v01)[20130303]

Can you add 2way call record?

Wyslano z Tapatalk
[Xperia Z Original Android Development] elroy944:
Re: [KERNEL][Z] DooMKernel {JB}(v01)[20130303]

It's already working with callrecorder. Just choose standard android api
[Xperia Z Original Android Development] kazuni:
Yup :) you're more than welcome here.. and now I don't even have to bug you about compiling kernels anymore XD
[Xperia Z Original Android Development] DooMLoRD:
How to control GPU Governor!

by default the kernel will always boot with GPU governor as ondemand (same as stock)

you can control this manually via scripts/commands...

[v12 onwards this has changed!]

[ how to do this manually/script ]

the GPU governor interface is at:

/sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/trustzone/governor

to check current GPU governor:

cat /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/trustzone/governor

available governors are:

[LIST]
[*]ondemand (DEFAULT)
[*]performance
[*]simple
[/LIST]

to set GPU to new governor use:

echo "simple" > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/trustzone/governor

happy play!

regards,

DooMLoRD
[Xperia Z Original Android Development] wars045:
delete it
[Xperia Z Original Android Development] elroy944:
how can i get back the stock boot logo?
[Xperia Z Original Android Development] Cxpher:
Does this kernel support ntfs/exfat?

Can you format the sdcard with said filesystems or ext4/xfs/btrfs?
[Xperia Z Original Android Development] Lancerfq:
Re: [KERNEL][Z] DooMKernel {JB}(v01)[20130303]

I've not tried your kernel yet but I'll keep a watch on it, only just got my Z yesterday so will wait before messing with it but it'll be DooM powered when I do, been following your work since my x10 mini pro
[Xperia Z Original Android Development] DooMLoRD:
How to control Intelli-Thermal!

by default the kernel will always boot with default thermal management (same as stock)

you can control this manually via scripts/commands...

[ how to do this manually/script ]

the msm_thermal interface is at:

/sys/module/msm_thermal/parameters/

to enable intelli-thermal use:

echo "Y" > /sys/module/msm_thermal/parameters/enabled

to disable intelli-thermal use:

echo "N" > /sys/module/msm_thermal/parameters/enabled

there are a LOT of paramaters which can be controlled to fine-tune the thermal limits

TWEAKS THESE PARAMETERS CAREFULLY ELSE DEVICE MIGHT HEAT UP A LOT AND GET BRICKED!

happy play!

regards,

DooMLoRD
[Xperia Z Original Android Development] Pati1112:
can you make exFat support?