yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] Sultanxda:
Your post was almost perfectly timed. I made a new build an hour before your post, but I didn't upload it because of the flashlight bug.

It turns out that turning the flashlight on and off causes the device to not enter deep sleep at all, unless you open a camera app. I'm sure this was the cause of really horrible battery life for some users (no deep sleep throughout the night -> battery life is rekt).

It took 4 hours of debugging, but I've finally fixed the flashlight battery drain, and I'm going to submit a patch for it to CM.

EDIT: For the curious: http://review.cyanogenmod.org/#/c/119302/

It looks like this was a Google bug :mad:
[ONE Original Android Development] singlecell83:
So in regards to the phone rebooting with incoming calls that myself and a couple of others are experiencing. I am fairly certain the reboot only occurs when receiving a call from a private number. Is this something that is heard of before?
[ONE Original Android Development] Evnul000:
can someone please help me?? with the sim card issue plz i need it fixed fast.
[ONE Original Android Development] GXGOW:
Please elaborate. What exactly do you mean with 'the sim card issue'? Doesn't it get recognized? Are you unable to make calls/send texts/enable mobile data?

Sent from my OPO running Sultanxda's CM13
[ONE Original Android Development] Evnul000:
it does not recognize it and i tired dirty flashing both cm13 and sultan with wipe chache.
[ONE Original Android Development] :
flash cm 13 official then flash this ROM clean and use titanium backup after this check if not flash modems from jcap thread
[ONE Original Android Development] GXGOW:
Check the baseband version. If it says 'unknown', try to repeat the process described in the OP. If your issue isn't fixed after that, then I'm afraid I can't help you any further.

Sent from my OPO running Sultanxda's CM13
[ONE Original Android Development] Evnul000:
my baseband says -.1.c1.11-00004-m8974AAAAANAZM-1
[ONE Original Android Development] GXGOW:
Weird, zo that's not the problem. You're sure it's not an issue with the Sim card? Have you tried wiping system and reflashing the CM13 nightly and this ROM?

Sent from my OPO running Sultanxda's CM13
[ONE Original Android Development] Evnul000:
also can i try installing cm13 snapshot from sultan?

---------- Post added at 04:51 PM ---------- Previous post was at 04:48 PM ----------

nope but what if the problem occurs again?
[ONE Original Android Development] Renosh:
You flashed CM13 but you're still on the previous baseband from December. Use latest TWRP 3.0.0-1 recovery and then flash CM13 then Sultan ROM
[ONE Original Android Development] Mr. Kaz:
Guys from the past few days my phone reboots randomly. I don't know what's the problem. Is there any way I can find what is causing this issue?
[ONE Original Android Development] Mr hOaX:
If your phone reboots from CM logo, then there is some problem with the ROM(Probably you should reflash the ROM)

If your phone reboots from OnePlus logo, then there is a problem with the kernel(Switch to stock kernel by reflashing the ROM)

Try this

No. AFAIK, I have only seen them on CM13 nightlies.
[ONE Original Android Development] Evnul000:
alright so i just install it as normally i would like cm13 first and sultan. What if i still dont get my sim detected?

---------- Post added at 05:34 PM ---------- Previous post was at 05:23 PM ----------

It still didn't work!! Please help me with any other suggestions
[ONE Original Android Development] transmetea:
cant get root acces

i flash the rom, i flash the gapps, TB can't get ROOT acces
[ONE Original Android Development] madsponge26:
Developer options > enable root or flash supersu.
[ONE Original Android Development] transmetea:
i've just found an option sais "allow administrative acces" (in spanish)

is that what you mean?

flash superSU? it says "DO NOT FLASH SUPERSU" on the installation instructions...
[ONE Original Android Development] madsponge26:
Settings>about phone>tap the build number 7 times.. Go to developer options then search for root acces must be adb and apps..

If you want

Flash supersu is better.. Just try it...
[ONE Original Android Development] easy_mac:
For me it's the option above "update cyanogen recovery" and below "running services"
[ONE Original Android Development] transmetea:
if i flash SuperSU 2.46 its doesn't boots, it stays on CM logo screen...:confused:
[ONE Original Android Development] Silppa:
Download latest beta.
[ONE Original Android Development] transmetea:
well...now root acces rom included is working

thanks to all:good:
[ONE Original Android Development] mikronac.ns:
I commented those lines and I have no wifi disconnects anymore.
[ONE Original Android Development] Mr. Kaz:
Just now it got switched off. I tried switching it on but goes into boot loop. Sometime it shows OnePlus logo n reboot, sometime it will go till cm boot animation and reboot, once or twice it got switched off while booting. And after 20+ attempts it's finally working normally.

I have noticed that when ever I start Clash of Clans, after few seconds of in game activity this problem happens.
[ONE Original Android Development] sneakerspark:
Turn off zero shutter lag and that algorithm will not work
[ONE Original Android Development] ericthedreamer:
Love the rom , keep up the good work !
[ONE Original Android Development] lowlow2:
I Have this rom for about four to five and this build(the last) is by far the Worst in battery life!! 2.5h SOT. "Cyanogen system" eats battery.

Also there is a massive lag in the browsers if you are scrolling fast. Still love the work of sultan though!! Hoping for a new and better version soon
[ONE Original Android Development] GXGOW:
I've disabled them through Amplify (will probably have the same effect). We'll see what effects it has.

Sent from my OPO running Sultanxda's CM13
[ONE Original Android Development] gil80:
you can disable the module. it's built to the rom. while in call, press the ... button and select record call
[ONE Original Android Development] Mr hOaX:
Check this(#3)

And flash this

Your issue will be solved
[ONE Original Android Development] :
People who like a stock experience instead of the crappy (in comparison) CM apps. In other words, most people.
[ONE Original Android Development] Cissiboy:
Ahahah joke of the day. I'll leave you to your beliefs

Have a good day
[ONE Original Android Development] highdiver_2000:
I didn't know there is a think called stock Gapps. How can it be when they are ripped off some Nexus.

/ot

If any need the link to Gallery fix, it is on my signature.
[ONE Original Android Development] chucktheonewhobutles:
I've experienced WCNSS crashes since I got my OnePlus and the only time I haven't was with Sultan's CM 12 because of the use of the LG G3 Wi-Fi drivers.

[I'm an intelligent guy, but my android development knowledge is limited so bare with me if the following question is nonsense] Is it possible for me to personally make the same adjustment to the CM 13 Wi-Fi drivers in order to save myself from the headache of reboots while also not adding more work for Sultan?
[ONE Original Android Development] Cesaragus:
Hey, you guys that build [MENTION=4800121]Sultanxda[/MENTION] CM on your own... What toolchain do you use and what version is it? I'd like to know.
[ONE Original Android Development] billyjed:
So boo. Much hoo. The sentiment behind the post remains. You are a self-entitled little punk.

---------- Post added at 12:12 AM ---------- Previous post was at 12:12 AM ----------

Using the stock with Jack&jill
[ONE Original Android Development] :
Anybody who exp lag try to change DPI around 420 or 480, at 400 I exp excessive lag and problem still there
[ONE Original Android Development] AbhishekS:
Default DPI is 480 I guess
[ONE Original Android Development] GXGOW:
DPI 400 here. I don't have any issues. The device is smooth as ever.

Sent from my LG-V500 running CM 13
[ONE Original Android Development] ming3r:
I use Uber because I've had some pretty good luck with it. I replace the stock toolchains so I think 4.9?
[ONE Original Android Development] DerRomtester:
As far as i know wie still use the same wcnss and prima drivers ergo nothing has changed so far.
[ONE Original Android Development] PivotMasterNM:
mind sharing the code and the specific Guide?
[ONE Original Android Development] govinda9:
Is there any kernel with kexec support working with this rom? I like this rom very much but it would be nice having ubuntu touch or sailfishos as a secondary rom! They only can be installed as secondary rom on multirom.
[ONE Original Android Development] cheptii:
I have a little bug with the battery sometimes it discharges by -1 sometimes by -2 for example it goes from 95>93>91>89 etcetera, i have Private Kernel r6. CPU underclocked to 1728 and GPU underclocked to 462
[ONE Original Android Development] TonySuperPony:
Fresh build from today, CM changes merged. (Synced at 11 am European Time)

It can be dirty flashed over official sultan.

You can find the download here:

Download ROM

Changelog is here:

Changelog
[ONE Original Android Development] Paoliz:
Battery drain from gmail... Solutions? (Not restored from TB)

And, theme chooser with app themer isn't working anymore... Solutions?[emoji14]Inviato dal mio A0001 utilizzando Tapatalk
[ONE Original Android Development] TonySuperPony:
Am I the only one that has the facebook messenger app crashing after every update?
[ONE Original Android Development] haimn:
see this commit:

http://review.cyanogenmod.org/#/c/101804/
[ONE Original Android Development] Art Vanderlay:
No I get it too. But I've since stopped the facebook and messenger apps. Wiping the apps data did the job though.
[ONE Original Android Development] grusta:
Try CAF Lightning kernel in One Plus Android Development section, and search before posting.
[ONE Original Android Development] madsponge26:
Dirty flashed.. Working no fc's..
[ONE Original Android Development] haimn:
Cm fixed it now: http://review.cyanogenmod.org/#/c/137181/2

I applied this commit in my latest build, I compile it now and I'll check it later.

If it was fixed I'll upload my build.
[ONE Original Android Development] chucktheonewhobutles:
Just to clarify - I came over to CM 13 in December and there have been changes made to the Wi-Fi since (specifically 01-01) - so I'm guessing his CM 12 ROM would give me reboots as well (not his fault, of course). Sultan graciously worked with me for a while the last time he made changes and ended up reverting back to the LG G3 drivers which fixed my random reboots, but I don't want him to have that hassle this time.

I guess I'm wondering, is there a way to flash the old drivers that he had used when things worked for me OR would I have to pull the lines of code and compile it myself OR is this all impossible based on how the OS work?
[ONE Original Android Development] Paoliz:
Guys, best kernel for battery saving? The stock one isn't good for me :(

Inviato dal mio A0001 utilizzando Tapatalk
[ONE Original Android Development] popliuc:
Try private kernel whit smartmax governor and fiops or sio io scheduler
[ONE Original Android Development] gianton:
Private kernel r6 is great!
[ONE Original Android Development] haimn:
Well, it works now.

I'll upload my build now...
[ONE Original Android Development] IFLP:
Is that a bug that I experience?

while I turn the do not disturb mode "silence all" - it mutes all media sounds? I dont remember it was like that on previous builds. All media is muted with alarms and ringtones
[ONE Original Android Development] marco2012:
Is this based on CM 13 snapshot?
[ONE Original Android Development] TonySuperPony:
No
[ONE Original Android Development] marco2012:
ok, thanks
[ONE Original Android Development] buddhay:
contacts import from csv force closes contacts app

hey Sultan,

thanks for your work on this and the previous roms, especially the battery loading part!

unfortunately with your cm13 mod i tried today and some weeks ago, importing contacts from csv reproducably fails because the the contacts app fc's.

do you know about it, or somebody else? can somebody reproduce it or is it just me?

thanks.. bud
[ONE Original Android Development] haimn:
Fresh build from 20/03/2016:

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

With the "Battery Saver Tile Not Showing" fix (http://review.cyanogenmod.org/#/c/137181/2).

All latest CM changes merged.

[MENTION=7337739]lawwd_have_merci[/MENTION] as you asked...
[ONE Original Android Development] crazix:
The hardware home button does not work. I tried different setting. There is no response. [MENTION=4800121]Sultanxda[/MENTION]
[ONE Original Android Development] rhn345:
Not able to dowload the gapps getting this error.

Can anyone help??
[ONE Original Android Development] TonySuperPony:
You have to select arm as platform
[ONE Original Android Development] prstorero:
As TonySuperPony said, choose arm. X86 is for Intel CPU's.
[ONE Original Android Development] rhn345:
Ty guys. Help appreciated!
[ONE Original Android Development] TonySuperPony:
I fear it is a hardware problem. Flash to another rom. The official cos for example. That way you can test if the problem is also happening there..
[ONE Original Android Development] DerRomtester:
Sry that is not possible to flash the WLAN driver only because it is compiled inline with the kernel and not as a module that can be switched. You have to do the changes and than recompile the kernel. I did not check the source code yet so i dont know what exactly has been changed.

Edit: checked the source now and we are currently at this state from the prima (wifi) driver so no changes since july 2015

https://github.com/sultanxda/androi...mmit/defd5a11b610c6f099451dc9848beb66bac651f6
[ONE Original Android Development] shrayek10:
Is there any way to get the Double Tap to Sleep feature on the lockscreen WITHOUT Xposed? I want to live the saint life, but I can't remove Xposed because I need that feature.

It's a shame that there's Double Tap to Wake, but not to Sleep. Help appreciated guys! :)
[ONE Original Android Development] chucktheonewhobutles:
Thank you so much for the help. So does that mean that I could try other kernels (as much as I don't want to) that might have edited WLAN drivers?

I have a feeling that this is the road that takes me down compiling my own kernel....

EDIT: Just saw your edit. Well, crap. Now I have no idea what's causing the WCNSS crashes.

Thank you so much for all that you've done. At this point I might just suck it up and deal with the reboots (I'm one of a very little minority so I don't think it's worth developers' time to deal with it).
[ONE Original Android Development] DerRomtester:
I have no problems with wifi and i think it is the best to use the prima that fits our firmware/configuration. I had no wcnss crashes with this one. Maybe you could help sultan with logs a bit more to track down your issue or you start compiling your own kernel but that is hard without the deeper knowledge of that.
[ONE Original Android Development] ming3r:
https://www.androidfilehost.com/?fid=24459283995301221

Posting into the right thread this time, just three together a built
[ONE Original Android Development] cheptii:
Help please ?

To change the notification ringtones i need to convert the file to .ogg ?

Edit : my phone won't recognize my sim-card, (randomly) i need to remove the sim and put it back then the problem is solved. Any solution please ?

Edit2: The temperature is normal ? (Normal Usage)
[ONE Original Android Development] easy_mac:
Seconded, but interactive governor and bfq scheduler is giving me the best battery life.
[ONE Original Android Development] madsponge26:
No need to convert to ogg. Download zedge you can dowload and choose.

Temperature normal
[ONE Original Android Development] rhn345:
Snapdragon Camera app by Qualcomm

Any link of this app? Wanna downld it.
[ONE Original Android Development] Sultanxda:
Yes, I will be migrating to the stable/cm-13.0-ZNH0E branch soon. I still need to work on some things before releasing anything though (such as the Snap camera app).

Then use a different ROM.

Haven't got around to it yet.

No, it isn't. My algorithm makes the shutter speed 1.5x to 2.0x faster in medium lighting only. It does nothing in good lighting and poor lighting, and it does not have the power to cap exposure times either. The fact that you saw an exposure time of 1/33rd of a second means that you already bypassed my algorithm.

Exposure time is capped to 1/30th of a second using a different mechanism outside of the camera HAL. To bypass the exposure time cap, disable Zero Shutter Lag mode in the included Camera app.
[ONE Original Android Development] Cesaragus:
I tried to calibrate battery in this ROM, and I think is very accurate with the battery levels, but it shuts down at 5% no matter what I do, it is impossible to me to calibrate de battery to say 4%. Is there something I can do to fix it or it is my phone?

BTW, the phone shuts down inmediately when it gets to 5% and says 0%. When it changes from 6% to 5% it transforms instantly into 0% and the phone turns off.
[ONE Original Android Development] kirker187:
Double Tap to Wake is found in the "Display and lights" settings section without xposed.

---------- Post added at 04:38 PM ---------- Previous post was at 04:20 PM ----------

Sounds like you know when to charge your phone.
[ONE Original Android Development] Cesaragus:
I know you are not supposed to let it fully discharge, but I wanted to calibrate the battery. I wasn't home for a long trip and I discovered that the battery wasn't showing the battery percentage very well, so I decided to calibrate it (using different methods to do it), but it doesn't let me calibrate the battery to correctly say the juice left.

I usually charge the battery when I go to bed, 20%-30% battery left, sometimes more, sometimes less. This was just for battery calibration.
[ONE Original Android Development] gil80:
Hi [MENTION=4800121]Sultanxda[/MENTION] and everyone.

Finally a great ROM on my device :D

I have some remarks and questions regarding this ROM and I hope people here can help out :)

Regarding battery performance. I have found that the device is on 300MHz state more time than in Deep Sleep, while the phone is not used. I have verified with Better Battery Stats that 'Google Play Services' is causing many wake ups per minute. On previous Android versions, if you'd go to Settings > Privacy > Privacy Guard I found google play services and denied it access to wake up. I'm not too sure if it's a smart move, but is this something that you find useful on your device as well?

GPS on notification menu. This used to have the option to show all GPS statuses when Long Press GPS icon. This allows to cycle through the GPS modes. Currently, in order to cycle through the modes, one has to go to Settings > GPS and then choose modes. Quite the clicks to get there. Is there a way to edit the notification tiles and their behaviour?

Some may not know, but the ROM has a build it call recorder. The problem with this call recorder is that the user has to remember to start recording, but many fail to remember. The alternative is to use a 3rd party app like Auto Call Record. However, you cannot have more than one call recorder on the phone because they will clash and won't work.

Is there a way to comment out lines in the code in some file to Disable the built-in call recorder? or at the very list, enable the built-in recorder to Auto record?

Is it OK to flash TWRP 3.0.0? Does it affect RESTORE operations?

I had to restore my nandroid backup while I was on TWRP 3.0.0 and tough the restore completed, it didn't restore my accounts and many other settings.

When I flashed CM13 as OP suggested, I was on TWRP 2.8.6.0

Thanks!!!
[ONE Original Android Development] lawwd_have_merci:
[MENTION=4800121]Sultanxda[/MENTION] so 1/5000 of a second as shutter speed isn't your intention?

coz it works very well in direct light condition (as in when source of light is in front of the lens) but bad when lights reflected (coz we see colors as light reflecting off of objects).. so if you can make it let in more light, its a really good thing to have :p

---------- Post added at 10:12 PM ---------- Previous post was at 10:09 PM ----------

i use twrp v3, works fine. used it to back up and restore this rom, worked fine. (but i used v3 to backup as well, don't know if that'll be an issue)

also, i feel like hdr works faster on cm13 official. anyone confirm?
[ONE Original Android Development] critofur:
This is the only 6.0.x ROM I've found for "Bacon" which seems to have switching users working decently! YAY!

I clean flashed the latest version (as of 3/19) and by clean I mean I even wiped Internal Data. I'm having one problem - trying to install Xposed and I get this error:

"Xposed is not (yet) compatible with Android SDK version 23 or your processor architecture (armeabi-v7a).

CANNOT LINK EXECUTABLE: library "libdvm.so" not found..."​
[ONE Original Android Development] Atari-:
When I send messages via Whatsapp when connected with an aux cable and I'm listening to music with Play Music the music stops completely so that the Whatsapp "sent message" sound plays. On stock CM13 it doesn't happen. Can be reproduced easily. If you need more info let me know.
[ONE Original Android Development] SubNoizey:
I smell an update!

edit: Now I think I can see it :eek:
[ONE Original Android Development] shrayek10:
Double tap to sleep...
[ONE Original Android Development] asanuma:
You can use L Launcher to activate double tap to sleep.
[ONE Original Android Development] :
I don't use Xposed, but I can double tap on lockscreen (above clock) and it will lock phone... (Google launcher, if it matters)
[ONE Original Android Development] kornty:
You can double tap the status bar to sleep. Not perfect, but it works.
[ONE Original Android Development] thermostat9:
What are the consequences of the 'Clean flash is required' comment?
[ONE Original Android Development] nga911:
AFIK You can't use the update feature move to this. Databases might've also changed so expect some stuff to get broken if you just update.
[ONE Original Android Development] asanuma:
You can double tap to sleep on everywhere of its display by using L Launcher.
[ONE Original Android Development] Sultanxda:
New build based off of the stable branch uploaded. I spent the day tying all of the loose ends I left in my previous builds (migration to Snap camera, missing battery profiles, etc.), so this build should be much better than the previous ones.

Although I've been testing this build all day long, I haven't tested it outside of home. I'm using the exact same modem and GPS components as official CM, so I'm going to assume that they managed to stabilize these things and hope for the best. Also, it should be obvious that I have not put this build through any kind of automated tests like CTS, as I only have 1 OPO (I'm not willing to let my only phone spend a week running various tests).

Since this build is based off of a different branch compared to the previous builds (stable vs. nightly), a clean flash is required to install this for the first time. Root access is also not included in this build.
[ONE Original Android Development] :
Great! Downloading it now. So does this mean COS13 is even closer? :p
[ONE Original Android Development] sToRm1nG:
Is this the 241 baseband?

*EDIT*

Nevermind, I don't want to bother you. I will check it myself. :)
[ONE Original Android Development] Sultanxda:
Modem firmware isn't included in the ROM. I was referring to the RIL, but most people understand "modem" better than "RIL".

I'm pretty sure Cyanogen will be shipping the 241 baseband with COS13.
[ONE Original Android Development] :
Yeah, i read that. I am a Google+ user and i'm following him...
[ONE Original Android Development] marco2012:
How's battery life in newest stable build? Thanks
[ONE Original Android Development] xlollomanx:
Too early to say that. We need 1-2 days to test it, but it should be great, it's a stable release!

Sent from my Oneplus One
[ONE Original Android Development] gil80:
Anyone has any idea how to help me out? :)