yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] st7ady:
i had a lot of problems with version 19 , screen not turning on but on version 20 it is even worse , if the screen doesnt turn on the device powers off by itself . can someone recommend me a good kernel ? i really hate having to restart my phone over and over again , i restart it like 3-4 per day
[Xperia Z Original Android Development] spida_singh:
[MENTION=4645070]alnikki25k[/MENTION]

Just to report i do get intermittent black screens with V20

smartmax

SIO

UV by 135mv

Intellidemand enabled

Eco ON

Fast Charge ON

Multicore power saving 2

Not sure if its already been confirmed if there's an issue or not, apologies if it has, just letting you know. It happens after boot, and sometimes after a call has been taken.

Ill try and get logs etc if you need it, let me know.

Regards
[Xperia Z Original Android Development] alnikki25k:
Testing XzK v21 now. Haven't got a black screen yet. Let's see.
[Xperia Z Original Android Development] alnikki25k:
v21 uploaded. Touch wake hopefully fixed. Back to unified release.
[Xperia Z Original Android Development] m0b:
Do you removed mpdecision?

Something is wrong there is no mpdecision option in Trickster neither Faux and intelliplug don't enabled automatically.

So we have 4 cores working on max freq while screen is on and a single core working on max freq when screen turned off.

My init.d script was waiting for mpdecision, so it hangs:

while ! ps|grep mpdecision;do sleep 0;done
stop mpdecision
echo 1 > /sys/module/intelli_plug/parameters/intelli_plug_active
echo 0 > /sys/module/intelli_plug/parameters/eco_mode_active

I fixed it for myself but i think you should fix it for everyone.
[Xperia Z Original Android Development] alnikki25k:
Oops. Sorry. I'll fix this. Thank you.
[Xperia Z Original Android Development] mankent7:
should i wait u fixed it only flash the v21.5 ? :confused:
[Xperia Z Original Android Development] dubist:
how does Multirom work ?

how can i choose the second rom and how should i install the second rom ?
[Xperia Z Original Android Development] m0b:
For now no way, just wait.
[Xperia Z Original Android Development] Kocane:
People with blackscreens; are you using stamina? If yes, can't you please turn it off and see if it changes anything? Merely a suggestion that might be worth trying out
[Xperia Z Original Android Development] spida_singh:
I never use stamina mode :D
[Xperia Z Original Android Development] Kocane:
Hm.. Shame.. Could be cool if it was the reason :P .. I'm on XzInnere, no probs.
[Xperia Z Original Android Development] shaanyt:
Performance governor for gpu doesn't lock at max anymore. I kinda liked that governor hahahhaha. Will it be back?
[Xperia Z Original Android Development] alnikki25k:
Hmm. Shouldn't have happened. I'll look into it.

Na. Go ahead and flash but manually turn on intelli plug. I'll automate from next release. No harm.
[Xperia Z Original Android Development] shaanyt:
It's 128 on idle when I'm not touching it then the moment I touch it, it jumps to 400. So it's kinda sorta perforMance I guess.:silly:
[Xperia Z Original Android Development] klit27:
Radio still not working on v21 i think you forgot it :P and i get black screen every time someone calls me.
[Xperia Z Original Android Development] ahmed1994:
hi

after i updated to 4.3 i cant connect to my netgear router it is issuse with sony's 4.3 can you fis it?? i dont want to buy new router please help
[Xperia Z Original Android Development] alnikki25k:
Lol. I am not sure how to fix that. In fact, it's an Android 4.3 fault. Not Sony.
[Xperia Z Original Android Development] mankent7:
Try to login to your netgear router change the Wi-Fi channel if it is channel 13 change to 8-11. Hope can help u.
[Xperia Z Original Android Development] -totonio-:
I'm having black screens and touch freezes, I'm with intelliplug, smartmax, Sio scheduler 384-1512. Freq and a light undervolt.
[Xperia Z Original Android Development] shaanyt:
No black screen so far, aside from the gpu performance governor issue I mentioned earlier, the only other thing I find strange is that touch wake is slower now, as in there is a longer pause before the screen wakes after double tap

---------- Post added at 07:46 PM ---------- Previous post was at 07:34 PM ----------

Hmm the gpu governor performance 400mhz lock seems to be quite intermittent... Sometimes it locks sometimes it doesn't. Hahaha
[Xperia Z Original Android Development] ugurc91:
i have black screens :(

with interactive cfq -500mV
[Xperia Z Original Android Development] ahmed1994:
I Tried changing channel and disable advanced features but always the connection refused:(:(

I'll buy new router soon :(:(:(:(
[Xperia Z Original Android Development] Chronic2k13:
Is this Kernel compatible with [MENTION=599722]niaboc79[/MENTION] s eXistenZ v5 Black Edition?? And are there any issues with BT calling?? Many Thanks in advance!!
[Xperia Z Original Android Development] kistigun:
Yes and no

Verstuurd vanaf mijn Nexus 7 met Tapatalk
[Xperia Z Original Android Development] elias234:
yes compatible with niaboc79's black addition , but sorry don't know about BT calling :P
[Xperia Z Original Android Development] Chronic2k13:
Thank you both anyway!! I've backed up,so will flash and see if BT works!!! I'll let you know tomorrow!! Just got in from work and i'm cream crackered lol
[Xperia Z Original Android Development] alnikki25k:
- 500 mV? Isn't that insanely low undervolting? :eek: Unless you meant -50 mV
[Xperia Z Original Android Development] sea2605:
does anyone have issues with gps? Don't know if its related to some of my recent tests for tweaking battery or if its a kernel related issue, but my gps won't turn on anylonger...

btw: I'm still on V20+
[Xperia Z Original Android Development] rer3:
sometimes, usually twice a day, my phone cannot turned on from sleep mode, the only solution is rebooting.

westwood, 1024 sio, no freq lock, CPU gavenor intellidemand, intelli-plug activated, multicore power saving 1, dynamic fsync on, temp limit 70, GPU ondemand max 400, only d2w and no s2w, undervolt -25000
[Xperia Z Original Android Development] alnikki25k:
Ya. This has been happening for a while now. I am not sure why. I'm still under the impression it's the intellidemand governor. I'll update it to Faux's latest version and see if that makes a difference.
[Xperia Z Original Android Development] -totonio-:
I have black screens also with smartmax
[Xperia Z Original Android Development] shaanyt:
Just had my first black screen for V21. hahaha, is it possible it's due to SIO scheduler? It seems we are all using it.
[Xperia Z Original Android Development] rer3:
and today I encountered the famous not responding lockscreen issue, with the same setting, but I believe I haven't had any blackscreen today..
[Xperia Z Original Android Development] GeoSpaceKing:
Yeah BT calling works flawlessly :D
[Xperia Z Original Android Development] LLars_PL:
Damn! I miss this kernel so much!

I want it for XperiaZ1 with all features :c

Best Regards Dev :)
[Xperia Z Original Android Development] flytomars:
That's the solution! Just delete the 00_loadexfat file.

:victory:
[Xperia Z Original Android Development] alnikki25k:
GPS is fine for me. Is it unable to connect to any satellites any more?

You may actually be right. I have been using ROW personally so haven't had any black-screens. Damn.

Ah, yes. I got it too. I think it's a state where the phone goes all mad over choosing between the actual power button and the virtual power button through the tap2wake gestures. I'll need to find a way to reset the touchscreen for this. I guess I'll have to continue going back to releasing two separate versions until I figure this out.

Lol, I did try releasing a kernel for the Z1. Unfortunately, without the device I cannot make much progress. Also, with these phones, there are so many variables that can all go wrong without testing. So, I am not sure I can provide the same experience with an untested kernel. :(
[Xperia Z Original Android Development] LLars_PL:
I know, thats sad because nearly no one is developing such great things to Z1, If i only knew how to do that :D ^^
[Xperia Z Original Android Development] xNAPx:
Can i Upgrade this kernel over previous v20 version or i had to go stock first?

Inviato da mio nonno col telegrafo
[Xperia Z Original Android Development] alnikki25k:
Not necessary. Just do a direct flash.
[Xperia Z Original Android Development] kingrion88:
alnikki, can we expect you to update to the latest firmware when sony officially uploaded the source code? :P
[Xperia Z Original Android Development] alnikki25k:
Of course. :)
[Xperia Z Original Android Development] Haldi4803:
When Sony does!

Normally that's waaaaay after the update comes out. So we might have to wait few weeks :(
[Xperia Z Original Android Development] henry chip:
I dont like PNG boot :(
[Xperia Z Original Android Development] crazymister:
You're free to build your own kernel with your own bootlogo
[Xperia Z Original Android Development] peschka:
[MENTION=4645070]alnikki25k[/MENTION] how can I switch to your kernel from DoomKernel ? I know that only flashing boot.img wont do the job because in Doom there is more libs installed exept the kernel itself. Any advice ?
[Xperia Z Original Android Development] Kocane:
Flash the zip in CWM. XzKernel has its own libs files that with overwrite the DooM ones.
[Xperia Z Original Android Development] Rzr92:
Hi i have been using v20 of your awesome kernel but recently whenever i reboot my phone am getting bootloops for which i have to go in recovery and wipe the cache. Pleae help me to fix this problem

I am using existenz v5 rom
[Xperia Z Original Android Development] Kocane:
Do you use GravityBox? :)
[Xperia Z Original Android Development] Rzr92:
yup i use it

Should i delete it?
[Xperia Z Original Android Development] Kocane:
Downgrade to 2.8.5 and the issue will be gone. Perhaps voice your issue in the GravityBox thread. We're several people having this problem, it gotta be related to GravityBox but nobody can provide more info so I dunno if the dev can do anything about it :P
[Xperia Z Original Android Development] Rzr92:
do you know how to downgrade?
[Xperia Z Original Android Development] Kocane:
Go into xposed installer > download > find gravitybox jb > find 2.8.5 > press download + install
[Xperia Z Original Android Development] Rzr92:
whenever i press on install it just says application not installed
[Xperia Z Original Android Development] elias234:
u have to uninstall the new version , then install the 2.8.5
[Xperia Z Original Android Development] Kocane:
Ah right, it's a system app in ExistenZ. You need to remove it manually in /system/app/ or use titanium backup or so. This is quite offtopic so lets say you bring it up in the gravitybox thread if you have more issues :good::D
[Xperia Z Original Android Development] xPoiled:
i have root issues on my XZ.don't know for sure if it is related to kernel or ROM.tried flashing the SuperSU zip but still Root Access denied on FauxKernel and other Root-requiring apps.

i am currently on eXistenZ ultra V.5 with xZk v.21
[Xperia Z Original Android Development] alnikki25k:
For now, open SuperSU and then switch the permissions to Grant instead of Prompt
[Xperia Z Original Android Development] xPoiled:
Thanks for the prompt response alnikki..will try and update you soon if it works.thanks

---------- Post added at 03:58 AM ---------- Previous post was at 03:38 AM ----------

now, everytime i open Fauxclockkernel it FCs! grrrrrr......... #@$%! :D (root granted permission for an "interactive shell"? what does this f*****g thing mean?) it seems that root access in 4.3 does not stick. :D
[Xperia Z Original Android Development] Kocane:
I too have had troubles with SuperSU. Basically, if it allowed me, I'd do a "clean reinstall" thru the settings in SuperSU then flash the zip. Then cache/dalvik. Sometimes it would give issues again and again. I just keep doing all these thinsg until it worked. If you get FC in Faux try clear its data.
[Xperia Z Original Android Development] xPoiled:
Tried to clear the data but still Faux FCs.now i can't look at my XZ Screen without gamma control. :D

---------- Post added at 04:54 AM ---------- Previous post was at 04:42 AM ----------

is there any other app to access/ control gamma settings?i cant open the Faux123 kernel for some reasons.. TIA
[Xperia Z Original Android Development] Kocane:
Thinking of trying out this kernel again, when v22 hits.

But, say... what's the interactive gpu govna all about? Can't find much about it on Google.
[Xperia Z Original Android Development] alnikki25k:
Fauxclock closes when there's no Internet access. It checks for licensing.
[Xperia Z Original Android Development] xPoiled:
oh i see.. thanks and sorry for spamming the thread! its working now. :D
[Xperia Z Original Android Development] Rzr92:
Hi there i want to use the new firmware's stock kernel

so should i flash the new .0.101 kenel with flashtool and then flash the rom again?
[Xperia Z Original Android Development] alnikki25k:
Just flash the entire FTF of the new firmware. It should install the stock kernel.
[Xperia Z Original Android Development] Rzr92:
But i dont want to flash the whole rom

is it just possible to flash the kernel and baseband from it?
[Xperia Z Original Android Development] Kocane:
When the kernel gets updated will I need to flash the ftf of the new firmware or will flashing the updated kernel be enough?
[Xperia Z Original Android Development] MR.Samo:
I think u have to flash the FTF to get all firmware features then u can flash the kernel.
[Xperia Z Original Android Development] doomhammer07:
Is the kernel compatible with the.101 firmware?
[Xperia Z Original Android Development] MR.Samo:
Just wait for the dec he will update this kernel to the latest firmware
[Xperia Z Original Android Development] -totonio-:
We must wait until Sony releases the kernel sources... And Sony isn't generally fast.
[Xperia Z Original Android Development] championswimmer:
your (or bricked's) doubletap implementation drains battery more as it prevents suspend of clearpad even of dt2w is set to 0

sony had a native implementation already, which can by unlocked from adding an evgen block

https://github.com/AOKP/kernel_sony_apq8064/commit/26dc80ec0a285232823252ff6764b03a00a49630

it supports three things

"double_tap"

"single_swipe"

"double_swipe"

also you can map each action to separate button like KEY_POWER, KEY_CAMERA etc etc

you'll find more documentation in evgen_helper.h and clearpad_core.c
[Xperia Z Original Android Development] MR.Samo:
NOW that's what am talking about.

Great news great DEVS great community.
[Xperia Z Original Android Development] MattJaO3D:
Gamma control is awesome, my phone looks so much better. Keep up the good work
[Xperia Z Original Android Development] shaanyt:
LOL Sony being Sony, rapid fire firmware updates, is your V21 compatible with the new firmware?

---------- Post added at 09:28 PM ---------- Previous post was at 08:48 PM ----------

Wait a sec, does this mean it's functional in AOKP / CM ? LOL i skipped AOSP ROMs just cuz they dont have it :(
[Xperia Z Original Android Development] championswimmer:
from next nightly on AOKP yep.
[Xperia Z Original Android Development] alnikki25k:
Ah, you're wrong but. You see I am using Sony's method but using bricked's way of powering on. If you notice in the code, I use the gesture handler of clear pad and not showp's code. That ensures the touchscreen never prevents suspend. And it also ensures the wake up always occurs using irq and not the traditional way of polling. ;)

EDIT: Here's my code https://bitbucket.org/nikhiljan93/x...71867b772d87b2b62c536d40560d09190?at=4_3_wake

Also, thank you :)

That also gives me the idea to implement a wacky swipe to camera haha. But might not be a good practical idea :p
[Xperia Z Original Android Development] Destroyedbeauty:
Actually, the 192 Mhz frequency (lowest frequency that I've seen in every Xperia Z kernel) is making wonders for the battery life when using the standard low-high frequency table, up to 1512 Mhz freq. Only time I got bad battery experiences from the 192 Mhz clock frequency is when underclocked on the higher one below standard 1512 Mhz.. Could be just me but but..
[Xperia Z Original Android Development] sebastianlow:
I flashed doomkernel 13 and exfat is working. Have to use his kernel now, but I'll switch back as soon as exfat is fixed :)
[Xperia Z Original Android Development] ankabo:
My screen stays black two times today. I am on ondemand and undervoltet kernel. Because I needed the phone today, I had to go back to doom, will test later (tomorrow) again.
[Xperia Z Original Android Development] Madala_ZA:
I'm running v4 for two days using recommended performance settings with OC 1.7 and UV -25mv. No black screens here, running really smooth
[Xperia Z Original Android Development] beni8978:
Maybe it's because the undervolting. I undervolted -150

C6603 ?
[Xperia Z Original Android Development] DooMLoRD:
Samsung's exfat drivers were opensourced recently... i have added them to my kernel... u can find the patch here:

https://github.com/DooMLoRD/android...mmit/404d8b3f17100e46874ed82f04023256c23c8f27

you will need a special init.d script to load these modules and automount the exfat formatted sdcard....

here is the script i use:

/system/etc/init.d/00load_exfat

#!/system/bin/sh
# DooMLoRD: script to load custom exFAT driver during bootup
busybox insmod /system/lib/modules/exfat_core.ko
busybox insmod /system/lib/modules/exfat_fs.ko

busybox mount -o uid=1000,gid=1015,umask=000 -t auto /dev/block/mmcblk1p1 /storage/removable/sdcard1

actually the script is generic so it will even mount fat32 formatted partitions ;)

cheers!

P.S.:

good work with the patches for your kernel! i dont like adding too many upstream patches so i try and keep the core kernel as close to stock sony sources as possible to have best compatibility/stability with stock ROM

regards,

DooMLoRD
[Xperia Z Original Android Development] matique:
Hello :) I've tried a variety of CPU tuners such as rom toolbox, trickster and the on board performance control of RomAur V8. The CPU doesn't stick when I change it. It'll stick for awhile and then unstick itself haha. I'll try to replicate it an maybe get a log cat, would that be useful..?
[Xperia Z Original Android Development] ILikeTheWayYouMove2:
Cpu overclock actually sticks in performance hungry tasks such as antutu ect. But gaming even with overclock to 1.7 is very micro laggy as in it freezes for a milesecond but that's all it takes for mee to wreck my agera on asphalt 8, so back to doom for now

But we'll done for getting Cpu overclock to stick
[Xperia Z Original Android Development] alnikki25k:
Thank you! Will patch these and test it out soon. Terrific work as always! :laugh:
[Xperia Z Original Android Development] alnikki25k:
Ah, I must have forgotten to include the frequency limiter. Releasing v4.5 in a few minutes to fix this and hopefully fix the black screen bug. :good:
[Xperia Z Original Android Development] alnikki25k:
Fixed now. :)
[Xperia Z Original Android Development] DooMLoRD:
have u added ZRAM/Cleancache/Frontswap?

i am thinking of focusing on kernel level gamma control/slide2wake/etc...
[Xperia Z Original Android Development] alnikki25k:
Yup. All added, except not enabled for now. And the kernel level gamma is a little tricky. I can't understand the table of gamma values there. Only experimenting got me to a new warmer color/darker gamma table. So if maybe, you could figure it out, we can make it editable via sysfs. But I know that's where it works.

Additionally, we could try porting an existing solution like the one in mako/Nexus 4. But that will be very messy.

EDIT: Also, double-tap-to-wake can be ported from pollux. The clearpad driver responds now so only the screen/system has to be woken up with that interrupt. So if we know how it is in pollux, I guess that can be taken care of easily.
[Xperia Z Original Android Development] DooMLoRD:
post your current wip gamma control port to a new branch... i will have a look at it...
[Xperia Z Original Android Development] alnikki25k:
Alright, posted. Check now. The latest commit should reflect a revert. That's where it lies.
[Xperia Z Original Android Development] DooMLoRD:
that commit is messy :p

you have hardcoded those gamma tweaks... i am think more on the lines of creating a SYSFS inteface...
[Xperia Z Original Android Development] alnikki25k:
Exactly. Hahaha. So a long way to go. We'll probably need to find another way :/
[Xperia Z Original Android Development] Thraxzzz:
Two kernel God working together :D :thumbup:

Sent from voldemort's nose
[Xperia Z Original Android Development] alnikki25k:
New build up. Not much, mostly bug fixes. :o
[Xperia Z Original Android Development] zyxel25:
still has the problem on sd card when i flash the v4.5, is this problem fixed? :(
[Xperia Z Original Android Development] championswimmer:
ohk got it. you just implemented your own device_attrs for new sysfs entried and hardcoded the keyevent. evgen_helper is actually an api to help with that :P

being a 'developer' and not an 'original coder' much, my instincts force me to dig out as many pre-made apis already available and leverage them instead of getting down and dirty with raw code ha ha.

i was also considering that you know for CM/AOKP. Tap = wake, swipe = camera makes sense. especially yuga has no camera key to take you to camera from sleep. so it'll be pretty cool
[Xperia Z Original Android Development] alnikki25k:
Exactly. That sounds good in theory though. I mean I am not sure how practically good that could be. :) I mean accidental wakes can cause unknown errors.
[Xperia Z Original Android Development] to_arif92:
ZRAM

Please....................... add ZRAM
[Xperia Z Original Android Development] crazymister:
You could use the proximity switch to make sure that the phone isn't in someone's pocket. Don't know how that will affect battery though, just giving my 2 cents
[Xperia Z Original Android Development] alnikki25k:
That'll actually prevent the phone from deep sleeping sadly. The phone will constantly keep checking for the pocket.
[Xperia Z Original Android Development] aidfarh:
Why not make it so that the phone only checks the proximity sensor when the gesture is performed?
[Xperia Z Original Android Development] alnikki25k:
I have tried that already. I'll see what I can do. But the only reason I haven't done this yet is I personally don't have the skills to code this. I'll keep looking for it though ;)
[Xperia Z Original Android Development] m0b:
Do *2wake use power button emulation (input keyevent 26) or it works some kind other way? I have enabled "power button ends call" in "Accessibility" and now DoubleTap2Wake also ends calls, is there a way to fix it? Just want "DoubleTap2Wake" to wake device while calling and power button to end calls.
[Xperia Z Original Android Development] Haldi4803:
I think something like that is already included in Stock 4.3 569 Rom. When you activate Stamania Modus and then Block Proximity Sensor and press power Button the screen will NOT power on! (IIRC!)
[Xperia Z Original Android Development] -totonio-:
Never noticed but tried right now and it is true!
[Xperia Z Original Android Development] alnikki25k:
Yup DoubleTap2Wake emulates the power button. In the next update I'll switch this to the evgen method and this should fix this :)
[Xperia Z Original Android Development] to_arif92:
Waiting for 10.4.1.B.0.101 support & ZRAM
[Xperia Z Original Android Development] Kocane:
Alnikke, you think the kernel with work without updating my rom :P?

The next version that is
[Xperia Z Original Android Development] ItalDiamond2008:
Well, this kernel actually works with this new update (at least DoomKernel for previous .569 firmware does), so why the next kernel shouldn't work with your current firmware? It's still a 4.3 firmware. Isn't it? :D
[Xperia Z Original Android Development] Kocane:
Yeah, that's what I was thinking.. I honestly only think the interesting parts, for me, of such updates is in the kernel etc.
[Xperia Z Original Android Development] alnikki25k:
Yup. It will :)
[Xperia Z Original Android Development] elias234:
how much percentage finished from multiboot feature ?