yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] dape16:
I have a problem that's a little annoying. Sometimes when using apps like OpenCamera, which I guess is quite memory hungry, the navigation bar and status bar disappear. I think it is normal that they are hidden when using full screen apps, but there is no way to "slide them in" from the sides. Which make it impossible to close the app without turning the phone off and on again. Also when returning to the home screen from some apps the navigation bar and status bar is missing, but appear again after a while. I have done a fresh install with just restoring data. I'm not using Xposed. Any ideas what is causing this? It has been like this for months.
[Xperia Z1 Original Android Development] optimumpro:
First, clean dalvik and cache in recovery. Second, don't ever restore data, instead, restore individual applications
[Xperia Z1 Original Android Development] optimumpro:
New build is up

Rom updated to include May 2016 security patches. See OP for download and description.
[Xperia Z1 Original Android Development] jos_031:
First non-stock rom without screen freeze issue..Thanks [MENTION=5075064]optimumpro[/MENTION]
[Xperia Z1 Original Android Development] Nimrodz91:
I too am experiencing the USSD code error after flashing r37. Here's a logcat while running USSD code. I don't have Xposed yet.
[Xperia Z1 Original Android Development] optimumpro:
Replace Nova Launcher with the original one and see what happens. Also, if you use Xposed Privacy, you may be restricting Phone/Dialer/SystemUI apps. Which codes can you not execute?
[Xperia Z1 Original Android Development] Nimrodz91:
I don't use Xposed Privacy. About the codes, I don't really know about that, but I dial *122# or *111# to access the phone service menu, etc. I will have to try to replace Nova Launcher later.
[Xperia Z1 Original Android Development] toeter80:
Hey guys,

I tried to install this ROM yesterday but I did something wrong. I installed latest ROM from twrp recovery (I was running Kryptonian ROM with Kryptonian kernel before). ROM booted up fine but wouldn't reboot, just black screen. No charging animation or led when charger plugged in. No recovery. With some combination of power and vol buttons I can turn the phone back on, but clearly something is wrong.

Have I forgot or overlooked something? I thought I had read all relevant info from first post, but it's not so easy to see what parts of the first post are relevant, so I might have missed something. Help is much appreciated!

Edit:I installed OK Kernel via Fastboot and re-installed the ROM in TWRP Recovery. Still having the same problem though.

Edit: unrelated question: if I enable QuickBoot mode in developer options, the Power Off option in power menu doesn't do anything anymore.. Is this a bug?
[Xperia Z1 Original Android Development] optimumpro:
Before flashing, you have to wipe System/Cache/Data, not just factory reset. This rom does not have in kernel recovery. Get January 2016 recovery and install it in recovery partition via fastboot: fastboot flash recovery recovery.img. Use only kernel included in the rom.
[Xperia Z1 Original Android Development] kentexcitebot:
Is it just me, or is the "Disable power menu on Lockscreen" broken? Enabling that feature through Development Options and holding down the power button in a secured lockscreen causes the phone to immediately soft reboot. I'm not sure if the older builds has this issue. I came from a clean wipe when I was using this ROM.

I do not have logcats of the crash (I forgot). I'm also on a different ROM right now, so to get the logs I have to re flash and setup all my settings, which is something I don't want to do. I thought to just report it anyways since it's very easy to reproduce.
[Xperia Z1 Original Android Development] toeter80:
Thanks for replying. I didn't know I had to flash recovery separately, must have missed something. I went to Resurrection Remix in the end as I couldn't figure out what was wrong, maybe I'll try this ROM again later.

I also noticed this, enabling Quick Boot mode breaks the Power Off option instead of giving an option menu.
[Xperia Z1 Original Android Development] dape16:
Since I had a problem with my phone constantly running out of system memory I decided to do a clean install and formatted all partitions, installed the latest Jaguar ROM (which I was also running before). I didn't restore anything at all after the install. Now I have a strange problem with the battery, it will discharge at a normal rate to about 60 %, then it will dive to about 35 %, and then it goes directly from 35 % to 20 % and then 0% and shuts it self down. Everything in less then 2 minutes! That means just 1,5 hour screen time and 4 hours standby. I have checked that deep sleep is working and when charging the phone it will climb up to 100 % at a normal rate. I have tried to charge it to 100 % twice, and it shows the exact behavior both times. I have clean flashed this and other ROMs before and have never had a battery problem.
[Xperia Z1 Original Android Development] optimumpro:
These are classic symptoms of the dying battery. When the indicator shows 100%, it is correct, you have fully charged cells, but instead of 8 cells (for example), you have only 2 left. That is why the battery can't hold the charge under load for long.

There is only one remedy - replace the battery.
[Xperia Z1 Original Android Development] dape16:
Thanks, I was fearing that. Since it looks quite difficult to replace the battery, (and maybe also difficult to find a high quality battery) I haven't decided yet if I will keep it or buy something new. Anyway, your ROMs has extended my Z1s life with almost two years and with the latest Jaguar the performance is just amazing. So I have made you a donation for a night at the cinema or you can spend it on some beers. :)
[Xperia Z1 Original Android Development] optimumpro:
Thanks for your donation (already got it).

There are many original Z1s with faulty (I mean dying prematurely) batteries. Mine was one of them. I replaced the battery in May 2015 and it works perfectly. You can get a replacement on e-bay (just don't get it from China/Hong Kong). Just make sure that you confirm with the seller that the battery is OEM.

Although, it is not easy to replace, but doable. There are videos on youtube with directions. I did end up buying a replacement back door (also get OEM), as the original one is virtually impossible to put back because of ruined adhesive. Just make sure that you transfer the NFC antenna onto the new back door.

I put the new glass on, then heated the back with a hair drier and put the phone under about 40 lb of book weight for 2 hours. A few days later, some spots became lose, so I used a fast drying glass glue (important to have a glue with residuals easily removed). Then I bought a tempered glass for the back and the phone looks brand new. I won't put it in water, but in over a year, there isn't any dust under the camera lenses cover...

Good luck.
[Xperia Z1 Original Android Development] ahmedzetm:
Is this custom ROM will get updated marshmallow

Please, this of the nicest cooked Rom

want to taste the marshmallow on my device
[Xperia Z1 Original Android Development] optimumpro:
Not until MM comes out of a bad alpha state...
[Xperia Z1 Original Android Development] ahmedzetm:
are u can build one from AOSP Cm13 many bugs on this vr
[Xperia Z1 Original Android Development] optimumpro:
CM13 for Honami is bad alpha too...
[Xperia Z1 Original Android Development] ahmedzetm:
use AOSP i dont love CM but is great supported i wann feel pure android on my device
[Xperia Z1 Original Android Development] smith314:
I can't get the encryption working. I'm on a fresh install but every time I start the process for a second there is the android logo and then the phone just reboots. I tried to kill all background processes and also tried to "manual" encrypt it via adb but nothing worked. Is anyone else fighting this?
[Xperia Z1 Original Android Development] optimumpro:
Here is what you should do:

1. Install Recovery for January (in download section) in fast boot. You have to get rid of any recovery you might have: (i) fastboot erase recovery; then (ii) fastboot flash recovery recovery.img (my January recovery)

2. Restart the phone and go to recovery, then install Jaguar release 28 for November (download section)

3. Reboot the phone; set up a short password for screen

4. Then do encryption via adb with a separate long password for boot

5. Then with January recovery you just installed, you'll be able to access your data and other partitions once you enter your boot password. So, reboot, enter recovery and

6. Install the latest Jaguar without wiping. This way your phone will be encrypted independently from a rom. You can later upgrade without changing encryption.
[Xperia Z1 Original Android Development] toeter80:
Well, I got it working, thanks. I will test it for a few days and see if I keep it on my phone.

One thing I really miss is camera button functionality. Is there a way to get the button working again?

Edit: OK, a topic search taught me that camera button functionality is apparently a difficult thing. It did work on DStriker ROM though.
[Xperia Z1 Original Android Development] toeter80:
New question: does anybody know how it is possible that Google Now Launcher switches between 4*4 and 5*5 icons on the homescreen every now and then? Quite annoying as I keep losing home screen apps and widgets.
[Xperia Z1 Original Android Development] kentexcitebot:
Did you modify your device DPI? If so, do you use task killers/greenify (also Google Play Store if it updates the app) that automatically kills the Google Search app? This happens to me too, but only if I perform the aforementioned steps.

You mean by launching the Camera app through the button? If so, then no; not possible in this ROM unless Gravitybox offers this option, which I'm not sure it does. If I recall correctly, the RR LP build and the experimental MM builds have the option to customize hardware buttons, which you can assign the camera button to launch the camera. As for taking photos with the camera button, it won't work in the Google Camera app (also AOSP Camera?). However, it seems this isn't the case for the other Camera apps in the Play Store: I use Camera FV-5 and Camera360 and they both take pictures with the camera button.
[Xperia Z1 Original Android Development] toeter80:
I don't use any task killers or the like, and i had not changed DPI settings. Just now I tried out what happens if DPI is changed up or down; surprisingly, this has no effect at all on the number of apps on the home screen.

So it remains a mystery why Google Now Launcher would spontaneously decide to fit more apps on the screen, and then to revert it again.

I just tried with camera FV and Snap camera; focus function with camera button does work, but I can't take a picture.

Starting the app with camera button would be great, being able to use the button for taking a picture would be a nice first step.. Strange that there seems to be a lot of difference between phone behavior.
[Xperia Z1 Original Android Development] optimumpro:
Camera shutter via hardware button does NOT work on ANY custom roms, because android does not include the camera shutter keycode. This commit was only introduced a few days ago by Google and it hasn't been merged yet...

https://android-review.googlesource.com/#/c/219590/

So, maybe in the future this will work...
[Xperia Z1 Original Android Development] toeter80:
OK , so it might be implemented in the near future? That's great. Do you know how it can be working in DStriker's ROM?
[Xperia Z1 Original Android Development] optimumpro:
Stock based roms have Sony's own implementation and it works there.
[Xperia Z1 Original Android Development] toeter80:
OK, that sounds logical.. do you maybe have any idea why the Google Now Launcher would change the number of apps on the homescreen from 4*4 to 5"5 every so often?
[Xperia Z1 Original Android Development] optimumpro:
Rom Updated

New build is up. Major changes. Volume Keys (any) can now be used for taking pictures. Yes, the only custom rom that has it!

Major security enhancements ported from CopperheadOS. See the OP for more description and download...
[Xperia Z1 Original Android Development] optimumpro:
For June 4 release, when asked on first boot, pick Slimlauncher instead of Jaguarlauncher or you will have problems (this is work in progress and the app shouldn't be there).
[Xperia Z1 Original Android Development] benplay64:
Hi dude so ok jaguar launcher crash but i have also aosp keyboard that is crashing i give you a logcat for keyboard and launcher if it could help you and if you could say me why keyboard is crashing it must be cool. This for this rom again.
[Xperia Z1 Original Android Development] optimumpro:
I think keyboard is crashing because you picked the wrong launcher. Go to settings/apps, clean both data/cache in both launchers and keyboard and then delete Jaguarlauncher. You should then have no problems. Another reason could be if you accidentally mixed different layers. Anyway, if you reinstall the rom and pick Slimlauncher, you'll be OK.

I don't have this problem and segmentation fault in logcat doesn't say much...
[Xperia Z1 Original Android Development] benplay64:
Nope it's not the solution because I had already that keyboard problem with last build and I don't use any layer and what you said didn't helped me but no problem dude I will just use Google keyboard. Glad to see that you are already trying to upgrade your rom
[Xperia Z1 Original Android Development] optimumpro:
Are you using any xposed modules like xprivacy or gravity? Gravity breaks down many custom roms and xprivacy may interfere if you restrict too much...
[Xperia Z1 Original Android Development] benplay64:
No keyboard crash since first boot
[Xperia Z1 Original Android Development] MacSeoin:
Hey [MENTION=5075064]optimumpro[/MENTION] great update and loving your new features, keep them coming.

I'm also getting an annoying pop-up about aosp keyboard but I have Google keyboard installed and thats what I'm using anyway.

Apart from that, I have nothing to complain about, great work
[Xperia Z1 Original Android Development] toeter80:
OK, this drives me crazy.. I switched to Slim Launcher to avoid the changing number of apps problem the Google Now Launcher had. But now, Slim Launcher does exactly the same: it used to have 4x4 apps on the home screen, but now suddenly everything shrunk into a 5x5 grid. I wish I knew how to make a screenshot so I could show it. I never changed DPI, so that can't be it..
[Xperia Z1 Original Android Development] optimumpro:
Uninstall any other launcher and once you have only Slimlauncher, longpress on home screen, go to settings (for slimlauncher) and set the homescreen/drawer/dock/folders the way you like it. And don't use Gravity Xposed module: it is not for custom roms...
[Xperia Z1 Original Android Development] gencturk61:
no data and no internet connection. i tried everything but didnt work. this was first try for this rom.

its says insert sim card.

intalled afwall but nothing changed.

anyway i am contunuing cyan.

using c6902
[Xperia Z1 Original Android Development] optimumpro:
You need to flash baseband for c6902...
[Xperia Z1 Original Android Development] toeter80:
Would my pictures benefit from flashing the DRM restore patch if I use this ROM? Or doesn't it make a difference?
[Xperia Z1 Original Android Development] camlin:
[MENTION=5075064]optimumpro[/MENTION]

The phone is waking up in the pocket as the Focus key activates the screen. Is there any way to turn this off ?

Also, Viper4Droid is not working on the latest build.

Other then that, the rom is perfect !

Really appreciate your work :)
[Xperia Z1 Original Android Development] optimumpro:
That's part of the work to have a fully functional camera button. That's intended behavior on Sony stock roms.

I doubt it...
[Xperia Z1 Original Android Development] vinodh3:
[MENTION=5075064]optimumpro[/MENTION] c6902 me too facing the same issue after flashing this rom. No network signal and IMEI is null. How to fix this issue. Anyone pls?
[Xperia Z1 Original Android Development] optimumpro:
Flash c6902 modem: http://xdaforums.com/showthread.php?t=2614645
[Xperia Z1 Original Android Development] optimumpro:
New build

Rom updated to include June security patches and a bunch of new features. See OP for Download and Description...
[Xperia Z1 Original Android Development] Sebaskyclad:
Could someone give me some good kernel adiutor settings? Balanced performance and battery
[Xperia Z1 Original Android Development] optimumpro:
In Kernel Adiutor use Ondemandplus governor, multicore power saving disabled. Set timer_rate at 33000. Don't use mpdecision, instead use Msmpdecision hotplug with idle frequency set at 1497. Use intelithermal...
[Xperia Z1 Original Android Development] eddvys:
Hmm but I want to change to CM theme engine because of what exactly you just said. I tried couple of themes I don't like how they function and plus most loved ones like Pitch Black brakes Layer Manager and simply does nothing. Also other one i check I couldn't see white text in the background forgot the name of that one.

So the only thing i could do go back to a different rom?

BTW very smooth and stable rom plus problems I and I bet most of Z1 users had are gone !! Like screen flickering overheating and other sh... Well done man!
[Xperia Z1 Original Android Development] optimumpro:
DU is also my rom. It has most of the fixes that Jaguar has plus CM theme engine. I will update DU too once there is enough changes there. But it is not worth the time and efforts to take out layers and replace them with CM theme engine: they are simply incompatible.
[Xperia Z1 Original Android Development] hitesh1792:
I tried to set the cpu voltages as per the screenshot u have attached in the op but my phone reboots.
[Xperia Z1 Original Android Development] dape16:
Other phones may need other voltages to be stable. I had problems with rebooting too when using the attached voltages, now I am running 740 mV on the two lowest frequencies, the other ones +10 mV. This is stable for me, except a delay when waking up the phone, but I have that no matter which voltages I use, so I think I have to play with other settings to get rid of that.

This ROM is insanely fast!
[Xperia Z1 Original Android Development] hitesh1792:
can u please share your voltage table?
[Xperia Z1 Original Android Development] dape16:
For 268 and 300 MHz = 740 mV. The other voltages is the voltages in your screenshot + 10 mV.
[Xperia Z1 Original Android Development] optimumpro:
You can't just copy someone's values, because you may have a different cpu variant and the voltages may be different as much as 120+ mv. Here is the voltage table inside of my version of M5 kernel: start looking from line 954 and down. https://github.com/AOSPME/android_kernel_sony_msm8974/blob/9313e4cd097b094ce6be1aaee062a9d5cff1d1fd/arch/arm/boot/dts/msm8974.dtsi
[Xperia Z1 Original Android Development] hitesh1792:
so i should try different combinations from your voltage table starting from line 954 ??
[Xperia Z1 Original Android Development] optimumpro:
No. This is just to make a point that voltage depends on your cpu variant. You have to know which pvs-bin your cpu is. And keep in mind that voltages there have already been reduced.

Generally, voltage has vary little to do with heating. What does is cpu governor. I have done some antutu testing and with performance governor I got 39000 and max temperature of 75 during the test. With ondemand - 36000 and 70; with alucard 30000 and 65. Alucard is best for stability, because it keeps only 2 cores active most of the time. You also can't use qcom mp plug, it is just bad. All others are fine.

Edit: Look at /sys/module/clock_krait_8974/parameters/table_name for your pvs bin, then find that in the github file: you will see how different your voltage range from the one on the picture.. Mine is speed0 pvs-bin 5 with 745 to 975. Speed 2 pvs 0 has 795 through 1120. So, if you use my voltages, your phone won't boot.
[Xperia Z1 Original Android Development] camlin:
[MENTION=5075064]optimumpro[/MENTION]

I've been using your rom for a while now. Almost everything works perfectly. Thank you for your hard work !

I have noticed a few issues though. I hope this helps you improve an already awesome rom.

1. The speaker volume is a bit on the low side. Using sound control leads to cracking sound. I think this can be solved by updating mixer-paths.

2. My GPU only goes till 533 mhz. GPU overclocking was a problem on a different older kernel also due to different PVS values. My PVS is 3.

3. The battery seems to be a bit lower than stock. However, I have made some changes to the settings now based on your above post. Let's see if there's any difference.

4. On every reboot, the navigation bar vanishes. I have to get it back using the Expanded/Normal quick setting tile.

5. I cannot get Multirom to work while using your rom as secondary with stock lollipop. This is a problem on ALL AOSP/CM based lollipop roms.

Other than that, its a great rom. On a side note, the enhanced security features make this a unique rom especially in the post Snowden era. I'm sure other device users would love to get their hands on your rom too.

Thanks a lot !
[Xperia Z1 Original Android Development] hitesh1792:
as you said i went through this path /sys/module/clock_krait_8974/parameters/table_name and found this qcom,speed3-pvs3-bin-v0 .i cant find this in your github file.i love your rom but i tried du as well as this rom but i dont know if its only in my case. even if i do browsing or just use facebook for about 20-30 min the phone starts to heat.what should i do please give me a solution to this.lowering the voltages will solve the problem? i dont like alucard i always use interactive gov. with msm_mpdecision or intelliplug.performance wise this rom is a beast.thank you
[Xperia Z1 Original Android Development] optimumpro:
If your bin is not listed then your phone uses a compatible one, otherwise, it wouldn't boot. As I have said, voltage won't help you with heating problems. If you use interactive, go to governor settings and increase timer rate from 20000 to 34000, this way cpu won't jump to different frequencies on idle. Don't use your phone for heavy activities when it is charging: phones are not designed to be used while on charger. Use inteliplug for mp decision. Disable touch boost in inteliplug. Other than that I don't know what to say. On my phone I use fennec browser with its own rendering engine and it does not get higher than 55 no matter how long I am on the net. But if I do the same with the charger, I could easily get to 65-70, which is the borderline of not good. As I said even during the antutu test, the phone doesn't get above 65-70 and that's a lot of load.
[Xperia Z1 Original Android Development] optimumpro:
I will look into mixer paths, but those are stock values, my only change was to camcoder mike level. GPU I can't help as there is no distinction in kernel for different GPUs. Navigation bar: that happened to me once when I used gravity module: you need to enable nav bar in gravity, because it is disabled by default and gravity overrides rom settings. Battery: if you use interactive governor, go to Kernel Auditor and change timer_rate to 34000, so that cpu stops jumping through frequencies on idle. Multirom: although M5 kernel is enabled for multirom, I don't support it, because multirom creates a huge security hole, since your system resides on SD card, which is open to any possible hack...
[Xperia Z1 Original Android Development] dejawho:
For some reason i had no data connection working, it showed a ! on the signal icon. I can call but no internet connection. I tried to switch the mobile network type from lte to other connection. But the only result was that now when I try to enter in the connection type section i got the typical android error that the a process has stopped and nothing happen