yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] Destroyedbeauty:
Ignore my 'thanks' repo on this post..

This issue sounds like an XzDualrecovery issue with the chargemon files? Think I saw something similiar regarding ROMAur (either Z or Z1 version)..

Hmm..
[Xperia Z Original Android Development] -totonio-:
Also to me.
[Xperia Z Original Android Development] Haldi4803:
Offline Charging works fine on stock rom.

P.S Anyone tested the new GFXBenchmark 3.0 ?

https://play.google.com/store/apps/details?id=com.glbenchmark.glbenchmark27

The T-rex test is running, but i cant get a proper Manhatten Run, most of the time it just wont start it, and when it does it looks horrible.

Same problem trying to run an ALU Offscreen benchmark.

Is this only problem for me ? or for you guys also ?
[Xperia Z Original Android Development] alnikki25k:
Shouldn't be a kernel fault. Tested with Stock kernel?

Again it's fine in my device. It works with XZDualRecovery as well.
[Xperia Z Original Android Development] st7ady:
this version is terrible . My screen won't respond to unlock 4-5 times a day and i have to hard reboot the phone -.-
[Xperia Z Original Android Development] alnikki25k:
Disable intelli-plug and MP-Decision

Also, stay away from Intell-demand
[Xperia Z Original Android Development] st7ady:
i still have problems :) even with this setting
[Xperia Z Original Android Development] alnikki25k:
Hmm. I am releasing a less "experimental" kernel soon.
[Xperia Z Original Android Development] Kocane:
I dont understand whats wrong with intellidemand. Havent had black screens for days now and the phone is very snappy with this governor, or atleast it feels so.
[Xperia Z Original Android Development] sea2605:
I had black-screen/touch-recognition issues with v19-touch2wake-version....

After that I switched to v19-no-touch2wake and have none of these issues since then (several days? a week? can't remember)... ALTHOUGH I always used and still use intellidemand+intelli_plug and deactivated mp-decision(-s!)...

So maybe that black-screen issue has nothing to do with intellidemand/intelli_plug

______________________________________

My thread about optimizing battery life:

http://xdaforums.com/showthread.php?t=2382712
[Xperia Z Original Android Development] alnikki25k:
Good to know. Then looks like it's because of MP-Decision being on. But despite all that I have reason to believe intelli-demand is not completely stable.
[Xperia Z Original Android Development] elias234:
i have v19-with touck wake

i/o scheduler : row

mp decision of qualcomm is on and the other is off

intelli-plug : off

GPU governer : ondemand

CPU Governor : interactive

no cpu overclock

i had no black screen since v 19 was released and double tap to wake is responsive

no problems with me

you should give a tutorial for sony to teach them how to fix deep sleep :P
[Xperia Z Original Android Development] Kocane:
It have happend with Intelliplug, with me, though... so.. I don't know? But then again, I dont remember if that was pre-v19
[Xperia Z Original Android Development] Haldi4803:
Just saing, nor do i have Screen blackout problems. i had it once the whole time, not sure if that was still on 18.5 though...

using Touch2Wake

MP-decision and MP-decision-control (standard setting after a reboot! too lazy to change every time)

interactive gov, mostly ^^ all others for benching.
[Xperia Z Original Android Development] alnikki25k:
Ok, I'll leave this kernel as-is then. Whoever has any instability can try my other kernel. :good:
[Xperia Z Original Android Development] m0b:
Will you continue supporting this kernel? What about v20? I'm waiting and want to test Battery fix!
[Xperia Z Original Android Development] alnikki25k:
I'll continue. This will remain my main kernel.
[Xperia Z Original Android Development] -totonio-:
Your other kernel? where?
[Xperia Z Original Android Development] alnikki25k:
It's not released yet :p
[Xperia Z Original Android Development] Kocane:
Today my screen turned black while it was on lol. Just black but with backlightning. Had to shut the phone off. Could be irrelevant to the kernel, who knows.
[Xperia Z Original Android Development] alnikki25k:
Maybe. That generally means the GPU failed to draw.
[Xperia Z Original Android Development] Kocane:
I was swtching between my MX Player and some browser window when it just suddenly happened.
[Xperia Z Original Android Development] alnikki25k:
Then it must be ROM-related. Android does things like these sometimes haha
[Xperia Z Original Android Development] alnikki25k:
v20 uploaded
[Xperia Z Original Android Development] Kocane:
When can we give your 'other kernel' a try :)? Personally I don't need so many features.
[Xperia Z Original Android Development] alnikki25k:
Soon. Source code is up for that. Planning on adding an AROMA-installer for that.
[Xperia Z Original Android Development] Kocane:
Neat :)

Could you explan what the "Uses 4.3 battery driver with wakelock fixed" is? I mean, which wakelock and so...
[Xperia Z Original Android Development] alnikki25k:
Previously I had to revert to 4.2.2 drivers to fix the wakelock. Which meant no calibration. However, I managed to find a fix that allows me to use 4.3 drivers and kill suspend_backoff.
[Xperia Z Original Android Development] o0oP5:
Hmm,, does in v20 you include the simple gpu governor? Because its listed on trickster mod, but not present on fauxclock.
[Xperia Z Original Android Development] Kocane:
Why people use this? I tried it and I got way more stuttering and slow downs (especially in games) compared to ondemand.

Just curious...

[MENTION=4645070]alnikki25k[/MENTION] - Is Intellidemand still not recommended in v20?
[Xperia Z Original Android Development] o0oP5:
Simple, because i don't play games on my phone ?? and I'm not having any problem (afaik) by using this governor (IMHO)..
[Xperia Z Original Android Development] Kocane:
Ah ok. You don't use GPU for 2D rendering, either?
[Xperia Z Original Android Development] o0oP5:
Nope,, should i use it? I'm concerned about battery life, i'll do anything to make it last longer.. ?? by using gpu for 2d rendering consume more battery right?
[Xperia Z Original Android Development] Kocane:
According to my googling, not really. Atleast what I found from other people was that it was a difference hard to notice... and the smoothness gain is worth it.
[Xperia Z Original Android Development] o0oP5:
Okay, thanks for the information! ?
[Xperia Z Original Android Development] alnikki25k:
Simple Governor has been removed for now. Forgot to include it with the new Adreno drivers.
[Xperia Z Original Android Development] bioan:
[MENTION=4645070]alnikki25k[/MENTION] - I remember the days from Galaxy Nexus and Nexus4 where the kernel came with stable predefined settings. Also, I really like franciso franco's idea. Keep the kernel simple but efficient. Not 100 governors or schedulers, only the ones that are worth keeping. On Nexus 4 I always had tuned Interactive governor with Row scheduler and not even one reboot or black screen. I hope you get what I am trying to say here. Thank you for your work!
[Xperia Z Original Android Development] beniamin24:
Ai dreptate oricum e cam lăbăreală kernelul ăstuia, tentative eșuate :)) las că face el [MENTION=2784807]DooMLoRD[/MENTION] unu forță :))
[Xperia Z Original Android Development] alnikki25k:
Yes. Hence I am working on another kernel with pre-defined values. Much more stable.
[Xperia Z Original Android Development] alnikki25k:
New kernel is up - A much closer to stock experience. Snappy but stable
[Xperia Z Original Android Development] doomhammer07:
Would love to see an aosp kernel from you :o
[Xperia Z Original Android Development] venky716:
+1
[Xperia Z Original Android Development] banny7000:
V20 seems more stable on v19 if I oc to 1.7 screen would not come back on,but no problem on 20
[Xperia Z Original Android Development] Kocane:
I get really poor ingame performance with SmartMax, while with Intellidemand its smooth.... Why is it that we're supposed to use smartmax and not intellidemand?
[Xperia Z Original Android Development] alnikki25k:
Smartmax is for good ui performance and better battery. Of course it's not for gaming.
[Xperia Z Original Android Development] Bor_NL:
That would be Nice in that case we would have 2 kernels tot choose from.

Verstuurd vanaf mijn C6603 met Tapatalk
[Xperia Z Original Android Development] m_k1815:
Do you Make Unistaller for this kernel?
[Xperia Z Original Android Development] klit27:
Thanx for yor work alnikki25k :good:

I have a problem, FM Radio not working on V20 i go back to V19 and is working fine, can someone confirm that?

I dont use any sound mod only sound control from Trickster.
[Xperia Z Original Android Development] iKillCypher:
Sound control don't work I have been telling this guy
[Xperia Z Original Android Development] alnikki25k:
It works in tricksterMOD and I have been telling you that. Maybe I should refund you for my services. Oh wait you don't pay me.
[Xperia Z Original Android Development] klit27:
Sound control is working just fine with Trickter. ;)
[Xperia Z Original Android Development] alnikki25k:
Oh. I'll check this for the next release. Any particular errors?
[Xperia Z Original Android Development] kingrion88:
Its just you tbh. Even in v19 sound control works for me (faux app)
[Xperia Z Original Android Development] klit27:
Nop no errors just stuck on load and somtimes reboots the phone.
[Xperia Z Original Android Development] alnikki25k:
Hmm. Must just be a simple module loading problem.
[Xperia Z Original Android Development] GuiPoM:
I can't find this answer by myself: is there any difference between the two v20 kernel versions other than doubletap to wake enabled by default ? I mean, if I install the one with tap2wake and I set it to off with Trickster MOD, it will be the same than if I flash the kernel with this option set to off.

Or the specific kernel version disable this feature (to save battery, or any other reason) ? thanks for telling me what the difference could be :)
[Xperia Z Original Android Development] alnikki25k:
No difference in battery. Just that, the current implementation of tap2wake leaves certain tied ends loose. Basically the touchscreen still has the possibility of being as unstable as the tap2wake version. So a dual version completely removes that possibility. That said, I am working on re-structuring the kernel to make sure there is only one version :good:
[Xperia Z Original Android Development] GuiPoM:
Pretty clear ! Thanks :)
[Xperia Z Original Android Development] MafiaManV:
Having some battery drain on standby that i haven't had before v20. Looking at battery stats i don't see anything particular. 2G all the time. Any other info would be useful to you?

Thank you
[Xperia Z Original Android Development] ux50jp:
Can I use XzKernel-20 with eXistenZ v5-10.4.B.0.569?
[Xperia Z Original Android Development] Badre88:
Yes of course, and the important is unlocked bootloader

Envoyé de mon C6603 en utilisant Tapatalk
[Xperia Z Original Android Development] alnikki25k:
With 4.3 Sony included automatic calibration of the battery. In v20 I reverted back to 4.3 after fixing the wakelock. So just give it two or three recharge cycles and see if it improves. Also, 4.3 is a really poor version for battery. Almost all devices with 4.3 have had unexplained battery drains.
[Xperia Z Original Android Development] beniamin24:
So in CPU Z it shows now that we have a Snapdragon 600 insted of S4 Pro, can you make it show Snapdragon 800?
[Xperia Z Original Android Development] Kocane:
Today, while listening music in the train, I got two black screens pretty close to each other. Both while listening music and before that, there had been a while without any black screens. So I don't know if there's a connection to the fact that the screen is off without the phone being in deepsleep, that makes it easier to fall into a black screen?

Either way... When you release v2 of your new kernel, I'll most likely switch to it. Tap2Wake or without, I could do with some stability now :P.
[Xperia Z Original Android Development] alnikki25k:
Lol no. I am not making it show anything. In my kernel the default cpu max is 1.7 ghz which happens to be snapdragon 600 max. So cpuz is confused
[Xperia Z Original Android Development] mankent7:
still having suspend_backoff wakelocks on XzK v20?

just want to find out how to make the wakelocks gone and save more battery.

View attachment 2545892

View attachment 2545893

View attachment 2545898

View attachment 2545899

rom: Existen v5 black

kernel : XzK v20 with touch to wake

cpu gorvernor : smartmax

eco mode : on

intelli-plug : on

Mp-Decision : off

multicore power saving : 2

GPU : Ondeman 400mhz (but it's only run max to 320)

CPU UV : 125000 ( no black screen since until now v20)

dropbox is greenified i launch it to share the screen capture to pc only.
[Xperia Z Original Android Development] MR.Samo:
1+ Confirmed, and i have "PowerManagerService" Wakelocks too. V19

By the way thx to dev for the amazing kernel, every thing else is running in perfect way.
[Xperia Z Original Android Development] alnikki25k:
Powermanager service is a wakelock caused by the apps. It's not kernel related. The suspend backoff should have gone. It's gone for me. Wipe cache and dalvik and try again.
[Xperia Z Original Android Development] MR.Samo:
Thank u for making things clear, will do cash and dalvik wipe and report later .
[Xperia Z Original Android Development] elias234:
how much from multi boot is done ?

NOT ASKING FOR ETA

how much by percentage is done ?
[Xperia Z Original Android Development] Waelhh90:
i was using Doomkernel then i flashed yours V20 in deodexed stock rom

but everytime i restart the phone it doesnt boot until i wipe cache ad dalvik or it will bootloob !

any idea about that?
[Xperia Z Original Android Development] alnikki25k:
About 60%.

Post logcat while booting.
[Xperia Z Original Android Development] Waelhh90:
Sorry for noob but how i can get logcat While Booting :confused:
[Xperia Z Original Android Development] alnikki25k:
Connect to the computer then.
[Xperia Z Original Android Development] Waelhh90:
ok man thanks the Z is back to boot normally again :)

however thanks
[Xperia Z Original Android Development] David.V:
killed my phone

after flashing this kernel on existenz rom i the phone doesn't boot up, PLEASE HELP ME! I tryed using flashtool, but it gives fail!
[Xperia Z Original Android Development] CaracalSef:
What is "suspend_backoff"? It's on top list of kernel wakelock. Using v20. At first it wasn't there, after I flashed v20. It was on v19 though. But at some point it started to appear on v20 also.
[Xperia Z Original Android Development] MafiaManV:
Flash xposed-disabler. zip in recovery which is located in root of your internal storage
[Xperia Z Original Android Development] Badre88:
I think you have a locked bootloader, you cant use custom kernel until you unlocked your bootloader.

Don't worry your phone is working juste hold power+volume up wait for the first vibration, keep holding till the phone vibrate 3 times and then flashtool will work.

Sent from my Xperia Z C6603
[Xperia Z Original Android Development] David.V:
Thanks for the answers people :D

the problem is the phone didn't even boot up after flashing v20 kernel, so the recovery wasn't reachable

Actually I flashed this kernel after unlocking bootloader, so I don't know what lead to this situation. I tried using flashtool but it failed every time. The phone vibrated just one time and didn't boot up.

I thought my phone is completely dead, and just in case, tried to restore it in PC companion, and it worked! :laugh: I just don't understand how PC companion did that even when the flashtool was failing.

Sent from my Xperia Z C6603
[Xperia Z Original Android Development] crazymister:
If you were able to use pc companion your bootloader is locked. Did you restore ta backup after unlock? Because that would have locked your bootloader again
[Xperia Z Original Android Development] teddymild:
Hi, thanks for your kernel. I downloaded no touch version but touching sensor in screen off wakes the phone. In trickster I can't find option to disable this feature. I read op It can be disabled using adb command, but I don't know how. Is this command can be use in terminal emulator? Thanks in advance.

Nb. In sys/android_touch contain doubletap2wake and sweep2wake files. In text viewer both written "1". Can I delete those files to remove these feature.

Edit. Updating trickster solve my problem. Thanks again
[Xperia Z Original Android Development] Badre88:
[MENTION=4306847]David.V[/MENTION] you had to keep pressing power+volume up till the phone vibrate 3 times after the first vibration then the flashtool should work, after unlocking bootloader you will not able to use pc companion so you will need this tip if something goes wrong in the future :)
[Xperia Z Original Android Development] David.V:
thanks for reply

Yes, I did restore my TA partition after unlocking the bootloader. So it turns out if one restores TA partition, it locks bootloder again! after restoring i checked bootloader status, it was "bootloader unlock allowed - Yes". If it were unlocked it must say "Bootloader unlock - Yes", correct? :confused:

And by the way, I remember I would use PC companion with my old XPERIA X8 with unlocked bootoader and custom kernel installed. :D

Thank You very much for the tip, but i guess i did press power+volume up and it vibrated only one time. I think I have messes up something. :D
[Xperia Z Original Android Development] FateNozomi:
[MENTION=4645070]alnikki25k[/MENTION] Sorry to bother but this kernel also have TWRP symlink problems. Was hoping that this one doesn't have it >.<
[Xperia Z Original Android Development] Badre88:
You are welcome... After the first vibration keep pressing don't let off, it will vibrate 3 times after 4 or 5 seconds.

Sent from my Xperia Z C6603
[Xperia Z Original Android Development] alnikki25k:
Use the following to return to stock from my kernel before you flash any other kernel. This will revert it to the stock kernel.
[Xperia Z Original Android Development] shaanyt:
Weird.. after using v20, it seems that the wakelock comes back after bluetooth + NFC is used.. like actually connect to something, then turn them back off, then voila, the phone no longer sleeps. It sleeps again after a reboot. If i dont use bluetooth at all, sleep works normally. Could you look into it? :D
[Xperia Z Original Android Development] alnikki25k:
Do you have Stamina mode on?
[Xperia Z Original Android Development] shaanyt:
Nope, do i really need to have it on just to make it deepsleep? It feels like bluetooth (after a successful connection, like to a speaker, then once u turn off bluetooth, this happens) service started something that keeps the device awake. :(
[Xperia Z Original Android Development] alnikki25k:
No, you don't need Stamina mode. In fact people have reported Stamina mode is keeping devices awake in 4.3. Post your kmsg here.
[Xperia Z Original Android Development] shaanyt:
:eek: LOL, i have no idea what u just said. About the kmsg, how do i get it ? HAHAHAHA i've never done that before -_-
[Xperia Z Original Android Development] alnikki25k:
Connect the phone to your PC. Use adb

Kernel Log:

adb shell su -c dmesg > dmesg.log
[Xperia Z Original Android Development] shaanyt:
[MENTION=4645070]alnikki25k[/MENTION] Will this do? Kinda long... LOL, Found an app called Syslog to take it for me. :p
[Xperia Z Original Android Development] shaanyt:
Yeah, i found an app to do it. Just curious though, would apps like wakelock detector tell me anything useful?
[Xperia Z Original Android Development] CaracalSef:
I flashed it over stock rom and wifi isn't working.
[Xperia Z Original Android Development] alnikki25k:
Give me your kmsg log. It should work. I have completely replaced all the files.
[Xperia Z Original Android Development] CaracalSef:
Here it is: http://pastebin.com/9JXEE5mP

L.E.: Sorry, I made some tests with doomlord's kernel. I'm restarting now and give you kmsg again.
[Xperia Z Original Android Development] alnikki25k:
That's not enough sadly. Tell me, the phone boots up right? You should have a longer kmsg. I mean that kmsg is only 20 seconds long.
[Xperia Z Original Android Development] doomhammer07:
Is the black screen issue still present in the kernel?
[Xperia Z Original Android Development] CaracalSef:
Yes, the phone boots up correcly, no problem there. Only wifi isn't working. If I try to switch it on, the slider goes to ON position, but it's grayed out. If I go back and the again to wifi settings, the slider it's on off position.

I wouldn't want to flash the stock rom again :D I have a weird zip with the stock which has a system.tgz inside. You know where I can get stock 4.3 like normal .zip? I would like to delete the files in it and leave only etc and modules folders, then flash, without the apps and all other things :p

Here's some dmesg, logcat and another last_kmsg.
[Xperia Z Original Android Development] teddymild:
Same for me too, wifi not working flashing stock kernel. Not only stock kernel provided here but also the one by Nut and from also stock rom I got from pcc.

It also happens flashing stock kernel from doomlord's kernel.

About kmsg log, is it after flashing stock kernel? Noob here hehehe:o
[Xperia Z Original Android Development] MafiaManV:
Same here. Had that unknown drain in xzk20, flased stock but lost wifi, niw tryed xzl v2 but facing suspend...

[MENTION=309187]edit[/MENTION]

Log is from running xzl v2
[Xperia Z Original Android Development] alnikki25k:
Fixed Stock-revert zip. Wifi should work now. Also, I'll look into what's keeping the phone alive.
[Xperia Z Original Android Development] MafiaManV:
Thanks . Wifi working now :good:
[Xperia Z Original Android Development] reddyblazingboy:
hi ur the best. can u plz make this double tap to wake for sony z ultra . if u dont have z ultra, i will test ur files mail me reddyblazingboy@gmail.com
[Xperia Z Original Android Development] Hellscythe:
not really a good idea to publicly post your email address haha
[Xperia Z Original Android Development] MR.Samo:
[MENTION=4645070]alnikki25k[/MENTION], I want to thank u for everything, and u know what, your kernel is the only reason that makes me stuck with stock roms.

So is there any chance to bring your magic to AOSP roms, we need it more than anything coz your kernel is the only kernel i knew that support gamma control, and without this i can't look at my XZ screen :eek:

Thank u so much
[Xperia Z Original Android Development] banny7000:
I couldn't live without gamma on my z now.
[Xperia Z Original Android Development] Kocane:
How have you guys configured your gamma? I've only set blue to 245 instead of 255 to remove the blue tint I always saw on the Z screen.
[Xperia Z Original Android Development] flytomars:
Issue!

A serious problem found! File names in Chinese and Japanese characters on the external SD Card cannot be properly displayed.(Actually displayed '?') After removing and remounting the ext SD Card, this issue disappeared. So everytime I start my XZ, I have to unmount then remount the SD Card.
[Xperia Z Original Android Development] banny7000:
Try some of these

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

Also the sharp panels gamma has already been tweaked
[Xperia Z Original Android Development] alnikki25k:
Ya. I'll look into that.

is it an exfat card?

Not anymore. After introducing gamma control, I have removed the tweak.
[Xperia Z Original Android Development] flytomars:
No. It's a normal card. Thank you!
[Xperia Z Original Android Development] alnikki25k:
I'll try but I can make no promises. ;)

In the works, XzAOSP :cyclops:

Remove the 00_loadexfat file from system/etc/init.d/ folder. Then reboot and check if that works :good:
[Xperia Z Original Android Development] MR.Samo:
Ohhh god, that's will be AWESOME, I am not on stock ROM right now but every day and every couple hours I check this thread just to watch your awesome work.

Thank u so much and will wait for ever :laugh: