yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] Gairtial:
dmesg suggests that this may be due to lack of modem.mdt. I'll look into it.

EDIT: From what I can see this looks like a proprietary Sony file that they haven't released. It may also be built with the kernel but that I can't say. Either way I opened a bug on Github that they can hopefully address.
[Xperia Z3 Compact Original Android Development] thatguy222:
Okay great

---------- Post added at 02:29 AM ---------- Previous post was at 02:15 AM ----------

Bummer. Thanks for nothing, Sony! :mad:
[Xperia Z3 Compact Original Android Development] Gairtial:
Don't jump the gun. There are a lot of files in a standard Android build and I don't know if it comes from them or if it's a product of the build process. It could just be a misconfiguration on my part. The bug is for info, not because it's their fault.
[Xperia Z3 Compact Original Android Development] aniket_:
http://xdaforums.com/xperia-z-ultra/orig-development/rom-marshmallow-6-0-z-ultra-t3224321

They seem to have fixed the modem by using the files from the current firmwares.
[Xperia Z3 Compact Original Android Development] fratzika:
Just refreshing the page for a build with working modem as i don't have the environment neither the skill to build from scratch:)
[Xperia Z3 Compact Original Android Development] Gairtial:
I tried that last night using one of the files from the various vendor repos but no luck. The kernel module threw errors about the data being invalid. I'll try extracting from official firmware when I get home. Also that thread doesn't yet have anyone confirming that it works :/

I don't have my Z3C with me so I'm unlikely to be able to do anything helpful for ~9h, when I get home. You'll have to be a little patient :)
[Xperia Z3 Compact Original Android Development] Gairtial:
Okay, got a build up to date with Git and with a modem copied from one of the latest firmwares (ripped it from the SLIM stock ROM). Wouldn't get your hopes up but it might work :)

EDIT: No luck. It doesn't seem there's an available modem that's likely to work. Unless someone can suggest another device with close enough hardware and a working Marshmallow modem (seems doubtful), we're lost until someone can extract one from a legitimate Sony firmware or Sony releases it to us (seems unlikely).
[Xperia Z3 Compact Original Android Development] GuestK00283:
Thanks for doing this Gairtail, let's hope you get it up and running soon (if Sony or someone else uploads the modem file..)
[Xperia Z3 Compact Original Android Development] someone755:
Jerpelea says modem is now working on shinano, using the new kernel blobs.

(Just forwarding information I've been told that you might find useful.)
[Xperia Z3 Compact Original Android Development] Theliakos:
http://www.xperiablog.net/2015/10/2...lable/?utm_source=dlvr.it&utm_medium=facebook refer here to get that modem from the ftf that sony relased for both z3 and z3c !
[Xperia Z3 Compact Original Android Development] Gairtial:
Thanks. I tried to do a compile today but there were some issues in the repo that broke it (qcom media stuff). I'll try in another day or two and hopefully things will have settled down.
[Xperia Z3 Compact Original Android Development] Apo14:
Since you're talking about the modem parts, and i seem to have a problem with my WiFi, is anybody in here able to provide the /persist and /modem folder from the stock MM rom? Mine seems to have been lost after flashing an alternative rom :(
[Xperia Z3 Compact Original Android Development] someone755:
I built on Novenber 5th, worked just fine. Just synced and started another build, but the November security update isn't here yet, bummer. (I reckon another 24 hours should do it.)

If you'd like, I can upload the build for you.

I don't know for sure, but wouldn't flashing a stock FTF solve this?

Overall, I'm starting to like AOSP. Camera now works on every boot (unlike Nougat, because of the memory allocation gone bad), though AF and AE are a bit off, and it's stable enough to use as a daily driver.

Also, not sure if you guys also get this, but I've been getting the dwc3-msm wakelock a lot. Happens because of kernel bug that keeps phone awake, thinking it's connected to a power source even after it's been disconnected. Drained my battery for 17 hours before I even noticed. I don't know if the official method with prebuilt kernels also has this, but I build the upstream sonyxperiadev/kernel repo myself. If you use a kernel source too, instead of using the prebuilt kernels, you could try picking this. Looks to be working for me, but it hasn't been merged yet, so take that as you will.

EDIT: Noticed this isn't upstream Marshmallow, but r1. Bummer.

You should really switch to 6.0.1, the 1.3.3 kernel is much better than 1.2.2 (and without the memalloc reboots caused by media/video). Though if you prefer not to switch, you could still add my uploads to the OP alongside yours if you want? That way we have 6.0 and 6.0.1 under one roof?
[Xperia Z3 Compact Original Android Development] Apo14:
[MENTION=4275152]someone755[/MENTION] so should i be able to extract those files without the need to flash?
[Xperia Z3 Compact Original Android Development] someone755:
No reason to avoid flashing, really. Make a backup of system and boot, don't wipe userdata, and have a recovery image handy. Flash FTF, flash recovery, restore system and boot.

The only things that get updated are your modem and bootloader etc, your system and data stay untouched.

Though depending on when you last flashed an FTF, it may be a good idea to wipe your data in recovery before you flash (and back it up, of course). Some firmware can only be updated after Android has booted, like NFC for example.
[Xperia Z3 Compact Original Android Development] Apo14:
So best would be to completely start from scratch and wipe everything i guess? Do you have any links to guides for FTF etc? Im not that into these things :/
[Xperia Z3 Compact Original Android Development] someone755:
I'm not saying it's best, but it could help you avoid potential issues. I don't know what all you've been doing with your device, so I can't make the call for you. Just telling you how it is.

This is a nice thread: http://xdaforums.com/z3-compact/general/list-stock-firmwares-d5803-d5833-t2906706 You'll also need FlashTool if you go down this route, you can Google it to download.

EDIT: [MENTION=6248728]Gairtial[/MENTION] I have today's 6.0.1 source in a nice zip. https://www.androidfilehost.com/?w=files&flid=127723

There's also a folder with the kernels for 6.0.1/7.0/7.1 that I'll try to keep up to date, if there's any interest for that. (The kernel zip will flash to any of the three Android versions, so long as the ROM is AOSP-based. Other than that, it's version-independent.)

Another note would be that I didn't make any changes to the ROM build. GApps will have issues starting unless you do some adb wizardry, and you'll get your recovery overwritten with the useless AOSP one if you flash the ROM zip in recovery. (You could also just try flashing system and boot through fastboot, though I haven't tried.)
[Xperia Z3 Compact Original Android Development] Cirra92:
I'm tired of using stock Sony roms, and I'm starting to hate them. Still waiting for those latest camera blobs though for AOSP. I've tried your uploaded build, but it's causing a bootloop somehow. Didn't flash the separate kernel, but I don't see the need for that since there is one included in rom zip. Not sure what is the problem...
[Xperia Z3 Compact Original Android Development] someone755:
Huh, sorry for that. I only flashed the system.img because of the convenience (my build rig is my only rig). Looks like the zip process messed something up (image works fine).

I'll repo sync and build as soon as the version number gets upped (and with that the security update is here), that way at least there'll be something new in the ROM. (Unless you really want this, in which case I could just make you a new build? Or upload the system.img and boot.img, because you're gonna need a PC anyways if you want to get GApps working?)
[Xperia Z3 Compact Original Android Development] Cirra92:
Oh no no, don't worry, I'm not in a rush to use it, just thought to give it a go for a few days, because I really dislike the performance of stock roms, and I'm sucker for AOSP/CM :D

Let's see what new calibrated blobs will bring to our devices, I just hope Alin can bring some love for Z3/Z3c camera as well, then I'll jump in and test your builds. Oh and I'm not using GApps for a year maybe, MicroG ftw :D
[Xperia Z3 Compact Original Android Development] someone755:
I don't test these, no idea if the November security patch is in yet. https://www.androidfilehost.com/?w=files&flid=127723

But just so you know, flashing the zip will overwrite your recovery with the ****ty AOSP one. If you're not near a computer, this could spell disaster if the zip decides not to work.

EDIT: Tested, still no November patch (what the heck), zip still not working. I'm just gonna upload the system and boot images.

Edit2: I'm an idiot, I've been stuck on r70 all this time. Will build another set tonight.
[Xperia Z3 Compact Original Android Development] Cirra92:
Did you try your new build? Or is that still not done?

Anyway I understood well about that sh*tty recovery, one could store twrp.img file and flash it through existing TWRP just after flashing the rom zip if there is no PC around.

Wonder when will Alin release those V6 blobs, really hoping it will turn around things for Z3 series. I'm not sure when I'm going to test your next build, since I have an upcoming Ph. congress and I need a stable camera for those 3-4 days and so far I have a stable setup with stock MM. Will probably be able to do it as soon as December kicks in. Thanks for building I can't wait to dump this stock crap :)
[Xperia Z3 Compact Original Android Development] someone755:
I've tried running Nougat but GravityBox's lockscreen torch has become so integral to my life I could barely get over a night with it. ): It's pretty cool, just the camera is broken half the time. Not that it works well on any Android version (6.0/7.0/7.1) as AE and AF are uncalibrated and even using manual exposure at +2 (the maximum the AOSP camera app allows) leaves images too dark.

And tell me about it, stock is a nightmare. Not saying this is the second coming of Christ but I've learned to live with it. Which is surprising, since I can't find a working hotplugging/thermal driver for this kernel. (I did find undervolting on faux123's Shamu repo, thank God. Seems like the voltages are also uncalibrated as I can get -100mV without an issue, which also kinda works as a thermal driver lol.)

I'm using the phone as a daily driver as well, only I have a pretty decent camera for any shooting, so the phone's bad quality doesn't bother me. (Least of all after I somehow got water under the lens last night. The phone still works somehow lol.) I've tested the last build and it works as far as I'm concerned (the zip is broken for some reason), but I'll have to postpone the November build for a day or two. First I need to get some stuff done on Uni, and I need the phone running in top form, and after that I'll need to take it in for warranty because obviously I don't the water to get anywhere else.
[Xperia Z3 Compact Original Android Development] Cirra92:
I've tried Nougat as well, but that didn't last long since I use MicroG and I need Xposed for that, so decided to run AOSP MM for couple days, and it's actually usable as a DD, but I had to come back just because of that camera. Yeah I know the issues with camera, changing exposure won't help, since the blobs need calibration. But from what I've seen the picture quality isn't bad, I don't know what are your thoughts about it. Also I did not notice reversed fish-eye, but that's maybe just my wishful thinking :D

I loved z3c and it's stock rom until screen started to unglue itself (only after 6 months), and when I first flashed AOSP, now I hate stock rom and curse it every single day :D (heck even my old GS2 with KK rom opens everything instantly :mad: )

Anyway how did you manage to make it work with that UV? I remember you said UV-ing your device was unstable :D I'm on your kernel and running -75mV, PVS bin 6 here.

With every new report that water made its way inside the phone, I get convinced that build quality is just crap haha
[Xperia Z3 Compact Original Android Development] mcgi5sr2:
I'll post up some GApps pre-installed builds in the next couple of days. Getting my device back soon with a new motherboard. Will be time to run AOSP more seriously. If you are looking to do your own builds I can recommend https://github.com/SonyAosp as it will include all the extra shizzle needed
[Xperia Z3 Compact Original Android Development] someone755:
I'd avoid it if I were you. It's not exactly on the good side of the law.

Also, what's wrong with the sonyxperiadev repos? They work just fine for my AOSP M and Carbon N builds.
[Xperia Z3 Compact Original Android Development] mcgi5sr2:
Really? I'm not sure I understand where the conflict here is greater than it would be on a custom ROM such as CM or Slim that also use a vendor repo...

Not trying to be smart, just still learning.
[Xperia Z3 Compact Original Android Development] someone755:
Ah no, that was referring to the gapps part of your post.

Used to be cm builds came with gapps, but Google complained so they stopped packing them into the zips. Every rom follows suit now because nobody wants a lawsuit from Google
[Xperia Z3 Compact Original Android Development] snaky90:
Blobs v6 released !
[Xperia Z3 Compact Original Android Development] Barua:
what does it mean?
[Xperia Z3 Compact Original Android Development] king960:
It is said that it calibrates camera for our devices (AF etc.) for AOSP
[Xperia Z3 Compact Original Android Development] Cirra92:
AE and AF should be calibrated, and probably more stuff regarding picture quality and stability. Since it took them long enough to release, let's hope that fish-eye is calibrated (as Alin sad that it's possible to do it through a lib file or using 3rd party app). [MENTION=4275152]someone755[/MENTION]
[Xperia Z3 Compact Original Android Development] Barua:
so can we compile builds now with new blobs?
[Xperia Z3 Compact Original Android Development] someone755:
You can build with old blobs if you want. You can try with HTC blobs too if you'd like. Really, you could make it so that you don't use blobs at all.

Honestly man what kind of question is this

[MENTION=5070317]Cirra92[/MENTION], I know, we have a few Hangouts chats with Alin and other Sony devs. I had the blobs synced before this thread had any mention of them lol

edit: I had to resync the trees because repo started to bug out on me. I'll try and get a build uploaded. In the meantime, do you (and/or any mods/OP watching this) think a separate thread is in order? I think I've spammed this one a bit much.

edit2: r74 with v6 blobs is up, hopefully at least one of the uploads (ota/fastboot) works.

edit3: Fastboot system.img seems to be working. YMMV though, as always with these builds...
[Xperia Z3 Compact Original Android Development] Barua:
deleted
[Xperia Z3 Compact Original Android Development] Cirra92:
Haha damn why did I even bother, of course you would know that before everyone else :D

You may continue in this thread, it's about AOSP MM anyway, why would anyone make a problem with that, but if you want to make things cleaner, than new one could do.
[Xperia Z3 Compact Original Android Development] mcgi5sr2:
Anyone had the opportunity to test with the latest blobs? Does AF and AE work well now? Do we have video recording now?

7.0 from latest source here

https://www.androidfilehost.com/?w=files&flid=73595
[Xperia Z3 Compact Original Android Development] Rhonin86:
Just downloaded the latest *.zip but encountered error 7 with TWRP 3.0.2 and afaik deleting the "assert" should solve the problem . But i couldn't find these lines within the updater script ? So is it enough to delete the first getprop lines ?

If i succeed in flashing i assume that the TWRP - Recovery is replaced by the AOSP one - is this correct or did i get something wrong ? If so is it safe to flash via fastboot TWRP again or could the partitions get messed up ?

SRY - if those questions were answered already but due to my investigations i encountered partly contradictory statements.

THX in advance

Rhonin
[Xperia Z3 Compact Original Android Development] mcgi5sr2:
IF you lose twrp should be fine to reflash it.

Be warned you will need to use EMMA to flash back to stock and then apply your backups.
[Xperia Z3 Compact Original Android Development] Rhonin86:
THX, but i don't need stock for now, because this is a test phone - i want to support all your efforts by testing and providing some logs....

So do i have to delete the above mentioned lines in updater script to flash the ROM via TWRP or is it another problem i encountered ?

Cheers

Rhonin

Protocol: ~~ aosp_d5803-ota-eng.mcgi5sr2-N5D91L-20161119.zip ~~

i deleted the mentioned lines of the updater script and inserted it again.

i flashed the ROM via TWRP and in the same process also OpenGapps (7.1 - this seemed to be wrong got an error 20 during flashing GAPPS.zip - i flashed the same package under Carbon ROM from [MENTION=3816568]Myself5[/MENTION] - so i thought it should work)

the booting process started but is lasting now for nearly 10 Minutes and nothing happens - something went wrong....

I hard reset the phone and entered the recovery again (Power on Vol - ) TWRP was still there - Factory reset and flash of the ROM again without flashing the Gapps - let's see

Hurray - the phone booted and could be set up

Camera force closed immediately after starting - so i could not give some information about autofocus - it seems as if the problems with the cam 50/50 starting or no are still existent

the same result with OpenCam i attach an logcat

Scrolling through UI's menu is not smooth at all

Though it's looking fine there is a lot to be done - actually i got a reboot - so it's not stable for now...

THX to all the guy making this possible - keep up your good work and if some help is needed do not hesitate ;) I will try and test
[Xperia Z3 Compact Original Android Development] Barua:
I got the same result, camera FC, other camera apps also gives FC. But except camera, it works fine, i really liked it, no reboot for me.
[Xperia Z3 Compact Original Android Development] mbgheban:
Installed after modifying updater-script.

Auto Focus still not ok. Manual focus works.

Switching to video recording FC camera.

The rest is working (calls, data, in-call volume fine).

Also flashtool can be used to revert to stock/concept, just let it boot before restoring back-up!
[Xperia Z3 Compact Original Android Development] someone755:
No, they're still bad. Admittedly though, AF is much, much better, but AE still has a ways to go. No idea about video, I never bother (but I didn't know that was even an issue?).

No idea what the errors are or could be. I just compile the builds and fastboot flash some of them.

You can fastboot flash recovery as many times as you'd like until the eMMC dies.

Why on Earth would you need to use EMMA? If you make a full backup in TWRP (i.e. system, data, and boot), you can just restore that.

And yes, we know the camera doesn't work. It's a memory allocation problem that happens on boot. Reboot the phone and see if it works. If yes, great. If no, then reboot. Rinse and repeat.

Your phone seems to have had a bad flash. I can confirm that scrolling is smooth, albeit with occasional screen tearing.

It's enough for some to call it a daily driver. Far from perfect, but stable enough to be a daily driver both for me (on M) and for Myself5's z3c (on N). Though I'd roll back to stock/concept in a flash if I lost ability to undervolt/enable conservative governor.

Like I said to the guy above; Why on Earth would you need to use EMMA [or Flashtool, same thing]? If you make a full backup in TWRP (i.e. system, data, and boot), you can just restore that.
[Xperia Z3 Compact Original Android Development] mbgheban:
[QUOTE Like I said to the guy above; Why on Earth would you need to use EMMA [or Flashtool, same thing]? If you make a full backup in TWRP (i.e. system, data, and boot), you can just restore that.[/QUOTE]
[MENTION=4275152]someone755[/MENTION]

Restoring TWRP backup resulted in boot loop after flashing/testing mcgi5sr2' s N build.

Also flashing stock/concept with flashtool (without booting) and restoring TWRP backup resulted in bootloop.

Did not had these issues afet trying your M build.
[Xperia Z3 Compact Original Android Development] Barua:
[MENTION=4275152]someone755[/MENTION]

Restoring TWRP backup resulted in boot loop after flashing/testing mcgi5sr2' s N build.

Also flashing stock/concept with flashtool (without booting) and restoring TWRP backup resulted in bootloop.

Did not had these issues afet trying your M build.[/QUOTE]

Yes, restoring twrp backup the stock rom i use, resulted in boot loop for me too.

I flash stock rom with flashtool, then flashing twrp recovery and then restoring the full rom, it works.
[Xperia Z3 Compact Original Android Development] mcgi5sr2:
[MENTION=4275152]someone755[/MENTION]

Restoring TWRP backup resulted in boot loop after flashing/testing mcgi5sr2' s N build.

Also flashing stock/concept with flashtool (without booting) and restoring TWRP backup resulted in bootloop.

Did not had these issues afet trying your M build.[/QUOTE]

EMMA to return to stock is required with the builds I put up. The reasons are well documented in the cross device development thread. tbh I don't fully understand it, except it is about some re-partitioning with app_log to allow for recovery.

GApps are included in the builds I have put up, which is why flashing GApps gave you an error. I would full wipe and flash the ROM again if you want a smooth experience. I wonder if Alin plans to improve the camera blobs again. I would assume not as the team seems to be full on for the 3.18 kernel right now. Perhaps its time to start looking for another device with the same camera and test their implementations. << Not something I have time for right now.

Either way I have put up a new build with updates on the kernel branch and Humberto Borbas bluetooth patches to allow deep sleep. Going to try a CM-14.1 build next
[Xperia Z3 Compact Original Android Development] Rhonin86:
Hi [MENTION=4275152]someone755[/MENTION],

i really appreciate all your efforts, but let me explain some things:

First - i think the Xperia Z3c community lacks of test-reports - there are few devs providing pretty good work in the context of the official limitations (i.e. cam) They compile ROMs and make them available within some threads, but the respond is poor. They get no reasonable report to improve their work. That's why i try to support the work with my little limited knowledge as good as i can.

Second - We all know that the cam isn't working - YES - you are right but the [MENTION=4901061]mcgi5sr2[/MENTION] 's question was:

Due to this 50/50 dilemma i wasn't able to test AF/AE though i restarted my phone multiple times. Therefor i attached a logcat.

just my 2 cents

THX for all and btw i restored my TWRP backup without a problem ;)

Cheers

Rhonin