yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] ReznorNInchNails:
here's my report on C6903

9.9.2016.

- usb charging not working except first time, and usb debugging+mtp/mass storage isn't working

- camera disabled completely, as mentioned

- magnetic dock charger seems to work

- can't preview ringtone on headphones when set to vibrate mode, it only rings with both loudspeaker and headphones, you may have to tap several times to make it ring

- wifi, 3g/h+, bluetooth, gsm, gps, nfc all seem to work

and I have done a complete wipe. I have backed up my TA, unlocked bl, and then wiped everything, then I flashed zip, nice thing is that it booted really fast, and play store was here without flashing it separately. nice work, I hope it will get better in future. if there's a need I can take logs and post them.

update on charging:

it seems to work but it is really bugged. the led came up after plugging cable several times, but does not show that it is charging. in settings you can see in diagram that it's getting up. still nothing for mtp+adb

update on camera:

there are some props you can try to play with, but it seems that they do nothing. maybe if camera is ok, there should be some kind of hack to get a working preview:

http://xdaforums.com/showpost.php?p=68560599&postcount=337
[Xperia Z1 Original Android Development] drakonizer:
The broken camera is a kernel issue, so messing with the props won't help.
[Xperia Z1 Original Android Development] ReznorNInchNails:
Yeah, I see now, as I have tried a lot of builds these two days... Now all FXP builds are now on this unstable branch of 3.10, and all have messed camera, even AOSP L. Well, I hope we will get at least usable camera as on 6.0.1 early builds (UBERCM for example).
[Xperia Z1 Original Android Development] optimumpro:
Not to be repetitive, but you are just proving my earlier point about this never ending story of poking with hardware, making some trivial improvements and then moving from one unstable branch to another and starting all over again...
[Xperia Z1 Original Android Development] SuperLamic:
the problem is that twrp doesn't wipe apps_log partition that is now used for recovery commands (aosp recovery). There was a discussion about this in dev thread.

Yeah, still no deep sleep.

edit: ugh, I didn't read the whole post. I don't know about bootloop, but wifi or something wasn't working after flashing stock in twrp.
[Xperia Z1 Original Android Development] nemes480:
I had google play services force stop during the first set up process. But I skipped that and after the login worked well.

Will there be a chance to choose gapps for myself?
[Xperia Z1 Original Android Development] Andresruizj:
Update!

How to update the rom?? Thanks :)
[Xperia Z1 Original Android Development] nemes480:
If you have no more mod installed you simply go to twrp and install the update maybe wipe dalvik and cache.
[Xperia Z1 Original Android Development] Andresruizj:
i have the "DivineBeatsMod" Installed, Does it affect anything? And root too? :confused:
[Xperia Z1 Original Android Development] nemes480:
As I wrote to you first rom after supersu and afterall divinebeats.But with the update it isnt working for me.
[Xperia Z1 Original Android Development] Andresruizj:
So i have to flash both after the installation? Thank u!
[Xperia Z1 Original Android Development] Mateusz_gameplay:
Can you make mirror link please? I cant download from mega it says: "temporary error, retrying"
[Xperia Z1 Original Android Development] Andresruizj:
[MENTION=4311238]SuperLamic[/MENTION] how i can wipe Apps_log??
[Xperia Z1 Original Android Development] gauravbhakuni90:
By flashing it through Emma sony's official flashtool.

http://developer.sonymobile.com/open-devices/flash-tool/how-to-download-and-install-the-flash-tool/
[Xperia Z1 Original Android Development] knightxs:
Ohhh okay. I got a bootloop. And clean to install a new rom option in Philz recovery did the job for me. I didn't flash anything through emma
[Xperia Z1 Original Android Development] pokepokepoke:
camcorder work with 3 party apps?
[Xperia Z1 Original Android Development] nemes480:
I cannot record videos with open camera.

---------- Post added at 11:15 AM ---------- Previous post was at 11:11 AM ----------

I have problem with the audio. I installed viper4 and everythings allright with it. After a reboot it works well but just while I not plug in or pull up the headphone. ( depends how was after the reboot)

Somebody know something about it, it is Viper4 bug or can be the rom? (fully same with dolby audio)
[Xperia Z1 Original Android Development] MIcHiJK:
Possible to install Sony camera on this rom?
[Xperia Z1 Original Android Development] Aaskereija:
no
[Xperia Z1 Original Android Development] nemes480:
If somebody interested in antutu here is my prices
[Xperia Z1 Original Android Development] 1Hax:
Oh man. This is AMAZING!
[Xperia Z1 Original Android Development] Mateusz_gameplay:
gr8 work!
[Xperia Z1 Original Android Development] Andresruizj:
I did it, but the issue still continue. :/ I flash the stock rom through Emma sony's official flashtool. rooted and install the recovery (TWRP), i did all the wipes and install the ROM again, but when turns on i have a bootloop! :(:crying:

---------- Post added at 06:47 PM ---------- Previous post was at 06:44 PM ----------

It worked?
[Xperia Z1 Original Android Development] optimumpro:
Not to pour water on this thread, but one of the reasons pure AOSP roms never work on our devices is the lack of CAF (Code Aurora) sources. Qualcomm devices require Code Aurora and AOSP does not include them. That's why you have screen problems, charging problems and many others. AOSP is NOT a finished product, but rather a raw material Google provides to OEMs for further adaptation. Sony device trees do not use caf sources either. And until developers start including CAF in their builds, nothing is going to change...
[Xperia Z1 Original Android Development] SuperLamic:
It's not true. It's due to new kernel that officially doesn't support msm8974 and maybe some sony additions. Charging problems are gone, there are no screen problems.

AOSP is finished product, nexus devices are using it. You don't have to use CAF which sometimes even break things. (I'm not saying that it won't improve speed or that it doesn't bring better hw acceleration. Only that you don't have to use it)
[Xperia Z1 Original Android Development] optimumpro:
AOSP is not a finished product, but AOSP for Nexus is, but we don't have the sources for that finishing part that Google did for its own devices.

Charging problems: do you mean to say that you can charge a fully discharged battery in 2-2.5 hours? Is video working? How about camcorder? How about NFC? Is there echo during phone conversations? How about headphones? Does camera work as in LP? I may miss a few things, but those are all related to Qualcom/Code Aurora...
[Xperia Z1 Original Android Development] SuperLamic:
Charging: I don't know I usually put my phone for charge overnight and as long as is charges, it works for me. But if there is some issue, it's probably some bad current setting in kernel.

Video works properly I would say, if you don't want to play DRM videos which I don't (and they work only on LB stock)

camcorder doesn't work, camera is the part that is being worked on

nfc works I would say?

some people there say that there is echo, but I don't set my call volume to max, so I have never heard that from people that I call with. Someone said that it's because the libs to echo canceling are not working..

headphones work properly

and I guess none of those issues are connected to CAF or something. They are just bugs of depreciated hw and new implemented kernel + hals.
[Xperia Z1 Original Android Development] nemes480:
I have no echo during phone calls on max volume lvl. Camera is need some update Nfc works, and charging is a little slow. Thats it. Rom haven t got a really big problem.Im waiting for the deep sleep!
[Xperia Z1 Original Android Development] nailyk:
https://github.com/SonyCM/android_device_sony_common/pull/1#issuecomment-261640321

while you're at it check the merge branch name. It is the same for all SonyCM repos. No way to use caf anymore even the time to switch :s

And dunno if PR into AOSP is possible.
[Xperia Z1 Original Android Development] Andresruizj:
Help!

Anyone know how wipe the App_logs partition on recovery? (TWRP) Thanks.
[Xperia Z1 Original Android Development] SuperLamic:
ugh, he really removed CAF branches.... I'll now need to use my git... I want CAF...
[Xperia Z1 Original Android Development] nailyk:
If you are absolutely sure you need to format it, this should do the trick: "mkfs -t ext4 /dev/block/platform/msm_sdcc.1/by-name/apps_log"

Don't know why the branches get deleted, specially without warning. Anyway the deletion will create another division into forks :(

I have a clue about deep sleep, can you try to reboot without USB/charger and keep it the most as you can without plugging it, then keep an eye on the battery awake line?

Also if you can enable DEBUG_FS into your build it will allow access to the /sys/kernel/debug/wakeup_sources file and we can get report. Thanks.
[Xperia Z1 Original Android Development] SuperLamic:
it isn't caused by usb... I did that months ago, because I had the same thing on my mind... It's radio - proxycontroller wakeup...
[Xperia Z1 Original Android Development] Mateusz_gameplay:
How can i root this rom?
[Xperia Z1 Original Android Development] Andresruizj:
Bootloop

I recovered to stock rom with flashtool, And I think that recovered also the TA partitions, how i can deleted them?
[Xperia Z1 Original Android Development] optimumpro:
PR into AOSP. It certainly is possible, as Code Aurora forks entire Google code and does their own modifications. See here: https://source.codeaurora.org/quic/la/platform/

In my view, Sony AOSP (and SONYCM that takes from Sony), is part of the problem: unless they start using Code Aurora Sources, we will never see a stable release. I remember arguing with Niabok: I was saying that the unified kernel would result in non-support of older devices; and he was saying that unified meant putting different sources under one roof, so, if you compile for a newer device, it would take sources for that devices only. LOL. It doesn't work this way: if you improve things for newer device, those changes won't necessarily work or even could break older devices...
[Xperia Z1 Original Android Development] knightxs:
Yup. It worked
[Xperia Z1 Original Android Development] nemes480:
Just flash the lastest stable supersu zip!
[Xperia Z1 Original Android Development] pokepokepoke:
try camcorder with footej camera :)
[Xperia Z1 Original Android Development] Dzejki14:
SIM card won't work

Hi guys again ! I did fresh install from flashtool newest rom from Sony, next twrp and from twrp i installed this rom and and after fast boot up phone tell's me " Sim card is unavailable" Why ? what should I do ?! :( C6903 of course
[Xperia Z1 Original Android Development] MIcHiJK:
Display sometimes not reacting so need to turn display off and on. And display is on lowest level brighter that the lowest level on .
[Xperia Z1 Original Android Development] nailyk:
Nothing

Being able to push into AOSP will be great. I think the unified kernel is a good idea if well managed. If you look at the linux kernel you will see a lot of really old devices are supported and newer works fine too. I'm really not a kernel expert but from their talking keeping compatibility is not a problem, if drivers are well implemented (or flexible) and if conditionals builds (Kconfig) are well designed. I didn't look at this for a while but when building for my nas (not thumb compliant) the 3.08 (iirc) was supporting it and afaik ~4 still support this old armv4l board.

Pushing to the max I think unified kernel between OEM could be a good idea. For example the same kernel for hammerhead, Sony, motorola, etc... AFAIK they are working on it on upstream, without proprietary part, obviously, which is the most difficult.

If everyone work on his downstream kernel, same problem should be solved x times, one per downstream. It is waste of brain time. With only one kernel, and cross tests, problem are solved only one and everybody can work on a different part. That is how they work and, imho, it is the way it should be. I really regret the android world doesn't work like this.

Unified kernel could work. Linux and bsd kernels dev prove it all the time.

I will stop hijacking SuperLamic thread here :) Thanks for reading.
[Xperia Z1 Original Android Development] nemes480:
My computer cant recognize the phone. Tryed to change usb function in developer options but pc still not detect it.
[Xperia Z1 Original Android Development] K.Raptor:
Cab you please check the mobile data it only worked twice and I flash the ROM more times than I can count !! and it doesn't work any more :(
[Xperia Z1 Original Android Development] nemes480:
Have you any news about the deep sleep problem?
[Xperia Z1 Original Android Development] LeoYL:
You may root your device and install Kernel Adiutor, then "deep sleep" comes out. I'm not sure if this "deep sleep" is the same as what you mentioned.
[Xperia Z1 Original Android Development] nemes480:
My phone dont use deep sleep as kernel auditor show me.
[Xperia Z1 Original Android Development] LeoYL:
Try "runnable" for CPUQuiet governor.
[Xperia Z1 Original Android Development] nemes480:
Thank you very much! You solved my problem :):highfive:
[Xperia Z1 Original Android Development] MIcHiJK:
Can anyone tell how to get latest twrp on this rom. I don't won't to do it how I think cuz dont want bootloop or something and need to reinstall all
[Xperia Z1 Original Android Development] SuperLamic:
you can't get bootloop on android if you flash recovery.

just use fastboot and flash img.. "fastboot flash boot twrp.img" Just use google if you don't know how to do it
[Xperia Z1 Original Android Development] caki25:
I think you mean

fastboot flash recovery twrp.img

:) and agree, flashing the recovery should not create a bootloop...
[Xperia Z1 Original Android Development] SuperLamic:
Yeah, I should not write quick posts on phone :D
[Xperia Z1 Original Android Development] nemes480:
Edit: I does change nothing. Still have no deep sleep in my phone. :( Any other setting what you did ? Or maybe Im too absent-minded?
[Xperia Z1 Original Android Development] SuperLamic:
oh, I found out... if you take a look at his screen he posted, you can see that he has no sim inserted... that's the solution...

we have problems with ril, not with cpuquiet
[Xperia Z1 Original Android Development] nemes480:
Your eyes like the eagle's! :D
[Xperia Z1 Original Android Development] feb8born:
Just wanted to report that this ROM doesn't support my 128gb sandisk SD card..and gives a message, unsupported SD card and asks to format.. this is the only bug which prevents me from using this ROM.. however the same card works perfectly fine on all other ROMs like 7.1 CM or AICP ROM and also all lollipop ROMs and stock ROM.
[Xperia Z1 Original Android Development] SuperLamic:
yeah, I've heard of this too.. aosp doesn't support some filesystems and those big cards are formatted to some... I don't know, haven't had any card that big (I wouldn't even use it)
[Xperia Z1 Original Android Development] nailyk:
I think your external card is f2fs formatted (AICP is CM based and cm format external SD by default) and f2fs is not included into AOSP. Check with "cat /proc/filesystems | grep -v nodev"

Reformatting your sdcard with ext4 filesystem should do the trick.
[Xperia Z1 Original Android Development] nemes480:
[MENTION=4311238]SuperLamic[/MENTION]

During charge notification led not works. So can you tell me how can I give higer priority to notification than the charge status?
[Xperia Z1 Original Android Development] SuperLamic:
don't know... just use google. I've never wanted to change that..
[Xperia Z1 Original Android Development] feb8born:
This could be the reason.. found that my card is fuseblk (NTFS) and CM and other Roms are supporting it.. will format to ext4 and things should work!
[Xperia Z1 Original Android Development] SuperLamic:
I don't think that any of sd card manufacturers are using f2fs and I don't think that our 3.10 kernel even has support for that.. no matter what rom you use, kernel must support it.

there is some other format iirc, but I don't remember
[Xperia Z1 Original Android Development] drakonizer:
exFAT? That's what I use...(not on honami though, for high capacity cards in general)
[Xperia Z1 Original Android Development] LeoYL:
I tested standby battery life last night and it was still terrible. So I think the "deep sleep" in Kernel Adiutor only refers to 2 sleeping cores. We need to wait until developers solve this issue.
[Xperia Z1 Original Android Development] LeoYL:
As far as I know, even if you don't insert a SIM, the phone can still connect to GSM network. That's the reason why you can still make emergency calls like 112 without a SIM card.
[Xperia Z1 Original Android Development] MIcHiJK:
What's with deepsleep xposed module?

It says it puts device into deepsleep while screen is off.
[Xperia Z1 Original Android Development] LeoYL:
We must have Xposed Framework for Android 7.1 first.
[Xperia Z1 Original Android Development] feb8born:
My card is fuseblk formatted... Do we have support for fuseblk in AOSP?
[Xperia Z1 Original Android Development] Mateusz_gameplay:
Is there any way to make Google Assistant work? I've tried editing build prop etc. but it shows me blank page

.
[Xperia Z1 Original Android Development] nemes480:
I can see all the shades of black when I see a movie for example.I had no problem before with the display. Transition colors was better in the stock.

Can you put it right or no one can see the difference just me?
[Xperia Z1 Original Android Development] niikko:
i got bootloop when y try to go back to stock/stock based rom, any idea?
[Xperia Z1 Original Android Development] Mateusz_gameplay:
flashing/restoring from backup or flashtool?
[Xperia Z1 Original Android Development] nemes480:
You should flash stock with "emma" flashtool. Then it will work :)
[Xperia Z1 Original Android Development] monnett:
U must flash stock ftf first using flashtool
[Xperia Z1 Original Android Development] nemes480:
It depends on what you want.
[Xperia Z1 Original Android Development] gauravbhakuni90:
Search for Get Assistant in playstore.

Just flash only the apps log partition from stock ftf no need to flash the whole ftf from Emma.
[Xperia Z1 Original Android Development] Mateusz_gameplay:
I've tried get assistant but it in didnt work
[Xperia Z1 Original Android Development] petrmenzel:
I do not know how. But I got bootloop (phone did not want to start) when I had flashed TWRP. So I think that all is possible.
[Xperia Z1 Original Android Development] benplay64:
If you flashed it properly it is impossible so did you do Fastboot flash recovery (nameoftheimg).img

If you have a boot loop you probably did Fastboot flash boot (nameoftheimg).img
[Xperia Z1 Original Android Development] Mateusz_gameplay:
is google assistant working for you?
[Xperia Z1 Original Android Development] nailyk:
We have recovery in boot arrangement. If for some reason you use the old boot method (extract_elf_ramdisk method) and the recovery partition remain incompatible with your kernel you get something which looks like a bootloop (most of the time it happens after a soft reboot into recovery). Best workaround is to force a power off, then power-on again. On my z3 I am also able to 'catch' fastboot on with usb cable plugged and keep vol+ pushed for a few.

Hope this help.
[Xperia Z1 Original Android Development] nemes480:
Last night I had random reboot. :/
[Xperia Z1 Original Android Development] nemes480:
Google Assistant - Root -> download this from playstore if u still have problem
[Xperia Z1 Original Android Development] SuperLamic:
if you haven't restarted your phone since the first boot after the crash, get the log

https://sites.google.com/site/zhuow...onandroid60andabovesysfspstoreconsole-ramoops
[Xperia Z1 Original Android Development] Gohryt:
pls write me how install recovery

i instal frow twrp3 it and supersu, and when i start it there is no recovery, now i can't install cyberian cam for aosp as example
[Xperia Z1 Original Android Development] nemes480:
I will make log next time :)

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

Flash again your recovery from pc - fastboot flash recovery <twrp>.img

I have recovery and it is working well
[Xperia Z1 Original Android Development] Gohryt:
i do it before message writing, if i flash recowery via fastboot it install recowery but delete os
[Xperia Z1 Original Android Development] nemes480:
Try to install twrp again. When you are in the twrp wipe: dalvik cache, cache, system , data and it will be good if you delete the internal too. After when you flashed the rom it should boot well! :) But you can try install twrp with the offical application from playstore.

---------- Post added at 04:03 PM ---------- Previous post was at 04:02 PM ----------

Calls dont works with headphone! :(
[Xperia Z1 Original Android Development] SuperLamic:
With mic or without? If they are without mic, then it's clear since the phone doesn't recognize non-mic headphones... no idea why... (don't have a build pc, so can't debug now)

(that's why you get those ghost button presses)
[Xperia Z1 Original Android Development] nemes480:
Yeah u right. My headphone have no mic but the interesting thing about this It always dismiss the incoming calls. :crying:

Can I ask you when will you have build pc to continue the work with 7.1? :)
[Xperia Z1 Original Android Development] SuperLamic:
about 7th December.. I'm selling the old one and buying new one. First I was building roms on my laptop, but it was taking about 4 hours and the laptop was getting really hot, so I've bought some cheap pc (core i5 650 and then I bought 16 gb of ram and ssd), but the build was still taking about 3 hours...

so now I'm buying core i5 3570 and I'll switch all the ram and ssd. I hope it will get better quite a bit...

unfortunately I need to wait for it because it comes from Slovakia and someone needs to bring it for me
[Xperia Z1 Original Android Development] nemes480:
I hope the new will make your works easier and faster and we will happy because the new builds :D
[Xperia Z1 Original Android Development] Mateusz_gameplay:
Nothing works :(
[Xperia Z1 Original Android Development] SuperLamic:
Oh really? Why there are people using it?

If you gave us a little bit more detailed description of a problem, you have at least some chance to get it resolved. I really hate posts like this.
[Xperia Z1 Original Android Development] Mateusz_gameplay:
Ok, i'll try to explain it. Iflashed the rom clearly, full wipe etc. i tried Get Assistant, flashable zips and modifying buld.prop, but then i say "OK GOOGLE" it stays on my home screen, but i can talk to him. When i say comand for example "tell me a joke" screen changes to white and i can't do anything. I can record this too if you want. I hope it's enough :).
[Xperia Z1 Original Android Development] Gohryt:
Thanks to all for tips, now recovery works. it start normal working when i format not only phone but sd card too and install it from internal storage (i hope it's my own problem not for someone any)
[Xperia Z1 Original Android Development] SuperLamic:
I'll try to remove most of gapps preinstalled (I'll try to leave only pixel launcher or any other needed apps). So that you can install whatever you want.

It doesn't seem to be rom problem (or at least the driver part of rom - which I care about)

But is the google assistant that needed app?
[Xperia Z1 Original Android Development] drakonizer:
Its sad how you described such a petty issue as "Nothing works". Maybe you should ask the OP for a refund?

And its a known issue that voice invocation of the Google Assistant doesn't work on non-pixel devices. You can use it by long pressing the home button. Or you can buy a Pixel.
[Xperia Z1 Original Android Development] SuperLamic:
It worked for me on CM :D