yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] 301stSpartan:
No, we don't mean break forever, but if you aren't careful, don't read everything from the tutorials, and don't follow every step, then you can break it forever (unless Sony comes up with a solution for this issue which also allows you to recover from messing up... I wouldn't risk my device on this hope).

If you don't want to break your camera forever then backup the TA partition BEFORE you unlock the bootloader. Then you can fix the camera by restoring the TA partition. However by restoring the TA partition your bootloader will RE-LOCK. Once you do this you can't boot into a custom kernel, so only do this while on a stock ROM.

So you can have an unlocked bootloader OR you can have a camera, you just can't have both at the same time. When the camera breaks it either won't work at all or mostly won't work and won't focus at all. Basically useless. If you have a locked bootloader you can't run a custom kernel (which means no AOSP ROMs). If you unlock the bootloader before you back up your TA partition then your camera is broken and there is no way to fix it. No one here will be able to help you.

Before doing anything I strongly suggest reading all the main tutorials and guides in the general section. There's probably 3-4 out there you should check out, and the main ones are stickied so are easy to find.

BUT IF YOU TAKE ONE THING AWAY FROM THIS POST REMEMBER THIS: BACKUP YOUR TA PARTITION BEFORE YOU UNLOCK YOUR BOOTLOADER.
[Xperia Z1 Original Android Development] albertobom:
Thanks mate.

For now I'll stay stock, but I'll read the threads you mentioned carefully.

Damn you Sony :@!

The best of the Android is custom ROMs dear Sony. Let's work on a solution please :).

Enviado desde mi C6903 mediante Tapatalk
[Xperia Z1 Original Android Development] gladiac:
Oh, no new honami-build in FXP246. Is the build broken or dropped until camera-focus is fixed?
[Xperia Z1 Original Android Development] Rekoil:
There are only builds made if there are device-specific changes present in the repo, there haven't been any for a while now.
[Xperia Z1 Original Android Development] crk1995:
Can Somebody please help me find the link to cm build for xperia z1???
[Xperia Z1 Original Android Development] Klaus N.:
@ crk1995

Just take a look here: https://sites.google.com/site/projectfreexperia/download/cyanogen-mod-10-2 (latest build for our device [= honami] is FXP245).

And no, there's is still no CM11-build for honami ;)
[Xperia Z1 Original Android Development] crk1995:
Please read my quoted text.

I cannot open the default links on that site. And when i visit their unrestrict.li servers, i cannot see cm10.2 branch there.
[Xperia Z1 Original Android Development] albireox:
If the camera is broken when doing the unlock is there any other camera app that can be used with the Z1?
[Xperia Z1 Original Android Development] 301stSpartan:
No, the issue is deeper than just the camera app. It breaks all camera apps
[Xperia Z1 Original Android Development] championswimmer:
Technically it should. Flash and see. You can always flash back your FTF if it doesn't work

Sent from my Xperia Z1
[Xperia Z1 Original Android Development] desmonexus:
what is the latest version to download, I can not find the link
[Xperia Z1 Original Android Development] kur41:
https://sites.google.com/site/projectfreexperia/download/cyanogen-mod-10-2
[Xperia Z1 Original Android Development] ravi_buz:
Sorry to post this here. I am little confused.. I am trying to flash the CM 4.4 version from here,but want to know what FXP 256 and 247 mean. And also inside those folders i can see many files. Do they mean anything?
[Xperia Z1 Original Android Development] juanpirulo:
There is no versión for z1 4.4 . that files are for direrents xperia devices. Last one for z1 is CM 10.2 in fpx245. Cheers.
[Xperia Z1 Original Android Development] ravi_buz:
But we have a thread for 4.4. Am i missing something?

1. I unlocked the bootloader.

2. Downloaded CM11 and extracted the boot.img file and placed it in the flashtool file

3.Flashed the kernel and gave the command for flashtool reboot but my phone dosnt go into CM recovery at all.

I have now flashed the TA backup and the stock rom. Some clarity on flash custom kernel/ROM will be appreciated.
[Xperia Z1 Original Android Development] warfareonly:
There is no CM11 for the Z1 and ZU right now. Maybe we'll get it by next week.
[Xperia Z1 Original Android Development] juanpirulo:
The other Thread says that Cm11 is in testing process. So what the fu... you download. Code name for our device is Honami. don´t flash !!!!
[Xperia Z1 Original Android Development] YamazakiRobert:
where is the bug list?

because if is only the back camera is not working i going to try this rom.
[Xperia Z1 Original Android Development] ravi_buz:
I flashed this file "FXP247-cm-10.2-20131126-UNOFFICIAL-honami" But as soon as the CM boot icon appears, My phone boootloopes and starts Free Xperia bootanimation. but the phone wont start.
[Xperia Z1 Original Android Development] juanpirulo:
Ahhhhhh ok you said you downloaded a cm11 but that one is a cm 10.2 and is for our device "honami" so should be ok. did you follow all the steps to flash in op?.
[Xperia Z1 Original Android Development] ravi_buz:
i tried with Cm11, then as you said, found out that our device is Honami. So downloaded 10.2 and followed all steps. I see the Free Xperia Screen, Then Cm screen and then again Free Xperia scree. It just bootloops.

Also i noticed that most of the Devs are including a file to flash if the device is C6902 (mine is this). Is there any reason for it?
[Xperia Z1 Original Android Development] gregbradley:
Have you unlocked the bootloader?

Once you flashed the kernel (After unlocking the boot) then just reboot the phone and press volume up repeatedly when you see the FXP logo
[Xperia Z1 Original Android Development] diffstyle:
There is a z1 on ebay that a guy is selling with an unlocked bootloader and CM 4.2 installed. I messseged him asking him if he would include the TA partition so I am able to relock the bootloader to get camera fuctionality back on stock ROM. He just messseged me back saying his camera works perfectly fine with an unlocked bootloader and CM 4.2 installed. How can this be?
[Xperia Z1 Original Android Development] guddu2011:
on cm 4.2 we can take pics but camera doesnt focuses i.e blurred images with no focus.. PERFECTLY FINE is wrong word used by him.

my advice is not to buy it.
[Xperia Z1 Original Android Development] diffstyle:
Thanks
[Xperia Z1 Original Android Development] guddu2011:
ya, it is a button under my post on the left hand side :)
[Xperia Z1 Original Android Development] gallardo5:
Is the camera working now with fixed bootloader?
[Xperia Z1 Original Android Development] jeroenqui:
Didn't do much research yet, but I guess cm/fxp must implement the new camera libs/proprietary files first
[Xperia Z1 Original Android Development] MeLViN-oNe:
Just tried a few minutes ago...sadly no :(
[Xperia Z1 Original Android Development] veghov:
There has to be compiled a new build using the new camera libraries, Until then the camera will still be broken. Just be patient.
[Xperia Z1 Original Android Development] westernmg:
As the Android 4.3 Sources for the Z1 are published now and our bootloader can be unlocked, is there somebody out there who is willing to make us a fully functional CM10.2 ?

I miss it really, but i have not enough skills to do it by myself :angel:
[Xperia Z1 Original Android Development] andymg350:
Now that the camera is fixed we should see cm11 soon as well :)
[Xperia Z1 Original Android Development] Rekoil:
Perhaps [MENTION=2492127]Kali-[/MENTION] or someone else will have time now that the holidays are upon us? That would be truly awesome!
[Xperia Z1 Original Android Development] Snaqejack:
Can't wait to run CyanogenMod on my lovely Z1!
[Xperia Z1 Original Android Development] orrorin:
I'm attempting to build it, but I really don't have the skills either. Wish me luck!

EDIT: Everything should theoretically work, but when I "breakfast honami" or "brunch honami" I get the following error:
[Xperia Z1 Original Android Development] slatsmckracker:
Do you have the proprietary blobs for the phone in your source folder?
[Xperia Z1 Original Android Development] orrorin:
I do, yes. I dumped them from a C6903 running the 4.3 unbranded FTF.
[Xperia Z1 Original Android Development] westernmg:
Finally i have successful set up a buildsystem and compiled CM10.2 for Z1 using some tutorials and copy&pasting stuff ;)

On my C6903 it is bootable and everything except the camera seems to work.

While pulling the vendor files from my phone running stock 4.3 the following files wasnt found on the phone, so i removed them from the script.

/system/etc/firmware/adsp.b12

/system/lib/libchokoball.so

/system/lib/libloc_adapter.so

/system/vendor/lib/libmmcamera_cac_lib.so

Maybe because of this the Camera is dead??

Seems not to be that easy, my skills are at the end at this point...... :(

We really need help from some Devs.
[Xperia Z1 Original Android Development] B1nny:
Have a look at the "TheMuppets" Github, maybe you'll be able to find your files there.

The board in our phone is called "Rhine" and the Xperia Z ultra is called "Togari", so I think you'll have the most luck finding the files in those folders.

Later tonight I will have a look for those files myself.

https://github.com/TheMuppets/proprietary_vendor_sony/tree/cm-10.2/togari
[Xperia Z1 Original Android Development] DAddYE:
Can you write a small how-to?
[Xperia Z1 Original Android Development] westernmg:
I followed Googles Tutorial and this Article.

My ~/android/cm-10.2/.repo/local_manifests/roomservice.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_sony.git" path="vendor/sony" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_device_sony_honami" path="device/sony/honami" remote="github" />
<project name="CyanogenMod/android_kernel_sony_msm8974" path="kernel/sony/msm8974" remote="github" />
<project name="CyanogenMod/android_device_sony_common" path="device/sony/common" remote="github" />
<project name="CyanogenMod/android_device_sony_qcom-common" path="device/sony/qcom-common" remote="github" />
<project name="CyanogenMod/android_device_sony_rhine-common" path="device/sony/rhine-common" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_audio-bfam" path="hardware/qcom/audio-bfam" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_display-mdss" path="hardware/qcom/display-mdss" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_media-v4l2" path="hardware/qcom/media-v4l2" remote="github" />
</manifest>

The files are all there, but they are all minimum 3 months old, so i thought to pull them from the official 4.3 ROM would be a good idea.
[Xperia Z1 Original Android Development] B1nny:
Fair point, I guess the old files should work though, worth a shot I guess?
[Xperia Z1 Original Android Development] westernmg:
If the old Files would work, so the Version from OP should also work.:confused:

It does not work, just flashed the Version from OP i lost my IMEI ;) Guess i have to go back to stock first :)
[Xperia Z1 Original Android Development] B1nny:
Maybe just take those files that are missing from the OP? I'd personally get them from the TheMuppets Github though. Also maybe Krabappel's 4.4 rom?
[Xperia Z1 Original Android Development] DAddYE:
Do you have a file listing permissions for honami vendor files somewhere? I'll explain later why ;)
[Xperia Z1 Original Android Development] westernmg:
No, don't know where to find or generate such a file....
[Xperia Z1 Original Android Development] moritz31:
have u already tried it with an custom 4.3 kernel (DooM or something like this), maybe its an problem with the prebuilt kernel ?

sadly can't build because some diskspace is missing and i'll have to wait til 25. befor i can add a harddisk :(
[Xperia Z1 Original Android Development] westernmg:
I have compiled another build with the proprietary files pulled from running stock 4.3 and the missing files from the muppets github.

Everyting is ok except the camera.

Whan i flash the monx Kernel on top it gives me a bootloop.
[Xperia Z1 Original Android Development] moritz31:
strange think this device first bricked camera when unlocking bootloader now no camera with Cyanogenmod :/ but i guess there will be a fix out in the next days. I have no idea where the fault maybe, have someone experience with older cm versions ? and when the muppets data are outdatet it makes sence that the camera won't work, because in the older files there were the camera issue :/
[Xperia Z1 Original Android Development] DAddYE:
Can you list missing files?
[Xperia Z1 Original Android Development] moritz31:
guess he means the files he already said on page 10,

what means the GPe behind your device number ?
[Xperia Z1 Original Android Development] DAddYE:
Yesterday night I got a port of GPE ultra working on Z1, and also there everything works except the camera.

The problem seems on

/system/lib/hw/camera.qcom.so

If I use the Kitkat GPE one I'm stuck with:

W/ServiceManager( 323): Permission failure: com.sonyericsson.permission.CAMERA_EXTENDED from uid=10146 pid=13025
E/mm-camera-sensor( 442): module_sensor_query_mod:2487 led flash is not supported for this sensor.
D/mm-camera-intf( 323): mm_camera_open: opened, break out while loop
E/mm-camera-sensor( 442): module_sensor_query_mod:2487 led flash is not supported for this sensor.
E/libcamera( 323): calculateViewAnglesByPictureSize: Invalid pixel pitch 0.000000

So I guess that driver isn't compatible.

So I uploaded the stock 4.3 one but then I get a simple:

symbol not defined _ZN7android10VectorImpl19reservedVectorImpl1Ev

And I have no clue where this symbol is defined.
[Xperia Z1 Original Android Development] B1nny:
By stock 4.3 do you mean the stock 4.3 kernel or the driver from the stock 4.3 kernel?
[Xperia Z1 Original Android Development] DAddYE:
I mean the driver from the stock 4.3.

Here how:

monXdifedZ-Honami-257_v02-00-07 $ adb push system/lib/hw/camera.qcom.so /system/lib/hw/
5051 KB/s (95792 bytes in 0.018s)
monXdifedZ-Honami-257_v02-00-07 $ adb shell "chmod 644 /system/lib/hw/camera.qcom.so

And here the error:

I/system_monitor( 448): add_plugin - Type: mitigation, name: NOTIFY
E/HAL ( 327): load: module=/system/lib/hw/camera.qcom.so
E/HAL ( 327): dlopen failed: cannot locate symbol "_ZN7android10VectorImpl19reservedVectorImpl1Ev" referenced by "camera.qcom.so"...
E/CameraService( 327): Could not load camera HAL module
[Xperia Z1 Original Android Development] moritz31:
i'm not very familiar with that android thinks but from my c++ experience i guess there are some missing libs
[Xperia Z1 Original Android Development] DAddYE:
Same for me mate. Tonight I'll try to use ag and try to find it.
[Xperia Z1 Original Android Development] clmntch:
readelf -a <file> | grep NEEDED

The output should be a list if shared libraries.
[Xperia Z1 Original Android Development] orrorin:
Looks like there's a new build up on FXP. Downloading now.
[Xperia Z1 Original Android Development] andymg350:
Nice find! latest fxp includes honami has anyone tried it yet? If so do we have any camera functionality? Id try it but im at work till late :(
[Xperia Z1 Original Android Development] orrorin:
Camera shows an image but doesn't focus or actually take pictures (even out of focus). Also, on the C9603, the IMEI is all zeros even after flashing the baseband only from the 290 FTF.

In short, still needs more work.
[Xperia Z1 Original Android Development] moritz31:
but these are some good news ;) if now the camera shows something, the rest will work in a few days too ;)
[Xperia Z1 Original Android Development] maomao891007:
Before Sony fix the bl, Dev had already done this. The camera's problem is can't focus for unlocked bl.
[Xperia Z1 Original Android Development] eseregin:
Unlock bootloader was solved by 4.3 version Already

So problem with something else, probably with close code of some libs for camera
[Xperia Z1 Original Android Development] Klaus N.:
That's correct, but I thought, it still has to be ported for AOSP - respectively FXP (CM)?

Maybe someone of the FXP-team could put a little light in that...
[Xperia Z1 Original Android Development] moritz31:
can someone summerize whats working in 4.3 and whats not ?

and whats the difference to 4.4, because if 4.4 have only like 4.3 the camera issuie i'll switching to improve 4.4
[Xperia Z1 Original Android Development] westernmg:
Everything except the camera is working.

No idea about CM11, but on doomlords 4.4.2 Port from the Z GPE seems to be the same.
[Xperia Z1 Original Android Development] moritz31:
okay :)

why the camera :S

if bluethoot not working okay but the camera i use everyday :(

hopefully there will be a fix
[Xperia Z1 Original Android Development] Snaqejack:
Actually, there's a little bug here and there aswell but perhaps nothing major.
[Xperia Z1 Original Android Development] Klaus N.:
I think there's something going on. Just take a look at the fxp site (FXP252 [CM11alpha release] will come...)!
[Xperia Z1 Original Android Development] moritz31:
tomorrow maybe i'm downloading and trying
[Xperia Z1 Original Android Development] DAddYE:
Still nothing:

http://uploaded.net/f/ht2qxw

:(
[Xperia Z1 Original Android Development] B1nny:
I think it's better to keep an eye out on this page:

https://sites.google.com/site/projectfreexperia/download/cyanogen-mod-11
[Xperia Z1 Original Android Development] houzuoguo:
I see a dozen download links FXP240-FXP251, which one is the latest and best suits Xperia Z1?

Clicking into a download link brings up another 9 choices such as "dogo", "odin", which one is for Z1?
[Xperia Z1 Original Android Development] moritz31:
z1 is called honami i guess they don't have an build to download yet
[Xperia Z1 Original Android Development] DAddYE:
I hope so but checking their sources seems there is nothing new for our device. :(
[Xperia Z1 Original Android Development] moritz31:
will go to bed now :) hopefully tomorrow there will be something up
[Xperia Z1 Original Android Development] Blegh:
The 252 is the one that will support the z1 as an alpha release according to the changelog. It should be released in the near future.

https://sites.google.com/site/projectfreexperia/download/progress
[Xperia Z1 Original Android Development] Klaus N.:
That's exactly what I meant!

I think we've just to be patient and cross our fingers ;)
[Xperia Z1 Original Android Development] moritz31:
nothing up :(

but i have now my linux harddisk back and setup the system :) cm-10.2 and cm-11.0 sources already downloaded :)

but cm-11.0 i got errors :/ hopefully there will be something up befor new year
[Xperia Z1 Original Android Development] B1nny:
Have a look at Kali-'s Github, also check out other related Github pages if you want, maybe you'll find something interesting.
[Xperia Z1 Original Android Development] steveeJ:
there is a file available under the CM10.2 - 251 Primary link called:

FXP251-cm-10.2-20131224-UNOFFICIAL-honami.zip

i haven't unlocked my bootloader yet, so i can't try myself.

has anyone tried this and can report if the camera is working with focus?
[Xperia Z1 Original Android Development] omegahanggara:
Let me try that....
[Xperia Z1 Original Android Development] orrorin:
Already tried, camera doesn't focus or even take pictures and the mobile data / voice / text (radio) is non-functional on the C6903.
[Xperia Z1 Original Android Development] omegahanggara:
Confirmed...

Check attachments below..
[Xperia Z1 Original Android Development] DAddYE:
For those who care I compiled a CM11 with some of Kali sources and even here camera doesn't work. Same for WiFi. And is slow as hell ?
[Xperia Z1 Original Android Development] krakkhor:
What is this problem with the camera?? If the sources are there why doesnt the camera work?

Gesendet von meinem Nexus 7 mit Tapatalk
[Xperia Z1 Original Android Development] omegahanggara:
Camera libraries has been updated in order to fix critical bug on 4.2.2. I think FXP team didn't include those libraries yes. Just wait for next update, I'm sure they will fix this issue.
[Xperia Z1 Original Android Development] krakkhor:
I See i hope this changes soon

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] moritz31:
someone tried to compile with new libraries ?
[Xperia Z1 Original Android Development] omegahanggara:
I'll try tonight. Hopefully my Linux skill will help me. I will post the result here soon.
[Xperia Z1 Original Android Development] moritz31:
can u give me a link? @ the moment compiling 4.4.2, later i'll can try on 4.3
[Xperia Z1 Original Android Development] krakkhor:
I will test this for you if the cam works

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] moritz31:
okay :)

report back if its working ;)

then i'll compile too :)
[Xperia Z1 Original Android Development] krakkhor:
Where can i find IT?

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] Snaqejack:
On the internets...

Seriously, check the first post.
[Xperia Z1 Original Android Development] krakkhor:
Smart one you are

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] ilmorga:
Someone please give me something to flash!!!

Inviato dal mio C6903 utilizzando Tapatalk
[Xperia Z1 Original Android Development] B1nny:
Be patient. If you can't be patient, GTFO.
[Xperia Z1 Original Android Development] ilmorga:
That was a joke. What a gentleman by the way!

Inviato dal mio C6903 utilizzando Tapatalk
[Xperia Z1 Original Android Development] B1nny:
In that case sorry, it's just better to be straight on XDA..
[Xperia Z1 Original Android Development] Frewy:
So is the camera fixed in the new release build for 10.2? Anyone tested it out yet?
[Xperia Z1 Original Android Development] krakkhor:
Where is it?? And dont tell me to search the internets a link would be great

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] moritz31:
searched a lot but didn't found something ? can someone help ?
[Xperia Z1 Original Android Development] krakkhor:
Yup cant find it either

Gesendet von meinem C6903 mit Tapatalk
[Xperia Z1 Original Android Development] Snaqejack:
Seriously, there's alot of links on the first page in this thread.

Even a simple Free Xperia search in Google will lead you to the right place.
[Xperia Z1 Original Android Development] moritz31:
:eek: okay thank u ^^ didn't look in the fxp repos thought u mean somewhere else :)
[Xperia Z1 Original Android Development] moritz31:
some updates from me ... synced my working tree with the new source, and build it,

but neither camera or telephone works for me : imei = 000000000000

:/

even flashing of stockbaseband changes nothing
[Xperia Z1 Original Android Development] westernmg:
New builds are out http://uploaded.net/f/5pxx90

Unfortunately no CM11 for honami :(

I will flash FXP252-cm-10.2-20131229-UNOFFICIAL-honami.zip and test it.

Update: Lost my IMEI again, so no mobile network. Camera is not focusing and not saving pictures.
[Xperia Z1 Original Android Development] moritz31:
like i said , didn't try fxp252 but compiled myself :/ guess we have to wait a bit more :( will check github repos every hour can't wait for Cyanogenmod
[Xperia Z1 Original Android Development] Push3r:
deleted
[Xperia Z1 Original Android Development] Rekoil:
I'm guessing the build is compiled for 4.2.2 baseband, perhaps we need to patch our RIL before it will work with the latest baseband.
[Xperia Z1 Original Android Development] westernmg:
Where have you found one for Z1?
[Xperia Z1 Original Android Development] Klaus N.:
Atm, there's only a new cm10.2-build. I think, as soon as the cm11-alpha is released, the cm11-thread will be reopened...