yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] babyboy3265:
Alright that's legit explanation. I have been opening phones tablets and various electronics for years, i enjoy modifying. In this case the phone is waterproof and the procedure is very different from ordinary tech. In this case you cannot close the device the way you opened it :p

I have considered ordering a purple back cover and i assumed that indeed the generic adhesive won't do the original job... But improving the heating of the phone has been a dream so far :P However, presently with your ROM the phone doesnt really overheat.. Nothing like the over it was before :D

When you get to open it again please do record your steps to show us the right way :)
[Xperia Z1 Original Android Development] Arthur P. Dent:
Port for Z5 Compact

Is it possible to port this great Rom for the Xperia Z5 Compact too?
[Xperia Z1 Original Android Development] optimumpro:
I don't have to port it, I can just build it for Z5, but the problem is: I don't have the device. So far, I have been able to build Jaguar for Z1 compact (without a device) and it worked, but when I tried to do the same with Z2, I got a bootloop and I can't debug the issue. Believe it or not nobody at Z2 forum wanted to provide a logcat. They asked for the rom, but wouldn't provide the logcat...
[Xperia Z1 Original Android Development] babyboy3265:
Weird problem i have encountered yesterday. So, after i tested the ROM for over a week now, i am very satisfied and I decided it is time to install it on the wifes' Z1 as well. She was on Dstriker 5.1 ROM as i remember.

I installed Jaguar yesterday on her device and did the whole procedure that i had done on my Z1. However the outcome was very different :(

There are 3 issues i encountered.

On her Z1, when i open Kernel Tuner and go to GPU, her GPU has the possibility to to go from 27mhz to 533mhz. On mine it is 200 to 600... :eek:

2nd issue is that when the brightness of the screen goes below a certain level, the screen starts flickering, basically the LED that lights the display up starts tripping... It instantly becomes OK when the brightness goes above that level, its approximately 40%.

The 3rd issue is the battery drain, it goes down unnaturally fast... My Z1 is older than hers and yet i manage to have it for 15h constantly connected to WIFi (With Jaguar) and the battery is at like ~60-70%.. I opened her battery settings and everything seemed OK with the battery usage.

When I go to settings>about, all the numbers and versions are the same as mine, kernel seems to be properly installed.

I do not understand what is going on, did i make some mistake while installing, or is it possible that her hardware is somewhat different?? Both phones are the 6903 EU version.
[Xperia Z1 Original Android Development] optimumpro:
None of these have anything to do with the rom and your other Z1 is a good example...

1. Some GPU variants just cannot be overclocked to 600. You are not alone, as someone else noted the same in the past

2. Brightness: the phone might have an after-market display. Just don't set brightness below the number triggering flickering

3. Battery: You have to let the rom settle for a few battery cycles, as it does a lot of things in the beginning...

4. Switching from KK to LP requires a one-time install of an unmodified stock rom. If this hasn't been done, the phone might be missing some firmware update that is not part of any custom rom...
[Xperia Z1 Original Android Development] Arthur P. Dent:
If you build it for Z5, does this mean a lost of Fingerprintscanner and Camera2.api? Because the XZ doesn't feature this functions...
[Xperia Z1 Original Android Development] babyboy3265:
1. You are correct about the different GPU versions. Even though that is strange and in my opinion that's unfair from SONY, but hey, when did they really care about anything more than cashing out properly ;P

2. I cannot comment about the origin of the screen as we got her phone second hand and thus its not certain what may have happened before. However, yesterday i flashed a fresh unmodified stock before re-flashing the Jaguar again, and on the stock, the screen did not flicker when at minimum brightness. Anw she will get used to not going below that % of brightness.

3. I am aware about the extra drain phones go trough after a fresh install, however when I said it was highly unnatural I really meant madly unnatural :p Turns out its some sort of miss calibration i guess, as she described the phone was at 40% and then it just shut down in front of her eyes and took 10 mins to turn on again..

When i started reinstalling things yesterday, it shut down on me as well and while off, it started charging from 0%. When it reached 17%, i turned it on and after booting it showed 78% in the status bar :D I downloaded a battery calibrator so lets see if that fixes it..

Once again, thank you for your work and your support with our troubles :)
[Xperia Z1 Original Android Development] optimumpro:
Low brightness on stock is simply set higher. Battery: these are classic symptoms of a dying battery. It can't hold voltage under stress and flashing, booting a new rom and installing apps is stress. If your battery has 4 working cells, instead of 12, once all reach a certain voltage, it will show 100%, but because you have only 4, it reaches a shut down voltage in no time under stress. I replaced my battery in May 2015, the old one by that time would go from 80% to 40 and shut down in 20 min after playing a youtube video. There is nothing you can do, other than replace the battery. Battery calibration is a proven waste of time: it only deletes a battery stats file, which is deleted by system anyway every time after a full charge.
[Xperia Z1 Original Android Development] optimumpro:
Google has already posted October security patches, but the links are no live yet. In the mean time, here is a screen shot of available ram on first boot after dirty flash...
[Xperia Z1 Original Android Development] babyboy3265:
Oh you tease :laugh:
[Xperia Z1 Original Android Development] benplay64:
Hi [MENTION=5075064]optimumpro[/MENTION] i'd like to flash again your rom, i'm now on last stock rom. while trying to backup modem files, i've seen in the app "partitions backup and restore" two modem items that are modemst1 and modemst2. Should i backup these two or just one? And can't i just flash the modem files for c6903 of this thread's mega link? http://xdaforums.com/xperia-z1/development/stock-barebones-5-1-1-c6902-3-t3401200 Thanks by advance for your help
[Xperia Z1 Original Android Development] optimumpro:
You need to backup and restore both modems or flash baseband from official ftf. I have no idea what those c6903 modems in the link are.
[Xperia Z1 Original Android Development] babyboy3265:
So i thought.. Found some sellers on Ali, claiming they are selling the original battery. Might as well get one and while replacing it i may make a heat sink as well :)
[Xperia Z1 Original Android Development] optimumpro:
New build

Rom updated to include October security patches and more. See post #3 for download and description.....
[Xperia Z1 Original Android Development] caki25:
Having to flash the baseband is still required after a clean flash? Tried to do the partition backup on the September release and killed it .. had to flash the stock FTF... :)
[Xperia Z1 Original Android Development] benplay64:
Personnaly i flashed j ROM this morning (in France) and i backed up modem files with partition backup app. But I backed up it in .Tar.gz (I didn't knew we had the choice) and apparently, this app isn't restoring this type of files(strange). But now I have H+, E, and even G. So I imagine I don't need to use flashtool. If you wants to know, I was on barebones rom before J ROM.
[Xperia Z1 Original Android Development] optimumpro:
If you were on Jaguar before, it is not required. It is not at all required if you have signal. On my phone I lost 3g/2g after installing September release and after flashing c6903 baseband, everything was back to normal.

Good to know.

Anyway, if you have signal after flashing the rom, then you don't need to do anything...
[Xperia Z1 Original Android Development] pokepokepoke:
Overclock is default or do I need to set it from Kernel Adiutor.I use kernel adiutor mod and it doesn't show msmmpdecision in hotplug.Another mod shows it as "Bricked Hotplug by pshow" is bricked and msmmp the same?
[Xperia Z1 Original Android Development] optimumpro:
Go to Kernel Adiutor and check... Hotplug: the first one is Intelliplug, next - MSM MPDecision, then Alucard...
[Xperia Z1 Original Android Development] benplay64:
Hey i dirty flashed october release but i had gapps force closes. So i tried to clean flash it but now 5.1 gapps aren't working, it is saying that the ROM version is not 5.1. Do you know what to do? I know you are not using gapps but please help us. Do you think that flashing n gapps will work? I think it is dur to thé 40% of N
[Xperia Z1 Original Android Development] pokepokepoke:
This options does not Appear In http://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549

Anyways I used your attached app still I can't go above 2.4 ghz even if I turn off all hotplugs and thermal.
[Xperia Z1 Original Android Development] benplay64:
Are you using a gapps package? If yes which one?
[Xperia Z1 Original Android Development] optimumpro:
See pictures. Post your cpu pvs bin variant. Maybe it can't be overclocked above 2457.

Use Kernel Adiutor's build prop editor and change rom version # from x.x.x to 5.1.1; reboot and install Gapps. And tell Gapps deves they should use SDK#, instead of Android version for checking a build before installing...
[Xperia Z1 Original Android Development] DEMONiadSE:
There is no need to edit android version. I just flashed opengapps nano and it worked without any errors.

Also Layers seems to be broken now. It not work anymore.
[Xperia Z1 Original Android Development] benplay64:
Ok. thanks I tried with slim Gapps. But [MENTION=5075064]optimumpro[/MENTION] why do you implement 7.0 codes? Will you implement the look of Android n then?
[Xperia Z1 Original Android Development] optimumpro:
I implement under the hood commits from Android Gerrit master branch. The cosmetic things are not available between versions: they just publish new code without referencing. So if there are multiple commits to do this or that, there is no commit saying multi-window...
[Xperia Z1 Original Android Development] SpGG:
Hi there, I am not sure how dirty flash works. I tried simply flashing the october release over my august release. I skipped september. I use gapps. When I now boot, gapps tell me they crashed on boot. Though after a while the crash messages go away. I still can't connect to the internet though, which is strange. Afwall is installed and all apps cleard. I didn't change anything there. Still no network. I may have missed a bunch of things. Thx for reading and thx for the great rom. :)
[Xperia Z1 Original Android Development] optimumpro:
You do know that every time your upgrade, you have to reflash Gapps. Gapps are in system and system gets overridden by the new release. Your normal apps are in data, so, they don't get touched... Open afwall and disable/enable it once...
[Xperia Z1 Original Android Development] pokepokepoke:
I'm not using any gapps.

How to know my cpu pvs btw my gpu also doesn't go beyond 533 if that matters and running at 2457 all cores freezes and reboots the phone in Antutu or stress testing
[Xperia Z1 Original Android Development] optimumpro:
Don't disable hotplug and especially thermal, you will have overheating and shutdown, and that's what you have. Use Intellithermal, untick Core Control and VDD, as you can't use more than one protection. Use any hotplug. I just did an Antutu 5 test and got 38000 with Ondemandplus. The phone got 53 degree at various points.

Increase voltage on 2457 by 15 if there is freezing.

Edit: Forcing all 4 cores to 2457 plus turning off hotplug and thermal will definitely result in sub-par performance and overheat

Edit2: You can find your cpu variant in /sys/module/clock_krait_8974/parameters/table_name

P.S. Nothing is hardcoded and the other version of KernelAdiutor that you use should show your cpu's PVS bin number
[Xperia Z1 Original Android Development] optimumpro:
Performance

Don't mess with default values unless you know what you are doing. And if you turn off heat protection, hot plugs or force all cpus at the highest frequency, you don't know what you are doing.

Antutu numbers mean nothing. The only performance that counts is a lack of lag, fluidness and speed. Lags occur for 2 reasons: overheat and insufficient ram. Ram is not a problem on Z1, but powerful CPUs are. So, the trick is to throttle down frequencies and pluggin/unplugging of the cores to prevent overheat without losing power. Thermanager is the main thing and it has been redone in this release to reflect four new CPU frequencies. Kernel thermal is a second layer, but protection should be triggered at much higher temperatures. For example, I use intellithermal with all other toggles set to off. Frequency throttle temp is set to 64; core unplugging at 75. That's all you need. You shouldn't have any freezing, but if you do, increase voltage on 2 higher frequencies by 15.
[Xperia Z1 Original Android Development] optimumpro:
Every upgrade you have to re-apply layers, as they modify system, which gets overridden after flashing. Layers do work after re-applying...
[Xperia Z1 Original Android Development] optimumpro:
You can't compare Antutu 5 and 6. Those are just different numbers. In Antutu 7, Z1 will get 75000. My September and October Antutu 5 have similar scores: between 36500-38400.

Idling and stress temperatures are different. I get about 5 degrees less, because of a heat sink. My Z1 idles at 30. When I play Asphalt Nitro, it gets to 55 and there is no lag whatsoever after playing for 40 minutes.

I did change values in thermanager.xml, so that CPU throttling would start earlier, but that shouldn't result in a 17000 score. If you want, you can take /etc/thermanager.xml from September release and put on your phone with root file manger, reboot and see if that helps...

I will post a kernel without overclocking, so that you can compare, but there is no way you can get 17000 score instead of 37000-38000

Edit: check if you are not using 2 hotplugs at the same time, as Kernel Adiutor likes doing that, when there is a new kernel.
[Xperia Z1 Original Android Development] DEMONiadSE:
It was clean install.

Found the problem, Layers Manager now can't apply permissions to the files in /overlay/ for some reason. And i can't do this myself by filemanager too, strange.
[Xperia Z1 Original Android Development] optimumpro:
You have to start Layers Manager and give it root. Then you should put layers in the directory created by Layers Manager or if it is a separate app, just install it. Then restart Layers Manager and apply layers. Do it several times and do soft reboot. Layers Themes are not like CM themes. You have to reboot...
[Xperia Z1 Original Android Development] DEMONiadSE:
I've been messing around this all day, but it worked only now, very strange. Ok, will be more patient next time. Thx.
[Xperia Z1 Original Android Development] pokepokepoke:
Much appreciated,I always clean flash this time I will do again and not install kernel adiutor.Let the phone cool for an hour then report.Thanks :) I think you abandoned phh su because of some adb bug.I checked and that's solved now but phh's zip is only for systemless and Jaguar doesn't like exploits so can you make a system zip please
[Xperia Z1 Original Android Development] optimumpro:
I just looked at Phh's Superuser repo and there haven't been any changes since July 2016. Well, his superuser was incorporated into Magisk, but the security hole is still there: even when you revoke all root access, if you connect the phone via adb and type su, you get root. Not acceptable...
[Xperia Z1 Original Android Development] pokepokepoke:
Look up phh's thread(not Magisk) page no.111 PunchUp now creates the apk.Using that apk with ver273 binary on 6.0.1(Aicp) I got prompt for adb shell su

Maybe you didn't see changes in repo because latest two versions are not official and not even on build bot

But even if the bug exists IMO the odds of a closed source app phoning home China are much greater than someone having physical access and ADB'ing to device
[Xperia Z1 Original Android Development] optimumpro:
If anyone has a problem with high frequencies not going above 1700, in Kernel Adiutor/Cpu set Sync Threshold to 2265; then go to CPU governor Tunables and set inter_high_freq to 2265600 and inter_low to 1574400
[Xperia Z1 Original Android Development] gencturk61:
this gapps works perfectly. GApps made for : CyanogenMod 12.1 / Android 5.1 Lollipop

http://www.devfiles.co/download/fAgtiEoX/gapps-lp-20150314.zip
[Xperia Z1 Original Android Development] pokepokepoke:
Now cpu goes to 2265 can I set it to highest? I tried xposed 86.6 and it also doesn't work (device stuck at sony logo) .I was wondering if I use september build with October kernel will xposed work and new kernel freq too?
[Xperia Z1 Original Android Development] Ænimal:
I'm running this combination on my z1c, and everything of the above is working. It should work on the z1 as well..
[Xperia Z1 Original Android Development] optimumpro:
Frequencies

There is no benefit in setting sync frequency to the highest, all you need is a middle muscle and 2265 is fine, considering you have 2803 as high. Inter_high could be set higher than 2265, but inter_low should stay at 1400-1500. Remember, those are intermediate highs and lows...
[Xperia Z1 Original Android Development] optimumpro:
Are you saying Xposed framework works on October release?
[Xperia Z1 Original Android Development] Ænimal:
3x poke was asking about whether it's possible to run September build w October kernel - that's my setup
[Xperia Z1 Original Android Development] optimumpro:
Rotating Home Screen Added

If you want your home screen rotate when display rotation is enabled, head to post #3 for update, which could be flashed on top of September-October releases.
[Xperia Z1 Original Android Development] pokepokepoke:
sync threshold 2265 or 2803.Overclock does not work.Max freq is 2.4,can you share a screenshot of your device using 2803 real time
[Xperia Z1 Original Android Development] benplay64:
Hey it is not bulls hit, it is really overcloked to 2800 but personally I had some problems like random reboots or deeps leap not appearing so I switched back to dstriker
[Xperia Z1 Original Android Development] optimumpro:
If there is freezing or reboots, all you need to do is increase voltage by 15-25 on new frequencies. Staying with stock based rom that is missing over a thousand of security patches is dangerous...
[Xperia Z1 Original Android Development] optimumpro:
New Kernel

Kernel updated. See post #3 for download and description.
[Xperia Z1 Original Android Development] babyboy3265:
[MENTION=5075064]optimumpro[/MENTION]

I need your help. I am abroad for a few days and i am trying to use my phone as a wifi hotspot. However when i connect my windows 8 tablet it shows limited connectivity. Troubleshooting shows that the "wifi router" does not have a valid IP.. If i connect another Android phone it works fine. Only the win 8 device does not work. Cmd>ipconfig shows an assigned ip but no default gateway..

Any idea why?

Also for some reason the new update doesn't work for me. The phone keeps bootlooping.. Sometimes it gets to the home screen but in a few seconds it's rebooting again.. Can't even go to kernelauditor to change the settings.. I dirty flashed on the previous version. :(
[Xperia Z1 Original Android Development] optimumpro:
Update to the latest kernel I have posted. If you still have reboots, increase voltage by 15-20 on 2457 and higher frequencies...
[Xperia Z1 Original Android Development] babyboy3265:
I flashed the new kernel right after installing the new ROM, i can't get to kernel tumer to increase the V... I flashed the new kernel thought TWRP by flash image...
[Xperia Z1 Original Android Development] optimumpro:
That means you have set something in kernel adiutor wrong. In twrp, mount system, go to advanced, file manager, data/app, find com.grarak app, delete it and reboot. Then reinstall kernel adiutor and settings, set delay to apply to 1 min, so that if you screw something, you have time to revert. Remember, don't reduce voltage on default settings...

Anyway, I am going to post kernel without overclocking later today.
[Xperia Z1 Original Android Development] benplay64:
I know that there are security risks but i really neaded a working rom. But when you will post your kernel without overclock, i will switch to J rom. But can i only replace the boot.img in the zip file and flash the rom normally?
[Xperia Z1 Original Android Development] optimumpro:
Yes, you can, but if you are on Windows, you must unzip the rom, replace boot.img and zip again...
[Xperia Z1 Original Android Development] optimumpro:
Kernel with no overclock. Unzip and flash in fastboot: http://xdaforums.com/devdb/project/dl/?id=20848
[Xperia Z1 Original Android Development] Michael4407:
Clean flashed October update, everything is nice and smooth. The only problem i'm facing is that Layers keeps crashing when i try to install theme from .zip, and installing themes downloaded from Playstore doesn't change the appearance at all, even after multiple reboots.

Another minor bug is that when i plug in a headphone (just headphone, no microphone), Google voice search opens every 5 seconds and Music starts playing, and the phone's microphone doesn't work (my guess is that android is mistaking my headphone for a headset). Real headsets work just fine.
[Xperia Z1 Original Android Development] optimumpro:
Read how to use/setup layers with layer's manager. It works for everybody else. Don't use substratum themes - they won't work with layer's manager. Also, use real headset...
[Xperia Z1 Original Android Development] Pulsa:
[MENTION=5075064]optimumpro[/MENTION] I'm using stock gapps (opengapps) and google app always crashing everytime i activate voice search. I've already clear data and cache, but it's still crashing. Am i using a wrong gapps or what? Because i've never experienced this type of crashing since 2013.

Ps: Haven't tried clear dalvik cache though, but i will try it when i have time.

Edit: i was using august build and there was no problem with google voice search.
[Xperia Z1 Original Android Development] optimumpro:
Please read a few posts ago on a suitable Gapps package that users say works perfectly. Also, don't forget to give internet access to Gapps and Google Services Framework in Afwall...
[Xperia Z1 Original Android Development] benplay64:
Hey [MENTION=5075064]optimumpro[/MENTION] i've found why my phone had bootloops sometimes, it is caused by overheating. Whyle playing a game and listening music, my phone rebooted this morning and did it again a few minutes ago. I don;t know if you really need logs so tell me if.. Because i don't really like making my phone overheating ( ithink you can understand it).
[Xperia Z1 Original Android Development] optimumpro:
Jaguar is one of a few custom roms that don't cause overheating. But considering that users have control of kernel settings via KernelAdiutor, they can overheat any device: just turn off heat control, hotplug, set CPU to the highest on performance governor, give it a load and you will have 80 degrees in 20 seconds.

Don't experiment with kernel default values, unless you know what you are doing and 99.5% including developers don't know.

Untick all apply on boot settings and reboot to load default values. Don't disable hotplugs, especially when using performance governor. Don't mess with governor's tweaking. In thermal, enable intellithermal, untick core control and vdd restriction; set frequency throttle temp to 66 and cpu throttle temperature to 70 and you won't have any overheating. If you still have problems, stick to stock...