yashsingh1/xdaforums huggingface dataset:
[OnePlus X Themes and Apps] tet-bundy:
Install twrp.

Gesendet von meinem ONE E1003
[OnePlus X Themes and Apps] Nikoscyan:
So it can't be done with stock? I don't want to unlock my bootloader because it factory resets the device
[OnePlus X Themes and Apps] tet-bundy:
Yes.

Gesendet von meinem ONE E1003
[OnePlus X Themes and Apps] davidullo:
It will work on the new OOS 3.1.0?
[OnePlus X Themes and Apps] Tiongkia:
Sorry master Sultan for OT.

Teach u a 'trick'. Cannot remember exact steps but i did before.

Use flashy or equivalent apps from playstore to flash twrp.

Then twrp Backup.

Then flash stock Recovery.

Then go bootloader unlock bootloader.

Then adb twrp.

Then twrp restore.

U have data remain plus unlocked bootloader.

Search threads on how to unlock bootloader and adb twrp. Its easy.

---------- Post added at 01:18 AM ---------- Previous post was at 01:17 AM ----------

I doubt.

And u need to get twrp 1st.
[OnePlus X Themes and Apps] Nikoscyan:
That sounds nice thanks
[OnePlus X Themes and Apps] Ojans:
I have an issue. I already install the camera on cm13 and it works perfectly.

But after i update my cm13 yesterday, the camera framerates drops to 30 fps :confused: . So, i re-flashed the camera then my phone starts bootloop (fixed by re-flashing cm13 rom).

So how to fix this framerates issue?
[OnePlus X Themes and Apps] arti_97:
Is this camera hal support cm14? Thank you guys :)
[OnePlus X Themes and Apps] B0unze:
Are you Running cm14? Cuz that would be really Nice, it probably does since it support ll and mm but you'd have to try.
[OnePlus X Themes and Apps] cnutfalps:
Just installed it on OOS 3.1.0. Works just fine for me.

Edit: Nevermind, tried taking a video and the camera app froze :silly:
[OnePlus X Themes and Apps] zer0se7en:
Did someone already tried this on 3.1.1? That's the only problem it has. All in all 3.1.1 community build is a nice update.
[OnePlus X Themes and Apps] B0unze:
[MENTION=5239169]zer0se7en[/MENTION]

it does but you need eng.stk's bluspark TWRP 3.0.2-2 v41 to flash it.
[OnePlus X Themes and Apps] Mithrandir_:
Yes, i'm running cm14 with this HAL :)
[OnePlus X Themes and Apps] ashwinpilgaonkar:
Apparently the camera libs were updated in OOS 2.2.2.

"Improved camera frame rate performance" was listed in the changelog.

Does anyone know what exactly has changed?
[OnePlus X Themes and Apps] Sultanxda:
No idea, but I read that it did not fix the low-framerate issue.
[OnePlus X Themes and Apps] migueldbr:
Yeah, it made it a bit better but its a half-ass fix...Its a switch on their camera app options so it doesn't even work if you use another camera lol
[OnePlus X Themes and Apps] CertifiedBlyndGuy:
Isn't about half the stuff they do anymore half assed? I mean its great that they're kernel sources are open and theyre decent with the community, but I mean... Obviously they haven't hired you so what the hell are they doing? Even if they asked you, I wouldn't accept lol. Their development team is getting better, but they're leagues behind. I mean Christ, we saw official M the day N released.. WTF. Those are my thoughts at the very least.. See you around Sultan. High hopes that you plan to support N on our still great device... Martin actually managed to get Vulkan working I guess???
[OnePlus X Themes and Apps] migueldbr:
While i agree with you about oneplus, their community MM build is surprisingly good. And once you tweak the governor its actually one of the best roms for our device (i didnt like lollipop oxygen though).

But they really dont know how to speak to the community and give timely updates (or fix the goddamn camera)
[OnePlus X Themes and Apps] CertifiedBlyndGuy:
I would be more than happy to use the CB, but look at their kernel source.. It definitely isn't optimal. I mean, we have four different revisions of the DTS for one device, Interactive is broken, and the fuelguager is highly innaccurate. I can only imagine what their sources look like for Oxygen and Hydrogen
[OnePlus X Themes and Apps] Vikyy17:
When I flashed HALL last time it had some serious focussing issues; camera was struggling to keep focus on subject every now and then. Now I'm planning to use it again with RR 5.7.4. My question is does custom HALL really improve picture and video quality in snapdragon camera app (stock camera that comes with cm13). Do pics come out better than original and how is it compared to the stock camera app in oxygen os 3.1.1 which now has improved video frame rate. I'd be glad to hear people's valuable answers
[OnePlus X Themes and Apps] B0unze:
I think they just used opengl cuz google can't force them to use vulcan on a custom rom.
[OnePlus X Themes and Apps] CertifiedBlyndGuy:
No. Martin has Vulkan working oddly enough
[OnePlus X Themes and Apps] RepoX_RAY:
Hi Sultan, I've read that Oneplus X is now getting the update to OOS 3.x (MM).

Could you check if your camera hal works on it?

I wait your feedback before updating (I'm so happy with your camera hal that this is even more important than updating to MM to me... :D )

Thanks in Advance
[OnePlus X Themes and Apps] DerAxx:
Hi. I tried it and find out that it doesnt work. Camera is FC after making a picture. I my case it was causing a few more bugs, so DON'T flash this on OOS 3.1.2, before there is an update for.

Didin't get a proper working camera after this, had to clean flash OOS.
[OnePlus X Themes and Apps] Kéno40:
You just could have dirty flash OOS over. I should have worked.

Did you wipe Camera app data before starting it?
[OnePlus X Themes and Apps] DerAxx:
Yes, I tried:

- flashing OOS 3.1.2 dirty

- format /system, flashing OOS 3.1.2 dirty

- wiped cache of camera

Didnt work for me. BTW I'm back at cm13, because I'm missing a lot of features in OOS after using CM or some month. Looking forward cm14 ;)
[OnePlus X Themes and Apps] Lazy Rich:
How did you go back? I tried to install CM 13 after visiting OOS 3.1.2 but the device only bootloops until forever ... :(
[OnePlus X Themes and Apps] Kéno40:
Off topic here, but you will have to unstall an old OOS 2 version. Then install Official last TWRP (not BS V41). Then flash your ROM.

& Wipe all of course at each change !
[OnePlus X Themes and Apps] DerAxx:
Ok try this:

Boot into fastboot mode,

flash bluespark TWRP with terminal on PC,

boot into recovery, install OOS 2.2,

boot into fastboot and flash official TWRP again with terminal on PC,

install CM13 or restore your backup

Sry for Off-topic. Hope this helps you.
[OnePlus X Themes and Apps] Kéno40:
Are you sure for this step. I think, it's better to stay on stock to flash OOS 2
[OnePlus X Themes and Apps] DerAxx:
this was my procedure, and I had no problems at all. But I think this step also work with stock recovery.
[OnePlus X Themes and Apps] Bishal Pranto Roy:
I can't use manual mode in any camera.

Can you please direct me to any camera app that can use manual mode like one is the default camera app of OOS.

4k was awsome. Thanks:)
[OnePlus X Themes and Apps] Kéno40:
What's your config?

If you're on CM13, just use Sultan's CM13. You'll have best photo 's functionnalities inside.
[OnePlus X Themes and Apps] Bishal Pranto Roy:
I am running on stock OOS 2.2.2 with blu_spark.

Can you please direct me to a camera usable in that config?
[OnePlus X Themes and Apps] Kéno40:
Why don't use OOS 2 app. It works...
[OnePlus X Themes and Apps] Bishal Pranto Roy:
Do you mean the default one or is there available to flash or install?

all I want is to have the old manual mode.
[OnePlus X Themes and Apps] Kéno40:
Of course. Manual mode is inside and 2.2.2 mainly fix the framerate problem.
[OnePlus X Themes and Apps] Bishal Pranto Roy:
I'll try it now and get back to you.

Thanks :)
[OnePlus X Themes and Apps] Kéno40:
Go to camera apps settings. Wipe datas of this app (not only cache) . Don't open the app.

Just reflash full rom (note that 2.2.3 & 3.1.2 ar e available right now) & wipe caches.

If camera crashes, maybe re wipe camera app data.
[OnePlus X Themes and Apps] Bishal Pranto Roy:
Okay, I get that. But I'm asking if there is any camera that is able to use manual mode (focus, ISO) without flashing rom and with this HAL (4k enabled)
[OnePlus X Themes and Apps] Kéno40:
Simplest way is to use Sultan's CM13... On stocks, it won't work I think.... Here someone had developped a tool to swich between the 2 configs to use once Manual, Once 4K.

But it didn't worked well on my stock config.
[OnePlus X Themes and Apps] oneplusx:
Sultan would you support OOS 3?
[OnePlus X Themes and Apps] ashwinpilgaonkar:
[MENTION=4800121]Sultanxda[/MENTION] Will this mod work on CM14 or will it have to be rewritten/modified?
[OnePlus X Themes and Apps] Stottlemeyer TDi:
I noticed that with OxygenOS 3.1.3, if you start the torch with the gesture V, the phone will reboot on its own, then the next reboot everything works perfectly, this only happens when first starting, this obviously means a useless Mod HAL, c 'you perhaps have a solution to this?

***Update***

if you do not use the obligatory gesture V when you first start you can not use the flash for both video and still images for any application, this obviously makes the phone unusable.
[OnePlus X Themes and Apps] Mithrandir_:
As far as i know, whit N something has changed in the implementation of the HAL, so i think this can no more used untill the dev update it.
[OnePlus X Themes and Apps] ryanfraser38:
I can't seem to find it anything about this anywhere but all the 4k options show up. when I click record it briefly records then stops it doesnt crash just doesn't record. Oneplus x on a cm 14 rom
[OnePlus X Themes and Apps] Kéno40:
You can't find it because you didn't search. 3 infos :

- Just read the post above yours.

- Last version is from april.

- It's said nowhere to be Android N compatible.
[OnePlus X Themes and Apps] ryanfraser38:
Oops, cheers for pointing that out
[OnePlus X Themes and Apps] alabama20:
The HAL won't work after the latest Official CM13 nighlty 19.10.2016
[OnePlus X Themes and Apps] ashwinpilgaonkar:
Why not?
[OnePlus X Themes and Apps] Kéno40:
Maybe because of the changes on the bootloader.

It still could be used patching manually the files with a root explorer?

PS : I thought the files were already included in the CM13 now and not only Sultan's version.
[OnePlus X Themes and Apps] alabama20:
Whenever you try and take a picture, the camera just closes.

---------- Post added at 09:23 AM ---------- Previous post was at 09:21 AM ----------

It's not the bootloader, but the latest cm nightly. I saw they made changes in the camera
[OnePlus X Themes and Apps] Kéno40:
Did you wiped camera data?
[OnePlus X Themes and Apps] alabama20:
Wiped, camera data, tried two recoveries, tried 3 different cameras

All work fine until I flash Sultan's hal
[OnePlus X Themes and Apps] Jude Aranha:
This is why.
[OnePlus X Themes and Apps] Kéno40:
To make it simple, with stock recovery, you can't flash anything except stock upgrade or stock rom.
[OnePlus X Themes and Apps] grinfable:
I get a bootloop when I flashed it on cm13 rom.
[OnePlus X Themes and Apps] Maxilius123:
Doesn't seem to work on HydrogenOS.

I only get a black screen when i open the camera (tried with stock and google camera)
[OnePlus X Themes and Apps] Thanasis st:
did you clear data of the camera app?
[OnePlus X Themes and Apps] Maxilius123:
Yes i did..

Do you got it working on Hydrogen?
[OnePlus X Themes and Apps] Thanasis st:
https://www.youtube.com/watch?v=esQCdUdj3wk

yes I already recorded some samples but I got a freshly installed oxygen (i had h2os before)
[OnePlus X Themes and Apps] Maxilius123:
That is the point.. It works on Oxygen but not on Hydrogen.
[OnePlus X Themes and Apps] CertifiedBlyndGuy:
Working great on CM 13, however when trying to record with the front camera the app crashes. Everything else works great. Thanks
[OnePlus X Themes and Apps] Andy1767:
Any chance to get raw dng support for photos?
[OnePlus X Themes and Apps] Sultanxda:
These are problems in the camera app, not the HAL. I tested multiple camera apps, including the Snapdragon Camera app from my OPO ROMs, and I have yet to experience any crashes after switching camera modes dozens of times, while capturing multiple 4k videos and photos.

Re-flash your ROM. Some ROMs may have different camera components (e.g. OxygenOS 2.2.0 has different camera stuff in it than OxygenOS 2.1.4), so I can't provide a universal revert zip.

Ehh, I'm still using my OPO as my daily driver, and aside from the amoled screen, my OPO's hardware (and software) is more preferable in a lot of ways. At the moment, I don't plan on making anything else for the OPX aside from this camera HAL.

No. Proper DNG RAW support requires additional code in places deeper than the camera HAL (i.e. the proprietary camera libraries). Only OnePlus can do this, as the general public does not have access to proprietary camera source code.

This sounds more like a problem with the camera app than the camera HAL. I have yet to experience a single crash after countless tests.
[OnePlus X Themes and Apps] CertifiedBlyndGuy:
Looked into it and I installed [MENTION=2805784]BOOTMGR[/MENTION]'s Color OS camera with the plugins. I was surprised to find that shutter speed no longer causes the app yo crash so all of the plugins are compatible. Thanks a ton for this HAL! Its great
[OnePlus X Themes and Apps] andlin97:
Hi, I'm wondering which camera app is the best for this HAL, for OPX in general. And also, when filming 4k videos with Samsung s6 edge plus, It's stabilized as hell, creepy much so to speak. Is there any option for us to have that aswell? maybe not as good but something like it?
[OnePlus X Themes and Apps] ashwinpilgaonkar:
[MENTION=4800121]Sultanxda[/MENTION] Will it be possible to fix the slo mo and make it work like it used to? Or will it remain broken if 4K is enabled?
[OnePlus X Themes and Apps] J0kker:
It's a little sad to read that, great (even not great in fact) developers are always welcome.

And to be honest, OPX fits way better in the pocket than OPO, you should consider this :D

More seriously, thank you for your contribution, the time and efforts you put into this project, it's trully appreciated, and that's why i made a (small) donation, that's not much, but if everyone who could afford give what they can, it would be a better world !

Have a nice day =)
[OnePlus X Themes and Apps] Addys123:
So has the pictures quality improved beside the 4k option?
[OnePlus X Themes and Apps] andlin97:
Yes, this is not me being rude but read the first post in this project. It's clearly stated. you won't magically get better pictures but if i remember right they are slightly bigger and forced to 100% quality. not sure tho
[OnePlus X Themes and Apps] Thanasis st:
s6 has optical image stabilization which is hardware thing and that means opx cant be as good as s6's camera,but they can make digital image stabilization,it wont be as good as OIS but its better than nothing
[OnePlus X Themes and Apps] kawaiiDango:
It will be good if we have a revert zip
[OnePlus X Themes and Apps] maxl96:
Revert zip is not a good idea because the original libraries and files are different for many ROM versions.

Best thing is to reflash original ROM to revert back as sultanxda said earlier. :)
[OnePlus X Themes and Apps] mundano:
[MENTION=4800121]Sultanxda[/MENTION], You say in the opening post, that this HAL is not perfect yet, and that there are some caveats like the loss of HDR mode, ClearImage, and some more stuff....

As you use the word yet, I was wondering if in a future revision it will be possible to have HDR mode, alongside with the improvements that your HAL gave us, or if it is a definitive trade-off that we have to make?

With or without HDR, I would like to thank you for your work.
[OnePlus X Themes and Apps] alabama20:
That's what I thought
[OnePlus X Themes and Apps] ashwinpilgaonkar:
onyx: Use OSS Camera HAL

Can you explain to me what exactly this means?
[OnePlus X Themes and Apps] Jude Aranha:
CM13 will use Oxygen OS 3's camera HAL. Not the old one.

This means the camera is now on par with OOS on CM13.
[OnePlus X Themes and Apps] MarocoKong:
Wonder what does this mean for Sultans HAL? Is it superseeded and not needed any more now, cause all his goodies are included in the OOS3 HAL from OnePlus - or will there be an update? My impression was that compared to OOS2 it gave way better pictures, but no idea about OOS3 Camera... Have only upgraded yesterday evening and not tested yet. I'd miss flashing the Camera HAL after the nightly updates though... ;)
[OnePlus X Themes and Apps] alabama20:
Sadly this nowhere near as good as Sultans camera HAL. I hope he will fix it otherwise I have to jump to his CM build
[OnePlus X Themes and Apps] Kéno40:
You mean for video quality or photo's?

If photo, you see a gap on low light pictures? all situation?
[OnePlus X Themes and Apps] alabama20:
Lowlight issue with the video, worse picture quality and laggy viewfinder. Just to name a few
[OnePlus X Themes and Apps] ashwinpilgaonkar:
Actually, it doesn't improve the picture quality. All it does is reduce the exposure time so that there's less motion blur in low light which results in less bright and more noisy photos (in low light situations).

Has the lag issue been fixed in the new HAL of OOS 3.x.x/CM14 though?
[OnePlus X Themes and Apps] alabama20:
I can't comment on that since I'm using CM13. But after this change it feels so bad.
[OnePlus X Themes and Apps] ashwinpilgaonkar:
Are you using the latest CM13 nightly? That has the same camera HAL as OOS 3.x.x/CM 14
[OnePlus X Themes and Apps] alabama20:
Just went back to the nightly from the 15th and now Sultan's hal work. I'll stick with it I guess. The camera was one of the main reasons I moved to CM from OOS
[OnePlus X Themes and Apps] Kéno40:
Have you tried OOS 3 to compare image quality. On the photo side, it's more thaan close and you can use again Manual control.
[OnePlus X Themes and Apps] alabama20:
I have manual controls in Bacon camera, it's much better than the OOS camera app. And no I only had OOS 3 until I did swap the bootloader. I prefer CM over OOS
[OnePlus X Themes and Apps] Tanner1294:
With Sultan's HAL you can have Manual focus in Snap Camera HDR as well.
[OnePlus X Themes and Apps] alabama20:
I know but I prefer the Bacon camera
[OnePlus X Themes and Apps] Akash52k:
I installed this on OOS 3.1.3,it did install. I tried to take a picture the stock camera app automatically closed.

Cleared data of the stock camera app still the same.

Tried that with Footej and Bacon camera as well but result was the same.
[OnePlus X Themes and Apps] alabama20:
Just what I've said...
[OnePlus X Themes and Apps] Akash52k:
So isn't there anyway to make it work on oos3?
[OnePlus X Themes and Apps] alabama20:
Only if Sultan decides to update his hal
[OnePlus X Themes and Apps] Akash52k:
How to uninstall the HAL? Should I just flash the oos3.1. 3 zip to revert back without cleaning anything or is there any other way?
[OnePlus X Themes and Apps] Kéno40:
Go to the Me nu Apps/ and wipe camera data & cache

& just reflash full rom zip and wipe cache.

It should be OK after.
[OnePlus X Themes and Apps] Akash52k:
Okay man. Thanks
[OnePlus X Themes and Apps] Sultanxda:
The code that fixes the low framerate bug is not working with OxygenOS 3.1.3 camera libraries, so I don't think I can update this mod for OxygenOS 3.1.3.
[OnePlus X Themes and Apps] DerAxx:
Noooooooooo :(

Using OOS 3.1.3 camera for some days now, and it is terrible after using your Mod before.

Anyway thx for your support and a good time.
[OnePlus X Themes and Apps] reebomber:
This means no update to OS for me, from now on :(
[OnePlus X Themes and Apps] alabama20:
Same here, I'm sticking with the latest nightly that supports it. The OOS 3 one is terrible compared to Sultans
[OnePlus X Themes and Apps] Kéno40:
Hi maybe, just the suite speed priorité could be implemented? Or it is really too much work?
[OnePlus X Themes and Apps] carlandermatias:
So, how can I install this on a new bootloader Rom?
[OnePlus X Themes and Apps] zer0se7en:
Same way. But it'll not work the same way. Too bad for us.
[OnePlus X Themes and Apps] RepoX_RAY:
I'm crying...

Do you believe it could work if you use camera libraries from your CM13 or from old OOS2.2.x ?
[OnePlus X Themes and Apps] m00nman:
Somebody just needs to create flashable zip with old camera libs then it will work. SultanXDA just updated his cm13 ROM and did exactly that.
[OnePlus X Themes and Apps] ashwinpilgaonkar:
I want to attempt this. If I extract all the camera libs from an older CM13 ROM and flash them on the latest nightly, would it work?
[OnePlus X Themes and Apps] alabama20:
The last build where the HAL works is from the 15th. Let's try this, I want the updates but don't want to miss out on 4k etc what Sultan's HAL provides
[OnePlus X Themes and Apps] ashwinpilgaonkar:
Yeah, me too. I'll try this ASAP.
[OnePlus X Themes and Apps] alabama20:
Did you succeed pal? :)
[OnePlus X Themes and Apps] ashwinpilgaonkar:
Haven't tried it yet. I'm currently travelling and cant mess with my phone. I'll try it in the next 2-3 days.
[OnePlus X Themes and Apps] alabama20:
Okay I'm in the same shoe for the next week :S
[OnePlus X Themes and Apps] fosiczka:
This mod does not work with stock oxygen 3.1.3?

Odesláno z mého OnePlus X
[OnePlus X Themes and Apps] zer0se7en:
Nope. It will install. But your camera will jist be messed up.
[OnePlus X Themes and Apps] Asmmahin:
Does it have to be custom recovery or stock recovery will do while flashing ?
[OnePlus X Themes and Apps] Kéno40:
On which oos version are you?

Doesn't work with 3.

And it is impossible to flash something non official with the normal recovery...
[OnePlus X Themes and Apps] Asmmahin:
Thanks..i am on 2.2.2
[OnePlus X Themes and Apps] natsukagami:
Ummm

I installed it on 10/28/2016 official CM13 rom,

Now stock Camera works but Open Camera crashes everytime I try capturing...

I really want to use Open Camera, any way to revert (without re-flashing the whole rom)?

EDIT: I tried dirty flashing and app cache cleaning, apps take photos now, but HDR doesn't work at all, in any app.
[OnePlus X Themes and Apps] RepoX_RAY:
Hi, do you have any update?
[OnePlus X Themes and Apps] namquang93:
have anyone tried this mod on CM14/CM14.1, android 7.0/7.1 ?
[OnePlus X Themes and Apps] Kéno40:
Can't be flashed because of the recovery.
[OnePlus X Themes and Apps] Aamod Joshi:
Does this camera mod word on Tesla N 3.1 ROM?
[OnePlus X Themes and Apps] Aamod Joshi:
Well for you folks who are running Tesla N 3.1, this mod doesn't work. No photo or video gets saved
[OnePlus X Themes and Apps] killacam1989:
I'm using it now on CM14. Some features don't work like power shutter. Camera works for taking pics. Video recording stops immediately after you hit record. Other than that I don't see anything else
[OnePlus X Themes and Apps] alabama20:
The video recording improvements were the whole point of using this mod...
[OnePlus X Themes and Apps] Mithrandir_:
Have you tried to do it?
[OnePlus X Themes and Apps] zebMcCorkle:
On [MENTION=5426059]ashwin007[/MENTION]'s CM14.1 build, everything seems to work except for video recording. Here's a video showing what happens (me picking up the phone was to show the camera does work, it's just the recording function): YouTube video ID RFNFlF7Rqtg, account's too new to post links
[OnePlus X Themes and Apps] yrahate7:
Hi,

Can anyone help me create a custom Hal for camera on zuk z1

It has the same sensor as the oneplus one.

But I miss the ability for manual camera controls

Thanks
[OnePlus X Themes and Apps] Aashay:
I can understand if you don't work on OxygenOS 3.1.3 but can you please suggest a workaround that we can try? Please?
[OnePlus X Themes and Apps] augt:
Given that this mod isn't compatible with the new camera libraries, would it be possible to make a flashable zip that contains old camera libraries in order to put old libraries in new roms and then flash this mod in order to make it work ?

Thanks
[OnePlus X Themes and Apps] alabama20:
We were thinking about this but nobody actually did it :(
[OnePlus X Themes and Apps] Debangshu:
Does this hal allow long exposure and raw capture on the bacon camera or snap camera? These are unsupported in the official hal