yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] sea2605:
sadly the "wifi broke after turning it off"-issue came up again with v14 (after they seemed to be gone when flashing the advanced kernel and flashing v14 afterwards)...

So i wiped everything (sys/kernel/data/... nothing excluded) with flashtool and reinstalled the 244 ftf...and went straight to doomkernel v16:

with v16 (flashed with fastboot and afterwards with cwm on a freshly installed stock .244) the wifi issue still exists.

Turning wifi back on is not possible, after you turn it off once... only after a restart it will turn back on. can't even choose the "turn wifi off when screen-off"-option...

I'm praying for those new wifi sources... since doomkernel v10 I have this exact same issue... and I know its not dooms fault! we need to wait for these sources... damn! :(
[Xperia Z Original Android Development] DooMLoRD:
can you please post dmesg output so that i know whats happening exactly?

i just tested and wifi works fine for me buddy...

are you by anychance using any WiFi power collapse features of apps like FauxClock?

can you zip a few problematic dummy files/folders and send me? so that i can check it out on my device...
[Xperia Z Original Android Development] sea2605:
here you got some screenshots of the dmsg. will upload the files later!

btw:

logcat includes many errors due to qcom powerhal not finding a interactive governor-directory or something... but that might not be related to the wifi issue

//////////////////////////////////

My thread about optimizing the battery life of Sony's Xperia Z: http://xdaforums.com/showthread.php?t=2382712
[Xperia Z Original Android Development] mamenvn:
Hi man,

How to enable ZRAM?
[Xperia Z Original Android Development] DooMLoRD:
I will put up a detailed post soon...
[Xperia Z Original Android Development] sea2605:
[MENTION=2784807]DooMLoRD[/MENTION]

here is the dmesg you asked for
[Xperia Z Original Android Development] DooMLoRD:
Will look into this... Just had a glance thru the file... I think I need to fix the auto_hotplug Driver... It's literally spamming dmesg!
[Xperia Z Original Android Development] sea2605:
and next to the auto_hotplug-issue: please lean deeply into this "wifi"-issue, maybe you can solve it without new wifi sources.

and one more bug:

"wrong date/time"-issue reappeared (whatsapp reported wrong date again. restart and reinstall helped.

but nevertheless:

THANK YOU for the new features of v16! great tools for optimizing battery life! That was what my thread needed ;)

//////////////////////////////////

My thread about optimizing the battery life of Sony's Xperia Z: http://xdaforums.com/showthread.php?t=2382712
[Xperia Z Original Android Development] DooMLoRD:
Ya will cheek it out...

BTW no issue with date/time... WhatsApp working perfectly fine...

Happy play with the New features!

Do keep sharing the settings which you found optimal! Performance wise & battery wise!
[Xperia Z Original Android Development] sea2605:
I've never looked into the live modules before. Could you explain me how to grep/get the list? Guess with terminal emulator?

//////////////////////////////////

My thread about optimizing the battery life of Sony's Xperia Z: http://xdaforums.com/showthread.php?t=2382712
[Xperia Z Original Android Development] DooMLoRD:
a simple "lsmod" command is enough (without the quotes) ;)
[Xperia Z Original Android Development] mohanparvatham:
[MENTION=2784807]DooMLoRD[/MENTION]

Thanks a lot for ur work for Z....

I have a problem with V16....

Not able to find the music in SDCARD(SD card is not showing in the list of folders) in POWERAMP Player.....

I reflashed V15 and now the POWER AMP is showing SD Card in Folders list......

When i flashed V16 it's not working again.......
[Xperia Z Original Android Development] DooMLoRD:
working fine on stock music player
[Xperia Z Original Android Development] mohanparvatham:
Stock player is working properly for me.....This problem is with Power AMP.......

While doing a folder scan it displaying Message "Some storage(s) unmounted" in V16 but not in V15...
[Xperia Z Original Android Development] DooMLoRD:
ok found the issue...

PowerAmp is not able to "see" the mount point /storage/removable/sdcard1

will look for a solution
[Xperia Z Original Android Development] DooMLoRD:
generally i dont bother about benchmarks as they never clearly tell real world performance but just did some testing on 3DMark and the results were decent :)

IceStorm - Maxed out!

IceStorm Extreme - "Cant' touch this! Not only is this device one of the most powerful available, but your score is also better than average"

IceStorm Unlimited - "Good news! This is one of the most powerful devices around and everything seems to be working normally!"
[Xperia Z Original Android Development] sea2605:
here are the live modules:

wifi running and connected:

u0_a16@android:/ $ lsmod

wlan 2601298 0 - Live 0x00000000 (C)

cfg80211 116973 1 wlan, Live 0x00000000

hid_sony 2254 0 - Live 0x00000000

exfat_fs 16329 0 - Live 0x00000000

exfat_core 72601 1 exfat_fs, Live 0x00000000

u0_a16@android:/ $

wifi disabled right after that:

u0_a16@android:/ $ lsmod

cfg80211 116973 0 - Live 0x00000000

hid_sony 2254 0 - Live 0x00000000

exfat_fs 16329 0 - Live 0x00000000

exfat_core 72601 1 exfat_fs, Live 0x00000000

u0_a16@android:/ $

turning wifi back on (working... wtf?!):

u0_a16@android:/ $ lsmod

wlan 2601298 0 - Live 0x00000000 (C)

cfg80211 116973 1 wlan, Live 0x00000000

hid_sony 2254 0 - Live 0x00000000

exfat_fs 16329 0 - Live 0x00000000

exfat_core 72601 1 exfat_fs, Live 0x00000000

u0_a16@android:/ $

my god... I don't get it... now it connects wifi after turning it off and back on... always when I want to demonstrate some bug everything is working properly -.-

will reboot now and later post the live modules again... have this bug for weeks and just NOW it won't show up...f* you, bug!
[Xperia Z Original Android Development] DooMLoRD:
hey has the new v16 resolved this issue?
[Xperia Z Original Android Development] Trehjulingsleffe:
It did at first. And the reason I visited this forum now is that the bug has re-enter. It worked yesterday and this morning for a couple of hours. And now it is the same as on V15 and V15-new.

I flashed from v14 to v16 and completly skipped v15 and v15-new, was that a wrong thing to do?

Overall this kernel is kickin' ass, but i want HID-devices to work 'couse i use my phone as a media center with XBMC hardware acc with HDMI-MHL with BT-HID at home.

Thank you DooM for this awesome **** ;)
[Xperia Z Original Android Development] [NUT]:
I've bought a BT 3.0 mini keyboard and received it today, I'll see what happens. Yesterday I finally got v16 installed (coming from v13).

Sofar, my keyboard seems to lose it's connection every odd second... but it might be the battery is too empty to work correctly so i'm charging it now to try it later.
[Xperia Z Original Android Development] Trehjulingsleffe:
Please report back to this thread when you have tested it out.

Thanks.
[Xperia Z Original Android Development] MrMmmkay:
Here you go with the test files.

Very interesting: After connecting the SD Card to the PC via massstorage (at PC the files are shown correct) and reconnecting it to the XZ everything is fine! The failure does only appera at bootup.
[Xperia Z Original Android Development] Tantawi:
From what I see and read this is a great kernel! Please make it compatible with CM 10.2, please... thanks a lot! :)
[Xperia Z Original Android Development] sea2605:
[MENTION=2784807]DooMLoRD[/MENTION]:

I think I found the wifi-issues cause:

Wifi-scanning is somehow faulty!

I came back home, tried turning wifi off/on.

Taataa: wifi won't connect (even though I'm standing next to the router). So I pressed scan:

not even the wifis of my neighbours were shown.

So I went outside to scan again for the wifis of the neigbours to see if scanning is broken or if I just had no receiption of the neighbours wifis: still no wifis shown (see screenshot). The wired thing is: live modules never showed anything wrong.

u0_a16@android:/ $ lsmod

wlan 2601298 0 - Live 0x00000000 (C)

cfg80211 116973 1 wlan, Live 0x00000000

hid_sony 2254 0 - Live 0x00000000

exfat_fs 16329 0 - Live 0x00000000

exfat_core 72601 1 exfat_fs, Live 0x00000000

u0_a16@android:/ $

I tried turning wifi on/off several times: no change.

Then I rebooted and taataa: wifi connects again (but nothing unusual in lsmod) AND even shows the wifis of the neigbours again:

u0_a16@android:/ $ lsmod

wlan 2601298 0 - Live 0x00000000 (C)

cfg80211 116973 1 wlan, Live 0x00000000

hid_sony 2254 0 - Live 0x00000000

exfat_fs 16329 0 - Live 0x00000000

exfat_core 72601 1 exfat_fs, Live 0x00000000

u0_a16@android:/ $

so there is definitly some issue with the wifi-scan which won't work properly after turning wifi off.

Edit:

After leaving the phone in the wifi-broke-status and doing some other stuff i came back and the wifi connected again. so I suspected that leaving the screen off for some minutes after the wifi broke will trigger a proper scan again.

taataa: always works!

turn wifi off > turn wifi on > wifi won't connect because it wont scan properly and wont see any wifi > turn screen off > wait some minutes > turn screen on > wifi will connect properly...

very strange! so its definitly a bug with wifi-scanning!

//////////////////////////////////

My thread about optimizing the battery life of Sony's Xperia Z: http://xdaforums.com/showthread.php?t=2382712
[Xperia Z Original Android Development] sebastianlow:
I can't get v16 to work with existenZ v3 on my phone at all. I did a full wipe and it will just keep rebooting after I completed the setup menu.
[Xperia Z Original Android Development] [NUT]:
It works, but it does lose its active connection often, I suspect this to be a battery saving feature though, it only disconnects when not typing and will reconnect once I start typing again. Did you try to pair the devices again? Don't forget to remove them prior to trying again... If you keep the profile and re-use it it will sometimes keep failing, it did that even on stock kernels with my MW600 a long time ago...
[Xperia Z Original Android Development] DooMLoRD:
please test it out even on stock kernel!
[Xperia Z Original Android Development] focamonca:
My phone was Stock and just rooted, as I flash the kernel, I reboot from recovery and now it wont turn on, no signal, only a small vibration and if I plug on PC the red light flashes.

Please help me
[Xperia Z Original Android Development] DooMLoRD:
is the bootloader unlocked on your phone?
[Xperia Z Original Android Development] focamonca:
omg, how can I know it?, it's unbranded and rooted following your guide
[Xperia Z Original Android Development] Trehjulingsleffe:
My mouse doesnt disconnect after a while on v14, and when i walk away or turn off the mouse and then connect it, it takes a couple of seconds to reconnect, nothing strange.

When the bug happens the mouse isn't paired anymore at all. When i'm trying to pair it the bug showes up.

I will soon.

I've attached some screenshots of the problem.

1: Searching for devices

2: Found mouse, finished searching (damn headset tries to reconnect, dont mind it)

3: Pairing with mouse

4: Bluetooth switches off and on. Repeat on step 1.

Edit: Do you see what happens to wifi between picture 3 and 4? Strange.
[Xperia Z Original Android Development] focamonca:
here's the video about the situation:

http://www.youtube.com/watch?v=wyyxblCPQHw
[Xperia Z Original Android Development] DooMLoRD:
how did u flash the kernel?

if you flashed it using recovery, which recovery did you use? locked bootloader one or unlocked bootloader?
[Xperia Z Original Android Development] focamonca:
I just discovered I'm able to enter Fastboot mode and connect with flashtool but not I dont know what to do

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

I flashed v16 using cwm recovery CWM 6.0.3.7, my bootloader is unlocked
[Xperia Z Original Android Development] DooMLoRD:
good... disconnect device, remove cable... close Fastboot Toolbox...

CLICK ON THE "BLU" BUTTON IN FLASHTOOL!

connect device in flashmode and tell me what is status...

does it say "UNLOCK" or "RELOCK"??

(if u are going to post screenshot, then hide your IMEI)
[Xperia Z Original Android Development] focamonca:
I can go in (mode with the led blu, I dont even know if it's flashmode or fastboot mode) (pressing v up + on) only when the usb cable is attached so the blue button requires me to unlplug the cable so I cant
[Xperia Z Original Android Development] DooMLoRD:
please read this once...

http://xdaforums.com/showthread.php?p=38122433#post38122433
[Xperia Z Original Android Development] focamonca:
ok, but as it ggoes green, it suddenly shut off

---------- Post added at 07:21 PM ---------- Previous post was at 07:17 PM ----------

this is now

Unlock?
[Xperia Z Original Android Development] DooMLoRD:
my dear friend your device is LOCKED!

THE BOOTLOADER IS NOT UNLOCKED!

if you cant read the first post and follow instructions then i am sorry i CANNOT HELP YOU!

also your device is not dead!

please remove that video/change title from "xperia Z apparently dead after flashing DoomLord kernel"...

its not my fault if you cant read instructions in the thread!
[Xperia Z Original Android Development] focamonca:
please tell me what to do , please, should I unlock it?
[Xperia Z Original Android Development] DooMLoRD:
just flash ONLY the kernel.sin from stock FTF... if you dont know how that is done, the please search around and only then flash...

here is an FTF which contains only kernel:

XperiaZ_C660X_KernelOnly_10.3.1.A.0.244_BE.ftf - 7.17 MB

flash it using flashtool
[Xperia Z Original Android Development] Trehjulingsleffe:
I don't know if you missed my post before all this bootloader-unlocking-thingy.

I did notice something interesting between screenshot 3 and 4 at my previous post (wifi also disconnects when connecting Bluetooth HID).

Link to post (if you need to relax a bit after whatever just happened) http://xdaforums.com/showpost.php?p=45648436&postcount=1724
[Xperia Z Original Android Development] focamonca:
DEAR FRIEND, I LOVE YOU! I REALLY LOVE YOU, EVERYTHING GOES FINE! I had only to unlock!

THANK YOU SO MUCH
[Xperia Z Original Android Development] DooMLoRD:
[YOUTUBE]JmvCpR45LKA[/YOUTUBE]

thank you for unnecessarily spamming my thread!
[Xperia Z Original Android Development] Destroyedbeauty:
Seriously, you're such an spammer... :eek:

If you can't learn how-to unlock bootloader for flashing custom kernels, then don't attempt EVEN TO do it!

I understand your frustration and anger, Doom..

*zzzz*
[Xperia Z Original Android Development] Trehjulingsleffe:
I have now tried on stock kernel. But i didnt wipe any data.

The only difference i experienced was that wifi didnt work on stock (still problem with BT HID). I guess i should have wiped everything before i flashed in the stock kernel, right?

I'm now back on DooMKernel v16 (flashed from stock). Wifi works. Not BT-HID.

Edit: Wiped data and installed stock kernel. Everything works. Both HID-device on bluetooth and wifi.
[Xperia Z Original Android Development] hovnovice:
HI ! The download link seems to be broken o is it only me ? I am on V15 New and wanted to try V 16 )
[Xperia Z Original Android Development] Trehjulingsleffe:
The whole hosting site is offline.
[Xperia Z Original Android Development] killgrozrism:
Hi [MENTION=2784807]DooMLoRD[/MENTION],

Here are the dmesg u ask from me,

lsmod

cfg80211 116973 0 - Live 0x00000000

hid_sony 2254 0 - Live 0x00000000

exfat_fs 16329 0 - Live 0x00000000

exfat_core 72601 1 exfat_fs, Live 0x00000000

u0_a256@android:/ $

And the situation I'm having is i can't the wifi on... It keep on turning off the wifi everytime I tried to turn it on... Hope u can help... Thanks...

Edit - its not dmesg, my bad... sorry...
[Xperia Z Original Android Development] Trehjulingsleffe:
I did try now with wipe data, installed DooMLorD Kernel v14 and BT-HID devices works.

It is something witk v16 that screws the HID-profile up on Bluetooth. (When using a mouse and keyboard with

OTG-cable

it works perfectly).
[Xperia Z Original Android Development] beni8978:
The best settings for battery and performance on v16

cpu frequency: 192-1512

scheduler: sio

governor: intellidemand

gpu governor: ondemand on 400

mpdecision: off

dynamic fsync: on

intelli plug: on

zram: off

temperature throttle: on

and undervolted all cpu states -125mv

C6603 ?
[Xperia Z Original Android Development] -totonio-:
I have an issue with the micro sd, sometimes the sd got unmounted and the content isn't shown in media apps until I reboot and perform a manual media scanning... I've tried with 2 SDs... Do you have any tip? I already formatted my sd twice thanks in advance :)
[Xperia Z Original Android Development] DooMLoRD:
Just checked out the Xperia Z1! Awesome device!

https://twitter.com/DooMLoRD_XDA/status/380013737219862528

P.S.: as u can see in the pic I am testing out new kernel version for the Z ;)
[Xperia Z Original Android Development] harfot:
...and with DooMKernel? :cool:
[Xperia Z Original Android Development] Alhaddad:
i spot DooMKernel v17 in your Z !!

edit: never mind... i just read your p.s
[Xperia Z Original Android Development] DooMLoRD:
so here is the first custom kernel for Xperia Z1 !

DooMKernel released v01 for Xperia Z1 !

regards,

DooMLoRD
[Xperia Z Original Android Development] sebastianlow:
I can't get v16 to work on existenZ, I tried RomAur 8.1 as well and I doesn't work as well.

I don't know why but my phone will just freeze and reboot. I suspect it's the wifi that's triggering it :/
[Xperia Z Original Android Development] [NUT]:
Congratulations mate :)
[Xperia Z Original Android Development] troedi:
hi,

since i've flashed doomkernel (v15, v16) people report that I sound like I was in a big hall during phone calls.

is this a known issue or can you imagine what's wrong? I'm on .244 firmware.
[Xperia Z Original Android Development] psycmos:
patches to msm_thermal

Is safe use intelli-Plug no problem with thermal temperature?? is like a default sony thermal??
[Xperia Z Original Android Development] Nickcer:
Congratulations! I hope not forget about Xperia Z
[Xperia Z Original Android Development] Trehjulingsleffe:
I'm hopefully waiting for v17. I hope that bluetooth HID bug are gone and lost forever in the deep.

I really love your work DooMLorD.
[Xperia Z Original Android Development] DooMLoRD:
i am still investigating what changed between v14 & v15/v16 that has broken the BT-HID for you...

thanks keep sharing!

strange.. never had such issue...

dont know mate... please try on CLEAN stock ROM...

use the Xperia Z daily with my kernel... no issues during phone calls..

intelli-plug is a CPU auto-plug governor... it smartly decides which CPUs to bring online and when it has to be done...

thanks mate! dont worry.. i am still developing for the Xperia S (H1 2012) flagship... so i wont be forgetting the Z anytime soon ;)

good to see that you still use my ARC kernel! loved that device but the rippers just pushed me to the edge and then i didnt feel like continuing work for the device...

@all

is the 10.3.1.A.2.67 firmware available for download for the Xperia Z? i just saw sony publish kernel sources for it...
[Xperia Z Original Android Development] psycmos:
Was mistake, if intelli-Thermal(kernel) are working without problem and if i can play asphalt 8 about 1h without problem!!! Hehe
[Xperia Z Original Android Development] Trehjulingsleffe:
Hey DooMLorD, sorry to making your life hard, but now (!!) the same problem with BT-HID is showing up in v14, but it occoured when i paired the HID-device to another phone (Xperia Arc with DooMKernel ;)) and then paired it back to Z, the same bug appeared. To get it to work again I had to either go back for an old backup or wipe data and do a clean install.

I'm gonna try to narrow it down, but this problem is so wierd. It is hard.

Edit: Okey, same for v16 as on v14. It works, but as soon as I need to reconnect the device it isn't able to reconnect.

I'm not able to test this out on stock kernel for about 8-10 hours from now, but i will later on.
[Xperia Z Original Android Development] DooMLoRD:
please test out and see if u get similar issue on stock kernel

intelli_thermal is working fine.. i dont know about asphalt though..
[Xperia Z Original Android Development] psycmos:
intelli_thermal

Ok if no problem with thermal i will play asphalt for a while in this mode to see if not get a thermal nuclear war!!! :D
[Xperia Z Original Android Development] sea2605:
[MENTION=2784807]DooMLoRD[/MENTION]

Although I set (with trickster mod)

ecomode on,

intelli-plug on,

multicore power saving =1/2,

hotplug control: max 1/2/3/4 online cores,

upthreshold_multicore = 80/90/100,

when pressing the "application switch"-button TWICE (to see all running apps and then switch back to trickster mod e.g.) sometimes all 4 cores are activated for a brief moment... Is this a bug of the hotplug/intelliplug, of trickster mod or is this a intended behaviour?

I'd like the 3th and 4th cores to be activated only when the phone has really heavy duty. And I don't think that switching to the app switcher is such a heavy duty task to activate all 4 cores.

added some screenshots.

PS: I solved my wifi-issue. Freshly flashed everything again: wiped everything with flashtool, used another .244-ftf, flashed doomkernel v16 with fastboot twice, flashed it with cwm later twice and additionally for safty measures I wiped dalvik and cache in cwm .... now everything works fine. was a hard fight ;)

//////////////////////////////////

My thread about optimizing the battery life of Sony's Xperia Z: http://xdaforums.com/showthread.php?t=2382712
[Xperia Z Original Android Development] Trehjulingsleffe:
Newsflash: Same on stock. So it's not your kernel DoomLoRD that causes this bug.

Maybe I have to live with this then ;).
[Xperia Z Original Android Development] ronak123456:
I somehow managed to started my phone using my kernal XperiaZ_C660X_KernelOnly_10.3.1.A.0.244_BE...

but as i had flashed the Doom Lord kernal...I cant start my Wifi...Any solutions??

I fixed the Wifi option as i had done a backup of my system and everything previously...so restored and Wifi problem is solved... :)

however what to do to successfully install the Doom kernal??
[Xperia Z Original Android Development] Haldi4803:
But you did flash it via CWM right ?

i think that might somehow be possible!

With KernelTuner you can set different Governor for different Kernel!

So with new version governor + underclock/overclock is stuck even when core goes idle/hotplug/offline whatever.

If you change core3 and core4 to interactive, and modifi interactive governor to 99% load for over 500ms this should stop the core from starting at 1026/1512mhz every time.

Not sure how the core gets activated, dooms new improved hotplug features might help there. Tough no idea how much you can configure that.
[Xperia Z Original Android Development] venky716:
That sounds like a great idea, could you tell me which values to change in Interactive Governor ?
[Xperia Z Original Android Development] ronak123456:
no via twrp recovery...!!!
[Xperia Z Original Android Development] sebastianlow:
Wait, it's a requirement to use CWM to flash this kernel?
[Xperia Z Original Android Development] Destroyedbeauty:
Yes, if you want working wifi then cwm / twrp is highly recommended.
[Xperia Z Original Android Development] sea2605:
But Kernel tuner doesn't support MANY features of our kernel...thats why I switched to trickster mod a while ago.

Using both apps won't work properly...right?

//////////////////////////////////

My thread about optimizing the battery life of Sony's Xperia Z: http://xdaforums.com/showthread.php?t=2382712
[Xperia Z Original Android Development] ronak123456:
i used twrp...still dint work...whats the issue???
[Xperia Z Original Android Development] psycmos:
WIFI

After install rom instal again kernel V16 to install wifi modules via CWM or TWRP ;)
[Xperia Z Original Android Development] ronak123456:
i need to install doom kernal...really dont know how as i tried once and it failed via twrp recovery...!!! anyone can guide on how to do it plz??