yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] nhicko95:
cant boot to recovery what should i do?

maybe wrong firmware i flashed .236 generic
[Xperia Z1 Compact Android Development] nhicko95:
i got a ramdom reboot that become bootloop 5/17 build
[Xperia Z1 Compact Android Development] SpiritCroc:
amami has been moved to the weeklies, new builds should come each saturday from now on
[Xperia Z1 Compact Android Development] ccgx:
Is this rom useable as daily driver? camera working and all? thanks!
[Xperia Z1 Compact Android Development] nhicko95:
camera is still blurry when in focussing the camera and take a picture it waits till the blurry comes out then it snap a picture and still blurry ihope this weekly build we have a better camera
[Xperia Z1 Compact Android Development] levone1:
Camera for Z1C is the same for all rooms after LP, since there was never an official update after that. This is the fault of Sony not releasing updated files, not the fault of the rom
[Xperia Z1 Compact Android Development] nhicko95:
i tried adjusting all on setting now i get a less darker image but blurry
[Xperia Z1 Compact Android Development] gerg1:
Hi guys,

I have an idea how we could solve the camera issue. I've found a phone, called Wileyfox Storm, which has the same camera sensor (Sony IMX220) as the Z1C. And as far as I know, this Wileyfox phone has completely working nougat rom. Here is the device tree sources, if someone can use it to build the camera part of it, with our Z1C's kernel: https://github.com/PureNexusProject-Mod/android_device_wileyfox_kipper

Credit goes to the PureNexusProject team.
[Xperia Z1 Compact Android Development] jasmineloveflower:
Thank you thank you thank you and again thank you for fixing the fm radio app now im enjoying this rom. :)
[Xperia Z1 Compact Android Development] GStar01:
Would be very nice if the camera from the phone could be the solution
[Xperia Z1 Compact Android Development] alecs1:
Is there a place to set a bounty for the battery and connectivity problems? This is the only thing I could find related to Amami development: https://github.com/sonyxperiadev . I would pay say 20 EUR to use this phone at least one more year.

I find this situation underwhelming: after only two years Sony stopped updates and we're left with a random combination of security bugs in the Android/Linux kernel combination. At the same time it seems Sony don't do much to help independent efforts.
[Xperia Z1 Compact Android Development] Micha_Btz:
There are created issues on the kernel repo but Sony doesn't care and the help is not really helpfull.

https://github.com/sonyxperiadev/kernel/issues/1266

https://github.com/sonyxperiadev/kernel/issues/1214

You can answer with your donate offer maybe it will help.
[Xperia Z1 Compact Android Development] SpiritCroc:
CHANGES (READ THIS BEFORE FLASHING!):

=====================================

YES. AICP is going to build rootless builds.

This change will happen during a short period of time.

I could explain the decision for that,

but that would not be understandable for all users, so I put it this way...

Going rootless means that the ROM will NOT come with any Root or SU built in anymore.

There will be no Magisk - as a built-in root solution - be provided when the user flashes the ROM zip file.

What you will have to do (if you don't do it by now):

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You will have to flash a root solution of your choice (lineage-su addon, SuperSU or Magisk) by yourself after the ROM.

I will link the appropriate solutions here in this post.

REMEMBER:

First flash the ROM, then your desired root solution!

This MUST also be done on every dirty flash to ensure root is not lost!

This MUST be done when using the OTA app too! Just add the "root" zipfile after the ROM!

What will be noticeable to the user:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. We had to cut out some features for getting this done. Those are:

a. The SELinux switch in the dev options is gone for now.

This can also be done by other apps, if necessary.

b. The feature to flash another bootanimation from AICP Extras is gone.

You can still use a flashable ZIP from TWRP or Substratum.

c. The built-in logcat feature in AICP Extras will be gone.

Most users did not use it either as it only can store max. 400KB.

We already advised to use Catlog or Syslog Apps (both free on Play store).

Remember that both need root!

d. The built-in "System app remover" will be gone, as it required root to run.

2. You will not see Magisk Manager in the app folder, of course.

3. Remember that without a root solution some other apps e.g. Kernel Audiutor will also not work.

Whatever you choose. Lineage SU options are in dev options in settings. The others use separate Apps.

Links to tested root solutions (download from the thread):

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Magisk (remember that v12 need the Manager to be flashed separately. v13 will have it buildin the flashable ZIP:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589

SuperSU (Use whatever works for you, stable or beta):

https://xdaforums.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703

https://download.chainfire.eu/supersu

Lineage SU-addon (check your needed version 14.1 arm or arm64!):

https://download.lineageos.org/extras

-> the removal zip is available here too.
[Xperia Z1 Compact Android Development] nhicko95:
cqn i update my magisk to v13 without flashing latest build?
[Xperia Z1 Compact Android Development] lywjcxy:
Thank you:)Works good.
[Xperia Z1 Compact Android Development] SpiritCroc:
Should work, make a backup when in doubt
[Xperia Z1 Compact Android Development] nhicko95:
i will try on next build
[Xperia Z1 Compact Android Development] FaTlip82:
Aicp

Is there any possible way, how can i delete AICP Extras App? And there are two File Manager Apps in this ROM, how can i get rid one of them ?
[Xperia Z1 Compact Android Development] SpiritCroc:
Why would you want to remote AICP Extras? If you remove it, you won't be able to control many of AICP's built in features!

For removing system apps like the file managers, there are apps available on the play store to remove system apps, they need root though.
[Xperia Z1 Compact Android Development] FaTlip82:
Because i just want stock android and i am not using Aicp Extras App (why this is not optional and built in). Like Lineage OS doesn't have any apps like this for example. Two file managers also, why just not only one instead.
[Xperia Z1 Compact Android Development] SpiritCroc:
AICP Extras is just AICP's settings part. Actually Lineage does this too, their "app" is called CMParts; it just doesn't show up in the launcher.

Thus, making AICP Extras optional would make no sense (and would not work), and removing it would do more harm than use.

Some people prefer the old CM File Manager to Android's DocumentsUI, so both are included; you're not forced to use them.

If you don't want AICP's features, why don't you use stock or AOSP?
[Xperia Z1 Compact Android Development] FaTlip82:
Yes, i know, i am not forced to use them.

In my opinion it is just not necessary to have two file manager in a rom, cause they both great and have the same usability, but like i said, it is only my opinion. That is why i asked if i can remove one of them. I just do not like, when some apps are doubles itself.

When i install a custom ROM, for example, i deactivate also music, sound recording and browser apps directly, cause there are much better options for that in playstore.

I am not saying, that this Nugat AICP ROM is bad, no, i think, it is a great ROM. I have not tried stock or AOSP yet, cause i do not know if they are on the same level as this Nugat AICP ROM. And i do not really know wich of them do you mean. Right now i have downgreaded back to Cyanogenmode 12 ROM, cause it is still cleanest Rom for Z1 Compact. I also need a good camera, cause i am using banking app and camera should have a good focus for that.
[Xperia Z1 Compact Android Development] nhicko95:
if don't like it then don't use it stop complaining for unreasonable things you should be glad cuz our device reached latest android OS with more customization
[Xperia Z1 Compact Android Development] FaTlip82:
Dude, i am not complaining. I've just asked a question, the answer was given, the rest of it is just an explanation of my thoughts. If you do not understand it, just skip reply, thank you.
[Xperia Z1 Compact Android Development] knerlington:
Can't flash the ROM from TWRP. Bootloader is unlocked and I downgraded from Lollipop to Kitkat in order to use EasyRoot so I could flash dualrecovery containing TWRP and Philipz Touch recovery.

I can boot both of the recovery modes, but I can't flash this or LineageOS. Every issue every time. Apparently the recovery program can't find /system and thus the outcome of the log is that the flash failed.

Need some help here. Been trying to fix this all day and I can't find any information that would seemingly fix the issue.

Before I missed that according to the instructions we need "real recovery" as described on Sony's site. Not sure what I'm expected to flash using their Emma program.

I only have two "software update content erase" services listed and the TA update they refer to isn't visible so I don't know if I can get their recovery mode enabled.
[Xperia Z1 Compact Android Development] levone1:
Not sure, but probably has to do with being on KK, or you need real recovery with twrp 3+, (xzdr has 2.8). If bootloader is unlocked, (which it must be to use this ROM), try pulling boot img from rom, and download twrp img, and use fastboot to flash kernel and recovery, then boot to recovery and flash rom.
[Xperia Z1 Compact Android Development] knerlington:
I'm back on Lollipop 5.0.2. Tried flashing twrp 3+ using fastboot which seems to have worked. Said it was ok after writing in the log. Now I can't enter the recovery though. What gives?

To flash the recovery all I need is an unlocked bootloader right? With the recovery I can root and flash custom roms. Do I have to downgrade in order to flash and use the recovery?
[Xperia Z1 Compact Android Development] levone1:
Real recovery requires updated Sony bootloader, included in the latest 5.1 fw, (.236). If you are on 236, flashed with Emma or Flashtool, and have a real-recovery-compatible img, (twrp), then you power off the phone, and press power and volume down together, then release when vibrates to enter recovery.
[Xperia Z1 Compact Android Development] knerlington:
Solved!

Flashed .236 using Flashtool and then using fastboot I flashed twrp 3+. Immediately booted into recovery and twrp actually let me flash this rom without issues.

Too bad the camera isn't working as one would hope. That and USB tethering seems to be broken. Great rom otherwise it seems. Nougat is fantastic in itself after just a few minutes of use.

EDIT:

Tethering on 12.1 NIGHTLY from 2017/06/17 is not working. When I enable it the phone also stops charging.
[Xperia Z1 Compact Android Development] SpiritCroc:
Tested today on my build from 2017/06/21, tethering was working and charging while tethering too, so can't reproduce your issues
[Xperia Z1 Compact Android Development] Megani:
Hello,

Can we install a permanent recovery with this rom ?

Please somedoby tell me how to get root with the exact procedure
[Xperia Z1 Compact Android Development] levone1:
https://xdaforums.com/showpost.php?p=72547776&postcount=6
[Xperia Z1 Compact Android Development] stiernacken:
Someone tested this?
[Xperia Z1 Compact Android Development] unterwelt:
When is the battery drain fixed? I cant usw IT 20% over night doing nothing have dont Install any Apps.
[Xperia Z1 Compact Android Development] Megani:
Hello,

Can you add "Double Tap to wake up" feature ?

Thank
[Xperia Z1 Compact Android Development] nhicko95:
how is the camera??
[Xperia Z1 Compact Android Development] DeadXperiance:
I think our devices hasn't such hardware for double tap to wake up.
[Xperia Z1 Compact Android Development] unterwelt:
That is Not Hardware related its Kernel related. So yeah its possible and Maybe i will try it at weekend
[Xperia Z1 Compact Android Development] GNUDroid:
double taptop wake can be implemented in every device. but without dedicated chip be aware of battery drain. ;)
[Xperia Z1 Compact Android Development] levone1:
New Sony camera port - https://xdaforums.com/crossdevice-dev/sony-themes-apps/port-stock-camera-nougat-roms-t3628791. Not working on Z1c yet, but maybe could. Issue is that it requires 3.4 kernel and we have no roms with 3.4. Any chance of integrating it into a build?
[Xperia Z1 Compact Android Development] mkdmc:
[MENTION=6425591]SpiritCroc[/MENTION] is working on 3.4 kernel...
[Xperia Z1 Compact Android Development] SpiritCroc:
Currently trying to get 3.4 kernel working with a device tree similar to cm-12.1, but won't integrate the sony camera patch into the build.
[Xperia Z1 Compact Android Development] Aaron Hosenduft:
When I receive a SMS while charging the LED is not blinking, it's still on as if nothing happened. Can I enable LED notifications during charging somewhere?
[Xperia Z1 Compact Android Development] SpiritCroc:
New test build with 3.4 kernel up!

Issues:

- Missing splash logo

- Sepolicy is permissive

- Reboot to recovery not working

- Possible black screen

- Camera connection problems

- ???

+ Stock binaries, much better camera than before :), performance and battery probably better too (needs testing)

It's a test build, has some issues and is probably not ready for daily use, so make a backup before trying out
[Xperia Z1 Compact Android Development] Hazou:
Wow, u managed to get it working? The camera stuff we talked about?
[Xperia Z1 Compact Android Development] SpiritCroc:
Well, SuperLamic and a few other devs did it for honami, and also made some commits for amami; only needed small adaptions to get it working :)

https://xdaforums.com/xperia-z1/development/rom-lineageos-14-1-unofficial-t3628209

https://github.com/SuperLamic?tab=repositories
[Xperia Z1 Compact Android Development] Hazou:
Ha, was already looking through some of the code. Will see if I can help here and there the next week. Got some time free. They are doing a fine job with this one :D
[Xperia Z1 Compact Android Development] levone1:
My experience - full wipe and clean flash. Booted, then rebooted and flashed SuperSU 2.79. Reboot and everything OK. Attempted to take a picture, and seemed to focus, but shutter never snapped. Closed and reopened the camera, attempted to take a picture and got 'can't connect to the camera' error. Rebooted, and got bootloop, (I guess, since there's no splash screen... It actually just stayed black indefinitely. I never saw boot animation). Not sure if it's just because of SuperSU, or if it's the build. Anybody else?

BTW - [MENTION=6425591]SpiritCroc[/MENTION] - apktool throws too many methods error when I try to patch framework. Usually I delete CDMA folder in small, since I use only GSM, and it's fine, but CDMA folder is in classes2, and storage is in classes1. Can you tell me a safe folder or files to delete, or, is it safe to move some files to and from classes directories? Thanks
[Xperia Z1 Compact Android Development] nhicko95:
can post some pics taken by this latest rom
[Xperia Z1 Compact Android Development] SpiritCroc:
There are currently some black screen issues, already investigating those.

No idea about patching framework, I prefer compiling it
[Xperia Z1 Compact Android Development] levone1:
OK, thanks. Tried again, (needed to use the phone for a while and charge...). Camera is good. Focuses smooth and quick and takes good pics. Did get the black screen again twice when booting. Have to power off and reboot.
[Xperia Z1 Compact Android Development] levone1:
https://xdaforums.com/showpost.php?p=72893300&postcount=174

---------- Post added at 10:34 AM ---------- Previous post was at 10:33 AM ----------

I get no sound in calls. Phone rings, (either end), and seems to connect when answering, but no sound on either end.
[Xperia Z1 Compact Android Development] nhicko95:
did you get an bootanimation?
[Xperia Z1 Compact Android Development] levone1:
No Sony splash logo, (as op communicated), but yes, boot animation as usual. However, sometimes on boot there will be no animation and phone will just boot to black screen. Reboot and it's fine. Dev is working on it.
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
That was while doing a backup of aicp and restoring other rom.
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
Hmm my amami need repair..? What do you think about it? Maybe I'll try. I will lose only my time.
[Xperia Z1 Compact Android Development] SpiritCroc:
Is it really getting this hot, so that burn your fingers when you touch it? Does the temperature also get that high while not in recovery?

Usually, the software should take care of temperatures not getting to high.
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
When I touch it it's really warm, but I can use phone. That temperature is only in recovery. In every rom, my battery is warm, but not hot. About 50°C(122°F) so I don't know what to do with it. On stock rom in twrp 3.0 CPU temp reaches only 65°C(149°F) but also is warm, not hot. Maybe it's a bug? And I'm afraid without a reason?
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
And one question..everytime I had charging issue..phone is charging slowly..very slowly..how with this build?
[Xperia Z1 Compact Android Development] GNUDroid:
Security vulnerable. will these be addressed by next builds by time? Or is a baseband upgrade necessary?

Btw. I love the aicp rom. Much more stable as du. Even some more xposed-like features build in. THANKS! :)
[Xperia Z1 Compact Android Development] SpiritCroc:
AICP/CM/AOSP or sonyxperiadev might fix at some point, don't know.
[Xperia Z1 Compact Android Development] CmDaRkShAdOw:
Stock is more affected by the vulnerabilities so we must wait.
[Xperia Z1 Compact Android Development] Maximuous:
Hi guys. May i ask which gapps works best on this rom? And one more thing. Since this rom have built in twrp. I can switch back to the stock rom with no problem right? Even without real recovery? Sorry for the noob question..
[Xperia Z1 Compact Android Development] SpiritCroc:
I use open gapps (I personally use the pico package, but you might want more), they are working fine.

With built in TWRP, you can flash new ROMs, so if you have a flashable zip for stock rom, you can flash it; don't forget to wipe data & factory reset before booting it, because once you have flashed another rom that doesn't have inbuilt recovery and you boot into it, recovery is lost. I'd still recommend you to get real recovery, it's far superior to inbuilt solutions.
[Xperia Z1 Compact Android Development] Maximuous:
Thanks for the reply. I was able to install it and i was also able to revert to stock rom. I will try to familiarize this rom though. Thanks a lot sir..
[Xperia Z1 Compact Android Development] SpiritCroc:
The end

I'll be away from my computer for the next three weeks, so I won't be able to release any new builds / fix bugs / etc. during that time.

But now, you can get official builds! (Currently, amami is even on the nightlies.)

Changelog for the first official build:

- Fix wrong model number for some users
[Xperia Z1 Compact Android Development] Jesusnagler:
Audio FX don't work when I play music
[Xperia Z1 Compact Android Development] p@to:
Official nightlies! Fantástic!!!
[Xperia Z1 Compact Android Development] mulcahey:
How's battery life with this ROM? Does Doze help? Has anyone tried Doze + ForceDoze? (I'm trying to get as close to Sony's Stamina Mode as possible!)
[Xperia Z1 Compact Android Development] Jesusnagler:
Is google on tab working?
[Xperia Z1 Compact Android Development] Jinghis:
acDisplay - Apps fault or not?

Hi guys!

I've flashed this ROM recently, and I just love it maybe the nicest ROM outside for amami :). But I've bumped into something, and found it out with acDisplay. One of my fav lockscreen replacement, but to use it I have to activate some settings. Mainly admin rights and so one. But there is some problem with the last setting. To use it, I have to provide the app a usage statistics. Which sends me to the "Apps with Usage Access" setting. And the app is not there. I searched it, not just once. But that's not all. None of the apps are activated or can be activated, accept the Goggle apps like play store. I'm not sure if it's the app's fault, because I've tried DU and RR ROMs and both of them where working fine with this app. Can someone help me with this? Or if someone could try it out, to see if it's only on my side :D. I'll give a link to this post for the apps if someone could try it out.

::acDisplay::

Thanks ! :)
[Xperia Z1 Compact Android Development] ConradB:
Hello,

my D5503 is on Stock Rom 14.6.A.1.236. Which is the easiest way to flash the AICP-Rom?

1.) unlock the Bootloader

2.) backup the TA Partition

3.) flash with flashtool the actual TWRP-Version

4.) flash the AICP 11 Rom with TWRP

Is this the right way?
[Xperia Z1 Compact Android Development] karamancho:
you should backup the TA partition before unlocking the bootloader
[Xperia Z1 Compact Android Development] ConradB:
Ok, :) but otherwise I 'm in the correct way?
[Xperia Z1 Compact Android Development] nhicko95:
i tried it its just blackscreen for me i tried to force shutdown then power on its the same maybe because i restored my backup data for aicp now my recovery is just black screen but its response what version twrp are u using ?
[Xperia Z1 Compact Android Development] Hazou:
Ok, first time compiling and trying. (I did try I on LOS-14.1 and not AICP)

- libstlport seem to be missing from build for camera, camera works great at first use

- bootlogo is disabled at start and gives the black screen with a "blank" command I think

- modem is missing some things

- not all services are working(gyro) and some shouldn't even be enabled(fingerprint)

Did u have some local changes not uploaded to git? Otherwise, I am doing things that are already done :P

Will sync aicp next time
[Xperia Z1 Compact Android Development] SpiritCroc:
Works for me with inbuild dialer, are you using a third-party dialer (e.g. Google one)?

I read in the honami thread that microphone not working in third-party apps is a known issue.

Everything pushed, you can check out the AICP-n7.1-laos branch for amami on my github, I've added aicp.dependencies which should point to all other repositories used.

For bootlogo, I guess we need something like this (is only there for honami and not amami currently)
[Xperia Z1 Compact Android Development] Hazou:
Y, that could be it.

Looks like Los is a bit different then, but works with small modifications. Will see how far aicp gets me.

edit: Seems to fix it
[Xperia Z1 Compact Android Development] xBastek:
When will the official update with 3.4 kernel be released?
[Xperia Z1 Compact Android Development] nhicko95:
maybe when they fix the new kernel issue
[Xperia Z1 Compact Android Development] levone1:
Latest Substratum from Play Store not working for me on new build. Found ask for v.604, and working fine.

= edit - it's actually not working . It acts more normal, but won't apply, ('apk failed to install' error)...
[Xperia Z1 Compact Android Development] Hazou:
splashlogo, blackscreen fix:https://github.com/HazouPH/android_device_sony_amami/commit/1f23ccebd46059c373a02cf025a1082536e370aa

Camera stlport:https://github.com/HazouPH/android_device_sony_rhine-common/commit/b15a8845e63571809b10a1c331b3a91f9967fcc1
[Xperia Z1 Compact Android Development] SpiritCroc:
Haha, just fixed bootlogo myself.

What is stlport needed for?
[Xperia Z1 Compact Android Development] SpiritCroc:
Uploaded new test build, now has working splash screen.

I didn't have any more blackscreen issues, so that might be because I cleaned ccache or is related to bootlogo
[Xperia Z1 Compact Android Development] Hazou:
Was for camera. But I just noticed that it is already included in the proprietary files. Dunno why it didnt copy it over.

Edit: if we got the right src, we should build it from there.