yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] hmzuleta:
HDR FCs the camera app. Logcat here: https://www.dropbox.com/s/osu5qkfqfg0iz4u/2016-03-07-22-38-58.txt?dl=0
[ONE Original Android Development] Sultanxda:
Huh, it works fine in CM12.1. Oh well, this is something I'll worry about over the weekend.

Back to doing homework :crying:
[ONE Original Android Development] hmzuleta:
I'd rather have all those benefits than a crappy HDR, to be honest. Good work anyway, and good luck with college.

EDIT: by crappy HDR I meant that the HDR on the OPO isn't so good per se, it came out as what you've done is crappy, which is not the case.
[ONE Original Android Development] usmani:
Yeah I don't have a banding issue on you're old camera HAL.
[ONE Original Android Development] Sultanxda:
Yeah, HDR has always been trash and I'm not exactly sure why :/ I might try tweaking it a bit at some point.

Any photo you see with banding on the new HAL would've been very blurry with the old HAL (unless your hands are steadier than a surgeon's).

Pick your poison :)

Or wait until I fix the anti-banding option in Snapdragon Camera.
[ONE Original Android Development] Supranoob:
I have this same problem with 02/21 build. Reboot usually temporarily fixes it. I didn't have this problem with the cm12 builds.
[ONE Original Android Development] sToRm1nG:
[MENTION=4800121]Sultanxda[/MENTION]

I figured it is due to the fact that Cyanogen is using f2fs for file systems since COS 12. Therefore it is needed to either flash CM11S or to manually change file system from f2fs to ext4.
[ONE Original Android Development] alexthe1986:
Current Bug list

Hey where can i get current bug list... which will help in deciding whether i can use or not this rom as my daily driver....
[ONE Original Android Development] honor_77:
No serious bugs afaik
[ONE Original Android Development] cheptii:
Hello,i have a problem with VPN it disconnects itself after some time i used Betternet -psiphon-hotspot shield

-Wifi is draining my battery (problem appeared since 2 days, even when off ) i tried setting the region code, battery saving mode in gps etcetera.

Thanks for the help and great work btw

Edit : i found this im testing it , i will report back

Now all you need to do is go to Settings → Location → options (3 Dots top right corner) → Scanning → Uncheck Wi-Fi Scanning. This is for Marshmallow update.
[ONE Original Android Development] madsponge26:
Clean flash? Wifi scanning off? Greenify?

Betternet and psiphon working lika a charm.
[ONE Original Android Development] cheptii:
Clean flash

Wifi scan off (since 5minutes)

No Greenify
[ONE Original Android Development] qaliza:
The longest screen time I ever got with 5% left. Thanks for this amazing ROM.
[ONE Original Android Development] :
[MENTION=4800121]Sultanxda[/MENTION] Will you include the newest security fixes from google in the near future? RCE from browsing is a quite a big reason for concern.

htps://source.android.com/security/bulletin/2016-03-01.html

(add a t to htps since I can't post links)
[ONE Original Android Development] madsponge26:
Use deromtester r5 kernel. Try it
[ONE Original Android Development] cheptii:
Im already using it :D
[ONE Original Android Development] madsponge26:
Use stylo lightining v2 profile with synapse
[ONE Original Android Development] onebhk:
Review after 1 week usage

Overall I'm very happy with this ROM build, am using it as my daily driver.

The initial few days, battery performance was not good, used to get around 2hr of SOT, other than that there were no major bugs.

For the rest of the week, I am amazed at the battery performance. Getting consistently 4.5 - 5 hr SOT. No mods, no xposed modules. Basic ROM + Greenify.

I have enabled doze, and yesterday night I have felt its effect. At 12:00am midnight, battery was at 15%, as it went into battery saver mode. I disabled WiFi and went off to sleep. Woke up at 7:30 am, found the battery at 14%

My usage is moderate, mostly reddit sync, telegram, whatsapp, gmail... Mostly on Mobile data through out the day and WiFi at night.

Some bugs I have encountered: The mobile data connection some times gets lost when I change network modes (from WCDMA only to GSM only, or vice versa). A simple soft reboot does the trick.

Another bug if the keyboard pops us whenever I use pattern for protected apps, it becomes a nuisance to dismiss it always.
[ONE Original Android Development] Echo_2000:
Is kcal missing in the new camera kernel?

It isn't working for me. Before it was.
[ONE Original Android Development] cheptii:
This is the first time that i install a custom kernel i just underclocked the cpu , can you explain me what should i exactly do ?

Thanks
[ONE Original Android Development] hmzuleta:
I have crazy battery drain with the latest camera update. I suggest you don't flash it until Sultan puts a bit more time to it.
[ONE Original Android Development] GreenArrow_I9100:
Hey, The latest build is on Enforcing Mode, Think synapse will open only in permissive. So did you set it to permissive anyway ? Or is there another workaround to apply profiles to synapse
[ONE Original Android Development] easy_mac:
With private kernel you can't use synapse. Also no need to apply stylo king profile, stock settings on r5 are great.
[ONE Original Android Development] GXGOW:
I've been playing around with the new camera libraries. Here are my findings for now:

- Photo quality is better than ever! Taking pictures is also noticeably faster.

- There's a pretty big amount of lag and frame drop when you film something in 4K DCI. 4K UHD and all other qualities are working without any issues.

- Snapdragon Camera crashes when a picture in HDR is taken. Haven't tried with another camera app yet.

So far it's been working great, apart from these issues. If I find any more issues, I'll report them here. You've done a great job so far, Sultan! We're very grateful for that!

Sent from my OPO running Sultanxda's CM13
[ONE Original Android Development] vickyelugu:
Probably best Rom atm
[ONE Original Android Development] DehDehDeh:
I'm seeing a ton of alarms/wakeups (1.3/min) from com.google.android.gms, which seems to be (connected to?) Google Play Services. Does anyone have an idea why, and what can be done about it?

I've tried limiting it through Amplify (com.google.android.gms/.lockbox.LockBoxAlarmReceiver) but it does not seem to make any difference.

Thanks,

3D
[ONE Original Android Development] hmzuleta:
[MENTION=4800121]Sultanxda[/MENTION] I also get this nasty bug on WhatsApp when trying yo send an inline photo (after clicking the camera icon on the message box).

http://imgur.com/8KKOdNw

Strangely enough, this doesn't happen with the in-app camera on the Imgur app.

To anyone else who loves stability: STAY AWAY FROM THE NEW CAMERA HAL/KERNEL, for the time being.
[ONE Original Android Development] Sultanxda:
Hmm, I'll think I'll give up on this then and instead add some minor improvements to the old camera stuff that's currently in the ROM.
[ONE Original Android Development] lokesh.3440:
This is what he meant.

Only happens with back camera.
[ONE Original Android Development] kouss77550:
Or can you just keep the flashable zip system so we can choose which camera hal we want? I actually love the new camera driver
[ONE Original Android Development] Kanden95:
I was literally just going to ask about this. That's why I registered.

Since I installed your ROM Sultan, I'm having the same Issues with my back camera showing these rainbow colored lines from top to bottom. I can still see some camera captured image on the screen but its very minor. Also the Cam crashes after a few seconds.

I was thinking about the issue, if it was hardware or software based. Can anyone confirm that it is software based and the ROM is the cause of it currently? That would help me quite a bit and I could wait for a fix, or even accept one from you guys, if you have one for me.
[ONE Original Android Development] lokesh.3440:
This might be due to the new camera libraries that sultan has adopted. He said he will fix these glitches soon.
[ONE Original Android Development] Sultanxda:
Is this with the experimental camera stuff I posted yesterday?

I believe he said he'd be abandoning the new camera libraries, but who knows, maybe I'm wrong.

No. Kernel changes are required, so it's all or nothing.
[ONE Original Android Development] dorian1326:
I haven't flashed your new camera, but I actually like the HDR on the old one. I actually used it a lot this past weekend and it worked amazing. It's a bit aggressive so it makes the pictures look better than real life haha. Its only flaw is that it's very slow. You have to wait without shaking much for couple seconds before the picture is done. Meanwhile, my friends with iphones and others, take the HDR pictures instantly. Not sure if you can do anything about this, but it could be one of those minor improvements.

It will be great too if the HDR would work faster if you decide on using the new camera libraries, since you can't take those 2 seconds photos anymore. I always preferred HDR over those anyway because I don't have a tripod for OPO, although in low light you need one even for the slow HDR...

Thanks again for the great work!
[ONE Original Android Development] lokesh.3440:
Yeah these glitches appeared after new camera libraries. Please don't abandon them because camera quality has improved drastically except for HDR FCS..[emoji1] [emoji1]
[ONE Original Android Development] TareqA:
With the under clock removed I feel a little choppiness around here and there and while scrolling
[ONE Original Android Development] barisuraz:
[MENTION=4800121]Sultanxda[/MENTION] new camera drivers are awesome please don't abandon them :/
[ONE Original Android Development] fanatik85:
[MENTION=4800121]Sultanxda[/MENTION] why dont u open a company against to Cyanogen :) :) :) i m very glad to know you cause i start to like the one's camera with your roms....
[ONE Original Android Development] TonySuperPony:
Maybe you can use the Cm snap cam then? They have done a good job with it..

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] Cappelletti:
I just tried the new camera stuff and had no problems on Whatsapp. Tried the front and back camera.

Am I doing something wrong trying to have an error? :p
[ONE Original Android Development] Kanden95:
Okay, I installed those two zip files via twrp and the installation went well, but I still have those stripes on my camera.
[ONE Original Android Development] sneakerspark:
About the banding stuff (those lines that appear in low light situation, it's because the ISO is cranked up to something 2000. Lower is to 400 you'll get rid of the banding but your camera will feel a lot slower.

And please mate, don't abandon them.
[ONE Original Android Development] Kanden95:
The camera app is also constantly crashing, I also get that on normal light situations aswell, there is something seriously wrong at the moment.
[ONE Original Android Development] Sultanxda:
HDR actually isn't as slow as you think. The way HDR works is that it captures 3 frames at 0.5x, 1x, and 2x exposure respectively, and then it does some heavy processing on those 3 frames to produce 1 final photo.

The 4 second delay you see when using HDR is the sum of the time it takes to capture the 3 frames and the time needed to process them. In the darkest lighting conditions, the most amount of time it takes to capture each frame is 1/20th of a second. This means that the entire HDR capture phase will never be longer than 3/20ths of a second.

In other words, you only need to keep your hands still for the first ~3/20ths of a second after pressing the shutter button when using HDR. Try it out for yourself; try taking a picture with HDR, and after about half a second from the time you press the shutter button, shake your phone around wildly while the photo is processing. Your HDR photo won't be blurry :)

That's why I said the new libraries are experimental :p

Banding isn't directly fixed by changing ISO; it's fixed by setting an exposure time that is in-phase with the frequency that an artificial light source emits light at. I've already explained banding pretty thoroughly in those 3 OPX posts I linked to, so I won't type it all out again.

I am abandoning the new camera stuff. It has some sketchy bugs that I don't think I can fix.
[ONE Original Android Development] Kanden95:
But are those rainbow stripes from top to bottom a known bug? I really would appreciate it to know that so I can sort out a hardware bug. Is there also a fix being worked on?

And if you abandon them now, do I have to remove those zip files now somehow, or will it be enough to flash something new once you have it, be enough?
[ONE Original Android Development] TonySuperPony:
Why don't you read what Sultan has said already.

Yes it is a bug, no he won't fix it. You have to return to the normal hal

Verstuurd vanaf mijn A0001 met Tapatalk

---------- Post added at 09:16 PM ---------- Previous post was at 09:16 PM ----------

And just flash rom again, the libraries will be gone if you do that

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] Sultanxda:
Wait, you were seeing weird rainbow stripes before installing the experimental camera stuff. If you're seeing the rainbow stripes in all camera apps (including the included Camera app), then there's something wrong with your device. The experimental camera software doesn't even suffer from rainbow stripes with the included Camera app.
[ONE Original Android Development] Kanden95:
What is a Hal. And I meant that I have these stripes since I got the rom not the zip files he uploaded yesterday. I don't know if you guys mean it's a known bug in the rom or in the zip files from yesterday. That's what's confusing me right now.
[ONE Original Android Development] TonySuperPony:
Ok, that is not normal...

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] Kanden95:
That's what I wanted to know. So it's safe to say that my device has a hardware issue? I was going to contact one plus support but I don't know if they react to devices with unofficial roms, do you know about that?
[ONE Original Android Development] TonySuperPony:
This could mean that your experimental Hal isn't that bad after all?

Edit: nvm he is not the only one with the problem :)

Verstuurd vanaf mijn A0001 met Tapatalk

---------- Post added at 09:26 PM ---------- Previous post was at 09:23 PM ----------

I suggest you to flash back to stock ROM, check if you have the error there and of you have, then you can return the phone..

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] Kanden95:
How do I successfully return to a stock rom? Simply downloading one and flashing it wont work right?
[ONE Original Android Development] TonySuperPony:
I can't help with that, never have gone back to stock ever.. But I guess there are guides for that

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] Kanden95:
Just went to stock, and the problem still exists....
[ONE Original Android Development] hammer-is:
[MENTION=4800121]Sultanxda[/MENTION]

Running your new experimental camera HAL without any issues (apart from the known HDR bug), on my own build from "stable/cm-13.0-ZNH0E" + your modifications.

Great work. It's fantastic that you keep tweaking for the good old OPO.

When are you considering to switch to the stable branch for CM13. When the first official "snapshot" are out?

It seems to be stable now (and I was even able to update from a week old "cm-13.0" (non stable branch) + your modifications build without issues).
[ONE Original Android Development] lordsinasina:
[MENTION=4800121]Sultanxda[/MENTION] I also don't have any issue with in app camera even on whatsapp. Everything working great. Please don't abandon the new camera Hall ?
[ONE Original Android Development] Kanden95:
I've attached a screencap of my camera app now
[ONE Original Android Development] mikronac.ns:
[MENTION=4800121]Sultanxda[/MENTION] buddy, when I am connected to Bluetooth device, eg. Mi Band, my WiFi connection drops when device goes to sleep. Also, speed of wifi connection is ridiculous when Bluetooth is turned on. I assume that you already knew this.
[ONE Original Android Development] Stoo85:
[MENTION=4800121]Sultanxda[/MENTION] Still it does not work high accuracy GPS, when can we expect the repair? :)

(thanks for the ROM :) )
[ONE Original Android Development] gkillerx:
Can we use the new TWRP v3 while flashing modems? Anyone know if that is working correctly ?
[ONE Original Android Development] effry:
Any way to fix this in Puffin browser? I already disabled the option inside developer options.
[ONE Original Android Development] eris23:
I used a 3.0.0-0 to downgrade my modem last night. Worked fine. It may have been the unofficial one from https://www.androidfilehost.com/?fid=24399994186369589
[ONE Original Android Development] Sarabveer:
Anyone know why I go into a boot loop when installing the kernel and updated camera HAL on the March 07 build by Robin
[ONE Original Android Development] O.a.T.:
Unofficial Sultan w/March Android Security Patches + Latest CM

https://www.dropbox.com/s/ih8ett8u341jv7q/cm-13.0-20160309-UNOFFICIAL-Sultan-bacon.zip?dl=0

http://www.cmxlog.com/13/bacon/
[ONE Original Android Development] beingumeysh:
is this already include in your cm13.1 newest build or need to flash both file
[ONE Original Android Development] alonroz:
About to flash this and the new camera SultanXDA posted. Will update on progress.

---------- Post added at 10:06 AM ---------- Previous post was at 09:38 AM ----------

Same thing here but with O.a.T's March 9th build. Build itself works fine, but if flashing the new camera zips, I get a bootloop.

[MENTION=4800121]Sultanxda[/MENTION] Any idea why this could happen? Everything works beautifully until I flash your 2 camera zips.
[ONE Original Android Development] TonySuperPony:
I don't know, but the new camera kernel is a lot of commits behind Sultan's cm13 kernel. Maybe there are crucial commits missing for the last builds?

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] vickyelugu:
Focus on Battery Life improvements please.
[ONE Original Android Development] wadimw:
Hi, I've recently switched from official CM12.1 to Sultan's Feb. 12 build.

As my battery life apparently got worse I wanted to deny some apps permission to Wake Up and Keep Awake (Facebook in particular). Unfortunately the former is somehow missing from the Privacy Guard. Is it normal in CM13, or maybe had Sultan chosen to exclude it?

If so, do I have any other way than installing xposed and Greenify/Amplify?
[ONE Original Android Development] gaja22:
Is this an official update from [MENTION=4800121]Sultanxda[/MENTION] ?

---------- Post added at 08:53 AM ---------- Previous post was at 08:48 AM ----------

What is the changelog, please ?
[ONE Original Android Development] xlollomanx:
I don't think is an official Sultanxda update because he hasn't update the op, its only an update with cm commit, see the cm changelog to see how is changed.

Sent from my Oneplus One
[ONE Original Android Development] :
firmware and twrp version or new rom (Dirtyunicorn)
[ONE Original Android Development] Lil' Potty:
So, I've been reading about this new camera hal and new libraries, but I'm unsure if I should flash them. If I flash them, I can't go back, right (unless if I make a backup and restore)? I read about good stuff too and I could use an improvement as the video recording really stutters (like there are jumping frames, even in 4K), and sometimes the camera frame moves by itself (I took a pic in viber with snapdragon cam, and the whole pic moved a bit down). The only things I'm not so convinced about are the lag when shooting in HDR and smaller stuff I've read ⬆.

So should I flash the new camera hal and libraries?
[ONE Original Android Development] alonroz:
You can go back by simply flashing the same ROM file you use, the last version you flashed. It recovers the original libraries and camera.

Worked for me when I've bootlooped after flashing the 2 zips.
[ONE Original Android Development] Lil' Potty:
Oh, so just a dirty flash of the same version I use at the moment?
[ONE Original Android Development] alonroz:
Yeah sorry, kid was crawling all over me, couldn't think of the right words [emoji1]

Sent from Tapatalk on OnePlus One
[ONE Original Android Development] Lil' Potty:
Thanks! ?
[ONE Original Android Development] SoxasoraRT:
The new camera update made my day.

Here's a picture captured with the new update:

[IMG="Showcase of the new update"]https://my.mixtape.moe/bvrvem.jpg[/IMG]

Congrats [MENTION=4800121]Sultanxda[/MENTION]!
[ONE Original Android Development] Dzhedaj:
The pic is worthless without comparing it to the previous version, which I bet would've looked the same.
[ONE Original Android Development] Lil' Potty:
Is it just me or are the pics taken with the update more noisy and grainy, could be the bad lightning in my living room or the fact that it's almost evening and there isn't a lot of natural daylight. But I still think pics are noisier and grainier.
[ONE Original Android Development] z3nith66:
If you want less shaky pictures in low light condition you need a higher shutter speed, and you need to increase the ISO to compensate for that. High ISO means noise, so that's probably what happened. The worst thing about this phone is the lack of OIS.
[ONE Original Android Development] marinespl:
Due to changes between Feb 21 and March 07.
[ONE Original Android Development] Sarabveer:
Gotta wait for a new build with the HAL preinstalled, can't wait!

This thread is also gonna reach 1,000 pages soon!
[ONE Original Android Development] kulfsson:
Bluetooth sound level

I just flashed this rom on my opo from the CM12 standard. In there I had maxxaudio (AudioFX) and a decent volume on my bluetooth earphones. Now, in this rom, I cannot raise the volume loud enough. It seems the audiofx version in this rom is different from the CM12 and doesn´t offer the same expandability. I have been searching like crazy for a solution and I have tried to exit the mixerpath xml file, tried to install Viper4Android (with no success) and I am actually quite lost.

Anyone know of a solution to this problem ?
[ONE Original Android Development] Bamfist:
hey i haven't been following the thread lately but if i want to update to the latest modem, should i wipe data and system, then flash the latest cm 13 nightly and proceed to flash gapps with sultan's rom to get the most up to date modem? the last time i clean installed was around November last year. I was updating through settings' OTA ever since. Thanks for any replies!
[ONE Original Android Development] qaliza:
Viper4Android to work requires the SELinux to be in permissive mode. By default this rom is in Enforcing mode. You can change it using an app called SELinux mode changer.

---------- Post added at 01:34 AM ---------- Previous post was at 01:30 AM ----------

You could try and flash the latest CM13 nightly without wiping data. While still in recovery flash sultans rom and gapps again. Then wipe cache and dalvilk cache and reboot.
[ONE Original Android Development] smint86:
Actually, it'll work with enforcing as well. I'm running “ViPERAudio 5.4 Stock.zip“ from this thread without changing SELinux: http://xdaforums.com/showthread.php?t=2952137

Works like a charm, using SuperSU v2.68 beta though (maybe that's needed, don't know for sure).

Swyped via Tapatalk
[ONE Original Android Development] Tiimpyy:
Hi thanks for this rom. I have an issue: my device have no sim detected. How i can solve it? Thanks
[ONE Original Android Development] h2s4o6:
Pretty awesome for the first releaaw.!

Can't get now on tap to work to work though getting System UI FC.
[ONE Original Android Development] katenaccio:
I have a question ......

My Phone is full f2fs and I think this Rom, as all the other MM roms, is in ext4... So... Can I swipe only system and cache to ext4 to save all my data.... Or shall I revert all to ext4?

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Original Android Development] KewalG:
is the gesture settings icon missing? or is it just me?
[ONE Original Android Development] xddawg:
Same here, and I can't seem to get the gestures working. Anybody else?