yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] firestone9x:
I was quite frustrated with my phone and was close to replacing it but the latest update 'aicp_amami_o-13.1-WEEKLY-20181107.zip' is the best ROM till date.

GPS 3D fix is almost instant, 3s to get a fix when I'm indoors!

And I find the phone less laggy compared to previous builds...

Thanks to all those involved in developing this ROM!

PS. It would be amazing if we can port the Google pixel camera to this ROM and also fix the android memory management issues (apps reloading)
[Xperia Z1 Compact Original Android Development] kowalskie:
Hi. I installed this rom as a clean install last night. It runs smooth. But I figured out, that the encryption possibility does not work. I 've set a Display-password, charged the accu to 100 % and plugged in the charger. The phone rebooted to the home screen. What went wrong?

Regards
[Xperia Z1 Compact Original Android Development] 1alien1:
seems like GPS works perfectly for firestone9x, whereas i cannot get any gps fix whatsoever anymore. while i got a single fix after several minutes with the older weeklies (and no real time gps tracking), i now cannot get a location anymore. im updating via ota update. i really want to avoid having to make a clean install again, after days of installing apps and configuring everything.

any suggestions? everything else works perfectly for me (one minor thing is that the emoticon drawer for the app threema, is very laggy in comparison with whatsapp).
[Xperia Z1 Compact Original Android Development] underflash:
Updated via OTA to the latest weekly. Camera quality is below average and should be top priority. GPS fix is painfully slow, around 3 minutes. I can wait 2-3 minutes, no problem, but accuracy is terrible (+20m). This indicates very low SNR, never above 30. Tested in a clear sky without any obstacles around. Previous build GPS accuracy was much better.
[Xperia Z1 Compact Original Android Development] firestone9x:
Not sure why that's happening. But do you have any system root apps installed that could be causing these issues?

Maybe xposed, gravity box, etc

---------- Post added at 10:21 ---------- Previous post was at 10:18 ----------

I used to have a lot of problems with GPS. It's weird that this version fixed my issue.

Have you tried clearing out your cache and dalvik before flashing the ROM.

Also, I recommend installing 'Global Optimized GPS File Replacer' from Magisk.

---------- Post added at 10:28 ---------- Previous post was at 10:21 ----------

I haven't done a camera comparison with the stock ROM. Not sure which is better which is why I was asking for a 'Google camera port'. We can get all the cool features from google!

Like I mentioned earlier, my GPS issue got fixed with this ROM. Just try the steps I mentioned in my previous post. It might resolve your issue.

Also do note that after some of the weekly ROM flashes, the OS is very slow and RAM usage is high with no apps opened. My solution is to flash the last non-weekly update after clearing the cache and dalvik.

Then load the system and restart again to the bootloader. Flash the latest ROM without clearing the cache and dalvik.
[Xperia Z1 Compact Original Android Development] kowalskie:
No , I just activated root for ADB in the developer settings.
[Xperia Z1 Compact Original Android Development] Mr_nUUb:
This ROM is amazing! I didn't update since the second weekly release.

Updated straight to 20181107 without clearing cache and I got a GPS 3D fix in 5 seconds!

I didn't install the 'Global Optimized GPS File Replacer' from Magisk or other apps to fix GPS.

Accuracy inside my office: 6-11m!

I never got a fix with this ROM before.

Amazing! Great job!
[Xperia Z1 Compact Original Android Development] lm089:
For me GPS performance varies a lot, even within the same build: some days it's seconds until a fix, other days it takes a minute or even two. That's from exactly the same spot in front of the house where I live.

Installed 'Global Optimized GPS File Replacer' from Magisk last night; will test on the weekend.

One off-topic question in regards to that plugin: from what I understand it works by replacing the original gps.conf file with an optimized version. If that is the case: do I have to re-install after each ROM update?

Update:

just found the 'Global Optimized GPS File Replacer' thread where most questions are answered (>> answer is YES: I obviously have to replace that file everytime I falsh an update)...
[Xperia Z1 Compact Original Android Development] underflash:
Added 'Global Optimized GPS File Replacer'. First fix time 2 min 45 sec, accuracy around 10 meters without any obstacles. It doesn't look any better.
[Xperia Z1 Compact Original Android Development] lm089:
I'm not too sure myself right now; will observe it for a while. On the other hand this "plugin" obviously only replaces a single .prop file so I don't see any harm in using this either.

====

There's another observation I made these days:

in the battery optimization settings I set some GPS related apps (oruxmaps, osmand and GPS Locker) to "not optimized".

Now every time I reboot these settings are lost, i.e. those 3 apps are reset to "optimized"

Is anybody else observing this? And why is this so? I would perfectly understand if this happened after flashing an update. But at reboot? Is there something to observe to prevent this?
[Xperia Z1 Compact Original Android Development] underflash:
Set 'not optimized' to Maps.ME, GMaps, GPS Test Plus and GPS Locker. After reboot all remained 'not optimized'.
[Xperia Z1 Compact Original Android Development] lm089:
Thanks for testing. Just tried again myself, same behaviour as before, at least with oruxmaps and osmand; GPS Locker stays 'not optimized'. Strange
[Xperia Z1 Compact Original Android Development] steigerth:
I have also problems with starting Android Auto. It does not start. The following error appears: "Something Went Wrong - Google Play Services doesn't seem to be working right now". I tried different google play service versions and also different Android Auto versions but none of them solved the problem. Is there a change that it will work in the future. How could I assist the develop team?
[Xperia Z1 Compact Original Android Development] lm089:
Do you by any chance have a sdcard formatted as 'adoptable storage'? I think that this is the root of at least some of my phone's 'problems'. Which is still weird because I never had that with any Nougat based LineageOS ROMs. Could it be that this ROM has problems with the encrypted partition of my sd?
[Xperia Z1 Compact Original Android Development] 115ek:
That's a problem caused by localized Gapps. It may be that your Gapps were released for a country where Android Auto isn't available. Just try an older gapps package, maybe one from september. It'll update itself.
[Xperia Z1 Compact Original Android Development] steigerth:
I downloaded the pico version of first september. I installed it with TWRP. I installed only the gapps package and not the aicp rom. But it does still not work. Do I have to reinstall the whole AICP rom with gapps and clear all data?
[Xperia Z1 Compact Original Android Development] underflash:
Currently using this ROM without SD card.
[Xperia Z1 Compact Original Android Development] steigerth:
OK, it works now. I had to downgrade google play services. If followed the following guide: https://www.reddit.com/r/PokemonGoS...ndroid_how_to_downgrade_google_play_services/

Thanks for the help!
[Xperia Z1 Compact Original Android Development] 115ek:
You need to wipe /data for sure to get rid of the old gapps. Maybe /system should also be wiped. Gapps are really aggressive in terms of modifying the system. And if you already wiped /data (factory reset) wiping /system shouldn't hurt. All the important personal things (apps, wifi keys, settings) are inside /data.
[Xperia Z1 Compact Original Android Development] firestone9x:
I can confirm that after reboot apps stored on an 'adoptable storage' are reset to optimized. I tested this by moving those apps to the internal storage and their settings are not affected by the reboot.
[Xperia Z1 Compact Original Android Development] lm089:
So finally I gave up on using part of my sd as adoptable storage. And since then everything seems to run very well, this ROM after all is nearly perfect for daily useage.

Only things with room for improvement i.m.o. is

- battery useage (even not using the phone drains the battery in less than 2 days; 6 weeks ago and using a Nougat ROM I had well over 3 days),

- GPS performance (sometimes I get a fix in 5 seconds, other times - at the same spot - it can be 3 minutes),

- and proper "adoptable storage" support (where I have the feeling that this is more like Google's fault).

But for a phone that age we possibly cannot expect much more.

Once more many thanks to [MENTION=6425591]SpiritCroc[/MENTION] and everyone else involved! :good:
[Xperia Z1 Compact Original Android Development] underflash:
Maybe you can try Universal GMS Doze from Magisk repo, thought I have no idea if it helps. GPS performance is the same on my end. Sometimes painfully slow, 2-3 minutes, sometimes it is better, up to 1 minute. The only strange and random "bug" I get are missing status and navigation bars. It seem as they are heavily "optimized" and do not instantly wake up. Screen on/off solves this problem.
[Xperia Z1 Compact Original Android Development] lm089:
Thanks for hinting; I'm currently running Syconfig_Patcher through Magisk; from the descriptions it seems to do similar things as GMS Doze, but I could give it a try

Lucky me I don't have that status and nav bar flaw.
[Xperia Z1 Compact Original Android Development] underflash:
I thought it is some kind LSpeed optimisation, but got the same after removed LSpeed. One more "bug" I can't figure out is random lock symbol with "long press power button to unlock..." (or something similar) then I try power on screen after longer no use periods. It looks like some AICP extra...

Overall this is really good and stable ROM. Many thanks [MENTION=6425591]SpiritCroc[/MENTION]!
[Xperia Z1 Compact Original Android Development] volkbaad:
Hi all,

after several trials upgrade from 5.1.1. stock ROM to Oreo worked for me, too. I'd like to underline the advice quoted; if you have OS with Google Play installed and don't wipe everything it ends up in a mess with old files. Between flashing Oreo and GApps I rebooted into Oreo and back into TWRP. And I used GApps "micro"; some apps in "super" and "mini" which I tried before were unfunctional and if included in the package you cannot uninstall and manually reinstall them.

And then everything was fine. :good: No need to go back to older version of GApps as reported a few numbers above.

Big thanks to all developers!

V.
[Xperia Z1 Compact Original Android Development] underflash:
I was wondering does it make any sense to update with every weekly OTA?
[Xperia Z1 Compact Original Android Development] jho55:
If everything is working fine for you, you can wait until the next security update.
[Xperia Z1 Compact Original Android Development] paroucia:
Hi

I flashed 13.1 and 14 aicp ROM and in both ROMs I have same problem: rear camera won't focus!

I updated to last versions but the problem is there yet! I installed different camera apps but they have same problem!

What should I do? What do you think of it? :(
[Xperia Z1 Compact Original Android Development] zlata:
The most common mistake is not to wipe EVERYTHING. Did u wipe /data ? Some users flash 5.1.1 stock before oreo or pie .
[Xperia Z1 Compact Original Android Development] paroucia:
Finally i understood it's a problem that doesn't belong to ROM's! it was something wierd and with some slap and hit on rear camera. Surprisingly it worked! :o:D
[Xperia Z1 Compact Original Android Development] derjango:
I flashed the rom yesterday, I'm totally happy with my decision, thank you so much for your work!!

And as a small contribution to the development I'd like to share a minor bug to the developer team:

gesture control seems not to work on the locked screen, when I tap "unlock" with pattern it's not possible to go "back" by gesture to the regular locked screen. I just press the power button to lock the screen. As mentioned before, it's just a minor thing, but I wanted to share it here.

best, dj
[Xperia Z1 Compact Original Android Development] android666:
dear users. could you please help with Netguard firewall ? it does not work as expected after upgrade from 7.2.1 to this nice image. ip communication works only when it's off. thank you
[Xperia Z1 Compact Original Android Development] underflash:
Open Camera does not hold focus for macro, impossible to take readable picture of any page with printed text. Manually focused text is seen in preview for about 1 sec and then back to blur.
[Xperia Z1 Compact Original Android Development] android666:
hello . any idea how to disable mobile data after restart ? I always keep mobile data off, but after restart it goes up. I did not find any option where i would change it (yet)...
[Xperia Z1 Compact Original Android Development] lm089:
for me mobile data stays off after reboot
[Xperia Z1 Compact Original Android Development] android666:
last ota update

last ota update fixed this issue. thanks!
[Xperia Z1 Compact Original Android Development] derjango:
Another minor "bug" for the case of a locked screen and disabled statusbar (enlarge screen): When I try to unlock the locked device with pattern the statusbar appears behind the semi-transparent lock-screen.

best, dj
[Xperia Z1 Compact Original Android Development] derjango:
Again two maybe more impacting bug observed since OTA Update on 04.12.2018:

1) Gesture Control, back functionality does not work properly after booting up the system (Swipe up on left or right screen side). It can be fixed or kind of initialized by activation of navigation bar (=deactivation of gesture control) and then reactivation of gesture control - then it works properly. Seems to be an init thing.

2) starting the service menu fails *#*#7378423#*#*

best, dj

btw, is this the right place for bugreports? [MENTION=6425591]SpiritCroc[/MENTION]
[Xperia Z1 Compact Original Android Development] SpiritCroc:
Basically yes, at least as long as it concerns device-specific issues (that is: concerning sony z1 compact).

Unfortunately, I don't have much time to hunt down all bugs mentioned here, so can never promise anything.

For issues that are likely to affect more devices like the gesture initialisation, you might have better changes if you post in our Google+ community since there are more developers to read it (read the community rules before posting for better results). I don't know what we will do when G+ gets closed.
[Xperia Z1 Compact Original Android Development] lm089:
Can confirm. Question is: is this supposed to work in custom roms (honestly I never tried since I moved away from stock)?

Just installed "service menu for Xperia" app from playstore. It tells me:

"unable to find the service menu apk on this device

Possible explanations are:

1. You are running a custom rom

2...."
[Xperia Z1 Compact Original Android Development] android666:
when I set alarm ring level to minimum and alarm going to wake-up, alarm-level change always back to maximum. I'm not sure what else should I change... NetGuard still does not work (even after last OTA updt)
[Xperia Z1 Compact Original Android Development] android666:
LTE - mobile intarnet + Hotspot + voice (GSM) call -> mobile LTE change icon to E(edge), voice call continue, but internet over Hotspot stop working during call. After voice call end, internet over hotspot (LTE) works again. in 7.2.1 LineageOS (from munjeni) it worked without problem
[Xperia Z1 Compact Original Android Development] underflash:
Experiencing heavy lagging. Sometimes phone just freezes for minute or so. Sometimes UI crashes. Any ideas what to do?
[Xperia Z1 Compact Original Android Development] zlata:
Its normal to change to E. We dont have volte. Dont have idea for hotspot.
[Xperia Z1 Compact Original Android Development] NemesisSVK:
Update from weekly 20181120 to 20181218 broke hidden SSID connect ability.

Latest is unable to connect to hidden SSID, restoring backup of 20181120 connected fine.
[Xperia Z1 Compact Original Android Development] android666:
internet connection interruption for OTA download caused this function inoperable state even after latest update manualy installed (1218)
[Xperia Z1 Compact Original Android Development] skoda9635:
Yeah I also got myself forever stuck like a month ago in that state of downloading, probably also after I lost a connection but it didn't changed even since than. Great to see someone from Slovakia as well :D
[Xperia Z1 Compact Original Android Development] underflash:
Anyone can check how much free RAM has? I have just 60 MB of free RAM.
[Xperia Z1 Compact Original Android Development] Peterthebrecker:
I have around 680 MB when no app is open.
[Xperia Z1 Compact Original Android Development] lm089:
I never saw less than 450 mb since I'm running this ROM. Right now it's ~700 with several apps in the recents list
[Xperia Z1 Compact Original Android Development] underflash:
Oreo 3 hours average memory use shows 661MB as free, but if I check with LSpeed RAM Manager it shows barely 80MB as free with all app closed in recent list. No wonder I get occasional lags. Any solution?
[Xperia Z1 Compact Original Android Development] zlata:
You have some nasty app running in background. Solution:

1. Find the app(s) causing this

2. Wipe and flash again

P.P. I have 700 MB free RAM now.
[Xperia Z1 Compact Original Android Development] lm089:
Interesting, LSpeed's RAM Manager is showing similar VALUES (~50MB) here. Every time I play with LSpeed's settings RAM goes up to somewhere near 500MB. Then I can watch it dropping quickly to values below 100MB.

Following [MENTION=5840901]zlata[/MENTION]'s I put I next started Titanium to freeze/deactivate every app that's not really needed. Then to make sure that no user app is somewhat using precious RAM booted into twrp deleted cache and dalvik/Art cache, then Re-booted into system. Logged in and let the system alone for 5 minutes.

Started LSpeed and - surprise: RAM is down at 50MB.

I'm no way an expert in regards to Android memory management but it wouldn't surprise me if this is perfectly normal behaviour.

Nevertheless, disabling/freezing apps that are only rarely used can never be a bad idea, because over the last few weeks I'm seeing battery usage going up significantly. Now after implementing that app diet consumption appears to be back to normal values
[Xperia Z1 Compact Original Android Development] underflash:
Thanks for testing. So low free RAM values in LSpeed looks like normal. Anyway strange.

Definitely good idea to disable some apps. I just hide rarely used apps with Evie Launcher.
[Xperia Z1 Compact Original Android Development] SpiritCroc:
You have RAM in order to use it, not to keep it completely empty
[Xperia Z1 Compact Original Android Development] vo thai nguyen:
Oreo on Aicp batteries is not as good as Aicp 9.0 test

Why is that so?
[Xperia Z1 Compact Original Android Development] volkbaad:
NFC extended length capability

Hi all,

first of all many thanks to SpiritCroc and the others for their great work. I'm running AICP 13.1 on my Z1C for two months and am delighted; never thought that I might get an up-to-date OS after almost 4 years!

For me, there is only one issue with NFC: original OS KitKat does not support extended length transmission which I need e.g. for German AusweisApp. Lollipop stock ROM on another Z1C, however, can manage this feature; so I don't think it's hardware limited. But AICP 13.1. again does NOT support extended length feature. I've learned by now that this is a known issue with Android and will be addressed in Pie (see here: https://issuetracker.google.com/issues/37005118 ). So I thought about switching to AICP 14 Beta. But after reading the thread mentioned before it seems to me that this won't solve my prob without further adjustments from developers. So I'd like to ask:

- Should I be able to use NFC with extended length feature after changing to AICP 14?

- Or otherwise, can and will anyone take care of this in AICP 13?

Many thanks again
[Xperia Z1 Compact Original Android Development] SpiritCroc:
It looks to me like the common patches mentioned in the issue you linked are already included in Oreo as well for us, so we probably need device specific changes. I haven't found any that would apply to our chip, so if somebody finds any and links me I can try to apply them and provide a build for you to try out whether it works (I don't use NFC much myself).
[Xperia Z1 Compact Original Android Development] meta-tetex:
ISO_DEP_MAX_TRANSCEIVE=0xFEFF !?

Sorry, I have not checked out the source tree, so I cannot check which code to support the extended length feature was actually added. The patches from google that I have found , need a OEM-specific setting of ISO_DEP_MAX_TRANSCEIVE, else the bad default of 261 will be used. One such example setting I have found e.g. in libnfc-brcm.conf (in lineageos for klte: Advertise support for extended length nfc) ISO_DEP_MAX_TRANSCEIVE=0xFEFF. Something like that might as well work for z1c (libnfc-nxp.conf, I guess), but I am not sure. Since this is my second post here, I am not allowed to post full links here.
[Xperia Z1 Compact Original Android Development] SpiritCroc:
I found that one as well, but I don't think we have these configuration files on amami, at least I didn't find any
[Xperia Z1 Compact Original Android Development] volkbaad:
Well, as I mentioned this feature is present in stock rom lollipop. Is there perhaps a way to search for the respective tweak in that rom's (config) files? I presume the developer team has access to the stock rom; otherwise I can copy system files from my son's lollipop z1c and make them accessible.

Sorry if this is all bull****; I'm not very familiar with android/linux.
[Xperia Z1 Compact Original Android Development] SpiritCroc:
If you find any nfc config file, might be interesting indeed, I don't have much time to go to stock ROM.

I don't expect too much from it, since the AOSP changes only apply on more recent Android versions, so chances are that stock ROM does not do this using configuration files available to us/on the device.
[Xperia Z1 Compact Original Android Development] volkbaad:
Ok, I'll have a look and, if lucky, report.
[Xperia Z1 Compact Original Android Development] Giuannino:
Workaround

I do confirm the issue!

Workaround: As the alarm runs, set desired volume with volume buttons (to do so I imagine you should have no actions on such buttons during the alarm).
[Xperia Z1 Compact Original Android Development] meta-tetex:
NFC extended length + custom roms

Several people report unsupported extended length nfc problems when using custom roms. It seems to me that only few devices actually work. A google search for "lineageos personalausweis nfc" revealed two working devices with lineageos: Oneplus One and Galaxy S4 mini.

I think that the typical fix "Make Transceive Length configurable for ISO DEP Technology" which depends on NativeNfcManager.cpp and NativeNfcManager.java does not work for our rom here, because these sources are not really used. At least, this is what I conclude from building the rom on my own. There was no NativeNfcManager.class resp. NativeNfcManager.o generared.

The first step towars a working solution would be to activate this code. At least, this is what I conclude as absolute android newbie. I'd really love to help, but I fear that I have no good idea how.
[Xperia Z1 Compact Original Android Development] Peterthebrecker:
Does anyone know if Google pay (contactless paying using NFC) works?