yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] Sermpie:
I have some problems to.

After flashing the kernel and booting my phone SuperUser isnt installed.

And when i am in recovery menu i get a warning: No file_contexts.

I also have the same time & date is reset to 12:00 2 jan 2012 bug.

My wifi works after booting the phone, but when i turn wifi off and on again wifi wont start up and after a couple of seconds my phone freezes.

After that my phone reboot himself and causes the time & date is reset to 12:00 2 jan 2012 bug again :)
[Xperia Z Original Android Development] worf_1977:
I think that the kernel is still unstable for daily usage. WiFi not showing muy network on list, but sees others, date&time resets, etc...

Hope it will be fixed on a future releases of this awesome kernel (think that .243 is getting more problems with kernel that advantages), but keep your terrific work alive, please!!!

Enviado desde mi C6603 usando Tapatalk 2
[Xperia Z Original Android Development] poo-tang:
Have been using v11 for last 20hours or so and all is perfect on complete stock 244. WiFi works perfect and no random reboots yet :) Thanks Doom.
[Xperia Z Original Android Development] harfot:
Installation OK but I have gone back to ver. 10 as I had problemsd with bluetooth and wifi. First connection after reboot works at first time, but after reconnect I at most had to do 2 or 3 tries go get the phone connected to my accessories.
[Xperia Z Original Android Development] ankabo:
I think, that most of the people have problems with their rom and/or their data. Most here also flash the kernel the wrong way.

Gesendet von meinem C6603 mit Tapatalk 4
[Xperia Z Original Android Development] worf_1977:
I tries it vía Fastboot and CWM, same results... No WiFi and time reset...

Enviado desde mi C6603 usando Tapatalk 2
[Xperia Z Original Android Development] gothman:
working well on my .244. no problems so far. updated from .423 and v09.
[Xperia Z Original Android Development] venky716:
Working well .. no wifi, bluetooth problems and no reboots.

Kernel: Doomkernel v11

ROM: RomAur 8.0

Install method

Flashed ftf of .244 ( since i was coming from pac and also so that their are no baseband/ wifi errors )

Flashed Doom kernel boot.img via fastboot.

Booted into recovery and flashed RomAur .zip.

Flashed doom kernel .zip.
[Xperia Z Original Android Development] GuiPoM:
I also have an issue with v11 and 244. I do not think I flashed it incorrectly. First I upgraded my Rom to stock 244 and played a little bit with it. then I flashed kernel with fastboot. As I was having no WiFi at all I had a look to this thread and it was mentioned to flash using recovery so I did it again using touchwin recovery. Far better, everything is working but I still have random reboots most of the time when activating or deactivating WiFi. I flashed again kernel through CWM but still the same issue. Could it be that I have to factory reset my phone? I would prefer to keep it configured to save my time, could it has something to do with a mess in my data partition? time is also reset each time phone reboots. thx.
[Xperia Z Original Android Development] JPWOA:
V11 Wifi not working on monx v4
[Xperia Z Original Android Development] DooMLoRD:
those who are not able to get wifi to work: please flash the kernel package thru recovery!

i am trying to fix the wifi sources but this will take time... until then wifi will be buggy...

sorry for the stability issue... before this the stock wifi module used to work fine, but now i am not sure why it isnt working so have to use custom wifi modules which are causing the stability issues...
[Xperia Z Original Android Development] zirado:
I

I have the same problem with same ROM, but fixed with flashing v10, over v11 and Wifi started normally. After that I just flashed v11 again and Wifi continue to work normally.

Also kernel package was always flashed thru recovery.
[Xperia Z Original Android Development] DooMLoRD:
seems sony has integrated some code to rest time in the kernel ramdisk..

check: /init.qcom.early_boot.sh

line #139

# Set date to a time after 2008
# This is a workaround for Zygote to preload time related classes properly
date -s 20090102.130000

on my kernel i have enabled RTS Write this enabled writing correct date/time to kernel memory, makes kernel save correct time in recovery!... may be this code from sony is interfering with the patch i applied...
[Xperia Z Original Android Development] zirado:
When I made TWRP backup of ROM (@[NUT] - 244 with v11 kernel) this morning, before I flash [MENTION=1062326]monx[/MENTION] ROM, I have got a 2009 date of buck up.

Sent from my GT-I9100 using Xparent ICS Tapatalk 2
[Xperia Z Original Android Development] DooMLoRD:
ok got some good news and some bad news...

good news: stock wifi sources compile fine on pure stock sources with GCC-4.6!

bad news: they fail to compile on GCC-4.7 which i use on my kernel...

so there is a fix for buggy wifi :)

now there are two ways to go about this:

i revert back to GCC 4.6 and hope that kernel compiles well

i fix the wifi sources to get them compiled on GCC 4.7

first one is easier to do but not ideal

second one is the better solution but will take time

working on the first solution now... first solution is no-go wifi driver keeps crashing and on kernel reboot the whole kernel crashes on every boot :(

this is going to need some time to fix...
[Xperia Z Original Android Development] poo-tang:
Is this why files in system (e.g Data/app_asec) are telling me dates from Jan 2009 (since installing Doomkernal)? Or is this some mad issue with 244? Or just my phone?

Anyway keep up the good work Doom :)
[Xperia Z Original Android Development] jasonnew:
V11 kernel and RomAur 8.0 WIFI works fine with home with encrypted but can't access to my work WIFI network which is open but Mac address locked.

It can access it with stock kernel.

Any idea?
[Xperia Z Original Android Development] GuiPoM:
I reverted to stock kernel to compare, and I still get some system reboots when activating/connecting to wifi networks.

Could it have something to do with /system/lib/modules/prima/prima_wlan.ko that has been added to system with doomkernel ?

How could I revert it ? just delete this file/directory, or is this a replacement and I have to find the original file somewhere ?
[Xperia Z Original Android Development] kistigun:
can you share the stock kernel? maybe in a flashable zip. I'm at work atm and cant use flashtool to flash a new kernel and the reboots are driving me mad...
[Xperia Z Original Android Development] gm007:
This is the original file if you need it,extract, replace and set the correct permissions.

http://www.4shared.com/zip/1eR6Z1BK/prima_wlanko.html
[Xperia Z Original Android Development] worf_1977:
Restore your system partition either through CWM or TWRP, even reflashing the partition in flashtool works.

Enviado desde mi C6603 usando Tapatalk 2
[Xperia Z Original Android Development] GuiPoM:
Thanks for sharing the file. I prefer to copy the file rather than reflashing the partition as I made some changes in /system (app to find my phone has been integrated) and some minor tweaks (bar size, ...) and I do not have to do the job again. If reverting to this stock file is not successful, I will flash again system. :)
[Xperia Z Original Android Development] venky716:
I'm having the same issues of reboots when turning on wifi now.

So should i just replace the extracted file via ES explorer ?

I'm still on Doomkernel v11, should i flash stock kernel before or will it also work on v11.

I'm guessing it wont :p
[Xperia Z Original Android Development] Haldi4803:
[MENTION=2784807]DooMLoRD[/MENTION]

About Intelli_thermal: Faux123 kernel enhancement app works nice. But the temperature i set there.. where can i see that ? Kernel Tuner *root* does show CPU temperature, but is this the same ?

Would be awesome if it would be possible to include this value in you Small app (for GPU clock) to always see cpu temp.

Edit: Simple GPU governor also has some more features/settings, but neither faux nor trickster shows GPU governor. Even when changed manually to simple i cant change it. known bug ? is there a way to manually play around with the settings ?

P.S Seems like simple keeps max frequency most of the time...
[Xperia Z Original Android Development] poo-tang:
Nearly 48 hours running and WIFI has been ok.

But I am going back to stock (Unwillingly) due to random reboots and the fact half of my apps and files in system are having issues with the phones in-built timing. I mean files in Root/Data/ are dated ??/Jan/2009 and apps (E.G What'sapp, Reboot Logger) tell me the time is wrong when the user clock is correct. (I think this issue is related to Dooms post a couple of pages back).

Will check back to the thread for updates in future. :(
[Xperia Z Original Android Development] MrMmmkay:
Hi!

Can anybody tell me what are the Standard values for core Limit an temp Limit in the thermal control?
[Xperia Z Original Android Development] sea2605:
With .244 and doomkernel v11 my battery life decreased a lot, guess also because of the wifi-module. I also get worse reception, some wifis won't connect until I tried 2-3 times but at least no reboots so far... I flashed with cwm. Guess we need to wait for v12 :(

Edit: I forgot that I also have this 2009-date-issue
[Xperia Z Original Android Development] Destroyedbeauty:
Your battery is draining thanks to the Interactive governor, change to Ondemand for some increase in battery life and tweak your phone for battery life with init.d scripts :)

Skickat från min C6603 via Tapatalk 2
[Xperia Z Original Android Development] sea2605:
Did you already forget me? I'm the OP of the 7h-screen-on-time-thread you discussed 1-2 days ago the init.d-script issue with...

I already use ondemand (all on standard values like sample_rate=10000, up_threshold=95, sampling_down_factor=1, ...).

The battery life got a lot worse since updating to .244 and v11. Most certainly some changes in .244 and the non-stock-wifi-module in v11 are the culprits.

Btw: I also get reboots when deactivating/activating wifi...
[Xperia Z Original Android Development] Haldi4803:
Ahhhhhhh! You guys with random reboots. Is location based WiFi activated?

Trying now without that and see if I still get reboots.
[Xperia Z Original Android Development] CambaStorm:
The first day with the kernel didn't have any reboot. (Location WiFi off)

Enabled it and start having reboots.

Disabled againg and test... It reboots, after the sistem reboots, tested again turning on and off wifi several times and didn't reboot.

Re-Enabled Location based WiFi and rebooted phone, then again test turning on/off WiFi and problem not presented again.

Im going to test it and report if it solved the problem or not, to considerate it as a workaround.
[Xperia Z Original Android Development] DrKrFfXx:
I don't seem to be able to undervolt using the latest DoomKernel.
[Xperia Z Original Android Development] ankabo:
Its possible to undervolt, trust me ;) How do you install the kernel? I dont know, if there is any difference, but try it in recovery.

Gesendet von meinem C6603 mit Tapatalk 4
[Xperia Z Original Android Development] DrKrFfXx:
I EMMA flashed to the latest firmware to have a clean installation, then flashed from fastboot Adv stock kernel to have a recovery, then flashed RomAur 8.0 rebooted, and then installed DoomKernel from recovery.

I was on Doom V9 before on a 423 based rom and was able to undervolt down to 965mV, now even barely toucing the voltages causes a brick.

Edit:

I flashed again, same methodology, undervolting works a bit better, rom feels responsive BUT I'm having the same issues as many people above me.

Clock resets to 12:00 whenever you reboot, it wouldn't be much of an issue, but I get freezes everytime I toggle wifi on manually, I'm not using location based wifi.

Flashing kernel from.recovery installs some wifi modules am I right?

Can we use stock wifi modules or something? Any work around?
[Xperia Z Original Android Development] DooMLoRD:
i have identified the issue and fixed it... i am testing for better wifi compatibility...

interesting!

can u do one thing (do this on both stock and my custom kernel):

go to settings -> about phone -> status -> scroll down to place where it says "WiFi MAC Address"

now take screenshots on both kernels... jsut compare urself and check if the MAC address changes...

u can flash the advanced stock kernel with recovery package for this thred:

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

ya i investigate this last week... i am working on fixing this... FIXED

time/date issue is fixed... working on other stuff... might release v12 in few hours to address the issues i was able to fix
[Xperia Z Original Android Development] DooMLoRD:
done.. i have fixed the sources provided by sony for prima wlan [ver: 3.2.1.11h] ... there were some inline function issues...

now the problem is the wifi module built from these souces is not working.. wifi doesnt get activated and keep rebooting device... and causes further reboot loop... i am trying to find a solution...

if i use the custom sources [ver: 3.2.3.124] then wifi is working fine (atleast for me):

i might upload this version as it fixes few important issues... time/date, gpu control compatibility with apps, etc...

lets see i might do some more trials with the newest drivers:

https://github.com/sonyxperiadev/prima

[ver: 3.2.3.158]
[Xperia Z Original Android Development] DooMLoRD:
Testing this version for a few hours now and it seems decently stable... Will test some more and then release...
[Xperia Z Original Android Development] fakhreza:
You're amazing doom :D can't wait!
[Xperia Z Original Android Development] DooMLoRD:
DooMKernel (v12) Released!

I apologies for the buggy v11... I generally dont release buggy kernels... but **** happens :p so sorry about that...

Changelog:

fixed "time & date resetting on reboot" issue

fixed GPU control compatibility with some apps [reverted to generic sysfs interface]

added newer firmware for Prima WLAN module - lets hope this improves stability - this will require special back-to-stock package if anyone wants to revert back to stock kernel

I havent had much time to test... please test it out and report back any issues...

PLEASE DO CONSIDER DONATING AS I AM RAISING FUNDS TO BUY A NEW DEVICE! Either the Xperia Z Ultra or the Xperia i1 (Honami)

download links at first post!

please flash the package through recovery!

!!

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

Cheers!
[Xperia Z Original Android Development] Dsteppa:
Thanks!:good:

Do you recommend people to flash through Recovery or through fastboot? Because last time I installed thought fastboot it didn't flash the wifi module.
[Xperia Z Original Android Development] DooMLoRD:
always flash thru recovery!!!!
[Xperia Z Original Android Development] Dsteppa:
Roger.

Then you might as well remove the fastboot option in the OP(Or put a message), before more people make the same mistake. Or maybe I'm the only one that isn't being "lazy" and flashes through fastboot.

Everything works fine for now. I have the option now to OC the GPU through Faux123 Kernel Enhancement app.

Including Ondemand/Performance/Simple governors.:good::good:

Edit:

underclocked GPU to 325 MHz for now, might go to 200 MHz, since I don't play any games for now.

Ondemand gov.
[Xperia Z Original Android Development] DooMLoRD:
thanks!

done updated OP!

dont underclock the GPU a lot... on JB the GPU is used to improve performance of system... so if u underclock GPU u may get a performance hit in the system... navigation thru menus, etc may become laggy...
[Xperia Z Original Android Development] sea2605:
Used cwm. Still get reboots with wifi-(de-)activating...but somehow the kernel gives me less lag with the same settings in kernel tuner/trickster mod... did you change anything in that regard?

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

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:
can u post last_kmsg output after the reboot?

adb pull /proc/last_kmsg .
[Xperia Z Original Android Development] fakhreza:
Tried to turn on and off the wifi in v12, no reboots. Manually rebooted two times, no time and date resets occurred. Will report about battery life in a day or two. Thanks for your hard work!
[Xperia Z Original Android Development] sea2605:
Here you go :good:
[Xperia Z Original Android Development] harfot:
For now no problems with v12, wi-fi and blue working good and fast connecting every time.

Thank you :)
[Xperia Z Original Android Development] nxkr:
Hello thanx for posting the new kernel and am new at flashing kernels so i Downloaded the file Z-DooMKernel-v12.zip it contains 2 folder META-INF system folder and Boot.img should i extract it and put it to SD card leaving the Boot.img or just rename it to (update.zip) and copy to sd then install through recovery ?

ur reply will be highly appreciated

thanks
[Xperia Z Original Android Development] Thraxzzz:
Just put the zip file into your internal memory or sd card, flash the whole zip ;)

Sent from my C6603 using voldemort's nose
[Xperia Z Original Android Development] [NUT]:
My WiFi driver crashed again using v12.

Attached my lastkmsg :)
[Xperia Z Original Android Development] DooMLoRD:
this is from stock kernel:

[ 36.341094] Restarting system.
[ 36.341156]
[ 36.341247] Restarting Linux version 3.4.0-g3865184 (BuildUser@BuildHost) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Jul 2 07:57:34 2013
[ 36.341247]
[ 36.341491] Going down for restart now

and please remove ur IMEI & Serial # from these logs!!!

[ 0.000000] Kernel command line: androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 vmalloc=400M androidboot.emmc=true androidboot.bootloader=s1 oemandroidboot.s1boot=S1_Boot_Lagan_1.0_4 androidboot.serialno=CBXXXXXX ta_info=1,16,256 startup=0x00000001 warmboot=0x776655aa oemandroidboot.imei=3XX76XXX5X3XXX00 oemandroidboot.babe1325=313236372d31363931 oemandroidboot.babe1326=33 androidboot.baseband=mdm
[Xperia Z Original Android Development] piccobit:
Wi-Fi doesn't work at all!

This is really a pity! I'm in a foreign country and need Wi-Fi urgently to keep my roaming costs as low as possible!

Please fix this ASAP"
[Xperia Z Original Android Development] fakhreza:
It works for me and some others. Maybe you've done something wrong. Did you flashed it thru recovery? you should flashed it via recovery, not fastboot.

And please don't use such "commanding" sentence to our dev. He's doing this for free and you're not his boss.
[Xperia Z Original Android Development] DrKrFfXx:
Go stock, mister.
[Xperia Z Original Android Development] piccobit:
This is NOT my first kernel I flash and yes, I've done it through the recovery!

@DoomLord: Sorry for sounding so harsh, but being also a software developer in the embedded industries, I don't understand why we still have this problem now since more than 2 weeks! Is there some way I or the others can help you?
[Xperia Z Original Android Development] nxkr:
My device bricked after installing the kernel :S .. i have C6603 Locked Bootloader everytime i try flashing using CWM this happens .. this happend also when i tried flashing the 4.3 Google edition also same result ..

device wont start and LED flashes red when connected to power .. any solution ?

Now flashing to stock 307 BE generic to re root and restore backed up rom
[Xperia Z Original Android Development] DrKrFfXx:
Do you know that this is meant for Unlocked Bootloaders, right?

The same can be said about 4.3.
[Xperia Z Original Android Development] Destroyedbeauty:
This is ONLY for unlocked bootloader!

Skickat från min C6603 via Tapatalk 2
[Xperia Z Original Android Development] nxkr:
not really just now you told me :D thanx for the heads up .. any is there anyway to change from locked to unlcocked or I have to change the device it self ?
[Xperia Z Original Android Development] HSD-Pilot:
http://xdaforums.com/showthread.php?p=38122227

Sent from my XperiA Z
[Xperia Z Original Android Development] DrKrFfXx:
Well, bring out the service menu.

On the phone app dial *#*#service#*#*, then navigate through Service Info - Configuration. Then there is a text that says Bootloader Unlock Allowed: Yes/No. If no, then you can't unlock it.
[Xperia Z Original Android Development] poo-tang:
If could post the back to stock package it would be useful please [MENTION=2784807]DooMLoRD[/MENTION].

Am willing to test it, but going on holiday this week and won't have a PC with me (or time to back up files and mess around). Kinda could do without the reboots if any (WIFI worked for me in v11 so can't see it being an issue in this) or other issues that mite occur.

Thanks a lot again for your hard work :)
[Xperia Z Original Android Development] CambaStorm:
Doomlord... Really thanks... Your kernel is really awesome, it makes my Xperia Z runs faster and cooler on normal use and gaming. It should be default Sony kernel :D. No problems at the moment, working so good. :)

Enviado desde mi C6602 usando Tapatalk 4
[Xperia Z Original Android Development] nxkr:
well its locked but i remember checking anyways no help about the device bricked its only the LED stuck on the color red what to do trying to use flashtool but its not recognized and when am connecting it to the pc i get that a USB input device has been installed .. any help ?
[Xperia Z Original Android Development] HSD-Pilot:
Turn it off by holding Power and the Vol.Keys until it vibrates 3 times. Then hold Vol.down and connect the USB Cable. If it's still not recognized open the Flashtool Folder and install the Driver. Or download and install the Sony PC Companion.

Sent from my XperiA Z
[Xperia Z Original Android Development] DooMLoRD:
Can you elaborate on exact issue?

Please provide dmesg output!

Since this is not the first kernel you flashed you would know that I always avoid using custom wireless modules... In the recent firmware's kernel sources the WiFi sources are broken... You can compile it yourself and check...

Also since you are a software Developer please help out with finding root cause of this issue... I have pushed all sources on my Github account... U can check recent updates/commits...

please read the first post before you flash!

I am in lecture right now... Will upload it later today...
[Xperia Z Original Android Development] CambaStorm:
Today I had around 4 our 5 times wifi showing limited connection (yellow triangle on wifi icon) deleted the connection to check if it solves this.

If it didn't, what kind of logs could I provide you to help?

Enviado desde mi C6602 usando Tapatalk 4
[Xperia Z Original Android Development] DooMLoRD:
Sony is doing some funny business... They have provided sources in kernel package for 3.2.1.11h prima sources, BUT if you check stock firmware they use 3.2.4.103a wlan modules!!!

I am searching around and found that FreeXperia team has recently patched (one week back) their sources to this particular version... I will try merging these sources and test...
[Xperia Z Original Android Development] ankabo:
I have no problems with v12, no reboots and all is working great.

Thanks for your work!

Gesendet von meinem C6603 mit Tapatalk 4
[Xperia Z Original Android Development] fakhreza:
Some employees must ne drunk while uploading :D
[Xperia Z Original Android Development] [NUT]:
:eek: never thought of that :eek:

Anyway... Yesterday I was in bed and thought about the same issue on the lastkmsg, my phone never crashes, it's just the kernel driver, it stops working.

As soon as it happens again, where do I look or copy from to give you the info you need? Remember it is NOT causing a reboot... For me that is.