yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] markakash:
I see people are having issue flashing the build. So here r the instructions for previous build and for the upcoming build!

1. Factory reset.

2. Flash the rom.

3. Flash gapps.

4. Flash modem.zip (Only for c6902 needed.

5. Flash the boot.img which i provided via fastboot.

fastboot flash boot slim-boot-19052016.img

6. Just reboot.

Btw here a teaser of 10.3 DU. (See attachment below).

Will be available in few hours :)

#StayDirty
[Xperia Z1 Original Android Development] caki25:
TWRP 3 is capable of flashing img files too :) if you have that one you can just select flash image on the lower right and flash it directly... it will all you to which partition you want to flash it. Select boot and go for it.
[Xperia Z1 Original Android Development] drakonizer:
It would also be helpful if you flash the latest update and reboot first, and see if the kernel boots for you...if not, you can go ahead and flash the boot.img fix provided. If it does boot for you, please report. Even otherwise, please report if you tried.

Thanks!
[Xperia Z1 Original Android Development] zawy.:
https://www.androidfilehost.com/?w=file-thanks&fid=24580943222146750&mid=98&download_id=7ieg27slgt7f1u64mq2c842pv6&tid=1465673067&hc=b00e15093e235955d433539d2b30cb4300c320a27485ab233ea46fb18462c54a

10.3 :D

downloadiiing
[Xperia Z1 Original Android Development] hasnol89:
Try clean flash with and without provided boot img, both boot fine for me. But still sim card not detected. Is just me or anyone else? Du10.2 didn't try 10.3 yet
[Xperia Z1 Original Android Development] zawy.:
10.3 no simcard
[Xperia Z1 Original Android Development] markakash:
huh? are u using c6903 or c6902? if ur using c6902 then flash the modem zip. And if it still doesnt solve then please provide logs.

btw [MENTION=6999228]hasnol89[/MENTION] did the rom boot without flashing the boot.img i said earlier? and r u using c6903 or c6902?;)
[Xperia Z1 Original Android Development] zawy.:
c6903

http://pastebin.com/T3nv6zrR
[Xperia Z1 Original Android Development] hasnol89:
[MENTION=5970333]markakash[/MENTION] yup, for me, phone boot without slim boot. On 10.3 build too. I'm using C6903
[Xperia Z1 Original Android Development] drakonizer:
Weird isn't it? I assume the boot.img issue is localized to C6902 only. If anyone with a C6902 can test out the included boot.img, it would be really helpful in pinpointing the issue. So far, myself and markakash (both C6902) have issues with newer kernels.
[Xperia Z1 Original Android Development] santeria27:
10.3 working baseband?? I have c6903 thx for infos!
[Xperia Z1 Original Android Development] Li_Kai:
the boot.img include twrp?
[Xperia Z1 Original Android Development] topsecret78:
No. You must have twrp 3.0
[Xperia Z1 Original Android Development] madalone:
hi, i have twrp 3 installed but when i flash the rom i get a bootloop..what am i doing wrong?
[Xperia Z1 Original Android Development] nardow:
Hard to tell without a logcat.
[Xperia Z1 Original Android Development] madalone:
too true. went back to 5.1 now though ^_^
[Xperia Z1 Original Android Development] Li_Kai:
I now use the ROM is 5.1.1?when I flash the DU?and then flash the twrp3.0?the phone cannot enter recovery.what should i do?
[Xperia Z1 Original Android Development] madalone:
i had the same, that's why i went back to 5.1. now you'll have to flash the recovery.img with fastboot
[Xperia Z1 Original Android Development] markakash:
Surprise!Surprise!New Update! Dirty Unicorn 10.4!

Changelog in Settings/About/changelog/official

changelog from me:

- r_54 merged

- c6902 not booting issue fixed. Thanks to Alin.

- Some kernel improvements. Its really improved. (Z1 scored higher than my nexus 5x on android N.) see attachment.

Download link: https://www.androidfilehost.com/?fid=24591000424945246

As Always Enjoy

#StayDirty.
[Xperia Z1 Original Android Development] gibbykshmr:
Thanks for the update. Do I need to flash the boot.img this time around?? My device is a C6902
[Xperia Z1 Original Android Development] brickhayabusa:
thnx ash, you used the new sony blobs? :D
[Xperia Z1 Original Android Development] markakash:
[MENTION=5311577]gibbykshmr[/MENTION] yes it has been fixed. No need to flash boot.img.
[MENTION=5966406]brickhayabusa[/MENTION] no i didnt use it as its for the new kernel 1.3.3. And that kernel is still in experimental and it doesnt contain the camera.
[Xperia Z1 Original Android Development] santeria27:
Mega thx!! I love this ****! Special thanks from german guy!! :)
[Xperia Z1 Original Android Development] optimumpro:
This is not bragging, but here is the screen shot of Geekbench 3 on Jaguar 5.1.1 with modified M5 kernel:

Single Core: 998

Multi-Core: 3173
[Xperia Z1 Original Android Development] markakash:
hahah...of course because its lollipop and its way more stable. Those score are quite high. :) On stock rom also I get around 30k with Dstriker rom and advanced kernel. I just wanted to compare it to nexus 5x which has snapdragon 808 :)
[Xperia Z1 Original Android Development] Bigrrd225:
Is camera working yet??
[Xperia Z1 Original Android Development] ahmedzetm:
what about camera
[Xperia Z1 Original Android Development] optimumpro:
All custom roms for Z1 are based on CAF. Please stop spamming the board...
[Xperia Z1 Original Android Development] ahmedzetm:
thanks due im sorry
[Xperia Z1 Original Android Development] malser7:
Hi guys! I heard we could shoot RAW using this amazing Dirty Unicorn rom and with camera fv-5. If it's impossible, just tell me please, is the camera on this ROM as good as on LP stock? Camera for me is very important part of my phone and i would get highest quality photos from my Z1 :) And i have else one question, what about stability and battery life? Is it good and usable for everyday (i'm really hoping that's so :) ) or no?

p.s. Sorry for my terrible english :o
[Xperia Z1 Original Android Development] gauravbhakuni90:
Try after 1 year and maybe you'll have that good camera you want in marshmallow.

Answer to second question usable for me l?? Absolutely but for you, I don't know.
[Xperia Z1 Original Android Development] malser7:
Thanks for the answer. Probably i will stay on LP :)
[Xperia Z1 Original Android Development] adankk:
Thanks for you work, one question, the camera can take photos and video?
[Xperia Z1 Original Android Development] MegaShIzoID:
sim not work on my C6902
[Xperia Z1 Original Android Development] brickhayabusa:
the charging bug still there

any recomendation?

Edit: was my charger xD :V
[Xperia Z1 Original Android Development] DeeditTotoi:
sorry for stupid question..this rom can flash or not on xperia z1s?..rite now iam using stock tmobile 5.0.2 +root+ xzdualrecovery..plz guide me if can...
[Xperia Z1 Original Android Development] brickhayabusa:
go to xperia z1c forum
[Xperia Z1 Original Android Development] DeeditTotoi:
all rom z1c can flash to z1s sir?seriously
[Xperia Z1 Original Android Development] zhuoyang:
no you can't flash z1c rom to z1s.

I am not sure z1s is able to unlock bootloader , if you can't unlock bootloader , you can't flash any cm/asop/rom with custom kernel.
[Xperia Z1 Original Android Development] markakash:
Hey Guys. I have been/am on vacation since few weeks as my school has finished. Wanted to provide you some good news. I will do a final(or maybe not the last) build which will include august security patch, as this week Android N will come out probably. So all roms will move to Android N. New build with August security patch will land within this week, so stay tuned.

Regards,

Akash
[Xperia Z1 Original Android Development] Aaskereija:
Do you think N will do better for Z1? I fear, that its getting more worse than MM
[Xperia Z1 Original Android Development] optimumpro:
So, MM didn't even get out of a bad alpha state and everyone is ready to move to N? Starting from zero again? LOL.

Sony "open" device development couldn't cope with bugs on 3.10 kernel and they are moving to another kernel with more bugs? Another LOL.

I think we are witnessing the end of custom roms for Sony devices. All of them, not only Z1. Look at Z2/Z3/Z5 and X threads: there is not one stable custom rom above LP 5.1.1. 3.10 kernel and "Open" camera have killed all development. Thank you, Sony, for DRM protected libs.

I am ready to move on to another device. And it ain't gonna be Sony...
[Xperia Z1 Original Android Development] markakash:
I talked to Alin and he said that the new kernel i.e 1.3.3 has some huge camera inprovements and bug fixes. Rightnow its having some header issues on msm8974 device. They are gonna fix it and then they will release it with some new binaries. Ur right that mm roms are in beta/alpha but we should thank the devs who are trying their best to make it stable. About n spoken. David is alreading planning to work on N and the new kernel that may be 10.18.xx. we will see how it will work.:)
[Xperia Z1 Original Android Development] optimumpro:
"They are gonna fix it"

The first rule of thumb is: if it isn't broken why fix it? And 3.4 kernel is NOT broken. Second, even if they might fix something, in a few weeks when N comes out, they will have to start from ZERO.
[Xperia Z1 Original Android Development] drakonizer:
"We’re also getting ready for Android N by ensuring our devices can build on Google’s master branch. We’ve already accounted for several changes so by the time Android N is released we will be ready for it." (Taken from fxpblog)

I guess they want more stuff to be opennsource, maybe for publicity reasons. Anyhow, as long as things start to work from N onwards, I wouldn't mind this wait.

Also, if you think there's a workaround for the DRM limitations, why dont you do it? (I don't mean any disrespect). Seems like that's the way to prove the point you've been trying hard to make all these months.
[Xperia Z1 Original Android Development] caki25:
hey guys, have you experienced any sudden power draws? After install the phone did a random reboot and drained over 50% of battery to 0... I had to charge it again to be able to boot again ..
[Xperia Z1 Original Android Development] optimumpro:
That's a classic symptom of a dying battery. Replace it. There is no other cure...

---------- Post added at 11:47 AM ---------- Previous post was at 10:52 AM ----------

Show me one FXP rom (except for FXP_CM versions) on any android for Z1 that was stable and had a fully working camera. None. "They want opensource". Everyone wants open source, but with Sony, we are not even getting proper binaries.

"Workaround for DRM" You are missing my point. MM is bad alpha and it is already going away being replaced by another bad alpha. So, if I spend days on implementing features that no other rom has, I am not going to waste my time on doing the same on half baked OS. Notice that I started Jaguar in August 2015 when LP 5.1.1 became pretty stable. MM never had a chance and I no longer have to argue about it: it is going to the trash can where it belongs. I have no doubts N will follow M...
[Xperia Z1 Original Android Development] drakonizer:
So if you think MM is not worth it, then why are you complaining that Sony isn't making it stable?

Plus I hear new blobs are on the way with a MUCH better camera, so they can prove you wrong in a couple of days.

Either way, I agree with you to some extent. Marshmallow didn't deserve a version number increment. Newer Android releases are decreasing in quality, but staying up to date is important for API purposes, if you're a developer.

What they should do is get a way to bring quicker updates and decrease the fragmentation.
[Xperia Z1 Original Android Development] optimumpro:
I am not complaining that Sony isn't making MM stable. My point is: Sony isn't making ANYTHING stable. Sony doesn't want anyone to have stable custom roms. The choice is: Stock vs deliberately crippled open source. And in the case of Z1, they want you to buy another device.

"I hear new blobs are on the way with a MUCH better camera" I call this usual BS that's been coming from Sony for years. You don't move from half baked things to newer half baked things. No other community works like this...
[Xperia Z1 Original Android Development] drakonizer:
I may be wrong, but I don't think any other device has an open camera. They have to do this while protecting their IP, which means only Qualcomm stuff and calibration has to be done from scratch. So I kinda understand the time they're taking, but we can only say if it was worth it after camera becomes stable.

If they manage to get the Xperia devices' sources to build on AOSP master branch with minimal modifications, and have open drivers (like the camera), then newer versions of Android will come quicker, so this is a one time wait.

Also, I don't understand what other manufacturers (not Google Nexus) do that Sony doesn't for community support. The only issue would be DRM for the camera, but other than that, they're at least not doing anything to hinder the work of independent developers.
[Xperia Z1 Original Android Development] optimumpro:
You ARE wrong. If you say Open Camera and you mean an app, then there are plenty of open source camera apps including vanilla android, cm and others. If you mean camera implementation, then it is not open by any means, as it contains binaries.

No other manufacturer does this on any operating system. They are obviously entitled to keep their blobs private, but they do publish them (binaries) to be used by anyone. Sony doesn't do this. Instead, it publishes deliberately crippled blobs, while protecting the good ones with DRM. In other words, they have dumbed down their sources and build blobs based on these dumbed down sources. Then they publish a crippled Open Camera and give it to Jerplea and Co, who bust their behinds to make them better, but they never will, because they can't use the good blobs. What are blobs? Nothing fancy, just the addresses to hardware features, and if you don't have the proper addresses, you are blind. And if you are blind, you can't ride a bike. Well, you can, but you will always end up smashing things and on the ground. And you will keep saying: we are moving to a new and hugely improved bike...

If this is not hindrance, then what is?
[Xperia Z1 Original Android Development] markakash:
New Update as promised! Dirty Unicorns 10.5 for Honami is live.

- August security patch.

- r_62 also merged.

Download Links: https://www.androidfilehost.com/?fid=24591000424952363

As always enjoy!

Stay Dirty!
[Xperia Z1 Original Android Development] 1Hax:
Very big thanks for job you've done here!
[Xperia Z1 Original Android Development] optimumpro:
I have great respect for your efforts to bring DU to Honami. I also commend the DU team.

But one thing neither you nor them can do: mislead people into believing that August security patches are in the rom. THEY ARE NOT. Just because the little line in settings says so, doesn't mean they are there. For example, there are several commits in platform/frameworks/av related to Media Server/Libstagefreight vulnerability and there is none of those in DU Gerrit. Watch for yourself: http://gerrit.dirtyunicorns.com/#/q/project:android_frameworks_av They have one commit dated August 5 related to screen recording and the rest go back to July 27. Google August security patches were not there in July. I know what I am talking about, because it took me almost a day to manually incorporate August security patches and then do test builds. To no surprise, the rom didn't build at the beginning, which required more work...

I understand you had no idea whether DU had incorporated the patches in the rom (they clearly did not), but you should check their gerrit first.

Again, I thank you for bringing DU MM rom to Honami...
[Xperia Z1 Original Android Development] markakash:
[MENTION=5075064]optimumpro[/MENTION] Thnak you for guiding me. I am not a pro dev. thats why i dont know how to merge them manually. I would be really grateful if you could teach me. If you have time. And thanks for all your work.

I m sorry for misleading you all people. I would like to merge them manually but i dont know how so i am sorry. I just posted what i saw in DU repo. I am sorry for that.
[Xperia Z1 Original Android Development] 1Hax:
Every boot i receive message that my vendor image out of date. Didn't find any solution. Camera won't start from hw button. Btw NFC don't work for me.
[Xperia Z1 Original Android Development] optimumpro:
They'll probably merge those in a few weeks. If you want to do it yourself, you have to have some knowledge of C++, Java and plenty of time. You need to go to sources (click on links in Google Security Bulletin), then find the corresponding place in your rom and put those changes in. And if the rom (DU) sources are not synced directly from Google, then there might be differences, conflicts that should be reconciled. Plus, if you do it manually, you might have difficulty with subsequent syncing the sources with DU github: you'll have an warning that syncing can't proceed until you revert the changes. Manual changes only make sense if it is your rom...
[Xperia Z1 Original Android Development] markakash:
[MENTION=5075064]optimumpro[/MENTION] oh. Ok then i will release a new build after few weeks with full August Security patch. And yes it will conflict. So i will not merge them manually. Its great that u merge them in ur Jaguar rom.
[Xperia Z1 Original Android Development] brickhayabusa:
Hey [MENTION=5970333]markakash[/MENTION] sonny posted new blobs, can you add it to ur rom? Thnx )0)
[Xperia Z1 Original Android Development] optimumpro:
The link redirects to the old June binaries. But not to worry, they'll have a meeting of their leading software engineers and, I have no doubt, will fix that little glitch... :)
[Xperia Z1 Original Android Development] drakonizer:
The file you get to download from that link is the zip containing the new blobs.
[Xperia Z1 Original Android Development] roulley:
Hello. this rom is awesome! But I had a charging problem. My device won't charge when I plug in my charger. I thought it might be my device or the charger but it was charging fine when I switch it to LP stock rom. Is it my fault or is it a bug?

Thank you :)
[Xperia Z1 Original Android Development] jageks:
generally looking roma who will match sotck system battery capacity, 99% lag free, and efficient camera,,,,, and such a question comes to mind for those who use this rom is suitable for upload from?
[Xperia Z1 Original Android Development] Mr saxobeat:
Hello

Hello,

I'm a newbie

I have to be on latest stock rom/kernel before flashing this rom? And please what is not working currently?WiFi?data?camera? And is the battery life stable?
[Xperia Z1 Original Android Development] gauravbhakuni90:
Well as a newbie your first duty is to go back through some pages which will definitely help you.
[Xperia Z1 Original Android Development] Mr saxobeat:
So? I unlocked my bootloader and planning to use multirom and flash the most stable rom..camera doesn't matter because if I really need the camera I switch to stock rom but I don't really know what rom to choose and how to install that multirom thing :p so any little help? :confused: HELP! :crying:
[Xperia Z1 Original Android Development] gauravbhakuni90:
For MultiROM first you have to select a rom with kexec hardboot patch kernel then only can you proceed and i dont know which kernel does it. So you'll have to find that on your own.
[Xperia Z1 Original Android Development] Mr saxobeat:
OK so now I had to replace the stock rom with a rom with a kernel that support that weird thing then install multirom then use the backup of the stock rom as a secondary rom right? :fingers-crossed:

You know? For a newbie i'm pretty good :cowboy: :laugh:
[Xperia Z1 Original Android Development] gauravbhakuni90:
Nope you are still a newbie. Stock rom as secondary is not at all recommended.
[Xperia Z1 Original Android Development] Mr saxobeat:
Really? OK i'm not very good..

So it had to be my main rom? Flash a kernel that supports that patch and then install multirom and then flash the secondary mm rom via multirom right?! Now the question is if flashed the kernel with the stock rom it will stay after the installation of the mm rom? I mean do all the roms use the same kernel? Hmmm :confused:
[Xperia Z1 Original Android Development] gauravbhakuni90:
For the first part yes. For other question please check and ask in MultiROM thread this is not the correct place.
[Xperia Z1 Original Android Development] Mr saxobeat:
Yeah sorry for that

Anyway thanks alot: highfive:
[Xperia Z1 Original Android Development] drakonizer:
Multirom doesn't work with mm ROMs in any configuration.
[Xperia Z1 Original Android Development] malser7:
Hi guys! I have a question about installing of this rom. In flashing instruction i see:

But can i flash rom using latest XZDualRecovery 2.8.26? As far as i know there is lower version of twrp than required in instruction.

P.S. Sorry for my terrible english:o
[Xperia Z1 Original Android Development] beoneself:
Vendor image and other issues

Hi everyone,

First of all, thank you very much for your work ! This rom works very well and its a pleasure to use it.

However I have a few questions and feedback. My phone keeps complaining about a vendor image being not up to date. Is there any solution to update it ?

I also have some issues with the camera. It used to work but since a few days it says that it cannot reach the camera (signal issue or something like that - my system is not english so it's hard to report the exact message).

Another issue I have is about the mic quality in call. Even if the audio is good for me, the people I call complains that they do not hear me well.

And the last issue is about the nfc, is it supported ? There is no nfc settings.

Thank you again for your work !
[Xperia Z1 Original Android Development] dankimani:
Won't install :(

Guys, what am I doing wrong?

Bootloader: unlocked

Recovery: TWRP and Philz(XZ Dual)

Currently installed ROM: DU Kit Kat

But I have tried Lollipop 5.0.2 DU and this, 6.0.1 DU. Nothing.

And I can't seem to get into Philz recovery.

Device is C6902. :crying::crying::crying:

Edit:

Flashed DU 5.1.1 & Gapps, C6902 modem then rebooted.

Installed more Google stuff.

Installed recovery again.

Flashed DU 6.0.1 & Gapps, then wiped 5.1.1 data. Worked.

But recovery kaput.
[Xperia Z1 Original Android Development] masterofnocrack:
Took 6/08 for a quick test drive. Gotta say, I'm impressed by the progress. The cam is definitely more stable than on some other MM roms i've tried. It takes fairly decent pics during the day(stock is way better), sure the viewfinder is laggy but stock 5.1 wasn't smooth as butter either. Focusing definitely works though a bit slow. The real problem are the night shots, everything is so friggin dark(fixable to an extent by choosing manual exposure and setting it to +2) and flash makes the photo look like it was taken in the matrix; somewhat green-ish . Another issue I found was that the color calibration thing-'Live Display' is nowhere to be found and my screen is one of those yellow-ish ones and its driving me nuts without that color calibration thing. Also on startup it shows you something about out of date vendor images and adb over network will always be enabled on boot up no matter what you set it to-minor annoyances. It will only get better from here :D
[Xperia Z1 Original Android Development] optimumpro:
That was August 6. Since then, Sony AOSP team, that has been known for ages for producing highly "stable" builds, has moved to a new kernel version, and by a shear coincidence, support for camera for all MSM8974 devices is not there anymore.... The camera simply doesn't work. On the good side, you no longer have greenish matrix type photos, slow focus, develish flash, no video recording and bad exposure. :)

Who could have thought? Why in the world would Sony do that, unless of course, they want you to buy Z5. So, things are definitely getting better: you just need to upgrade to Z5. But I bet Sony won't support Z5 beyond Nougat. So, next year, you would need to get XZ. But come Android Oyster and you'll need to get yet another device...