yashsingh1/xdaforums huggingface dataset:
[OnePlus 2 Q&A, Help & Troubleshooting] Kirahvi:
https://forums.oneplus.net/threads/bad-audio-quality-via-headphone-jack.367320/

What version of OOS do you use? Updating seems to be the solution for some people.
[Samsung Gear S2] Zenoran:
Looks really sharp with a black metal band.

View attachment 3549384

https://www.amazon.com/gp/aw/d/B005EJFWRI/ref=ya_aw_od_pi?ie=UTF8&psc=1
[Samsung Gear S2] kornelius1982:
Looks good, but would be better with glossy finish band like watch.
[Samsung Gear S2] ram3n:
To me, the best is a full black ceramic band. So much premium together with our Gear S2. :D
[Samsung Gear S2] sefrcoko:
Nice choice on the strap! Looks great! :)
[Xperia Z1 Original Android Development] zhuoyang:
DISCLAIMER

Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.

DOWNLOADS

ROM - 02/27/2015

Recovery

OLD (5.1.1)

ROM - 11/18/2015

TWRP (for Updated TA)

boot.img with TWRP

BUGS

Buggy camera

Test and report back

SOURCE CODE

Kernel

Device Tree

Rhine Board Tree

CREDIT

erikcas - Developing and building this ROM

jerpelea

OmniROM Dev team

FXP Dev team

etc

XDA:DevDB Information

OmniROM, ROM for the Sony Xperia Z1

Contributors

zhuoyang, erikcas

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

ROM OS Version: 5.1.x Lollipop

ROM Kernel: Linux 3.10.x

Version Information

Status: Testing

Created 2015-11-20

Last Updated 2016-02-28
[Xperia Z1 Original Android Development] erikcas:
beware, the camera is an (partly) opensource development preview solution.

That is the "bad" news.

The good news is that we never had an opensource solution before this. Except a hacky closed source solution.

It can only get better from here ;)
[Xperia Z1 Original Android Development] optimumpro:
Guys. Your TWRP won't have brightness control, which results in overheating. You need to change max brightness from 4095 to 255 in rhine omniboardconfig. This was merged by Slimroms in August...
[Xperia Z1 Original Android Development] erikcas:
Thanx for reporting. I have no ability to test on honami, I will make this device specific instead of platform specific.

edit: see here and here

Thanx again
[Xperia Z1 Original Android Development] optimumpro:
The brightness value is the same for all rhine devices...

By the way: Does Omnirom have Layers?
[Xperia Z1 Original Android Development] erikcas:
tested 255 earlier on amami a while ago as I read about this issue before. And that was no good. I couldn't see anything on my screen in daylight. Besides from that, I have no heating issues in twrp. I.e. I leave twrp asap always, as I hate to carry around a device in recovery mode all day. It drops too many functionalities for my phone I use it for, like mobile networking.

So, as I am in twrp for not more then 5 minutes I think it is impossible for it to overheat. And I think the auto dimming of the screen after a minute of inactivity also prevents overheating

can you be specific about layers, it can mean multiple things. And I remember you asking this somewhere else before

edit ph***, the brightness remark made me review my notes :P I have to retest that on amami, it maybe a case of a screwup with yukon M2 here. Anyway, good to bring this to attention
[Xperia Z1 Original Android Development] optimumpro:
Layers as a theme engine. If I asked before, I would know the answer. :)
[Xperia Z1 Original Android Development] tadeas482:
Could you build a clean aosp as well please?
[Xperia Z1 Original Android Development] erikcas:
http://xdaforums.com/omni/development/planning-theme-t3096423
[Xperia Z1 Original Android Development] onestyle007:
Just flashed and started Manual camera compatibility test app from playstore,and it showed that our device now supports all manual settings,even raw support.
[Xperia Z1 Original Android Development] caki25:
Had it flashed, it felt awesomely smooth, fast s hell, booted in a few seconds... Camera was a said in op.. I just lost root and recovery so had to reflash kernel with recovery... Otherwise hell of a job with the ROM... :) thank you ;)
[Xperia Z1 Original Android Development] Ohhdayumm:
what are the features included in this ROM?
[Xperia Z1 Original Android Development] LSD DREAMER:
I'm hot booting recovery at the moment. What kernel did you use . I don't want a 3.4 kernel again .

Rashr. Is pushing recovery to fota partition but ROM/kernel does not seem able to use it .
[Xperia Z1 Original Android Development] drakonizer:
Another 3.10 kernel that doesn't seem to work with my device. I must mention that I have an aftermarket display. It would be great if the ROM had a recovery, so that I could post the last kmesg. [MENTION=985241]erikcas[/MENTION]
[Xperia Z1 Original Android Development] caki25:
I changed the kernel to get restore a backup... :) But I will definitely try again later. Agreed with the recovery, I tried optimumpro's fota recovery, but was not able to boot into it.
[Xperia Z1 Original Android Development] erikcas:
Can you upload a dmesg from stock?

As early as possible from boot.

If you have an aftermarket display that works on stock, the display has to be defined in the stock kernel to. I need to see how it is inited on stock rom. If it is I will find it and make it work (oops.. no guaranty offcourse, but will do my outmost)

edit: recovery will be up in 20 minutes in this post

edit 2: download honami TWRP here (should be working, but not able to test...)

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Original Android Development] erikcas:
the kernel has not compiled the recovery "incompiled". I use updated TA partition for opendevices which allows a permanent recovery to be flashed to a "real" recovery partition, which you can enter (after updating TA and flash recovery) by powerup device by <voldown> + <power> keys at the same time when device is turned off.
[Xperia Z1 Original Android Development] SuperLamic:
wow really good rom. Just a few things:

- green videos were even on 5.1? I thought that it was caused by 6.0. Never mind, can you use new adreno binaries in next build (maybe there are some for 5.1, but it's worth try https://github.com/alviteri/vendor-sony-blobs/commit/11f24412c2e3b4b5531f2fa061fc2a0576933d2a )? Now I'm trying to push them to my phone and I'll see if it fix that

- some graphics glitches were present after first boot but they're gone, so I don't mind it

- camera is "somehow" working, but as OP mentions it isn't usable and it making weird sound on camera init (I should better not use the camera, I don't want to break it :D )

- superb freq scaling - my phone heats I think even less then on tweaked stock :)

edit: Also I used nut's ramdisk recovery and it's working :) link: http://nut.xperia-files.com/?ql=89140980648c1ad31bad3aa52f38245a2ef3c5a7

edit2: okay, do not flash this, in recovery there is no screen, it just vibrates and I can't restart my phone even with red button. (I have to wait till it die :D )

OK, [MENTION=985241]erikcas[/MENTION] thank you :)
[Xperia Z1 Original Android Development] drakonizer:
THANK YOU!

I will post the dmesg as soon as possible.

As for the recovery, will it work in this ROM if I flash it to FOTA partition? I have a C6902 so there is no way I can get the updated bootloader for using an actual recovery partition

EDIT: dmesg attached. The adb shell command resulted in 0kb logs so I had to use Syslog, so that might have resulted in a few seconds of delay in capturing the log. Hope it helps!
[Xperia Z1 Original Android Development] erikcas:
about adreno blobs, I have them, but, I am not allowed to redistribute the sources you mentioned.

Camera is a dev preview. It will not break physically.
[Xperia Z1 Original Android Development] erikcas:
dunno. I have a Z1C. Not a Z1 device. Try before you die :P?

alternatively, root a stock rom and get a dmesg from it. I need the stock log to make it work! Or a dmesg from any other working custom
[Xperia Z1 Original Android Development] drakonizer:
I run a customized stock rom right now (with RockZ1 kernel). dmesg has been attached to previous post. Thanks again!
[Xperia Z1 Original Android Development] erikcas:
thanx, now it would be really helpfull if you could test the recovery image.

Can you try to boot it, even when it has black screen and test if you could extract a dmesg with adb?

need a reference ;)
[Xperia Z1 Original Android Development] drakonizer:
Sorry, but the recovery doesn't work, and ADB doesn't detect the device during the kernel bootloop. Any other suggestions? Is it possible to integrate the recovery in the kernel, like some other ROMs?

EDIT: tried booting the ROM and then flashing a kernel with a recovery so that I can get the last_kmsg, but strange thing is, it wasn't there! There was only a kmsg file, which was of the kernel I used to boot the recovery.
[Xperia Z1 Original Android Development] LSD DREAMER:
I don't think its the recovery that is the problem. I think more that the recovery is not receiving the command to start . I'm not sure if its all asop ROMs but the led on top is red . and stays red till you logged in . both stock and cm the led is pink and turns orange ones the recovery is selected .
[Xperia Z1 Original Android Development] erikcas:
Sorry, late answer, 2 young kids, lunch and wife @ work. Cannot clone myself :)

"Oldstyle" recovery here in some minutes.

I will make it standard for bootimage in next builds (also on amami) as many users donot have the new TA flashed.

Edit: Here it is, boot.img with recovery cooked in
[Xperia Z1 Original Android Development] zhuoyang:
Tested this ( with TA update ) it works great !
[Xperia Z1 Original Android Development] drakonizer:
Thanks a lot! But I am still not able to enter the recovery!? I don't see the purple notification light that usually appears in other kernels with recovery included. Is there a special method to boot into recovery, that's different from other ROMs in the 3.4 kernel? I'd like to point out again that all issues are with 3.10 kernel only. All other ROMs boot, but have some weird display issues.
[Xperia Z1 Original Android Development] LSD DREAMER:
What do you mean by with TA update. Just curious.
[Xperia Z1 Original Android Development] erikcas:
well, I donot think the 3.10 kernel is to blame the log you sent earlier, was a log from a working rom, right?

I have another idea I like to check with you. I will pm you in a minute for it
[Xperia Z1 Original Android Development] drakonizer:
Yes, it was from the ROM I use as a daily driver (stock based). I'm not sure if 3.10 kernel is to blame, all I know is ALL 3.10 kernel based ROMs, even ones that used to work before I got the display changed don't work anymore, which is why I came to that conclusion.
[Xperia Z1 Original Android Development] erikcas:
where can I find the thread for that rom?
[Xperia Z1 Original Android Development] drakonizer:
http://xdaforums.com/xperia-z1/development/rom-z5mx-rom7-5-0extended-battery-t3224245

That is the ROM I am currently using, but all other custom ROMs including cm12.1 work without problems. You can check out any 5.1 based ROM that doesn't use the 3.10 kernel
[Xperia Z1 Original Android Development] erikcas:
that thread should be reported, he does not comply with xda rules about mentioning GPL sources in his opening post. I would like to check his kernel sources but that is impossible now.

nah, will find out anyway..
[Xperia Z1 Original Android Development] drakonizer:
You can check out the M5 kernel sources. I can get you logs I had earlier taken with the M5 kernel running on my phone
[Xperia Z1 Original Android Development] erikcas:
Do that please as in Christians sources I can find references

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Original Android Development] erikcas:
Go to developer.sonymobile.com and search for "recovery available for unlocked devices"

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Original Android Development] LSD DREAMER:
What do they mean by genetic Sony software. Sorry if this is a stupid question
[Xperia Z1 Original Android Development] optimumpro:
M5 kernel since the beginning of November causes random reboots on rhine devices. Myself5 says it was fixed, but there is nothing in the sources indicating the same, not to mention that reboots continue. They never occur when the phone is charging, but once the phone goes to sleep, it ends up in a reboot. So, it is impossible to have a logcat of the problem, even if you run it on the device, because the phone would never sleep while logcat is running... My guess is it has something to do with syncing during wakeups...
[Xperia Z1 Original Android Development] Ohhdayumm:
Am i not suppose to have root after i flash and cant get into recovery
[Xperia Z1 Original Android Development] erikcas:
well, I need a logcat of the init of the device, as it seems to crash during boot :)

I think it has a problem with hotplug, reading the dmesg...
[Xperia Z1 Original Android Development] optimumpro:
I don't have any problems during boot. And no problems whatsoever when the phone is charging. It is only when you take it off charger, it goes into sleep and within 5-10 minutes it reboots. As I have said, logcat isn't helpful because while it is connected to a computer, there is never any reboot and if you are running logcat on the phone, it never goes to sleep while logcat is running, hence no reboot either...
[Xperia Z1 Original Android Development] erikcas:
I am not after rebootproblems. I am after a device not booting at all. I need a referencekernel.

Since I just saw that log is from a 3.4 kernel and I need a 3.10 kernel for reference, these sources are useless for reference
[Xperia Z1 Original Android Development] bahmanxda:
Is that version 10.1 or v10.2 ? ive been running the v10.2 since it was released and haven't experienced any random reboots !!
[Xperia Z1 Original Android Development] optimumpro:
I am running my own build. You may not notice if the phone quietly reboots. but I know for sure, because my data is encrypted, and when the phone reboots, I get a password prompt. For you, it would look the same, as though reboot never happened.

But I already have an idea of what is going on: it is probably a one shot sync driver that he implemented: I have already removed several commits and for a couple of hours so far so good... It is a great kernel, but sometimes people try to improve things that are not broken and they introduce new bugs...
[Xperia Z1 Original Android Development] bahmanxda:
My data is encrypted too so id know if it was rebooting. also been checking the uptime . i defiantly had that

problem with v10.1 but no issues with v10.2!
[Xperia Z1 Original Android Development] optimumpro:
Ok. But the way M5 (and CM too) is configured is that you don't have hardware based encryption (meaning, in addition to software, your master key is signed by Qcom's crypto module, which makes it virtually impossible to dump the data for off device bruteforcing. With that enabled in rom and kernel, there are random reboots since the beginning of November.

By the way, it looks like no more reboots with oneshot sync driver removed...
[Xperia Z1 Original Android Development] erikcas:
Wrong thread?

Verstuurd vanaf mijn E6653 met Tapatalk
[Xperia Z1 Original Android Development] LSD DREAMER:
Just to make sure. If I install this rom it will automatically install the recovery to the TA partition. I updated my ta partition now. Not sure how to get recovery on there.

I can't seem to use recovery in kernel because I have recovery on my fota partition.
[Xperia Z1 Original Android Development] erikcas:
no, installing this rom will NOT write anything to your recovery partition.

The installer formats your system partition and flashes the rom to it. And it flashes the included boot.img to your boot partition.

And it will NOT update any TA
[Xperia Z1 Original Android Development] SuperLamic:
hey, [MENTION=985241]erikcas[/MENTION]

is it possible to implement that red emergency power-off button back? I got my phone stucked second time - without adb and I must wait till battery dies. There is no way to power off your phone when it stucks

Thanks in advance
[Xperia Z1 Original Android Development] zhuoyang:
Press the red button near the sim card slot and hold it around 30 sec and it will turn off
[Xperia Z1 Original Android Development] SuperLamic:
ouuu, thanks very much. it used to turn off my phone like after 10 seconds or maybe less. You're my savior.
[Xperia Z1 Original Android Development] Ohhdayumm:
This literally soft bricked my phone but luckily I was able to fix it. After flashing I had no recovery and flashing supersu on this soft bricked my phone. I do not recommend this Rom. :(
[Xperia Z1 Original Android Development] optimumpro:
You probably got a soft brick, because your battery was low, but I don't understand Omni people: they say they make clean roms; they try to limit google and cm bloat all fine with me; they don't want to use cm theme engine, because it is too big; no layers pro, because it is not clean. And yet they intend to use a prebuilt Chromium browser, which is a cesspool of malware and spyware. A browser that has over 10gb of sources that is like a giant octopus/trojan turning your system into a huge exploitable hole.
[Xperia Z1 Original Android Development] Ohhdayumm:
LOL Idk my battery was at 83% when I did it soft bricked for like 3 days cause the phone wouldn't boot and no buttons worked
[Xperia Z1 Original Android Development] LSD DREAMER:
Next time it happens. Press the red button till it goes dead. Then plug in charger. It Wil cycle the startup witch makes you think it's soft bricked. Leave it for 30 min. The unplug the phone press red button again and then press power button. As soon as the boot animation starts you can plug back in the charger again. Phone on and charging. Took me awhile to figure it out.
[Xperia Z1 Original Android Development] Ohhdayumm:
hmm i never really did it that way. I charged the phone it just kept giong to sony logo rebooted with red lights flashing until it randomly booted up then i got lucky and was able to get into download mode to flash back stock rom. before that the phone was unusable and the buttons dont work just flashing red lights even the dedicated rreset button doesnt work LOL. hopefully this wont happen again :)
[Xperia Z1 Original Android Development] LSD DREAMER:
At first I also thought the red button doesn't work and out of frustration I just kept it in and eventually it went of.

If I can I charge my phone. At work it stays on charge unless I leave the office.
[Xperia Z1 Original Android Development] erikcas:
Hi All,

it has been a while. Not that we took vacation, in fact we have been very active.

In case you you did not notice, in the meantime, honami is now in the omnirom repos with marshmallow branch.

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 Original Android Development] erikcas:
Download new recovery here

install with

fastboot flash recovery recovery.img

(on some systems you need to be root for that)

Former recoveries WILL give errors on install!

Latest omnirom honami (27-02 build) download here

Please give feedback here.
[Xperia Z1 Original Android Development] tajimura:
[MENTION=985241]erikcas[/MENTION], changelog?

Отправлено с моего C6903 через Tapatalk
[Xperia Z1 Original Android Development] drakonizer:
Just tested the ROM. Everything seems to be working (FYI old recoveries work fine, I flashed with TWRP 2.8.6.0). Front camera is almost completely stable and rear camera has improved a lot (still a long way to go though!). Overall, very stable and could be a daily driver for anyone who doesn't care much about then rear cam quality.

One question though: is the recovery included in the kernel or is the kernel booting from FOTA? I still want to try my luck with MultiROM :D
[Xperia Z1 Original Android Development] topsecret78:
Mobile data is working?
[Xperia Z1 Original Android Development] drakonizer:
Yes it's working.

I would also like to add that there is the issue of the display backlight turning off occasionally, which was present with other MM ROMs for our device...
[Xperia Z1 Original Android Development] zhuoyang:
[MENTION=985241]erikcas[/MENTION]

I've updated the post on the front page, will test it out later
[Xperia Z1 Original Android Development] caki25:
Agreed, very smooth ad snappy. Background light turns off at times, I think it is related to autobrightness. I missed root a bit ☺. And possibly later on a theme engine ☺. Though, the 'dark' theme option for settings was quite nice.

Very good work. Thank you.
[Xperia Z1 Original Android Development] zawy.:
Can you please reupload MultiROM ? Links in original topic are dead. Thanks :)
[Xperia Z1 Original Android Development] erikcas:
all, thanx for feedback. The backligt turning on, is a kernel issue I presume, I also have it on my M2.

Boot image has a combined recovery. In the near future, I want to drop that as we have a separate recovery partition by default
[Xperia Z1 Original Android Development] zhuoyang:
The backlight issue seems to happen more often when the phone heats up , related to thermanager maybe ?

EDIT: I did some troubleshooting and investigation, it did related to thermanager , the backlight will turn off even if it's set to level 1 , setting all mitigation level value to off value (255) didn't fix the problem.

Something related to this file maybe ?

<resource name="backlight" type="sysfs">/sys/class/leds/wled:backlight/max_brightness</resource>

A workaround (not a real fix) is to comment out this code in /system/etc/thermanager.xml

[COLOR="Red"]<!--[/COLOR]
<!-- backlight -->
<configuration sensor="temp-emmc">
<threshold>
<mitigation name="backlight" level="off" />
</threshold>
<threshold trigger="424" clear="412">
<mitigation name="backlight" level="1" />
</threshold>
<threshold trigger="440" clear="428">
<mitigation name="backlight" level="2" />
</threshold>
<threshold trigger="456" clear="444">
<mitigation name="backlight" level="3" />
</threshold>
<threshold trigger="464" clear="452">
<mitigation name="backlight" level="4" />
</threshold>
</configuration>
[COLOR="red"]-->[/COLOR]
[Xperia Z1 Original Android Development] optimumpro:
If you comment this out, you will disable temperature protection. Instead, one can just adjust all values by +10 degrees. It is ridiculous to limit backlight between 42 and 46 degrees.

But most likely, the problem is not related to temperature and is in kernel, which is simply not ready for prime time...
[Xperia Z1 Original Android Development] zhuoyang:
If the level 1 brightness trigger , even if level 1 brightness value is set to same as level off value (which is 255) , the backlight bug will occur.

It's true that it will disable temperature protection but for now it's just turning off the backlight instead of dimming it.
[Xperia Z1 Original Android Development] ReznorNInchNails:
Reboot occured when Facebook Messenger was started while Facebook main application was still installing in Play Store. Fresh install of ROM with minimal GAPPS. I didn't have a chance to catch a log.

Everything other is fine, except camera quality, no lags.
[Xperia Z1 Original Android Development] acidrums4:
I just tried to install this rom with TWRP-3.0 and soft-bricked my phone (unable to mount storage - failed to mount /data (no such device))... Any advice? Thanks! :)
[Xperia Z1 Original Android Development] drakonizer:
I don't know if this'll help, but I tested the Resurrection Remix MM build, which was based off CM sources (02/28), and it didn't have the backlight bug. But it did, in fact have issues with auto brightness not working