yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] [GER]Roxxor:
Hi!

So concerning the talk on the AOSP Nougat thread I now gave up on Sony AOSP. So the only chance for me to get an updated System is to change to Lollipop. Sadly your ROM is for my taste a bit over the top in terms of security. I really like Cyanogenmod 12.1, which is also still updated (at least the common things for all devices). But I guess there are also device specific security issues, which are not fixed by any maintainer for amami anymore. What is your stance on CM 12.1?
[Xperia Z1 Compact Original Android Development] optimumpro:
I guess CM 12.1 is somewhat OK, but one thing is for sure: they have not updated 12.1 kernel since February 9, 2016 and there have been literally hundreds of security commits both in Code Aurora and Google Security Bulletin since then...
[Xperia Z1 Compact Original Android Development] Freeman85:
Hello,

Very nice ROM. I like minimal app set. A lot of options to configure. Great speed and performance. But I have problem with recovery. While booting I'm pressing vol up or down then led turns yellow after that screen turns black and boot process starting from the beginning. What am I doing wrong?
[Xperia Z1 Compact Original Android Development] ShadowLightz:
I had the same problem... In the download section you'll find a recovery for this rom. Just download and flash with fastboot, it should work then.

To the rom... I guess I finally arrived. Very fast and good battery life. Some small requests though: Would it be possible to implement the double tap to switch to last app from nougat? And at least for me the automatic live display is not working. Would be great if you investigate into this!

Keep up your good work!
[Xperia Z1 Compact Original Android Development] optimumpro:
Live display works when you switch to day or night. Automatic has to do with time. So, if you are not setup to get time automatically from your carrier, you may have problems...

Double tap to switch: if you can point me to a google commit, I will try to implement it, but based on my experience, Google doesn't provide changes between versions: it just publishes the code...
[Xperia Z1 Compact Original Android Development] Ænimal:
FYI:

https://github.com/ukanth/afwall/releases
[Xperia Z1 Compact Original Android Development] optimumpro:
The version that I build is beta, so, it has more features than the stable release, which was updated just a few days ago. Before that there was no activity on stable branch since March 2016. What you can do is delete my version and install the one from github, f-droid or googleplay...

By the way, here is a screen shot from the coming release showing available ram at 1305MB.
[Xperia Z1 Compact Original Android Development] arjun5463:
I cannot detect any sim card in the phone after flashing the rom no 3g no 4g even after resotoring my nadroid sim cards are not detected.

My imei and baseband are shown as unknown?any help
[Xperia Z1 Compact Original Android Development] optimumpro:
Did you read the warning that due to Volte implementation, you need to flash stock baseband to have signal? What rom did you come from? I don't think anyone else has this problem. If you have never had stock LP 5.1.1, you need to flash and boot pure stock LP once. Then you can install recovery via fastboot and flash the rom...
[Xperia Z1 Compact Original Android Development] optimumpro:
New Build

Rom updated. See post #3 for download and description.
[Xperia Z1 Compact Original Android Development] arjun5463:
How can i unlock all lte bands?
[Xperia Z1 Compact Original Android Development] levone1:
Sorry if I'm missing something, I think I've searched the thread pretty well - I can't get mobile data working. I have Afwall set to 'any app', WiFi works fine, and I've quadruple-checked my APN settings to be the exact same as I use on all other ROMs. I feel like I read something about flashing stock baseband, but now I can't find it.

Edit- just found the baseband post a few posts back. However, my settings are not showing any errors in imei or baseband info...
[Xperia Z1 Compact Original Android Development] optimumpro:
Baseband has to do with having 2g and 3g signal and if you have them, you don't need to flash baseband. Your problem may be easy to fix: try to click data toggle in quicksettings: one click-data on, another click-data off...
[Xperia Z1 Compact Original Android Development] levone1:
OK, I'll check it out. I did make sure it was on, but haven't switched it back and forth...
[Xperia Z1 Compact Original Android Development] levone1:
Still nothing... Anyone else? Clean install newest build...
[Xperia Z1 Compact Original Android Development] pokepokepoke:
With a Root file manager go to /system/etc .Temporarily move the "crashdod.sh" file to sdcard and reboot.If that fixes the problem then its your afwall not applying iptables correctly
[Xperia Z1 Compact Original Android Development] levone1:
Fixed it. Thanks. Can I just roll without that file, or should I uninstall/reinstall Afwall...?
[Xperia Z1 Compact Original Android Development] pokepokepoke:
If you remove that file your device will ping some "interesting" servers as [MENTION=5075064]optimumpro[/MENTION] said including DoD,if you are ok with that then you can roll without that file

Else install afwall go to preferences-binaries tick builtin for busybox and iptables select enable dns via netd

In preferences-user interface untick lan control and tick active rules and persistent notification(this will prevent afwall from being killed from ram)
[Xperia Z1 Compact Original Android Development] levone1:
Great, thanks. I'll give it a go.

---------- Post added at 01:09 PM ---------- Previous post was at 01:07 PM ----------

@optimumpro - I was going to deodex, and found tar.gz files in odex folders. My deodexer doesn't see them. ROM is odex, right?
[Xperia Z1 Compact Original Android Development] optimumpro:
It is odex. Whomever 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 Compact Original Android Development] pokepokepoke:
delete
[Xperia Z1 Compact Original Android Development] arjun5463:
There is no modem option in ftf file only 3 files name amm fsg . Is it same as the baseband which one to flash
[Xperia Z1 Compact Original Android Development] optimumpro:
First, if you have 2g and 3g signal, then you don't need to flash anything. Second, in stock ftf, it is called baseband, not modems. So, you are supposed to untick everything in the top square and exclude everything, but baseband in the second.
[Xperia Z1 Compact Original Android Development] arjun5463:
No there is no option called baseband
[Xperia Z1 Compact Original Android Development] optimumpro:
Where it says exclude (on the right), scroll down and you will see baseband. In that exclude category, tick everything, but baseband and you are all set. If you there is no baseband, then these are 3 ams files...

Edit: if there is no baseband option, you may have the latest flash tool, which might not let you flash baseband only. I use Flashtool v. 0.9.18.4 and it shows baseband and allows you to flash things separately...
[Xperia Z1 Compact Original Android Development] pokepokepoke:
Latest Flashtool doesn't have any option named baseband he needs to file those 3 files instead that works.
[Xperia Z1 Compact Original Android Development] arjun5463:
Thankuu soo much guys

It worked using old version
[Xperia Z1 Compact Original Android Development] Gonfebo:
Oc to 2,8ghz seems to do nothing in z1c :/

Any chance for xposed?
[Xperia Z1 Compact Original Android Development] pokepokepoke:
Some cpu pvs cannot be oc'ed to 2.8 and gpu to 600.

For xposed use September build with new kernel :)
[Xperia Z1 Compact Original Android Development] arjun5463:
Anyone got volte working with this rom?>

using jio 4g sim :\
[Xperia Z1 Compact Original Android Development] levone1:
[MENTION=5075064]optimumpro[/MENTION] - curious about something... I deodexed latest build, since no Xposed, and I wanted to mod system ui. But when I try to flash all 3 folders, I get bootloop. However, I can replace all of the apps individually and it works fine. Right now I'm using deodexed systemui apk, framework-res apk, latinime apk, framework jar, services jar, and ime jar. I replace each one in f8le explorer and reboot, and everything's fine, but if I replace all 3 folders at once, I can't get it to boot, even with data wipe, etc. Any ideas?
[Xperia Z1 Compact Original Android Development] andreimindru96:
So the 2.8 ghz overclock is not available on all z1 compacts? I've never had a kernel that let me oc more than 2,4 ghz cpu and 533 gpu. If this kernel raises the bar it would be awesome.
[Xperia Z1 Compact Original Android Development] andreimindru96:
I also wanted to ask if there is any chance for Xposed on the latest build and if someone could recommend me a Gapps package. I need google just for Contacts Sync and google play.
[Xperia Z1 Compact Original Android Development] arjun5463:
Havent tries xposed with this rom

Insall pico package from open gapps for your needs
[Xperia Z1 Compact Original Android Development] optimumpro:
Xposed no longer works unfortunately and I can't find a specific commit that causes this. Regarding Gapps, see this: http://xdaforums.com/showpost.php?p=69026937&postcount=964
[Xperia Z1 Compact Original Android Development] optimumpro:
Can you tell me what is it you want to modify in SystemUI. And by the way, after deodexing, you have to re-sign the entire rom, otherwise, it wouldn't boot. Framework-res.apk would never boot if signatures are different...
[Xperia Z1 Compact Original Android Development] levone1:
OK. Usually deodexer apps will do it, I think. I've used Lordroid to deodex AOSP several times, and works fine. This time Lordroid didn't work, I think bc of gz files, so I used this - http://xdaforums.com/android/software-hacking/mod-lollipop-t3339340. Everything deodex OK, and I can move apps individually without any signing, and no problem, but if I move them all at once, no boot.

I'm not necessarily trying to do any specific thing, but typically I would use Xposed and install Gravity Box, Android N-ify, etc., for various ui tweaks, so I was going to mess around...

BTW, I did decompile systemui, and made some mods, but don't know much. For example, I got apktool error about missing resources, so I just deleted the problem lines, then recompile was OK, but system ui didn't start at boot.
[Xperia Z1 Compact Original Android Development] optimumpro:
Xposed works with odex roms, so, you don't need to deodex to use xposed. It worked fine in September release, which was odex. Some change in framework (taken from Android gerrit) broke Xposed and I can't find that commit (there were a few hundreds). But generally, Xposed is an exploit, i.e., it exposes android internals to third party apps and while you can use a few good modules, some bad apps can get into internals too..
[Xperia Z1 Compact Original Android Development] andreimindru96:
Does the 2.8 ghz OC make any difference on z1 compact?
[Xperia Z1 Compact Original Android Development] levone1:
I'm not trying to use Xposed. I'm accepting that it won't work, and attempting to manually create some of the same effects by modding apks, which need deodex to do.
[Xperia Z1 Compact Original Android Development] levone1:
Got a few things figured out...
[Xperia Z1 Compact Original Android Development] yjosipy:
Hi,i have infinate ussd code running has anyone some workaround or a fix?
[Xperia Z1 Compact Original Android Development] pokepokepoke:
This is true for both Z1 and Z1C .You cannot go above 2,4 533 in this kernel too
[Xperia Z1 Compact Original Android Development] jho55:
Hi optimuspro,

I really like your idea of using the latest Lollipop and add all the new security patches and other stuff. Now that my Kitkat is getting slower and slower I want to switch or at least test your rom. But I got stuck at the very beginning:

Where can I download your twrp version? In the first post under point 8 you said it is included in your rom. But I cannot find it. Or should I use another version? Like this one: http://xdaforums.com/sony-xperia-z1-compact/general/fota-twrp-3-0-0-0-amami-t3310794

Under the Downloads section I cannot find it either.

Thanks for your help.
[Xperia Z1 Compact Original Android Development] Doktarr:
downloads tab http://xdaforums.com/devdb/project/dl/?id=19939
[Xperia Z1 Compact Original Android Development] jho55:
Thanks a lot. I was so concentrated on the term twrp that I overlooked the revocery.img. I was not sure if it was exactly the one I need but everything works now. :)
[Xperia Z1 Compact Original Android Development] levone1:
Deodexed latest if anyone wants.

https://mega.nz/#!wkdH3AzA!muZZz_0x5YRQuXgi2tyn3_sC1cZHpMYWPg7jZW3vDbo
[Xperia Z1 Compact Original Android Development] jho55:
Does anyone know how the battery consumption is between Jaguar and Stamina Mode?
[Xperia Z1 Compact Original Android Development] andreimindru96:
Have any1 tinkered with the kernel settings?(OC/UV/VM etc.) I am trying to achieve some good performance with really low battery consumption and heat. I've uv by 40mV globally, Using msmhotplug on def settings with Smartassh3 clocked at 2.2ghz and HEBF optimizer with all of its magic. Doing pretty well so far in achieving 2 days battery life(moderate use), but I just changed battery a few days ago. If anyone is interested in all the tweaks I do in KA I am happy to share my profiles. It would be great if you could share some of your tips with me in order to build the perfect kernel settings for our phone.
[Xperia Z1 Compact Original Android Development] templeka:
Could you share the profile please?
[Xperia Z1 Compact Original Android Development] andreimindru96:
Nothing special so far but here it is:

https://drive.google.com/open?id=0B---F_soJAeveWh2a21xaEtCWjQ
[Xperia Z1 Compact Original Android Development] jho55:
I have a weird problem. My time and date is not remembered after rebooting. Does anybody has an idea what it could be?
[Xperia Z1 Compact Original Android Development] levone1:
Don't think it's anything to do with ROM. Sim card, mobile data settings, (APN, etc), something like that...
[Xperia Z1 Compact Original Android Development] Ænimal:
#12 from OP..
[Xperia Z1 Compact Original Android Development] jho55:
Ok, i have read it before but maybe i have not umderstood it correctly. I thought that if time was set it would remember at least the time at reboot. Now Ieave mobile date to on. Thanks for your help.
[Xperia Z1 Compact Original Android Development] levone1:
If I understand correctly, after you power on, the time will pick up where it left off when you powered off, unless you have a network connection. If you want, you can reconnect for a second to let the time update, then disconnect again.
[Xperia Z1 Compact Original Android Development] jho55:
After every reboot my time is set back to 1971!

Now I need to be online to auto change my date to today by my provider. If I am online via wifi I use a time sync app.
[Xperia Z1 Compact Original Android Development] andreimindru96:
How can I enable fast charging in this kernel? I can't by kernel adiutor...
[Xperia Z1 Compact Original Android Development] levone1:
Modded my Jaguar with some dark/semitransparent system apps, and modded notification/qs dimensions, deodexed, if anyone wants... (Screenshots are with no theme or layer applied)

https://mega.nz/#!Rg8HDaCL!7U7B4mxl4c7ZV-exkE-E12psDsOYzZPgkkV9bW5rnF0

Note that you might get dark-on-dark or light-on-light text on some 3rd-party apps, since app will use light theme probably by default, but will call on system framework sometimes for BG/text. Can be fixed by modding app apk, or setting dark theme, if able. Also, I could not figure out how to get dark BG on download app, but file entries are dark.
[Xperia Z1 Compact Original Android Development] jho55:
Here is an interesting link about CPU governors etc. A must read I would say:

http://xdaforums.com/general/general/ref-to-date-guide-cpu-governors-o-t3048957

I will also try to find a good way to lower the battery drain. Another point to start is to find all the wakelocks first.

In Kernel Adiutor I set the CPU frequency to 300 Mhz when display is off. I will also try to lower the mV globally.

---------- Post added at 02:48 PM ---------- Previous post was at 02:45 PM ----------

Something that bothers me is the "Adaptive Brightness" of the display. If it is on, it is really sensitive. E.g. I am sitting at a desk and the light is not changing. When the display adjusts the brightness suddenly. At the moment I have disabled it.

By the way an awesome rom experience so far. :) I am using the Sony Xperia Home Launcher together with an Xperia Icon Pack. As a camera I use Open camera (Sadly there is no higher resolution for images in 16:9 than 4k, but it is not really disturbing). I installed also the Sony Keyboard app.
[Xperia Z1 Compact Original Android Development] optimumpro:
If the display adjusts brightness suddenly, that means the changing of light condition. If there is a window and sunlight/clouds/wind/trees, the light conditions will change without you noticing it.

The battery drain is not caused by the rom, but rather by a rogue app. Get a battery monitor and you will find out.
[Xperia Z1 Compact Original Android Development] optimumpro:
Fast charging does not work on rhine devices and generally, fast charging reduces battery life...
[Xperia Z1 Compact Original Android Development] andreimindru96:
Thanks for the info

---------- Post added at 09:42 PM ---------- Previous post was at 09:35 PM ----------

I am still trying to figure out the best settings, I've made some incredible progress, and for the adaptive display thing I managed to install assertive display mod and it makes a real difference, at least for me. I don't know why but after I installed the mod I didn't notice any sudden change in brightness.

So far I found the best balanced gov+sched pair to be smartassh3+noop and I undervolted the phone with 55 mv and is still stable.
[Xperia Z1 Compact Original Android Development] jho55:
I will also try your settings. Which file do you used for assertive display? I found several but I am not sure which one to take.
[Xperia Z1 Compact Original Android Development] andreimindru96:
http://xdaforums.com/nexus-6/general/battery-tweaks-t3210546 This is the assertive display.

ATM I have a nasty bug with charging. Battery charging slow sometimes and sometimes it stops charging at weird percentages ,even the LED goes off. I've tried different chargers but the same result. It seems to be charging nicely on USB 3.0 . But if the computer goes to sleep it stops charging which is really wierd. it must detect the pc as an active connection or it simply doesn't charge. If someone knows why please help me out. I'll buy thsese days an S7 edge as it is so cheap now, like half the price, but I want to leave this phone in the best shape possible without any bugs as I will leave it to a relative who doesn't have any experience in Android. This ROM is fairly intuitive and the fastest one I encountered so far, it leaves the Sony Stock ROM crying with its blazing speed. [MENTION=5075064]optimumpro[/MENTION] Please help me out the charging bug.
[Xperia Z1 Compact Original Android Development] optimumpro:
There is no charging bug in Jaguar. You either have a bad cable, dying battery (most likely) or loose usb socket. Do this to test the battery: when it shows 40%, play any youtube video and see how long it would last. I bet your phone is going to shut down in less than 20 minutes. Also, you absolutely need an OEM cable: better Sony, but you can also use LG or Samsung original cables. Cheap Chinese cables are not properly shielded or even wired, which results in current reduction from 1.5A to 500ma. Z1 is known for bad batteries. My original battery died in May 2015 (the phone was made in August 2013): that's 1 year and 9 months. The replacement battery lasted until October 2016: 1 year and 5 months. An old Xperia ION (2012 phone) still has a healthy original battery. An old LG P769, also 2012 phone, still has a good OEM battery. Keep in mind that a dying battery is also responsible for overheating....
[Xperia Z1 Compact Original Android Development] andreimindru96:
I just replaced both my battery and USB port and they are working like a charm. It doesn't do that with all chargers and I use the original Sony cable. I tested it with some lower amperage chargers and it works pretty well, as well with a 2. 1 Amps external battery and it works well there too.

---------- Post added at 09:09 PM ---------- Previous post was at 09:07 PM ----------

And BTW the battery life goes easily to 3 days of medium usage with all the tweaks I made to the phone
[Xperia Z1 Compact Original Android Development] jho55:
I am quite happy now with the settings I use. I think I can get 3 days with these settings:

smartassh3+noop (I will read a little bit more in my link above about all the options)

undervolt at 50 mV

CPU clock when display is off: 300 Mhz

maximum CPU clock: 1497

assertive display ( seems to work better for me)

I am not playing games on my phone and so I set the maximum cpu clock to 1497. I do not see any slow downs at the moment.

No wakelocks detected also so far.
[Xperia Z1 Compact Original Android Development] optimumpro:
"But if the computer goes to sleep it stops charging which is really wierd"

Maybe your computer cuts the current to usb socket when it sleeps...
[Xperia Z1 Compact Original Android Development] levone1:
Modded framework jar if anyone wants. Signature spoofing enabled. Useful for using MicroG and blank Play Store on a 'no Gapps' ROM, (and some other stuff). Usually can do it with Xposed, but no Xposed on latest Jaguar...
[Xperia Z1 Compact Original Android Development] jho55:
Sounds like energy saving mode enabled on usb. Try device manager and go to the USB entries. There you can disable the power saving functions.
[Xperia Z1 Compact Original Android Development] jho55:
I am asked for updating to the newest SuperSu. But I already have 2.78. Do you get the same notification?
[Xperia Z1 Compact Original Android Development] optimumpro:
New Build

Rom updated. See post #3 for download and description...
[Xperia Z1 Compact Original Android Development] jho55:
Thanks a lot. That was quite fast. :)
[Xperia Z1 Compact Original Android Development] Ænimal:
Just hit the thanks button, dude;)
[Xperia Z1 Compact Original Android Development] jho55:
Now I did. ;)

I did a dirty flash to keep my settings. Seems all ok so far. Of course I flashed opengapps (i use pico) and assertive display mod again.

I removed SuperSu. Root access is now included in the app user right. Really nice. :)
[Xperia Z1 Compact Original Android Development] andreimindru96:
I found the problem. It seems that I needed to calibrate my battery. After letting my phone die completely it fully charged in 1 hour and 30 mins. I get 4-4 30 hours of sot which is awesome. The November update also seems to have corrected the kernel problems I encountered(while ocing and uving) . The new root management system is awesome!Almost everything is perfect in this ROM. The only thing I miss from stock is the camera quality. Thanks alot! :good:
[Xperia Z1 Compact Original Android Development] andreimindru96:
I have an urgent problem, I didn't notice it so far Cuze I was on my wireless connection home, but my Sim Internet doesn't work! I really need to fix it ASAP. This happened after I upgraded to the Nov update. It worked well on the Oct update.
[Xperia Z1 Compact Original Android Development] jho55:
My Sim Internet is working. I am coming from October Update and using November now (dirty flash without wipe).
[Xperia Z1 Compact Original Android Development] andreimindru96:
Update: Everything is working now. I fixed the bug. I don't know how but I did it.
[Xperia Z1 Compact Original Android Development] jho55:
Do you mean that we should enable IntelliPlug developed by faux123? Or which one would you recommend?

Thanks in advance.