yashsingh1/xdaforums huggingface dataset:
[X Style (Pure) Android Development] randomblame:
Sorry no specific changelog but it contains all changes to lineageos up to yesterday evening and bumps the security patch level to April 5
[X Style (Pure) Android Development] randomblame:
trying to figure out which of my pure batteries is least crappy I'm gonna be using it for a week or two looks like since my g7 is dead. At least I wont be stuck on oreo anymore lol

Ordered a xiaomi mi 9 today :D should be fun
[X Style (Pure) Android Development] Kenaz Rune:
MicroG

I finally got MicroG working on this phone, using NanoDroid. Between that and getting EdXposed working, my configuration is done... until I find something else that catches my attention.
[X Style (Pure) Android Development] DjDill:
If it's useful for anyone else the camera app from the store called 02Cam works with out crashing for me

pub:Hongyan Technology Co.,Ltd.

I have tried to get Netflix working without success however.

Thanks for the good work too so much more stable the last time I tired 3 months ago
[X Style (Pure) Android Development] kadopt:
its says it's not compatible with the device...
[X Style (Pure) Android Development] randomblame:
Hey you're right o2cam works perfectly
[X Style (Pure) Android Development] randomblame:
Double post
[X Style (Pure) Android Development] JohnMcW:
Well, it does take pictures on both cameras,,,in screen resolution,

pretty low resolution pictures,

unless there is a setting I am not finding to increase the resolution.
[X Style (Pure) Android Development] kb8no:
Yes indeed. Camera works! [MENTION=1776875]randomblame[/MENTION] What does this mean for us?
[X Style (Pure) Android Development] DjDill:
Doesn't mean anything sadly.. this is the same technique that Snapchat uses. It doesn't take photos from the camera. It takes a screenshot of the screen and saves it. That quality compared to the real camera is horrible FYI
[X Style (Pure) Android Development] camcho1:
with this last build, in my opinion! the apps take a few seconds more to open, there a little more warm-up, a little lag, in addition to the sound for hands-free still with low audio quality
[X Style (Pure) Android Development] kb8no:
Last build observations:

"Process isn't responding" error on boot still problem requiring entry into TWRP to wipe cache & Dalvik.

Tether still crashes.

No camera deal breaker as DD.

O2cam better than nothing.

I dunno, feels pretty quick and smooth to me, better than my DD of Hashbang Unofficial 14.1. Opening app for first time after boot is always slow but ignoring that, opens app fine.

Editorial:

Its a rush to be on Android Pie. The camera is holding this ROM hostage. The moment it is fixed this will be my DD.
[X Style (Pure) Android Development] Wheels564:
Being stuck on LOS 14.1 with MM bootloader and modem with (Clark) I hope this helps someone. I have been following the Moto G4/ G4 plus (Athene) threads and they appear to have the exact same problem with the rear camera. Some have found that a ported ASUS camera app works well. https://xdaforums.com/max-pro-m2/themes/app-asus-camera-pie-stock-rom-t3910834

Also try the moto 2 camera

https://drive.google.com/folderview?...iER1Dz8zS6355L

There's also a One Plus camera that works. https://xdaforums.com/mot...-plus-t3635620

If any of these work for you this could be my chance to upgrade to Pie :D
[X Style (Pure) Android Development] DjDill:
The bottom two links are broken.. sorry I can't test

The top one is a Oreo port and I have tested it and it fails to open.

Some other info I don't know if anyone else had complaints about low mic volume in video calls / videos

I edited

/system/vendor/etc/mixer_paths.xml

Line 23

<ctl name="IN2L Digital Volume" value="150" />

Was set to 128

Changed to as above 150

Appears to be loud enough :good:
[X Style (Pure) Android Development] Deivid_21:
Here for Moto Camera 2:

https://xdaforums.com/moto-x-style/themes-apps/pixel-gapps-rom-t3800751
[X Style (Pure) Android Development] Hybrid Theory:
I already stated this in a earlier post camera will be unstable until final build. If selinux is on enforcing your the camera will not work.
[X Style (Pure) Android Development] kerdiaz:
I'm finally downloading this rom because the stock nougat it's giving problems, I'm gonna try the moto camera 2
[X Style (Pure) Android Development] Strephon Alkhalikoi:
I tried Moto Camera 2, and it didn't work.
[X Style (Pure) Android Development] kerdiaz:
Everything is installed but motocamera didn't work. I notice the signal of my device too weak, but I don't know if there's a issue with my country or the rom.
[X Style (Pure) Android Development] Kenaz Rune:
GPS suggestions?

I see GPS started working in November. It takes a long time for it go get a lock, though. Does anybody have ideas to improve it?

So far, I've used gpsstatus, gpsstat, and gpstest, and they all do the same things: reset, or download AGPS data.. Is there some update, app, or magisk/EdXposed module I can get?. Maybe better firmware I can flash?

Thanks.
[X Style (Pure) Android Development] AgathosAnthropos:
Well, I attempted to fork your repos and build my own copy. Compiled/built fine with no changes but I got stuck at the Warning Bootloader Unlocked bright white screen (haven't debugger further). Reloaded to your last image and it's all good still so I did something janky probably.

Thanks again for the port.
[X Style (Pure) Android Development] insomniac89:
Hi!

I've been following this thread for quite some time, and I've found some new life with my Pure after installing a wireless charging receiver. I'm just wondering where the status was on the camera? I think this would be the key feature to get people to adopt.

Could an app that stores photos to a different location work? I understand that o2 and Snapchat are just screen capturing tools, but what about just a different location? You mentioned panoramic works, how is it different? Maybe panoramic camera apps would work?
[X Style (Pure) Android Development] Kenaz Rune:
As I understand it from prior posts, the problem is the hardware drivers rather than where the image is written. I hope it is resolved soon, but these kinds of issues are problematic without support from the original designers over at Motorola.
[X Style (Pure) Android Development] kcv_earner:
Thanks for your work!

I installed and working my xt1575. Let us know about any updates on the camera problem. I can do testing if needed. :good:

KCV
[X Style (Pure) Android Development] insomniac89:
Went ahead and installed the latest build

Came from stock nougat

Flashed once and it worked without a hitch.

Confirmed what everyone has said. Camera will not work that actually captures any data from it. O2, Snapchat, Panorama mode, and any other app that takes a screen capture will work. Unfortunately it doesn't seem that any apps gather at the full 1440x2560 resolution, but it's something

GPS lock is good, battery life is great too! Android Pie's multitasking and notifications are very fluid on the device.

Let me know if there is any diagnostic information you needed.
[X Style (Pure) Android Development] insomniac89:
Maybe a silly thought, but there's a lineage 16 fork for the Moto X4 ( the pure's unofficial successor after the Lenovo change up ). Would it be possible to somehow get the camera driver from there and see if it would be compatible?
[X Style (Pure) Android Development] ACardAttack:
Thanks for this advice as I did have to do this and now it all works!
[X Style (Pure) Android Development] ACardAttack:
I doubt it, from what I remember the X Pure has a weird/unique camera issue and that is why no one has been able to get it to work yet on P (or O if there was one as far as I know)
[X Style (Pure) Android Development] randomblame:
sorry guys been distracted with my new mi 9 - I'll get back to the pure eventually
[X Style (Pure) Android Development] belegdol:
According to [1] Moto Z force uses the same sensor as X Pure/Style and X Force/Droid Turbo 2. As that phone came out a year later, it was updated to stock 8.0 [2]. Unfortunately, it appears that noone has requested a source release so far. The Oreo kernel was released for Moto Z [3] and Z Play [4]. Motorola usually release the source upon request, but I believe one needs to ask for a specific tag. I hope this helps.

[1] https://www.kimovil.com/en/list-smartphones-by-lens-model/sony-imx230-exmor-rs

[2] https://support.motorola.com/us/en/solution/MS130001

[3] https://github.com/MotorolaMobilityLLC/kernel-msm/tree/oreo-8.0.0-release-griffin

[4] https://github.com/MotorolaMobilityLLC/kernel-msm/tree/oreo-8.0.0-release-addison
[X Style (Pure) Android Development] belegdol:
I have done some further digging into : I have requested latest kernel release [1] for Moto Z Force in case it has some insights regarding getting the camera working with Android later than Nougat. Moreover, the stock update appears to be available online [2], so maybe it is possible to extract newer blobs for the IMX230 sensor from it.

[1] https://github.com/MotorolaMobilityLLC/kernel-msm/issues/214

[2] https://mirrors.lolinet.com/firmware/moto/griffin/official/VZW/
[X Style (Pure) Android Development] :
How are you liking your mi 9?
[X Style (Pure) Android Development] randomblame:
The hardware is great. The software is horrifying. trying to fix that. I hate miui with a fiery passion
[X Style (Pure) Android Development] moviefirst:
How is the battery life on the mi 9?

I'm also planning to buy a mi 9.
[X Style (Pure) Android Development] Davfor7:
Was looking in the thread for the answer but...

... not sure if this would work on my XT1572 Moto x Pure?

Going on no sleep so post is a little weird but, I have an unlocked XT1572 US phone and from what I was trying to understand is that this ROM works on XT1575 and XT1572 also? Would love to use this phone again with 9.0 and not 7.0. Read that Android 9.0 runs like a dream on the XT1572. :)
[X Style (Pure) Android Development] Kenaz Rune:
Yes, I resurrected my Pure with this rom. Camera does not work, all else seems to work. GPS is slow to lock for me, but eventually gets there. I have magisk, microg, and EdXposed running. See posts from last several pages.
[X Style (Pure) Android Development] AgathosAnthropos:
Which Vendor are you using to build? Muppets, pull from device, pull from a zip or other?
[X Style (Pure) Android Development] randomblame:
https://github.com/randomblame/proprietary_vendor_motorola_clark
[X Style (Pure) Android Development] randomblame:
After working on this xiaomi kernel I think now I understand why my kernel ports were only spitting out logs on the moto 3.18 source even though my mainline kernels seemed to be running
[X Style (Pure) Android Development] belegdol:
The oreo kernel for griffin has just been released:

https://github.com/MotorolaMobilityLLC/kernel-msm/releases/tag/MMI-OCL27.76-69-6-3

While it says griffin and not sheridan (?), according to the internet Moto Z Droid and Moto Z Force droid were using the same stock image.
[X Style (Pure) Android Development] belegdol:
Hmm it turns out that Moto Z Force Droid might actually be using IMX338 and not IMX230:

https://phoneproscons.com/797/moto-...ing-sony-imx338-high-end-camera-image-sensor/

Having said that, there are some code sections common to both sensors in the kernel. Hope dies last :fingers-crossed:

ETA: it turns out that there is at least one phone using IMX230 and Oreo: Elephone Soldier. I was able to find stock rom online and it does contain lib/libSonyIMX230PdafLibrary.so which has different size than ones from stock clark or kinzie roms.

ETA2: Elephone Soldier uses IMX220, not IMX230. It still has the library on its vendor partition though. Ulefone power 5 and 5s use IMX230 and run Oreo so I am going to look into those next.

ETA3: Ulefone Power 5 does contain IMX230 blobs too:

find -type f -iname \*230\*
./bin/libccu_imx230_mipi_raw.dm
./bin/libccu_imx230_mipi_raw.pm
./lib/libSonyIMX230PdafLibrary.so
./lib/libSonyIMX230PdafLibraryWrapper.so
./lib64/libSonyIMX230PdafLibrary.so
./lib64/libSonyIMX230PdafLibraryWrapper.so
[X Style (Pure) Android Development] randomblame:
Good work need a full dump of elephone and maybe we can get the wrapper working
[X Style (Pure) Android Development] belegdol:
This is where I got the files from (I think, I downloaded lots of files yesterday):

Elephone soldier: https://mega.nz/#!XSxiEazb!JgPAwZ5rnrRlSNTTaLClp8qOblwMGp4asnEJyyi2Nvc

Ulefone Power 5: http://www.mediafire.com/file/5cobu1i75uj2ypc/Ulefone_Power_5_MT6763_20180303_8.1.0.zip
[X Style (Pure) Android Development] Flying Jesus:
Has anyone tried this ROM on a dual sim model? Does it work? OwO!

EDIT: I MEANT TO ASK IF THE MODEM WORKS THE ROM WORKS FINE EXCEPT THE CAMERA EHEHEH- KUDOS TO THE HARDWORKING DEV WHO ACTUALLY TOOK THE INITIATIVE TO MAKE A PIE ROM FOR MOTO X STYLE ^_____^
[X Style (Pure) Android Development] kadopt:
[MENTION=9283825]Flying Jesus[/MENTION]

From OP: "Dual sim variants are NOT supported! I do not have the hardware to test and fix at this time - bugreports appreciated"

Also no need for entire sentences in caps...
[X Style (Pure) Android Development] FanboyStudios:
So the camera will work if SELinux is set permissive?

I'm typically running permissive as ViPER Audio doesn't like enforcing on Nougat. I Haven't tried a Pie based ROM yet, but I would assume V4A needs permissive SELinux there as well. I have no issue setting SELinux permissive, even if it proposes a security risk as I avoid fishy sites and software.
[X Style (Pure) Android Development] insomniac89:
SElinux enforcing? Does it actually matter?

Does SElinux enforcing actually matter now, or was it the driver issue that's preventing the camera from working?
[X Style (Pure) Android Development] randomblame:
Selinux has nothing to do with the camera. It is in permissive mode so it stays out of our way.
[X Style (Pure) Android Development] insomniac89:
Is this legit?

Hey all,

I found this just today, looks like it came out a week ago, would this be legit? Or should we focus still on this build?

https://www.getdroidtips.com/android-9-0-pie-moto-x-pure/

Cheers!
[X Style (Pure) Android Development] gdevin:
Camera news

Is there any news about the camera?

Thanks for all your efforts.
[X Style (Pure) Android Development] karandpr:
Thread cleaned.

Here is the rule which forbids members from virtual yelling.

Here is the wikipedia article for all caps.

Do not derail development threads.

Regards

- XDA Staff
[X Style (Pure) Android Development] insomniac89:
So, regarding the other phones dump, could we just take

./bin/libccu_imx230_mipi_raw.dm

./bin/libccu_imx230_mipi_raw.pm

./lib/libSonyIMX230PdafLibrary.so

./lib/libSonyIMX230PdafLibraryWrapper.so

./lib64/libSonyIMX230PdafLibrary.so

./lib64/libSonyIMX230PdafLibraryWrapper.so

and put them into the latest build and flash it? I'm happy to be a guinea pig for this as I've switched to a Nexus 5 temporarily while I flash stuff, left right and center on this.
[X Style (Pure) Android Development] randomblame:
Sorry but that's a clickbait article, the guy seems to have a crush on me as he's misrepresented my work previously. Definitely steer clear.
[X Style (Pure) Android Development] bsorli:
We all have a crush on you and wish we were half the developer you are! Keep up the great work and thanks to all who contribute! Sorli...
[X Style (Pure) Android Development] Davfor7:
Camera

First off, thank you so much for do this for use Moto X Pure/Style old people! lol

Gonna hold off until hopefully something does reveal for the camera function as I use that a lot and need all those beautiful MP's! :) Like the above person said, we all have a crush on you because of your awesome developer skills! If I hear anything about camera firmware release, will post it here too.
[X Style (Pure) Android Development] bsorli:
:) True so true, my Moto X is getting old and begun to show battery problems (doesn't anyone make a decent battery replacement anymore?). Heck, I also still use my old HP Touchpad and it's 10 years old and still kicking. I guess most of us don't like throwing away working hardware!

Looking forward to camera options and also can't live without that, since my Pure is my daily driver for business and need the camera for documentation. Thanks again, Sorli
[X Style (Pure) Android Development] Strephon Alkhalikoi:
iFixit has had an authorized battery replacement kit for sale for some time now. It includes everything needed to do the job except a heat gun. It may not fit the definition of decent, but it is there.
[X Style (Pure) Android Development] bsorli:
Thanks for the information and exactly what I purchased last and not working as expected.

I'm not done with it, and thankfully iFixit guarantees their supplies and hardware replacing it with something newer if required. Either way, appreciate the recommendation! Sorli...
[X Style (Pure) Android Development] Strephon Alkhalikoi:
Not a problem. I'll be going to them at some point as my Moto X is 2 years old now, but the Moto X isn't my top concern. At 4 years old my Nexus 6 is a higher priority.
[X Style (Pure) Android Development] kcv_earner:
Moto X Pure battery

Here is the link I found for the replacement battery. They include their "iOpener" tool so you can avoid the heat gun or hair dryer routine. They don't ship to Mexico for some reason.

https://www.ifixit.com/Store/Android/Moto-X-Pure-Edition-Replacement-Battery/IF391-002?o=2

KC
[X Style (Pure) Android Development] Strephon Alkhalikoi:
That's the link I provided upthread. I simply assumed the heat gun was necessary.
[X Style (Pure) Android Development] aybarrap1:
What is not working as expected of you don't mind me asking?
[X Style (Pure) Android Development] bsorli:
Seems to have calmed down after first charge, use, reboot, and charge again. Thanks for asking, took two full charges, it's better now, and we've already taken too much time on this forum solving another problem. Sorli...
[X Style (Pure) Android Development] Quigongentoo:
So today saw my Pure go back to stock rom. I haven't seen any action on this thread from the developer for quite awhile now and I need to use the camera. I'll keep an eye on it from time to time to see if the camera gets figured out. Thanks goes to Random for as far as she got though. See ya for now.
[X Style (Pure) Android Development] randomblame:
Sorry guys I do plan to come back to pure just preoccupied
[X Style (Pure) Android Development] stevejohnson42:
Enjoy life
[X Style (Pure) Android Development] Pantherrra:
I have been using this rom now since Febr (built 27/02). I did not find any other bugs than the ones already mentioned here. In my experience, this ROM is MUCH faster than the stock version. It is a pleasure to work with this ROM, honestly. I have recently replaced my battery (16.5€) and now my phone lasts for 30-35 hours (instead of charging it 3-4 times per day). I capture my photos with O2, which results of course in bad quality, but it works. Big thanks to [MENTION=1776875]randomblame[/MENTION] and others for making this happen. I'll keep following this thread and look forward to a completely functional camera, so I can use vivino again :)

Cheers!
[X Style (Pure) Android Development] bsorli:
What O2 camera? Thanks Sorli...
[X Style (Pure) Android Development] Pantherrra:
The O2Cam app, just google it. It was not available on google play for me, but I found the apk somewhere else. It works fine, but the resolution is very low of course. Snapchat works as well btw.
[X Style (Pure) Android Development] bsorli:
Wasn't aware that any camera worked, and probably what's being worked on....Driver (from some device that support Android Pie) and Default Moto X App integration. All I really need is Pictures for business documentation (doesn't have to be pretty...just functional), so may try the latest build and see how it work. Thanks, Sorli...
[X Style (Pure) Android Development] Strephon Alkhalikoi:
The app in question takes a screenshot of the image in the viewfinder, which is a) why it works, and b) why its output is of such low resolution.

Apps that try to use the camera's binaries do not function at all at this time.
[X Style (Pure) Android Development] Henry Hilliard:
Dang I wish I could help to fix it but I'm just a pleb end user :(
[X Style (Pure) Android Development] B4oE:
Any word on when the camera will be functioning? If not, will side-loading one of the modded Google Camera APKs work?
[X Style (Pure) Android Development] AsquareX:
There's no ETA for when the camera will be functioning. Side loading modded Google Camera won't work on this phone, because it doesn't have Camera2 API enabled by Motorola.
[X Style (Pure) Android Development] bsorli:
Sadly, I may have no choice, but to move on to something newer. Just replaced my battery (iFixit batteries Rock!!!) is grand again. Actually, Nougat works pretty well, so honestly no complaints and how much are we really missing in Pie.

Time to start looking for newer screen thumbprint security devices with multiple camrras. So many options coming with off brands...that I can afford when available. Thanks anyways, Sorli....
[X Style (Pure) Android Development] insomniac89:
Hi everyone, what was the latest on those libraries from the other phones dump, any chance we can get a build with them in it that I can try to flash?
[X Style (Pure) Android Development] AgathosAnthropos:
I've managed to get it to not crash and take pictures (w/o HDR enabled so far) - but rotation is also disabled so all pictures come out rotated as well, but at least it takes pictures.
[X Style (Pure) Android Development] insomniac89:
That sounds great, how did you do it? What do you mean... come out rotated?
[X Style (Pure) Android Development] AgathosAnthropos:
It looks like the HAL requests the driver do some post-processing on images for various reasons (image rotation, HDR), so I just short-circuited it so it wouldn't require the driver do post-processing since that call is for some reason returning an error in this case and causing the whole thing to unravel.

When I say the image is rotated, I simply mean the image is rotated by 90 degrees so it looks "sideways" by default. Picture below taken with phone in normal portrait position (i.e. not landscape) - and so the image is rotated 90.

https://imgur.com/4tVbmGX
[X Style (Pure) Android Development] bsorli:
Wow and very cool...Great job!
[X Style (Pure) Android Development] xabr3:
Amazing :) this information might be very helpful for [MENTION=1776875]randomblame[/MENTION] good luck
[X Style (Pure) Android Development] insomniac89:
Maybe it's just Imgur, or the resolution was reduced for upload, but it's only 640x480, did you intend to take it at that resolution?
[X Style (Pure) Android Development] AgathosAnthropos:
I believe it's just imgur. When I checked details on the image on phone it said 4000x5000 (approx).
[X Style (Pure) Android Development] xabr3:
It's 5344 x 4008 when you click it to full size
[X Style (Pure) Android Development] AgathosAnthropos:
Is anyone interested in a copy? I can try to put it out there tonight. I'm pretty sure you can dirty flash it on top of [MENTION=1776875]randomblame[/MENTION] ROM since it's built from the same kernel/vendor.
[X Style (Pure) Android Development] JohnMcW:
Sure, I would try it out to confirm.
[X Style (Pure) Android Development] xabr3:
Sure, would like to try.
[X Style (Pure) Android Development] AgathosAnthropos:
Sorry, had to wait to get dev status on androidfilehost.

https://www.androidfilehost.com/?fid=6006931924117889751

Md5

e52be77c20215e88b0ba92d89bf24235

Also, forked and modified from randomblame repo in case anyone builds

https://github.com/AgathosAnthropos/android_device_motorola_clark
[X Style (Pure) Android Development] JohnMcW:
Installed and the camera seems to be taking normal pictures. Nice Job!!
[X Style (Pure) Android Development] kb8no:
Just dirty flash, right?
[X Style (Pure) Android Development] AgathosAnthropos:
Yup. Just dirty flash my zip over current.
[X Style (Pure) Android Development] kb8no:
Camera works indeed! Sideways photo in gallery as described. I'm going to start using this as my daily driver.

My Verizon SIM drops to 3G and won't stay on LTE. Anybody else having this problem?