yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] dmgZero:
[MENTION=6425591]SpiritCroc[/MENTION]

I'm testing AICP-n7.1_amami_20170715_1556.zip.

1. Stock app "FM Radio" don't work (However Sprit2 radio app is work)

2. When I connect to my wi-fi network, then I turn off Wi-Fi, and then turn it back on, it does not automatically connect to the saved network.

3. Stock Camera app have "Black screen", when I switch it to front camera. "Disable HW overlay" is fix it.

4. How to make default "MTP" usb-connection (not only charge)? I tried set it through "Developer settings". Not work.

5. Is it possible to enter to service menu? *#*#7378423#*#* don't work.

6. Adaptive brightness sometimes switch is not smoothly and stepwise.

7. Is it possible to add badges of unread sms/missed calls in stock apps? (Screenshot in attach)
[Xperia Z1 Compact Android Development] SpiritCroc:
Don't know, haven't done anything in that direction yet

Can you check if your wifi region code settings fits your country?

wifi: see above

black screen: see known issues

sms/missed calls: I think some third party launchers can do this, e.g. Nova launcher
[Xperia Z1 Compact Android Development] dmgZero:
[MENTION=6425591]SpiritCroc[/MENTION]

Switch region helped. Wi-Fi on/off correсt for now. Thanks! :D
[Xperia Z1 Compact Android Development] Frash:
Wifi Region

I have the same wifi issue here.

Living at Germany. Tried USA, Europe and Germany.

the wifi symbol has a question mark. Enable / disable wlan completely results mostly in the symbol with question mark.

Clicking on my home wlan manually connects instantly.

Later in time, same issue. My home wlan has symbol with full wlan strength all the time.

Cellphone worked with stock sony 5.1.1 without issues. No hardware error.

Other question. Will the hardware overlay camera issue fixed soon or is the no solution for that? Does that issue also exist in asop 7.1?

Tried the cam with the ported sony stock app and it seems working perfectly (if hw overlay is disabled)

And my last question for today :)

My cellphone powered off itself at maybe 12% power. Didn't noticed that a view days ago with original firmware. Could it be that there are other limits?

Thank you very much.

Great work.
[Xperia Z1 Compact Android Development] dmgZero:
[MENTION=6425591]SpiritCroc[/MENTION], [MENTION=5939627]Frash[/MENTION]

Unfortunately, I have this problem again.

For the first time the setting of the region helped. But after reboot problem came back.
[Xperia Z1 Compact Android Development] SpiritCroc:
No. Yes, it also exists in aosp 7.1, and also has been in marshmallow. I added a quick setting to the ROM some time ago so it's easier to enable though

Sounds like your battery is dying.

Had similar issues, with increasing percentages until it powered off with around 90% power, after which it was empty.

Changing battery solved that issue
[Xperia Z1 Compact Android Development] dmgZero:
In continuation to testing AICP-n7.1_amami_20170715_1556.zip.

8. It is not possible to add tiles placed at the bottom, under the bar (where the "Disable HW overlay" is) to the quick settings.

9. The standard "Album" application plays video-files with lags/jerks (disabling h/w does not help). The "Video player" plays without lags/jerks
[Xperia Z1 Compact Android Development] Cracowman:
I have switched to the last testing build from stock 5.1.1. and I noticed few issue:

- proximity sensor does not work correctly with Gravity Screen. I can unlock the screen but locking does not work. There was no such a problem with Lollipop

- the sound level during calling is to low for me in comparison to stock firmware. Is there any way (any sound mod) to increase it?
[Xperia Z1 Compact Android Development] levone1:
Micro g patched framework for latest test build, (7/15), if anyone wants...
[Xperia Z1 Compact Android Development] dmgZero:
On the last test aicp build Cyberian Camera works almost good (except timeshift problem, and necessity of constant switching h/w acceleration.)

Is it interesting theoretically possible to make same quality working camera for kernel 3.10 or 4.1?
[Xperia Z1 Compact Android Development] FaTlip82:
Yes, this is, what i meant, when i sayed, that wifi disconnects. Wifi icon shows full wifi connectivity. But when i lock the screen and the smartphone just lying around, when i am not using it, wifi goes automatically off. It show also a wifi symbol with a question on it after that. So to bring wifi working, you need to tap on it and click for connect or enable wifi again. Never had such an issue on a 5.1.1 builds. I also live in Germany.

All another things working just fine by me.
[Xperia Z1 Compact Android Development] nhicko95:
can u patch 07/12 build?
[Xperia Z1 Compact Android Development] levone1:
Probably at some point... Make a backup and test it out. Framework might be the same between builds. Also, easy to use Tingle - you just need adb and Python...
[Xperia Z1 Compact Android Development] nhicko95:
i cant patch it cuz i dont have pc
[Xperia Z1 Compact Android Development] loiselqw:
port of camera fix to aicp official build?

Hi,

first of all I am quite happy that I heard about AICP working on amami device => port it to the latest Android version without gapps, offering updates, great stuff... =>

The latest build I am running on my device from July 15th is suffering under the following issues (which I read is nothing new)

a) camera focussing problems with opencamera

b) bad speech quality when making phonecalls, which arises after some minutes and is getting worse the longer the phonecall lasts

c) from time to time problems charging the device via micro-usb

I read through this Thread and got the news, that there is a solution for

problem a) => camera issues if you're flashing the test-build shared by spiritcroc on his google-drive. Is there a possibility that this fix will be implemented in the official AICP build, so that there is no need to flash it manually?

Or if not is there another way by flashing persistantly an Zip containg the camera fix, so that AICP updates are provided without harming this fix

problem b) Could one of you share the experience, having issues with the phone quality? Are there any recommondations how to fix this issue? Or is smbd already working on this fix for official build?

Thanks a lot in advance stefan
[Xperia Z1 Compact Android Development] levone1:
Try the framework link with your build - might be OK...
[Xperia Z1 Compact Android Development] FaTlip82:
Update: WiFi Connection

I switched the region in WiFi settings from Germany to Europe, WiFI still disconnects automatically, when i am not using the phone (Screenlock or Sleepmode) :)
[Xperia Z1 Compact Android Development] dmgZero:
Is it contains signature spoofing patch? It's don't work with fix for camera for me. How to install this fix?
[Xperia Z1 Compact Android Development] levone1:
You don't need Sig spoof for camera, it's for micro g. You might be looking for superuser mod. Here...

(BTW - camera was working fine for me as-is,but I patched for su mod anyway, in case I need it)
[Xperia Z1 Compact Android Development] nhicko95:
OK try it later can you givr e a link of microg and files needed I forgot where to find them
[Xperia Z1 Compact Android Development] Заневский:
Will you tell me? There is support camera api2 with raw on the last build?

Thanks!
[Xperia Z1 Compact Android Development] levone1:
I like this one -

https://xdaforums.com/android/development/microg-unofficial-installer-t3432360/amp/

---------- Post added at 06:46 AM ---------- Previous post was at 05:55 AM ----------

@SpiritCroc - is the 7/15 build on the official download page the same as the 7/15 test build?
[Xperia Z1 Compact Android Development] SpiritCroc:
No
[Xperia Z1 Compact Android Development] dmgZero:
Thanks for file, but timeshift still don't work :) When I record one, recording starts, but when I press stop, appears error "Video Editor. File not Found". ("Video editor" has been installed by me before). And then "Video Editor" force crashes.

How can I make this patched file myself (services.jar)?
[Xperia Z1 Compact Android Development] nhicko95:
thanks its works!! :)
[Xperia Z1 Compact Android Development] levone1:
I just followed this - https://xdaforums.com/crossdevice-dev/sony-themes-apps/guide-disable-signature-verification-t3549952

There's 2 methods. I did the first, because it's quicker,, but I haven't had anything to test it on yet. Maybe not working, (as you say). Try the second one, and let me know...
[Xperia Z1 Compact Android Development] dmgZero:
This method assumes that in addition to "services.jar" it is necessary to editing the "core-oj.jar" anyway.

But you posted only "services.jar".

I misunderstood:)

BTW: Author, as I understand, don't recommend use this method?
[Xperia Z1 Compact Android Development] levone1:
Second method uses core-oj. I patched with the first.

You have superuser mod mixed up with signature spoof patch - 2 different things...
[Xperia Z1 Compact Android Development] levone1:
After I posted last time, I had a feeling that I should check it out, because I might be remembering wrong. So, I just got around to it this morning, and you were right - I read the post wrong. Both files need to be modded... Sorry. I'm doing it now, and I'll test it out.
[Xperia Z1 Compact Android Development] mkdmc:
This thread is only about the rom and the developer doesn't support external apps/patches.

So please don't spam here:)
[Xperia Z1 Compact Android Development] jharvey208:
So, looked through the thread for everything regarding WiFi. The phone doesn't connect automatically to WiFi on boot (not too hard to connect manually, so not too much of an issue) but the issue I have is that the WiFi drops during sleep. I've changed region from and to Europe, changed the channels on my access points, turned it off and on again and cleared the dalvik cache and normal cache.

If anyone has any suggestions I would gladly accept them. (Running test builds btw)

Overall, however, I have no issues with the ROM regarding above and thank the developer for his work, the camera works fine (not as good as stock but better than other ROMS I've tried (LOS)), no issues in calls, weirdly faster than my Nexus 5, I would like the "Disable HW Overlays" setting to be persistent but not too fussed. Oh, also I'd like to add that dragging the toggle (quick settings for the Disable HW Overlays) works, but I can't actually add it. It gets to about the second row down (lighter box or non-active toggles) and stops and won't go any further (going to the bottom again).
[Xperia Z1 Compact Android Development] nhicko95:
look at that free ram :)
[Xperia Z1 Compact Android Development] SpiritCroc:
WiFi issue fixed.

New test build is up; if no severe bugs are found, next official build will be based on 3.4 kernel!
[Xperia Z1 Compact Android Development] BokeB:
Thanks. WiFi works.

Display -> Night Light seems not to work.

AICP Extras -> Blur UI -> Statusbar is not persistent after reboot
[Xperia Z1 Compact Android Development] dmgZero:
In continuation to testing AICP-n7.1_amami_20170715_1556.zip.

Now testing and comparing with AICP-n7.1_amami_20170723_1001.zip:

1. Stock app "FM Radio" don't work (However Sprit2 radio app is work) [Nothing changed]

2. When I connect to my wi-fi network, then I turn off Wi-Fi, and then turn it back on, it does not automatically connect to the saved network. [After several reboots seems that it fixed]

4. How to make default "MTP" usb-connection (not only charge)? I tried set it through "Developer settings". Not work. [Still don't work properly. In last aicp-build if we set "MTP" through "Developer settings", it will saved, but, when we attach device to PC, then in "My Computer" we have empty folder with name "Xperia Z1 Compact". In Notification Panel of Z1C we have still default "Charge this device". If we click on "Transfer Files", then in "My Computer" empty folder, with name "Xperia Z1 Compact", is becoming NOT empty(i.e. it will allows you to transfer files).]

8. It is not possible to add tiles placed at the bottom, under the bar (where the "Disable HW overlay" is) to the quick settings. [Nothing changed. Still impossible add "Disable HW overlay" to QuickSettings]

[Update: Solution in there]
[Xperia Z1 Compact Android Development] SpiritCroc:
There is a problem when having to drag qs tiles over a long distance, which is also present in AOSP / stock Pixel iirc, but is more prominent on AICP because of our big amount of qs tiles. Until a fix is found, you can try decreasing the distance in order to be able to add it by increasing the qs column count, and adding more tiles to your quicksettings so the bottom tiles don't have to "travel" that far.
[Xperia Z1 Compact Android Development] dmgZero:
I should have thought of this method before.

Thanks!:) This is work.
[Xperia Z1 Compact Android Development] jharvey208:
WiFi fixed but didn't get the second issue. All other issues still exist, FM radio isn't important to me so not too fussed. However it is still impossible to add "Disable HW overlay". EDIT: Just seen its a bug on stock aosp, when I was typing this post I didn't see the new comments.

Can someone explain why I need to have that option enabled to use apps such as the Sony Stock camera app etc? I haven't seen it happen on YouTube like OP said.
[Xperia Z1 Compact Android Development] dmgZero:
[MENTION=6208707]jharvey208[/MENTION]

Try to add this option after setting:

Menu -> Aicp Extras -> Quick settings -> Columns (portrait) -> set to 6

Its' working for me
[Xperia Z1 Compact Android Development] ccgx:
Can I upgrade from test to official without wiping?
[Xperia Z1 Compact Android Development] jharvey208:
I did but had to install extra modules (ARISE, Sony Camera etc.) Gapps is persistent however

---------- Post added at 03:44 PM ---------- Previous post was at 03:41 PM ----------

Tried that but didn't work.

Not sure if this is an issue with the ROM or not but I cannot get camera app to work on any app, and torch no longer works. I have the following installed:

https://xdaforums.com/android/software-hacking/recompeliren-bravia-engine-x-reality-t3141461

https://xdaforums.com/crossdevice-dev/sony-themes-apps/port-stock-camera-nougat-roms-t3628791

https://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709

Of course, I have Magisk installed, and using BeansGapps linked in OP.
[Xperia Z1 Compact Android Development] chris2017@xda:
Thank you so much, SpiritCroc! I just have installed your 20170723_1001 ROM.

Fantastic: For the first time, the camera works like charm, WiFi, Bluetooth, GPS as well. FM-Radio has worked after the first boot, but after a restart does not anymore.

I am looking forward to the official AICP release.

Thanks again.
[Xperia Z1 Compact Android Development] jharvey208:
Have you come across any calling bugs? No one can hear either me on the phone and I can't hear them :/
[Xperia Z1 Compact Android Development] DcR-Nl:
Thanks SpiritCroc! Wifi connects again, great.

No such issue here on the latest test build (20170723).
[Xperia Z1 Compact Android Development] jharvey208:
I've tested it and changing SIM card to Nexus 5 running Dark ROM is fine.

When calling my internal office number I get mic feedback placing 2 phones next to each other, but still no sound via the earpiece on the recipient phone (in this case Nexus 5 again.. but tested with my mum's phone and partners phone and they got the same thing)

Factory reset achieved.... Nothing apart from deleting everything :eek:

I might try and flash without ARISE installed to see if that makes a difference...

I did manage to get the Disable HW Overlay quick setting in the active quick settings panel (had to add every single one and then delete them again :rolleyes: )
[Xperia Z1 Compact Android Development] filas312:
So, what's missing in current builds on new kernel? Just a quick writedown.
[Xperia Z1 Compact Android Development] jharvey208:
Seems like someone else has had a similar issue as me.

Full wipe of all partitions (yes including internal data, had nothing valuable on it anyway) and flashing latest AICP test build + OpenGapps stock package + Stock Sony camera port v3.4 + Magisk v13.3 has made it work, but I did the same this morning and when attempting to place a phone call this afternoon (after testing etc in the morning) the person on the other end couldn't hear me but I could hear them. Digging in the thread found the second quote above, but I tested using stock Android dialer, Google Phone app and Truecaller (See if it was Google based which I would highly doubt but still)
[Xperia Z1 Compact Android Development] DcR-Nl:
Nice! AudioFX and other 3rd party equalizers didn't work for my BT headset on the 20170712 test build (freeze and no effect). It does work great now on 20170723. :)
[Xperia Z1 Compact Android Development] Sony Z1C:
Hi there I'm on version 15072017 and I'm getting a bug with the built in audio app. It won't play the next song. It just stops after playing the song that I selected. Also AudioFx is not working.

My workaround is to play Music with Vlc .

Thank you for your work. It will keep the Z1C alive for many years!

Hope this helps!
[Xperia Z1 Compact Android Development] SpiritCroc:
You installed those camera patches and now consider camera and torch being a ROM issue? lol...

When reporting bugs, do so only if you experience those bugs with a clean install of the ROM and no additional patches flashed...
[Xperia Z1 Compact Android Development] jharvey208:
As it worked on the previous test build but not on latest makes me assume it's a ROM issue.

Not flashing first mod works normally and using Cyberian Camera 8.0 works fine
[Xperia Z1 Compact Android Development] nhicko95:
There is no Cyberian Camera8.0 for amami bro it's N and don't complain on devs they work hard for this ROM
[Xperia Z1 Compact Android Development] Vijayraj_kp:
can u integrate volte into this rom?
[Xperia Z1 Compact Android Development] skoda9635:
I have just came from the official Sony FW and the rom is working great except one big thing...SIM card is not loading...I am trying how much i can but it won't load it. Should i erase data or something to make it work ?

EDIT: Installed CM 12.1 and SIM card works...after installation of this rom again ( 22/07/2017) SIM card works
[Xperia Z1 Compact Android Development] -totonio-:
It's only me or the rom with 3.4 kernel GDRIVE has only checksums.txt?

i can't find any zip.

I've got my display replacement today, I was so excited to try this, and... :( haha
[Xperia Z1 Compact Android Development] SpiritCroc:
For whatever reason google marked the file as abuse, so it doesn't show up publicly anymore...

So best to wait until Saturday official build which will have 3.4 kernel, I guess
[Xperia Z1 Compact Android Development] DcR-Nl:
Saturday is a long wait if you just fixed your phone, so I've uploaded the latest test build (20170723) on my drive: https://drive.google.com/drive/folders/0B1ORdFZide12RlVqbno1SzR0bjQ

Compare with original checksum if you like. :)

SpiritCroc, let me know if you want me to remove it, just trying to help.
[Xperia Z1 Compact Android Development] -totonio-:
Thank you :) you made my day :highfive:
[Xperia Z1 Compact Android Development] -totonio-:
After a quick examination of the ROM, I can say that this can be our daily driver.

BTW, to me FM radio is working, I have no issue with WiFi reconnection and I placed the disble HW overlays tile without problems.

Severe bugs = 0

Thank you spiritcroc :)

EDIT: rebooting to real recovery doesn't work (I suggest to delete it from power menu ahah)
[Xperia Z1 Compact Android Development] nozz93:
I didn't follow this for a while, is the echo during calls still present? I didn't find anything about this on the last few pages.
[Xperia Z1 Compact Android Development] drbrutalo:
I geht a message about broken sdcard in latest nightly. However in recovery and back in the latest test build I can access files without problems. Anyone else got that?
[Xperia Z1 Compact Android Development] xBastek:
aicp_amami_n-12.1-NIGHTLY-20170729.zip is it with kernel 3.4?
[Xperia Z1 Compact Android Development] omkarmahananda:
It would be great if VOLTE is integrated into the test build.
[Xperia Z1 Compact Android Development] LV198:
It's not a thing of the ROM, it's a thing of the Snapdragon 800 that doesn't support it...
[Xperia Z1 Compact Android Development] Jinghis:
"I geht a message about broken sdcard in latest nightly. However in recovery and back in the latest test build I can access files without problems. Anyone else got that?"

Same here mate! :)
[Xperia Z1 Compact Android Development] xBastek:
Same here
[Xperia Z1 Compact Android Development] SpiritCroc:
Hm, will resync the code and do a fresh build to see whether the sdcard issue is caused by the source or the build server and try to find a fix
[Xperia Z1 Compact Android Development] chris2017@xda:
Changing network provider does not work ("Can't connect to this network at the moment try again later"). The previous network provider remains selected but the connection dropped. After that, Searching for network providers does not work neither ("error while searching for network")

After a restart, phone connects to the selected network provider again.

I am located in a roaming area and I could test changing of network providers and upload error messages/system logs but a developer would have to describe what test cycle he needs.

SDCard problem also on my phone.

Thanks for developing AICP for Z1C!
[Xperia Z1 Compact Android Development] dmgZero:
>>>

aicp_amami_n-12.1-NIGHTLY-20170729.zip:

4. Default "MTP" usb-connection(not only charge) still don't work properly. In last aicp-build if we set "MTP" through "Developer settings", it will saved and allow us to immediately transfer files when we connect z1c to PC.

But only once. When we detach z1c and attach it again, then we will again have only charging.
[Xperia Z1 Compact Android Development] DcR-Nl:
From the product page: "HD Voice over 3G and VoLTE"

https://www.qualcomm.com/products/snapdragon/processors/800
[Xperia Z1 Compact Android Development] LV198:
Hmm, that's new to me... Why did Sony never make use of that? But, it doesn't matter to me, because I don't call anyone :)
[Xperia Z1 Compact Android Development] omkarmahananda:
So it supports
[Xperia Z1 Compact Android Development] omkarmahananda:
VOLTE option is there but for some reason it is not getting enabled.
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
You can extract boot.img from rom package, and flash it via fastboot or flashtool as boot/kernel. Next power off your device and go into recovery(vol- when notification led is orange(?)) go to advanced wipe, and check data, cache, dalvik/art and system, next flash rom. :)
[Xperia Z1 Compact Android Development] karamancho:
unlock BL

flash TWRP

reboot to TWRP and flash ROM

that's about it :)
[Xperia Z1 Compact Android Development] mouler:
this one is greatest ROM with MM, best i would say atm :fingers-crossed::victory::laugh: love it at all

but i have a big bug!! WIFI 5GHz does not work.

my phone does not find any network on 5GHz. it finds only at 2,4GHz.

in settings frequency is on automatic and it does no matter if i change it to 5GHz only or not.

my fritzbox7490 is working well on 5GHz.

also when im am on stock rom with my phone...5GHz is working well....so it would be great if you will fix it in the future

EDIT: i have changed WLAN channel to max. 48 for germany. Now my phone is recognizing network on 5GHz. Why not with higher channels ?

-------

is it possible to implement "Mirror Link" to this ROM ?

i want to use it with my car [SEAT LEON 5F] it is supporting MirrorLink.

best regards :)
[Xperia Z1 Compact Android Development] Amir Fitri:
Im sorry , czan you tell me how to flash twrp ?
[Xperia Z1 Compact Android Development] hex@dec:
A bit off-topic: [MENTION=6985719]mouler[/MENTION] Some radars also work in the 5 Ghz range, over the 48 channel and the devices which use those freqs have to use DFS (Dynamic Freq. Selection - if they detect a radar, they have to choose another channel), I guess Cyanogenmod didn't implement it, because it does not work on CM12.1 either.

www.tp-link.com/hu/faq-763.html