yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] Pacolin:
Yeah, i've googled and figured that out ;) looks good, hope that it could get included in future :fingers-crossed:

I've just revised some permissions on my device and wanted to share my thoughts on the contacts sync issue... I'm pretty sure mine didn't had the "contacts" turned on (the screen is after my last revisions on the permissions for google play services)

I'll try to sync after wiping my contacts later todau ;)
[Xperia Z1 Compact Original Android Development] Jinghis:
Hope it's working ^^
[Xperia Z1 Compact Original Android Development] Emupyyy:
I'm gonna test the audio fix today.. Thanks for your great work :)
[Xperia Z1 Compact Original Android Development] Pacolin:
Bluetooth "throw"-ing works great - with the Viper4Android FX the sound is as good as it was in previously tested roms. Battery life with Wireless Stereo + Youtube Background Playback (Xposed) is amazingly good! MUCH better than was on RockZ1 5.1.1!

Still getting some random Google Play Services FCs and today i'll try with some other gapps packs for MM (AOSP/slim) but right after testing the sync with the current Gapps.

I've prepared some build.prop tweaks which i'll try too - will post the results later on :)
[Xperia Z1 Compact Original Android Development] Pacolin:
Well, good news - it is actually working :D

Had to revise (once again) some permissions - the "Google Contacts Sync" (apps > show system) didn't had the needed permissions for Contacts (screen attached). After turning it on - contacts synced correctly :))) (screen for that too).

Still some flashes of Google Play Services FCs but will see if they are still present after flashing Open Gapps.

I came across some discussions on the same issue and it seems that after flashing the ROM and then the Gapps - permissions for the latter aren't set right... Some give the advice to flash the Gapps once again, after revising the permissions for the Google Play Services (as I wrote earlier in the thread). Also there are some notes that there is a patch which fixes the FCs but isn't included by default in AOSP. (Notes for Android 6 at opengapps Github) Will test after lunch ;)

I had the same strange thing when launching Google Photos for the first time... It wanted to sign in with an account (as there isn't one present, where there is one obviously). Had to write something (the same account which I already have or start creating a new one) and proceed, then go back and miraculously it now finds the present account (strange enough). Seems (to me) again the issue with Gapps core permissions or similar :)

One more thing I forgot to propose to [MENTION=4942277]CLINTZ9[/MENTION] :) Maybe in near future we should consider setting up an OTA update "service" which will help users get latest updates of the ROM without the hassle of going through the whole thread and applying fixes one by one :P Recently the [CyanogenMod][OTA]

Open Source REST Server for you[/URL] got updated and it is now supporting unofficial ROMs (CM13 builds which should mean that AOSP based builds should be supported too) :)
[Xperia Z1 Compact Original Android Development] Emupyyy:
i get crazy with this rom, After i get back on stock.. I simply cannot flash it, it write to me "this package is for amani devices, your device is "hamani" i never had such error before, I was using TWPR 2.8.7.6 cause it's included in that rom i'm using. Before i did many flashes and never was problems with it. Any suggestions? I tried to redownload the rom, but still goes with that error exactly after i start flashing.
[Xperia Z1 Compact Original Android Development] levone1:
Did you wipe system data and caches, (4 checkboxes)?
[Xperia Z1 Compact Original Android Development] Pacolin:
As [MENTION=6283426]levone1[/MENTION] suggested - you should wipe system, data, cache and dalvik-cache. In your case - there are some leftovers.

If you already wiped those partitions and still the recovery refuses to flash the ROM - I would use the Sony Companion Suite and do the "Repair" option which should be able to restore the device to a stock working state ;)
[Xperia Z1 Compact Original Android Development] CLINTZ9:
wipe system and your good to go

Your device must have been defined as "hamani" instead of "amami" in your build.prop
[Xperia Z1 Compact Original Android Development] Emupyyy:
There is any options to make a screenshot from recovery?
[Xperia Z1 Compact Original Android Development] Pacolin:
You can, but u need to read further how to ;) Alternative Method for Taking Screenshots in Recovery :good:
[Xperia Z1 Compact Original Android Development] Emupyyy:
I'll try tomorrow to change prop.. Thanks for response.
[Xperia Z1 Compact Original Android Development] nozz93:
Does anyone else have sleep of death issues? My phone won't wake up about once to twice a day from sleep. I have to reset the phone via reset button then. I missed my alarm this way yesterday.

Sent from my Xperia Z1 Compact
[Xperia Z1 Compact Original Android Development] Pacolin:
I had them too - but "they" miraculously disappeared...

Personally, I use Greenify and ever since I flashed Xposed and turned on the "Boost Mode" (Root + Xposed mode for Greenify) - I didn't had that issue with delayed (or even impossible) wake-up. Also I've opted the "Automated Hibernation" Service provided by Greenify in Settings > Accessibility. I have to mention also, that i'm using Greenify as "Assist App" (Assist & Voice Input > Assist App) so I can Hibernate&Lock while holding the center button on the nav-bar.

I suppose that you're using the default CPU settings & governor? If so - I highly recommend you to tweak them a bit - it would prolong your battery life at least (or even help fixing the sleep-of-death issues). My current settings are 1500 max frequency for the CPU with interactive governor with minor changes (go_hispeed_load: 95, target_loads adjusted to the max frequency setting and higher above_hispeed_delay values). GPU for 2D renders with min/max frequency of 200Mhz.

Will go further improving the performance of my device with some build.prop additions - which i've already prepared but didn't had the time to test properly but will test and share results asap :)
[Xperia Z1 Compact Original Android Development] Jinghis:
Just tried it and yes it's working ^^. Only had to re-login to google account at the end, and everything worked well. thanks, now to test this baby ^^.
[Xperia Z1 Compact Original Android Development] Marv42:
Can I flash another Kernel like Advanced-Kernel or something like that?
[Xperia Z1 Compact Original Android Development] levone1:
Advanced is for stock. I don't know of any custom kernel for AOSP MM yet.
[Xperia Z1 Compact Original Android Development] scripttec:
guys I need your help please...

flashed now this ROM, but having some problems...

as there`s no recovery included, I've flashed a different boot.img (from aokp rom) with the result that the system won`t boot anymore

if I flash the ROM as provided, I can`t install the fixes, so the phone is unuseable without the sim-fix

any recommendations which boot.img I should use, or is there a better way installing it?

thanks!
[Xperia Z1 Compact Original Android Development] funiewski:
Flash recovery Separately: fastboot flash recovery recovery.img

There is real recovery for z1c, seek somewhere in z1c threads
[Xperia Z1 Compact Original Android Development] Marv42:
Perhaps this one? http://xdaforums.com/showthread.php?t=3350827
[Xperia Z1 Compact Original Android Development] rionline:
Nice!! I am hoping again. Z1c is an awesome phone, technical high tech, just abandoned by manufacturer. This thread gives me hope for another year of z1c usage
[Xperia Z1 Compact Original Android Development] levone1:
Only real recovery will work permanently with this ROM. If you flash a different boot IMG in order to use old recovery, you have to flash the original boot IMG after you use recovery in order to boot, and do that each time you want to use recovery. If you have real recovery, (new Sony BL with compatible recovery IMG), its not an issue, you boot into recovery from power off, not at boot screen.
[Xperia Z1 Compact Original Android Development] Pacolin:
One can always boot recovery from fastboot ;)

Once having the new bootloader on the device - you can boot to bootloader (with fastboot enabled) without anything special but holding the Vol- and attaching the USB cable ;)

If for some reason the above doesn't work - then the new bootloader isn't actually present. You can still reboot to fastboot from adb though.

BE AWARE guys, after some aggressive testing yesterday - i've found a couple of issues which I can't clearly figure out for myself (and didn't properly logcat'ed the behavior) - but i strongly recommend NOT TO TRY any camera apps from the market for a couple of reasons: 1) they won't work, 2) very-very high possibility of HUUUGE battery drains and wrong/improper settings management by the aforementioned, 3) sudden reboots or even freezes (after which - only the on/off button where the SIM is could restart the phone). This weekend - if I have some spare time - I would try messing up with the option "Change System Settings" from the apps permissions for some more testing :)

Bare in mind that microsd corruption possibility is very high! If using noop as I/O scheduler - after reboot or shutdown - you'll get your partition messed up (maybe /dev/fuse tweaks are needed, idk) so better keep using the cfq sched. Still - the microsd card itself is easily fixable once attached to a pc - all you have to do is a quick chkdsk /f /x [drive] and you're good to go once again (it takes less than 2-3 mins for my 32GB adata card). If the card doesn't show up as a drive - it doesn't have a "letter" set for the drive/partition which you can fix by running the Disk Management Utility (win+r > diskmgmt.msc) and assigning a letter for the drive and then chkdsk ;)
[Xperia Z1 Compact Original Android Development] levone1:
For force power off, it works to hold power and vol up for 8 seconds. It's different than before, when you could just do it for 3 seconds, and get the vibration, and it would shut down. Now, (particularly on MM custom ROMs, but also going back to [MENTION=985241]erikcas[/MENTION] 's Omni 5.1 build), you hold it for longer, and there's no vibration, but it will power off.

---------- Post added at 08:56 AM ---------- Previous post was at 08:23 AM ----------

Interesting what you're saying about camera apps... I've been using this ROM since first build, and have tried probably 10 camera apps and ports. A couple didn't work, but most of them do. Camera fv-5, and Jishnu's H2o port both seem to take better pictures than built in camera. However, I have been experiencing strange occasional battery drain after freezes, and haven't been sure why, (http://xdaforums.com/showpost.php?p=66270392&postcount=155). Battery life in general seems pretty good to me, but curious about this issue...
[Xperia Z1 Compact Original Android Development] Pacolin:
Well - I haven't tried those 2 camera apps, so "we could whitelist them" :))) I'll give them a go later on.

Just said yesterday that I thought mine hasn't drained the battery unexpectedly and I had that enormous drain yesterday after trying a couple of apps with the hopes of fixing my SD from the phone itself... Got the battery exhausted from 30% to 0% literally in 2-3 minutes... Will try to emulate what I've done yesterday but this time with proper logging.

I'm more than satisfied from the battery life too - in fact - if we put those unexpected drains aside - it is way better than what i've had until this great build ;)

As for the button combos - (power) + (vol+) responds with 3 vibrations (exactly as if the red mini button next to the sim does), (power) + (vol-) with 1.
[Xperia Z1 Compact Original Android Development] Emupyyy:
Working week ended :) Gonna flash today and join testing.
[Xperia Z1 Compact Original Android Development] levone1:
Strange... I have not been able to get that response from power off and vol up on any AOSP 5.1, or any MM ROMs, (and others have same problem - http://xdaforums.com/showpost.php?p=64207849&postcount=13), but a longer hold will cause shutdown without vibration. Maybe there's some differences in component manufacturers or something...
[Xperia Z1 Compact Original Android Development] munjeni:
Yes, something is strange kernel side! On my phone I am unable to self compile any AOSP marchmallow kernel and make it boot with my cwm or anything else (al least Ubuntu) other than AOSP M :( . I reported that to jerpelea but strange thing its not solved and nobody understand why it can't boot on my phone. Probably Z1C have many diferent hw variants or at least few display variants which make that uncompatibility with aosp m kernel. Have no idea.
[Xperia Z1 Compact Original Android Development] levone1:
​

Started a thread here - http://xdaforums.com/sony-xperia-z1-compact/help/force-power-off-change-t3359434 hoping maybe someone can help figure it out.
[Xperia Z1 Compact Original Android Development] CLINTZ9:
You can boot a aosp mm kernel just compile the kernel from the 4.7 branch compile it the normal way then replace it with the prebuilt kernel in the android source and then build the kernel using make bootimage .

I cant get twrp to work, can you help me out (i can boot into twrp but cant see any partitions looked around twrp.fstab but no luck )
[Xperia Z1 Compact Original Android Development] munjeni:
I can't boot it! And its not my first time compiling kernel, doing things 5 to 6 years and have enought skills for making any boot.img! MM kernel

NOT

booting on my z1c in

ANY

way. I can't help you since I am unable to boot that kernel. Something is wrong with that kernel branch. Whole opensource concept is b.s. since its not fully open source, we always have missing something and we always have wendor specific binaries not compatible with mainline, complete wasting of time with all that b.s. 's.
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Does z1c have different variants based on hardware

I'm only aware of 2 the screen variants
[Xperia Z1 Compact Original Android Development] Emupyyy:
so what can i tell you guys.. After 3 days of testing i had only one serious issue. Audio fix works great, but when i'm calling people hear some echo (they're own voice) when i put sound on speakers, it become even bigger.. But thats not main. main is that after 2 days non stop working the phone went to deep sleep after which it just didn't woke up.. In the same moment happened big battery drain. It's obvious that something with the kernel.. (maybe the problem cause greenify) It was turned into xposed mode.. One night it handle great without any problems.. And today at night it died so i have to use power + vol to turn it on again.
[Xperia Z1 Compact Original Android Development] CoolDevelopment:
Sony has just pushed a fix for this. I'm sure it will be integrated in the next build
[Xperia Z1 Compact Original Android Development] munjeni:
For sure about display but not sure for hw. I can't explain why it can't boot on some z1c but booting on some... and I am not first one where it can't boot, if you look into open xperia thread you will notice that somebody also can't boot it, realy strange. I have tried few diferent toolchains and also tried using android tree, no one selfcompiled kernel booting on my z1c, it hang on big sony kernel logo and I must press 3 buttons to shoot it down, it never reach to the ramdisk, definitelly kernel isue. Tried to locate one old kernel git commit (I think jerpelea pushed it 2 years ago to the cm10 or to the cm9 if I am not wrong), it was related to the mdp (some usleeps isues which after increasing wixed bootloop), but unable to see it on git log anymore, these commit fixed isue on cm10 when it was failed to boot seems isue is very similar to curent isue on MM. If somebody find these commit on git or on on an post let me know please!
[Xperia Z1 Compact Original Android Development] brickhayabusa:
Can you build one for honami? :c please
[Xperia Z1 Compact Original Android Development] Emupyyy:
I had to get back on stock rom, cause the problem i've been talking about upper now repeats daily and happened even when phone wasn't in deep sleep (Once when i was changing a song in music player, and few times simply while was browsing). When this problem will be resolved i can come back to test it.
[Xperia Z1 Compact Original Android Development] CLINTZ9:
New builds coming up soon binaries updated to v5a
[Xperia Z1 Compact Original Android Development] munjeni:
Development soo hard with that non open source code. Wasting of time with all that.
[Xperia Z1 Compact Original Android Development] levone1:
Posted today -

http://xdaforums.com/showpost.php?p=66538287&postcount=63
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Updated To V4

Wont be updating the ROM till next month

Cant make the ROM Flashable as i'm encountering some error during the creation of otapackage

Enjoy!
[Xperia Z1 Compact Original Android Development] freeman94:
guys info about the update4

does the camera is finaly good, no freezes, slowmo, accetable picutre quality,

and 2ndly does drivers/performance is improve as I notice on prevously that UI perormance was amazing, but the cpu/gpu was very bad (antutu 44k) compare to my stock 5.1.1 with custom kernel (54k).

Info guys from people that already tested.
[Xperia Z1 Compact Original Android Development] levone1:
I see update 4 folder contains user data img. Is that required? It will wipe internal storage, right?
[Xperia Z1 Compact Original Android Development] CLINTZ9:
It's not necessary just flash system and boot

Can someone review the update I didn't test it personally
[Xperia Z1 Compact Original Android Development] levone1:
Just flashed and using now. I dirty flashed over v3. So far so good...

---------- Post added at 02:45 PM ---------- Previous post was at 02:33 PM ----------

Don't know what it means, but all MM roms I've tried so far have a blackout between the Sony splash and the boot animation, so you don't see the first part of the boot animation, but this is the first I've seen without it.
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Has the boot animation changed to the aosp boot animation or its it the silver android logo?
[Xperia Z1 Compact Original Android Development] Syssx:
So Ui is really smooth but SIM doesn't worked for me without SIM fix zip and camera zoom still doesn't work either but quality got improved a lot.
[Xperia Z1 Compact Original Android Development] levone1:
Plain 'android', with shadow slowly going by over it, (same as always)
[Xperia Z1 Compact Original Android Development] levone1:
[MENTION=4942277]CLINTZ9[/MENTION] - do you know about sim issue? Sim fix worked in previous builds, but no sim fix included in v4, and old one doesn't fix it.
[Xperia Z1 Compact Original Android Development] CLINTZ9:
didnt know about that

I do not have time to fix it as im leaving tomorrow
[Xperia Z1 Compact Original Android Development] levone1:
K - there's also issue with rotation. Auto rotate doesn't work, and if you force into landscape with an app, it won't switch back, until you force it. Besides those, I would say big improvement. Seems like kernel-related problems I had are gone, and camera is better.

Thanks
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Cool
[Xperia Z1 Compact Original Android Development] 1jkan:
May i use QuikMG ?
[Xperia Z1 Compact Original Android Development] 1jkan:
Yes. I used Quick IMG. The phone starts up extremely quickly.

But:

It delete the contents of the phone's memory and the SIM card is not working.

The camera closed when I changed the resolution.Need fix for this bugs..

But I think that soon we will be using this rom.

Thanks.
[Xperia Z1 Compact Original Android Development] Emupyyy:
Phone boot fine after clean flash via fastboot (boot and system only) but SIM isn't working, and i can't continue testing while it's such because this is my daily phone and i have to keep my number available for a call.
[Xperia Z1 Compact Original Android Development] munjeni:
Anybody try self compiled by me aosp from yesterday build packed into flashable zip? Finaly it booting on my z1c \o/ but I not like it since iys not fully functional for my daily usage, here is if somebody need it -> http://munjeni.myiphost.com/AOSP_marchmallow_m_6.01.zip
[Xperia Z1 Compact Original Android Development] levone1:
I'll definitely try it. What's not functional? Are you planning to keep building?
[Xperia Z1 Compact Original Android Development] munjeni:
Have no plan to build it, only tried and not tested it fully, there was no working mobile networks but fixed it by adding some firmwares into etc folder which was missed, now mobile net is working, seems everything is working but since not tested it fully probably its not fully functional. I not like any android after 14.4.0.A.108 since not like new lolipop ui and things and using only stock rom 108, will play with ubuntu after I get more free time...
[Xperia Z1 Compact Original Android Development] broky:
please re-consider:)

...about building MM,you are my hope for a descent MM for Z1C.

and i believe for many others here too,cause is a fact that the best roms for our phone are yours(108,157,270).after testing every rom i use your 108 still:)

just wanted to post my opinion,respect for whatever you decide:):good:
[Xperia Z1 Compact Original Android Development] munjeni:
I no want to waste my free time with something which is not fully open source code since on every new changes in android open source we always will have problems with compatibility with closed sources (aka proprietary blobs), so there is no sense wasting time with it and hardcoding with it since it will newer work corectly. I am more interesting for ubuntu desktop version on our z1c, for it freedreno need to be ported to kernel (have plan soon since curently our 3.10 kernel is finaly booting on my z1c), last time I was no lucky with kernel 3.4 but I think it will be easily ported from freedreno 3.10 to our 3.10 kernel ...hope true :)
[Xperia Z1 Compact Original Android Development] levone1:
Everything seems good so far, except same issue with auto rotation as CLINTZ9's build. Rotation stays how it is, portrait or landscape, and won't change until forced. Any ideas? I tried 3 3rd-party apps, and no difference.
[Xperia Z1 Compact Original Android Development] munjeni:
That can be identified trought logcat or dmesg! I had no time to look into it and now I am on 108 stockrom :(
[Xperia Z1 Compact Original Android Development] munjeni:
Probably this from attachment fixes rotation isue, let me know please!

Put it into vendor/lib/hw
[Xperia Z1 Compact Original Android Development] broky:
hold...i m on 108 too,but i flash again to try..:)

tried replacing the file in the zip and installed rom but did not work...

trying now with root explorer..

root exporer did not work too.
[Xperia Z1 Compact Original Android Development] munjeni:
You can't just replace any system file on an allready installed android since selinux not alow it! All files is selinux "labeled" and you must use chcon tool to label it:

chcon u:object_r:system_file:s0 /system/vendor/lib/hw/sensors_msm8974.so

than reboot. But since you replaced it in zip you no need chcon, so it definitely is not related to the sensors_msm8974.so ! I don't have installed aosp but if somebody have it, rotation isue can be identified directly by watching logcat in real time and trying to rotate display on phone, or at least if there is no isue displayed in logcat than probably it can be seen in dmesg!