yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Original Android Development] nolihowell:
i did try that trick but irrelevant to the cellular radio the wifi is just fine
[Xperia Z3 Original Android Development] Untouchab1e:
Figured as much. Its just that if you dont enable wifi, cellular goes haywire when the device panics and reboots.

At any rate, Ive ordered a spare SIM card so that will make it easier to test myself as well.
[Xperia Z3 Original Android Development] squabbi:
Sweet! Hehe grab a prepaid and slap it in. ;)
[Xperia Z3 Original Android Development] 57yx:
Here is another log. During loging i switched radio off and on again.

I hope this helps, thanks for the great work so far :good:.
[Xperia Z3 Original Android Development] android_fury:
I'm trying to flash cm-12-20141226-UNOFFICIAL-leo-v2.zip with TWRP from here and it returns an error message saying that my phone is a D6653. I have a D6603. Do I absolutely need CWM to flash the rom or is there a way around it?

EDIT: Couldn't wait! I flashed CWM and the rom flashed fine. Now let me get some logcats going.
[Xperia Z3 Original Android Development] android_fury:
Here you go. I turned mobile data off, on, off, and on again. I ran the same test turning airplane mode on, off, on, and back off, but the file size is almost 4MB and I can't attach it here.
[Xperia Z3 Original Android Development] Untouchab1e:
Awesome. Is your cellular connection also unstable though?
[Xperia Z3 Original Android Development] Untouchab1e:
Also, please make sure your correct APN profile is selected under Settings -> (Wireless and Networks) More -> Cellular Networks -> Access Point Names

In CM12 it lists all the APNs with the same MCC and MNC as your carrier and automatically selects the top one sorted alphabetically instead of matching the Carrier name. In my case this resulted in the incorrect APN being selected by default and I had to specify my correct APN profile before data would work on my OnePlus One. Just make sure you do that before you start logging. I see some APN errors in your logs so just want to iron that possible issue out.
[Xperia Z3 Original Android Development] TonyStark R.I.P.:
I have to say... you lot have been the best at helping the Dev w/ logs. You are what makes XDA great:cool:

People helping people helping your developer:good:

Happy holiday:victory:
[Xperia Z3 Original Android Development] Untouchab1e:
Totally agree! You're awesome :)
[Xperia Z3 Original Android Development] android_fury:
My signal was totally unstable. I was unable to place calls when the signal was up. In the settings, the cellular connection said "in service," then dropped, then reconnected, and so forth every minute or so. Mobile data said "out of service" at all times. I checked the APN name only, as it is usually the one that works out of the box in CM, but didn't actually check the values. The notification shade identified my carrier (AT&T) when the cellular connection was up.

I forgot to plug my phone in overnight. I'll download the new build while it charges and run the tests again. Anything else you'd like me to run?
[Xperia Z3 Original Android Development] android_fury:
I rechecked the APN on the 12-28 build and it was correct. I ran 3 tests: toggling mobile data off/on/off/on, toggling airplane mode on/off/on/off, and trying to make a phone call. The individual files are larger than the XDA limit for txt files, so I 7zipped them. I'm ready to run whatever tests you need.
[Xperia Z3 Original Android Development] Untouchab1e:
Great stuff. Much appreciated. The ball is on my side of the court now I believe, so Ill have a look and see what I can come up with.

Thank you :)
[Xperia Z3 Original Android Development] Untouchab1e:
Could you try pushing the attached libril-qc-qmi-1.so file to /vendor/lib/ and see if it makes any difference?
[Xperia Z3 Original Android Development] Untouchab1e:
Oh and one more thing. Is the cellular service more stable if you disable mobile data? That would be great news!
[Xperia Z3 Original Android Development] Untouchab1e:
Also, try pushing this build.prop to /system/ and see if makes any difference.

Cheers
[Xperia Z3 Original Android Development] android_fury:
I'll try that. My cellular service seemed just as bad with data on or off, but I didn't test that long enough.

Helping you develop is the least I can do. Thank YOU for working on this and let me know right away if you need anything else.
[Xperia Z3 Original Android Development] android_fury:
Signal just as bad with/without mobile data

Signal goes from bars+exclamation point on top to no service when trying to call, and calls never even start

Pushing build.prop and libril-qc-qmi-1.so.zip to their specific folders made no difference. I restarted the phone every time I pushed a file

The logcats were all run with wifi off and after pushing the files: mobile data off/on/off/on, airplane mode on/off/on/off, and trying to make a call/getting error/trying to call again/error

Phone is rebooting for no reason when idle and plugged into magnetic charger/wall. I suspect this started after I pushed the files

Can't turn phone off with USB cable plugged into phone/wall. If I turn it off when unplugged and plug it back in, it turns back on

Charging is very slow to the point of not charging fast enough to prevent phone from losing power. I'm afraid to restore my backup; I'm at 4% and it's charging about 1%/10 minutes

That's all I could gather. Hopefully this will be useful enough to get the issues fixed. Keep us posted!
[Xperia Z3 Original Android Development] nolihowell:
Xperia Z3 D6603 Reporting
[Xperia Z3 Original Android Development] nolihowell:
Xperia Z3 D6603 Reporting Part 2
[Xperia Z3 Original Android Development] nolihowell:
Xperia Z3 D6603 Reporting Last Part

View attachment 3086803
[Xperia Z3 Original Android Development] nolihowell:
Xperia Z3 D6603

after pushing the succefuly the proposed files and rebooted my devices failure to boot luckily i still have a copy of my twrp recovery and restore my stock firmware with root.
[Xperia Z3 Original Android Development] android_fury:
I pushed the build.prop file first, then restarted. After that, I pushed the other file to the other folder and restarted again. I changed root access to apps and ADB because I was having issues pushing the first file to /system, and I think that broke something. The phone couldn't boot up all the way into Android and nothing came up after the Sony logo (where the CM logo usually comes up). I couldn't turn the screen on and was forced to reset the phone holding the power button for 30 seconds. I then entered the CM recovery and powered off the phone there. I was then able to enter fastboot mode and reflash CWM and CM12 on top of what I had (without wiping anything). That did the trick and I was able to get back into the phone.
[Xperia Z3 Original Android Development] nolihowell:
Xperia Z3 D6603

maybe i might ended up with the same result as you are which you posted above so its okay wait till he pushes another build, we are like his trusted squire and knights. thank you for the quick tip. btw i used a prepaid sim and acquired basic plan like unlimited text and call only no mobile data.
[Xperia Z3 Original Android Development] android_fury:
I'm in the US and have full service with AT&T. My phone recognizes it, but keeps dropping the signal. I can't make calls or send SMS.
[Xperia Z3 Original Android Development] nolihowell:
same issue bro cant even start a coversation or send a message all the way to the start its ither emergency calls only - chatr or no service - chatr. cellular radio only works for a second even i take 10 seconds to send a long text message. btw chatr is my carrier. bro just to let you know the aosp build 12/28/14 from fxp for leo has the same problem two in particular mobile data and camera above all else are functional.
[Xperia Z3 Original Android Development] squabbi:
Does the fxp build have a stable cellular connection?
[Xperia Z3 Original Android Development] nolihowell:
Xperia Z3 D6603

the fxp aosp 5.0. (5.0.2) build 12/28./2014 has no cellular radio at all.
[Xperia Z3 Original Android Development] squabbi:
Ahh that's right. ;) thanks
[Xperia Z3 Original Android Development] Untouchab1e:
Thanks for all the feedback. I believe I have to solve the unstable cellular service before fixing mobile data.
[Xperia Z3 Original Android Development] squabbi:
Awesome! Cellular connection is definitely more important. :) Thanks for your hard work!!
[Xperia Z3 Original Android Development] Untouchab1e:
Yeah I wouldnt be surprised to see mobile data work after we get the cellular connection more stable. Judging from the logs it seems to fail because rild does not allow it to set up a data connection (because the SIM is not ready).
[Xperia Z3 Original Android Development] android_fury:
Let us know if you need anything else.
[Xperia Z3 Original Android Development] Untouchab1e:
Thanks ;)

Linking up with the FreeXperia guys as they as working on the exact same issue. Hopefully we will find something out soon.
[Xperia Z3 Original Android Development] squabbi:
Sounds good! Thank you again for your hard work! Enjoy new years, 2 hours left!
[Xperia Z3 Original Android Development] android_fury:
That's great to hear! I can't wait to see this thing working well. Have a great new year!
[Xperia Z3 Original Android Development] Untouchab1e:
Happy near year everyone! :)
[Xperia Z3 Original Android Development] squabbi:
Happy new year too! I think development for this device will boom in the new year.
[Xperia Z3 Original Android Development] android_fury:
I hope so too. I don't understand why so few developers are interested in this wonderful device.
[Xperia Z3 Original Android Development] squabbi:
Maybe its the decreased camera thing they are worried about? :eek:
[Xperia Z3 Original Android Development] panzerscope:
Well now that you can restore the lost abilities, it is no longer an issue.
[Xperia Z3 Original Android Development] nolihowell:
Xperia Z3 D6603

i'd hope starting tomorrow the sony devs would start to release android lollipop firmware like they promised the beginning of 2015 now we are entering year 2015
[Xperia Z3 Original Android Development] squabbi:
Let's hope so! :) I hope it is in January because sometimes when they say early they mean the first quarter. :(

---------- Post added at 09:11 PM ---------- Previous post was at 09:10 PM ----------

Oooo! I've been waiting for this! Can you link me in the right place? :)

---------- Post added at 09:15 PM ---------- Previous post was at 09:11 PM ----------

Ohh I see it! Thanks for letting me know! :D

---------- Post added at 09:20 PM ---------- Previous post was at 09:15 PM ----------

A quick question, this ROM is OK for the D6653? :)
[Xperia Z3 Original Android Development] piotr.pot:
Link please?
[Xperia Z3 Original Android Development] squabbi:
here you go! http://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672
[Xperia Z3 Original Android Development] Untouchab1e:
Hey all.

I have another favour to ask. Could someone post a radio logcat of a normal boot (up until after the SIM card has been unlocked and cellular service has been up and down) using this ROM and one using the stock ROM? I need to compare the two.

Ideally, if you could set the setting 'persist.adb.radio_log_on' to 1 in build.props that would be even better :)

Thanks all.
[Xperia Z3 Original Android Development] squabbi:
Hey! Nice to see you again. Can I get the log without rooting or editing build prop. :)
[Xperia Z3 Original Android Development] android_fury:
Crap, I didn't see this earlier and won't have time to do it within the next 24 hours. But for clarification, I have some questions:

1 - Do you want to run the same "adb logcat -b radio" command?

2 - Do you need the build.prop file to be changed on both roms?

3 - Does it matter if we're using Slipsystem's rom instead of the stock one?
[Xperia Z3 Original Android Development] squabbi:
Do you know how to do one during boot? :o

---------- Post added at 10:38 PM ---------- Previous post was at 10:31 PM ----------

Nevermind I got it :) - I'll do one on the stock stock ROM. [MENTION=462299]Untouchab1e[/MENTION]
[Xperia Z3 Original Android Development] squabbi:
Stock Logcat

Okey, I did a logcat on a stock Sony ROM but I'm not sure if this is what it's supposed to be. Let me know. :)

Model: D6653

Baseband: 8974-AAAAANAZQ-00022-21

Build Number: 23.0.1.A.5.77
[Xperia Z3 Original Android Development] goosebickel:
cm12 radio logcat

Couldn't find "persist.adb.radio_log_on=1" so i added it to build prop at the bottom!

then rebooted

then adb radio -b logcat, copy paste into txt file

hope i got it right.

model 6603
[Xperia Z3 Original Android Development] squabbi:
Did you start getting a log before you fully booted into Android? And did you run the command and then turn on your phone?
[Xperia Z3 Original Android Development] goosebickel:
edited build prop, then reboot.

then reboot again after checking build prop change was still there

then logcat
[Xperia Z3 Original Android Development] squabbi:
Cool! Hehe, I haven't done one before so I was looking for a comparison in steps. ;) I hope the added line in the build.prop doesn't matter too much.
[Xperia Z3 Original Android Development] goosebickel:
i'm in the same boat as you, not sure if what i've done is right or not either. lol
[Xperia Z3 Original Android Development] squabbi:
Haha, I guess that's good in a way... :D We'll have to see when untouchab1e gets back. :)
[Xperia Z3 Original Android Development] goosebickel:
Did this insted, copy and paste didnt seem to give the whole output

adb logcat radio -b > logcat.log

hope this helps
[Xperia Z3 Original Android Development] goosebickel:
Just restored nandroid to deodexed stock rom i was on before

did the same again

edit build prop

reboot

adb logcat radio -b > logcat.log

6603

Hope it helps

Happy Flashing
[Xperia Z3 Original Android Development] Untouchab1e:
Awesome job! Ill look into them asap. :) Thanks!
[Xperia Z3 Original Android Development] Griffiths_Anna:
This is gonna be awesome!

Good luck sir
[Xperia Z3 Original Android Development] Untouchab1e:
Thanks! Im trying :)
[Xperia Z3 Original Android Development] Untouchab1e:
Hey!

Looking at the logs I think you've made a slight error. I'ts supposed to be adb logcat -b radio. "-b" indicates that you are specifying an alternative log buffer and you want the radio one. So unfortunately, the logs there dont really help me much I'm afraid. Appreciate the effort though.
[Xperia Z3 Original Android Development] goosebickel:
Did a nandroid and flashed on the way home. lol

The right way this time.

Will post the other in 10 mins

Thanks for all the hard work with this rom
[Xperia Z3 Original Android Development] goosebickel:
Did another on your rom too, just incase.

You can never have enough logcats.

Thanks again
[Xperia Z3 Original Android Development] squabbi:
Did you get to see mine? It was 2 pages ago. It might have been lost! I did it on a non-deodoexed rom that is pure stock Sony. Right after flashing a Stock FTF. Here it is: http://xdaforums.com/showpost.php?p=57919044&postcount=237

Thank you for continuing work on this project! :)
[Xperia Z3 Original Android Development] Untouchab1e:
Yep, I got it. Thanks :)
[Xperia Z3 Original Android Development] David_Vaz:
https://github.com/CyanogenMod/andr...mmit/e6d919b5d9c9198cb5495c6e8e9dc2cb6c446d8a

¿?
[Xperia Z3 Original Android Development] MarcoReckless:
It says it's not for my device model, i have a DD603 xperia z3.
[Xperia Z3 Original Android Development] Untouchab1e:
You do not have the DD603. You have the D6603 ;)

In other news, I havent been able to figure out the RIL issues yet. But rest assured there are several devs working on this atm and it will be fixed. Just a matter of time.

Im gonna upload a new build soon at any rate :)
[Xperia Z3 Original Android Development] android_fury:
I had the same problem trying to flash it with TWRP. It works fine with CWM.

---------- Post added at 12:22 ---------- Previous post was at 12:18 ----------

Good to hear! Let us know if you need help.
[Xperia Z3 Original Android Development] freddy1991:
Z2 got camera fix on CM12 and Xperia T got official nightly CM12..

Will those be of any help for our precious Z3?
[Xperia Z3 Original Android Development] android_fury:
I'm wondering the same thing. It sucks that the Z3 has been out for such a long time and its development scene is way behind when compared to other phones. I need to stop buying phones before there is enough development already in place. :(
[Xperia Z3 Original Android Development] squabbi:
It is a shame, we'll have to give devs some more time. HTC in my experience has been the best in development for me. :(

I'm still keeping my hopes up for a boom! ?
[Xperia Z3 Original Android Development] Untouchab1e:
No idea why Sony makes RIL stuff so difficult. I suspect we will have a functioning camera soon, and hopefully RIL soon-ish as well. It sucks, but its been this way with all recent Xperia devices unfortunately. The Z1 got a fully functional camera a few months ago.

With rumors indicating that Sony is looking to sell of its entire mobile division, who knows how the future for Xperia devices will turn out.
[Xperia Z3 Original Android Development] David_Vaz:
Camera fixed
[Xperia Z3 Original Android Development] m0d:
Fixed?

Or.

Now using old camera stack: http://review.cyanogenmod.org/84808

Reports in z3-compact forum that camera not using full hw capabilities
[Xperia Z3 Original Android Development] David_Vaz:
In the first build of today I get a camera not working.

I removed varies propietary files (vendor/sony) and added all of the camera.. in this moment is working. (I'm using this propietary files: http://developer.sonymobile.com/downloads/tool/software-binaries-for-aosp-lollipop-android-5-0/)

Working on the RIL in this moment.
[Xperia Z3 Original Android Development] squabbi:
This is fantastic! Thank you!! :)

---------- Post added at 07:15 AM ---------- Previous post was at 07:14 AM ----------

I read that they may be selling it too. Maybe it's new owner is even more open? ;)
[Xperia Z3 Original Android Development] mangesh hotkar:
downloading link not working so far....................
[Xperia Z3 Original Android Development] Griffiths_Anna:
RIL has been fixed on this rom

http://xdaforums.com/showthread.php?t=3004282
[Xperia Z3 Original Android Development] David_Vaz:
Fix for RIL:

http://xdaforums.com/z3/orig-development/alpha-cm12-xperia-z3-t3004282/post58293287#post58293287
[Xperia Z3 Original Android Development] Untouchab1e:
Official Z3 nightlies should be arriving shortly!

Its been a fun couple of months working on the Z3. I was about to give up on RIL but then David_Vaz came and saved the day!

We can probably close this topic now but I just wanted to thank everyone for their help with testing and development. Cheers all! Enjoy CM12 on your Z3's!

We got to Lollipop before Sony did! ;)
[Xperia Z3 Original Android Development] freddy1991:
And thank you a lot too..

You were the first to give Z3 a taste of cm12....
[Xperia Z3 Original Android Development] Urkec:
Is mobile data and camera now working? :p
[Xperia Z3 Original Android Development] freddy1991:
Yup, here

http://xdaforums.com/showthread.php?t=3004282
[Xperia Z3 Original Android Development] squabbi:
Yea, thank you! ;) Sony's in 2nd place for now. I hope to see others like PA & AOKP. :)
[Xperia Z3 Original Android Development] Untouchab1e:
I fixed the keystore issue. Ive also uploaded a fix to gerrit so hopefully it will be merged.

Ive uploaded a new build as well and updated the OP. Modem is working as well so no need to flash those firmware files anymore! :)

Time to upgrade this to Alpha. I dont want to push my luck labeling this as Beta yet, but Im certainly getting there.

Please do download the new build and take it for a spin. I would appreciate some detailed feedback on bugs and issues.
[Xperia Z3 Original Android Development] dashrink:
Great work!

No words about the camera in the OP. Is it still broken, or is there a workaround?

Thank you!
[Xperia Z3 Original Android Development] Untouchab1e:
Its completely broken at this point I'm afraid.
[Xperia Z3 Original Android Development] Alex3oe:
great work, thanks a lot, have to try it as soon as I can find some free time :)
[Xperia Z3 Original Android Development] gallardo5:
Give me 30 minutes, downllading it right now, will flash it, play with it and update this post ;)

Edit: youtube, camera, nfc and mobile data are still broken, signal drops entirely from time to time for a second or two, but other issues that I listed are fine now :) apps work, uninstall without any problem, bluetooth is working good :) really great job ;) if I will find something else, I will let you know. And really big thank you for all the work you done for us :)
[Xperia Z3 Original Android Development] Untouchab1e:
Thanks for the feedback. Ive tweaked some Bluetooth stuff in the kernel. Will push out a new build tomorrow.
[Xperia Z3 Original Android Development] clinicallyinsane:
Hi [MENTION=462299]Untouchab1e[/MENTION]

My observations on this, I think this is a new bug but, by no means a showstopper.

If the device is booted up with Wifi turned off, the phone will warm-reboot if the screen turns off / is turned off before Wifi is enabled. If Wifi *has* been enabled before the screen turns off, then the issue doesn't occur.

I'm a bit of a n00b in finding the relevant sections of a logcat but, I've attached the relevant part.

I also have the same problem with the radio stopping after about 30 seconds from reboot. First, the signal will drop, then the signal strength indicator will vanish completely. Phone seems to think it's in Airplane mode if you try and send a text. I'll try and get a logcat of that before I restore the stock ROM.
[Xperia Z3 Original Android Development] nga⁴:
Thanks for the hard work on the Z3, I'm using this rom with gapps right now and will probably use it as a daily driver for a while (I really hate Sony's stock image) as I notice things I will try to report build information and log information.

Looking forward to mobile data working!
[Xperia Z3 Original Android Development] clinicallyinsane:
Hi again [MENTION=462299]Untouchab1e[/MENTION]

I did some log file manipulation, to remove the Info entries, then removed any FFMpeg messages, to remove the entries as the phone read my music collection. The result is hopefully a clean-ish logcat around the time that the mobile signal drops, which I've attached here.

The other thing which may be of use:

When the phone first boots, and has mobile signal, *#06# reports the phone's IMEI number as you would expect. After the mobile signal drops, *#06# doesn't report any IMEI number at all.

Might be useless but, hopefully helps get to reproduce / get to the bottom of the problem.

Kind Regards

D
[Xperia Z3 Original Android Development] gallardo5:
Ive noticed that phone is getting hot when charging, even with screen off. It is ok when it is in airplane mode, so maybe its because that wifi deep sleep bug you listed. Well, in two days you made from practically unusable port to a daily driver of few people already, as after todays update it is really a ROM that can be used without bigger problems, only small issues that are worth it ;)
[Xperia Z3 Original Android Development] nga⁴:
I have also observed the heat issue, even when the device is largely inactive. I imagine it might have something to do wit looping trying to reconnect the radio after it drops out that first time. I put mine in airplane mode and it seems to have circumvented the problem, but I don't have any way to measure the heat so it might be a total strawman observation.
[Xperia Z3 Original Android Development] gallardo5:
It is deffinetly fine with airplane mode, I cooled my phone down and put it on charger with airplane mode and after 2 hours of charging it is still cool.
[Xperia Z3 Original Android Development] Untouchab1e:
Thanks for the feedback and details! The heat issue is certainly interesting and Ill have to look into that. Anyone have any early estimates regarding battery life? Also, has anyone tested phone calls? Does the mic and headset speaker work well?

One issue that is very apparent is that the gsiff_daemon keeps dying constantly. No idea what causes that yet.