yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] shoey63:
Re: Dt2w

* It is included in this kernel

* When kernel sources for 5.1.1 are released, I'm sure it will be added.

* If you are on 5.1.1 and can't wait, use a play store app.

* If you don't like the play store apps, just be patient, and don't expect the kernel dev to conjure up some sort of system hack for you.
[Xperia Z Original Android Development] Tommy-Geenexus:
Kernel Sources should be up soon together with copyleft (likely tomorrow), i wrote Alin a mail.
[Xperia Z Original Android Development] CosmicDan:
Nice. Tesla has been suddenly abandoned (wtf), I've not even tried stock 5.1 ha-ha but I will definitely be compiling a pure AOSP 5.1.1 (using pabx and Tesla as a reference for any problems) and try to make it work with stock-based kernels (I've done it before on old Xperias), with the hopes of sharing a common kernel source ;) Why? I cannot live without an RRO Layers patched ROM!

EDIT: Yes I will upload and share my builds, of course. But enough of that, any questions can come when I release first build - not here :)
[Xperia Z Original Android Development] comax70:
here's the answer I was expecting if dtw2 and as source for xperia z3 compact thanks expect[emoji6]

Inviato dal mio C6603 utilizzando Tapatalk

---------- Post added at 10:26 PM ---------- Previous post was at 10:24 PM ----------

Best tom thx [emoji6]

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] CosmicDan:
What's any of this got to do with Z3C.... Gah my step mother is Chinese but this broken English is really rough. No offense... I'm just lost :( I'll shoosh now lol
[Xperia Z Original Android Development] ottomanwolf:
5.1.1

Hello friends. Kernel, is fit for the stock 5.1.1?
[Xperia Z Original Android Development] CosmicDan:
As title says, its for 5.0.2. Might work on 5.1.1 but I highly doubt it... Try it and let us know lol

We need to wait for Sony to publish sources before any custom kernel for 5.1 arrives.
[Xperia Z Original Android Development] Tommy-Geenexus:
Sources are up. I'll start working on the Kernel later today.
[Xperia Z Original Android Development] CosmicDan:
Just noticed. Yipee! I was wanting to try my hand at building AOSP but I can't be bothered... Can't even find time to make Zombie Adiutor :(
[Xperia Z Original Android Development] muphetz:
oh yeaaah!,,thanks for your kernel,,its great,..
[Xperia Z Original Android Development] CosmicDan:
Also wanted to ask, feel free to share with us some technical details, specifically if you find any particular bits of code with significant changes when trying to migrate your patches. Would be interesting to know how much work has gone in since 5.0 kernel, or if its nothing exciting...

If that seems tedious for you, no matter - I might do a tree diff of old and new kernel source myself; if my curiosity gets the best of me.

I guess just let us know if something has a major difference and you think it has any interest :) maybe WiFi module or power management for example.
[Xperia Z Original Android Development] Tommy-Geenexus:
Yeah i'll definitly do this, though i am not expecting too much changes.
[Xperia Z Original Android Development] Olivier:
CAF upstream (LA.AF.1.1_rb1.18) mostly... I guess the new kernel won't be of much use for those who track CAF directly.

EDIT: Ok, there have been some changes... Here's the updated kernel (with CAF commits).
[Xperia Z Original Android Development] langeveld024:
Seems I gotta download the .222 ftf anytime soon :thumbup: thanks!
[Xperia Z Original Android Development] codfx:
*Starts downloading 5.1.1 ftf* :cool:
[Xperia Z Original Android Development] comax70:
Starttt yeaaa

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
Initial 5.1.1-build is up!

Changes:

* Complete rebase on the latest Sony Sources

* Cleaned Kernel-Source

* Improved zip-installer

* Updated all scripts/other stuff to fit 5.1.1

* Improved Wlan Configuration (Merged Sony + CAF config)

* Made TZ default kgsl-policy again

Tested and ok so far, but please:

- Post feedback

- Tell me if there are any issues occuring

I will bring this Kernel to ZL too, ZL users stay tuned, it will come later!
[Xperia Z Original Android Development] ottomanwolf:
And then came the expected update(5..1..1)

Thanks [MENTION=5243932]Tommy-Geenexus[/MENTION]
[Xperia Z Original Android Development] 360porcento:
Downloading right now!

Does it have the keyboard patch?:D:D
[Xperia Z Original Android Development] Tommy-Geenexus:
Dang, forgot it, will be in the next version tomorrow.
[Xperia Z Original Android Development] CosmicDan:
That was quick, nice work! Making a backup right now and moving over.

What's the keyboard patch?
[Xperia Z Original Android Development] Tommy-Geenexus:
Let's you use the device as usb-keyboard/mouse.
[Xperia Z Original Android Development] 360porcento:
Info here

I'm actually interested in developing an app where it would work like an usb rubber ducky or teensy's controllers

I believe net hunter has this function but its only for nexus devices
[Xperia Z Original Android Development] CosmicDan:
EDIT: Nevermind, 0.9.18.6 flashed FTF fine (I had an older version that didn't work for whatever reason, and newest is still broken - despite apparently not needing an fsc).

EDIT2: OK is it just me or is Recovery broken? I flashed from the Advanced Stock With Recovery boot.img along with TWRP flashable from first post, tried both standard (doesn't enter recovery at all) and the MultiROM version (goes to black screen then powers off). Guess I'm back to stock then...

EDIT3: Right, recovery works via adb reboot recovery but volume key for entry does not.
[Xperia Z Original Android Development] codfx:
EDIT2: 1. Fastboot the zombie.img

2. Flash .zip using it

EDIT3: I have no problem with the 5.1.1 zombie release so far. Just flashed about 30mins ago. Everything works very well!!!

May be you should try again with a clean flash. :D

---------- Post added at 02:08 AM ---------- Previous post was at 02:06 AM ----------

Much impressive at the first glance. I will notice you if there's some wrong happened. Thanks for the XZ care Tommy! :highfive:
[Xperia Z Original Android Development] anmatheextreme:
On Zombie kernel, you need to tap the screen repeatedly on boot up to open the recovery instead of pressing on the volume button in case you didn't try that. Dual Recovery works great here as with everything else on this kernel so far. Everything is nice and smooth and thermal shutdown works as expected. Thanks for the contribution Tommy!
[Xperia Z Original Android Development] CosmicDan:
OK, thanks. I remember reading this, I didn't know that volume key entry would be *removed* though....
[Xperia Z Original Android Development] langeveld024:
Lol read this one xD http://xdaforums.com/showthread.php?p=62058813
[Xperia Z Original Android Development] CosmicDan:
By necessary I meant a necessary feature, I had no idea that it was going to *replace* the volume key method. I was just joking around, but if I knew Zombie was going to go rogue and do things differently I would have voiced a serious disagreement rather than just kid around...

Well not really, I don't care tbh. It's not like I ever need to use recovery ;) so whatever, lol.
[Xperia Z Original Android Development] TrueFriend-cz:
This kernel is for Stock ROMs, or for CM ROMs? What is build? .222?
[Xperia Z Original Android Development] St.Jimmy90:
Read the op, dude. It's for stock roms
[Xperia Z Original Android Development] MrGohut:
Anyone have any comparison to CM 12.1?
[Xperia Z Original Android Development] silveraero:
Just wanna ask if all the 5.0.2 features are implemented in new version cause some features is not found when I use Kernel Adiutor. And does this has touch panel bug when using DT2W cause the last time I tried this kernel on 5.0.2, there is touch panel bug and I can't unlock the lockscreen.
[Xperia Z Original Android Development] Tommy-Geenexus:
Yep, all features are in.
[Xperia Z Original Android Development] silveraero:
Lol touch panrl bug feature is in too? Just for fun lol, thank you
[Xperia Z Original Android Development] TrueFriend-cz:
This is compatilable with ExistenZ ROM 2.0?
[Xperia Z Original Android Development] CosmicDan:
Being stock based and with minimal changes, this is practically guaranteed to be stable. Unless there is a bug in stock firmware, anyway. But Zombie has gone through a lot of testing and fine tuning, its not a constantly-in-development kernel like most AOSP based kernels out there, nor a "kitchen-sink" kernel (I.e. this has no untested additions added just because people ask or because it exists, only mature and stable things).

But CM is a whole ROM, this is only a kernel for stock based firmwares. So can't really be compared.

In short, its for people who don't care about AOSP-fork features but prefer a reliable device instead.
[Xperia Z Original Android Development] Tommy-Geenexus:
Native Wake Gestures will likely never work properly, yeah.
[Xperia Z Original Android Development] Tommy-Geenexus:
Couldn't express it better myself.

That's exactly what this project is all about :)
[Xperia Z Original Android Development] comax70:
Instal on fresh rom little lag... Is normal?

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] CosmicDan:
Could you elaborate? Lag in which areas, exactly? Custom kernel is not a fix-all-lags solution for a phone that's years old, usually.

With that said, I don't know of any suggestions to sacrifice battery efficiency for speed. Everything seems snappy to me though. Is there touch boost in ondemand governor, Tommy?
[Xperia Z Original Android Development] shoey63:
It's normal immediately after a fresh install (if that is what you are talking about). You need to let the rom settle, and finish it's media scans etc.
[Xperia Z Original Android Development] comax70:
No Settle all 1 day but is ok thx

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
Yep, but its Governor-independant.
[Xperia Z Original Android Development] CosmicDan:
Oh right. Is there a reason we can't turn it off? Sorry I can't remember, I think you said you've a different implementation - so Zombie Adiutor would have to handle it, right?

I noticed that the latest version of Kernel Adiutor supports plugins, but it's considered experimental. Still, the SELinux plugin is open source and seems like a good base for a Zombie Plugin. That solves the headaches of maintaining a fork of the whole app.
[Xperia Z Original Android Development] Olivier:
You can just contribute to Kernel Adiutor directly. The app is made by a friend of mine, he does appreciate contributions :p

Example: DT2W for our devices.
[Xperia Z Original Android Development] langeveld024:
I use this:

#!/system/bin/sh

echo 2 > /sys/module/alu_t_boost/parameters/nr_boost_cpus

Set touch boost to two core's, but you can set it to 0 so it's disabled.

I put it in /su.d so it runs on boot like [MENTION=2452820]kingvortex[/MENTION] said here:

http://xdaforums.com/showthread.php?p=62644466
[Xperia Z Original Android Development] CosmicDan:
I did consider this, but I decided against it as I was under the impression that most of the work in Zombie kernel is original work by Tommy. Adding device-specific code to a universal kernel tweak app is not something the developer should do, for obvious reasons of inflated code-base and possible legacy regressions. I.e. "bloat" the app.

I figured that the plugin system was created for this very reason, in fact this is the purpose of a plugin model for any software - to provide specialized and specific software extensions, while the core code can remain generic and "lite" (to a degree - obviously there's the possibility that Tommy's original work can migrate over to more Snapdragon based devices, which is how many of these kernel tweaks start out anyway).

I'd rather create a plugin instead of researching the individual adoption rate of kernel features. Of course if the Kernel Adiutor dev isn't bothered by codebase size then I will disregard all this [emoji14]
[Xperia Z Original Android Development] aidfarh:
You could consider using Synapse and Universal Kernel Manager with modified scripts with the custom tunables. Since the UKM scripts are totally customisable it's something you can do yourself without relying on a third party developer.
[Xperia Z Original Android Development] CosmicDan:
I didn't understand any of that I'm afraid ha-ha, I've never heard of these things (I'm somewhat ignorant when it comes to Linux stuff, but Synapse made me think of a package manager? I imagine that's not related). But I wouldn't be dependent on the developer at all, Kernel Adiutor is fully open source, as is the example plugin, and I don't need to relicense it nor seek permission to fork it or anything.
[Xperia Z Original Android Development] Tommy-Geenexus:
I have actually done that already, however i am not that much into this, plus Synapse does not work reliable at all (my experience so far).

The idea is good however, an implementation in the ramdisk without all that UKM bloat would be ideal (and stable - most of the issues are due to UKM), but i lack knowledge to do so.
[Xperia Z Original Android Development] danishaznita:
Sorry wrong thread to post . Moved to q&a
[Xperia Z Original Android Development] MrGohut:
I can't install it.

I have fresh CE1 5.1, i flash boot.img via Flashtool and when my phone starts orange LED show up for a sec and i can't enter recovery ;/

#Edit

Okay so i installed advenced kernel, then i could enter TWRP and i installed this kernel, but there is no options like DoubleTap2Wake etc.. so where is it? D:

And same orange LED.. can't enter TWRP
[Xperia Z Original Android Development] CosmicDan:
I was just complaining about this ha-ha... To enter recovery you *need* to tap the screen, volume key doesn't work. Just keep tapping the screen I guess as soon as logo appears.

This should really be added to the OP under Installation, since nobody else does this method it will keep being asked.
[Xperia Z Original Android Development] CosmicDan:
Question about the BL hack. Possible to eliminate the "hard cut"? I see it in source and it seems possible to just add a few more conditions to make a rudimentary curve, rather than a sudden ultra-dim drop, but I don't know what toolchain and such you use to experiment myself.

Hope that makes sense [emoji14]
[Xperia Z Original Android Development] langeveld024:
[MENTION=5243932]Tommy-Geenexus[/MENTION]

In B16, touchboost is configured at 1080Mhz but 1080 is not available in the frequency table.

Though, when I touch the screen, the cpu jumps to 1080Mhz. How is this possible?

In B15 touchboost was configured at 1026Mhz.

Is this a glitch or is this a change?
[Xperia Z Original Android Development] CosmicDan:
It probably just makes a best guess. Frequency table is not much more than a frequency=voltage hashtable, so it's probably using the same voltage as the nearest freq rounding upwards. But yeah that should be corrected, waste of a few mhz with nearly identical power drain [emoji14]
[Xperia Z Original Android Development] shoey63:
Has anyone got swipe to wake working? I cherry-picked This commit, and added it to my advanced stock kernel, but only double tap to wake and swipe to sleep is working for me. I have changed the value to 1 in the appropriate files. Any ideas?
[Xperia Z Original Android Development] silveraero:
I don't think implement dt2w is a good idea because sometime it make touch panel become crazy on lockscreen thus you can't unlock. There is touch panel bug I think
[Xperia Z Original Android Development] shoey63:
I am only testing at the moment, not yet released. It's not a problem for me because I disable my lockscreen:p

BTW. Tommy, I notice swipe to sleep is enabled by default. How do I tweak the commit for dt2w to do the same?

Edit: Not trying to do a full on Kang, just want to add dt2w/swipe to sleep/ swipe to wake to stock kernel, all turned on by default. Any help would be greatly appreciated.:good:
[Xperia Z Original Android Development] Tommy-Geenexus:
Sweep2wake requires a horizontal 2-finger-swipe across the screen (left -> right, right -> left).

To turn it on by default, set

.gesture_enable = true,

in

arch/arm/mach-msm/board-sony_yuga-touch.c
[Xperia Z Original Android Development] Tommy-Geenexus:
That is possible, altough very dirty.

I could hijack the backlight mapping to be smoother, but this would just add more hackiness to the lm3533 led-driver,

thus i won't do it, hope you understand my point ;)
[Xperia Z Original Android Development] Tommy-Geenexus:
This is intended.

On 1080 MHz the L2 Cache freq and bandwidth is significantly higher than on 1026 MHz and will thus help to smoothen things out.
[Xperia Z Original Android Development] langeveld024:
Okay why don't u get rid of 1026Mhz and use 1080Mhz instead in the frequency table?
[Xperia Z Original Android Development] comax70:
my battery and so what I tried fresh Rom flashtool with nothing but 17 % of recovery and 47 by the system happens to someone ?
[Xperia Z Original Android Development] CosmicDan:
Could you rephrase that? Battery issues? Maybe battery is worn out, or you just need to cycle it (do full charge). No battery issues here, not a bug.

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
Thanks for the log.

Most likely this crash was caused by an App:

http://xdaforums.com/xperia-z/orig-development/kernel-zombie4-3-t2768591/page7

Looks similar to what happened there, as Sysrq forced a crash.

But i see watchdog has bitten, i have a patch ready which may help here.
[Xperia Z Original Android Development] gcgspain:
Any kernel change requires UB, thats one of the main reasons for unlocking the bootloader.
[Xperia Z Original Android Development] creison:
Hi, recovery is inside for UB right?

Thanks in advanced!=)
[Xperia Z Original Android Development] kingvortex:
Yes, Multirom TWRP is included.
[Xperia Z Original Android Development] creison:
Thanks for you fast reply!

Compared to the stock Kernel it drains more or less battery do you know ?

Again, Thanks in advanced!=)
[Xperia Z Original Android Development] kingvortex:
I can't really say accurately as I only flashed it yesterday. 30 minutes screen on seems to equal about 10% battery for me, which is pretty good. Standby seems good as well. The phone goes into deep sleep correctly. I've left all frequencies/governors as supplied because I trust Tommy's expertise and judgement. :)
[Xperia Z Original Android Development] jindal_bharat:
Random reboots present, cpu frequency cant be increased to 1512hz as it is fixed to 1352hz, heating problem too.
[Xperia Z Original Android Development] kingvortex:
No such problems here.

My device uses 1512MHz correctly. Perhaps your device is throttling as 1350MHz is the limit when your CPU is between 60-65°C. Try disabling CPU boost as Tommy suggested earlier in the thread.

I've also not had a reboot yet. You should provide last_kmsg if you're experiencing reboots.
[Xperia Z Original Android Development] comax70:
No reboot but cpu 1350 only
[Xperia Z Original Android Development] creison:
´´30 minutes screen on seems to equal about 10% battery`` Not bad at all !=)

I think gonna give it a try!:cowboy::good:
[Xperia Z Original Android Development] jindal_bharat:
How to disable cpu boost
[Xperia Z Original Android Development] kingvortex:
Use Kernel Adiutor. In the CPU section.
[Xperia Z Original Android Development] jindal_bharat:
Tried still having problem with the kernel. I cant understand the thermal settings
[Xperia Z Original Android Development] kingvortex:
Then don't mess with them as it could be dangerous. What is your CPU temperature?
[Xperia Z Original Android Development] Tommy-Geenexus:
1. Phase

Temp >= 65 - CPU @1,35 Ghz

Temp <= 60 - CPU released

2. Phase

Temp >= 70 - CPU [MENTION=601338]810[/MENTION] Mhz

Temp > 60 < 65 - CPU @1,35 Ghz

Temp <= 60 - CPU released

3. Phase

Temp >= 75 - CPU [MENTION=1089301]384[/MENTION] Mhz

Temp > 65 < 70- CPU [MENTION=601338]810[/MENTION] Mhz

Temp > 60 < 65 - CPU @1,35 Ghz

Temp <= 60 - CPU released

And finally Temp > 78 - shutdown.
[Xperia Z Original Android Development] comax70:
This work fine i have block cpu[emoji12]

---------- Post added at 05:04 PM ---------- Previous post was at 05:03 PM ----------

Twrp have problem restore backup sd internal
[Xperia Z Original Android Development] jindal_bharat:
I havnt changed a single setting. I dont know why my cpu temp keep on increasing to shutdown conditions
[Xperia Z Original Android Development] dav93:
DT2W not working for me..
[Xperia Z Original Android Development] kingvortex:
Did you activate it? It's disabled by default.
[Xperia Z Original Android Development] dav93:
yeah used kernel adiutor to activate but doesnt work
[Xperia Z Original Android Development] danishaznita:
he meant that his battery readings are not accurate . in recovery its 17% while on system it shows 42%
[Xperia Z Original Android Development] CosmicDan:
Ah that's OK. My case with embedded 3000mAh battery arrived today, so I don't need to worry about conserving power anymore :D

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] comax70:
Yes now work fine not a bug

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] shoey63:
Yep, that does it. I LOVE IT:thumbup:

thanks Tommy:beer:

And a couple of beers for you too

01S51111LT7350241
[Xperia Z Original Android Development] Tommy-Geenexus:
Many many thanks brother, very generous of you :)

Feel free to contact me if you need any assistance.
[Xperia Z Original Android Development] comax70:
Yess work

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
I'll leave the table untouched, 1026 MHz may in some cases be a better choice for the governor and thus will save energy.
[Xperia Z Original Android Development] langeveld024:
:thumbup: i trust you Bro
[Xperia Z Original Android Development] Tommy-Geenexus:
After reading reviews of the Z5 Compact i am heavily considering it over the Z5.

It has exceptional battery life (the Z5 not that much) and runs just as good, plus it's much cheaper.
[Xperia Z Original Android Development] speedy56:
I was wondering... since all 3 phones of the Z5 series have basically the same specs (except screen size, res and battery), is there a way to easily port a kernel from one device to another?
[Xperia Z Original Android Development] Tommy-Geenexus:
Most likely yes, although i can't guarantee anything.
[Xperia Z Original Android Development] CosmicDan:
Given the history of Xperia kernels, I would say it's a certainty. Do they no longer share kernel trees across various platforms? Practically the entire 2011 line had one kernel tree even lol.

I'd get the compact too, but the screen size would be painful for my inaccurate fingers [emoji14]

Sent from Xperia Z via Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
Well, i think the difference would not be that big, i recently held a Nexus 4 in my hands (which has the same screen size as the Z5c) and it was totally fine.

Also, the Z5c is almost as big as the Z, and it seems very resistant thanks to it's bulky form.

I'll wait for reviews of Z5 and Compact first, i'd get the Z5 over Z5c if the battery-life is not noticably worse, however early reviews are not really promising.
[Xperia Z Original Android Development] langeveld024:
But I think the heatsink piping in Z5 and Z5 Premium are a little bigger because of there's more space in the phone.

The Z5 compact outer dimension (length) is exactly as high as the diagonal in our Z screens.
[Xperia Z Original Android Development] Tommy-Geenexus:
May be, but the Compact reportedly runs cooler than Z5 + Premium.

Plus, at 720p the GPU will be immense speedy, gaming will be insane fluid.