360°Cam on LineageOS,... - Essential Phone Guides, News, & Discussion

Hello,
I have my ph1 with LineageOS 16 - without gapps. I also have the 360°Cam to use. But the Essential-Cam-app (version 1.0.13.001) can't work with the cam. The fan is only working. No picture from the cam is showing at the display.
Is this normal without gapps? Is it working with gapps or is there a workaround or a app by any xda-developer?
Many Thanks, thk_ms

Gapps have nothing to do with it. You need a proper driver from Essential and probably some supporting libraries to make it work, that's why it only works on stock. I was wondering if the 360 camera works on Android 11 GSI preview (along with the vendor image released by Essential), but it was confirmed on the Reddit forum that it doesn't. And I would definitely not expect it to work on any custom ROM like LOS...

kt-Froggy said:
Gapps have nothing to do with it. You need a proper driver from Essential and probably some supporting libraries to make it work, that's why it only works on stock. I was wondering if the 360 camera works on Android 11 GSI preview (along with the vendor image released by Essential), but it was confirmed on the Reddit forum that it doesn't. And I would definitely not expect it to work on any custom ROM like LOS...
Click to expand...
Click to collapse
And then you find AICP...
And the look of shock is still there

rignfool said:
And then you find AICP...
And the look of shock is still there
Click to expand...
Click to collapse
Never tried AICP... Are you saying the 360 camera works on it? If so, I am surprised, I admit it. ? But I am no expert, so may very well be wrong...

Related

[WIP][DEV][PORT] LG Framework for LG G2 AOSP/CM/CAF

[size=+4]LG F[/size][size=+3]RAMEWORK[/size]​
[size=+3]~~ A[/size][size=+2]NNOUNCEMENTS[/size][size=+3] ~~[/size]
Dec 4 2016
Deleted github repo (it's not helping)
Oct 23 2016
4K + HFR Mod by @defcomg (manual install only, flashable zip later)
Oct 9 2016
Project is now online, partially (GitHub) details below
Sep 10 2016
Experimental LG Camera port uploaded
Aug 15 2016
Opened our GDrive folder to public and overhauled OP
[size=+3]~~ A[/size][size=+2]BOUT THE PROJECT[/size][size=+3] ~~[/size]
LG Framework is the backbone of every bloat feature LG added and this project aims to re-inject those important things to be able to run again OEM-implemented features like QuickCover, QuickMemo, QuickSlide Apps, etc. (LG Camera included in the list)
AOSP delivers the performance that we sought, but with those improvements come sacrifices. Other features shipped by LG aren't included in those lovely projects. So here we are, the X7 Team, and our kind and brave testers, to bring forth LG's bloat work to the world of Open-Source Softwares (not to open-source or reverse engineer it)
[size=+3]~~ M[/size][size=+2]ISCELLANEOUS[/size][size=+3] ~~[/size]
| LG Framework and Related Works |
G2 Camera Chromatix Mod (second page)
| G2 Camera by @B!GBOY |​
[size=+1]What's Happening?[/size]
Currently testing the framework resource which is injected manually
The code part of LG Framework is now working to CM-based ROMs
(Low Priority) Bypass signature checks using selective exclusion to avoid security holes
Click to expand...
Click to collapse
[size=+2]Links[/size]​
[size=+2]4K Mod + 60/120 HFR[/size]​
Here's the zipped framework from CloudyG2: https://www.dropbox.com/s/ta3l3iwhdylkcwy/CloudyG2.zip?dl=0 Enjoy!
Startrek852 said:
Here's the zipped framework from CloudyG2: https://www.dropbox.com/s/ta3l3iwhdylkcwy/CloudyG2.zip?dl=0 Enjoy!
Click to expand...
Click to collapse
Thanks! But your account is overloaded by traffic :3
Well it's okay it doesn't matter as I already found the hard drive containing my CloudyG2 Backup recently and the backup was like years ago XD
Updating OP...
Well, if you want more up to date framework, here's the link: https://www.androidfilehost.com/?fid=24499762636001056
Just a little update here...
LG's framework seems to be properly named... their code's easy to track... LGCamera are disassembled... LGMemo are disassembled, LGMemo too... Maybe if I could just find "where" the hidden framework are ahahahhaha
So I will start porting the framework for running the most important!
STOCK LGCamera... (lemme re-emphasize ) "Stock" not ported LGCamera with all functions working
I already seen its possible since all codes are exposed... and native libraries are easy to modify too
Guys... we're seeing so much light here ahahahah
EDIT: BANG!!! Gotcha!!!
Code:
android.media.action.IMAGE_CAPTURE_OEM_MODE
xxoscarxx28 said:
Just a little update here...
LG's framework seems to be properly named... their code's easy to track... LGCamera are disassembled... LGMemo are disassembled, LGMemo too... Maybe if I could just find "where" the hidden framework are ahahahhaha
So I will start porting the framework for running the most important!
STOCK LGCamera... (lemme re-emphasize ) "Stock" not ported LGCamera with all functions working
I already seen its possible since all codes are exposed... and native libraries are easy to modify too
Guys... we're seeing so much light here ahahahah
EDIT: BANG!!! Gotcha!!!
Code:
android.media.action.IMAGE_CAPTURE_OEM_MODE
Click to expand...
Click to collapse
i really hope so thats what keeping me from going aosp. :good:
That's what's keeping all of us from going to AOSP, but as far as I know, this is not possible.
It's just not all open source.
Sent from my LG-D802 using Tapatalk
xxoscarxx28 said:
Just a little update here...
Click to expand...
Click to collapse
All our hopes are with you lol :fingers-crossed: keep us updated
If you are trying to port the camera and all the framework, you migh aswell have a look into the "advanced binaries 2.0.0" which XCAM uses that are ported from G Pro 2 LP 5.x.x. They seem to give overall better quality and you can get them as a .zip from the OT.
Keep us updated ^^
rdNNNN said:
If you are trying to port the camera and all the framework, you migh aswell have a look into the "advanced binaries 2.0.0" which XCAM uses that are ported from G Pro 2 LP 5.x.x. They seem to give overall better quality and you can get them as a .zip from the OT.
Keep us updated ^^
Click to expand...
Click to collapse
Dude, he's using a backup from CloudyG2 which already has an advanced camera driver.
Just a little clarification here... Even though a software is closed source, that doesn't mean you can't port it...
It is also open source... but in a hideous way Nothing can stop someone dedicated
And also that's why there are such a thing called "disassembly" and cross-referencing binaries ("diff" in short?)
Remember... someone already did port stock (Oxygen OS) camera binaries to CM for Oneplus One
I just realized that the framework used between Kitkat and Lollipop are so different... Ghash XD
But the function is pretty same, just refactored, and some are stripped out... Focusing now on just CloudyG2 3.3's framework...
Btw... does anyone here knows how to know the name of a library? XD
There is a library that LG Camera API uses which is named "hook_jni" in java interface but what *.so might it be looking? Who is "hook_jni"? Does anyone know?
Doing the lords work, sir!
For those who wants to be on the bleeding edge, you can have one now
But I can't ensure anything with this hyper alpha, stability, function, and safety... All of it is not assured... I haven't tried it also XD
Pm me if you want to try it
Wow u are amazing. Pls tell us if u try it
xxoscarxx28 said:
For those who wants to be on the bleeding edge, you can have one now
But I can't ensure anything with this hyper alpha, stability, function, and safety... All of it is not assured... I haven't tried it also XD
Pm me if you want to try it
Click to expand...
Click to collapse
Lollipop/Marshmallow/Doesn't matter?
YoDevil said:
Lollipop/Marshmallow/Doesn't matter?
Click to expand...
Click to collapse
As of now... only for CM13 as it is already a good base to start with and it is already CAF which means their software is already surpassing the qualities of an OEM one, but as always... OEMs have something we don't have :3
lollipo said:
Wow u are amazing. Pls tell us if u try it
Click to expand...
Click to collapse
Nope, I won't try it XD as I am pretty sure that it will cause havoc to CMSDK and to our precious SystemUI. I'll try it in a later stage
Those that already downloaded the alpha... I already tested it and it won't flash XD
And yeah I will let it now on the wilds (people demanded it so here it is now)... Its still the same software I just fixed updater error 6 (it was a syntax error, my bad)
[size=+2]Flash at your own risk, Haven't tested it yet, and is for CM13 only, MAKE NANDROID BACKUPS FIRST[/size]
LG Framework Fixed v0.01
EDIT: News here again, I tested it and then did another pass to the codes and my predictions are correct... I missed the permissions for executing the API inside so its like its worthless... but because LG seems to be exposing things too much, it seems that permissions are laid somewhere in /system/etc/permissions... @Startrek852 ???
Another news... It booted just fine testing for bugs but i think it booted fine because the whole framework is not allowed to execute ahahahha, will release again once this mess is fixed

[ROM][D2303] Resurrection Remix

RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
install it as usual, in TWRP...wipe system/data/cache...install .zip
(NFC drains the battery and doesn't work, uninstall it with some of the root uninstallers)
??
andres_vlc said:
??
Click to expand...
Click to collapse
ummm sorry for no more description
ResurrectionRemix ROM for D2303, camera doesnt work
quake73 said:
RR-L (no cam)
https://onedrive.live.com/redir?resid=A8E8D2CE3C5C608!15015&authkey=!ACVNYTN7eKOiMpw&ithint=file,zip
Click to expand...
Click to collapse
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )
You can edit the post and explain the bugs and known issues
how to install? etc etc
Konstantinosj77 said:
Ok what about trying to fix some bugs this time? You do a great job building all these roms but you dont actually test or do proper "porting",I'll try to help!
I assume you use this kernel https://github.com/SonyAosp/kernel/commits/lp-5.1 and everything with the lp-5.1 tag...
1)NFC not working
You patch your sources properly like sony says in it's official guide,search the ROM's github to see if they use custom frameworks,hardware layers etc..you have to patch some things up to get everything working!
Also you have to change some things in device configuration (like the NFC hal name )
Click to expand...
Click to collapse
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with
quake73 said:
oh man, i dont patch anything...except a few minor things, this really goes smooth like knife through butter
i admit, cm isnt working (12/13), pac6, rr6, with Benevolent and with Sony vendor files...
honestly, i dont care about nfc (ok, a working camera would be nice but thats out of my league)...i just share what i built, roms that are acceptably ok, noone shared a rom since 11.2015 so, here are some toys to play with
Click to expand...
Click to collapse
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
)))....I havent reached that stage yet
and, if you ask me...the latest Sony software is the best rom for our phones.
nice work bro..but on your file just boot.img,system.img and userdata.img how to success instaal via trwp bro?
Konstantinosj77 said:
So you share a rom that can work better and you dont care to fix it?! Man..i remember you saying "I wanna learn more about the build system and how android is built" what happened?!
Click to expand...
Click to collapse
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?
Omg RR rom [emoji38] but look you cant make camera work,i will wait until it work )
Sent from my D2305 using XDA-Developers mobile app
Nfc not work. Led not work
andres_vlc said:
Nfc not work. Led not work
Click to expand...
Click to collapse
true, corrected my first post, notified about nfc
Quake73 look Pm pls
quake73 said:
Do you know of any tool that thedevelopers use? Right now, all that I use is a text editor and google search for eliminating errors. Some kind of an IDE, that would make navigating the source code easier?
Click to expand...
Click to collapse
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while
Konstantinosj77 said:
I don't know anything android specific,but a good IDE is geany
BTW i use a text editor too (pluma)
I'm syncing sources right now (using the lollipop5.1 branch of rr) hope we use the same
Let's focus on this ROM for a while
Click to expand...
Click to collapse
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?
quake73 said:
yeah, it is on my phone right now, seems good, gave up AOKP, had to give up of some rom, I had too many on my disk. But replaced it with aosp from SonyAosp. (its uploading right now, aosp6)
i use gedit as my IDE
So ok, you mentioned something about fixing the roms that i'm posting. What exactly should i do, what to look for? Performance, light/proximity sensors?
Click to expand...
Click to collapse
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
quake73 said:
Are some of those .so files from the stock rom (that should be in the vendor folder) + stock kernel the key to making camera, sensors etc. work in any rom?
Click to expand...
Click to collapse
Yes but it's not that simple,you have to use CAF frameworks too
Konstantinosj77 said:
For GPS,sensor was not working on DU6 you uploaded,the reason is that you didn't patch it like this https://github.com/omnirom/android_hardware_qcom_gps/commit/2b112bb17f7a76247d135bcae6ae87e56f4ec054
For performance,I've seen ZRAM commit on sony's github,I'll try it today and post the results
NFC works on Lollipop roms (dont try on MM it needs a new blob) but you have to use the correct naming in the device config (libnfc-brcm.conf)
Omni6 uses
Code:
NCI_HAL_MODULE="nfc_nci"
but CM12.1
Code:
NCI_HAL_MODULE="nfc_nci.pn54x"
(I'm not sure on that... @galaxyfreak knows for sure)
Click to expand...
Click to collapse
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?
quake73 said:
as for the performance, all the roms seems pretty smooth (LP & MM). As for the NFC, because I dont care about it, I dont even think about it, I just uninstall it on the first boot (maybe i should even remove it from the manifest)
One thing I noticed is that all of the roms lack the proximity and light sensor, i dont know if it is a kernel issue or maybe device tree/hardware issue (sorry, i still struggle with the terminology...device tree is the device/sony/eagle, right? under vendor folder are prebuilt 'blobs', something analogous to .dll files in windows?)
And about that Omni/CM naming, where did you find that info, I even read some info for qcom/arm/cortex, the cpu/hardware things (seemed too much to me), does one need to know the details of the inner workings of the phone's hardware in order to fix bugs?
Click to expand...
Click to collapse
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?
Konstantinosj77 said:
I won't argue with you on the NFC thing I just like to have things-features working if they can work
You are correct on the terminology.Also you have to know at least how each rom works,HAL naming,flags etc
The AOSP project has simplified building and porting to new roms like A LOT! Only minor things have to changed each time...
BTW,syncing almost done...can you plz share the local manifest/sources you used for build rr-lp?
Click to expand...
Click to collapse
NOOOO, NO WAY, OF COURSE NOT, THEY ARE MINE, THEY ARE PROPRIETARY!!!!
(ok ok here it is)
i experiment a lot but this is the manifest i used during building the posted RR5 rom. I'm not even sure if I need those qcom/common, media, display etc. Roms seem to build fine without them. SonyCM has some Init, I have no idea if it helps, as you can see, i'm just building blindly but it works
as you could see with pacrom, it is messy....the second half is remove-project, to help sync less (also use "repo sync ..... --depth=1", it helps a lot to keep the source at minimum)
And what do you think, is there a chance for the camera working in a MM rom since there isnt even a sony stock MM rom for M2? Or should we consider changing the phone?

Camera app stability on custom ROM's

After testing a few ROM's on this forum I find that there is always an issue with the camera app.
Right now I'd like to stick with the PixelExperience or OmniTreskmod ROM, but the OOS camera crashes when I try to use slow-motion, and the GCAM apk also crashes frequently. (I've tried the latest December version and also an older version)
Are these features not available for custom ROM's? Should I just modify stock OOS with magisk modules to make it look/feel like a Pixel?
Edit: Does the OOS camera needs the OnePlus gallery to function correctly?
I have no issue with the latest gcam or included oos cam in AOSP extended
GCam works well, you just have to load a good XML
fuarkgl3 said:
GCam works well, you just have to load a good XML
Click to expand...
Click to collapse
I cant find any information on xda about loading an XML file. Where can I find this XML file for the OnePlus6?
fireguy0306 said:
I have no issue with the latest gcam or included oos cam in AOSP extended
Click to expand...
Click to collapse
So does your slowmotion video work? TreskMod had an oxygenOSCam.zip file, maybe it's just out of date. I'll search the forum for a different OOScam
have u find something out there??
klym.software said:
So does your slowmotion video work? TreskMod had an oxygenOSCam.zip file, maybe it's just out of date. I'll search the forum for a different OOScam
Click to expand...
Click to collapse
pekas said:
have u find something out there??
Click to expand...
Click to collapse
I've moved to the OnePlus7Pro and it has the exact same issue. From what I've seen you cannot use a custom ROM on a OnePlus device and have a fully functional OOS camera app. This is sadly why I'm moving away from using custom ROMs.
thats too sad, cause getting a new version phone is caused mostly you wanna have a great camera too, isnt?
otherwise, why to buy a such a expensive phone when the quality of the pictures is like some years ago??
klym.software said:
I've moved to the OnePlus7Pro and it has the exact same issue. From what I've seen you cannot use a custom ROM on a OnePlus device and have a fully functional OOS camera app. This is sadly why I'm moving away from using custom ROMs.
Click to expand...
Click to collapse

Front Camera green and flicker lines

Hi friends. I come again to ask about the same problem. When I use custom roms, I get noticeable green lines on the front camera. Even if there are no artificial lights (being day), here In XDA, 3 people have the same issue, but I want to know if someone else has this problem, and if they found a solution.
Attached some screenshots and my video
Hey man. Same problem here. Nothing helps, even flashing fastboot MIUI ROM.
Leolinuxuser said:
Hey man. Same problem here. Nothing helps, even flashing fastboot MIUI ROM.
Click to expand...
Click to collapse
If this is independent of ROM or camera app you use, it sounds like a hardware failure.
Noter2017 said:
If this is independent of ROM or camera app you use, it sounds like a hardware failure.
Click to expand...
Click to collapse
It is only OK on MIUI... No lines.. But when i try on custom ROM there are always these obnoxious lines >_<
Did someone find a fix for that? I experienced that on two different roms (PE and ArrowOs). I was on 12.0.1.0 firmware
Arcadam88 said:
Did someone find a fix for that? I experienced that on two different roms (PE and ArrowOs). I was on 12.0.1.0 firmware
Click to expand...
Click to collapse
I've tried flashing fastboot ROM 12.0.8.0 (a10, and then install custom ROMs) and the problem stayed. Tried installing a10 custom Rom - the problem was present still. Even tried a12 - no way... I think we have to direct this problem for someone in the community to create a magisk module or something to fix it.
Leolinuxuser said:
I've tried flashing fastboot ROM 12.0.8.0 (a10, and then install custom ROMs) and the problem stayed. Tried installing a10 custom Rom - the problem was present still. Even tried a12 - no way... I think we have to direct this problem for someone in the community to create a magisk module or something to fix it.
Click to expand...
Click to collapse
Which camera modules does your phone have?
Maybe Xiaomi changed something
Noter2017 said:
Which camera modules does your phone have?
Maybe Xiaomi changed something
Click to expand...
Click to collapse
Do you think it's related to a different module manufacturer?
Leolinuxuser said:
Do you think it's related to a different module manufacturer?
Click to expand...
Click to collapse
If it really works flawlessly in MIUI and only gives that error with custom ROM, it must be something hardware related.
The standard camera modules are supported and working in custom ROMs.
I have this problem too, i dont think its hardware related. I bought it at russia, it came with global miui 12.0.7. Whichever custom aosp rom i try, front camera shows vertical lines. Miui vendor roms have less aggressive lines, open source vendor ones have more aggressive lines. but either way the front camera becomes useless with aosp roms.
I made a video showing the glitch, if there a dev that can solve, I'm gonna donate:
This is my front camera module
I know this is old post, but it maybe will help someone. So as strange as it may sound the problem in my case was NFC module, after turning it off my selfie camera worked without these black lines flying around.

Question OnePlus 9 Stock Camera app for custom rom

Alright, so I installed Evolution X, and everything works properly, BUT, I can't get the stock camera app. All guides I found on the internet (advising me to use systemizer + apkmirror), (yes, i have root), didn't work, with the app either insta-crashing, or blank screening. Please help!
winterfoxx said:
Alright, so I installed Evolution X, and everything works properly, BUT, I can't get the stock camera app. All guides I found on the internet (advising me to use systemizer + apkmirror), (yes, i have root), didn't work, with the app either insta-crashing, or blank screening. Please help!
Click to expand...
Click to collapse
Oos cam on aosp is exactly what it is a wip. Still not available . Must use g-cam and they are horrible on the 9 series. This is main reason I have yet to flash anything.
mattie_49 said:
Oos cam on aosp is exactly what it is a wip. Still not available . Must use g-cam and they are horrible on the 9 series. This is main reason I have yet to flash anything.
Click to expand...
Click to collapse
Alright, gcam it is. Is open camera worth considering?
this wont work or happen unless the person providing the custom rom includes the correct vendor blobs /files to make it work on custom roms until then your only options are using the built in camera with said custom roms or using gcam

Categories

Resources