yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] Sultanxda:
I was using completely stock battery drivers until people started complaining and blamed my kernel. So I rewrote the battery driver to rely 100% on the battery readings pulled *directly from the fuel gauge chip*. If I decide to ignore the readings provided by the fuel gauge chip in the battery driver (so that Android will not see 0% even when the fuel gauge reports 0%), then I could damage your battery, and your phone still might die even when the battery isn't 0% due to insufficient voltage output needed to operate the phone.

So if you want to think it's an issue with the battery driver, then what exactly do you expect me to do? Completely stock COS is affected by this issue too, as seen on JIRA. If you want me to implement a solution that won't interfere with users who are unaffected by this, while fixing the issue for users who are affected, then tell me how to do it and I'll write the code for it.

Also, I read through the datasheet for our fuel gauge chip, and there is no available command to force a recalibration when the chip is sealed. To be specific, this isn't an issue with the fuel gauge hardware, but with its firmware.
[ONE Original Android Development] zBear:
I tried latest 12.1 nightlies 2-3 month ago, no problem there

but this ROM is so much better that I decided to ignore this issue

anyway my phone is almost 2 years old and I am planing to change it in autumn so it's not that much time remains to suffer :)
[ONE Original Android Development] erorcun:
Bq27531-g1 performs reset on sealed mode, even datasheet says it's only for unsealed mode. Also our driver has enable/disable it subcmds, which doesn't match with datasheet. Calibration may be impossible but maybe you can try reset.
[ONE Original Android Development] Sultanxda:
The bq27531-g1 and bq27541 datasheets both say that the reset command is available only when the chip is unsealed. TI wrote these drivers for OEMs, not consumers, which is probably why there's code to control a bunch of things that we likely can't touch.

Also, I'm not brave enough to try sending a reset command on my device. :silly:
[ONE Original Android Development] Velkn:
I have perfect battery life ( 7H SOT ) and butter smooth performance , definitely the new driver is not the problem .
[ONE Original Android Development] alvin612:
http://xdaforums.com/showthread.php?t=3034811
[ONE Original Android Development] Holymartyr:
Both on-screen and standby time are amazing for me. Battery is accurate all the way to 0%. No problems with calibration here.
[ONE Original Android Development] Formhault:
Doing WHAT?!?! :EEK: :EEK: :EEK:
[ONE Original Android Development] abhibnl:
Well if it is of any help guys, i'm using slimsaber 5.1.1 with sultan caf kernel n device tree, and i'm too facing this issue. This started after Jan 16 for me, so can't say if it's a bug in MM as i'm also experiencing the same in LP now. For me the phone switches off even at 50% sometimes of more than 50%, so it has gone completely unreliable. Hope the situation will improve someday. First i thought it was the battery, but after going through this conversation, i guess battery is not at the fault here.

Sent from OnePlus One
[ONE Original Android Development] TiagoDM:
Phone calls issues

Hi, on my latest build (latest build and about 5 builds from this one) I've been experiencing issues when I put the calls on loudspeaker (I talk when on driving often):

- Since some builds from this, when i put to loudspeaker, who I'm calling doesn't ear very well (low mic volume?), I have to turn to ear speaker again

- If i turn loudspeaker to normal ear speaker again, the person I'm talking with, looses my mic, doesn't ear me anymore and i have to terminate the call and call again

Is there any "hack" i could use to get higher mic volume on loudspeaker? On a few versions before, I hadn't got any trouble regarding louspeaker calls.

Please improve this issue on future versions. All the other functionality works well.

Thanks,

Tiago
[ONE Original Android Development] Holymartyr:
So I've now had this happen 3 times, and only extremely intermittently - but occasionally when I get an incoming call, I swipe to answer - and instead of answering, nothing happens. The swipe icon goes back to the center. I try to answer again, doesn't work. I try to swipe to cancel to call, doesn't work.

There's no consistency or rhyme/reason for it happening. I've had it happen with the screen on while doing things, and screen off in my pocket.
[ONE Original Android Development] crazydude10:
One of my friend was having the exact same issue on COS, so I guess this is a cm bug...
[ONE Original Android Development] Velkn:
well , the usual stuff web browsing , social media ,facebook and whatsapp , I work as a web dev , so most of my day is under wifi testing interfaces and debugging apps.
​

All i done, is disable all wakelocks included the google play services and a few services from google play.
[ONE Original Android Development] parvesh:
hi [MENTION=4800121]Sultanxda[/MENTION], a small request sir can you please add back "Prevent Accidental wake" and "noise cancellation" as you have done in your CM13 :)
[ONE Original Android Development] Formhault:
You followed the 0% drain thread?
[ONE Original Android Development] Velkn:
No , just disabled all wakelocks ,in all night the battery drain is 1% ,sometimes 2% no more.

Sent From My One Plus One
[ONE Original Android Development] Formhault:
How did you disabled them?

Also, has this affected your push notifications (WhatsApp and such)?
[ONE Original Android Development] Velkn:
With the privacy manager in settings ,I disable the wake up and keep awake from all the apps except whts app ,because it breaks whts up web , but for the rest all are working perfectly , emails , push notifications from Facebook and messenger are working , and also disable some analytic services for Google Play Services .

Sent From My One Plus One
[ONE Original Android Development] Formhault:
I've disabled "Keep Awake" for Google Play Services on my Nexus 6 (App Ops, Marshmallow). I'll do that for all other apps, if you say that doesn't break anything.

This also doesn't interfere with the device's ability to minimize an app for later use?

PS: Calendar had Keep awake one... last used 44 mins ago. Tip : I haven't fired up that app in a few days :confused:
[ONE Original Android Development] ReWoP1:
Yes [MENTION=4800121]Sultanxda[/MENTION] i remember that update and that it, a least on my case, help a lot and went from unexpected shutdown with 30+% of charge to always below 15%! An also after doing the "trickle charging trick" i reported before.

I also saw those reports on other ROMs, also stock ROMs. I'm not implying that is some sort of a situation cause by you, i use your ROM because i like it and awesome and never tried other ROM after this issue because, frankly, i don't see any other ROM better than yours ;)

Yes i agree with you, seams something wrong with the firmware. My theory is, accordingly with the OPO Charging Current app, the POWER_SUPPLY_VOLTAGE_MAX_DESIGN is 4350000, but on my phone POWER_SUPPLY_VOLTAGE_NOW does not go above 4250000 (have to confirm the exact value). Although it reports POWER_SUPPLY_CAPACITY=100 (100% charge) at this lower voltage, should this ~0.2 volt be the difference between shutting down at 10% (my usually shutdown percentage now) instead of 0% (thus activating the battery circuitry under voltage protection)? Also, could it be the reason that my "trickle charging trick" seams to be minimizing this issue by forcing to charge the battery to a higher voltage?

I understand your point of view, yes you cannot produce a solution that would affect the ones that don't suffer by this issue. Maybe could be that some of us have a diferente firmware version on the fuel gauge hardware and some have this bug, don't know...

I don't have much of free time on my hands but ill try to actively participate on the solution for this problem, i'm a software engineer and a electronics hobbies and any information that i gather ill post here.

I should add that the first time i had the battery issue was after a unusual long duration with one charge. With few usage, my phone would usually last 2 days but on first day i had a sudden shutdown, I was on middle of the 3rd day with about 30% reported charge left. After that it was a bit recurrent, some times closer to 0% others further away.
[ONE Original Android Development] Velkn:
Experiment with that ,e.g disable Both keep awake and wakeup in Facebook and see if you get any notifications , maybe in Marshmallow ,the native privacy manager works different ,I only tested in lollipop [emoji16]

Sent From My One Plus One
[ONE Original Android Development] TiagoDM:
and is your friend using oneplus one (v1) as well?

thank you
[ONE Original Android Development] math.Nur:
hello everyone, i have a bug, trebuchet unfortunately stopped when apply icon pack, how to fix this problem?please help

clean install latest build 04102016
[ONE Original Android Development] crazydude10:
Yes of course, the original OPO.
[ONE Original Android Development] TiagoDM:
In past versions of this Sultanxda excellent ROM, i've never experienced these issues before... I cant use loudspeaker if it can't work well... anybody knows any app that helps boosting the mic? I've tried a few, but never worked as in past versions of this ROM... i'v been googling and apparently editiong the mixer_???.xml on /system/??? is the way to go, but I really don't want to mess up with those values, I would prefer an advice from someone knowing what they do.... if someone knows something about this issues, plz post.

Thank you in advance,

Tiago
[ONE Original Android Development] Fabien77:
Hi all,

I like this rom, real smooth.

I have changed the audio driver for MaxxAudio which is Much better.

Two major pb however :

- wifi disconnects often (actually everytime I play at Clash of Clans)

- awfull battery life. Discharge 2X faster than with kitkat.

I have searched solutions but haven't found anything.

If anyone could help it would be highly appreciated :)
[ONE Original Android Development] merothh:
How did you change the audio driver to maxxaudio ?
[ONE Original Android Development] Fabien77:
Hi,

Check This :

http://xdaforums.com/oneplus-one/themes-apps/app-05q-maxxaudio-lib-t3026967

I installed the last one --> "With removal of old version MaxxAudioFX and survive OTA updates version". First I desactivated the one that came with the ROM and did a swipe with twrp.

With HD tracks and good hearphones you will head a REAL difference. You may already know it but i precise that not all app work with maxxaudio. Personaly i use Shuttle.

Tell me how you worked this out.

:cowboy:
[ONE Original Android Development] miesfu:
just tried and works well. Shuttle is also good
[ONE Original Android Development] merothh:
aww.. THANK YOU fro the sweet description. Right now I'm on cos-13 and I don't need the zip..When I move out I'll tell you.

I once flashed it from the new thread (which was linked inside the thread you linked up) and there was a lot of distortion..

So I'll try this when I can and report back :)
[ONE Original Android Development] Kaffee3931:
So guys, what's your excuse to use 12.1, rather than 13? Just curious. :)
[ONE Original Android Development] ejacsve:
It works so extremely well that I'm a bit hesitant to change :)
[ONE Original Android Development] zBear:
because we don't see a significant reason to do so

may be you can name some major 13.0 advantages?
[ONE Original Android Development] Fabien77:
Sadely you are right. I didn't notice it untill yesterday night (I installed the ROM a few dans ago).

This wasn't the case when I was on KitKat. The sound was then perpect, even at high volume.

Another pb : MaxxAudio doesn't work with most of my FLAC files. It happened sometimes with KitKat.

Well the sound quality is not that great. I will try other versions of MaxxAudio and may revert to KitKat if I don't find what I am looking for.

I also use sometimes a Fiio that I plug via the USB port of the o+o (with HF player). But still MaxxAudio was really convenient.

Have fun! :cool:
[ONE Original Android Development] merothh:
ugh , dammit looks like I was right after all.
[ONE Original Android Development] miesfu:
I've tried many 13 ROMs, including Sultan's, SAOSP, CM, and others... Finally I get back to 12.1, as I want a stable ROM with enough feautures, battery friendly, which I can use for quite long time, not flashing weekly...

12.1 is enough for my needs

P.S, my ROM is CAF Euphoria, with Sultan's latest Kernel. I mannually update to Sultan's latest kernel when new version comes
[ONE Original Android Development] ble1:
So I'm running sultan ROM 12.1 on one plus one. I cannot run nice talk tutor app in that it opens but the camera doesn't not respond/record. I've also had someone check it out on the sultan 13 and same problem. I think it is sadly the custom camera firmware. I've downloaded the app onto a Samsung galaxy s4 and works perfect.

Whether it can be rectified or not, thank you for your work with the ROM. It's given immense life to the phone. Truly appreciated.
[ONE Original Android Development] manitaggarwal:
V4a with sultanxda

I am unable to use V4a with this ROM, as evertime I try to install v4a drivers it says broken busybox installation, i have tried insralling busybox from play store, over 3 types nothing works, should something else be enable which I am not seeing or doing. Please help.
[ONE Original Android Development] BTslo:
Try this, it changes the SElinux policy for v4a. Maybe this is your problem

http://xdaforums.com/optimus-g-pro/general/fix-run-viper4android-selinux-enforced-t3210819
[ONE Original Android Development] manitaggarwal:
My Selinux is set to Permissive.

I don't think that is the issue, busybox is a problem, i am even unable to install v4a drivers. I can not flash that file also because it's not for oneplus one.

Edit: I was able to edit script and flash that file still v4a giving same error, broken busybox
[ONE Original Android Development] sounreal:
I have been having the same problem for months also.
[ONE Original Android Development] TiagoDM:
As I use this functionality very very often, I would really need a solution to this issue.... any trick to make it work properly?
[ONE Original Android Development] Lidor167:
Getting occasional over-night battery drain by android os and Android System.. Why?
[ONE Original Android Development] Formhault:
My girlfriend's phone started acting up lately, really really weird. Yesterday it shut down when it was at 30%. Today... After a reboot, the battery level dropped significantly.

Have a look at the screenshots :/ You can see the voltage in the second screenshot.

I should say that this wasn't happening until 3 days ago. 4 days ago it stood at 100% for about 8 hours, with constant usage (10m SOT every hour or so). After a reboot, it started dropping... 99%,98%...

Now I just put it to charge, and it jumped from 19% to 44% in less than 5 minutes.

Is the battery dying? I remember I saw a discussion here about battery issues, but now when I go back a few pages I can't find the posts anymore...
[ONE Original Android Development] Siljorfag:
It looks like Your battery is passing away. Maybe think about selling phone, or replace battery. :d
[ONE Original Android Development] Formhault:
I've seen posts around this thread where people have had this issue (even happening at 50%), and replacing the battery didn't fix it :eek:

So... that's worrying.
[ONE Original Android Development] jkmangang:
In my experience, CM theme engine has some serious problem.

I used to have that problem sometimes while I was using themes like coalfield..

After that, I've not used any theme again..and I have not met that problem again.

As far as I know in my experience, it was a theme engine issue.
[ONE Original Android Development] razerguy71:
anyone using adaway here? after last update, my root gone, i rooted again, and enabled adaway again, but it seems that adaway doesnt work anymore, anyone the same?
[ONE Original Android Development] paiktaras:
I use the adaway and everything work fine, apk and root

Sent from my 1+1
[ONE Original Android Development] chayjinn:
any new build for this rom? thanks :)
[ONE Original Android Development] Siljorfag:
I think this rom is going to be dead, few fixes and it will be discontinued. There is COS13 and Sultan's CM13, so 12.1 is a litle bit outdated now.
[ONE Original Android Development] Sultanxda:
You're probably right. CM hasn't applied any of the new May security updates to the CM12.1 branch, so it looks like they've abandoned it.
[ONE Original Android Development] gwindlord:
Even Google did not perform any May update for 5.1.1, only for 6.0.1. Looks like we have sad news there.
[ONE Original Android Development] Formhault:
My girlfriend's using the same theme for a few months now... could it have started to cause problems all the sudden?

I use CMTE on my phone (Nexus 6) as well, but no theme caused the phone to die when battery reached ~30%...
[ONE Original Android Development] paiktaras:
Sultan, its time to go to the 6 version? Will stop support the 5 version?

Sent from my 1+1
[ONE Original Android Development] kenboyles72:
Might be right, but would pretty stupid of CM to do so, as there are to many devices that run cm12. Wouldn't be much of an issue to just keep security patches up to date.
[ONE Original Android Development] Formhault:
So... No one else has had a similar experience?
[ONE Original Android Development] donk165:
Hi there,

So I am moving back from CM13 to CM12.1 because I am getting lots of signal issues. I am going to do the usual wipe system, data and cache, then flash cm12.1 snapshot, then this ROM, then mini Gapps. I saw in the change logs that F2FS is now supported by the kernel. Which partitions can I convert to F2FS? Cache and Data right?

Thanks!
[ONE Original Android Development] JJohnson1988:
Yes. /data and /cache only.
[ONE Original Android Development] donk165:
Well that didn't go to plan, I took a backup of user apps with Titanium Backup, then copied the ROM files to the phone and booted into TWRP, I did a Nandroid Backup and then wiped System, Data, Cache and Dalvik/Art Cache, then I converted the Cache and Data partitions to F2FS and then when I went to flash the ROM, the SD card/internal storage was coming up empty! So I had no way of putting anything onto the storage so I've had to fastboot the stock image back on and I've lost everything :| I should have copied the stuff off my internal storage but I've never had any issues with the internal storage getting wiped during ROM installs so I assumed it would be fine. I don't understand what went wrong? Did the data file system convert wipe all of my internal storage? I thought they were separate?
[ONE Original Android Development] JJohnson1988:
Wiping and changing the partition type on /data wipes user storage as well. Normally when you wipe /data it will keep /data/media intact but not when you change the partition. Unfortunately TWRP doesn't make this quite so clear.

So yes, unfortunately all your personal files were wiped. I feel bad for not mentioning this.
[ONE Original Android Development] donk165:
Don't feel bad, its my own fault for not doing enough research into it :P. I'm back on this ROM now, and my signal issues are gone as far as I can tell so my main issue is solved. Next time I'll be more careful !
[ONE Original Android Development] Dogi-:
Camera Issue

Hey there,

i have some issues with my camera. I can't switch to SlowMo or HighFrame Rate and can't set VideoHDR off.

Running latest version 5.x

Thanks
[ONE Original Android Development] donk165:
Try turning off Zero Shutter Lag option then I think it will work.
[ONE Original Android Development] Dogi-:
Well it had to do probably something with the HDR, it solved itself.

Thanks!
[ONE Original Android Development] Shardul20:
Notification drawer

I'm running the 30th April build of cm13. I'm having trouble with my notification drawer. Quick pulldown doesn't work. When I pull down once, I see time, date, battery indication and network and says "no notification" even though I have notifications. When I try to pull down once more, it just doesn't let me. So I can't access the quick settings panel.

Apart from this, I'm absolutely in love with the ROM. Keep up the great work.

Cheers
[ONE Original Android Development] merothh:
I believe it's a problem with the gapps. Try updating to the latest build and clean flash.(and ping me if still doesn't work.)
[ONE Original Android Development] Bieniu:
Please delete this post.
[ONE Original Android Development] cbendan:
I think this thread is about 12.1.
[ONE Original Android Development] Shardul20:
Flashed the 13th may build of open gapps. Status bar problem still persists.
[ONE Original Android Development] Myfirstway:
So, is it possible to dirty flash CM13 Sultan atop the CM12.1 Sultan version?

According to http://www.cyanogenmod.org/blog/a-marshmallowy-cm it is possible with official CM, but has somebody tried it yet with Sultans version?
[ONE Original Android Development] cbendan:
You should post in this thread:

http://xdaforums.com/oneplus-one/orig-development/rom-kernel-unofficial-cyanogenmod-13-0-t3242700

or in this one:

http://xdaforums.com/android/software/pa-gapps-continuation-t3098071
[ONE Original Android Development] Abandoned-Isotope:
Problems with flash in camera app, flash mode is grayed out. (I flashed the ROM over stock after wipe data and system with TWRP 2.8.6.1 as 2.8.6.0 refused to start)
[ONE Original Android Development] donk165:
Did you wipe the caches too? maybe thats causing the issue?
[ONE Original Android Development] MakinG2xLovin:
Oops wrong thread lol
[ONE Original Android Development] Abandoned-Isotope:
Hmm I don't see how that would influence system or hardware behaviour, anyone else thinks this might help ?
[ONE Original Android Development] kostin:
I write through the Google translator. I recently, for no apparent reason began to eat the phone battery. During the night it took about 40%. As soon as I did, I remove applications, freeze them.

But why help something completely different, just decided to do. This solution is generally from the sixth android.

/ System / etc / wifi> file WCNSS_qcom_cfg.ini> change McastBcastFilter = 3 option on McastBcastFilter = 0
[ONE Original Android Development] Formhault:
It's okay, Google Translate connects people :silly:

I changed that value from 3 to 0... see if it helps further. Thank you for your suggestion.

But weirdly enough, the battery has been fine for the past 3 days. Without me doing anything to it. It even reached 12% and still no sudden death... :confused:
[ONE Original Android Development] miesfu:
I Change the themchooser.app and themesprovider.app, now no theme issue, works well
[ONE Original Android Development] Formhault:
Are you saying that you too have had your battery die at 30~40%, and it was due to the theme app?!
[ONE Original Android Development] paiktaras:
Ι have last build sultan Apr.10.2016

how flashing your build ? must make first factory reset ? or flashing without wipe via twrp 2.8.6.0 ?
[ONE Original Android Development] hammer-is:
You should be able to dirty flash (without wipe) my build over Apr.10.2016 without any issues, however a backup is always recommended :o
[ONE Original Android Development] miesfu:
just flashed, still themeprovider.app fc
[ONE Original Android Development] donk165:
Well if you came from stock, the camera is different so there may be old cache data from the old ROM causing a conflict. Wiping the caches doesn't cause any harm, they are rebuilt once you reboot the phone. You should wipe the caches when changing ROMs anyway as it could cause other issues.

There is no harm in trying it?
[ONE Original Android Development] cbendan:
Unable to initialitize this ROM. "Unfortunately, Setup Wizard has stopped". I've tried with last two versions of Open Gapps and with the old last version of TK Gapps. Clean flashed like I always do.
[ONE Original Android Development] miesfu:
Just feedback that I did dirty flash, goes well
[ONE Original Android Development] move_some:
+1

No problems here.