yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] erikcas:
So finally here it is, omnirom 5.1.1 for Z1 Compact.

Changelog:

General:

sony kernel

omnirom

M2 specific:

device amami

device rhine (msm8974 family)

Kernelsources for this rom you will find here

Installation:

In order to install one of my custom roms on your Sony Xperia, YOU MUST UNLOCK & UPDATE YOUR BOOTLOADER!

I wrote a little howto for installing, you will find it on this page of my website.

Known bugs:

pink/green overlay on videoplayback

23-11-2015: Camera is working. Beware of poor quality! It is a developers preview version!

I labeled the rom as stable, even with the two bugs above. Imo these are value added services, phone is functioning rocksolid.

Awaiting all your feedback here. As I opted for D5503 to have official omni status, usefull input is important. But... Please donot report bugs without relevant logs and steps-to-reproduce. I will not look into that if I cannot reproduce it myself, if you report comes without a log

And at the end of this long story, we should not to forget to type a download link

>>>> DOWNLOAD 23-11-2015 HERE <<<<

Enjoy

Thanx are well in place for:

omnirom dev team

[*]fxp dev team (especially to [MENTION=489838]kholk[/MENTION] for simplifying things and [MENTION=359497]jerpelea[/MENTION] for opening these opportunities for sony devices)

my wife (there is allways enough coffee around here!)

And many I probably forgot but hey, this list is editable

23-11-2015: updated source links

XDA:DevDB Information

OmniRom 5.1.1 unofficial, ROM for the Sony Xperia Z1 Compact

Contributors

erikcas

Source Code: https://github.com/erikcas?tab=repositories

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.10.x

Based On: OmniRom

Version Information

Status: Stable

Current Stable Version: pre official

Created 2015-08-31

Last Updated 2015-08-31
[Xperia Z1 Compact Original Android Development] erikcas:
omni-5.1.1-20151123-amami-EXPERIMENTAL.zip (camera omni-5.1.1-20151123-amami-EXPERIMENTAL.zip (camera working)

Special request: Any reports on bluetooth connections.
[Xperia Z1 Compact Original Android Development] derf elot:
Awesome, thanks a lot for this. KK Omnirom was by far the best ROM I've tried on my previous and now backup phone (mint). Even though I'm still a little weary of Lollipop, I think I will give this a try this weekend.
[Xperia Z1 Compact Original Android Development] levone1:
I was glad when I saw your instructions page, because somehow this new recovery partition has been really elusive to me. I've tried with AOSP, and with several recovery img's, and I haven't been able to get to it. So I figured for sure it would work with this, a new ROM, with a tutorial... So I followed all your instructions, but nothing. I'm sorry if it's just me, but what am I missing? I fastboot the boot IMG, the recovery, hold down power and vol down, let go of power, but never get recovery. I just flashed supersu, and xposed, with a temp boot IMG, but I'm just baffled... Anyway, thanks for the ROM.
[Xperia Z1 Compact Original Android Development] erikcas:
Did you update your bootloader with emma?

Verstuurd vanaf mijn Xperia Z1 Compact met Tapatalk
[Xperia Z1 Compact Original Android Development] levone1:
I did not. That must be what I'm missing. Thank you for filling me in, I haven't seen that mentioned in any threads. Now that I think about it, I think I did read something like that in a Sony blog somewhere, but I didn't look into it enough. I have flashed pretty recent official ftf's, but I guess that doesn't do it. I haven't used Emma since my x10 mini, BC I prefer Flashtool, and I've never needed it. Do I need to use Emma with unlocked BL? Can I do it with Flashtool?

Thanks again.
[Xperia Z1 Compact Original Android Development] erikcas:
You will need emma.

Verstuurd vanaf mijn Xperia Z1 Compact met Tapatalk
[Xperia Z1 Compact Original Android Development] tohigh:
Emma can read imei but can't recognize the phone model, and services not available.

I m using cm12.1, want to update bootloader.
[Xperia Z1 Compact Original Android Development] rodovar:
Hi,

I have just tried your rom.

Camera isn't working (I tried with a new_camera.zip that works under cm), I know it's a bug but just to confirm it.

Reboot to recovery doesn't work (I have installed twrp in recovery partition with new bootloader), I had to power off the phone and then go to recovery.

Titanium backup was very sloooooow in reading my backup from sd card (with 5.1 aosp from fxp everything was speedy).

Just to let you know

Thank you for your effort and sharing

ciao, Rodolfo
[Xperia Z1 Compact Original Android Development] erikcas:
Hi. For camera see first post. Reboot to recovery by power off phone and use pwr + voldown.

I strongly suggest to not use titanium

Verstuurd vanaf mijn Xperia Z1 Compact met Tapatalk
[Xperia Z1 Compact Original Android Development] rodovar:
thank you for your advices, really helpful
[Xperia Z1 Compact Original Android Development] erikcas:
I had that on my M2 recently. What I did was flash a stock tft with flashtool, when ready, start emma (you might have to reboot pc) and connect phone to emma (connect it when powered down and hold volume down offcourse for flashmode)

Then emma recognized it again
[Xperia Z1 Compact Original Android Development] levone1:
Done and working, thanks. Your instructions to enter recovery are a little different than others I've read. Most of them say to keep holding vol after vibrate, (which doesn't work). Thanks again.

One thing about this ROM- browser is very slow and laggy. Is that just a part of the early development, or is there some setting or tweaks I could try, (I could try other browsers, but just curious)?

Edit - installed a different version and working great. Screenshot shows difference. I guess I pulled it from another ROM I don't remember.
[Xperia Z1 Compact Original Android Development] erikcas:
Browser comes straight from omnirom sources. I have no problems with it but will look into it

Verstuurd vanaf mijn Xperia Z1 Compact met Tapatalk
[Xperia Z1 Compact Original Android Development] Rekoil:
The latest CyanogenMod kernel sources have F2FS enabled, I would like to switch to F2FS, but I need a recovery with F2FS enabled as well. Any chance you could either make that guide for how to compile recovery for amami with new bootloader, or compile a recovery with F2FS enabled?
[Xperia Z1 Compact Original Android Development] funiewski:
http://xdaforums.com/showthread.php?p=61519700 for new bootloader
[Xperia Z1 Compact Original Android Development] Rekoil:
That doesn't work for me, it just boots CyanogenMod recovery.
[Xperia Z1 Compact Original Android Development] funiewski:
you have to follow this: http://xdaforums.com/showpost.php?p=62382513&postcount=23

you can not use reboot to recovery from cm - it will end in cm recovery, reboot the phone and than press power and vol -, release power immediately on hold vol - , it works
[Xperia Z1 Compact Original Android Development] Rekoil:
Nope, that's exactly what I did, it leads me to CM recovery, I know how the new bootloader works.
[Xperia Z1 Compact Original Android Development] funiewski:
It's strange because it works for me and if you read the thread for some other peoples too, but probably you know better, cheers
[Xperia Z1 Compact Original Android Development] erikcas:
What is relation to omnirom here? Please stay on topic

Verstuurd vanaf mijn D5503 met Tapatalk
[Xperia Z1 Compact Original Android Development] Rekoil:
Sorry, the relation was I've been using your recovery for OmniRom as it's one of few I know of that's compiled for the new bootloader, and I was looking for a new bootloader recovery that supports F2FS.
[Xperia Z1 Compact Original Android Development] erikcas:
Ah I can live with that ;)

Verstuurd vanaf mijn D5503 met Tapatalk
[Xperia Z1 Compact Original Android Development] levone1:
I've used this ROM and successfully entered recovery with new BL. I think what OP was trying to say in the post before yours, (that's quoted here), is that you have to have power off, (maybe you know that, I just noticed that it might not have been clear). Then, hold vol down while pressing power, and when you feel vibe, let go both. If you keep holding vol down it won't work. If your BL is updated, and you've flashed twrp, it should work.
[Xperia Z1 Compact Original Android Development] levone1:
Anything else coming? I really prefer Omni or AOSP, but would be nice to have updates, (not rushing, just wondering if there's anything on the horizon). Anything doing with camera? Thanks
[Xperia Z1 Compact Original Android Development] erikcas:
I am shifting buildserver atm. When ready I will bring an updated omni-5.1.1. Donot expect major changes, just updates and enhancements.

Also I will compile a preview of marshmallow AOSP, which has still some bugs, so that will be a "nice-to-see" version. All sony devices currently having some trouble on internal and external sd cards atm

Concerning camera: we need the blobs from sony open devices project. They are still not here, but I can tell you it is worked on very hard atm. If you track the kernel development, you see continiously changes and updates to camera related stuff.

You may expect this upcoming weekend or upcoming monday
[Xperia Z1 Compact Original Android Development] erikcas:
I had a little delay because of a nasty flue, was more in bed then out of bed last days.

Anyway, I was able to solve the storage problems in Marshmallow. Now testing some latest changes for media, if oke, I will post a link to Marsmallow AOSP here later tonight. Marshmallow omni is not useable yet.

Later on, an updated omni 5.1.1 will follow. Stay tuned for that.

Edit: rebuilding, there still is a problem with sensors which gives a nasty bug (screen off during call and no way to get it back on during call due to not working proximity sensor) and have to check if audio is working...

edit2: have to do some testing, but gotta sleep now, flue is kicking in again. Donot stay up. Tomorrow more
[Xperia Z1 Compact Original Android Development] :
PULL REQUEST PULL REQUEST PULL REQUEST :D

sorry I'm just too excited to have this big bug fixed :victory:

EDIT: sorry for being too hasty. Excitement had the best of me

Get well soon :)
[Xperia Z1 Compact Original Android Development] erikcas:
just edited my post. Still have a nasty audio and sensor problem... It is blocking for now. But check again tomorrow morning
[Xperia Z1 Compact Original Android Development] tohigh:
please release a zip without gapps!
[Xperia Z1 Compact Original Android Development] rcstar6696:
Hey can you share the commit to fix infernal storage please ??
[Xperia Z1 Compact Original Android Development] alia5:
https://github.com/sonyxperiadev/kernel/pull/447
[Xperia Z1 Compact Original Android Development] erikcas:
I do have a blocking issue (or even 2) for not "releasing" an AOSP M build for now:

Audio is screwed

In calll black screen issue due to proximity sensor falsely reporting "near" where it should be reporting "far"

That said, call is an issue because audio is screwed so :P

Tomorrow weekend, more time to work this out.
[Xperia Z1 Compact Original Android Development] erikcas:
For those of you who want to test Marshmallow AOSP, see my blogpost here
[Xperia Z1 Compact Original Android Development] erikcas:
Coming up next weekend

Verstuurd vanaf mijn Xperia Z1 Compact met Tapatalk
[Xperia Z1 Compact Original Android Development] zhuoyang:
Great ! If possible , can you build one for Z1 ?
[Xperia Z1 Compact Original Android Development] Ænimal:
As long as the builds aren't block based (in this case I just don't know) you can extract the zip using es file explorer e.g. and delete the apks you don't want manually. But some roms won't work properly without gapps (back/home buttons not working etc)..
[Xperia Z1 Compact Original Android Development] erikcas:
Will do

Verstuurd vanaf mijn Xperia Z1 Compact met Tapatalk
[Xperia Z1 Compact Original Android Development] [GER]Roxxor:
[MENTION=985241]erikcas[/MENTION]

Is there any hope for camera support on kernel 3.10 also without new binaries from sony? I just have to think about the legacy xperia project, where the developers ported the old binaries to a new kernel("Hacky" code, that's why the devices lost official CM support, but it works really good).

Do you think it is possible?
[Xperia Z1 Compact Original Android Development] erikcas:
without sonyxperia binaries: NO

but, binaries and lib will come.

for those of you who would like to have a global status on camera, and moreover the goal and vision of the sonyxperiadev opensource project, you can find a recent presentation from Alin Jerpelea on this here

Coming up today: Omnirom M preview rom. currently building for final testing
[Xperia Z1 Compact Original Android Development] erikcas:
[MENTION=1748670]zhuoyang[/MENTION] also Z1 is available, spread the word! Will open a thread in Z1 dev section soon.

Please find omni M builds here.

Because I have a party in a few minutes, I donot have time to update the thread. That I will do tomorrow
[Xperia Z1 Compact Original Android Development] [GER]Roxxor:
Tested it yesterday evening a bit. Looks promising! Thank you! There were several crashes of the settings and the launcher, but I guess that this is not device specific. I would like to test it more, but I really need a camera, so I cant run it longer. I hope that Alin will be soon done with the OSS camera framework :)

Thank you for your efforts :)
[Xperia Z1 Compact Original Android Development] Micha_Btz:
Hi There,

i have tested the TWRP yesterday and i am unable to mount my data partition. TWRP register that the partition is encrypted, but the pass phrase is not accepted.

can you please take a look at this?

Micha
[Xperia Z1 Compact Original Android Development] erikcas:
Oh? I tested that on Eagle earlier. On that I had no problems with it. Will check

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Compact Original Android Development] Micha_Btz:
I did some more tests, but i won't work. Sadly the created logfile tells nothing really helpful information.

The log tells only the encrypt is not possible.

just a question, to flash a newer rom should be going, because there is only on the system partition or is this encrypted too?

As far as i am now, there is only data partition encrypted.
[Xperia Z1 Compact Original Android Development] erikcas:
Send me the log.

I have my Eagle encrypted again and twrp has no problems with it

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Compact Original Android Development] :
Hello :)

I can't see any mention of the audio issue as of late. Is it still a problem or was it fixed?
[Xperia Z1 Compact Original Android Development] Micha_Btz:
hi there,

i can not send you the log because the log is copied to /data/media and since this is not mounted

it doesn't work. i try to get the log via adb but sadly has the recovery no logcat.

so i don't know how to get logs. any suggestions?
[Xperia Z1 Compact Original Android Development] Micha_Btz:
another question i have is, when i encrypt my phone, is there only the internal sd card encrypted or the external as well?

to only encrypt the internal makes no sence for me.
[Xperia Z1 Compact Original Android Development] erikcas:
It encrypts internal sd (data/media).

If the policy owner wants to external sd can be encrypted too

In my case I have company email on Phone. I have to add the mailserver as a device policy owner. It encrypts my phone i.e. internal sd.

If you want to encrypt external sd please search google for it, I consider this an FAQ.

To me, encryption works

It is not a bug

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Compact Original Android Development] erikcas:
http://developer.sonymobile.com/201...-camera-available-for-experienced-developers/

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Compact Original Android Development] levone1:
Not a dev, so don't know much... Does this mean it will be easy to implement in to your ROM? Do you have plans for a new release with camera?
[Xperia Z1 Compact Original Android Development] erikcas:
Will build and test and report here tonight

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Compact Original Android Development] erikcas:
Download link in first post updated. New omni (lp 5.1) with camera from sonyxperiadev.

Beware of cam quality! It is a developers preview, so quality is by far poorer then stock rom!

But, we had no camera on 3.10 kernel and now we have a first working one. So, it can only get better from here.

To prevent any questions: No, the camera is not yet available for Marshmallow!

Later today I will add aosp lollipop builds for Z1 and Z1C to my website
[Xperia Z1 Compact Original Android Development] Ænimal:
Thanks for your work. Just tested the build, but unfortunately I get fc when trying to get into security settings (in order to install camera from 'unknown source':rolleyes:). Will try your aosp build asap. :good:
[Xperia Z1 Compact Original Android Development] erikcas:
No logcat, no problem

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Compact Original Android Development] Ænimal:
Sorry, forgot to take one (reverted to my previous backup, because I need a working phone). Did a clean install, though..

Nevermind, thanx
[Xperia Z1 Compact Original Android Development] levone1:
So far : tried dirty flash over backup and got non-stop Google fc errors, so wiped and did clean install. No camera. Like in AOSP builds, the camera icon appears for 1 second the first time opening app drawer, then disappears. Folder is in /system with apk and lib folder. Any ideas? Thanks
[Xperia Z1 Compact Original Android Development] erikcas:
F*** my error. The uploaded build is on a different kernel then the one I am having here

Donot flash the current build. Fresh build up in an hour

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Compact Original Android Development] erikcas:
here is the bastard... https://github.com/erikcas/android_device_sony_amami/commit/ad63d7e9fc23d6f885dbc38ab93f74bd2b998c35

rebuilding
[Xperia Z1 Compact Original Android Development] erikcas:
Downloadlink restored. Tested and working

regrets and sorry for inconveniene!
[Xperia Z1 Compact Original Android Development] levone1:
Flashed over backup OK this time, but still no camera...
[Xperia Z1 Compact Original Android Development] levone1:
Update- full wipe and clean install, and camera is there and working well. Thanks
[Xperia Z1 Compact Original Android Development] levone1:
So far so good... Scrolling needs some help. I've tried a couple of mods that seem to help a little, but still pretty jumpy. I remember the same with AOSP. Besides that, I prefer back and recent keys in swapped position. Could you make a menu option? X-Blast working pretty good for customization. I think I got about 2/3 of the tweaks working. Xstana working for nav bar, but not status...
[Xperia Z1 Compact Original Android Development] Ænimal:
You could use gravitybox for navbar customizations (works great with omni, since the rom doesn't have that many built-in features - does need some trial and error, e.g. advanced reboot menu)
[Xperia Z1 Compact Original Android Development] levone1:
Never got GB to work w/ non-stock, so just assumed... I'll give it a try
[Xperia Z1 Compact Original Android Development] levone1:
Thanks, GB working great, also 'AOSP nav bar buttons' module. This is definitely in the running for #1 ROM in my book.
[Xperia Z1 Compact Original Android Development] tohigh:
it works! thanks!

I feel the screen is too bright in the dark.
[Xperia Z1 Compact Original Android Development] [GER]Roxxor:
[MENTION=985241]erikcas[/MENTION]

Hi!

I'm following you(and several other developers) on github. It is amazing how much commits there are daily on the Sony AOSP 5.1/6.0 repos. As I see from Honami forum, there are sadly still no binaries for 6.0 camera.

But 5.1 camera binaries got 2 updates from jerpelea since your last omni build.

As I lack the experience/connection/building machine(2GB of RAM here -_-), would you mind releasing a new build of Omni Rom 5.1, so I can test how I like the developer camera by now?

Thank you very much for all the work you are doing!

EDIT: I also have a question about recoveries. Is there a recovery that supports decrytion of a an encrypted device? I am currently on CM12.1 + TWRP with updated bootloader (hence real recovery), and my encrypted phone can't be decrypted. Is it hard/possible to implement this into a recovery?
[Xperia Z1 Compact Original Android Development] erikcas:
Testbuild for Z1C and Z1 (amami and honami) will be up later today.

Beware: anyony who uses separate recoveries: You will have to update your recoveries, else installation will fail!

Offcourse, I will make sure recoveries are available.

I know it has been a while. We did a major shift in devices in the sonyxperiadev last month. Now it is ready to test omnirom
[Xperia Z1 Compact Original Android Development] CLINTZ9:
Hey

Any idea how to fix sdcard links ?
[Xperia Z1 Compact Original Android Development] erikcas:
can you be more specific? I donot experience any problems on that
[Xperia Z1 Compact Original Android Development] erikcas:
Download new recovery here

Latest omnirom amami (27-02 build) download here

Please give feedback here.

Monday I will cleanup the first post, with updated working / not working list, need your feedback on that
[Xperia Z1 Compact Original Android Development] p@to:
[MENTION=650622]erikas[/MENTION]

Could you explain in few step installation?

I'm confused about recovery

Many thanks for your work
[Xperia Z1 Compact Original Android Development] levone1:
New build still 5.1? What's new? Any plans for 6?
[Xperia Z1 Compact Original Android Development] Ænimal:
It is 6
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
i've installed 6.0.1 build and it's not bad. mobile data working, wifi working, bt, laggy but working, camera laggy but working, without root(you have to flash supersu.zip, i flashed 2.46), gapps requires clean instalation(you must perform wipe data, if you used this rom, before install gapps), this rom haven't all features of android 6.0 , for me twice lg and reboot, and screen powered off many times, i had to lock and unlock screen to getbit working.. that bugs i found maybe there are more bugs, mavbe less..

Wysłane z mojego Xperia Z1 Compact przy użyciu Tapatalka
[Xperia Z1 Compact Original Android Development] levone1:
Sounds like Omni's the first to get mobile data working. I'll try it out. I noticed the same thing with gapps on all MM ROMs so far. Seems like an issue with /data - seems like it works differently than lp...
[Xperia Z1 Compact Original Android Development] Ænimal:
Flashing supersu 2.46 rooted your marshmallow system??:confused:

Could you provide a screenshot, please? (I would really like to know how to root this ROM, but afaik mm wasn't supported until around supersu 2.52..)
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
now i downgraded to stock 4.4, i want stable version for daily usage, but really. i've flashed v2.46 and in settings i saw supersu interface
[Xperia Z1 Compact Original Android Development] Ænimal:
Ah, ok. That doesn't necessarily mean you had root access (which is highly unlikely).

EDIT: I wouldn't believe it if I hadn't seen it myself, but supersu 2.46 does work in order to gain root access on experimental omni 6.0.1 (and no other version worked for me). I still wouldn't recommend it, because I only installed one app that requires root and although su prompt showed up, I didn't investigate further and I don't wanna have to rely on 'ancient' su binaries..
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
i had root accces... i know this, because i used titanium bakcup to restore my apps, and it works
[Xperia Z1 Compact Original Android Development] levone1:
Confirmed here... I originally flashed 2.6, which worked for me for AOSP MM, but didn't work here. 2.46 working well.
[Xperia Z1 Compact Original Android Development] erikcas:
all, thanx for feedback. I have homework again :P

One question, any strange behaviour in backlight on panel?
[Xperia Z1 Compact Original Android Development] levone1:
It auto-updated to 2.65 today...