yashsingh1/xdaforums huggingface dataset:
[Xperia Z Original Android Development] CosmicDan:
I've seen (and had myself) stranger things happen, that were solved with an FTF reflash :)
[Xperia Z Original Android Development] chopper:
DT2W option isn't showing up on Kernel Adiutor.

Edit: Found out why, I forgot to flash the zip. ?
[Xperia Z Original Android Development] afeeq:
Init d?

is this kernel have built in init d? I try to enable using apps and scipt but failed. Tried with stock kernel no problem.
[Xperia Z Original Android Development] Tommy-Geenexus:
No. Will try to add it again soon.
[Xperia Z Original Android Development] stanlin salu:
Why there is '0' folder created inside the internal storage??

After a fresh install, all my old files of previous ROM were transferred to that folder???
[Xperia Z Original Android Development] Tommy-Geenexus:
Dunno. Not really Kernel related.
[Xperia Z Original Android Development] comax70:
Someone have problem long call? After 5 minute call down

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] langeveld024:
It is because you didnt do a fresh installation.

You probably did a clean installation. (Rom Update via zip)

However, this is not upgrading, upgrading is flashing full ftf with flashing userdata.sin which will format the entire internal SD and it is higly recommended to do so when upgrading to a newer android version to avoid the internal SD /0 folder problem.

See it as, when installing windows on a PC which has windows installed already.

The complete old system including userdata will be moved to /windows.old

I guess u updated from KK rom to LP rom recently via zip method? If so, that is the exact cause of the problem.

You should flash full ftf (fresh install)

Just make sure to backup the entire internal SD card.

Regards

---------- Post added at 03:30 PM ---------- Previous post was at 03:27 PM ----------

Nope, calling multiple times a day more than an hour simultaneously and no problems.

Perhaps using a custom or modified rom? Or mods?
[Xperia Z Original Android Development] Tommy-Geenexus:
New build is up!

Changelog:

* Allow individual boost frequencies for each CPU

* Fixed a minor bug in the conservative kgsl policy sysfs interface

Have fun!
[Xperia Z Original Android Development] stanlin salu:
Thanks mate, will try it out and report back ;)
[Xperia Z Original Android Development] langeveld024:
Since we don't have init.d, we have to configure conservative kgsl policy and touch boost every reboot manually in the sysfs paths or do you guys know an app that supports these paths? As kernel adiutor and faux does not show them for me.
[Xperia Z Original Android Development] Tommy-Geenexus:
Init.d should be present in the next build.

Can't get it working, always breaks system :/. [MENTION=1844875]CosmicDan[/MENTION] we need ZombieAdiutor ;)
[Xperia Z Original Android Development] comax70:
b14 problems with wifi modem disconnects anyone has this problem?

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] anmatheextreme:
Wifi works great for me here as well as everything else.
[Xperia Z Original Android Development] stanlin salu:
No issues with WIFI here ;)
[Xperia Z Original Android Development] BaDKaRmA:
[MENTION=5243932]Tommy-Geenexus[/MENTION] Kcal module for Z sir :( ... You can make a different thread in Xperia Z section only
[Xperia Z Original Android Development] basty95:
How i can activate the 2tap to turn on my device?
[Xperia Z Original Android Development] langeveld024:
Install kernel adiutor from playstore. (as written all over this thread, again and again lol)
[Xperia Z Original Android Development] nikhil18:
Initd is there in my kernel and only some changes need in the zip file to support initd because synapse is supported with my kernel and it needs intd to work so you can try flashing my kernel and see if initd works
[Xperia Z Original Android Development] Tommy-Geenexus:
This is not the proper way to do it. You only modify the install-recovery script, which is Kernel independant.

Proper init.d means running it from the ramdisk init.
[Xperia Z Original Android Development] 360porcento:
Hey man I think this is an perfect addition to your Kernel.

It's prob a easy patch, I haven't messed with kernels yet, only apps on android, it gives us the ability to use the phone as HID when connected to a PC, you can use it for a simple usb keyboard, but the part that is really interisg is using it as a hacking/pen testing device with the functionality of a teensy or a usb rubber ducky

The patch:

https://github.com/pelya/android-keyboard-gadget/blob/master/kernel-3.4.patch

As you can see from their homepage, there is succecfull development on the z ultra and the z3 so maybe it can be easier to port it from them:

https://github.com/pelya/android-keyboard-gadget
[Xperia Z Original Android Development] Tommy-Geenexus:
That is, because i added it to my Z Ultra Kernel.

Doing this for Z is no problem at all.
[Xperia Z Original Android Development] 360porcento:
Hah!

Did not know it was you :D, so we can expect it on a future update?
[Xperia Z Original Android Development] Tommy-Geenexus:
New build is up!

This is the final 5.02 Kernel Build!

Changelog:

* Rewrote msm_thermal (has 2 Phases now - the third was actually of not much use; Uses sensor 0 instead of 7, Shutdown temp lowered to 75°C, added emergency filesync)

* Improved apq_hotplug resume performance

* Lowered readahead to 128

About the thermal:

Originally i intended to lower the shutdown-limit to 72°C, but it came like expected,

after playing some games my phone could not even start and needed 10 minutes to cool down!

That's why i switched to thermal sensor 0, it reports cooler temperatures (1-4°C), wheter they're more realistic

or not i don't know, but my feeling says yes.

Why did i lower the shutdown-limit at all?

Because of the battery temperature. At 70-75°C the battery has reached the maximum bearable temperature (~40-42°C).

What is emergency-sync?

Emergency-sync tries to write to all unsaved buffers, trying to prevent data loss. So if you face a thermal-related reboot,

your device is less prone to data losses / corruptions.

In general, i have focussed on fixing all bugs i could discover with this build.

If you find any issue, do a proper report (log, etc..) here, and a hotfix build will be done.
[Xperia Z Original Android Development] Tommy-Geenexus:
Will be added when 5.1 drops. I did not want to throw it into the stable build without proper testing.
[Xperia Z Original Android Development] Tommy-Geenexus:
Everyone experiencing wifi related issues (disconnections, etc..) should read the following.

Luckily i have updated Prima from CAF, and pulled a wcnss configuration file from their cgit.

This means you can adjust wlan parameters like deep-sleep, idle-scan, etc.. there.

File path: /system/etc/firmware/wlan/prima/WCNSS_qcom_cfg_ini

For example, enabling IdleScan seems to have fixed frequent wifi disconnections.

Feel free to adjust things and experiment, certain issues may get fixed this way.
[Xperia Z Original Android Development] dedito:
CPU Boost

hey everyone, it's cpu boost it's gone or i missing something ?

since B-14 i dont have cpu boost.

thanks
[Xperia Z Original Android Development] langeveld024:
Tommy optimised the touch boost driver and therefore apps don't support the touch boost sysfs paths anymore.

You can use the sysfs paths explained in this post: http://xdaforums.com/showthread.php?p=61142713
[Xperia Z Original Android Development] Tabik:
Does this kernel compiled with tun.ko module?
[Xperia Z Original Android Development] Tommy-Geenexus:
Tun is build into the zImage, thus yes.
[Xperia Z Original Android Development] langeveld024:
[MENTION=5243932]Tommy-Geenexus[/MENTION]

Why is readahead decreased to 128 in latest update? I used 2048 before but decided to use 128 instead as you probably have a reason for it and I trust you.

Opening album and some apps seems to take a bit longer now though.
[Xperia Z Original Android Development] anmatheextreme:
Unfortunately what I found with the new build is that the thermal parameters are not adjustable, at least on my case. Both Trickster and Kernel Adiutor don't have a Themal Control option anymore. Anyone else see this? Does this have to do with the sensor change?

As always, thanks for your efforts Tommy, really appreciate your work.
[Xperia Z Original Android Development] langeveld024:
Confirmed, but it is actually available in the sysfs paths. I think the apps doesn't support these paths (same as with touch boost)
[Xperia Z Original Android Development] CosmicDan:
I'll do my best to get Zombie Adiutor done this week for that...
[Xperia Z Original Android Development] Tommy-Geenexus:
No. This is because i have rewritten the thermal driver.

I wanted to change things, as this driver is now 95% original work.

But i don't suggest to change anything thermal related.
[Xperia Z Original Android Development] Tommy-Geenexus:
It seemed that i caused occassional lag, can't tell 100% sure tho.
[Xperia Z Original Android Development] comax70:
Confirm is lag stock rom no mod

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
Which version? The Z is a bit laggy regardless (rom related).
[Xperia Z Original Android Development] comax70:
Pure stock ftf whitout xposed clean rom

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
[MENTION=1844875]CosmicDan[/MENTION]

IFA livestream today. Let's see what the Z5 lineup brings. Definitly staying with Sony this time.
[Xperia Z Original Android Development] comax70:
Z5 is my next sony...[emoji12]

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] Diatomix98:
Hey bro [MENTION=5243932]Tommy-Geenexus[/MENTION], do you have any plan in making your superior kernel compatible with AOSP roms other than only stock roms? I'm already fed up with the performance on stock based roms but I miss the gamma control and the optimizations which are absent on those roms. Hopefully you will be able to make one. =)
[Xperia Z Original Android Development] dedito:
thank you for the answer. i thought is just my phone and i dont wanna mess up with cpu boost.

and can anyone share LMK setting ? i mess up a lit bit and my phone got a lot of lag.

my goal is to my system not killed my apps so fast. i have many redrawing apps every time i turn off the screen.
[Xperia Z Original Android Development] langeveld024:
I recommend stock LMK and stock kernel settings.

You can go to settings>apps>"the app you use for kernel and LMK settings" and hit wipe data. After that, reboot and all is fine.
[Xperia Z Original Android Development] Tommy-Geenexus:
I won't, sorry. I will be extremly busy in the next time and am moving to a different location in 2 weeks. In fact i don't know how much i'll be able to work on the Kernel for the next months.

I will definitly get the Xperia Z5 later this/early next year, till then my Kernel will be updated when i got time (Kernel work on the Z doesn't neccessarily stop tho).
[Xperia Z Original Android Development] langeveld024:
Are you talking about Z5 premium or just Z5?
[Xperia Z Original Android Development] Tommy-Geenexus:
I would love to get the Premium, however my budget is limited. Regular Z5 it is, also the matte finish looks more appealing and is more practical.

Z5 in gold or green, definitly.
[Xperia Z Original Android Development] langeveld024:
So it's gonna be Z5 for me too! lol

I like the premium version too, but, being the first smartphone with an 4K display it looks too experimental to me.
[Xperia Z Original Android Development] Tommy-Geenexus:
Theoretically one could downscale the display to 1080p (and get mind-blowing battery life). But that would be against the phones purpose.

I will definitly work on a Kernel for the Z5 too, you could be my official tester then ;).

The fingerprint sensor Integration is just way better than on any other phone, well done, Sony engineers.
[Xperia Z Original Android Development] afeeq:
hi Tommy, before you move to a new xperia can you please make the init d built in. I really appreciate your work.
[Xperia Z Original Android Development] Tommy-Geenexus:
It doesn't work the clean way.

Use scripter to do it or load stuff directly from install-recovery.sh.
[Xperia Z Original Android Development] zainsy:
nice work dude

what roms does it support?

supports lollipop?

support swap?

thanks
[Xperia Z Original Android Development] afeeq:
I try use a script but failed to make init d work. How to load stuff from install recovery.sh
[Xperia Z Original Android Development] langeveld024:
Dude, if you would've only read the title of this thread..

---------- Post added at 07:58 AM ---------- Previous post was at 07:52 AM ----------

Check what nikhil18 said, you could try that.
[Xperia Z Original Android Development] zainsy:
Just Wanted TO Make Sure About Loli

What About Swap & Roms?

Why So Serious ? XD
[Xperia Z Original Android Development] kingvortex:
For the people asking about init.d, a quick reminder that there's an easy alternative if you use SuperSU (who doesn't :D).

Using a root enabled file browser (I use Root Explorer, but ES Explorer will work):

- Create the directory /system/su.d

- Set it's permissions to 0700 (rwx------)

- Put your scripts in the su.d directory

- Set the permissions on your scripts to 0700

That's it. Your scripts will run during boot.
[Xperia Z Original Android Development] shoey63:
Yeah, there is something going on that prevents modifications to the ramdisk. If anyone can work out how to bypass it, please share :)
[Xperia Z Original Android Development] langeveld024:
Lol this is for stock rom only. Why don't u read the thread before you start filling it with questions?
[Xperia Z Original Android Development] Tommy-Geenexus:
Uploaded rev1 of b-15!

The only change is the decreasing of gpu-bus throughput at 128 MHz, it seemed that this was unneccessary and affecting performance in a negative way.

Oh, and if you're wondering why Sony's Livewallpaper lags like ****, it requires the GPU to run at 400MHz to animate smoothly.

So if you care for battery life (and performance), say goodbye to this battery hog.
[Xperia Z Original Android Development] langeveld024:
[MENTION=5243932]Tommy-Geenexus[/MENTION]

I just remembered, Z1, Z2, Z3 use a unified kernel source. So when you build a kernel for e.g. your Z3, I can install it on my Z1 or Z2 as well. Am I right?

Would this be the same situation between Z5 compact, Z5, and Z5 premium?

Or is this too early to know?
[Xperia Z Original Android Development] Tommy-Geenexus:
Only the AOSP project uses the unified Kernel tree.

But as i will work on Stock only, you will be only able to use it on the corresponding device.
[Xperia Z Original Android Development] afeeq:
Have done that but still no init d. I am not sure what nikhil way to make it work.
[Xperia Z Original Android Development] langeveld024:
So you did flash the nikhil kernel zip (with boot.img and modules removed from zip)?

If so, then I don't know lol

If not, try that.

Btw I personally don't try that because lack of time and I prefer keeping things clean so I did not test this myself, though it should work.
[Xperia Z Original Android Development] huyngh:
I using 5.0.2 stock rom, I can flash this Kernel , how to flash ? , my phone not UB and not root

thanks
[Xperia Z Original Android Development] St.Jimmy90:
It needs an unlocked bootloader for this kernel to work. Make a ta backup before unlocking the bootloader and safe all your data as it will factory reset your phone.
[Xperia Z Original Android Development] comax70:
Last build work very fine on existenz v2 thx

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] anmatheextreme:
Latest build gives me the best battery life up to now on Lollipop. Existenz v2 with no issues and no lags. This is definitely the best build of this kernel.
[Xperia Z Original Android Development] Kelvin blaze:
Can I install zombie kernal after I install EXistenZ v2?
[Xperia Z Original Android Development] Borias:
Yes, you can

Enviado desde mi Xperia Z mediante Tapatalk
[Xperia Z Original Android Development] CosmicDan:
Hey Tommy, you were wondering if device was still waterproof after changing battery? Mine wasn't LOL, dead Z. Might be able to repair it, gonna take a few days. But I'm probably done with the Z :(

Z5 is nice, but I dunno if I'll be able to afford it any time soon as I refuse to go on a contract. Z5 Ultra will be my choice, that 4k screen begs for the size.
[Xperia Z Original Android Development] Tommy-Geenexus:
Crap, that's very unfortunate.

You mean Z5 Premium, right?
[Xperia Z Original Android Development] CosmicDan:
Well its fixed sort of, volume down key has a mind of its own still despite being fully submerged in isopropyl for ten minutes lol. Cheap to replace though, I just hack key layout and remove volume down keybind for now haha.

Nah the Z5 Ultra/Plus is only rumors, just the other day I read that it might be coming March (should be enough time for me to save a thousand bucks, providing my Z here doesn't have another swim). I don't see the point of 4k display on anything smaller than a phablet myself, I wonder how the battery life on the Premium would be.... But I digress.
[Xperia Z Original Android Development] Tommy-Geenexus:
Well, honestly i'd suggest you go for the Z5/Premium then later.

4K on 6 inch vs 5.5 inch makes no real difference (except if you go for screen size).

However, lets wait for battery life reviews.
[Xperia Z Original Android Development] CosmicDan:
True that, that's a whole .5 inch bigger than the Z. It's still pretty expensive so I've got some time to think about it, if you end up getting one then I would be likely to :)
[Xperia Z Original Android Development] Tommy-Geenexus:
I think Sony dropped the Ultra. I got one myself and it is a great device, however i am using my Z more because the ZU is too bulky to carry around (i use my ZU as a tablet).

ZU's sales are underwelming, so i don't expect a successor.

Btw. official 5.1.1 is out for the Z, go give it a shot, i'll upload a FTF later.

PS: It would be cool to see you and others from here in the Z5 forums ;)
[Xperia Z Original Android Development] langeveld024:
Wow that's good news! Checked ptcrb yesterday but didn't expect it now.

Yeah like "moving together to Z5" lol
[Xperia Z Original Android Development] CosmicDan:
Indeed, surprising. How long does it take for Sony to share the open source archive for a new firmware usually? I'm guessing it's weeks at most?
[Xperia Z Original Android Development] Tommy-Geenexus:
Always different. Could be 1 day, or 1 week.
[Xperia Z Original Android Development] langeveld024:
[MENTION=5243932]Tommy-Geenexus[/MENTION] [MENTION=1844875]CosmicDan[/MENTION]

Have you seen this: http://m.gsmarena.com/sony_xperia_z5_premium_teardown_reveals_a_dual_heat_pipe-news-13865.php

This might reduce heat production and therefore throttling a lot in the upcoming flag model. :cool:
[Xperia Z Original Android Development] Tommy-Geenexus:
Yeah. That's why i am definitly in for the Z5.
[Xperia Z Original Android Development] DrXperience:
*sigh* The cost of Z5 Premium is overwhelming, I wonder how much it will cost in India. I really like the phone, but like always I am concerned with rationality of feature vs Sony claims.
[Xperia Z Original Android Development] Tommy-Geenexus:
Just go for the normal Z5.

If the camera is really that good (it seems so), the Z5 is an (expensive) solid allrounder.

Better than what others offer.
[Xperia Z Original Android Development] CosmicDan:
I may very well get the regular Z5 too. I assume that they would all share the same platform, just with differing config; so us poor guys will not miss out on the Premium developments :)

That price though, ouch, I feels you bro...
[Xperia Z Original Android Development] Tommy-Geenexus:
Well, if i'd buy a new phone yearly i probably couldn't get this.

I will get it after price has dropped a bit, 600 is the max i can spend (I've never spend more than 450 bucks for a phone yet).

However knowing that Sony phones will get me trough the years, i am able to pay a higher price this time. If it would be Samsuck, hell no.

Developement shouldn't be an issue either, i just hope it comes with a dedicated recovery partition this time.
[Xperia Z Original Android Development] CosmicDan:
Yeah I only got this Z refurbished about six months ago for $200 ha-ha, im pretty happy with that. I think around 600 would be my limit too, I wonder if it'd be better to import or wait for Australian distribution...

...anyway, I wouldn't get your hopes up about dedicated recovery. We could be surprised, but they've done it this way since the X10 for some reason, you'd think they'd have changed by now.
[Xperia Z Original Android Development] Tommy-Geenexus:
My Z Ultra got a ta-patch which enabled a dedicated recovery-mode.

And Z3's Android Concept has a dedicated recovery partition too, so i'm hoping for the best but prepare for the worst :D
[Xperia Z Original Android Development] CosmicDan:
Are those official? I assume so, hacking the ta is one thing and probably possible but the bootloader would need changing I'd think.

I do understand why they don't have dedicated recovery though, just so they can share the same kernel with two different initfs's. But its not necessary, saves like 10MB or something lol.
[Xperia Z Original Android Development] Tommy-Geenexus:
Yeah, official. Lets wait and see.
[Xperia Z Original Android Development] shoey63:
I've tried the concept rom, and I hope Sony doesn't go down that route for future devices. Requires modified TA and new bootloader. (gives you an old school Android recovery)

But the catch is, it is IMPOSSIBLE to root on pure stock kernel, even with UB:banghead:

Only way is with a modded stock kernel, otherwise ANY changes to /system will result in no boot. (stuck on kernel splash screen).

On LB, the scenario is even worse. Can't flash custom recovery, can't flash custom kernel, can't modify /system and therefore can't root. Totally bullet proof:(
[Xperia Z Original Android Development] CosmicDan:
That's a good point shoey, would locked bootloader users still be able to flash a custom recovery?

Why is it a big deal anyway? Once it's got Recovery it works, the FOTAKernal patch is a minor inconvenience at most - doesn't cause any issues beyond that, right?
[Xperia Z Original Android Development] shoey63:
Flashing custom recovery won't work (not allowed) on LB, same with custom kernel, and without root, no dual recovery either. I feel The "concept rom" is an experiment by Sony to see if they can totally screw users who want root on locked bootloader.

Let's see what happens on z5. Wouldn't mind one myself :D
[Xperia Z Original Android Development] comax70:
Tom is possible make tap wake whitout kernel mod?

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] langeveld024:
Sure, there are plenty of apps in the playstore but they keep a service running in background and drains battery.

In kernel is much cleaner and works better.
[Xperia Z Original Android Development] comax70:
I do not like those of the Play Store if you can add something in the system

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] CosmicDan:
This is a kernel, not a ROM. Furthermore, if you expect developers to hold your hand with every issue, expect to be flamed - or at the best, ignored. You're lucky Tommy replied at all IMO, considering you hijacked the thread with completely unrelated request.
[Xperia Z Original Android Development] comax70:
yes i expect tom for the best zombie thx for your reply[emoji6]

Inviato dal mio C6603 utilizzando Tapatalk
[Xperia Z Original Android Development] Tommy-Geenexus:
I don't know if it would be possible, i don't think so, but my knowledge is not sufficient to tell that.
[Xperia Z Original Android Development] langeveld024:
Then there's no need to ask.. Is it? :)
[Xperia Z Original Android Development] CosmicDan:
I don't know what you guys are talking about lol. I just saw somebody asking Tommy to find them an app, thought it was a bit rude!