Camera & Flash not working after unlocking and changing ROMs (Very new to all this) - Xperia Z5 Q&A, Help & Troubleshooting

Camera & Flash not working after unlocking and changing ROMs (Very new to all this)
Hi,
So I just did my first ever unlock on my Xperia Z5 dual E6683 yesterday and was a bit overwhelmed at first but actually started enjoying tinkering with TWRP and the adb flash tool. Anyway I was hoping to use LineageOS 17.1 Android 10 as my main OS and everything is fine (actually better than stock) except for the camera and flash which are not being detected at all. I have tried wiping and reflashing the ROM multiple times and changed versions but to no avail. I have been looking for a fix since yesterday and it seems this is a common problem. Is there any Android 10 ROM thats secure, stable and has a working camera for the Z5 or is this issue fixable? Should I started looking into "kernals"?
Things I tried:
lineage-17.1-20200722-UNOFFICIAL-sumire
lineage-17.1-20200411-UNOFFICIAL-sumire
-
OpenCamera
-
with or without Gapps
I am currently downloading a stock Z5 ROM to see if the camera works.
Thanks for your help!

UPDATE:
So the camera, flash, mic and touch sensor are all working on carbonOS but it runs on Nouget so I am missing alot of the features i am used to, still looking for a fix for LineageOS camera/mic.

Its still being worked on, Android 7 and 10 have different kernel requirements, please be patient. Also dont open a forum post if it clearly states in the lineageos 17.1 forum thread. Also keep in mind that its an unofficial rom, and also no, currently there are no stable roms with camera working.
2020/07/22
### Camera is still broken ###
Updated to Android 10.0.0_r40 with July security patches.
Upstream updates and fixes.
Finally fixed memory draining issues, thanks to @TALUAtXDA .
Kernel optimizations.
Support more models for flashing: E6603, E6683

simbanono said:
Its still being worked on, Android 7 and 10 have different kernel requirements, please be patient. Also dont open a forum post if it clearly states in the lineageos 17.1 forum thread.
Click to expand...
Click to collapse
Sorry about that, I must have missed it. Do you know if there are ANY official roms for the z5 with everything working, anything Nouget or above?
Thank you.

Havent tried any other roms, im waiting for Android 10 meanwhile im using another phone. Lineageos 14.1 should be working though

Related

[Q] Camera not working - my own build CM11 - Samsung Tablet P3110

Hi everyone!
Nice to be here!
This is my first post on this forum, however i read this forum a long time...
I'm not a developer. I'm a user.
I have no difficulty in preparing the environment and follow instructions, and even adapt some things (not in this case).
Last week, I compiled a version of cyanogenmod 11, following this tutorial. (http://wiki.cyanogenmod.org/w/Build_for_p3110).
I take special attention to these steps:
3.8 Prepare the device-specific code
3.9 Extract proprietary blobs
Instead 10.2, i used the CM11 source.
Everything worked fine, but after install the ROM, the device camera (Samsung Tablet P3110) doesn't work. A message appears saying it cannot connect to camera.
In other unofficial builds of CM11 for my device, like nightly version (http://download.cyanogenmod.org/?device=p3110), and codyF86 version (http://forum.xda-developers.com/showthread.php?t=2525713), the camera works fine!
Could, please, any of you give me a hint as why the camera doesn't work on my build, and what i must do to fix it?
Right now, i'm using CodyF86 version, and the camera is OK.
I would realy like to use my own build on my device, even that in the essence, almost all builds available out there, is the same thing...
I already do some research on the forum, and after that, I think that is something related to manifest.xml... But I don't know how to deal with it...
Hope someone can help...
Did you manage to solve the issue?

[ROM][6.0.1][DISCONTINUED][Lineage OS][T31X] [Android security patch September 2017]

Credits:
@gr8nole for his device trees.
Lineage OS
SOURCE:
- Cyanogen: https://github.com/CyanogenMod
-Lineage OS: https://github.com/lineageos
DEVICE SPECIFIC SOURCES
- Kernel: https://github.com/gr8nole/android_kernel_samsung_smdk4x12
- Common T31x device: https://github.com/gr8nole/android_device_samsung_lt01-common
- SM-T310: https://github.com/gr8nole/android_device_samsung_lt01wifi
- SM-T311: https://github.com/gr8nole/android_device_samsung_lt013g
- SM-T315: https://github.com/gr8nole/android_device_samsung_lt01lte
-Vendor blobs: https://github.com/gr8nole/proprietary_vendor_samsung
-smdk4412-common: https://github.com/cyanogenmod/android_device_samsung_smdk4412-common/
-Samsung Service Mode: http://github.com/CyanogenMod/android_packages_apps_SamsungServiceMode
-Samsung Hardware: http://github.com/CyanogenMod/android_hardware_samsung
Download:
T310
lineage-13.0-20171001-UNOFFICIAL-lt01wifiNot tested.
lineage-13.0-20170324-UNOFFICIAL-lt01wifiNot tested.
lineage-13.0-20170129-UNOFFICIAL-lt01wifi Unofficial january security update. Lineage OS didn't release security update for android 6.0.1.
lineage-13.0-20161230-UNOFFICIAL-lt01wifi
cm-13.0-20161217-UNOFFICIAL-lt01wifi
cm-13.0-20161111-UNOFFICIAL-lt01wifi
cm-13.0-20161019-UNOFFICIAL-lt01wifi
cm-13.0-20161008-UNOFFICIAL-lt01wifi
T311
lineage-13.0-20171001-UNOFFICIAL-lt013g Not tested.
lineage-13.0-20170324-UNOFFICIAL-lt013g Not tested.
lineage-13.0-20170129-UNOFFICIAL-lt013g Not tested. Unofficial january security update. Lineage OS didn't release security update for android 6.0.1.
cm-13.0-20161217-UNOFFICIAL-lt013g Not tested.
cm-13.0-20161112-UNOFFICIAL-lt013g Not tested.
cm-13.0-20161019-UNOFFICIAL-lt013g Not tested.
T315
lineage-13.0-20170324-UNOFFICIAL-lt01lte Not tested.
lineage-13.0-20170129-UNOFFICIAL-lt01lte Not tested.Unofficial january security update. Lineage OS didn't release security update for android 6.0.1.
cm-13.0-20161217-UNOFFICIAL-lt01lte Not tested.
cm-13.0-20161112-UNOFFICIAL-lt01lte Not tested.
cm-13.0-20161019-UNOFFICIAL-lt01lte Not tested.
all my files
Gapps:
opengapps
Choose:
Platform: ARM
Android:6.0
Variant: naco or pico
INSTALLATION
First time installing Lineage OS to your Galaxy Tab 3 8.0, or coming from another ROM
- TWRP 3.0
- Copy GApps and Lineage OS ZIPs to your internal or external SDCard
- Boot into Recovery
- DO A DATA WIPE / FACTORY RESET
- Flash Lineage OS zip
- Flash GApps zip
- Reboot
- optional :FLASH SUPERSU
Please note:
I only sync and compile this rom. I use gr8nole device tree.
I built this rom and I like to share it here on xda as it is. I'm not an IT programmer (my Knowledge in programming is very limited) and I do not have very often free time.
If someone find a fix for a bug, I will recompile the rom with that fix. But I will not fix bugs by myself because I do not have the Knowledge and time to learn.
I will not respond to any comment except comments that will help me fix the rom.
Don't ask for ETA. I will try to build the rom every month when the Android security patch level is released.
UPDATE DECEMBER 2016: CyanogenMod Is Dead, and Its Successor is Lineage OS
Nice but Can I dirty flash this over gr8nole' rom?
I can confirm it works perfectly on t311 and you can dirty flash from gr8nole's CM 13
working great here, i did a total wipe then then the rom, then gapps, then supersu for good measure (i prefer it to the CM one as i dislike notifications on root stuffs). everything is lovely, although so far i've only done some normal testing/use then have had it playing perktv videos nonstop without issue.
thanks for the update(s - very appreciated!!
Doze mode is working great when using Naptime
Nice
works in my SM-T311
Thanks m8
Hope you keep maintaining this rom
I found a bug, device will shut down after using ir remote, I hope you fix this ?
Tested 2 days on T315 normal use, works flawlessly no problems what so ever with full root SU Xposed installed. all good. Thanks for the great work regards @gr8nole .
EDIT : Bugs report :
Device will restart by itself sometimes ( Not many times happens ) but it will restart when it gets little stuck or pressure sometimes
it will restart many times when using CAM application , Aftermarket CAM application installed and works fine without restarting
Whatsapp (IN APP) Cam video recording doesn't work , have to use installed cam app
Recording voice using Whatsapp isn't clear.
Second MIC (SPEAKERPHONE Mic ) doesn't work
Bluetooth Music works fine but NOT Bluetooth Calls ( In calls U only hear your voice echo )
otherwise reading other comments on other roms seems to to have more bugs.
LTE 4g and voice calls works fine, everything else works fine
IR remote works great Using PEEL SMART APP for Samsung
thanks
New builts with security patch November 2016
New builts with security patch December 2016
Very thanks!
Thank you very much for completing this ROM. I found out, that there is the DRM Bibliothek missing (SM-T310), but not on equal ROM for SM-T520 . Someone knows to fix it?
Very good rom for sm 315 and very fast. Thank you. 2 bugs: mirracast dont working, and the sound of key, i disable from options but still make sound.
Thank you so much! Your ROM runs perfect on my T310. I got one noobish question: where can I get the SuperSU? I just found one quite old thread about this. Thx in advantage!
nope, that method doesnt work with 6.0.1, had to do a dirty flash to get rid of it.
Does the camera and bluetooth work correctly?
RiTCHiE007 said:
Does the camera and bluetooth work correctly?
Click to expand...
Click to collapse
I justed tested that for you. Tried a Bluetooth speaker, taking photos and video recording, everything seems to work perfect ?
Droehnemeier said:
I justed tested that for you. Tried a Bluetooth speaker, taking photos and video recording, everything seems to work perfect
Click to expand...
Click to collapse
Thank you for taking the time and test all these so thumbs up!!
RiTCHiE007 said:
Thank you for taking the time and test all these so thumbs up!!
Click to expand...
Click to collapse
You are welcome :good: enjoy flashing
I have cm 13.1 on Samsung sm-t310 and works fine... What's dirty flash and what's easiest way to upgrade to lineage?

[ROM] LineageOS 14.1 for Xperia X Compact Unoff.(Android 7.1.2, Patchlvl Jan 2018)

Hi folks,
some hardware crash later I found some time again to compile a plain version of LineageOS 14.1 for the Xperia X Compact (kugo). Android version of this build is 7.1.2 with patches and kernel from January 2018. No other software integrated, so you have to install Viper4Android etc. yourself for now to make the AudioFX work. Other issues still remain:
- Selfiecam still upside down (Android API issue?) Fix it using i.e. Simple Cam or similar
- FM Radio doesn't seem to work reliably (binary blob issue?)
I did an update installation with this one on a self-built LOS 14.1 from December so please feel free to do a full install :good:
Download links to the ROM and the corresponding md5sum file for validation when installing with TWRP (I will add some links to AndroidFileHost later):
http://www.filefactory.com/file/51blu0o4lrjx/lineage-14.1-20180117_140543-UNOFFICIAL-SonyLOS-kugo.zip
http://www.filefactory.com/file/5ehop1l7mvuj/lineage-14.1-20180117_140543-UNOFFICIAL-SonyLOS-kugo.zip.md5sum
Edit: Androidfilehost links:
ROM: https://www.androidfilehost.com/?fid=890129502657578159
MD5File: https://www.androidfilehost.com/?fid=962187416754455692
Best regards,
jtk_de
This is great !! Although this rom/thread will probably not get the attention it deserves because you posted it in the Questions & Answers category instead of Roms & Kernels etc.. If you can't move it, maybe you can contact a moderator to get this thread moved to the correct category.
great job, just installed it on my wifes XC and it works like a charm, thanks a zillion !
harryharryharry said:
This is great !! Although this rom/thread will probably not get the attention it deserves because you posted it in the Questions & Answers category instead of Roms & Kernels etc.. If you can't move it, maybe you can contact a moderator to get this thread moved to the correct category.
Click to expand...
Click to collapse
Yeah, that's right. Still not enough merits to post in the ROM section. Hopefully this gonna change soon
ive got problems with this rom ;(
theres an echo when making calls, its very annoying and makes longer conversation impossible. Apart from that its losing net from time to time
switcher said:
ive got problems with this rom ;(
theres an echo when making calls, its very annoying and makes longer conversation impossible. Apart from that its losing net from time to time
Click to expand...
Click to collapse
Can't confirm these issues with my XC and service provider, everything seems to sound normal to me. Still annoying is that changing the volume during calls doesn't seem to work though
jtk_de said:
Can't confirm these issues with my XC and service provider, everything seems to sound normal to me. Still annoying is that changing the volume during calls doesn't seem to work though
Click to expand...
Click to collapse
Hoping official build soon!
How to flash? When flash - bootloop with twrp, stay at lineage logo. What is md5 file for?
From the Moderator Oka1
To all,
I moved this thread to Roms and Kernels where it should be long
I hope all will appreciate the work that was done to make this Rom possible.
To the OP ... Please remember to post your source code in the Git or other approved repository
Thanks ! ~~~ Oka1
Thank you.
echo124 said:
How to flash? When flash - bootloop with twrp, stay at lineage logo. What is md5 file for?
Click to expand...
Click to collapse
Flash with TWRP. The md5sum can be used for verification within TWRP if you check the corresponding box. Clear at least cache, dalvik before install though.
echo124 said:
How to flash? When flash - bootloop with twrp, stay at lineage logo. What is md5 file for?
Click to expand...
Click to collapse
Install with TWRP. Md5sum file is for verification inside TWRP if you check the respective box. Please clear cache, dalvik at least before install.
[ROM] Xperia X Compact Unoff için LineageOS 14.1 (Android 7.1.2, Patchlvl Jan 2018)
screenshot Please
jtk_de said:
Thank you.
Click to expand...
Click to collapse
How long should one wait at Lineage logo splash screen? Not 15 minutes? Gets stuck at the logo, wiped everything, went back to stock then flashed twrp, wipe everything the flash lineage - stuck at logo
jtk_de said:
Install with TWRP. Md5sum file is for verification inside TWRP if you check the respective box. Please clear cache, dalvik at least before install.
Click to expand...
Click to collapse
Doesnt work
Updater process ended with error 7
*nevermind it kicked in after several reboots.
People calling me report a strong echo, i.e. they hear their own voice played back at them. On my end, everything sounds fine, no echo. But it's kind of embarassing to put my callers through this. Won't be able to keep this ROM like this.
Hi bro, thanks for your work! And could you share the code on the github?
Because I tried to build lineage 15.1 on my kugo using the code shared by sony AOSP team, but I failed a lot of times.
I hope to see your code and maybe I can learn some something from it.
Thank you very much.
ROM] LineageOS 14.1 for Xperia X Compact Unoff.(Android 7.1.2, Patchlvl Jan 2018)
ROM] LineageOS 14.1 for Xperia X Compact Unoff.(Android 7.1.2, Patchlvl Jan 2018)
installation instruction!
1=
2=
3=
4=
Thenkyou.
( Xperia X Compact oreo )
= Twrp-3.2.1 =
@jtk_de
Where can I find source code?

[Sony] Xperia Open Devices Project

Sony Mobile is committed to supporting the open developer community, and one way to show this is by publishing parts of our code as well as selected tools developed by our internal developers.
For some of the Xperia™ devices, we provide Android™ Open Source Project (AOSP) device configurations on GitHub. This means that the software will be open for you as a developer to use and contribute to. This is a way for us to support the open Android community, and it is also a tool for us to facilitate and verify contributions to AOSP.
If you want to build AOSP for your unlocked Xperia device, you find all the resources you need in the sections below.
https://developer.sony.com/develop/open-devices/
Unified 4.4 kernel sources
https://github.com/sonyxperiadev/kernel
Project git
https://github.com/sonyxperiadev/
Bug tracker
https://github.com/sonyxperiadev/bug_tracker/issues
Now you can build the latest Android with the latest 4.4 kernel
jerpelea said:
Now you can build the latest Android with the latest 4.4 kernel
Click to expand...
Click to collapse
Does it also mean that the official firmware from Sony will be updated with this new kernel?
I am not a developer but built it following the guide using the sources since a few months back. Boots and runs. Even used it for a time. But couldn't get fingerprint sensor to work properly. When I used 8.0 branch it was working but very slow and roughly. (Nowhere near the sensitivity of the stock rom) now with 8.1 branch can't get it register fingerprints. Sensor works, starts enrollment and progresses, but at the last step it gives error. However seems like more sensitive and faster than before. Another problem is the battery drain when idle. When using the phone daily routine not that bad, slightly less screen on time compared to stock but the real problem idle battery drain. %15-20 in 6-7 hours. According to battery starts appears to be related to Google play services which is always a serious battery killer for custom roms for years. Other than these did not notice any serious problems. And all this without any changes or tweaks. Straight from the source. Good job Sony imo.
@maluus Don't know if this also applies to compiling roms, but Sony just (march 8) released a new version (v11) of the odm image, which solves fingerprint enrollment issues you seem to describe for the omnirom 8.1 build:
https://developer.sony.com/file/dow...es-for-aosp-oreo-android-8-1-kernel-4-4-loire
Yeah heard of it. I was using v10 oem image last time. When i get back to home I'll try with v11 and will see if fingerprint issue is solved. If it's ok i can use it as daily as it is. If battery drain problem is solved too it will be pretty much everything i expect.
Vendor v11 is out
https://developer.sony.com/develop/open-devices/latest-updates
battery drain is fixed and new kernel binary will be released today
FM-radio will work someday on kugo in custom roms?
Anyone tried a recent aosp build with v11 binaries yet? Does fingerprint works correctly and accurately? How is the battery life compared to the stock? What is screen on time?
Just installed an AOSP build from March 15th together with v11 binaries and Micro GApps. Fingerprint is working.
And the battery life? I'm home though. I'll be building soon ?
droncheg said:
FM-radio will work someday on kugo in custom roms?
Click to expand...
Click to collapse
for the Open Devices project
in Android 7.x the FM Radio is enabled
in Android 8.x the FM Radio is disabled
Regards
J
For user security dm-verity and File Based Encryption are enabled by default
Please disable them only if you are developing new features
Regards
J
@jerpelea
Will the Sony Xperia XZ2 be added?
MartinX3 said:
@jerpelea
Will the Sony Xperia XZ2 be added?
Click to expand...
Click to collapse
we are finalizing the last steps before adding it
Regards
J
All build guides are updated with the Security updates
https://developer.sony.com/develop/open-devices/guides/aosp-build-instructions/
Here is the list of all known bugs. If you find bugs you can always open a ticket in the bug tracker and we will check it ASAP.
https://github.com/sonyxperiadev/bug_tracker/issues
@jerpelea, do you know if there is a modem binary file for this phone that's compatible with T-Mobile VoLTE in the US? The XZ1C has a compatible file (amss_fsg_lilac_tmobile_us_ims_tar.mbn). The stock ROM doesn't, but I'm trying to get VoLTE working and this file would certainly help (if it exists).
Last night I built again. First thing I noticed is how well fingerprint reader works. It's like stock. Congrats to the devs for good job. Camera including video recording and Bluetooth works. But camera seems 1-2 mm smal from sides. Charging issue persists. As Harry pointed 3 amp chargers doesn't work. I tried 2 other chargers. 2.1 amp charger work normally. But 1 amp charger starts do disconnect and connect again after 43-44%. (I'll share the logs with devs) Another problem I noticed is that I can't root with magisk. Tried ver 16, 17 and 18. I can flash from twrp without error but when the device boot up neither Magisk manager is installed nor device is rooted. I did not try with supersu. Another thing to mention is that device boots up pretty slow. Boot crash still happens sporadically.
PS: Supersu works. Sometimes device lags heavily. I noticed especially on chrome and some banking apps.
PS 2: Sharing logs. (Includes 3 amp charging attempt and 2.1 amp charging)
little off, very very basic question, and I could not seem to find the answer.
I understand how to set up a build environment and build an image to the phone, but how about the developer.sony.com latest section binaries?
are they already built images? how will it be different if I build mine following the instructions?
Cheers,
You'll build rom first then you still need to flash that binaries too. They are not alternatives to your home build rom. They are part of the os which you won't be able to homebrew, for your device to work properly.

Our devices is dead??? No more rom support?

Hi, since Xiaomi decided to depreciate rom support for our mi4c, everyday i try to find a replacement firmware. But here is what i found: official lineage removed mi4c since april, last rom is 0209 because they no longer support 14.1 version. AICP lastest version is 2702, no longer update. There're many unofficial roms on 4pda, but all of them now have their support ended because the devs move to new devices. There's only Mokee that support nightly 9.0 and release 8.1 version everyday and monthly. I try to find something like "mi4c treble" but no hope, the repository is created but empty, not like mi4 that has unofficial treble support. Maybe i need to buy a new phone? But my phone is still in good condition with no problem so far... :crying::crying::crying:
Yeah, sad but true. I also gave up on new rom, so i still use the 15.1 LineageOS one (20180810). Good rom, no problems here, but wouldnt mind some security updates.
The phone works nicely though and apart from battery lasting a day, i dont see any problems. I guess we will have to move to new phone if we want to see some updates rom.
I resized device partition table in order to support android treble.
I will make custom recovery image which is support android treble.
Maybe our device is ready to support android treble by then
added
I made treble-enabled recovery image now and it works well.
I will release the solution soon.
dla5244 said:
I resized device partition table in order to support android treble.
I will make custom recovery image which is support android treble.
Maybe our device is ready to support android treble by then
added
I made treble-enabled recovery image now and it works well.
I will release the solution soon.
Click to expand...
Click to collapse
Thank you, i'm waiting for your topic
AgiZ10 said:
Yeah, sad but true. I also gave up on new rom, so i still use the 15.1 LineageOS one (20180810). Good rom, no problems here, but wouldnt mind some security updates.
The phone works nicely though and apart from battery lasting a day, i dont see any problems. I guess we will have to move to new phone if we want to see some updates rom.
Click to expand...
Click to collapse
Is that the one without vibration support?
https://gitlab.e.foundation/e/wiki/en/wikis/device/libra/install
it's a fork of LineageOS, still being updated
haven't tested it yet
This is update of lineage-16.0.
https://androidfilehost.com/?w=files&flid=289411
wRAR_ said:
Is that the one without vibration support?
Click to expand...
Click to collapse
Yes, that is the one.
Tfgru said:
https://gitlab.e.foundation/e/wiki/en/wikis/device/libra/install
it's a fork of LineageOS, still being updated
haven't tested it yet
Click to expand...
Click to collapse
Anyone tested it yet? It seems /e/ is sort of microg. how is it different?
Autines said:
This is update of lineage-16.0.
https://androidfilehost.com/?w=files&flid=289411
Click to expand...
Click to collapse
Why is this not on this forum, and where is the development thread being discussed? Are there any problems with it? Anyone tested it?
dla5244 said:
I resized device partition table in order to support android treble.
I will make custom recovery image which is support android treble.
Maybe our device is ready to support android treble by then
added
I made treble-enabled recovery image now and it works well.
I will release the solution soon.
Click to expand...
Click to collapse
Great news, we're waiting for
AgiZ10 said:
Anyone tested it yet? It seems /e/ is sort of microg. how is it different?
Click to expand...
Click to collapse
/e/ is a fork of lineage and based on lineage 14.1 for our phone, with microg pre installed. They use a different default launcher, bliss
It works well and is easy to tweak if we dont like the launcher or default apps.
Anyway since our phone is no longer maintained i've decided to build lineage 14.1 for myself.
I'll do it once or twice a month when there are updates.
If anyone need it check here :
androidfilehost.com/?w=files&flid=299596
corwinux said:
/e/ is a fork of lineage and based on lineage 14.1 for our phone, with microg pre installed. They use a different default launcher, bliss
It works well and is easy to tweak if we dont like the launcher or default apps.
Anyway since our phone is no longer maintained i've decided to build lineage 14.1 for myself.
I'll do it once or twice a month when there are updates.
If anyone need it check here :
androidfilehost.com/?w=files&flid=299596
Click to expand...
Click to collapse
thanks
Mokee have a good android 9 ROM, been using it for months and no issues:
https://download.mokeedev.com/libra.html
Also WJXXBSH recently published new Lineage 16 and even 17! https://androidfilehost.com/?w=files&flid=299149
I have not tried it yet, but at least WJXXBSH is keeping our device live.
how about lineage 16 from havoic 3.1 (https://sourceforge.net/projects/havoc-os/files/libra/)
At least it work fine for me on mi4c

Categories

Resources