yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Original Android Development] nycbjr:
I have some good news of sorts, I worked through the qcom-caf/kernel issues and got a successful booting build. all with the same issues, including usb...

I grabbed a logcat and kernel messages using android terminal emulator, now we can start troubleshooting

adb

http://paste.ubuntu.com/8860705/

dmesg

http://paste.ubuntu.com/8860708/

in order of importance we need to fix:

USB

MODEM

Audio

ETC

USB is either a kernel or a ramdisk issue. what was interesting it wouldn't even register it as charging with the usb cable plugged in.
[Xperia Z3 Original Android Development] vittogn:
Great work [MENTION=345392]nycbjr[/MENTION] and [MENTION=462299]Untouchab1e[/MENTION]. I'll definitely donate as soon as I'll get the Z3.

Quick question: why don't you focus on Lollipop instead of KK? Is it because you are coding starting from CM?

Regardless KK or Lollipop, how do you rate the quality/quantity of information provided recently by Sony for the Z3?

Thanks.
[Xperia Z3 Original Android Development] Untouchab1e:
Basically because we are basing our work on CM11 which is based on KK. At this point I am tempted to readjust and focus on AOSP Lollipop instead, but I havent quite decided.

I would say that Sony is putting some solid effort into their AOSP work. However, its very unclear at this point what extent of AOSP support we can expect from Sony. So far they have not provided any fully functional device configs and Im not sure if their idea is to provide a stable foundation for us to develop on or if its to actually provide us with functional AOSP support.

Regardless, the latest developer blog entry from Sony I think it looks really promising.

I have my AOSP tree up and ready so once Sony releases their binaries and device configs for the Z3 I think I should be able to produce a functional build quite quickly. Im excited to see what level of functionality the Z3 device configs from Sony will provide, but lets cross our fingers and hope that it has as many working components as possible to make is at least usable as a daily driver.

At any rate, Im confident that we will have either a functional AOSP or CM build for the Z3 within a few weeks. I will have more time to work on this soon and hopefully Sony will have the binaries and device configs for the Z3 out soon as well.

While the Z3 might not have a huge number of ROM developer community it at least has some solid support from Sony and hopefully [MENTION=345392]nycbjr[/MENTION] will keep hacking to free us all from the terrible (in my opinion) stock Sony firmware :)
[Xperia Z3 Original Android Development] vittogn:
Thanks a lot [MENTION=462299]Untouchab1e[/MENTION] for your efforts (and to [MENTION=345392]nycbjr[/MENTION] as well).

It looks promising.

I really hope that there will also have a fully functional go back to stock (e.g. TA back up before BL unlock) for warranty purpose. I'd be quite nervous to loose a € 700 device just for the sake of playing with AOSP!!
[Xperia Z3 Original Android Development] Untouchab1e:
I completely agree. I think its pretty disappointing that Sony wont let you unlock your bootloader without wiping keys for various technologies. Its not like any of them are particularly impressive.
[Xperia Z3 Original Android Development] nycbjr:
We are focusing on kk/cm for the moment because it is a known quantity and has allot of stuff built into it to make initial device development easier, ie inline kernel building and lot of the qcom open sauce stuff already included. It take the guess work out and lets us persue the hardware fixes on the device tree without worry about rom issues. Don't worry the work [MENTION=830842]untouchable[/MENTION] and I have been doing and the forth coming Sony trees (which I firmly believe will be incomplete) can be easily (well semi easily) applied to lollypop. There is the additional wrinkle of the new security built into lollypop that will toss a learning curve in.

I agree here, within a few weeks we will have something that can be used as a daily driver, and of course freely share that so many flavors of aosp come to this device. Having cm-11 running even for the 20 minutes I did made me miss the cleanness of pure android, god I hate that oem's feel that have to try and improve on that, they often fall very short!
[Xperia Z3 Original Android Development] nycbjr:
OK knock usb off the list!

going to work on connectivity next, untouchable we need to get me added to the repo so I can push these fixes to it.
[Xperia Z3 Original Android Development] aegixnova:
This would be a dream come true if the DRM keys could be kept after a bootloader unlock. Thank you so much for your hard work. This is the beginning of a great custom ROM for a great phone :D
[Xperia Z3 Original Android Development] Untouchab1e:
Good job mate! Ill add you to the github repos now.
[Xperia Z3 Original Android Development] nycbjr:
Hate to break it to you but if you want to run this (or any forthcoming AOSP) rom you need to unlock the bootloader and Sony has made it so that the DRM keys are inactivated, I don't see a way around that anytime soon.

however I haven't really noticed any differences, most of my phone pics are in well lit situations, and well worth it to run pure android.
[Xperia Z3 Original Android Development] Fruktsallad:
Sorry, I should have taken more time to phrase my question before throwing it out. My situation is very much like Bling_Diggity's in that it's been a while and I'm strapped on free time nowadays. I have no relevant coding skills, so basically what I can offer is some testing etc once I've unlocked my BL. :)

Really happy to see this project moving forward. I have a OnePlus One running PA, and that thing literally flies compared to my Z3C. Since the hardware differences are negligible I'm blaming Sonys software/kernel. Can't wait to run CM. :good:
[Xperia Z3 Original Android Development] Untouchab1e:
Gotcha. Hopefully once Sony releases binaries for the Z3 along with device config trees which is happening any day now we will have something for you to test :)
[Xperia Z3 Original Android Development] KyronTaylor:
Ohoahoh, yes! I would love to get in on this. My (UK) Z3 will be delivered tomorrow and I'm so so eager to help out with some dev if I can.

Though, this will be a learning curve for me, I've never quite tackled a project such as this. If you could throw me a few references, I'll pick it up fairly quickly and hopefully do some contributing. (:
[Xperia Z3 Original Android Development] iBuzman:
M2 and T2 Ultra aosp binaries uploaded to sony git last night, Z3 must be about next :D
[Xperia Z3 Original Android Development] iBuzman:
z3 binaries released
[Xperia Z3 Original Android Development] iBuzman:
^^ maybe no modem or camera though
[Xperia Z3 Original Android Development] Fruktsallad:
I don't get it. How are we supposed to get modem and camera support if we don't have it now that the sources and binaries have been released?

Please enlighten my noob brain. [emoji91]
[Xperia Z3 Original Android Development] iBuzman:
still a very positive start..
[Xperia Z3 Original Android Development] Nebucatnetzer:
Isn't it possible to extract the from a phone?

E.g. copy the vendor folder or so?
[Xperia Z3 Original Android Development] Fruktsallad:
So basically only parts of the entire source have been released?
[Xperia Z3 Original Android Development] iBuzman:
Im not sure what options we have re the missing bits..

---------- Post added at 08:13 AM ---------- Previous post was at 08:11 AM ----------

source will build and boot, just some stuff won't work I guess. my build will be done in a few hours (pending no errors) ~ but can't flash til tonight (8am Aussie time here)

I should start aosp thread..

apologies cm guys and OPs
[Xperia Z3 Original Android Development] hospital349:
Nebucatnetzer. Greetings!

It's great to see you wandering these parts of XDA.

Could you perhaps shed some light/speak to the rest of the Slim Team, regarding the missing source code? (A work around, perhaps?)

I know we would all appreciate any information and expertise the team could give, to help the community and developers, alike.

Kind regards,

hospital.
[Xperia Z3 Original Android Development] Nebucatnetzer:
It's just a wild guess from my side.

I'm not really a dev and have only some experience with building for Nexus devices.

However when I forgot some blobs it was possible to build without them and then copying over the vendor folder from a functional zip.

So maybe it's possible to copy it directly from the phone.

At least partially.

I can probably ask kufikugel if he knows something.

I'll ask him tomorrow.
[Xperia Z3 Original Android Development] hospital349:
I appreciate your response.

If it's possible, Kufi will probably know how. :good:

Looking forward to further input.

Cheers,

hospital.
[Xperia Z3 Original Android Development] Untouchab1e:
While Sony hasnt quite delivered everything we hoped for, at least its something to start working with. Im looking into it at the moment and will see what I come up with.
[Xperia Z3 Original Android Development] vittogn:
Thanks. I can't judge as I'm not a dev at all..... it should any way be a much better situation compared to Samsung, LG and other OEM. At least I hope.

Inviato dal mio LG-D802 utilizzando Tapatalk
[Xperia Z3 Original Android Development] Untouchab1e:
I am feeling positive. With Alin's help Im confident we will cook up something good shortly.
[Xperia Z3 Original Android Development] Untouchab1e:
Quick update.

Currently working on an AOSP 5.0 build. Ive already gotten some good stuff going.

I'm excited! While Ill probably be focusing on Lollipop now instead of CM11 I figured I would post updates here anyways :)
[Xperia Z3 Original Android Development] iBuzman:
re your which branch question [MENTION=462299]Untouchab1e[/MENTION] (cant pm a pic) ~ seems they all come down. its the build instructions that govern which is used I think

just saw your aosp update :good:

let us know if you get error as detailed here (3 of us have so far) http://xdaforums.com/showthread.php?p=56744192
[Xperia Z3 Original Android Development] Untouchab1e:
Thats just the branch tags. You can switch branches after you check out, but you have to switch to your desired branch before building. i get the same error as you did on the master branch, but I think its working on r2
[Xperia Z3 Original Android Development] iBuzman:
cool, ta that makes sense (I'm sync'ing r2 again now ~ had a brain fade and deleted android folder) ~ I got that error on r2 as well if I remember correctly. maybe new git cherry pick instruction fixes it (even though that is nfc, maybe bluetooth is related??)

even though I shared via PM, probably also good to mention publicly for all others working on this that phone will be able to be enabled without too much trouble (not that I've tried yet lol) by using existing modem blobs #ftw
[Xperia Z3 Original Android Development] iBuzman:
[MENTION=462299]Untouchab1e[/MENTION] bluetooth patch on sony dev site :D [MENTION=359497]jerpelea[/MENTION] super responsive as always ?
[Xperia Z3 Original Android Development] dragonstalker:
Yes. He posted a temp bluetooth patch under the shinano branch.
[Xperia Z3 Original Android Development] Untouchab1e:
Thanks! Im building :) I have too many repos going so my build crashed and burned as I ran out of disk space, haha.
[Xperia Z3 Original Android Development] iBuzman:
^^ in case you didnt see, I think this is phone fix http://xdaforums.com/showthread.php?p=56748412

lol crashing.. I got all stuffed up by using "su" as user for one resync, kept having r/w perm access issues thereafter ~ so ended up deleting whole lot and re init

(I'm learning on the fly here ?)
[Xperia Z3 Original Android Development] Untouchab1e:
Thanks. My build completed successfully, I just need to add the modem stuff now
[Xperia Z3 Original Android Development] LenAsh:
Really appreciate your determination on this - keep it up!

Cheers
[Xperia Z3 Original Android Development] Untouchab1e:
You're most welcome! Im as eager to get AOSP running on the Z3 as anyone :)
[Xperia Z3 Original Android Development] Untouchab1e:
/modem_etm0.1 already exists: I tried overwriting it with the one from stock 4.4.4, but didnt make a difference it seems.
[Xperia Z3 Original Android Development] panzerscope:
Very much looking forward to this, keep up the great work!
[Xperia Z3 Original Android Development] dragonstalker:
did you check simlinks ?
[Xperia Z3 Original Android Development] mudnightoil:
Would it not make more sense to suspend this and work on CM12 instead? By the time AOSP 5.0 is stable for the Z3/Z3C, stable builds of CM12 should be available for a number of phones - i.e. very soon.
[Xperia Z3 Original Android Development] KyronTaylor:
I'm fairly sure CM depends on AOSP before even development can start..
[Xperia Z3 Original Android Development] mudnightoil:
When I said start work on CM12, I meant after AOSP 5.0 was done, as that's where most activity seems to be. It would be a bit strange to then go back to CM11.
[Xperia Z3 Original Android Development] someone755:
Looking at the Z series' AOSP Lollipop threads, aren't most of the bugs there because of the new unified kernel?

Asking because I saw a Z2 build of Lollipop allegedly built with the stock kernel sources that doesn't have nearly as many bugs as the builds based off the new kernel.

EDIT: To clarify; I haven't seen anyone but you try it on the Z3 series with the stock kernel, but you stopped after Sony announced the unified one.
[Xperia Z3 Original Android Development] Untouchab1e:
Quick update. I have stopped working on a CM 11 build and jumped over to CM 12. I will create a new topic once I have a functioning build. You can follow the progress in this Github repo. (Branch - cm-12.0)

Hopefully we'll have something good soon.
[Xperia Z3 Original Android Development] vittogn:
Great news! Will you keep working also on lollipop AOSP using Sony stuff or just CM 12? Thanks.

Inviato dal mio D6603 utilizzando Tapatalk
[Xperia Z3 Original Android Development] Untouchab1e:
Ill be working on both. :)
[Xperia Z3 Original Android Development] gibihr:
So I have no hope to see cm11 also on z3 compact? That would really be something I was losing hope for...
[Xperia Z3 Original Android Development] Untouchab1e:
Im not saying no one will work on CM11 for the Z3/Z3C, Im just saying I wont be focusing on it right now. If we get CM12 or even just AOSP running well, porting back to CM11 wont be difficult.
[Xperia Z3 Original Android Development] Cypher_01:
Sounds good! Not that I don't believe you, but are you sure that having a running CM12 makes it so easy to create a running CM11? I thought there are huge differences between CM11 and CM12.

Concerning your work:

I didn't compare Sonys AOSP source code to Googles AOSP source code. Do you use the CM12 source and adapt it to run on your Xperia, or do you use Sonys source and port the CM12 adaptations to it? Or bidirectional?

I ask, because there are known issues. I want to try to build an AOSP from Sonys sources and I thought with this one everything should work, like camera, audio, and so on. Btw, I prefer a 4.4.4 KitKat (because of Xposed), but my thoughts should go for KitKat and Lollipop.
[Xperia Z3 Original Android Development] :
Yeah, I'd like to see CM11 on it before CM12 exactly because of Xposed, but I'm happy the devs are working hard to get some kind of AOSP rom running . I really appreciate that.
[Xperia Z3 Original Android Development] Untouchab1e:
Thanks for the input. Turns out CM12 is less developed than I thought so maybe I will have another go at CM11. I am currently trying to find the path of lesser resistance and its totally possible that CM11 turns out to be that path. Ill crunch out a build or two today and see how it fares. The FreeXperia guys have submitted lots of good Sony related patches to CM11 since I last gave CM11 a go, so maybe Ill have better luck with it now.
[Xperia Z3 Original Android Development] iBuzman:
interestingly, and sorry for non dev post, free xperia project has just posted a cm12 thread.
[Xperia Z3 Original Android Development] :
Wouldn't there be just a few simple changes in code from the Z2 since the hardware is mostly the same?
[Xperia Z3 Original Android Development] Untouchab1e:
They are similar but not identical Im afraid so porting isnt quite as straight forward as you might think.
[Xperia Z3 Original Android Development] Untouchab1e:
Worked out a new kernel. Compiling a new build now so perhaps Ill have a more functional CM11 build in a bit if stars and moons are aligned.
[Xperia Z3 Original Android Development] gallardo5:
Do you know if sound will be fixed?:)
[Xperia Z3 Original Android Development] Untouchab1e:
Cant promise anything yet. Im working on some good stuff though so just bear with me here :)
[Xperia Z3 Original Android Development] iBuzman:
^^ new kernel and device git commits @ xperiadev a few hrs ago, seeing they may or may not be imminently releasing a cm12 rom (with who knows what working and what not) it may be worth while keeping sync'd up ?
[Xperia Z3 Original Android Development] Furrydaus:
Its a common misconception that having similar hardware means easy porting. Well, let's get some things clear for the users so they can understand better ;)

1) Similar Hardware = EASIER (NOT EASY) porting

2) Similar Hardware = Less codes needed to be changed but usually, those codes are QUITE difficult to tweak to the device

Other than that, you could try syncing and building CM11 yourself but normal people don't have much time for that but I most certainly respect the decisions of those who try as they show an interest in development which ultimately is good for device owners. My AOSP 4.4 Port won't come so soon because I myself am facing issues with some code in the original AOSP code and that will take days to weeks and maybe even months. It takes dedication to be porting this sort of thing. Nonetheless, I wish Untouchable (I don't think this is his UserID :silly:) and other developers, luck on porting and building ROMs for this device :).

Regards,

Furrydaus
[Xperia Z3 Original Android Development] Untouchab1e:
Great to see Alin and FreeXperia working on the Z3. Im still hoping Ill beat them to it with a nice CM11 port though :)

The race is on! ^^
[Xperia Z3 Original Android Development] Furrydaus:
Hahahaha good luck with that! I'll try to beat other devs to AOSP Kitkat :P
[Xperia Z3 Original Android Development] Untouchab1e:
Haha, good stuff.

In all seriousness though, I have learned so much these last couple of days, its really been great fun. Hopefully Ill have something to show for it soon.
[Xperia Z3 Original Android Development] gallardo5:
You already have a big thing to show, you are the first to even get AOSP booting on z3, and that's a lot :p
[Xperia Z3 Original Android Development] Furrydaus:
Haha then that's great for you mate! My build server just went down for some dumb reason and I have to sync the repo and do everything from scratch! ><

And anyways, its (thankfully) much easier to build aosp and cm because of the already made available source by Sony themselves! :D

Now, gotta go back to syncing this annoying source code XD
[Xperia Z3 Original Android Development] gallardo5:
Maybe because android 5.0.1 been released your server broke? ;)
[Xperia Z3 Original Android Development] Furrydaus:
Well there was a power outage at one of their server areas over at New York but sadly, my server was located there. My CDN's are fine though :P

Those darn source code must have brought my server down! Well jokes aside, I lost a whole weeks worth of work due to a power outage :'(
[Xperia Z3 Original Android Development] Untouchab1e:
Status Update: Device tree is looking good now but the big effort that remains now is the kernel. Probably need to merge the Sony kernel with the CM stuff.
[Xperia Z3 Original Android Development] russell664:
I would agree the kernel still needs a lot of work for CM. Have you tried merging Sony and CM sources yet for the Z3?

Sent from my Xperia Z3
[Xperia Z3 Original Android Development] Untouchab1e:
Nope, but that's on my to-do list. If anyone wants to start I have cloned the CM kernel here.
[Xperia Z3 Original Android Development] Furrydaus:
Will get right on it! :P
[Xperia Z3 Original Android Development] Untouchab1e:
Awesome! Im confident that a nicely merged kernel will get us a long way. I might still have to fiddle a bit with the vendor libs, but Ill be able to sort that out.
[Xperia Z3 Original Android Development] asqwrd:
How is progress on cm12 is it safe to assume progress on 11 will pretty much translate to cm12 or aosp
[Xperia Z3 Original Android Development] Untouchab1e:
FreeXperia seems to be working on a CM12 port now. CM12 is still under heavy development though so its a difficult environment to be porting a new device in to.
[Xperia Z3 Original Android Development] :
[MENTION=462299]Untouchab1e[/MENTION]

Is the description in the OP accurate as of today?
[Xperia Z3 Original Android Development] mazbot:
[MENTION=462299]Untouchab1e[/MENTION] do you think FXP will support variants like D6643? Because it works even with d6653 firmware, only con is that CM doesn't support DTV. I ordered mine and I'm afraid that this device won't get support...
[Xperia Z3 Original Android Development] Furrydaus:
They can do that quite easily. And if there wasn't, someone in the community just have to modify a small amount of files and codes to make it work. Its just that the radio is different between devices, other than that, its exactly the same
[Xperia Z3 Original Android Development] Untouchab1e:
There has been no new builds so in that regard the OP is accurate. However, I will update it with more details. Thanks for the reminder :)

Hopefully someone will do the kernel merging soon. I've spent a lot of time on this port now and realized I need to ease off a little. Been waking up in the middle of the night and having troubles falling back to sleep as I keep contemplating kernel configs and vendor libs, haha.
[Xperia Z3 Original Android Development] :
Yeah, they put drugs in Android just to get us hooked like that!
[Xperia Z3 Original Android Development] Untouchab1e:
Haha, yeah! Normally I sleep like a rock, but these last couple of days... man.
[Xperia Z3 Original Android Development] Furrydaus:
Hopefully I don't get too hooked on that Android Drugs. Cos I'm definitely getting there with porting AOSP for z3, CM12 for the sp and now this.

Wish me luck and hopefully I don't have to ponder too much with the codes lol.
[Xperia Z3 Original Android Development] Untouchab1e:
Any progress on the kernel merge?
[Xperia Z3 Original Android Development] Furrydaus:
Not much as I was on holiday. But I'll start the full on kernel merging once I reach home. Sorry if any of this news disappoints :(
[Xperia Z3 Original Android Development] Nebucatnetzer:
No reason to apologise, private life is always the most important.
[Xperia Z3 Original Android Development] Furrydaus:
Thanks Mate :)
[Xperia Z3 Original Android Development] Untouchab1e:
No worries!

Excited to see the results though :)
[Xperia Z3 Original Android Development] Furrydaus:
Don't be too excited hahaha

I might not be able to complete them with the loads of work I already need to do and the sickness that I currently have :'(
[Xperia Z3 Original Android Development] Untouchab1e:
No worries, I always have more than one card to play. I.e, others will be working on this soon too. :)

Get well soon.
[Xperia Z3 Original Android Development] Furrydaus:
Thanks mate. I strongly recommend another XDA Member called PeC0ra as he works alongside many developers and has helped quite a lot of em get kernels needed to run their Roms. You can try asking him for his help with the kernel merges :)