yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] Zalbu:
Alright, I have to make an account now because I'm being hit by a pretty severe bug. My phone goes completely black pretty frequently but still remains fully functional. The sound works, the notification light works, the backlighting works and the power menu works but the UI is completely busted and I have to wipe /data and reinstall the ROM to fix it. Dirty flashing the ROM doesn't help, neither does wiping cache and dalvik cache because that just gets my phone stuck on the "Android is starting" screen.

This is what happens: https://www.youtube.com/watch?v=MGrTQPnrQA0

I'm on Sultans newest stable build, no custom kernels or anything and I'm running TK's micro Gapps but I don't think that's the cause of my problems.

I have no idea if it's a software or hardware problem but it happens to me on both the official CM12.1 nightlies and Sultans build and neither do I know if it's something that Sultan can actually fix but I figured that I might post about it anyways. Is there any way I can save the stuff on my phone without having to do a factory restore if I can access both the recovery and access the phone through USB on my PC? The only thing I have to save are my text messages and those get saved in the nandroid backup but it's getting pretty annoying to have to go through a factory restore so often since I'm getting hit by the bug almost daily now, and I have no idea how to reproduce it.

I probably have to stick with it until Android M is released and see if it keeps happening to me, otherwise I'll probably have to replace my device.
[ONE Original Android Development] hacksome:
Maybe:-

""Prevent accidental wake up" display option causes black screen"
[ONE Original Android Development] lordsinasina:
[MENTION=4800121]Sultanxda[/MENTION] , I got frustrated yesterday and changed my carrier ( also the new one had a special offer ) and now the issue is gone. I also read somewhere else that others were able to fix this by removing all automatically detected APN's and adding a manual one for their own Carrier.

So I won't need the 44s modem now ( maybe others still do ) . and I want to thank you again even for considering this. Having you for oneplus one is like having a VIP premium support plan [emoji1]
[ONE Original Android Development] Zalbu:
Can't hurt to try, but man am I going to beat myself up if the solution is this simple :silly:
[ONE Original Android Development] Matrix1999:
Hi, I am new to the CAF ROMS and have been running CM 12.1 nightly for a long time. I know the thread has clearly labeled for a fresh install. However, given all the apps and data that I have saved on my CM 12.1 nightly, I was wondering is there any way that I can *upgrade* from CM 12.1 nightly to CAF without wiping /system and /data? I tried to upgrade but I get the com.android.phone has stopped error.

Any expert who can shed some lights with me would be much appreciated.
[ONE Original Android Development] nicolahaye:
Have you tried titanium backup ? Works pretty well ;)

Sent from my *Slimmed* Bacon !
[ONE Original Android Development] Sultanxda:
Advanced camera features require support from the proprietary libraries.

So the screen stops functioning completely, and even a reboot doesn't make it turn on again? You *must* wipe data to make it work again?

Too late, I tested the 44S modem again today and managed to get signal in the chemistry lab (which has never happened before with the Lollipop modem). It's goin' iiiiiiinnnnnnnnnnnnnnn!
[ONE Original Android Development] Matrix1999:
Yeah I have had bad luck with TB. I just didn't work for me the way I thought it would. My only reliable backup method is nandroid backup but that is not going to be useful in this case.
[ONE Original Android Development] Zalbu:
Not completely, the screenshot animation goes off if I take a screenshot, the power menu comes up and the backlighting turns on, but wiping the data is the only way I've managed to solve the problem so far. Rebooting doesn't help.
[ONE Original Android Development] Sultanxda:
So the screen is just really dark...? Did you try increasing the brightness?
[ONE Original Android Development] Zalbu:
No, the UI is just not there. The power menu looks like it's supposed to look like and a screenshot I took was just pitch black.

I was out for a run today when the phone shat the bed, I kept running and Runkeeper still tracked the GPS and gave me audio feedback.
[ONE Original Android Development] Sultanxda:
That's quite a bit different from what's happening in the video you linked to. Are you using a theme?
[ONE Original Android Development] neos_83:
A couple weeks ago I updated from the official Cyanogen OS 12.0 to 12.1 and noticed GPS was now taking ages to fix.

So I tried out this ROM and the GPS issue is still there. So I don't believe the issue is specific to this ROM.
[ONE Original Android Development] Zalbu:
Yes, but only the style and status bar elements are applied. I think [MENTION=235819]hacksome[/MENTION] might be onto something because it mostly spazzes out when I unlock the phone.
[ONE Original Android Development] Dukejester:
Must I be rooted in order to flash this rom?
[ONE Original Android Development] tiny4579:
So reportedly the soft reboots were caused by a crash in the notification spam filter, at least one of them. .A possible fix has been merged in the latest nightly. [MENTION=4800121]Sultanxda[/MENTION], id say give it a try. One's in base and the other in settings.
[ONE Original Android Development] D_black84:
having lots of proximity sensor manager wakelocks in latest stable build. Anyone having the same issue?
[ONE Original Android Development] Galactus:
I'd say remove the theme.

Only other time I have encountered this black screen issue is when I have set my lockscreen to none using system profiles
[ONE Original Android Development] Sultanxda:
New build uploaded with a bunch of stuff fixed. I added those notification spam filter commits too, so if we're lucky then the soft reboots might be gone.
[ONE Original Android Development] rahulrai:
Will download & let u know my friend. Good work....

Btw, chemistry lab instructor must be a hottie?
[ONE Original Android Development] Sultanxda:
Sure, if you're into very tall Russian guys :silly:
[ONE Original Android Development] gwindlord:
Could anyone please confirm that the new build can be flashed on top of the previous one without any proximity sensor fixes (as the modem changed to 44S one)?..
[ONE Original Android Development] Sultanxda:
Yes, it can (no way that I'd upload a build with broken sensors). I implemented the 44S modem differently compared to what everyone else has been doing: I extracted the actual modem firmware images from the 44S modem partition, instead of adding the entire 44S modem partition. The modem partition holds many different firmware images not just for the modem, which is why flashing the complete 44S modem partition would break sensors (as well as introduce WiFi issues and a bunch of other issues).
[ONE Original Android Development] gwindlord:
[MENTION=4800121]Sultanxda[/MENTION] no one could doubt you're really cool, thank you :)

Now the only thing I have to deal with is failing because of this and this commits - for some tricky reason it does not compile at my build server, saying that some functions are already defined - and they are; but everyone else builds this without issues >_<...
[ONE Original Android Development] mrapoc:
Just swang by to finally say thanks for the ROM. First ROM I've stuck with as I'm usually a flashaholic. To hear you built the latest touch driver impressed me as I felt the 1+ one has been badly implemented. Big battery use as if it had just been overclocked and overvolted.

What tweaks are people using to get even more battery? I've tried scrapping greenify and amplify in exchange for powernap and tasker. Interested to hear what you guys and gals are doing. Trying to set up a reliable WiFi switcher based on cell location - I do however kill locationmanager and location something or other in play services on boot until I open maps. That's helping!
[ONE Original Android Development] Vivek_Neel:
Are you getting multiple declaration error?
[ONE Original Android Development] gwindlord:
Exactly, for 3 functions in f2fs extras (Hoorray, I'm not alone in this world!). And if second declaration is removed, I'm getting errors with absent functions - it does not take firstly declarated ones.

Is there any way to fix that please?.. :)
[ONE Original Android Development] Sultanxda:
I didn't build the touchscreen driver, only cleaned up half of it and fixed some parts that aren't really related to regular touchscreen usage. The actual software that determines the responsiveness and quality of the touchscreen is the touchscreen firmware, which is closed source (so I can't play with it).

Speaking of battery life, I'd like to warn everyone of the dangers of using adblock apps (such as AdAway) that implement ad blocking via a modified hosts file (the other ad-block methods might have this problem as well; I haven't checked).

There's nothing wrong with AdAway and these adblock apps themselves, but some apps that have advertisements will go insane and loop forever if they can't access their ad services site. I was getting horrible battery life recently, my phone kept overheating, and my CPU usage was always very high. I looked into the logcat and saw this message being spammed thousands of times:

W/GoogleTagManager( 4734): Exception sending hit: HttpHostConnectException
W/GoogleTagManager( 4734): Connection to https://www.googleadservices.com refused

If you value your battery life, stop using ad blockers.
[ONE Original Android Development] Vivek_Neel:
Cherry-pick these and make clean

https://github.com/temasek/android_...mmit/f285a49966dd3a50ed3793dcc246779af29a6090

https://github.com/temasek/android_system_core/commit/180c1d08f5295e09a24f77344464d44f3880553f

Sorry for the off topic [MENTION=4800121]Sultanxda[/MENTION]
[ONE Original Android Development] gwindlord:
Thank you so much! :)

[MENTION=4800121]Sultanxda[/MENTION] sorry for offtopic and thank you for your patience!
[ONE Original Android Development] jkmangang:
Running smooth as usual without any problem..

Thank you SultanXda..
[ONE Original Android Development] CounterC:
How do you add a modem? Flashing in recovery doesn't work. Please guide me...
[ONE Original Android Development] arifqur:
I can't seem to boot this rom or any other CAF rom as primary, gets stuck on the first logo. Boots fine as secondary.

Anyone else having this issue?

Sorry [MENTION=4800121]Sultanxda[/MENTION] for OT
[ONE Original Android Development] redlag:
I clean flashed the 6/9 build over the nightly a couple of days back and the battery life is definitely better. Now getting 5.5 hrs SOT instead of 4.5 hrs.

There is only one problem that is bugging me. I have set the "keep wifi on while sleeping" to "always" but the wifi still gets disconnected after I switch the screen off. Can you look into it?
[ONE Original Android Development] Sultanxda:
Modem comes with my ROM; you can't change it by conventional means.

MultiROM breaks device encryption, so I didn't add it.

Read the changelog closely for the Sep. 10 build (there were changes to WiFi).
[ONE Original Android Development] primo14z:
[MENTION=4800121]Sultanxda[/MENTION]

after the clean flash of the new Rom i have no signal :/

it has happend before, when i tried to flash the 44s modem... if i re-flash COS12 modem , i get the signal back.

Any ideas?
[ONE Original Android Development] joefso:
Same problem here.

Side note: after updating the ROM through OTA, my DPI setting remained the same, it did not revert back to the default.... Interesting
[ONE Original Android Development] mrapoc:
Let me rephrase that :) building from the latest commits for the touchscreen and tweaking gets my thumbs up. Also sensible kernel tweaks (underclocking) and no bs is the way to do it.

Only problem is I hate ads...however lightning+ browser has an adblocker built in. I wonder if this uses a better way to block ad elements. Android adverts are so intrusive. As the developer and mastermind of this ROM and optimisations - in your opinion in say 5 bullet points what would you recommend for extending battery life without massive compromise. I have gone as far as not installing Facebook as it's such a ****ter in battery drain.

Looking forward to marshmallow? Like you il probably run my 1+ until it dies and then check out the new nexus 5 perhaps. 1+2 is underwhelming.
[ONE Original Android Development] Suarezian:
Deleted
[ONE Original Android Development] kaynpayn:
[MENTION=4800121]Sultanxda[/MENTION]

Can you please share with which apps you've verified this searching for ads provider loop behaviour?

I propose doing some list with those when some one identifies one (maybe in some other thread).

I'd rather just not use some app that has crazy behaviour than not use adblock. There's probably an app that can replace the crazy behavioured one too.

Android ads are so intrusive. I don't really mind ads as long as they're well built but for some reason ads on android annoy me so much. You know, that black themed very stylished app with glaring banners taking like 20% of the screen, preferably near some buttons you may accidentally tap, flashing with neon yellow, pink, for some crap I'd never buy. Ergh.

Thanks for finding (and sharing) this piece of advice. :)
[ONE Original Android Development] Shyciii:
Hello Sultanxda! :) Touch-to-focus for camcorder (manual focus) works great. Thank u so much! :)
[ONE Original Android Development] ataruz73:
Currently I'm on 20150817 build which is "unstable". I see you've updated only the stable build lately. Do you plan to stick with it (and so I better flash the stable rom) or it's just a temporary situation?

Thanks anyway for your great job!
[ONE Original Android Development] Cesaragus:
Touch to focus on Snapdragon Camera works perfectly. Thank you [MENTION=4800121]Sultanxda[/MENTION]. It is nice to ask for a feature and have it in the next update.

Does someone have Xposed installed? I tried to use it but it doesn't ask for root permissions and it is not working. I just want to use Root Cloak for some apps, but I can't get it to work.

I flashed and installed from this thread: http://xdaforums.com/xposed/super-alpha-posted-permission-xposed-t3072979
[ONE Original Android Development] evronetwork:
I've been using 12.1-YOG4P-20150906-STABLE-Sultan-bacon seems good and stable, just two issues I've seen:

1) When you take a picture, if you try to see the picture from inside the camera app ...it goes SO SLOW ..it might take up to 5 seconds or more! sometimes it doesn't even load the pictures

2) When you record 120fps video high speed, you can't playback it smoothly tried with build in player but also with mx player(maybe I should try to enable hardware acceleration if it's not on already) - didn't try the video on a computer hope it's smooth and it's a playback issue (sound also comes with glitches)
[ONE Original Android Development] lakyboss:
Flash the stable rom, nightlys have been abandoned.

Don't forget to wipe everything.
[ONE Original Android Development] Tymp:
Hi, I have been using this rom for a week, and it really works great, it finally solved my problem with compass which was driving me nuts. However I have a problem with battery charging time, which is far worse than cm12.1 nightlies. Now it takes 3 hours to get a full charge. Do you know if there's a solution to that? Thanks!
[ONE Original Android Development] redlag:
It is okay for me. Don't use your phone while it's charging. When the screen is on, it charges at half the speed or even less.
[ONE Original Android Development] Tymp:
Thanks for the reply. Yes, I also tried to charge the phone whlithout using it, but still the charging speed is way slower than before...
[ONE Original Android Development] sneakerspark:
Download battery monitor widget and see the charging currents in history. It should be around 1.8 to 1.9 amp.
[ONE Original Android Development] evronetwork:
Apart from my above post, I still hate the charging "issues" when phone is turned off, what issues?

Well check the picture:

1) No charge led

2) Battery is too small (at least it has a percentage, with CM12.1 Nightlies it didn't even have that!! only that small-tiny battery)

Wish charge led would stay lit when phone is turned off and miss the BIG battery-colour animation when I got the phone - running official rom(XNPH22R)
[ONE Original Android Development] faz712:
being able to swap camera flash mode without having to go through the menu would be great
[ONE Original Android Development] Galactus:
[OFFICIAL] Xposed for Lollipop

http://xdaforums.com/attachment.php?attachmentid=3460608&d=1441225315
[ONE Original Android Development] sToRm1nG:
Awesome I will try it on Saturday as I am in military service atm.

I guess the modem firmware you use for your roms would be located in /system/etc/firmware/modem.bXX, right?
[ONE Original Android Development] jkmangang:
I suffer frequent network drops in this September 10 build. I didn't suffer like this in the previous modem.

Or, is it only me who suffers like this?
[ONE Original Android Development] sToRm1nG:
I guess [MENTION=4800121]Sultanxda[/MENTION] had similar issues when he first tried it. Maybe he can give us a hint why it started to work when he tried it the second time.
[ONE Original Android Development] 1ceb0x:
Or disable Ads completely from Google PLAY Services by using MyAndroidTools (or other similar tools) to disable the services, receivers and providers for com.google.android.gms.ads and then use a custom host file or Adaway.

That's how i do it and seems fine, though i need to investigate the logcat to check if i get the same error as you.

09-10 13:00:23.289 D/PowerManagerService( 812): acquireWakeLock: ignoring request from com.google.android.gms
09-10 13:00:23.291 W/ActivityManager( 812): Unable to start service Intent { act=com.google.android.gms.ads.identifier.service.START pkg=com.google.android.gms } U=0: not found

It keeps spamming from time to time but at least it ignores the request rather than trying to resolve the connection and not being able to.
[ONE Original Android Development] pijas82:
i had a strange drain, 10% to 0% in 5 min without 3g, gps, but now, everithing fine, i will report again with more details
[ONE Original Android Development] Killer.shubham:
[MENTION=4800121]Sultanxda[/MENTION] how much exactly is the bus width increased of ISP?

Hoping for good wifi cause in September 6 build I seen some wifi drops and Maxx Audio integration is welcomed, awesome features, great improvement downloading September 10 build
[ONE Original Android Development] 1ceb0x:
465 mhz.
[ONE Original Android Development] Killer.shubham:
That's the clock speed right.?

---------- Post added at 07:11 PM ---------- Previous post was at 07:10 PM ----------

That's the clock speed right?
[ONE Original Android Development] Dukejester:
I always have binary error when installing. What should I do?

I am using Oneplus One COS12.1
[ONE Original Android Development] nkohlimd:
Flash lateste stable build this AM - Thanks so much for your hard work. Seems to have lost my alarm clock and the ability to click on time in the pulldown screen to open it. No luck restoring clock with TB - any suggestion? Thanks
[ONE Original Android Development] Killer.shubham:
Did you flashed latest cm12.1 nightly before flashing this?

If not do it
[ONE Original Android Development] Dukejester:
Yap I did. 0903 build. But nightly also binary error. Did not go thru.

What should I do?
[ONE Original Android Development] astrall:
[MENTION=4800121]Sultanxda[/MENTION]

I'm experiencing a bug, it started when audio jack fixes got merged, wherein everytime I plug my headset (with mic, play/stop and volume buttons, Piston v3 to be specific) while listening to music, Spotify and Google Play Music, there is a certain delay before the sounds get transferred. The sound still plays on the phone's speaker for upto 3 seconds after plugging the headset, then the headset gets detected but the sounds stops. Its lbehaves like the headphone was plug in, then out, and in again, but in fact all I did was plug it in, one time.

I'm sure that my headphone is not faulty as it is working normally when I use Slimsaber CAF and XenonHD CAF roms, and also your stable builds before the "audio jack updates".

I attached a logfile for your reference.

It starts from music playing thru phone's speaker then headphone plug-in then to music automatically stops once headphone gets detected.

As always, thanks for your great work! ?
[ONE Original Android Development] Killer.shubham:
Flash latest oneplus one firmware
[ONE Original Android Development] Dukejester:
I was on latest firmware. Then tried this firmware. Got binary error. Then flash nightly, also binary error. So I ask here.
[ONE Original Android Development] Killer.shubham:
Twrp version?
[ONE Original Android Development] Dukejester:
2.8.7.0
[ONE Original Android Development] sToRm1nG:
I think I may have heard of this before. Try to flash it with TWRP 2.8.6.1.
[ONE Original Android Development] Sultanxda:
I created this delay, and once I explain to you why it is there, you will love it.

Our audio jack is garbage and is very much prone to incorrect detections (ex. plugging in a regular pair of headphones is detected to Android as plugging in a headset). When the audio device is detected as something other that what it really is (ex. headphones detected as headset), very bad things begin to happen. Bad things such as volume immediately going down to 0 and getting stuck at 0 until you unplug the headphones (system registers hundreds of fake volume button presses causing this), volume going to max immediately, and Google voice search getting randomly triggered are all things that can happen when the plug inside the audio jack is detected incorrectly.

So would you rather wait 2 seconds or experience very buggy behavior?

Takes 2 hours for me to charge from 10% to 100% with the original charger and cable :confused:

I don't know of all the apps that do this, but I'm certain that there are more than just Google's apps that cause this. Some of them might not even give a message in logcat, so they could be silently looping forever without us ever knowing.
[ONE Original Android Development] novren:
I understand that snapdragon camera has its perks, but I still like cameranext more, for various reasons among which, its simplicity. Therefore, left swipe from lockscreen brings me to cameranext since the first time I tried to do so and Android asked me which app I preferred, and I can configure Android to open cameranext from other apps when a camera app is needed. But, in settings there's an option to launch camera app with double tap on the home button. This always brings up Snapdragon camera, and it's never asked me for an option. I have tried clearing data, cache, and defaults, for both apps, but to no avail. I cannot disable the camera either. Is there something I can do to set cameranext as the default camera for the home button double-tap?
[ONE Original Android Development] Dukejester:
But I downloaded from twrp website. And I can flash the stock ROM with it.
[ONE Original Android Development] ljstreak:
I m looking for this ROM, before experiencing it I would to like clear following doubts ( with due respect)

1. will it have double tap to wake, double tap to sleep option

2.customize option for hardware keys (back,menu etc)

Please kindly let me know about it
[ONE Original Android Development] sneakerspark:
1. Yes

2. Yes
[ONE Original Android Development] astrall:
Fair enough. Thanks for the clarification. :D

Sounds related topic, is it possible for you to implement the MaxxAudio audiofx from the COS12.1 instead of the stock AudioFX? Using the MaxxAudio from the Themes and Apps section gives me a buzzing sound everytime I skip a music. Maybe you can implement it better when it comes built-in in the rom.

As always, thanks!
[ONE Original Android Development] takkischitt:
Just to clarify; it is OK to skip a stable update? e.g. I installed the stable build, but didn't update using the last stable release, so I will be skipping the previous build.