yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] optimumpro:
The only way changes get into CM sources is through their gerrit and March security patches are not there yet except for one. You can build something on March 29, but sources, especially for your device could still be for February or earlier. And it is not a question of believing or not. In fact CM has not even incorporated most January and February security patches. The only things they did in 2016 was 2016-0728 and 2016-0821 (both kernel changes, but not our kernel). March patches are marked 2016-08XX. So, they did one March patch, which is 2016-0821 and only for LG kernel: http://review.cyanogenmod.org/#/q/status:merged+project:CyanogenMod/android_kernel_lge_msm8992+branch:cm-13.0+topic:CVE-2016-0821 . That's why they (source developers) have updated the string for March for the entire CM13 source. Now, it is up to individual device maintainers to do the same for each device.

CM has its own views and pace. As a matter of fact, the only thing they have really done was to put in Google stagefright fixes.

But, you can still do it yourself, as I did in Jaguar/Tesla/LiquidSmooth LP roms: go to Google and cherrypick patches into my rom. It takes time though...
[Xperia Z1 Original Android Development] optimumpro:
Thanks for your great contribution to this development thread and XDA community: http://xdaforums.com/search.php?searchid=409220802

Not a good way to increase your post count, spammer...
[Xperia Z1 Original Android Development] zhuoyang:
Gonna piggyback on this thread cause I don't want to open a new thread just for one build

https://www.androidfilehost.com/?fid=24459283995312093

Backlight bug seems to be fixed
[Xperia Z1 Original Android Development] drakonizer:
What's the backlight bug you're talking about? I've actually never had the backlight turning off issue in CM based ROMs, it seems to be there only in Omni and AOSP (Can someone please confirm with my builds?)But CM roms did, in fact, have issues with auto brightness getting reset on every screen lock.

Thanks for the build btw, I cant update for another week or so...

Sent from my XT760
[Xperia Z1 Original Android Development] zhuoyang:
I am talking about the auto brightness bug, it's working fine now :D
[Xperia Z1 Original Android Development] Luncer:
Hello brother

i faced with two bugs in your latest build and other builds

Flashlight turns off automatically after 30 seconds and i cant turn it on with other apps like flashlight+

After install sony music and sound enhancement ( pexomod ) i should lock the screen and unlock it to hear something but in rr latest build its ok also in xperia m nightlies

and auto brightness problem solved in your build

regards
[Xperia Z1 Original Android Development] tajimura:
Just flashed your build (coming from official CM12.1) and already had backlight turning off issue about 7 times in half an hour.

Backlight, not autobrightness. Can I do anything to fix it?

Отправлено с моего Xperia Z1 через Tapatalk
[Xperia Z1 Original Android Development] kentexcitebot:
1. Flashlight: expect random quirks with flashlight on MM until Z1 gets proper support (blobs/libs) for its Camera.

2. Check if you enabled "Sound on Unlock" through Advanced Options in System Settings. If it's enabled already, try disabling AudioFX or remove the audio mod entirely; likely it's the mod to blame.
[Xperia Z1 Original Android Development] Luncer:
Thanks for your reply

I'm main developer of that mod

And I want to fix that at least for me

Audiofx removed automatically after flashing

And now I should enable that feature from setting

Thanks again
[Xperia Z1 Original Android Development] Luncer:
I try your build for 3 day

Unfortunately I faced with auto brightness bug in your build too:(
[Xperia Z1 Original Android Development] drakonizer:
I know my builds have the auto-brightness bug. I was talking about the bug in some MM ROMs where the display backlight would turn off and you have to lock and unlock the phone to continue using it. Seems like it's absent in CM sources. For example, it is present in the latest AICP build, and also in the lastest OMNIRom build.
[Xperia Z1 Original Android Development] Luncer:
Yup

You are right

I see that bug in some of the roms

But i didnt saw that problem in your rom[emoji106] [emoji106]

And do you have any news about new build? [MENTION=5258151]drakonizer[/MENTION]
[Xperia Z1 Original Android Development] drakonizer:
I'm waiting to see if CM merges the latest blobs from Sony which is supposed to bring some camera improvements. If they don't in the next few days, I will merge them manually in my build and release them.
[Xperia Z1 Original Android Development] thipok17:
My simcard

idk why my sim card not detected and I flash Multirom recovery 3.0.0 (idk it support with this rom,bk. Im use Multirom with crdroid ) can someone help me
[Xperia Z1 Original Android Development] drakonizer:
If you have C6902 (HSPA only, no 4g) model, you need to flash the modem files.. Extract them from the latest stock or get the modem.zip from one of the threads here (Google it). Note, the zip is quite old, it's recommended to manually extract the files; but it will work nevertheless.

Also, just a quick update. I seem to have figured out how to update the vendor files. I am building at the moment and will test if all is working as expected, and if it does, I will update the ROM. Also, I will push my changes to my github so that others can use it. Expect the update in 3-4 hrs if all goes well.
[Xperia Z1 Original Android Development] brickhayabusa:
Any notice sir? :3 ·hype
[Xperia Z1 Original Android Development] drakonizer:
I tried building with the limited knowledge I know of CM's vendor repo after updating to the latest blobs. The build booted, but camera was broken. I will have to investigate deeper (or wait for CM to merge, whichever comes first).
[Xperia Z1 Original Android Development] brickhayabusa:
Thnx for ur work :D
[Xperia Z1 Original Android Development] drakonizer:
Update available!

So finally, after days of work, here's an update!

CHANGELOG:

-> Latest v5a blobs from Sony. Camera works much better now, and in my opinion, almost a daily driver.

-> Based on AICP device tree. Thanks to be_mler_ for his work in that tree. This was the easier way to get the new blobs to work.

-> Latest CM sources.

Some info:

-> be_mler_ claimed that RIL wasn't working in the latest blobs in one of his builds, but I find no such bug on my C6902 in this build (with explicitly flashed modem files). So if you come across any issue, please report, and try flashing the modem files from Sony stock ROM.

-> After initial testing (not much) I didn't find the backlight issue, but auto-brightness is broken.

-> Camera doesn't seem to be taking pictures in portrait.

-> The build appears to be butter smooth and I experiences 0 lag when I was testing (no Gapps mind you)

-> Sensors were said to be broken after the latest blobs in other devices, but they are working in this build (proximity and rotation at least). Please share any input you have on the matter.

-> Another extremely minor bug is that the boot logo is slightly misplaced and the bootanimation is smaller than usual. No biggie.

So without further ado, here you go! https://www.androidfilehost.com/?fid=24521665358595558

Enjoy!

I will update the OP tomorrow, along with more details about the camera in the second post. Stay tuned! It is 12:40 AM in my country right now, so I am absolutely tired out for the day.
[Xperia Z1 Original Android Development] tajimura:
[MENTION=5258151]drakonizer[/MENTION], Data connection isn't working on latest build. C6903.

Отправлено с моего Xperia Z1 через Tapatalk
[Xperia Z1 Original Android Development] kentexcitebot:
I can also confirm no data connection on C6903.

Hopefully this fix and kexec will come soon.
[Xperia Z1 Original Android Development] brickhayabusa:
calls won't work too (whats app, skype, messenger, etc.)
[Xperia Z1 Original Android Development] drakonizer:
Are you people able to get a network on your devices? I just got a network and tried some USSD codes and assumed it was working. Data is indeed broken. These are issues with the latest blobs. Let me see what I can do.
[Xperia Z1 Original Android Development] brickhayabusa:
wifi network? or data? :'v
[Xperia Z1 Original Android Development] drakonizer:
Cellular network.
[Xperia Z1 Original Android Development] brickhayabusa:
Won't work too
[Xperia Z1 Original Android Development] tajimura:
Cellular network worked for me, at least USSD (can't test calls/SMS, 'cuz I'm back on CM12.1). No data connection, though.

Отправлено с моего Xperia Z1 через Tapatalk
[Xperia Z1 Original Android Development] drakonizer:
Exactly. Calls don't work by the way. You can't hear the other person and he/she can't hear you.
[Xperia Z1 Original Android Development] brickhayabusa:
For me the calls won't work, if i call any number the call only cuts.
[Xperia Z1 Original Android Development] thipok17:
Yeh call not working 3g not working

auto brightness buggy (In mimd kernel have problem)

BUT

wifi work good in c6902

Better performance

And I know why sony dont make a cam lib. for xperiaz1

because sony dont support andorid 2012 and lover device like my old xperia s
[Xperia Z1 Original Android Development] topsecret78:
Try this rom, i tested and bug not found. My phone xperia z1 c6903

http://www.miui.com/thread-4110896-1-1.html
[Xperia Z1 Original Android Development] zhuoyang:
Let me correct you , they do release camera blobs for z1.

We won't even have a working marshmallow build if they didn't release anything.
[Xperia Z1 Original Android Development] zhuoyang:
Tested it , it's using the v3 blobs (the one with broken auto focus).
[Xperia Z1 Original Android Development] thipok17:
KNOW BUG:(

I found a many bug

Like

1.Restore time clock after rebooted

2.phone performance bug like phone stop working (in 03/11 ver.)

3.restore themed icon to default icon (in 03/11 too)

4.3g and 4g notwork in last build(I tink I need to fix kernel with my pc )

5.cam (bk. Sony dont support xperia z1:( )

---------- Post added at 01:30 AM ---------- Previous post was at 01:29 AM ----------

But I try to fix them
[Xperia Z1 Original Android Development] [Fenix]:
[MENTION=5258151]drakonizer[/MENTION]

Maybe we have a fix for audio bug :D

https://github.com/sonyxperiadev/device-sony-rhine/pull/200
[Xperia Z1 Original Android Development] drakonizer:
Thanks for the info. Apparently it works. I will update asap.
[Xperia Z1 Original Android Development] avirale:
good could share the download link

I could not access
[Xperia Z1 Original Android Development] drakonizer:
Its basically my old ROM with newer cm sources. New blobs haven't been merged, which is why there are no bugs.
[Xperia Z1 Original Android Development] drakonizer:
NEW UPDATE!

Okay guys here's a new update.

Changelog:

-> Fixed calling issues

-> Latest CM sources.

I don't have my device at the moment, but markakash has tested the ROM (Thank you!), and he says there are no bugs so far (doesn't mean there isn't ). All I need you guys to do is tell me if the boot animation size is proper and if mobile data is working.

Here's the update: https://www.androidfilehost.com/?fid=24533103863136286

Enjoy!
[Xperia Z1 Original Android Development] kentexcitebot:
Dumb question, but will kexec features be implemented in the near future (are we waiting for Myself5 to port M5 features to Linux 3.10)?

I'm (almost impatiently) waiting for better hotplugging solutions + undervolting on MM! :p
[Xperia Z1 Original Android Development] brickhayabusa:
the rom does not recognize the SIM card
[Xperia Z1 Original Android Development] drakonizer:
Well according to [MENTION=5970333]markakash[/MENTION] calling was working fine, although I personally didn't test it... Anyone else with the same issue
[Xperia Z1 Original Android Development] zhuoyang:
Can confirm
[Xperia Z1 Original Android Development] kentexcitebot:
I can also confirm no SIM. C6903.
[Xperia Z1 Original Android Development] drakonizer:
Thank you for your reports. As I don't have my device, I couldn't test out the ROM on my own. markakash has a C6902 and calling was working fine, which leads me to believe it's to do with the Modem. I will look into it ASAP and give an update. Thanks again.

Meanwhile, it would be great if someone could test it with the modem files from another rom or a stock rom.
[Xperia Z1 Original Android Development] drakonizer:
Test build is up!

Here's a test build that's supposed to fix data and SIM issues. As I don't have my device at the moment, I haven't tested it, so I would really appreciate some feedback and bug reports.

Remember, this build is NOT TESTED, only for people who are willing to test it. All feedback is much appreciated.

https://www.androidfilehost.com/?fid=24533103863137422
[Xperia Z1 Original Android Development] kentexcitebot:
SIM detection works now, but Data connection is still broken in this build for C6903. I tried the AICP kernel to see if it fixes it (data finally works in be_mler's build), but it didn't. Calling works fine.

Also, CM's bootanimation still doesn't scale properly, but this is fixed by replacing it with something else.

AudioFX is still crashing in this build. Although AICP's AudioFX doesn't crash when launching, the effects doesn't carry over to Youtube, Google Play Music, Apollo, etc. V4A may apply its effects, though there could be a placebo (I was expecting a huge difference from using one of my saved profiles that I had when I was on Jaguar, but I didn't). I'm blaming this on vendor files, but I can be wrong.

Battery drain and wonky charging detection is here in this build, but these issues are also on any MM builds for our device. Phone charges and everything is fine when plugging phone once, but replugging it the second times causes issues like icon not updating or playing a plug sound. The phone does charge though and LED is lit yellow (I saw an interesting "Battery low: 95% remaining" in my notifications).

I'm happy to report that screen flickering out and ghost touches are fixed. They were the worst bugs IMO, really annoying and made my device inoperable.
[Xperia Z1 Original Android Development] drakonizer:
Thanks for the report. I'm uploading another test build with the bootanimation fix and an attempt to fix data. This time it SHOULD work. Please do test and get back to me. Thank you!

https://www.androidfilehost.com/?fid=24533103863137519
[Xperia Z1 Original Android Development] kentexcitebot:
I did a clean wipe of my phone (C6903) before I tested this new build.

Data still doesn't work. Boot animation scaling is fixed now!

Other bugs that I posted above are still here.

I've attached a zip containing kernel, modem, and main logs; hopefully they'll help you locate the problem more clearly.

EDIT: WOW, XDA really sucks these days. Crap amount of ads, trash, and a broken attachment system when using any browser on the phone. For simple things like attaching logs for bug reporting, I'm having EXTREME difficulty sending EVEN ONE log, because of all the garbage, random popups, and ad (videos) loading all over this site. It's almost like they're forcing us to download the XDA app, which they gain even more revenue from. Did I mention it's EVEN MORE TRASH?? I shouldn't have to put an AdBlock on this site to make it stable to use. Shame on the XDA team once again....and sorry, rant over. Zip containing logs are attached below.
[Xperia Z1 Original Android Development] metalrawk:
I installed this build on my C6902. Everything works fine except I can't pull down the quick settings bar. I can pull down the notification bar but cant pull it down further.
[Xperia Z1 Original Android Development] brickhayabusa:
works great, data working too, only the battery bug stay here.
[Xperia Z1 Original Android Development] drakonizer:
Since data is working for others, you might wanna check your APN settings.

Try another clean flash. It should work.

Thanks for the report. Now that the major bugs are squashed, I can look into the minor things.
[Xperia Z1 Original Android Development] kentexcitebot:
That's strange. AICP is the only MM ROM that has working data for me. I'm don't see why APN settings would be different for CM.

"Data working for others" could be C6902 users.

Did you see my logs and determined if there's an issue with modem files?
[Xperia Z1 Original Android Development] drakonizer:
My device tree is based off the AICP device tree, and markakash's RR builds are based off my tree. Which means when data is working for C6903 users in RR, it should work for C6903 users here. And I went through your modem log, there are no errors in it. Maybe you need to set your APN manually. Check in the APNs list if it downloads the details automatically, else set your APNs manually and give it a whirl.
[Xperia Z1 Original Android Development] Yasakbölge:
Is he coming official ROM?
[Xperia Z1 Original Android Development] kentexcitebot:
Finally found the time to enter my carrier's APN settings manually + auto retrieve (T-Mobile 4G LTE).

No dice unfortunately :(

Perhaps [MENTION=7304812]be_mler_[/MENTION] can give some insight to this issue? Afterall, his ROM is the only MM build that has working data for me.
[Xperia Z1 Original Android Development] thipok17:
Oh hey !

I will try to edit ur lasted kernel with my (downloaded) tool :D
[Xperia Z1 Original Android Development] thipok17:
Thx :D

Thx verry much :D

---------- Post added at 03:00 PM ---------- Previous post was at 02:06 PM ----------

And thx for new update :D

Wifi work good

Faster performance

Better camera (!!!!!!)

Thx for all (only 3g not working :()
[Xperia Z1 Original Android Development] thipok17:
Cheer drakonizer
[Xperia Z1 Original Android Development] thipok17:
.

Quiet
[Xperia Z1 Original Android Development] drakonizer:
Update available!

Speaking of quiet, here's another update!

CHANGELOG

-> Kernel compiled with UBER-TC v5.2

-> CM upstream changes

-> Added the new Gello browser from CM.

-> Update thermanager.xml as per the work by [MENTION=5075064]optimumpro[/MENTION] . Thanks to him, I think I've fixed the phone not charging issue. The phone charges all the time, but the charging indicator is bugged, and the phone fails to detect AC Power supply (phone always thinks it's charging via USB, this is a bug in all MM ROMs)

Downloads are in my AFH folder linked in the OP

Enjoy! And report any bugs that you found.
[Xperia Z1 Original Android Development] scope98:
Hey,

Can you post some sample pictures? And is the Camera reliable, or does the camera just work sometime?

-Scope 98
[Xperia Z1 Original Android Development] drakonizer:
Here's a sample image in good daylight.

Camera is not reliable. If you need it, stay on Lollipop
[Xperia Z1 Original Android Development] kentexcitebot:
It doesn't seem like the charging issue is fixed yet in your new build. Unplug-replug still causes the phone to get into its strange state with phone not detecting charger. Correct me if I'm wrong, but while in this "glitched" state, the phone charges much slower. Do you need any logs to help troubleshoot?

Brief summary of the update: Camera state is exactly the same as the previous build: laggy, broken video/zoom, bad focusing and exposure. This build crashes very occasionally; it seems to crash more often when I load up a video (hw decoders are probably still glitchy), and graphical artifacts are found when loading a YouTube video through Chrome. Audio also clips out on long YouTube videos. NFC isn't working, though this is an issue across all MM ROMS for this device. I still prefer TugaBrowser over Gello, but Gello is definitely better to use and a massive improvement over the previous build's AOSP browser. CM glitches like flickering graphics when tapping on a secured lockscreen and Recents cards having no animation are fixed, and UI smoothness has improved. Overall, very solid build, much more stable than the previous one. Keep it up! :good:
[Xperia Z1 Original Android Development] thipok17:
Quiet again
[Xperia Z1 Original Android Development] drakonizer:
As I mentioned, the phone fails to detect Ac input and always charges at the USB rate, which is slow (500mA). This is always the case, even in the "glitched state". I'm working on trying to fix it, but my screen broke a few days ago, so I have to get it replaced before any more testing.

No updates from Sony => not much improvement => No useless update.
[Xperia Z1 Original Android Development] thipok17:
I have installed a walkman on this rom and sound g8!

(I mean audiofx work and I can use DAC)
[Xperia Z1 Original Android Development] thipok17:
Is here quiet

:(:(:(No update D:
[Xperia Z1 Original Android Development] omid_pc:
hi

it s great rom

but i have problam with network

it says to put sim card in but it is in

i try couple time to remove and put it back but it dose nt work

plz help me i love this rom i dont want to change it
[Xperia Z1 Original Android Development] IgorEisberg:
I can confirm that. SIM card cannot be detected. Using C6902 CM13 builds 2016-05-07 and 2016-05-21.

Reverted to official CM12.1 and everything works there. Did I miss something?
[Xperia Z1 Original Android Development] benplay64:
Did you flashed modem files?
[Xperia Z1 Original Android Development] IgorEisberg:
Hmm where do I get those?

Do you mean the files in "/system/etc/firmware"? I haven't, but where would I get these files for Marshmallow?

EDIT: Aha. I flashed the ones from the stock Lollipop firmware, and now SIM is detected. Issue solved! Thanks for the hint.
[Xperia Z1 Original Android Development] drakonizer:
I know you've solved the issue, but just to bring some clarity:

Official CM has C6902 modem files included in the zip and will flash them automatically if it detects that the phone is C6902 from the build prop. Unofficial ROMs in general, don't bother including such features.
[Xperia Z1 Original Android Development] IgorEisberg:
I'm looking inside the CM12.1 ZIP right now, and I can't see those C6902 files you speak of.

Another issue I couldn't figure out is the 5GHz WiFi connection. I had to go to the WiFi Settings and change "WiFi country code" manually (which looks like nothing is selected there by default) for it to show my 5G connection. Moreover, when I select my region code "Israel/Singapore", I still can't see my 5GHz connection which is on channel 64. It shows up when I select "United States" for example. Yet, the selection eventually resets to 'nothing selected' after a while and after a reboot, so I lose my connection all the time.

EDIT: Nevermind, went back to my custom stock-based ROM, the only ROM that works perfectly.
[Xperia Z1 Original Android Development] Praidas:
It's a great rom and my device was never as smooth with other roms however i have few little problems:

1) If I watch youtube for longer periods device turns off without any notification, goes straight to "SONY" logo for some reason;

2) Can't remove anything through Titanium backup PRO;

3) When i tap the screen it seems like it ignores any kind of touch and it works again after reboot;

4) Freezes and restarts when I try to access more than few 1080p videos through galery;

These are few nuisances that I noticed over few days of using this rom, other than that i completely fell in love with it.
[Xperia Z1 Original Android Development] thipok17:
Sony no lib

We no deam and Update

R.I.P xperia z1 6.0.1 lib and blob

:crying::crying::crying:
[Xperia Z1 Original Android Development] drakonizer:
Hey everyone,

I know there haven't been any updates for quite a while now (in fact this is the case for most MM ROMs here). This is mainly because there have been little to no improvements in the sources. Sony has moved to the 1.3.3 kernel version for open devices and it doesn't have camera implementation yet. A new blob release with camera support for the new kernel is due any day now, and I will be posting an update soon after that, so stay tuned!
[Xperia Z1 Original Android Development] MiniKoelkast:
What recovery do I get?

what recovery do I get when I flash the boot.img? I now have a official cm12.1 installed with the cynogenmod recovery. Can I just use that recovery to flash your unofficial cm13 and gapps?