yashsingh1/xdaforums huggingface dataset:
[ONE General] karangupta:
Go to advanced AppOps(Privacy-Privacy Guard- advanced) settings and slide to the root access tab, see what app is using it and then open that app and kill it by long pressing the back button (can be enabled from developer options).

---------- Post added at 11:33 PM ---------- Previous post was at 10:49 PM ----------

Can anybody confirm is xposed can be flashed while ROM upgrade? Installing exposed after first boot clears the cache and it takes a lot of time to optimize. So I was thinking if I can flash it along the rom?
[ONE General] rloup:
[/COLOR]Can anybody confirm is xposed can be flashed while ROM upgrade? Installing exposed after first boot clears the cache and it takes a lot of time to optimize. So I was thinking if I can flash it along the rom?[/QUOTE]

It works for me.
[ONE General] fmc000:
On the Italian OnePlus forum a couple of users say that the latest nightlies don't go to deep sleep with stock kernel. Can anyone confirm this?
[ONE General] :
Sleeping like a baby with latest nightly
[ONE General] fmc000:
Good to hear. Just for the record: I'm on 0725 and I'm performing a test with OK Google deactivated and mobile data disabled: after 2 days and 16 hours I have still 17% of juice with my normal usage pattern (normally my phone lasts a little less than 2 days).
[ONE General] infatality:
Anyone have android os high usage?
[ONE General] tiny4579:
Mobile data off even when out and about? I know that's just a test but how inconvenient.

I'm pretty sure the mobile data is the bigger cause of the drain between that and OK Google. Maybe I could disable OK Google. I don't need it that much.
[ONE General] digitalpig82:
Confirmed for the 2907 build. I did a clean flash and lost 30 per cent of battery over night. I did no further investigation though.

I flashed 2507 build over it and battery life is quite impressive so far.
[ONE General] JamesRC:
Yep, still plagued by this drain normally 15-25% drain in android system.
[ONE General] prinz3nroll3:
mhh random reboot still exist with stock kernel... im on 25-06-2015 :(
[ONE General] novren:
You are slightly, just slightly, outdated, I doubt that's got anything to do with the reboots. Just don't flash a recent nightly, that surely won't fix it. Trust me I work at Google.
[ONE General] Delijohn:
Last night, i went to bed but before, i closed my device. Full shutdown. Today, in the morning, i woke up and i opened my device. I have a CM12.1 Nightlies, so the screen lit up and i saw the "blue head" indicating that the phone was loading... after some moments, the screen made a move like showing that it was updating my apps and then... something like a restart, the screen went again on the "blue head" of cyanogen, and it was loading all over again... it was an infinite bootloop... i did nothing on my phone and i was totally ok with it, since 15 of june. What can i do now? It's been 18 hours and my phone doesn't boot...

I tried to go on TWRP and install the latest cyanogen (cm-12.1-20150731-NIGHTLY-bacon.zip) and the latest gapps... but nothing happened.. of course i wiped dalvik/normal cache... nothing is going ok... again the bootloop is no screen.... What should i do??? I flashed many mobiles in the past, but i now feel a total noob. Can anybody help?

Thanks for your time!! :)
[ONE General] anmar21:
Wipe system, cache, and dalvik. Then flash Rom and after gapps (be careful to not wipe data or you will loose everything).

What's your recovery version?
[ONE General] Delijohn:
Thanks for your answer!!

Already did this... twice! The second time i installed first another kernel (boeffla??) and nothing happened...

TWRP version is 2.8.5.1 :(
[ONE General] Emblema:
Have you tried with a different Rom?

Sent from NCC A0001
[ONE General] giaur:
So, unfortunately you need also wipe data. You will lost everything that you had installed (but not pictures, music etc)
[ONE General] James1o1o:
I honestly hope Cyanogen fix the video playback bug in time for COS12.1 release.

https://jira.cyanogenmod.org/browse/BACON-3397

The bug has existed since April now, it really needs a fix.
[ONE General] crisis_trustee:
Where is cm-12.1-20150801-NIGHTLY-bacon.zip?
[ONE General] :
Building failed, you've to look for unofficial builds today ...
[ONE General] anmar21:
Latest version of TWRP is 2.8.7.0
[ONE General] tiny4579:
This supposedly will fix it. I can't guarantee they'll merge it though:

http://review.cyanogenmod.org/#/c/104954/
[ONE General] Renosh:
Doesn't flash firmware better to stick with TWRP 2.8.6.0, it doesn't have that issue. Newer isn't always better
[ONE General] James1o1o:
Isn't this considered a dirty fix since it's more a workaround than an actual "fix"?

Either way, it is currently set to "Rebase if Necessary", no idea what that means however.
[ONE General] tiny4579:
I don't think so. Not if the framework doesn't support it. Sounds like that feature should be turned off then or add support to the framework.
[ONE General] James1o1o:
They merged it for one of the Nexus devices which I am assuming had the same problem.

http://review.cyanogenmod.org/#/q/Ie76ad78d2e754a78e2bfedcb803932112d16207f,n,z

I do wonder what is actually causing the issue, obviously the framework but which specific part of it, and do Cyanogen plan to fix it or not.
[ONE General] tiny4579:
It may be fixed with the latest merges. Any specific video the bug was noticeable on?
[ONE General] James1o1o:
Yup just been following those merges. An absolute ton of framework fixes. As for video, it was any video that used nuplayer. So in chrome and in any apps like IMDB and I believe the South Park app. MX Player suffered same issues in hardware mode I believe, only way to fix was to run it in software.
[ONE General] TheNerd:
this commit made me smile: http://review.cyanogenmod.org/#/c/104963/

☺
[ONE General] AbhishekS:
I am on KitKat. How do I come to 12.1 nightlies? Do I need to install any particular firmware or radio before that?

---------- Post added at 02:05 PM ---------- Previous post was at 01:40 PM ----------

Can anyone download the 25th July nightly? Download not found is what CM's website says. And going from the recent posts, that seems to be the most stable nightly.
[ONE General] yot2703:
Having proximity issues on my CM 12.1 on my OPO...

Triend to flash 44S Modem doesn't work...

Had 4.4.4 everything worked perfectly.

Have bug on Oxygen OS and on CM12S / CM12.1

The problem is when i'm having call the screen is total black and cannot turn it on.

When i downloaded CPU-Z, I saw on the sensors that TMG-3993 IR_Gesture & Proximity has no value at all or it says always 0.0 cm.

And the Ambient lux is kinda working, sometimes show 0 but most of the time works...

What should i do? :(

I'll mention it again. On CM11 S 4.4.4 everything worked just fine .
[ONE General] fmc000:
downgrade TWRP to 2.8.6.x and then flash CM12.1 again.
[ONE General] renaltosonylevi:
Your modem/baseband handles obviously communications but also GPS, compass, gyro and proximity.

Some people flash the 44s modem because it apparently will provide better reception, but it is only designed for KitKat. Hence all your sensor issues.

If you want everything to work on lollipop you need the 230 or 241 baseband.
[ONE General] yot2703:
Where can i get those base bands..,?
[ONE General] Renosh:
Which version of twrp are you using?
[ONE General] renaltosonylevi:
Luckily for you they are included in the ROM zip just use twrp 2.8.6.0 because twrp 2.8.7.0 fails to flash the baseband's.
[ONE General] yot2703:
2.8.7.0 TWRP

---------- Post added at 01:34 PM ---------- Previous post was at 01:28 PM ----------

And flash the 44S?
[ONE General] tiny4579:
No flash the nightly after downgrading to TWRP 2.8.6.0.
[ONE General] yot2703:
After i flashed the latest nightly it has the same problem. (Even on the 2.8.6.0)

When i flash the 44S the proximity works now , but the Gyroscope,gravity,magnetic sensor and accelerometer and temperature sensor doesn't work....
[ONE General] ghismo83:
My opo with cn 12.1 charging only when i put it off. When is on the icon battery show charging but the percentage won't increse. Any suggestion?
[ONE General] tiny4579:
If you're not using the stock charger it may not be getting enough current to exceed whatever idle drain you have. I've noticed that on this device with some USB cables that they don't pull enough of a current.
[ONE General] ghismo83:
Im using stock charger and chord :(
[ONE General] tiny4579:
Check your baseband in settings - about phone. It should have 230 or 241 in it for proximity to work. It should be 241 if it is updated with the nightly.
[ONE General] yot2703:
Here is picture of my baseband...

How you see the bug is still exists..
[ONE General] infatality:
Something wrong on your end.. No issues here.. Clean flash and try again.
[ONE General] yot2703:
What do you mean clean flash

---------- Post added at 04:54 PM ---------- Previous post was at 04:34 PM ----------

Can you give me instructions what to do?
[ONE General] AbedFa:
Do I need to install all these gapps or do I get to pick whichever I want?
[ONE General] infatality:
Reboot to twrp, Wipe system, data, cache and flash cm12.1 and Gapps.
[ONE General] yot2703:
Is wiping system contains wipe data? I don't have pc right now
[ONE General] tiny4579:
Nope it doesn't include wiping data. And wipe data if you just choose the factory reset option in twrp won't wipe your sdcard and also wipes cache an dalvik. And cache wipe is pointless on this phone anyway. Nothing is stored there anymore.

Be sure not to choose format data as that will wipe your sdcard.
[ONE General] drikkk:
Is there still a big difference in battery-life on cm12.1 vs cm11s?

Couldn´t get a full day when I tried it so I reverted back to cm11s.....

Thank you
[ONE General] tiny4579:
What do you think?
[ONE General] drikkk:
I'm sorry but since I'm a noob I don't get your picture. What rom are you running? Have you compared them?

Thank you

Skickat från min A0001 via Tapatalk
[ONE General] tiny4579:
I was hoping you'd see my screenshot and judge battery life based on that. Its best for one to make their own opinion on battery since usage varies. I'm running stock cm12.1 nightlies no fancy battery saving tweaks or custom kernels.

A lot of the awake time which isn't seen in the screenshot is due to audio playback.
[ONE General] drikkk:
Very good, thank you.

Skickat från min A0001 via Tapatalk
[ONE General] Ok_Kaleidoscope5109:
You can use 2.8.7.0 as well. Just make sure you flash the baseband separately using fastboot.
[ONE General] whitebait:
I've got 2.8.7.0 and have the baseband version in the screenshots above, containing 241, ending in AZM-1. Should I downgrade to 2.8.6.0 until they sort out whatever the issue is?
[ONE General] tiny4579:
You have the right baseband for cm12.1.
[ONE General] whitebait:
Ah good, thanks for confirming that! Is that because I flashed 12.1 with 2.8.6.0 at some point before I updated to 2.8.7.0 and the baseband hasn't changed since?
[ONE General] yot2703:
So press Wipe>system or factory reset

and then reflash the rom?
[ONE General] W99DEY:
The clock and hence the alarm function does not work with the 2nd Aug rom.... :s
[ONE General] tiny4579:
Worked fine this morning and I needed it to wake up for work.
[ONE General] tiny4579:
Only reason I'd wipe system is to change gapps. The factory reset is how you'd want to clean flash. Just wiping system isn't clean flashing anyways.
[ONE General] Bwyan Benton:
I'm getting roughly the same on both. With nightlies from the 25th on.
[ONE General] waterdaan:
It's strange that Cm don't come with a music player that let's the phone go to deep sleep, using the what's it called to play music. That was their add, can play 60 hours of music, well you need a good app to do that.

Have you ever tried https://play.google.com/store/apps/details?id=com.myskyspark.music
[ONE General] tiny4579:
So play music doesn't support offloading? I thought that wasn't app related. That would explain my 80ma drain from audio even stored on the device.
[ONE General] waterdaan:
I don't think so.

I tried some time ago checking with cpu spy and I found clean music and the music player from ES file Explorer the only ones that let the phone sleep, some of the time.

Of course I haven't tested all players.
[ONE General] jdonk:
Does anyone know how to disable the capacitive button lights?
[ONE General] Bwyan Benton:
Settings - buttons - backlight

You can't disable them, but you can change the brightness and have them shut off after 1 second instead of 5 by default.
[ONE General] infatality:
Anyone have issues with built in music player(Eleven.apk)? Mine seems to keep force closing for no reason.
[ONE General] fmc000:
Well, I'm awake because of it, therefore it works as expected.
[ONE General] AbhishekS:
Is there an app/setting to light up the screen for 2-3 seconds on arrival of a new notification?
[ONE General] yot2703:
I have tried factory reset my phone and then reflash and the same problem exists

The proximity sensor is still blank at calls...

What should I do
[ONE General] Ok_Kaleidoscope5109:
You need to either:

1) Downgrade to TWRP 2.8.6.0 before flashing

-OR-

2) I prefer this, but use "fastboot flash modem NON-HLOS.bin" to flash the latest modem. You can pull the latest modem from the CM nightly zips. I don't think the modem has changed in a few weeks or months.

The reason behind this is TWRP 2.8.6.1 and newer is not flashing the modem properly. Therefore you need to either revert to an older version or do it manually via fastboot. Fastboot is the most reliable way anyway especially when it comes to modem flashing. If things go wrong using zips, you could get screwed.
[ONE General] yot2703:
I'm using twrp 2.8.6.0..

I tried to reflash and factory reset my phone

Still nothing.

I don't think if I flash modem throw fastboot will change something..
[ONE General] Ok_Kaleidoscope5109:
Can you take a screenshot of your baseband page right now in Settings > About phone?
[ONE General] yot2703:
Here you go...
[ONE General] Ok_Kaleidoscope5109:
Does look to be the latest. Not sure if anything else is in conflict here or if AK Kernel is experiencing any issues. I'm on pure stock.
[ONE General] yot2703:
Do yo think I need to use stock?
[ONE General] Ok_Kaleidoscope5109:
That's the only thing I can suggest at this point other than trying a fastboot flash for modem. I'm pretty much out of ideas :(

I know it doesn't help you, but I was on a CM11 modem and my proximity sensor failed to work, but once I did a fastboot flash for the latest modem it worked in calls again.
[ONE General] yot2703:
I need to wait a few hours, only in few hours I'll have usable pc.

I tried use the cm kernel and the same.

When I flash cm 11 modem proximity works but toe he sensors doesn't work
[ONE General] razorloves:
Yes, its called Ambient Display. Its in the display settings
[ONE General] fmc000:
In my case it workd but the screen is very dark and in black&white (latest nightly). Anyone else?
[ONE General] razorloves:
thats what ambient display is suppose to do.

check out videos and articles on it.
[ONE General] chielmi:
You can use an app called "Glimpse" for that. Completely does the trick! It is on play store, and there is an xda topic.
[ONE General] artyfarty:
FYI: don't use boldbeast call recorder with latest nightlies, i had several problems with phone app and calls (can't receive calls, lags on calls, etc.)
[ONE General] fmc000:
Why don't you use the CM built-in recorder? It works just fine.
[ONE General] artyfarty:
because here in Italy this CM feature is not working ;)
[ONE General] fmc000:
Well, I live about 60 KMs from you and I can assure you that it works just fine :)
[ONE General] artyfarty:
oh sh*t! where i can find this feature? sorry, i assure that i am not a noob ;)
[ONE General] fmc000:
When you're on call, select the three dots menu and it's there.
[ONE General] yot2703:
I tried to flash the latest modem from fastboot

Didn't worked... i have still proximity issues
[ONE General] W99DEY:
I needed to clear the caches to get the clock/ alarm working...
[ONE General] Wilguens Joachin:
Question?

Aye guys! I was thinking about trying to rom out. How's the battery life and performance? I'm currently on cm12 stock.
[ONE General] waterdaan:
After some testing I think that the offloading doesn't depend on the app.

Here's a real simple music player

https://github.com/saquibhafiz/MP3Player?files=1

It's so simple, it couldn't read my not too small music folder without foreclosing.

So I changed it to just read the folder sdcard/TestMusic

And it plays the mp3 files in that folder without keeping the phone from sleeping

There's no special coding going on to make offloading happen, just playing music ?
[ONE General] phillibl:
You can set brightness to 0, that will disable it.
[ONE General] Signor Rossi:
Any idea how to fix the "error running updater binary in zip" error when flashing from CM12 ?

Someone suggested a new firmware, but I don't know which one
[ONE General] :
In recovery:

delete system and flash cm12.1.

You should be fine
[ONE General] Signor Rossi:
you mean factory reset ?

No option to "migrate" my data over ?
[ONE General] S3b38:
Hi check your downloaded zip file, it seems is corrupted. Or try to download again
[ONE General] Signor Rossi:
Just did and got the same issue
[ONE General] Tailwind14:
Is there anyone here who can/will lay out the steps, beginning to end, for flashing CM12 2I3 using TWRP? I have a not fully functioning 2I3 running on my OPO and can't resolve the issue and would like to do this but I'm concerned about really messing up my mobile.
[ONE General] YzRacer:
Been busy lately and not following the thread, but just wanted to provide an update that any and all reboots I had were eliminated with a factory reset to to stock (via fastboot) and then a new clean flash to CM12.1 with TK Gapps. Been butter smooth ever since.
[ONE General] fmc000:
Nice topic description in this commit.

Edit: Already abandoned...
[ONE General] Bwyan Benton:
I'd like to know the status on this. It's only been left ignored since the release of lollipop. Awful that cyanogen hasn't fixed this crap yet. It's clearly an issue with cyanogen based roms.
[ONE General] chiujiewei:
guys is there CM app themer in the latest cm12.1 build like we had on the CM12S ?
[ONE General] Sultanxda:
It moved here: https://github.com/TheMuppets/proprietary_vendor_oneplus/pull/2
[ONE General] fmc000:
Has it been submitted already? I don't see it within the open commits.
[ONE General] Sultanxda:
Changes to proprietary files don't go through gerrit, they need to be submitted directly to TheMuppets. I had 2 changes (one on gerrit and one for TheMuppets), but the change on gerrit was unnecessary, so I abandoned it.
[ONE General] fmc000:
OK, I see. But, just for the sake of curiosity, who is TheMuppets?
[ONE General] Fenvarien:
https://github.com/TheMuppets?tab=repositories ;)
[ONE General] Ok_Kaleidoscope5109:
Questions:

1) What is this supposed to address? My Google Maps thinking I'm facing 90degrees the wrong way?

2) I know custom ROM makers use TheMuppets, but does CM pull from there directly? SO once the change goes through, it would be seen in the next CM nightly?

3) Changes in TheMuppets are part of NON-HLOS.bin? Would this be part of the modem? If so its something people need to watch out for when flashing (either using a downgraded TWRP or using fastboot)
[ONE General] tiny4579:
1) Yes, orientation issues

2) Yes and yes.

3) Nope, the modem bin is separate and in a private repo somewhere. TheMuppets is specifically for proprietaries in the ROM's /system partition that cannot be included in the CM source repos for licensing reasons.

So this TWRP firmware related issue we should get more info to dees_troy and co to fix this instead of just downgrading for firmware updates. I don't recall my firmware updates not taking with 2.8.6.1 which I'm still on.
[ONE General] infatality:
So how do we know exactly if cynogenmod has merge the commit?
[ONE General] ryanismo:
Everytime I switch to another User account, it says, "Unfortunately, System UI has stopped."
[ONE General] Ok_Kaleidoscope5109:
Anyone have memory leak issues? I need to clear recents every day otherwise the phone bogs down over time.
[ONE General] batwingnz:
I can't remember
[ONE General] FOSI17:
I have memory issues too, lol

Maybe knocked my head when I was little
[ONE General] KaZo58:
http://review.cyanogenmod.org/#/c/105257/

memory leak fix and the description says everything. :D
[ONE General] razorloves:
that pull request will change from "Open" to "Merged"
[ONE General] infatality:
Yup that's for commit submitted to gerrit.. What I mean was commit that's not push to gerrit for review. Like the the muppet github?
[ONE General] tiny4579:
It will show up in TheMuppets github. If it's there it will be part of the cm build.
[ONE General] razorloves:
what i said has nothing to do with gerrit.

there is no gerrit for themuppets repo
[ONE General] Ok_Kaleidoscope5109:
I wonder if this solves my issue.
[ONE General] Ok_Kaleidoscope5109:
I feel like my device isn't slowing down anymore... im down to 400mb but its still multitasking just fine. I hate to be the placebo guy, but I want to say this commit had an effect... will keep y'all updated
[ONE General] fmc000:
Compass Fix

Just to point out that I modified the conf file according to this commit and after a reboot my compass seems to work perfectly fine, without any calibration needed.

A small addon.d script will take care of flashes until CM keeps up with it. Many thanks [MENTION=4800121]Sultanxda[/MENTION] .
[ONE General] infatality:
Can you point me to the conf file?
[ONE General] fmc000:
/etc/sensor_def_qcomdev.conf
[ONE General] SomeFormOFhuman:
1. Navigate to:

system/etc/sensor_def_qcomdev.conf

2. Go to line 66,

Change:

:version 0x00010003

TO:

:version 0x00010004

3. Go to lines 87, 88 & 89 (or look for # mag x/y/z which defines the magnetometer)

Change:

900 1 0x00010003
901 2 0x00010003
902 -3 0x00010003

TO:

900 1 0x00010004
901 2 0x00010004
902 [B]3[/B] 0x00010004

EDIT: Ah, [MENTION=791219]fmc000[/MENTION] beat me to it. :)
[ONE General] infatality:
Is there a need to put in the - +?
[ONE General] LookedPath:
No you have to omit them. He copied from the GitHub commit and they are only to make you understand which lines were removed and which where added.
[ONE General] novren:
Great! Thanks! Is there a way to make this into a flashable zip?
[ONE General] SomeFormOFhuman:
Yes, omit the + and -

Did the fix on my OPO with a testing CM build and it works.

Thanks, I actually forgot to take them out cos' I was typing on my tablet. Myyyy mistake. :good:
[ONE General] waterdaan:
https://raw.githubusercontent.com/s...bacon/proprietary/etc/sensor_def_qcomdev.conf
[ONE General] tiny4579:
Yes it's possible but the addon.d script to backup the existing file will also mean you don't have to flash it every update.

Add etc/sensor_def_qcomdev.conf under list_files in your gapps.sh in /system/addon.d and any changes to this file would be backed up with updates just like gapps.
[ONE General] fmc000:
unless you flash an updated gapps package ;)
[ONE General] kendallgreen:
decryption unsuccessful

I flashed CM12.1 nightly 20150807 bacon zip and the latest gapps 5.1 after a full wipe. Now I keep get the CyanogenMod icon and message decryption unsuccessful after I enter my PIN in the password prompt. I am using the TWRP that handled OPO encryption previously. How do I get out of t his loop?:confused:
[ONE General] nsmart:
Full wipe removes device encryption. If you still get a prompt to decrypt data partition, it seems that full wipe was not successful. Which rom have you used before upgrading to current cm12.1 nightly? If you want to start from scratch, I would recommend to install recovery from stock rom (COS12), then do a full wipe and re-encrypt your device. After that install current twrp version 2.8.7.0. There where some bugs with latest twrp-versions and device encryption and maybe something prevents device encryption to be removed or initialized correctly.