yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] kentexcitebot:
This is a really good ROM! Good job [MENTION=5075064]optimumpro[/MENTION]! :good:

The feature I really miss from your unofficial DU ROM is the ability to block System Wakelocks. I have serious wakelocks on my phone due to Play services and I don't like Xposed too much (compromises security and drains battery).

Could you add this feature? Thanks!
[Xperia Z1 Original Android Development] danny19901:
OK starting to get Random Reboots but I think it's my kernel settings as I had no issues at all except when screen waked up wouldn't let me unlock for a little while so I altered few things fixed that problem now I get random reboots :(
[Xperia Z1 Original Android Development] optimumpro:
Selinux is completely disabled, so you can use any mode you want.

Use interactive governor with timer-rate (in tunables) at 35000. On hotplug, disable MP decision and enable intelliplug. For GPU use msm-adreno-tz plus adreno idler.

The most important is hotplug: MP decision just does not work, it keeps all cores online causing overheating and battery waste.
[Xperia Z1 Original Android Development] Ohhdayumm:
But the sound mod needs it to be permissive do you know how to change it if possible? :)
[Xperia Z1 Original Android Development] optimumpro:
You need to use terminal command (get terminal on the phone): settings put global wifi_idle_ms 600000000. First, type su to get root...
[Xperia Z1 Original Android Development] optimumpro:
There is no permissive or enforcing. Selinux is completely disabled. In Linux Selinux has 3 settings: permissive, enforcing and disabled. Android, thanks to Google, has only the first two. Why? Because they want you to have NSA in your phone 24/7 - for protection, of course. I actually went further than disabled: I removed Selinux from kernel, which means you can't enable it at all. Selinux on this rom simply does not exist. So, any mode requiring Selinux permissive will install without problems.
[Xperia Z1 Original Android Development] Ohhdayumm:
Really wow OK Idk how this selinux thing works so thanks for explaining it man really informative and I'll try the mod now thanks a ton my friend ;)
[Xperia Z1 Original Android Development] Kacha13:
I was wondering, did you made improvements again for the touchscreen? The last version I tested was r18.

For testing purposes, I flashed the stock ROM again, just to see if the freezes were a hardware issue or not. My experience on the stock ROM so far, is that it is a lot better. There are sometimes little freezes, but nothing much. I was a bit surprised about that, but now I'm curios. Do you know what might be the difference? For me, the stock ROM is not really my cup of tea, that's why I want to switch back. But the freezes are too annoying for daily use.

If somebody would be so kind to post the content of /system/usr/idc/clearpad.idc, then I can compare it with the values of the official ROM. If there is no difference, then I have to assume it's in their implementation. Or they have some failsafe integrated. Both would be annoying.

Thanks already in advance!
[Xperia Z1 Original Android Development] optimumpro:
Some Z1 phones, especially the first batches. had screens without oleophobic coating, which results in dirty/oil/moisture accumulating and screwing the screen. That would especially be true if you remove the original anti-shutter plastic layer. I did have some screen problems on all roms, but then I bought tempered glass with oleophobic coating (for back too for protection) and the problems were gone. Now, since r18, I have enabled support for tweaking values in clearpad.idc. However, somebody else's values wouldn't help. My recommendation is to tweak touch.pressure.scale and touch.size.scale to the lower end. You have to reboot each time for the new settings to take effect.

But generally, as long as you press the power button twice at the first symptoms, screen problems would go away. If you don't, you'll end up with a complete freeze, as the driver would lock...
[Xperia Z1 Original Android Development] Kacha13:
I tried that, but it doesn't work. At least not on custom ROMs. What was surprising is, that it works with the stock ROM. I have nearly no screen issues at all. That is why I was asking. Regarding the values of the clearpad.idc file. I hoped that somebody could give me the stock values of the Jaguar ROM, because I used those previously. I just wanted to compare them with the values I have now in the stock ROM, so I can try those values in the custom ROM.

What I am wondering, could it be that the driver they use in the stock ROM is a different one than what they publish? Or is the driver for custom ROMs written by the custom ROM developers?
[Xperia Z1 Original Android Development] optimumpro:
Support for clearpad values is disabled in custom kernels (I enabled it in Jaguar, DU and Tesla roms). And proprietary Sony blobs are different for custom roms.

I am on Tesla now, but I remember changing only touch.pressure to 0.0024 and touch.size to 22.69.
[Xperia Z1 Original Android Development] Kacha13:
That's what I was afraid of. I will see what I can do though.

You mentioned that you changed the glass. How much effort and cost was it? I'm thinking about doing the same, but I'm not sure yet. Especially if it is worth it.
[Xperia Z1 Original Android Development] optimumpro:
You need to remove anti-shutter plastic cover: start from the right upper part of the screen with a razor. You just need to lift the edge and then remove with your hand (see youtube videos). Tempered glass with oleophobic coating costs between $4-$8. You need to align it properly the first time, because if you use it more than once (maybe twice), you start getting air bulbs...
[Xperia Z1 Original Android Development] Kacha13:
Wait, this is just a screen protector? So basically replacing the anti-shutter film with another protector? If that's true, then it is way easier than I thought... I thought I need to change the display, or part of it. ;)

Can you recommend anything? A specific brand?
[Xperia Z1 Original Android Development] optimumpro:
I don't remember the brand, but it has to be tempered glass (not plastic) and with oleophobic coating. I had to buy more than once, because it was difficult to align and I ruined the sticky part of glass. Initially, I bought the front one, but then after breaking the battery door, I got one for the back too.
[Xperia Z1 Original Android Development] Ohhdayumm:
How come some earphones work and some dont ?
[Xperia Z1 Original Android Development] optimumpro:
I don't know. My Sony headset works fine. So do others the iphone type. My old Nokia headset does not work. Maybe you should ask the earphones? :)
[Xperia Z1 Original Android Development] SuperLamic:
no, it's problem of all custom roms for z1. For example my xiaomi pistons are working after pressing headset button. On stock is everything ok. But I'm experiencing wierd thing - on CM I have to press that button multiple times in order to route the sound to headphones and on Jaguar is one press enough.. Dunno why :D
[Xperia Z1 Original Android Development] optimumpro:
New kernel. See OP for download and description.
[Xperia Z1 Original Android Development] kinjal:
How can I install xposed on this Rom? I had fails with last oryginal xposed - freeze during boot.
[Xperia Z1 Original Android Development] madalone:
i've the same issues
[Xperia Z1 Original Android Development] optimumpro:
You shouldn't have any issues with xposed if you do it properly: flash the rom, flash Xposed v75 sdk22, reboot. If you reboot before flashing xposed, you will have problems.
[Xperia Z1 Original Android Development] optimumpro:
Little Update

This is an update that does not require any wiping. Here is what you can get:

1. Kernel Adiutor is integrated in Settings: if you have it installed, you will see an icon in Settings for access

2. Wakeblocker is moved under Security where it belongs

Just flash the zip and reboot. Done...
[Xperia Z1 Original Android Development] madalone:
yup! did as instructed: all is well with the world. thanks for all your help and work!
[Xperia Z1 Original Android Development] HarpingOn:
Hi. I have an issue with notification light. Basically, it never comes on. I can set in the config all the options for colours and pulse rate, and the light will show the changes I'm making, but in use, notifications never trigger the light.

Have I missed a setting somewhere to enable notification light?

Thanks
[Xperia Z1 Original Android Development] optimumpro:
Check notification settings, interruptions, wakelock blocker, privacy guard and individual apps. Gravity may interfere. There is usually no reason to mess with default values.
[Xperia Z1 Original Android Development] HarpingOn:
Thanks, I found it in the interruptions setting, was turned off :/ so many options, thanks
[Xperia Z1 Original Android Development] optimumpro:
New Build is Up

Rom updated to release 28. See OP for download and description.
[Xperia Z1 Original Android Development] HarpingOn:
Dirty flash results in Google play services stopped working repeatedly, same for gmail. Going to wipe and try again
[Xperia Z1 Original Android Development] kevin8082:
I tried to install the release 24 today and I did install the TWRP recovery and the boot.img but I got an error on my phone saying that the update binaries were outdated, I don't know if that's a problem with my phone or with the ROM, for now I am using the default sony ROM(14.6.A.0.368) with the XZDualRecovery, I had to restore since it didn't work so I am back to that, any sugestions or something that I should try to install it?
[Xperia Z1 Original Android Development] optimumpro:
Which boot.img did you install? You were supposed to flash the entire rom with boot image included. See posts above where people flashed fine. Please read instructions.
[Xperia Z1 Original Android Development] kevin8082:
I followed the instructions for the TWRP recovery with the lastest boot.img(before release 28)
[Xperia Z1 Original Android Development] optimumpro:
You should have flashed the GAPPS before or after rebooting: GAPPS go into system, your system is wiped while flashing update and Gapps go down the toilet. :).
[Xperia Z1 Original Android Development] optimumpro:
You don't need r24 boot image. If you were on stock, you should have flashed straight from TWRP.

Has anyone else had flashing errors: outdated binaries??
[Xperia Z1 Original Android Development] kevin8082:
thanks for the help, I will try to install again and report again if anything happened.
[Xperia Z1 Original Android Development] optimumpro:
And don't forget to wipe /system/data/cache

Edit: OK. I didn't notice that you actually had a problem with r24, not r28. The difference is that 24 has a builtin TWRP, r28 has no TWRP in boot, but a separate TWRP to flash on recovery partition. Just do a clean install and you shouldn't have any problems.
[Xperia Z1 Original Android Development] kevin8082:
I always do that, I ussually don't have any luck with dirty installs
[Xperia Z1 Original Android Development] optimumpro:
I edited my previous response. I didn't realize you had a problem with r24. That one was downloaded over 700 times and no one reported any problem. The install binary is the same, but the difference was in TWRP: r28 has a separate recovery, as opposed to builtin in boot in 24.
[Xperia Z1 Original Android Development] kevin8082:
editing this hole thing, I was going to retore a backup and I basically corrupted my phone(don't ask me how), I will probably install from the 0 again .3.
[Xperia Z1 Original Android Development] optimumpro:
Yeah. This rom has no random reboots. You can only restore full data from a previous version. The alternative is to use Titanium to restore individual apps. But keep in mind that if some of your apps were in system, you will have problems.
[Xperia Z1 Original Android Development] kevin8082:
I know, at least if I install from the stock rom(without anything else) it will be more of a clean install than what I had before, but I did like the rom, very nice and specially the info menus(I didnt go too deep)
[Xperia Z1 Original Android Development] hitesh1792:
i flashed the nov 4 update and i found that there is no boot animation..did you removed the boot animation?on boot it displays android text instead of the jaguar boot animation!thanks for the update!
[Xperia Z1 Original Android Development] HarpingOn:
Of course thank you. Shouldn't flash ROMs when tired.

---------- Post added at 10:13 AM ---------- Previous post was at 10:11 AM ----------

No boot animation, and I'm seeing random reboots also. I've gone back to the previous build for now.
[Xperia Z1 Original Android Development] hitesh1792:
Yes same here.random reboots
[Xperia Z1 Original Android Development] tomascus:
Latest version is working great, no random reboots. Although one issue i've been having is weird behaviour when scrolling and reaching the end of the list - it has some strange bounce back effect: you can reproduce this in the recent tasks screen, just fling upward or down and you'll notice the animation behave strangely when it reaches the end of the list.
[Xperia Z1 Original Android Development] camlin:
Is there any way to install a recovery without putting anything in the FOTA partition ?

Flashing something like XZDualrecovery ?

Or perhaps you could kindly provide a separate flashable kernel with inbuilt recovery ?

P.S: Using this rom ever since it came out. No problems, no random reboots, audio is good and device is fast. Battery seems to have extra drain sometimes though. Thanks for your work !
[Xperia Z1 Original Android Development] Gawis:
I flashed as instructed over previous version and am also getting random reboots..

I did notice a message during flashing that it couldn't unmount systrm
[Xperia Z1 Original Android Development] optimumpro:
To those who have random reboots: just use kernel from November 1, which is posted in the OP. Unzip and flash it in fastboot: fastboot flash boot boot.img.
[Xperia Z1 Original Android Development] kevin8082:
Works, not getting any random reboots after something around 25 minutes after flashing and booting up.
[Xperia Z1 Original Android Development] madalone:
yessir, working like a street hooker during christmas time!
[Xperia Z1 Original Android Development] kentexcitebot:
-deleted-
[Xperia Z1 Original Android Development] optimumpro:
Did you check usb settings? I don't remember where, but there are burried somewhere in settings: you can do charging only etc...
[Xperia Z1 Original Android Development] optimumpro:
No. I did not make any changes to MTP. And I don't have this problem. I did have a few reboots on the latest kernel, but after I installed everything from scratch including data (I mean no data restore, no Titanium), I no longer have issues.

What I have also found is that when I encrypt the phone and even when TWRP can't decrypt data, I can still do system updates.

Edit: the most stable kernel for now is the one posted in the OP on November 1.
[Xperia Z1 Original Android Development] optimumpro:
What I meant was that even if you clear everything, but still restore previous data afterwards, you could still have problems. And only if you reinstall all apps from scratch, then you'll have no issues. Again, there were lots of changes in r28 in frameworks.av, bionic and a few in art, so all libs and jar files were recompiled. So, it is no surprise that there are issues with restoring data.

There is no custom rom that I know of (including CM nightly) that is build on r28. They are all busy with M and simple repo syncing with change to r28 is not enough: you have to manually incorporate changes into your rom.
[Xperia Z1 Original Android Development] HarpingOn:
Dirty flash over pervious version, flashed gapps , then twrp reboot to boot loader to fastboot flash the kernel and recovery. Reboot and all seems well. Stable for 4 hours, nice and quick still. Thanks for keeping up with the security in L, op.
[Xperia Z1 Original Android Development] agha_jo0n:
Hi

I have rockz1l v5 and twrp multirom recovery v 2.8.4

How should i install this rom or Du as secondary rom?!

Thank you ao much
[Xperia Z1 Original Android Development] optimumpro:
We have already talked about it: http://xdaforums.com/showpost.php?p=63098274&postcount=139
[Xperia Z1 Original Android Development] kinjal:
Is it known issue than cellular network settings doesn't work?

R28 result with reboots, after i install 1 nov boot.img with flashify till now working ok.

I also found another bug: quick settings - rotation icon is hide uniti i type it.

But with those bugs it is still great rom :)
[Xperia Z1 Original Android Development] optimumpro:
Set system language to English and you will have cellular settings. While there, compare your carrier's access point settings (from their site) with the one on the phone and adjust if needed. Then reset the language back to yours.

November 1 is a stable kernel that does not cause any reboots...
[Xperia Z1 Original Android Development] ShadyGame:
im getting reboots when my phone is locked and i try to unlock it when pressing the power button to wake it, everytime i leave it for like 2min locked, its annoying :S, if i lock it and right after unlock it, it works fine, if i wait like 2 min or more it reboots on trying to wake the phone.

Also, i get a worse network signal than on stock sony rom, any way to improve it? I get low signal in my room, but with this rom i get no signal many times.
[Xperia Z1 Original Android Development] optimumpro:
Read the OP and other posts. You need to use November 1 kernel on top of the latest release to get rid of reboots. November 1 kernel has no reboots. Regarding signal: read the previous post: you need to compare your carrier's settings in the phone with those on carrier's website and adjust them.. If that doesn't help, then you are not doing clean flashing, i.e. wiping cache, system and data. I get absolutely no difference in signal between stock and this rom.
[Xperia Z1 Original Android Development] ShadyGame:
oh okay im sorry, i thought all i needed was to flash the latest release, thanks ;)

Working good now :)

Only problem i have, i had with CM too, i get strange colors, like purple flickering on some icones and pictures, i had to mess with screen calibration to remove them... Doesnt look so good but its better than having that purple color everywhere.
[Xperia Z1 Original Android Development] optimumpro:
Make sure nothing is ticked in developer options like: show touches; surface updates; layout bounds; gpu view updates; gpu rendering et al. Nothing should be enabled there...
[Xperia Z1 Original Android Development] ShadyGame:
Yeh i'ts nothing enabled, i get this everytime i change kernel i guess, could it be because my screen is aftermarket?

Cheers
[Xperia Z1 Original Android Development] drakonizer:
I have the same issues too with all LP AOSP based ROMs. I have an aftermarket screen too. I guess not investing in an official screen for 60? the price I paid for the phone has its price.

Did you try booting the M ROM or any of the FXP AOSP ROMs? Ever since the display change, they don't get past the kernel logo. If you have it too, then I can conclude that it's not me, but the screen that's at fault.

Sent using XDA One
[Xperia Z1 Original Android Development] HarpingOn:
Does the keyboard in the latest build now have "floating" predictions, or have they always been there? I like them, but I've only just noticed them
[Xperia Z1 Original Android Development] someone755:
[MENTION=5075064]optimumpro[/MENTION] I see you're using the M5 kernel.

Not to be a downer or anything but a good many people worked their arses off to make that thing what it is. Some appreciation and a mention of at least the core developer would be nice.
[Xperia Z1 Original Android Development] Myself5:
Actually I would rather like to know how he manages to compile that kernel with a 5.x Toolchains, since nobody was able to do that yet, especially not with M5 Kernel, and I don't see any changes he did in order to get things working with that toolchain compared to the "real" M5 Kernel. Would be cool to get some information about that.

Don't really care about the credits, if thats what optimumpro thinks our work is worth, fine.
[Xperia Z1 Original Android Development] optimumpro:
I have certainly given credit for kernel to Myself5 since as early as May 2015:

http://xdaforums.com/showpost.php?p=60973064&postcount=2

I will gladly put the same in my every thread if that makes everybody happy. :)

Regarding 5x toolchain: anyone is welcome to look at Tesla-Redux github: they have done it.

Edit: I simply built the kernel in Tesla-Redux environment and they do have 5.x toolchain in their prebilt folder. So, it was smooth...
[Xperia Z1 Original Android Development] Myself5:
That certainly does not make sense, since there are no Tesla Redux Kernel Sources for the shinano/rhine devices. Did you check with a tool like CPU Spy that you really build with 5.x at all? I am 99.9% its not 5.x.
[Xperia Z1 Original Android Development] optimumpro:
I have checked with kernel aduitor and it says gcc 5x ubertc. The changes are not in kernel. The chain is flagged in source's build folder. I will later post a screenshot from kernel adiutor...

Edit: screenshot posted

I think you can't compile because you are not building in rom environment.

P.S. Sometimes 99.9% loses against 0.1. :)
[Xperia Z1 Original Android Development] camlin:
[MENTION=5075064]optimumpro[/MENTION]

Could you please provide a kernel with a built in recovery ?

This is because putting recovery in fota partition causes issues with changing rom/kernel as most kernels have recovery inbuilt which clashes with recovery in Fota.
[Xperia Z1 Original Android Development] optimumpro:
Attached. Actually, more and more roms (including CM) don't have recovery in kernel anymore. But it shouldn't have any difference. If you have kernel with recovery, all you have to do is erase recovery in FOTA: fastboot erase recovery...
[Xperia Z1 Original Android Development] camlin:
You're right. I'm sure in a while eventually all kernels will catch up. Its stock based kernels that usually have inbuilt recovery.

Thanks for the modified kernel !!!

I added Xzdualrecovery using kernel builder on nut.xperia-files.com to the 1st November Kernel. It is working well and the tool is surprisingly easy to use.

Is this kernel 4th nov one or 1st nov one ?
[Xperia Z1 Original Android Development] optimumpro:
It is November 1. So, no reboots.
[Xperia Z1 Original Android Development] ShadyGame:
I started using this rom because of the ghost touching happening on my phone alot, i still have them with this rom, but its rare to happen, and it goes away after lock and unlock, its possible to port that feature to a stock rom? I wanna sell my phone and buy a z5 but the ghost touches are too annnoying, i dont wanna sell it like this,
[Xperia Z1 Original Android Development] Masterblop:
I've solved by changing the screen protector :good:
[Xperia Z1 Original Android Development] earmuffz21:
There is a bug when the phone is charging while off. The screen will turn on to display the little charging battery icon/animation. After that animation turns off the screen's backlight stays on and will not turn off while charging.
[Xperia Z1 Original Android Development] optimumpro:
That's not a bug, but a feature to let you know that the phone is turned off. Otherwise, you can forget the phone is off and miss phone calls/mail/messages.
[Xperia Z1 Original Android Development] earmuffz21:
Will this reduce the longevity of the screen? I feel like having the backlight on so much would lead to it burning out faster. Also, is there any way to disable this feature?
[Xperia Z1 Original Android Development] optimumpro:
I am yet to hear about one screen failure due to a low level backlight. There is no reason to keep the phone on charger while it is off and fully charged. While it is off, it takes virtually nothing from the battery. By keeping it on charger, you raise internal battery temperature, which will reduce battery life. There was a discussion on CM gerrit where they decided to implement this for the above reasons.

You have to recompile the rom to turn this feature off.