yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] krabappel2548:
OK, it seems Sony's latest kernel and device updates cause a little issue with display gone during device boot.

This results in no kernel logo, boot animation or display in recovery. I'll need to fix this first, then I'll see what might be the issue with mobile data and release the update

EDIT: jerpelea knows about it, fix should come soon :)
[Xperia Z1 Original Android Development] Balloonio:
Can u create a zip file, install your android from recoverry?
[Xperia Z1 Original Android Development] optimumpro:
I think unified kernel is a big mistake by Sony. They are moving Microsoft way and will be punished by the market. The whole purpose of Linux (which Android is based on) is customization, i.e., make software fit the particular device and get rid of unneeded stuff used in other devices. Going "unified" may seem like a money saving option for a big corporation, but iin reality, it is not: You are going to be burried in bugs that you can't fix, because the fix will break things for other devices. Not to mention differences in hardware. And we have already seen problems in Crdroid where they say fixes to camera break functionality for other devices...
[Xperia Z1 Original Android Development] Garcia98:
You would be amazed if you knew that a kernel built from the same Linux kernel source works in different platforms, from PowerPC and MIPS to x86 and ARM.

There's no reason to think that a unified kernel will break anything.

Also it is just intended for developers and to be used in custom ROMs, the stock ROM won't be using this kernel, so this has nothing to do with Sony corporation.

PS: Sorry for the offtopic
[Xperia Z1 Original Android Development] naitik2012:
m also thinking the same but didn't commented anything on unified kernel because i tht they are trying something use full and it will help out later but NO!! if u try to fix something in rhine family it will broke something in shinano family and if try something to fix in shinano family it will break something in rhine family ..... i think this is the reason we have to wait so long for CM12 and AOSP 5.0 ... where as Xperia Z has almost stable AOSP 5.0 and also Stable CM12 ..... this is not going to help in anyway ... they want one patch that will fix 9 phones , is it possible ? no ?

Thanks :)
[Xperia Z1 Original Android Development] pashka0:
Speaking about stability, I should say, that this rom and crdroid was stable enough for me, but main reason is battery life ( maybe kernel related) and camera, since crdroid fixed mic.

---------- Post added at 04:32 PM ---------- Previous post was at 04:31 PM ----------

For battery life, I underclocked to 1.5ghz, still without any serious lags or reboots
[Xperia Z1 Original Android Development] krabappel2548:
The unified kernel isn't a big mistake. It is possible to get everything running on more then 1 device using a unified kernel. It just takes some time.

Sony has several devices running on aosp with this kernel and more and more bugs are getting fixed. It just needs time and a lot of patience ;)
[Xperia Z1 Original Android Development] hlaube:
There is a kernel update at sony's git for the kernel, 7 hours old.

https://github.com/sonyxperiadev/device-sony-honami
[Xperia Z1 Original Android Development] optimumpro:
I am not saying it is impossible to fix things in unified kernels; all I am saying is that it goes against linux principle of customization: why have things in a kernel that are useless for the particular device? It creates unneeded space and headaches when fixing. It especially does not make sense for open source community. If I have Xperia Z1, I want to have only things needed for Z1. It is much easier to deal with bugs in the realm of the particular device without worrying that by fixing things for Xperia Z1, you could break functionality for let's say amami. Why is Gentoo, for example, far superior to other linux distros? Because you can compile things (including kernels) for your device only, while other kernels have drivers and other things for many different devices, which is bloat for my Z1.
[Xperia Z1 Original Android Development] srqrox:
+1
[Xperia Z1 Original Android Development] krabappel2548:
it might be bloat to you, but after all, the "bloat" isn't compiled and used in Z1 kernel. So I don't get what's wrong with the kernel according to you. All it does is take up a little more space on your hdd before compiling. let's say, .c or .h files etc are very small so won't take away that much space :) fixing a bug for one device is quite simple most of the times, you can just add and #if, else, end mostly. Also Z1, Z2 and Z3 family all use msm8974 platform, so not too much difference in most source code. It's not like 10 devices with 10 totally different chipsets, which would be kinda useless yeah.

Anyway, we van keep discussion about this open for a long time, everyone has a right for another opinion. So let's get back on topic :)

I'll try to bring a fixed release asap :)
[Xperia Z1 Original Android Development] naitik2012:
Hi Krabappel

check this out >

http://xdaforums.com/showpost.php?p=57619789&postcount=48

any news for today ? :p

Thanks :)
[Xperia Z1 Original Android Development] AndrolinRoot:
Guys sony wont release Camera binarys.

Sony will never be able to boot a fully working phone with AOSP without breaking their license with other manufacturers
[Xperia Z1 Original Android Development] Rhadamg:
Excuse me, but why? Sony uses their own camera sensors and all...
[Xperia Z1 Original Android Development] olokos:
Good point.
[Xperia Z1 Original Android Development] AndrolinRoot:
This is the same thing I was wondering of. But I got told this by one developer.
[Xperia Z1 Original Android Development] moritz31:
i guess it runs under sonys name but a small factory develop it , sounds possible to me
[Xperia Z1 Original Android Development] abbychauhan:
Its the same for other Brands like HTC and LG. But we had Stable KK didn't we? Its matter of time devs will solve the issues. Sony support will just make it faster.
[Xperia Z1 Original Android Development] arminalvand:
screen light is too low

Why does the screen light is too low if the solution is not??????????
[Xperia Z1 Original Android Development] davidteri91:
In the AOSP kernel the driver is broken it was fixed by Chirayu desai and I think he pulls the changes to AOSP soon Just wait
[Xperia Z1 Original Android Development] :
Wifi mac-address changed

Hey all,

last time I tried out this ROM, I wondered why I was not able to connect to my Wifi network. Today I compared the mac addresses of both the stock and other kitkat custom roms and your lollipop build and recognized that the mac-address in your build was totally different, which caused problems with my router using a mac-address whitelist. So is that caused by any new drivers in lollipop or so? Sorry for that dumb question but I'm more or less a noob who's interested in Android :p
[Xperia Z1 Original Android Development] CoolDevelopment:
yes [MENTION=4340984]krabappel2548[/MENTION]

i had this problem too on my self-built aosp for amami

the wcnss service, unlike the one from cm11, does not copy the mac adress from syfs to /data/etc/macaddr0.

I manually copied the mac adress from syfs to /data/etc/macaddr0 and then i got my normal mac back.

I suggest you to use this prima implementation, officially from sony aosp: https://github.com/sonyxperiadev/prima/commits/rhine/3.2.3.185

This gets the mac adress directly from the platorm driver(https://github.com/sonyxperiadev/prima/commit/e762b04549fcd642d90ff0ccdc6fbd9ad0ee15e1).
[Xperia Z1 Original Android Development] schickel:
Problem WiFi/MAC: Take a look at my post in this thread: http://xdaforums.com/showpost.php?p=57609939&postcount=197
[Xperia Z1 Original Android Development] mo120697:
any updates for camera? or whats the actually state of development for camera?
[Xperia Z1 Original Android Development] AndrolinRoot:
Dont ask for ETA, this is development.
[Xperia Z1 Original Android Development] Papanik:
Well, if I have to lose my DRM keys one day, I can't wait to lose them for this one!
[Xperia Z1 Original Android Development] moritz31:
make a backup so you can restore them easily ;)
[Xperia Z1 Original Android Development] krabappel2548:
Wifi is working on newest build. Kernel is the prebuilt one now.

Other stuff still isn't working yet. I have a 4 day weekend so some more time hopefully ;)
[Xperia Z1 Original Android Development] moritz31:
Nice to hear that hopefully you get Phone and Data Working the next days :)
[Xperia Z1 Original Android Development] DesertHawk:
[MENTION=4340984]krabappel2548[/MENTION], appreciate all the hard work. Wanted to try it but didn't fancy loosing my data so I made a flashable version. Is it okay to share it as it can be flashed in recovery and no loss of internal memory
[Xperia Z1 Original Android Development] .K':
Nice to hear that. :) Newest Version already uploaded ?

Enjoy your weekend and don't work to much. Take your time and don't force yourself :D
[Xperia Z1 Original Android Development] krabappel2548:
Uploaded ;)
[Xperia Z1 Original Android Development] aa Ganteng:
Keep fix it bro :3

Great work :D

sent from my Honami
[Xperia Z1 Original Android Development] .K':
I just flashed everything and it booted just fine. But I cant enable WiFi. On the quicksettings it just doesn't respond and in the settings app the slider goes to "on" but after leaving and returning to the menu it's back to "off". :/
[Xperia Z1 Original Android Development] Balloonio:
Mobile internet still not work.

How i can add google account? Need install gapps?
[Xperia Z1 Original Android Development] :
oh mighty [MENTION=4340984]krabappel2548[/MENTION]

I come to you from the land of the compact, also called Amami. (yes, I like fancy introductions :p )

I would like to ask your advice concerning an issue I'm having when compiling Android 5.0 for the Z1C.

I'm pretty sure you also faced this at some point ;)

here's the error log:

target thumb C++: hwcomposer.msm8974 <= hardware/qcom/display/msm8974/libhwcomposer/hwc.cpp
In file included from hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:0,
from hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:38:
device/sony/rhine/kernel-headers/linux/msm_ion.h:8:22: error: redeclaration of 'ION_HEAP_TYPE_DMA'
ION_HEAP_TYPE_DMA = ION_HEAP_TYPE_MSM_START,
^
In file included from device/sony/rhine/kernel-headers/linux/msm_ion.h:4:0,
from hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33,
from hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:38:
bionic/libc/kernel/uapi/linux/ion.h:31:2: note: previous declaration 'ion_heap_type ION_HEAP_TYPE_DMA'
ION_HEAP_TYPE_DMA,
^
hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp: In member function 'virtual int gralloc::IonAlloc::clean_buffer(void*, size_t, int, int, int)':
hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:201:24: error: invalid conversion from 'ion_user_handle_t {aka int}' to 'ion_handle*' [-fpermissive]
flush_data.handle = fd_data.handle;
^
build/core/binary.mk:618: recipe for target 'out/target/product/amami/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o' failed
make: *** [out/target/product/amami/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33:0,
from hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:36:
device/sony/rhine/kernel-headers/linux/msm_ion.h:8:22: error: redeclaration of 'ION_HEAP_TYPE_DMA'
ION_HEAP_TYPE_DMA = ION_HEAP_TYPE_MSM_START,
^
In file included from device/sony/rhine/kernel-headers/linux/msm_ion.h:4:0,
from hardware/qcom/display/msm8974/libgralloc/ionalloc.h:33,
from hardware/qcom/display/msm8974/libgralloc/alloc_controller.cpp:36:
bionic/libc/kernel/uapi/linux/ion.h:31:2: note: previous declaration 'ion_heap_type ION_HEAP_TYPE_DMA'
ION_HEAP_TYPE_DMA,
^
build/core/binary.mk:618: recipe for target 'out/target/product/amami/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o' failed
make: *** [out/target/product/amami/obj/SHARED_LIBRARIES/libmemalloc_intermediates/alloc_controller.o] Error 1
make: *** wait: No child processes. Stop.

#### make failed to build some targets (51:54 (mm:ss)) ####

your input would be greatly appreciated :highfive:
[Xperia Z1 Original Android Development] nolexxes:
Wifi doesn't work, no mac address in advanced settings, very smooth :D ;)
[Xperia Z1 Original Android Development] BlackSoulxxx:
Well, WiFi not working yet (no MAC) and Bluetooth seem too hard to enable it. Try 10-20 times just for enable it. NFC works great. Very smooth but Sim is not recognized and no IMEI too....
[Xperia Z1 Original Android Development] krabappel2548:
Wifi mac address loads after a while, should take max of 2 min after booting the rom. But it won't work immediately after booting ;)
[Xperia Z1 Original Android Development] jokervulture:
can't wait! thanks a lot bro
[Xperia Z1 Original Android Development] krabappel2548:
ION_HEAP_TYPE_DMA has 2 declarations, so it throws an error.

Delete the ION_HEAP_TYPE_DMA line from bionic/libc/kernel/uapi/linux/ion.h to fix it :)

Another error will appear later, that one you'll have to try fix yourself ;)
[Xperia Z1 Original Android Development] BlackSoulxxx:
Wifi MAC not show up for me after 15mins . Reboot rom with Bluetooth enabled and next time it boot, Bluetooth Sharing FC constantly and non stop. The only way to stop it is enable Bluetooth once again..........If Bluetooth was turn off, it's hard to enable it again....

---------- Post added at 10:23 AM ---------- Previous post was at 10:08 AM ----------

Well, I found out one more nasty bug: If you dial *#*#4636#*#*, and choose WCDMA preferred or LTE (6903) (Mine is 6902) then open Menu -> select band -> choose Automatic for example. The radio will be restart and the select band menu can't be access anymore+ no SIM detected/signal forever, even reboot the phone. I guess I need to reflash baseband again:p:p:p
[Xperia Z1 Original Android Development] FiDra:
Hi guys, is there any mirror for the alpha 03 rather than the Mega. I have failed at 93% three times :(
[Xperia Z1 Original Android Development] :
thanks, I asked for your advice because I found the following for hammerhead:

https://android.googlesource.com/device/lge/hammerhead/+/e80b4bc8fb8c21916b597c960e652952f9a97cb9

https://android.googlesource.com/device/lge/hammerhead/+/dc84a68b0eff7d7652f48dddf665008a23b177c7

these are taken directly from google

I thought maybe you did the same ;)

might be worth testing though, might get CAF 3.5.2.2 to boot :good:
[Xperia Z1 Original Android Development] FiDra:
OK, nvm, I downloaded and going to install it now. Will report soon :)

Thanks krabappel2548 for bringing this to life :)
[Xperia Z1 Original Android Development] emr12:
Hi i did it everything well but flashtool desn't see boot.img and system.img how can i fix this?
[Xperia Z1 Original Android Development] onestyle007:
use fastboot mode in flashtool and set your device in fastboot mode,then in the new window change from .sin to .img and it will see both system.img and boot.img :)
[Xperia Z1 Original Android Development] krabappel2548:
Camera HAL gets fully loaded, still an error when opening camera app, but I'm getting closer to make it work ;)
[Xperia Z1 Original Android Development] iiD4x:
thats really good news,

so i think next update I'll have Lolipop on my device ?
[Xperia Z1 Original Android Development] ast9011:
[MENTION=4340984]krabappel2548[/MENTION]

Will this help for camera by installing google camera from play store?

http://xdaforums.com/showthread.php?p=57529891
[Xperia Z1 Original Android Development] emr12:
Thx for help :) I did it clean install but phone call and mobile data doens't work i hope he will fix it :)
[Xperia Z1 Original Android Development] AndrolinRoot:
Guys if you want to make the work easier for him than donate him some beer and red bull. ;)
[Xperia Z1 Original Android Development] meetkalamar:
Nice :D You are Awesome!

Sorry for asking, but anyone notice if 3.5 has the same battery drain of 3.0? :p
[Xperia Z1 Original Android Development] *crespo*:
question

:cowboy:is the camera still not working ??
[Xperia Z1 Original Android Development] emr12:
Yeap. But he will fix it soon i hope :)
[Xperia Z1 Original Android Development] Papanik:
Please search a little bit first.
[Xperia Z1 Original Android Development] e30luismi:
no enter recovery ;(
[Xperia Z1 Original Android Development] krabappel2548:
Recovery is fully functional so it should work :)

And I have no vacation, need to work and also it are holidays now, so I have no idea how much free time I'll have for this now
[Xperia Z1 Original Android Development] Moscow Desire:
Just a reminder.

Please keep posts "Development Related"

And Folks... if your'e posting about things not working, crashing, force closing, etc.......

You had better be attaching a LOGCAT or DMESG to your post.

Simply crying "Whaaaaa..... this don't work" ... means absolutely squat, and won't get a damn thing fixed. There're enough free apps on XDA and Play Store that'll take a logcat for you (for the adb illiterate)

Help the Dev out..

MD
[Xperia Z1 Original Android Development] tcchuin:
no.
[Xperia Z1 Original Android Development] krabappel2548:
Update coming up :) no camera yet
[Xperia Z1 Original Android Development] krabappel2548:
Beta-v4.0 is released:

I'll keep working on camera, gps and video playback ;)
[Xperia Z1 Original Android Development] Aaskereija:
Mic?
[Xperia Z1 Original Android Development] ViperCDX:
Mic has already been fixed in the previous version (v3.5)
[Xperia Z1 Original Android Development] mo120697:
did you try it or are you just thinking ?;)
[Xperia Z1 Original Android Development] hlaube:
Just a whow!!

Installed and impressed. Up till know all is working fine. At this for Christmas :)
[Xperia Z1 Original Android Development] nardusg:
Deep sleep?
[Xperia Z1 Original Android Development] arminalvand:
Low screen light is work????? In v4
[Xperia Z1 Original Android Development] AndropaX:
Can you set default cpu governor as ondemand ?

Because device is quite heat in normal work on default governor (interactive)
[Xperia Z1 Original Android Development] merlinx1:
I cannot access to the external sd....didn't find a solution. Someone occoured in the same problem? How to fix?
[Xperia Z1 Original Android Development] suudi:
Download file comnander on google playstore
[Xperia Z1 Original Android Development] merlinx1:
Already tried no application can access to the ext SD. Android itself can't mount it...what should I do?

Edit. I found the solution,you have to format again the SD from the phone even if it is already empty
[Xperia Z1 Original Android Development] mgh1982:
Brightness & camera the problems.
[Xperia Z1 Original Android Development] hlaube:
Works
[Xperia Z1 Original Android Development] hlaube:
Can not confirm this. Temp on mine is normal.
[Xperia Z1 Original Android Development] hlaube:
Issue with Daydream

When phone gets into sleep, screen-option Daydream does not kick in.

Attached section of logcat.

____________________________

After reboot it works, Daydream kick's in.
[Xperia Z1 Original Android Development] Papanik:
What's the problem with brightness?
[Xperia Z1 Original Android Development] tadeas482:
It's very low.
[Xperia Z1 Original Android Development] topsecret78:
GPS is not working for me.
[Xperia Z1 Original Android Development] Papanik:
Yes, it is a known issue.
[Xperia Z1 Original Android Development] noob_user_:
Re: c6902 - urgent

Is there something I need to do specifically for c6902? I lost my imei
[Xperia Z1 Original Android Development] topsecret78:
Using http://xdaforums.com/showthread.php?t=2982636

[Q&A] [ROM][WIP]AOSP 5.0.1 Beta v3.5 | Lollipop for Xperia Z1
[Xperia Z1 Original Android Development] krabappel2548:
After 1 night on beta v4.0 I had deep sleep :) although I must say it still drains more battery then it should be draining when inactive.
[Xperia Z1 Original Android Development] :
Is it possible to copy the mac address from syfs(?) to macaddr0 after boot using adb shell? Or is that something which needs to be done before compiling the rom itself?
[Xperia Z1 Original Android Development] arminalvand:
Brightness the problems Unresolved????????????????
[Xperia Z1 Original Android Development] Papanik:
I tried, but no luck. I guess it won't be that easy to get camera working. ;)

(at least for me)
[Xperia Z1 Original Android Development] AndropaX:
Thermal throttling is not working and device is very, very hot in games (up to 90°C on cpu !)

It looks dangerous for device and burns hands...
[Xperia Z1 Original Android Development] Arwynj:
I have an issue with this rom... I have done everything and when my phone boots it constantly goes to recovery... or flash mode? any ideas??

never mind I fixed it :laugh:
[Xperia Z1 Original Android Development] Wolfbreak:
Please respect the work Developers do becouse they dont get paid for it but they spend alot of Time, so before you say something like made by People who dont know what they do better learn it yourself and show us how to do or dont do anything and keep your Opinions for you becouse this is disrespectful for me. What i have to say too is what does this ROM have to do with Official Google Lollipop? Just becouse there are some Bugs in this Beta for Z1 (thats why its called beta)? Do you really think the Bugs that are present here are present in official Lollipop too? Next Time before you spread your wrong Opinions better do some research. Its no personal attack dont get me wrong but please dont disrespect Devs work and spread false Information. Sorry for the OT but i had to say this.
[Xperia Z1 Original Android Development] Moscow Desire:
Knock it off people!

(going to clean some of the OT, so if yours gets deleted, too bad)

Carry on and keep it clean.

MD
[Xperia Z1 Original Android Development] yoorie016:
Cellular Connection

Hi,

I just wandering why my device cant connect with my network provider? im trying to register in a provider (Im in philippines) but says "your Sim card cant connect........")

BTW, this AOSP is awsome! i hope that it will become stable soon, :D
[Xperia Z1 Original Android Development] Tojootti:
Mic and dataroaming

Hi!

I have Z1 c6903 and I installed fine beta v4.

I notice that:

dataroaming only have 3g and 2g options, not 4g

when calling, other person hear his own voice like echo ( tested with multiple persons)

camera doesn't work ( I know that aren't working)

otherwise beta v4 works very well on my phone.

and sorry my bad english :)

Good work at all.
[Xperia Z1 Original Android Development] tadeas482:
You don't have problem with low brightness?
[Xperia Z1 Original Android Development] hlaube:
I can confirm the echo and the missing 4g, and of course the otherwise well working phone.

The echo I did not have on crDroid.
[Xperia Z1 Original Android Development] Tojootti:
no

First it is but I set to maximum like I always do. I don't use auto-option at all.
[Xperia Z1 Original Android Development] davidteri91:
For echo problem can anyone test this

in build.prop

Delete

persist.audio.handset.mic=analog

Add

persist.audio.dualmic.config=endfire
[Xperia Z1 Original Android Development] jkamkeg:
I have problems too whit brigthness, any options that fix manually for example editing build.prop?
[Xperia Z1 Original Android Development] bramdeman:
external sd

Is there anyone who knows how to fix the reading of the external sd card? My phone doesn't read the external in my file explorer, but when it's in revovery mode it does read the ext card:)
[Xperia Z1 Original Android Development] mokuni:
Sdfix from google app store?
[Xperia Z1 Original Android Development] bramdeman:
But these are meant for kitkat.
[Xperia Z1 Original Android Development] hlaube:
Have you tried to format it by using the system? I have no problem at all using sd-card. During flash I also flashed sd. And I just flashed it with system again and its fine.
[Xperia Z1 Original Android Development] -XperiaMan-:
Can I flash system.img and boot.img with TWRP ?( You said to flash them using fastboot , I mean , will there be any difference ?? ) :)
[Xperia Z1 Original Android Development] AndrolinRoot:
Can you flash images via TWRP ?