yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] donjamal:
http://xdaforums.com/showpost.php?p=57894979&postcount=858<br />

<br />

Flashlight and preview is now working on Sirius CM12.<br />

<br />

Here is the commit https://github.com/TheMuppets/propr...mmit/7211973d35b948aa970c6ed5c690f42d221bd57f<br/>

Its from the big bro Z1
[Xperia Z1 Compact Original Android Development] d3s4nn:
Sounds like a good development!

I keep being excited >.<
[Xperia Z1 Compact Original Android Development] donjamal:
Fixed camera flash functionality, including auto-flash. Focusing still doesn't work atm.

Unzip the file below then copy both lib files to /system/vendor/lib and set permission to rwrr or 0644.

NOTE: This zip file is not flashable.

again from big bro z1, if anybody wants to try :)

Attached Files

File Type: zip camera-flash-fix.zip

http://xdaforums.com/attachment.php?attachmentid=3095707&d=1420285304
[Xperia Z1 Compact Original Android Development] OmarEinea:
Any credits for these? I'm thinking about implementing them in the ROM if possible :)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] rob rich:
Doesnt work for us, because we cant even Start the camera. Z2 camera is starting with working preview afaik.

Is Z1 camera working?

Z1compact camera is force closing on Start. Even with these libs
[Xperia Z1 Compact Original Android Development] cc546:
My ringtone and notification sound reset to default on every restart. Or is it only me?
[Xperia Z1 Compact Original Android Development] d3s4nn:
can any1 confirm that it works ?
[Xperia Z1 Compact Original Android Development] rob rich:
I tried, no luck. Even flashlight apps cant detect the led from the camera.

I think we have to wait for news from [MENTION=4340984]krabappel2548[/MENTION] from the Z1 thread. Afaik he is not far away from a working cam.
[Xperia Z1 Compact Original Android Development] einfachgaer:
I had the same issue. In my case all media files from external sdcard wouldnt save ,like playlists and ringtones. I've solved it by copying the files I need to the internal storage. I guess the mediascan service is a little bit buggy.
[Xperia Z1 Compact Original Android Development] space_eyes:
This happens intermittently for me, I have my background set to display/rotate multi photos off SD card. But I think it stopped, but there was an option I'm there for media scanning inside, not sure if this applies all around
[Xperia Z1 Compact Original Android Development] xperia_tim_z:
anything about new builds ? :)
[Xperia Z1 Compact Original Android Development] d3s4nn:
They're all stuck at the Camera.....
[Xperia Z1 Compact Original Android Development] xperia_tim_z:
http :// review.cyanogenmod .org/#/c/84800/ is this helpful ?

sorry i´m not allowed to post links
[Xperia Z1 Compact Original Android Development] nonyhaha:
So I am coming back with some bugs I have found on daily use.

Regarding Bluetooth streaming. I am able to hear music playing through my car stereo only if i reboot the phone prior to connecting it to the head unit, which is a Sony.

A new bug I have found, If I am listening to music through my car stereo and I receive a phone call, after i finish the call, the music playback volume increases so much that it starts distorting. This happens by itself, without touching anything.

When receiving phone calls, i cannot see the caller's picture. If I dial their number, the picture shows up.

That's it for the moment :)
[Xperia Z1 Compact Original Android Development] rob rich:
Looks good

[MENTION=4800636]OmarEinea[/MENTION]?

Chirayu Desai uploaded a lot of camera related stuff today
[Xperia Z1 Compact Original Android Development] OmarEinea:
Yes these seem like a workaround to make camera work,

just started a build with these new changes included and many more changes ;)

to follow the build: http://jenkins.gothdroid.com/job/CyanogenMod - Amami/96/console

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] xperia_tim_z:
Thank you ,

your the best !:)
[Xperia Z1 Compact Original Android Development] moesus:
oooh, great news!! It's christmas all over again :D
[Xperia Z1 Compact Original Android Development] OmarEinea:
build is done, downloading now, you guys need to wait until it shows up on the web :p

I guess I'm more excited than anyone else is xD

Will post changelog when the build shows up ;)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] rob rich:
I dont think so :P :D
[Xperia Z1 Compact Original Android Development] russel5:
I build with this 3 commits for camera, but on amami camera don't work
[Xperia Z1 Compact Original Android Development] OmarEinea:
True :rolleyes: just tested the build, camera isn't working yet :(

Though still, this build has some cool new changes, just not as cool as a working camera flag xD

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] xperia_tim_z:
so sad :( would your release this build ? :D
[Xperia Z1 Compact Original Android Development] OmarEinea:
CyanogenMod 12.0 Build [2015-01-11] Android 5.0.2_r1

Changelog:

- Add Charging USB

- Add mass storage support

- DisplayColor Calibration

- Include proper fix for wifi hotspot

- Included latest changes from CM team www.cmxlog.com/12

All these changes were made by [MENTION=4764217]davidteri91[/MENTION]

My god, sound control and some other kernel related changes should've been included in this build, but I forgot to enable them xD

I'll try to include them in the next one :)

Download Link:

cm-12-20150111-UNOFFICIAL-amami.zip Android 5.0.2_r1

Enjoy!

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] :
hmmm, here's what I found:

http://review.cyanogenmod.org/#/q/topic:8974-camera,n,z

if you check the commits for z3/z2 family, you'll see there are changes in the list of proprietary files. Maybe you need to do the same for our amami? ;)

They're all adding/removing the same files, so please try. I CAN'T WAIT AND I'LL ASK FOR ETA EVERY MINUTE!

kidding! :p :p
[Xperia Z1 Compact Original Android Development] Rekoil:
From looking at it, 5 commits are making the camera work on shinano (Gerrit: 84800, 81173, 84799, these three already apply to rhine since they are under the msm8974 and msm8974-common trees, but we are missing 84806 and 84807). At a glance I would say something similar to this commit needs to be applied to our android_device_sony_rhine-common tree, and something similar to this commit needs to be applied to our android_device_sony_amami tree. But it could be that rhine and shinano are sufficiently dissimilar that it isn't that easy on rhine. You might also take a look at the proprietary-files.txt file of CM10.1 (4.3) to see which camera-related files apply to rhine.

I have a final on tuesday (and wednesday... *sigh*) plus I have no build environment setup at the moment so I can't really tinker with it now.
[Xperia Z1 Compact Original Android Development] nonyhaha:
Is it normal to lose root after 04.01 build? I have lost root and i can't enter recovery also.

Does anyone know how i could get root back to be able to flash a recovery with rashr?
[Xperia Z1 Compact Original Android Development] rob rich:
Go to developer settings and enable root ;)
[Xperia Z1 Compact Original Android Development] russel5:
Our device already have this files, i checked

to [MENTION=986117]Rekoil[/MENTION]

same, we have this
[Xperia Z1 Compact Original Android Development] Rekoil:
Except we don't have this change, which is likely very important as it disables many of the security-related changes between 4.3 and 5.0
[Xperia Z1 Compact Original Android Development] Corias:
the only difference is that selinux sets to permissive mode. dont think that it influences camera in any way.
[Xperia Z1 Compact Original Android Development] vbenes:
selinux to permissive

I've tried to disable selinux via setenforce 0 (to permissive mode) but that change doesn't seem to be helpful anyhow.
[Xperia Z1 Compact Original Android Development] xperia_tim_z:
http:// review.cyanogenmod .org/#/c/84985/ maybe this helps ?
[Xperia Z1 Compact Original Android Development] Rekoil:
Apperently not:
[Xperia Z1 Compact Original Android Development] russel5:
Build new ROM with this commit http://review.cyanogenmod.org/#/c/85000/

If camera works, i wrote here
[Xperia Z1 Compact Original Android Development] d3s4nn:
Thanks for your engagement!

I wait for your review
[Xperia Z1 Compact Original Android Development] russel5:
Well, guys

Camera still not working...sad
[Xperia Z1 Compact Original Android Development] xkonni:
that hack is just for fixing the camcorder on z2, z3 it will benefit z1c once the actual camera issue for z1 in the unified kernel is sorted out.
[Xperia Z1 Compact Original Android Development] d3s4nn:
thanks anyway..

I think that most of us not so talented "devs" are grateful for every try :)
[Xperia Z1 Compact Original Android Development] xkonni:
there's no talent required for building roms... fixing things is the difficult thing ;)
[Xperia Z1 Compact Original Android Development] xkonni:
the camera works with the cm-11.0 branch of the kernel. this is due to the cm-12.0 branch being an unified kernel for z1, z2, z3 and apparently still lacks some #ifdefs for the rhine-platform.

http://i.imgur.com/lF10TGR.jpg

unfortunately with this branch neither ril nor wifi (and possibly other things) work. will try to sort this out, or someone else does... ;)
[Xperia Z1 Compact Original Android Development] donjamal:
Z2 got camera fix.. Dont know its good for us ?!
[Xperia Z1 Compact Original Android Development] crytic:
Don't bother reading the last few pages.
[Xperia Z1 Compact Original Android Development] rob rich:
Hi [MENTION=4800636]OmarEinea[/MENTION] can you add customization for quicksettings (here and here) in your next build? (Only if it isnt merged until then :) )
[Xperia Z1 Compact Original Android Development] OmarEinea:
Yes, no problem.

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] OmarEinea:
bump
[Xperia Z1 Compact Original Android Development] OmarEinea:
CyanogenMod 12.0 Build [2015-01-14] Android 5.0.2_r1

Changelog:

- Add customization for Quick Settings (pointed by [MENTION=5074836]rob rich[/MENTION])

- Included latest changes from CM team www.cmxlog.com/12

Kernel Specific Changes: (thanks to [MENTION=4764217]davidteri91[/MENTION])

- Added Sound Control v3.6

- Added I/Os: SIO & FIOPS

- Added Color Control feature

- Included camera change that might stop its FCs ;)

Download Link:

cm-12-20150114-UNOFFICIAL-amami.zip

Enjoy!

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] CrT乂雷神:
Downloading
[Xperia Z1 Compact Original Android Development] rob rich:
Camera works a bit better than before

But then stuck at this black screen. Will try a clean install
[Xperia Z1 Compact Original Android Development] xkonni:
can you push that camera patch to gerrit?
[Xperia Z1 Compact Original Android Development] Wind07:
I guess the changelog said that the change stops FCs which is also known as camera is not fully fix. So camera is still a bug I guess...
[Xperia Z1 Compact Original Android Development] OmarEinea:
Yes camera isn't fixed yet, but my friend David is so close to fixing it :victory::fingers-crossed:

and the change is his, that's why if he wants it on gerrit he'll do it ;)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] xkonni:
found his repo, its all there.

given the amount of source the CM guys code each day (and publish freely) its only fair to return the favor.

but seeing his other patches on gerrit, he does that... ;)
[Xperia Z1 Compact Original Android Development] d3s4nn:
And I'm still excited :) :) :)

I hope it'll work
[Xperia Z1 Compact Original Android Development] xkonni:
cdesai fixed it.
[Xperia Z1 Compact Original Android Development] AllAboutTech:
fixed the camera? incredible!

thank you
[Xperia Z1 Compact Original Android Development] nonyhaha:
Fixed what?
[Xperia Z1 Compact Original Android Development] xkonni:
camera. http://i.imgur.com/H8OG9YB.jpg

http://konni.mine.bz/cm-12-20150114-UNOFFICIAL-amami.zip

http://konni.mine.bz/boot.img

flashing boot is enough, the whole rom should of course work as well.

will take these down soon, but i know some of you can't wait until Omar uploads his build ;)
[Xperia Z1 Compact Original Android Development] goeland86:
You mean this is taken from phone camera? :D

Also, I might've missed it, but are outgoing calls fixed?
[Xperia Z1 Compact Original Android Development] rob rich:
It wooorks :) :) :)

Just flashed the Boot.IMG
[Xperia Z1 Compact Original Android Development] crytic:
Yes, and Yes.
[Xperia Z1 Compact Original Android Development] AllAboutTech:
hi,

awesome news. i have downloaded Omar latest build and replaced the existing boot.img with the one provided by you.

i will test and see if it is working. it should based on your description but better to test.

thank you once again.
[Xperia Z1 Compact Original Android Development] rob rich:
I have already tested ;)
[Xperia Z1 Compact Original Android Development] Gh61:
Bug in Email

I found a little bug in default Email application.

When i have binded multiple mail accounts and the combined view of messages is shown, then clicking on message will FC the whole app.

This behaviar occurs also in home screen widged with combined view.

I don't know where to post this, so please give me an advice if it shouldn't be here.
[Xperia Z1 Compact Original Android Development] nonyhaha:
any way to flash boot.img without a pc? flashify app freees on my z1c.
[Xperia Z1 Compact Original Android Development] rob rich:
Rashr from playstore
[Xperia Z1 Compact Original Android Development] nonyhaha:
Not working, i chose boot.img to flash as kernel, it reboots, but camera is still not working.

Tried it twice.
[Xperia Z1 Compact Original Android Development] d3s4nn:
thaaaank you!!!

it's working!!!
[Xperia Z1 Compact Original Android Development] xkonni:
open a bug on the cm bugtracker, jira.
[Xperia Z1 Compact Original Android Development] rob rich:
For me it worked. You can also download the whole Rom xkonni posted, or you wait a bit till Omar uploads a new build
[Xperia Z1 Compact Original Android Development] Schlengge:
Hey,

I only followed this project with half attention... Fixed camera means this build can be used on a daily basis or are there still major bugs which cause trouble in everyday use?

Thanks for the answer and sorry I don't have time to read all 33 pages ;)
[Xperia Z1 Compact Original Android Development] rob rich:
Camera was the only missing major function till now. U can use it
[Xperia Z1 Compact Original Android Development] goeland86:
Question - does the latest build listed here include the camera fix?

http://www.gothdroid.com/?p=347&wpfb_list_page=2 - this is the download folder for all of his builds, so I'm assuming this is his latest one, dated today? But was it made before or after the camera fix was integrated, that's the million dollar question :angel:
[Xperia Z1 Compact Original Android Development] OmarEinea:
It was built before the final camera fix was implemented, so camera doesn't work in it,

will do one tomorrow maybe, but today I'm building RR with the fix included :)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] AllAboutTech:
perfect! thank you Omar!!:good:

besides camera fix, what else will be included in the RR release?
[Xperia Z1 Compact Original Android Development] EpicLPer:
Holy dayum! Thanks to everyone who got camera working :thumbup:

At least I have something to do today :)

I'll report my experience in a few days maybe here! :)
[Xperia Z1 Compact Original Android Development] giober98:
I am really tempted... But a little concerned about

-Display quality without X-reality

-Camera without Bionz (does our device support new camera api introduced in lollipop?)

- Does audio quality decrease like it did with xperia nxt series?

Were both cameras fixed?

What about video recording?

Sorry but I am super excited
[Xperia Z1 Compact Original Android Development] davidteri91:
Without Sony proprietary blobs for camera the new api won't work either we don't know if our camera will support it so we need wait for lp in z family to start the work on it before all lies
[Xperia Z1 Compact Original Android Development] OmarEinea:
So did you add any change other than the ones that were merged by cm team today?

cuz I've compiled a build of RR just now with these changes included, and camera is still not working :confused:

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] rob rich:
But i guess we can use xkonni's Boot.IMG with RR rom?
[Xperia Z1 Compact Original Android Development] OmarEinea:
We can, but I wonna add some features to the kernel like sound control and I/Os and color control :)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] Casserole:
Phone don't want to wake up after locking

No, it wakes up, but screen shows nothing.

Fixed.
[Xperia Z1 Compact Original Android Development] xkonni:
yes, the revert cdesai mentions here: http://review.cyanogenmod.org/#/c/84985/

something was wrong in the gpio-overhaul and messed with the irq request for camera.

http://review.cyanogenmod.org/#/c/84985/
[Xperia Z1 Compact Original Android Development] too.stoopid:
I have tried this new boot.img with RR 5.2.8 and camera doesn't work.
[Xperia Z1 Compact Original Android Development] rob rich:
Think the last RR Rom lacks a few changes for camera
[Xperia Z1 Compact Original Android Development] Casserole:
Camera cannot save pictures and videos to external SD.
[Xperia Z1 Compact Original Android Development] OmarEinea:
I didn't see that, I was to lazy to read xD

K then will build RR with this included now :)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] Rekoil:
Um... My camera launches fine and all (from the lock screen), but there is no icon anywhere on my home screen or in the drawer... help?
[Xperia Z1 Compact Original Android Development] rob rich:
Clean install?
[Xperia Z1 Compact Original Android Development] Rekoil:
...yeeeeeeah, that's not how I roll hehe. Seriously though, there must be some other way.
[Xperia Z1 Compact Original Android Development] rob rich:
After clean install, my icon was back...i did not try other ways :D
[Xperia Z1 Compact Original Android Development] Schlengge:
Hmmm...

Camera won't do for me either. Clean install.

Flashed the suggested kernel but I don't see a camera app in drawer.

Also from lockscreen I get a FC from the camera app :(
[Xperia Z1 Compact Original Android Development] marsa47:
Since I haven't tried yet any L release, the easiest way to begin with seemed to be the mentioned in post #316 (stefanz08):

-download OmarEinea's latest build: http://xdaforums.com/showpost.php?p=58164558&postcount=301

-download xkonni's proper boot.img http://xdaforums.com/showpost.php?p=58168358&postcount=312

-exchange the old boot.img in the flashable zip with proper one through capable archiver on PC (7zip, etc)

-flash the zip following the instructions on the leading post http://xdaforums.com/showpost.php?p=57141888&postcount=1

Before that I flashed TWRP through the method mentioned on 1st post too. Of course I was all backed-up at first.

Everything went well for me, camera is working. I am so grateful to every dev involved in my first L experience :) Cheers guys!
[Xperia Z1 Compact Original Android Development] Neur0Nerd:
What zip are you talkink about in the 3 step ? Is it the gapps ?
[Xperia Z1 Compact Original Android Development] marsa47:
The flashable one, containing the ROM itself, downloaded in step 1 (cm-12-20150114-UNOFFICIAL-amami.zip)
[Xperia Z1 Compact Original Android Development] EpicLPer:
Did you flash the frist-post-TWRP from here before Lollipop (so, on Android 4.4.x) and it worked? Just being sure, using Multi Recovery now.
[Xperia Z1 Compact Original Android Development] Schlengge:
Just backup in TWRP. You can get it on this ROM aswell.

Just enable root in dev options, install rashr and flash the TWRP from first post. That way you can try the ROM without fear.
[Xperia Z1 Compact Original Android Development] marsa47:
Actually I first did a full backup with CWM included with my old CM11-m12 (just in cace...). Then I flashed TWRP from the first post. Do a couple reboots to see everything still works OK, then backed up through TWRP and got involved with the L :)
[Xperia Z1 Compact Original Android Development] paulle:
twrp

here is the newest twrp

http://xdaforums.com/sony-xperia-z1-compact/general/fota-twrp-recovery-amami-t2909719/page5
[Xperia Z1 Compact Original Android Development] Schlengge:
Also...

Is it reported that the screen flickers when the brightness is really low? Or used it just for me?
[Xperia Z1 Compact Original Android Development] davidteri91:
I find the missing CONFIG_SONY_CAM_V4L2

https://github.com/crdroidandroid/a...mmit/50b6f54bb5af8c009de93ab8e62fa01fe657f413
[Xperia Z1 Compact Original Android Development] amnher:
So those who have tried the camera, hows the quality? is it better than CM11?
[Xperia Z1 Compact Original Android Development] OMGitsbagno:
It's pretty much the same
[Xperia Z1 Compact Original Android Development] lj3lj3:
Anyone please confirm the Skype is working on this? both camera? this is the last thing for me to move to L. if Skype is not working, my gf will kill me!:p

thank you!
[Xperia Z1 Compact Original Android Development] EpicLPer:
I just tried to download your boot.img and my Avast! is reporting your site as malicious. Checking on Google told me that the IP-Address that leads to this site was once in a pool of malware providing websites.
[Xperia Z1 Compact Original Android Development] AllAboutTech:
hi,

it is working like this. i am using Omar's Jan 14th build and camera is working, data and wi-fi are working too.

so far 14hrs from full charge and only 12% battery drain.

thank you!
[Xperia Z1 Compact Original Android Development] CrT乂雷神:
Camera in WhatsApp+ Material is work but my mon is black,screenshot can see the image but the mon just black!can you fix it?Thanks?
[Xperia Z1 Compact Original Android Development] EpicLPer:
I just flashed the ROM with the replaced boot.img and the first thing I notice is that the phone is running a little hot. Like, not really really hot but just noticeable hot, I think there are some CPU related issues still and it won't go into full sleep?
[Xperia Z1 Compact Original Android Development] AllAboutTech:
it is working like this at the beginning.

after the 1st full charge for me phone is working normal and no hot :P

thanks.
[Xperia Z1 Compact Original Android Development] Schlengge:
Mine is sleeping fine with the modified boot.img. But camera still won't work for me :(

Had a huge battery drain in standby until I flashed the right baseband for my country. Now it seems all fine. Never go back from 5.0...

I can live without camera for a few days ;)
[Xperia Z1 Compact Original Android Development] rob rich:
Mine is sleeping fine, too. And its strange that camera does not work for you [MENTION=4840683]Schlengge[/MENTION]. Have you tried flashing the Boot.IMG with flashtool or fastboot too?
[Xperia Z1 Compact Original Android Development] d3s4nn:
[MENTION=4840683]Schlengge[/MENTION]

Are there differences between basebands?

I live in germany and until now no problems
[Xperia Z1 Compact Original Android Development] Schlengge:
[MENTION=219398]Rob[/MENTION]: Yes tried with flashtool on a clean install. Its not a problem though I can wait for a proper release where its implemented.

[MENTION=5363654]d3s4nn[/MENTION]: I usually always flash the baseband from german firmware. If you don't see any problems with the built in one you can leave it I guess ;)
[Xperia Z1 Compact Original Android Development] xkonni:
i used an url-forward (mine.bz) that may have been abused in the past.

the actual site is hosted at the TU-Berlin so i doubt there are any security issues present.

ah nice, so the revert is no longer necessary? good job!
[Xperia Z1 Compact Original Android Development] davidteri91:
Really I don't know if the revert is working [MENTION=4800636]OmarEinea[/MENTION] told me it is not working for him and about this commit posted by me is only for advice a missing #if ,but it isn't working either I am still checking the history commits line on these files maybe was wrong

Regards