yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact General] levone1:
I see, (kind of - I don't know much). So any other CM ROM we've tried has only black screen when using other camera apps, unless you tweak build.prop, which disables manual focus capability. I don't think DU is CM-base, so camera is better, (AOSP), but AICP is CM, right? So what would be different than others, (Vanir, RR, AOKP)?
[Xperia Z1 Compact General] ergoen:
Actually, disabling the hw overlays in the developer settings (can probably be done somehow in the build.prop as well) also fixes the black screen in camera apps for AOSP.
[Xperia Z1 Compact General] levone1:
I was just referring to CM. I haven't had black screen issues with AOSP, but I've heard others have. But, AFAIK, no one has yet to get a camera app working on CM MM ROM without build.prop tweak, which disables api2 features.
[Xperia Z1 Compact General] ergoen:
Ah sorry, I thought CM was using essentially the same sources as AOSP, my bad.
[Xperia Z1 Compact General] SpiritCroc:
CM have a device tree that requires a CM-specific structure of the binary files, which differs from the one provided by sony; that's why ROMs that are based on CM often have outdated binaries (speaking for sony devices) while AOSP-based ROMs haven't (actually, CM binaries are created from the ones by sony using a script, but some updates of the structure of the sony binary files breaks the functionality of the script and nobody seems to feel like fixing it (I actually tried, but failed)).

Generally speaking, you can use any (marshmallow) device tree with every (marshmallow) ROM after doing some minor changes to the device tree; so I used the device tree from sony (well, actually the modified one that I took from DU that I took from Omni) that was made for pure AOSP, for building AICP with a more up-to-date device tree and current binaries.

CM doesn't seem to care as much about our device as sony does, there's much more development from sonyxperiadev than from CM for amami/sony devices at the moment.

So the difference of my latest AICP to Vanir and AOKP (all three CM-based if I'm not wrong, not sure about Vanir, haven't tried it for a long time) is not using the official CM device tree but rather one derived from the official sony AOSP one.

Judging from this repo I have the suspicion that Resurrection Remix already did the same thing, using a CM-based ROM with a sony-AOSP-based device tree.

As DU is not CM based, it made more sense to not use the CM device tree if there is a device tree specially for AOSP; so it could benefit from a more active developer team and of course the latest binaries from sony since the first release.
[Xperia Z1 Compact General] levone1:
I'll double check latest RR - I'm pretty sure still getting black screen camera. Anyone out there confirm? Anyway, after a couple of days, I can say this is the best overall CM MM ROM so far for camera, and ui, in my opinion. Appreciate the work.
[Xperia Z1 Compact General] levone1:
New Commotio 7/27. BTW, last Commotio build was the first MM ROM I was able to successfully mod framework jar according to Z4 camera port, and get the phone to boot. After flashing the port, though, camera app didn't show up, even though it was in system/app folder and showed up on the list of apps in settings > apps. Don't know what that means or if there's a way to make it work, but maybe it's a step in the right direction...
[Xperia Z1 Compact General] ergoen:
Does anyone of you have issues with the gps not working (never finding any satellites)? I'm trying to get used to the fxp rom, not sure if it's me having messed something up or if it is the rom.
[Xperia Z1 Compact General] mkdmc:
Had you increased max api version? You should change all camera apps max api to 23 before flashing.
[Xperia Z1 Compact General] SpiritCroc:
AICP

New AICP build is up, here is the new thread.

Changes:

- Use CM Snap camera

- Added back some device config overlays from CM device tree
[Xperia Z1 Compact General] ergoen:
Okay, I decided to look into my gps issue. There are some binary blobs missing from the fxp rom, right?

I decided to build my own from scratch:

Only sony official aosp = > no sim, no gps

I googled a bit and looked into where other people get their blobs from and I added the extra qcom modem blob from AICP (thanks!!)

Sony official aosp + AICP modem blobs=> both sim and gps works!

...
[Xperia Z1 Compact General] SpiritCroc:
If you're building the ROM yourself: you just have to add

<project path="vendor/qcom/firmware" name="SuperBenevolent/aosp-vendor-qcom-firmware" remote="github" revision="master" />

to your local manifest. That's how it works with AOSP-based device tree & how I do it on AICP & DU.

(That's probably what you did either way?)

I don't even know who that SuperBenevolent is/maintains, it's just what I found when I was searching for SIM fix for self-built AOSP. Yeah so not exactly from AICP ;)
[Xperia Z1 Compact General] ergoen:
This was exactly what I did yes. Okay, I thought that was you with a second account to make sure any licensing stuff didn't cause issues :). I'm kind of surprised that this is not part of the package on Sony's web.. (and why is only parts of it included in fxp?)

Edit:

This is probably not the correct place for this, but to enable building NFC:

After syncing the repo, run this:

cd packages/apps/Nfc
git revert --no-edit 988c3fff5470a1de3a880bd07fa438cc47e283c8

Google disabled NFC for NXP, but didn't remove any of the code yet (probably in preparation for Android N)

Actually, all the git cherry pick lines from Sonys page for building stable Marshmallow are for other devices, so this is the only thing we need.
[Xperia Z1 Compact General] levone1:
New Vanir and new Commotio 8/4.
[Xperia Z1 Compact General] LazyT:
Tried last Commotio: battery drains over night (in airplane mode!) 40%.

Why is MM so extremely worse?
[Xperia Z1 Compact General] levone1:
New Commotio 8/7. Also, AICP for Amami has gone official - http://dwnld.aicp-rom.com/?device=amami

Update - 8/7 Commotio link is broken. I reported on G+, and dev is looking into it.
[Xperia Z1 Compact General] SinusStudios:
Post-installation fix for MM GApps:

- "Unfortunately Setup Wizard has stopped."

Even though this error message makes Android almost unusable you can fix this error by opening the quick settings and going to the settings app.

Once you get there go to either Memory or Apps, enable Show System Apps and find Setup Wizard.

Open it's permissions and allow it access to both points. This should immediately fix it's crashing.

- "Unfortunately, Google Play Services has stopped."

This can sometimes show up and then don't for a while, but you should always encounter it when using any Google apps if you have this error.

Fixing is very easy: Go to privacy in settings -> Privacy Guard -> 3 dots -> Advanced -> Google Play Services and set location (first option) to ignore.

If that doesn't immediately fix it, do a full reboot and you should be all good.
[Xperia Z1 Compact General] gbr3h:
I had a look at some of the MM ROMs but as I see none of them is very stable. Is there any MM Z1C ROM (or non-Z1C specific) which is better than the current (and last) stock ROM from Sony? Is there any which is stable and "production ready"? By that, I mean that all hardware works, no sudden reboots (the stock ROM has only rebooted for me twice in its entire life), better experience than the stock?
[Xperia Z1 Compact General] zdi:
I humbly second gbr3h's request.
[Xperia Z1 Compact General] levone1:
As far as I can see, after using it for a few months, AOSP by freexperia is 100% working. 'Better than stock' is entirely subjective, but I haven't had any bugs or recurring issues. The camera is very good, and there's a custom kernel. Personally I prefer it over stock. Battery life is probably not as good, but you can control it. I've found that almost all of my battery drain problems typically come from Gservices, so I just use AFwall and disable Internet access to everything, unless I specifically want to use it. If you're into carrier-related bells and whistles, Sony stuff, or heavy social media use / syncing, etc., you'll probably always go back to stock, but as far as functionality, AOSP is solid. Also, Layers themes are much better than Sony themes...
[Xperia Z1 Compact General] zdi:
Thank you for the in-depth, detailed reply. Exactly what I was looking for.

I'm going to try and post my results!
[Xperia Z1 Compact General] levone1:
New Commotio - 8/22

New AOSP build (freexperia) - 8/23
[Xperia Z1 Compact General] alf-endy:
...and new RR v.5.7.3 /22.08 :good:
[Xperia Z1 Compact General] jankovics1000:
ASOP ROM? Link?

Tapatalkkal küldve az én D5503 eszközömről
[Xperia Z1 Compact General] BearIV:
Please add instructions to flash aosp freexperia to op
[Xperia Z1 Compact General] alf-endy:
See OP :)

I asked Google :D
[Xperia Z1 Compact General] levone1:
Problem with new build - trying to get into security settings causes fc, so no way to check 'unknown sources'. Besides that everything seems OK, but I can't use it without that. Anybody know how to enable unknown sources with terminal or build prop or something?

To install AOSP, you need to use fastboot. There are 4 partitions in the zip, (all IMG files), flash each one with the 'fastboot flash' command. Personally, I don't flash the recovery IMG, since I'm happy with mine, and I don't think I had any recovery last time I did. Keep in mind that when you flash userdata IMG, you will wipe internal storage, so move anything you want to keep.

Also, problem in latest Commotio - systemui issue. ROM boots and shows home screen, then goes to black screen with only status and nav bars. Wasn't able to get out of it.
[Xperia Z1 Compact General] yjosipy:
I have tried new bulid 8/23 but i dont have camera at all,it does not have sdard detected. [MENTION=6283426]levone1[/MENTION] which build are you using?
[Xperia Z1 Compact General] levone1:
Definitely some issues here - I replaced settings app with one from previous build, and no change, so I guess it's a problem in system. I'm going to try installing Installeropt apk in recovery and see if I can get that to work.

As for camera, I had the same thing on my first attempt, which was a dirty flash over a backup, so I wiped everything and tried again, and with clean install camera showed up, but it's messed up. Tried a different camera app and same thing.
[Xperia Z1 Compact General] mkdmc:
Set camera hal to v3 and then camera works.(I think)
[Xperia Z1 Compact General] levone1:
Enables hal v3, and made a black screen viewfinder, and when taking a picture, the half green screen shows up in photo.
[Xperia Z1 Compact General] levone1:
Moving Installeropt apk to /system/app worked for unknown sources. Now I wonder if there's a camera fix. BTW, I wonder what the chamgelog is for this build - maybe its just as well to keep 7/17 build, which is bug-ftee...
[Xperia Z1 Compact General] yjosipy:
Now I'm running build 7/17 and it looks ok now cam works rom is stable,and all settings are working now i didn't tried to move Installeropt i might try in couple more days.

I have seen that internal sd isnt mounted in correctly in recovery(build 8/23),anyone else??

And just for Newbies i suggest you to use http debridnet(dot)com for downloading bcz uploaded has download limit...
[Xperia Z1 Compact General] levone1:
No need for installeropt on 7/17, since settings works fine, (although it is still a great and handy module). I had to use it on 8/23, because security settings is inaccessible, so can't check 'unknown sources' for app installations.
[Xperia Z1 Compact General] yjosipy:
And i forgot do you have random reboots on 7/17???
[Xperia Z1 Compact General] levone1:
New AOSP build today for some devices, but not us, (maybe tomorrow), they must be on to the problems.

Also, new Vanir 8/24. Downloading now
[Xperia Z1 Compact General] levone1:
New Vanir nice and smooth, and has Hexolibre theme preloaded, which is nice, but camera still the same
[Xperia Z1 Compact General] wyt18:
Just saw that PA now officially supports the z1c: https://plus.google.com/+EvanAndersonA/posts/72TLZMj4K5S

anyone tried PA 6.0 on z1c yet? how is the camera, battery life (key issues to resolve on current MM ROMs for z1c)?
[Xperia Z1 Compact General] Jesusnagler:
and I think that it would be important to know which recovery PA uses or whether it is possible with TWRP

twrp 3.0.0.2

CM12.1

?I use Google translation?
[Xperia Z1 Compact General] levone1:
Nice

So far no builds, but I'm going to keep watching...
[Xperia Z1 Compact General] wyt18:
isn't there a 6.0.3 build here?
[Xperia Z1 Compact General] levone1:
Hey, you're right. Somehow when I went through the Amami link I ended up in a blank folder. Maybe I didn't wait long enough for it to load.
[Xperia Z1 Compact General] levone1:
So far so good. Built in camera app crashes after 1 or 2 pictures, but other camera apps work and are stable. I tested with H2o camera port and it took several pictures without crashing or freezing. Picture quality seems good. Browser is new, (to me anyway, maybe a new PA browser?). Theming is with CM themer
[Xperia Z1 Compact General] levone1:
Added to op
[Xperia Z1 Compact General] karamancho:
what do you think of PA so far?

how does it compare to fxp AOSP?
[Xperia Z1 Compact General] levone1:
Essentially the same. I don't know much technically, so there may be build-based differences I'm not aware of, but superficially speaking, only obvious differences are built-in browser, which seems more capable than default AOSP, and CM themer. I can say it's very smooth and solid, and I haven't had any issues so far.
[Xperia Z1 Compact General] wyt18:
how does battery life compare to stock LL (after a few days of using this of course, if you plan to do so) ... thanks
[Xperia Z1 Compact General] DocLM:
Are you sure about camera quality? I tested PA 6.0.3 on my girlfriend z1c and back camera seems really dark.

NOTE: I haven't found other issues.
[Xperia Z1 Compact General] Jesusnagler:
What recovery is on PA build

twrp 3.0.0.2

CM12.1

?I use Google translation?
[Xperia Z1 Compact General] DocLM:
What do you mean?

I installed it using a real twrp 3.0.2 recovery and opengapps nano for gapps.

PA does not change your recovery.
[Xperia Z1 Compact General] Jesusnagler:
Thanks, that's the answer.

Any people, and I, have not real recovery and on DU and the first AICP it wos the problem that's twrp not working

twrp 3.0.0.2

CM12.1

?I use Google translation?
[Xperia Z1 Compact General] skyhirules:
Does it need an unlocked bootloader to install it?
[Xperia Z1 Compact General] DocLM:
I installed it with real twrp recovery so i needed to unlock it first.
[Xperia Z1 Compact General] Joline:
Hi,

I have a question to the PA ROM: Is there a possibility to install the original Sony cam software (because of their available plugins like blur, timelapse etc)?

I think it would be a good idea to create a new thread in section "Xperia Z1 Compact Android Development" to inform more people that there is a new official ROM for our device. Would you do this please?
[Xperia Z1 Compact General] skyhirules:
A few questions before flashing PA:

1. Do I need to unlock the bootloader? Does PA use a custom kernel or the Z1C stock one?

2. I currently have NUT's XZDualRecovery installed. Will I lose it after installing PA? And if yes, how can I install a recovery after PA?

3. Will I have root if I flash SuperSU immediately after flashing PA?

4. If I flash the Pico version of GApps will I be able to install the rest of the Google apps normally from Play?

5. Is the camera quality good?

Thanks a lot in advance for the help!
[Xperia Z1 Compact General] DocLM:
1. Probably you need to unlock it. I'm not related to PA dev so i can only talk about my tests. You should ask specific question on Google plus community (https://plus.google.com/communities/112514149478109338346)

2. I dont know, i installed it with real recovery (twrp) and unlocked bootloader.

3. Yes, SuperSU works on other devices.

4. I always use nano gapps because they have all app that arent avaible from play store.

5. Personally i had issue with back camera that was extremely dark. Front camera works fine.

NOTE: I dont have a Z1C, my girlfriend has it, so i tested it about an hour and then i have to restore it to stock ROM because she cant take photo to every ****ing things :D

I take only a first impression about PA ROM, probably there are other bugs.
[Xperia Z1 Compact General] DrtiBarta:
For me the bluetooth doesnt work, it always show a message which doesnt go away, i dont know the english translation of it. Also i dont know exactly why, but i have tried the rom several times and i always ended up in bootloop, probably because of xposed, but it also happened without it. The camera for me was horrible.
[Xperia Z1 Compact General] levone1:
Sony camera is unavailable for non-Sony ROMs on MM at this point. Framework needs to be ported, and I'm not aware of anyone doing it yet. One person in cross-dev forum said not possible.

Creating a thread for the ROM is up to the dev. If he doesn't want an XDA thread, there won't be an official thread, which is why I made this thread, since several devs prefer to just stay on G+ these days with some of their work.

1. PA is AOSP, which has nothing to do with Sony inherently, so bootloader must be unlocked to use this kernel, (AFAIK)

2. Probably yes, you will lose it, and possibly you can only use real recovery with this ROM. If your BL is updated, flashing recovery is as easy as using Rashr app, if you're rooted, or using fastboot command 'fastboot flash recovery'. You only need the recovery IMG.

3. Yes

4. Yes

5. I think so. Someone else said camera was dark, but not sure how dark. If the pictures are coming out darker than you want, use a camera app with adjustable light, and increase brightness.
[Xperia Z1 Compact General] wyt18:
how did you get real recovery onto your z1c? will the process require wiping of system and data?
[Xperia Z1 Compact General] levone1:
2 requirements: updated Sony bootloader, which you can flash with Emma program, or, (I've been told), if you've updated to latest fw, (.236), it's included, and a compatible recovery IMG, which may be limited to TWRP 3+, but not sure. Flash the IMG, and you're good to go.
[Xperia Z1 Compact General] wyt18:
thanks! i do have .236 (installed Dstriker over it though) so will give it a try. do you have a link to the recovery img you used? i know there are a few floating out there for various Sony devices but best to go with something tried and tested already for z1c ...
[Xperia Z1 Compact General] levone1:
http://xdaforums.com/sony-xperia-z1-compact/general/twrp-3-0-1-amami-t3350827
[Xperia Z1 Compact General] M!tch:
fxp released aosp 8/26 for amami. has somebody tested it yet?
[Xperia Z1 Compact General] levone1:
I'll try to get around to it today.
[Xperia Z1 Compact General] M!tch:
thank you. my wife's z1c is running with untouched stock. so i have to flash a working rom without much experimenting. (she accidently installed adware in the past and therefore i want to install a clean rom with root and adfree)
[Xperia Z1 Compact General] alf-endy:
I already tried it. For me the camera is unusable. I'm going back to stock.
[Xperia Z1 Compact General] Yokurt815:
I'm planning to move from CM12.1 to the fxp AOSP. But it's mentioned, that since 8/23 are problems with the camera and it was better before (7/17)?

Can someone confirm?

The pic of levone1's problem looks the same like the problem described here for a Z3c. Maybe the builds moved from Android 6.0 to 6.0.1?
[Xperia Z1 Compact General] levone1:
7/17 build is perfect as far as I can tell. Used it for a month and don't know of any issues or bugs.
[Xperia Z1 Compact General] Turbopuschel:
I have an issue with it. Moved from DU v10.5 to it and GPS won't get a fix (if not also using Wifi data). Already suspected my hardware but after restoring a DU backup GPS worked again.
[Xperia Z1 Compact General] karamancho:
I haven't had a GPS fix on any ROM I've tried, stock or not, since I've bought the phone (2nd hand). Now I don't expect anything from this GPS so I keep it off all the time :(
[Xperia Z1 Compact General] Turbopuschel:
In the meantime I also tried RR and AOSPA, both had wirking GPS with the "device only" setting. I just don't know how to get it to work with fxp AOSP (tried 7/17 build).
[Xperia Z1 Compact General] levone1:
Can't say for sure that I did, but I don't remember any problems. I'm pretty sure I used maps app a few times... Right now I'm on Tesla LP. I'll get back to AOSP and check it out.
[Xperia Z1 Compact General] ergoen:
I also had trouble with the gps on fxp, I think it is missing some of the binaries. Probably can be fixed by just adding them to the system partition. (I ended up compiling the same rom for myself instead)
[Xperia Z1 Compact General] levone1:
Seems you're right... I can't get a satellite fix, but somehow G maps has no problem finding my location, even if I use satellite map. Why's that?
[Xperia Z1 Compact General] levone1:
Downloading fxp 8/30 now. Anyone tried it yet?
[Xperia Z1 Compact General] Yokurt815:
I'm now on 7/17 (AOSP from fxp) and I can confirm problem with GPS. Also I have no mobile internet (WIFI is working). There are no APN's and also text message based configuration from my provider does not enter any.
[Xperia Z1 Compact General] Turbopuschel:
I don't know the exact english terms because I use the german language, but the thing is, in location settings, if you choose "high precision" android tries to combine actual GPS data and surrounding wifi and possibly other data (because google knows roughly where those are) to try and pinpoint your exact location. If you use high precision without any actual GPS fix, you will still get a "GPS" location just based on the wifi and stuff. Only when you choose "device only" instead of high precision (or probably also when you're in a location without any wifi and similar stuff) will you get no position when not having a satellite fix.

The GMaps "satellite map" just shows how the earth looks from satellite photos that were taken earlier but does not use a live satellite feed.
[Xperia Z1 Compact General] levone1:
Mobile data is no problem for me. You might have to switch it on in settings, not sure, (I'm testing Kryptonian atm)
[Xperia Z1 Compact General] Turbopuschel:
Tried it and I have a problem with it: When trying to access settings -> security -> the settings app crashes every time (also had this problem with fxp 8/26; didn't try 8/23 but gonna try it soon. Worked on 7/17 but there you can't get satellite fixes).
[Xperia Z1 Compact General] levone1:
I experienced the same, (http://xdaforums.com/showpost.php?p=68339462&postcount=212I), and also tried using the settings aop from 7/17, and same result, so I guess it's a problem in /system.
[Xperia Z1 Compact General] levone1:
Turn on in settings > data usage. Top switch, (screenshot 1). Data working, (screenshot 2). 3-dot menu shows cellular network settings, including apns, (screenshot 3).
[Xperia Z1 Compact General] levone1:
New Commotion 8/31.
[Xperia Z1 Compact General] Yokurt815:
Thanks for the detailed info. I knew where to look, but there where no APN's available. Manually entering the APN did the trick.
[Xperia Z1 Compact General] levone1:
my battery died yesterday, (won't charge anymore), so not sure what i'm going to do now. The last thing I found out was that the latest fxp build has the same camera problem and the same problem with security settings.