yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] Stronger1101:
This is the problem.

Thanks for your help
[Xperia Z1 Compact Android Development] SpiritCroc:
What did the recovery log say while installing Magisk?

Were you using the latest TWRP?
[Xperia Z1 Compact Android Development] Stronger1101:
Thanks my friend, I can solve problem, I reinstall the rom and misteriously appear the root in Magisk.

Again thank for you help.
[Xperia Z1 Compact Android Development] Sietex:
Hey SpiritCroc since i have installed the 04.03.2017 build i got a random Symbol in my statusbar

Gesendet von meinem Xperia Z1 Compact mit Tapatalk
[Xperia Z1 Compact Android Development] skoda9635:
I bet everyone now has this middlefinger :D

EDIT: Not everyone. I have found on 1+3 (oneplus 3) thread that only lucky patcher users have that. If you uninstall it and reboot it will disappear.
[Xperia Z1 Compact Android Development] Stronger1101:
Hi guys

Someone found the way to remove the echo of the calls?

Thanks
[Xperia Z1 Compact Android Development] skoda9635:
I don't have any problems with calling but I have got a problem with GPS. GPS Test app sees 22 satellites but will fix to none. I have tried deleting and downloading AGPS, compass recalibration and no results.
[Xperia Z1 Compact Android Development] Stronger1101:
What happens is that in conversation by normal call or whatsapp, the person who calls me has a sound return (they hear themselves) and it has happened to me repeatedly that when I use the handsfree, the audio is cut off. :(

I don't have problem with gps.

Sent my from Xperia Z1 Compact using XDA Premium HD app
[Xperia Z1 Compact Android Development] Stronger1101:
Hi people.

The performance of the battery has been reduced since installing the rom, with the stock rom reached for 10 hours or more and now it is not reaching for 6 hours.

Does this happen to anyone else?

Is there any way to solve it?

Thanks.
[Xperia Z1 Compact Android Development] SpiritCroc:
Are you using the dialer that comes with the ROM or a different phone app (e.g. because flashed with GApps)?

I got a similar issue reported on my AICP for castor thread, a user says that the device locks during call and thus blocks microphone access, maybe you can try out increasing password automatic lock time for now?

Does this only happen in hands-free or normal call (holding it to the ear) or both situations?
[Xperia Z1 Compact Android Development] herrJones:
I suppose I'm using the one that comes with AICP. I don't know of any other :confused: . (I installed OpenGAPPS nano or micro)

Anyway: screen-timeout is also around 1m (at which the errors occur).

Behaviour was with and without headphones.

I recently switched to a Z5C (still on stock :angel:) but I'm keeping the Z1C as a backup.

So I could try it out, to see whether it does something.
[Xperia Z1 Compact Android Development] nosrev:
call issue

Hi,

I am currently on nightly 07.03 with gapps 7.1 nano.

Already using some workarounds to get along:

- to get 3G Mobile Data - 4G Data exceeded this Month (o2 Germany) - working (eg. after Wireless connection loss) I shortly enter FlightMode

- to avoid Call Echo on opponent side i am using an Headset (much better, but not completely gone)

Still have problems with:

- Battery drain (although i got a new Battery) > gonna try restarting phone after full charge !

- Call "own voice" loss

Concerning the

Voice loss

:

Somehow this afternoon i managed to have two 30 minutes calls without any interrupt.

Whereas this evening i got massive Problems with "own voice" loss

During all calls the lock pattern option was set up, and - as far as i noticed it - it also locked.

As far as i concern the difference between afternoon and evening was the plugged in charger (magnetic)

Or was it cause by downloading and installing latest Magisk? Or maybe something else like starting call, using loud speaker, then connecting headset? But does this make a difference?​

How do i know? I flashed gapps 7.1 nano.

---------- Post added at 03:06 AM ---------- Previous post was at 02:55 AM ----------

Btw, first time i am using a Custom Rom, had some problem unlocking my Phone and using Rom due bad Gapps.

SpiritCroc, I know for most of you guys it is clear how to do all this stuff, but do you mind adding a link to the correct Gapps ( opengapps.org ) with recommendation eg. to use ARM, Android 7.1 and nano) and maybe an link for Instructions (eg. post70811526 ) in your first Post.

I managed to burn my DRM Keys #RIP :highfive:

Awesome Rom! Thank you for your work!

Keep on going!
[Xperia Z1 Compact Android Development] SpiritCroc:
How to flash instructions are already in first post, added a link to gapps.

Nano GApps should not overwrite inbuilt dialer, but in case you flashed bigger GApps before, overwritten phone app would persist (you need to wipe system and re-flash ROM in that case to get rid of it).

To find out which one you are using, go to settings/apps/show system apps/dialer and check the package name (for inbuilt dialer should be com.android.dialer).
[Xperia Z1 Compact Android Development] nosrev:
I have got the com.android.dialer ...

Thank you for your fast reply! By Flash Instructions I also meant an advice to backup DRM Keys ;)

Best regards.
[Xperia Z1 Compact Android Development] thebiglebowski_ag:
Mobile data

Hi,

did you changed anything else?

Shortly enter FlightMode doesn´t help at my device.

I have o2 Germany too.

Did you configured LTE (recommende) as network type or did you changed to 3G?

How is your APN configuration?

At my phone, mobile data is only working ~4-6 hours.

As soon as I switch to the SIM card to a Vodafone card. Mobile data is directly working.

Also if I switch the SIM card back to O2 mobile data is also working. But again only for ~4-6 hours...

Regards,

Christian
[Xperia Z1 Compact Android Development] nosrev:
Mobile Data Settings

I selected "3G" as 'Preferred Network type' and "o2 Internet" as APN.

Bevor i noticed, that shortly switching to flight mode enables mobile data I always requested a configuration SMS by o2:

o2online.de/hilfe/handy-einstellungen/

(sry not allowed to set hyperlinks for new users)

(you won't see the configuration SMS itself, only the SMS before and and after the process)
[Xperia Z1 Compact Android Development] menomega:
Thanks a lot for the last updates but there is a problem with the GPS which not working properly with some apps like Pokemon go "hacked by fly GPS" which repay with "can't deticat location".

And aicp extras crashes .
[Xperia Z1 Compact Android Development] Ephixi4:
A comment I've made, copy / pasted from the Nougat roms list post.

Only issues I've encountered:

(UPDATES in bold)

- Faulty camera. It is glitching in FHD, max res 'works'. Seems like it tries to autofocus constantly. Not enjoyable to use, but it is possible to get a decent picture. Open Camera from PlayStore seems to be working better than the stock camera app.

- Battery drain. I blame it on the Nougat itself. Found this post on reddit, will see tomorrow if resetting all app preferences fixed it.

[Didn't work. The battery won't last a day with moderate usage and hours just laying on idle. Keep draining way too much battery on idle. No idea why. Lost like 80% in 10 hours. with 7 hours on idle. No gaming during that time]

- Used stock alarm app - I think it didn't go off / my phone was off? in the morning (while charging). I don't know what happened there. Was too sleepy to think and I forgot what exactly happened. But be aware of this and better check the alarm app on stock settings first before you go to sleep. (I might just sleep through 5 minutes of alarm, I'm a heavy sleeper, but still no idea why phone was off.)

[Alarms work fine. Using stock alarm app.]

- Can't find 5Ghz WiFi. Again might be Nougats fault, I read somewhere that it won't show 5Ghz SSIDs set to certain channels. Will try to change the channel tomorrow. (Other than that WiFi works.)

[Still didn't change the channel, but most likely it will fix this problem]

- Calling is a little jerky (might be providers fault).

[Pretty sure that is the roms fault. Sometimes I can't really hear other people, they often can't hear me, when I turned off the screen it was cutting the call every couple of seconds like it tried to hibernate or smth but active call didn't let it]

- Sometimes I need to turn airplane mode on/off to mobile data start working. No biggie.

[Still the same]

- Had problems with exporting contacts from the sim. Later suddenly some of them appeared in my contacts app.

-Youtube app fullscreen flickers and gives a black screen.

["Youtube black screen can be fixed by turning on "Disable HW overlays" from Developer Options in Settings. "- thank you skoda9635]

Didn't update to the newest version xxxxx16 but I will soon and udpate again.

Not exactly sure if everything is the roms fault, might be Nougat, might be only me. But these are issues I've encountered.

So again apart from these everything seems to work fine. No crashing, no rebooting without warning, no freezes. Tons of customization.

I hope that the battery drain is fixed now. Will try to update tomorrow. Did Antutu Bench and got something around 51k on the first go.
[Xperia Z1 Compact Android Development] Micha_Btz:
I use Drillich Germany which is also O2. At home it is working with H+ but at work there is only Edge with is not working.

I also tried to get the newest apn data via SMS but not luck. Will try to port the apn from cm-12.1 to aicp.

All thetricks with enable / disable flight mode doesn't change anything.
[Xperia Z1 Compact Android Development] thebiglebowski_ag:
Mobile data is working now

Hi,

thank you for your update.

With your settings I can also shortly switching to flight mode to enable mobile data again.

Regards,

Christian
[Xperia Z1 Compact Android Development] skoda9635:
Youtube black screen can be fixed by turning on "Disable HW overlays" from Developer Options in Settings.
[Xperia Z1 Compact Android Development] Ephixi4:
Thank you, will try it asap.

edit: Worked.
[Xperia Z1 Compact Android Development] Micha_Btz:
Is anyone able to get the APN settings from provider per SMS?

I get the SMS but without any configuration data. Can someone please test this?

After I get this SMS i get this error in the log.

https://gist.github.com/Micha-Btz/5ffd198970abe85557d4ecfff7366373
[Xperia Z1 Compact Android Development] SpiritCroc:
Looks like this is the problem:

W/BroadcastQueue(1239): Permission Denial: receiving Intent { act=android.provider.Telephony.WAP_PUSH_DELIVER typ=application/vnd.wap.connectivity-wbxml flg=0x18000010 cmp=com.android.messaging/.receiver.MmsWapPushDeliverReceiver (has extras) } to com.android.messaging/.receiver.MmsWapPushDeliverReceiver requires android.permission.RECEIVE_WAP_PUSH due to sender com.android.phone (uid 1001)

Since you're building yourself, can you maybe try adding <uses-permission android:name="android.permission.RECEIVE_WAP_PUSH" /> to packages/apps/Messaging/AndroidManifest.xml?
[Xperia Z1 Compact Android Development] gruumsch:
Touchscreen freeze when calls on LTE over 3G?

Hi all,

amazed to see people are still building for my old but trustworthy phone. Before trying this again, maybe you can help me out on one topic.

With all Android 5x and higher custom ROMs I ever tried (CM, vanir, Resurrection, ... I stopped this mid last year), my phones touchscreen would stop working whenever I received a call using LTE / 4G over a 3G connection. This happened 100% of times, it did not happen on WIFI or LTE over 2G. Obviously this is not acceptable for a daily driver.

The stock Sony 5.1.1 does not have this problem, phone is running fine with it.

Does anybody recall this issue, is it meanwhile fixed? Would love to try 7.1, but not at the expense of getting into the same trouble.

Thanks guys
[Xperia Z1 Compact Android Development] Ephixi4:
Never had that issue on mine Z1C.

But apart from that I would not recommend using AICP N as a daily. The battery life was terrible. I tested it one day from around 8 am to 6pm and the battery was almost that by that time I got back home.

The most important thing that out of these 10 hours phone was idling in the locker for 7 hours. The idle drain was bad.

Also camera is terrible and I had a hard time calling poeple as they would often not hear my voice.

Usuall new rom stuff.

It works though and I have my fingers crossed that they will fix these issues.

Apart from that they updarte quite often which is nice.

But it is just hard to use it as a daily rom atm.
[Xperia Z1 Compact Android Development] Micha_Btz:
ok, i have tried it but doesn't work either.

I have updated the log at https://gist.github.com/Micha-Btz/5ffd198970abe85557d4ecfff7366373

But seems to miss a package now.
[Xperia Z1 Compact Android Development] SpiritCroc:
I don't see any related error in the new log, so if it still doesn't work, I don't know why.

Thanks for testing either way.
[Xperia Z1 Compact Android Development] nosrev:
Awaiting Fix

Hey,

also never had the problem of a non working touch screen.

After some testing here my problems:

Major :

- Call app loses microphone sound on screen off (only on battery)

- Call opponents have massive echo problems, problem becomes better but still persists when using headset

Normal:

- Mobile Data does not autoconnect (have to shortly enter flight mode on 3G - for 4G i have to do this steps with 3G as preferred network and afterwards switch to 4G as preferred network) => maybe you can add a LTE toggle?)

- Camera does not get any focus (changes but returns to previous position)

- Battery drain in Idle

Minor:

- Camera screen just goes Black in case Hardware Overlays isn't disabled

Is there anything we can do to improve these things?

I really like the ROM, but especially due to the call issues I am thinking of using another one/going back :(

Best regards.
[Xperia Z1 Compact Android Development] wkarlo:
I have absolutely the same problems, and I do not see, unfortunately, that the developer somehow deal with them :(
[Xperia Z1 Compact Android Development] doby27:
Questions

Hi,

my Xperia Z1c is currently running AICP 12.1 nightly from 2017-03-16. I would like to ask some questions. Moreover, I have noticed some crashes and strange behaviour.

My questions are:

1) Is to possible to make the phone remember my choice of the "USB connection option" (e.g. "transfer files") when I connect it to my computer?

2) Is it possible to restrict the access of "Android OS" to my cellular networks? I would like to have complete control over the applications that consume my data plan. However, the "Android OS" item seem to be using internet connection regardless of any settings. More precisely, selecting the "disable all cellular data access" is not even remembered by the phone in this case (this menu item is unset every time I open the settings). Is there a way to deal with this issue?

Strange behaviour that I have noticed:

3) File manager cannot access the SD card. It keeps saying that "This operation requires elevated permissions. Try changing to root access mode.", even when the root access is granted. Is this a bug, or is there something that I'm doing wrong?

4) Application related to cellular network tend to crash when there is no SIM inserted. I get the message "com.android.phone has stopped" when I try to access Settings->More->Cellular networks. The same happens when "Cellular networks" menu option is accessed from Settings->Data usage.
[Xperia Z1 Compact Android Development] Rogue8X:
With nightly build 26-03-2017, I can't use mobile data
[Xperia Z1 Compact Android Development] Rogue8X:
@ SpiritCroc

I use XZDualRecovery to flash this ROM, but I forget to flash XZDualRecovery again. Now I cant enter recovery mode although I tried to install Recovery again. Can you give me any advice?
[Xperia Z1 Compact Android Development] SpiritCroc:
You should use real recovery with this ROM, as stated in the flash instructions (there's also a link how to get it there)
[Xperia Z1 Compact Android Development] Rogue8X:
Thank you! I flashed twrp 3.0.2, it work well and still remain after i update rom.

Btw, i think boot animation of build 2603 is more beautiful than 27-28
[Xperia Z1 Compact Android Development] SpiritCroc:
Bootanimation is selected randomly for each build (currenlty 4 different animations available)
[Xperia Z1 Compact Android Development] Rogue8X:
[MENTION=6425591]SpiritCroc[/MENTION]

Mobile data almost not working and shortly enter FlightMode doesn´t help my device. But after boot few days, mobile data work. However, if you conect to a wifi netwwork, it's gone.

So may you add feature "always keep mobile data on even wifi network conected"
[Xperia Z1 Compact Android Development] SpiritCroc:
That's android default behaviour, to use wifi as network when available and mobile only otherwise. Don't see a reason to change that and would not be worth the effort imo
[Xperia Z1 Compact Android Development] filas312:
you'd have to somehow manage the interfaces metrics, which might be impossible on android as of now.
[Xperia Z1 Compact Android Development] Rogue8X:
I see some phone have that feature. It is a option to user can turn on/off
[Xperia Z1 Compact Android Development] dimmu2k:
I just installed the Rom.

Sadly the Smartbar-buttons aren't working properly, except the back-button.

But navigating through the settings or even using the browser is just awful.

I've already tried to edit the functions of the buttons and to add new ones but unsuccessfully.

I tried to install F-Droid from the SDCard. The Filemanager didn't get access even though it had root permissions. But Files worked.

And F-Droid isn't able to update the repositories.

Any ideas?

Edit: Problem solved. After flashing the Nightly from 11.03.2017, rebooting and flashing the new Nightly everything seems to work.
[Xperia Z1 Compact Android Development] menomega:
How to install exposed framework?

And which Sdk?
[Xperia Z1 Compact Android Development] levone1:
I don't think that there is Xposed for N yet...
[Xperia Z1 Compact Android Development] filas312:
There are numerous qpnp charger bugs and dwc3 is crashing a lot, is it just my dying battery or what?
[Xperia Z1 Compact Android Development] Stronger1101:
Hi guys.

Anybody know how have root the ROM?

Thanks.
[Xperia Z1 Compact Android Development] levone1:
Usually reflash solves it. Should have access by default...
[Xperia Z1 Compact Android Development] Stronger1101:
Hi, thanks for your answer.

The problem is that I already flashee several times but I still do not have root access.
[Xperia Z1 Compact Android Development] levone1:
Strange... I know you're not the first, I've seen others post the same, and it happened to me too, but then it was OK after reflash. See what recovery log says when installing, and report. Also maybe try a different build. You're using real recovery right?
[Xperia Z1 Compact Android Development] Stronger1101:
I'm using TWRP last versión and last build ROM.
[Xperia Z1 Compact Android Development] levone1:
But with real recovery, (power off and hold volumedown + power), not old recovery, (power on and press volume when you see light)...
[Xperia Z1 Compact Android Development] SpiritCroc:
No support for xposed here
[Xperia Z1 Compact Android Development] SpiritCroc:
https://plus.google.com/115015009651694560786/posts/Mjw58VACTSH
[Xperia Z1 Compact Android Development] levone1:
Anyone else getting incallui crash? Phone app opens fine, dials fine, and call resumes fine, but ui crashes with error message about 'Phone keeps stopping'. Didn't test before flashing Gapps, so maybe that's the problem...
[Xperia Z1 Compact Android Development] SpiritCroc:
That sounds like a common issue that appears with themes that have not adapted to LaOS based ROMs; so if you have enabled a Substratum theme, try disabling it. If that's not the case, could you please provide a logcat?
[Xperia Z1 Compact Android Development] Hazou:
Hey Spiritcroc,

Do you think it is possible to get the camera stock blobs working like they did with the Shimano devices? See the unofficial lineage 14.1 z3c as example. I don't know if the credmgrd is totally different in ours, but maybe it is worth a shot.

Also, have u ever considered getting the open mobile API working for NFC connection? It works for paying with a compatible NFC Sim card on stock, but never seen it on a custom ROM, although there are some sources for it.

I do like to have a try at it myself, but maybe u already tried one of those.
[Xperia Z1 Compact Android Development] SpiritCroc:
I fear I don't have enough skills/knowlegde in that direction.

If you try, good luck
[Xperia Z1 Compact Android Development] alecs1:
Could you help me with the steps required to get this ROM on 14.6.A (unlocked bootloader)? I'm currently stuck because:

- AICP zip requires TWRP.

- The only way to get TWRP for 14.6.A I found to be XZDualRecovery kernel builder (http://nut.xperia-files.com/path/XZDualRecovery/Kernel_Builder). The webpage requires to upload kernel.sin, but gets stuck at creating that image.

What I did:

1. Previously had CyanogenMod and a recovery (80% sure it was CWM).

2. Rebooted into recovery, wipe data and cache, and selected "update" with the AICP zip (there was no "install zip" option). The installation claimed it worked correctly, but got the phone soft bricked.

3. Installed 14.6.A ftf to get the phone back online.

4. The phone works again with stock Sony, but there's no recovery at Power + Volume down.

Thank you
[Xperia Z1 Compact Android Development] Rogue8X:
I installed this rom for my device by:

1. Install Kingroot to root my device

2. Install Rashr

3. Use Rashr to flash twrp-3.0.2.img

4. Flash this rom and gapps. Done
[Xperia Z1 Compact Android Development] GNUDroid:
described method is working. but for new people (e.g. coming from stock) i would always recommend the sony emma tool. automatically 'real recovery' is safely installed.

introduction of a real recovery for z1 by sony was a great deal: survives everything.
[Xperia Z1 Compact Android Development] alecs1:
Thanks a lot guys, I managed to do it. I read so many guides that I got lost. Flashing twrp-3.0.2.img with Rashr didn't actually give me a TWRP, so I followed the approximate steps:

1. Used Emma from a Windows machine to install the latest Sony image

2. Reboot into fastboot mode with the tool at http://www.flashtool.net/index.php. Otherwise the phone refused to remain in flashing mode with the key shortcut, and fastboot alone didn't discover it

3. Run "fastboot flash recovery recovery.img" with the image found at https://xdaforums.com/showpost.php?p=65361797&postcount=78 . This gave me TWRP.

4. From TWRP flash this AICP and gapps.
[Xperia Z1 Compact Android Development] cricun_:
Hello. Are there any changes to focus the camera?
[Xperia Z1 Compact Android Development] njhuiz:
With the nightly 05-06 focus works with Open Camera after fiddling with the focus settings. I could not find a particular pattern, but after changing the focus mode a couple of times it suddenly starts working correctly.
[Xperia Z1 Compact Android Development] Uncle_Istvan:
Hi all,

I recently updated to AICP coming from stock rom.

Unfortunately I'm experiencing massive accudrain.

Today about 6% in 1 hour having the phone lying next to me doing nothing (not even unlocking the screen).

Is anyone having the same problems?

Current build is aicp_amami_n-12.1-NIGHTLY-20170511.

Regards
[Xperia Z1 Compact Android Development] alecs1:
I have the problem too, the battery depletes fast. It got somewhat better after I disabled "start at boot" and "run in background" for a bunch o programs and also enabled "data saver". Unfortunately I don't know much more to help.
[Xperia Z1 Compact Android Development] Uncle_Istvan:
Thanks alecs, I will try some of your advices. Hopefully the issue is getting better when updating the ROM.
[Xperia Z1 Compact Android Development] Micha_Btz:
No, the true is, it is not getting better. All Nougat rom's relies on the same kernel and all the rom's have the same problems. Like camera, battery drain and problems with mobile connection.
[Xperia Z1 Compact Android Development] Dava Raditya:
this rom for UBL / LBL ?
[Xperia Z1 Compact Android Development] filas312:
For unlocked and it requires so-called 'real' recovery.