yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] Charlieckips:
Fastboot flash modems

For all those experiencing issues while trying to flash modems/radio using TWRP, I'd suggest you use fastboot to flash them..... No errors if you do it right via fastboot :)

Now, head over to http://boeffla.df-kunde.de/bacon/modems/ and grab a copy of whatever modems your heart wishes, unzip it and follow the steps below...

Note:- Make sure you're running the commands from the folder where you extracted the zip to. And this guide only applies to the OnePlus one (bacon)!

fastboot flash modem NON-HLOS.bin

fastboot flash sbl1 sbl1.mbn

fastboot flash dbi sdi.mbn

fastboot flash aboot emmc_appsboot.mbn

fastboot flash rpm rpm.mbn

fastboot flash tz tz.mbn

fastboot flash LOGO logo.bin

fastboot flash oppostanvbk static_nvbk.bin

Please be sure you know what you're doing!!! Don't want anyone screwing up their phones..
[ONE Original Android Development] 3ddfknmontana:
Whenever i try to use this rom, i dont have wireless data... Meaning no lte no 3g, no matter what apn i try, still have thst exclamation mark on my signal.... Help?
[ONE Original Android Development] Charlieckips:
Same here, and I am pretty sure this is Cyanogenmod thing.. I have tried almost every Cyanogenmod derived ROM and nada... my data doesn't work!!! And YES, i am using the correct APN settings.. i sincerely have no idea what's up.. Also, i think issue just affects a few Oneplus one phones and not all... Even the official Cyanogen OS i get no data.. Anyhoo, i ended up resorting to just doing without it, mostly at places where i have wifi so don't miss working data much.. but it does suck for sure, paying for data which you don't use.
[ONE Original Android Development] MurdererFight:
delete
[ONE Original Android Development] abhibnl:
I know may sound ridiculous, but have you actually enabled mobile data in settings? This has been reported many times in many threads and people usually forget to enable the mobile data.

Sent from OnePlus One
[ONE Original Android Development] ikjadoon:
Android Pay and custom ROMs; a Google security engineer gives Google's point of view

http://xdaforums.com/google-nexus-5...custom-rom-t3199843/post62981452#post62981452

What does it mean? Well, anyone with a custom ROM (that has never been verified from Google through its testing) cannot use Android Pay currently.

(no need to litter this thread with your comments, hehe; just reply directly there because this affects ALL custom ROMs, not just this one)
[ONE Original Android Development] eduardobarth:
Best modem?

Hey, I attached a screenshot showing my modem. Is this one the modem that comes with Sultan's ROM or my TWRP is having problems on flashing the modem? If so, I'll have to manually flash the modem. Thanks for help.
[ONE Original Android Development] Smokexz:
Still have the circle gesture bug after build 09-25. Tried [MENTION=6917447]BeingEEE[/MENTION] 's solution and did not work, could potentially be doing it wrong. On another note, is there a way to disable snapdragon camera? I dislike the fact that it doesn't let you go into your camera roll straight from the app, and I don't like seeing it in my home screen
[ONE Original Android Development] renaltosonylevi:
Looks like you already have the recommended modem. No need to change anything.:)
[ONE Original Android Development] madsponge26:
Freeze the app using titaniumbackup mate.
[ONE Original Android Development] chrismalla:
I hope to get a good answer on this by the author of this thread. Let's see, as I've read somewhere in this thread, when flashing a modem image, it will only affect the actual modem and not the other firmwares that usually are included in the modem image. Now here's the thing, with some carriers AT&T in the US and Tele2 in Sweden (where I'm located), there are MAJOR connectivity issues with this phone (missed calls, delayed SMS, complete signal loss and horrible battery life). This problem began to show itself after the CM12 update (not CyanogenMod, but Cyanogen stock firmware). Since then, the problem has not been solved by OnePlus (or Cyanogen). So to solve the problem we've had to flash the 44S modem which results in proximity and gyroscope sensors going non-functional. (And the various proximity sensor fixes that exists does not work for me.)

Now I've been pointed in this direction for a solution, but before I wipe my phone and try this one out, I want to be sure that this problem does not pop right back up after some update to the ROM. AFAIK, the current modem included in the ROM is NOT 44S. So if I flash this will I still end up with signal problems? If yes, can I flash the 44S modem without breaking any other sensors?

Here is the bug-report for my particular issue that most likely never will be fixed by the people that are supposed to be fixing it: https://jira.cyanogenmod.org/browse/BACON-3371
[ONE Original Android Development] Sultanxda:
This bug affects official CM/COS, right?

Flash the kernel attached to this post and report back. This is the absolute best I can do. If this kernel doesn't fix the 2-second delay, then I can't fix it.

Flash the kernel attached to this post and report back.

Correct, only the actual modem firmware is pulled from the device's modem partition (there is no modem included in this ROM). Using the 44S modem with my ROM will not break the proximity sensor or gyroscope.

Your network mode isn't set to "LTE only", right?
[ONE Original Android Development] ZuLa:
[MENTION=4800121]Sultanxda[/MENTION], you've fixed the two second delay when i plug my headphones with this last kernel, thanks so much!!
[ONE Original Android Development] chrismalla:
No, it's set to LTE preferred... Thanks by the way for your quick reply!
[ONE Original Android Development] Sultanxda:
Was the 2-second delay specific to my ROM or did you experience it with every ROM you've tried?

Try setting it to "LTE/GSM auto (PRL)" and see what happens with the Lollipop modem. LTE is a data-only network type; it can only handle IP packets, not phone calls. When you receive phone calls while connected to LTE, the modem is supposed to automatically switch to a GSM frequency (2G/3G) in order to handle the phone call. It sounds like that automatic switching isn't happening for you.

(I haven't looked at your bug report file or read all 100 comments on the Jira ticket, so have mercy if I'm just repeating stuff you already know)
[ONE Original Android Development] ZuLa:
[MENTION=4800121]Sultanxda[/MENTION] I've been using your rom for months so I don't know if that was a cm bug or an especific bug of your rom, sorry
[ONE Original Android Development] Phoenix Wright:
I have a similar issue, but on the 44s modem too. With my provider (Vodafone IT) sometimes the LTE->3G switch fails and I find myself in a weird network status (GSM only, no network) until the baseband is rebooted. So LTE is unusable. They really got lazy with our modem...
[ONE Original Android Development] andrew2511:
Tested switching on/off the screen and glitches are gone! thank you so much!

Edit: after 15 minutes approx. the glitches are back (???) maybe when waking up from deep sleep?
[ONE Original Android Development] eduardobarth:
The latest build brought back the built-in root that can be found at Developer options. Though it's not a bug, I think it shouldn't be there!
[ONE Original Android Development] BeingEEE:
it was a mistake made by Sultan, he will be removing that in the next build.

anyway latest build is not having any issues due to that :)
[ONE Original Android Development] 3ddfknmontana:
LOL, yes i did check, I'm pretty sure... Now that uve asked I'm a bit paranoid that i didnt check
[ONE Original Android Development] Redicus:
Would like some help with few questions.

1) Is everyone facing random reboots? Or its only me? How can i solve it?

2) Why is everyone flashing new modems. Is there something wrong with the stock modem?

3) I am facing proximity issues. Also sometimes the phone wakes up in my pocket. So i disabled 'Double tap to wake'.

I am on stable 28/8.
[ONE Original Android Development] astrall:
Update to the latest stable build 9/25.
[ONE Original Android Development] radiatelabs:
Recently flashed my Oneplus One with the 23/9 build and the issues I am facing now are :

1. Phone shuts down automatically when battery is around 10%

2. While watching videos on Facebook the screen blacks out after sometime, causing the video to stop/pause.

I have also started a thread in the Q&A section for the newbies like me who don't have permissions to post here, to post their questions http://xdaforums.com/oneplus-one/help/qa-unofficial-cyanogenmod-12-1-caf-3-4-t3211407

Cheers !!!
[ONE Original Android Development] Charlieckips:
To get to all the options, from you dialer, press *#*#4636#*#*, then go to "Phone information" scroll down, and then select what [MENTION=4800121]Sultanxda[/MENTION] recommended..

Note:- you might also want to, Turn radio on and off while still there, "refresh" & finally "update"...
[ONE Original Android Development] dcoulombe:
As mentioned by astrall, you should clean flash to the latest stable, as there's no more soft reboot.
[ONE Original Android Development] Redicus:
What about dirty flash?

I have too much data, and it takes time to backup everything.
[ONE Original Android Development] dcoulombe:
Do a backup in recovery and then try to dirty flash if you want. Others have reported problem with receiving sms iirc. Your mileage may vary. Worst case scenario, you roll back to your nandroid backup. I did a clean flash and everything is smooth.
[ONE Original Android Development] jark99:
Running into some weird issues across all roms including this one. What happens is my contacts randomly disappear and are only numbers, until I resynchronization from Google. ALSO, the gallery app keeps saying "0 images/videos found" till I reboot the phone :( :(

Is my internal storage failing or something? This is happening way too often :(
[ONE Original Android Development] alijoregon:
I love this ROM but the people are saying me that they listen me like disperse... I'm thinking in back to COS12...
[ONE Original Android Development] Sultanxda:
It looks like it affects all ROMs. I installed the official CM nightly and I could reproduce the 2-second delay and music-pause issue with an old pair of headphones.

Please reproduce the glitches, reboot your phone normally, grab the last_kmsg, and post it here.
[ONE Original Android Development] marcosius:
this rom has an issue with wifi turning off when the device is locked, the only way to solve is flashing again but the problem returns at three days.
[ONE Original Android Development] bkayy:
Is anyone experiencing slow charging clean flashed 230ma using 2a charger
[ONE Original Android Development] iffamies:
Just a page or two back there was a post by sultanxda about it. He'll fix it when he is able to.
[ONE Original Android Development] Knox316:
I'm still on 914. Maybe I should start to think to update.

Enviado do meu A0001 através de Tapatalk
[ONE Original Android Development] clickjack:
My phone charges from 5% to 100% in an hour and a half. That's with the default OnePlus charger. However, it takes more than 2 hours if I plug in my Sony 2amp charger.
[ONE Original Android Development] Smokexz:
Don't mean to be so negative but after getting this rom my reception is worse on T-Mobile. Also haven't really noticed much of a difference in battery life.
[ONE Original Android Development] BeingEEE:
which ROM you used before? I think there is some issues with the 241 oxygen modem

try the different modems available for the OPO. download here: http://boeffla.df-kunde.de/bacon/modems/
[ONE Original Android Development] Smokexz:
[MENTION=6917447]BeingEEE[/MENTION] I had CMOS, flashed this one because I thought it would give me better battery life. Android OS consumes 9% and Google Services 7%. Battery life has been about the same (don't know how to check screen on time but it isn't like it used to be when I got OPO a few months ago. It would last me about a day and a half). Which modem has been working best for you? I lose data frequently.
[ONE Original Android Development] BeingEEE:
this is where you check the SCREEN ON TIME(SOT)

when me taking that screenshot, my battery level is 90%.

SOT depends on a lot factors, normally if you get SOT in between 4 hours and 5 hours without any kernel tweaks. It's good :)

and lollipop takes much more battery than kitkat :)

I use the 241 modem, which comes default with this ROM, and I live in India, and in my place there is not LTE.

Most of the modem issues has been with LTE. I use 2G/3G/WiFi only :)
[ONE Original Android Development] Smokexz:
I'm at 20% and have just under 2 hours of screen on time. I r read about the deep sleep issue with Google play services so I disabled the system update checker with disable service hopefully that'll improve the screen on time. I am also going to look into the modems. Thanks so much for your help man!

Edit: it seems disabling that feature I'm the service effects smart lock. My android wear watch is a trusted device and it still keeps asking for my pin even though my android wear device is connected. I will never win xD
[ONE Original Android Development] BeingEEE:
another reason for the battery drain is

SIGNAL DROPS, if the signal is LOW, phones will consume more amount of power, to get the signal

thats the issue in your case, try the 44s modem, it might work better in your case :)

---------- Post added at 08:15 AM ---------- Previous post was at 08:11 AM ----------

no need to disable the service and all, just flash a modem, which will give you better signal. then your battery will improve :)
[ONE Original Android Development] rrohanjs:
I have Web view v39 in this rom, i want to update to the latest playstore version but it's asking me to install it on playstore first

So how do I go about updating it? (don't suggest me tk gapps I'll use that solution on my next clean flash )
[ONE Original Android Development] zBear:
you can flash just goglewebview https://www.androidfilehost.com/?fid=24052804347819433

but it flashes whithout error only if your main gapps are TK GApps
[ONE Original Android Development] Sultanxda:
New build uploaded based off of the new stable branch from CM (YOG7D). This new branch is equivalent to the official nightlies as of September 22nd. The previous branch, YOG4P, was based off of the official nightlies from June 18th, so this new branch is about 3 months newer.

Also, the long delay (up to 2 seconds) for audio to transfer from the speakers when playing music and then plugging in certain headphones has been mostly fixed. There is still a very very small chance that you will see a long delay when plugging in headphones, but this chance is so small that I never encountered it even once while testing. I don't think any other kernel for the OPO has ever had this slow-detection issue more-or-less resolved (I could reproduce it 100% of the time on the official CM12.1 nightly). Playing with audio is painful :silly:

Also, this new build is being sent over OTA to people who are still using my old nightly builds, as this build can safely be flashed over those old builds.
[ONE Original Android Development] GXGOW:
I don't know how you do it, but this ROM has some great battery life! ?

Sent from my OPO running Sultanxda's CM 12.1
[ONE Original Android Development] Redicus:
I am not talking about change logs. I facing issues like random reboots and want to submit logs for troubleshooting
[ONE Original Android Development] fgaurano:
Is it safe to flash over 09/14 official build?
[ONE Original Android Development] Sultanxda:
You're using the 8/28 build, which is

known

to have random reboots. Your logs will not be accepted, as you are using an old build.

Dirty flash to the newest build (September 27th), or install it via the OTA updater.

In theory it should be fine, as the new stable branch (YOG7D) is based off of the 09/22 nightly.

Make a backup just in case. Perform a clean flash if you encounter any strange issues.
[ONE Original Android Development] xneoon:
How to add zip for flash with the ota update ? It's possible or the only way is manually flash ?
[ONE Original Android Development] dpernek:
I have mic problems. Sound is horable. Clean install, coming from Exodus
[ONE Original Android Development] lukesan:
Just a small message to SultanXDA.

I've been playing with phones for a long time. Testing a lot of roms, flash-aholic, dear-aholic (that's the way to learn if you mess up) almost every day.

I probably flashed holes in eeproms (yes I still have a perfect HTC HD2 in perfect new condition that I still love).

This is by far the best ever rom that I have had. I flashed 1000 roms, 'improved speed' which would make my HTC diamond faster than a Oneplus 3 by now, but nothing beats this.

Ok, this rom has it's flaws, only 1 for me which is 'slow shutter', but battery life is measurably longer and everything works like it should, ... always.

Thanks for making this Oneplus One one of the best phones I have ever had!
[ONE Original Android Development] takkischitt:
Anyone know what changes/updates/fixes are in the new stable branch (YOG7D)?
[ONE Original Android Development] Gabry70197:
With the latest version of the animation on the home charger does not work? While on the lock screen si..ho put everything with fastboot, I think it is an installation issue
[ONE Original Android Development] Auriental:
Hey guys, anyone else feel the auto brightness (adaptive display) , is really bad? Like the brightness fluctuates a lot, sometimes its too sensitive & sometimes sensitivity is bad. When I move to dark environment, it takes quite a while to detect it. Not sure if this device has a bad sensor or if it's CM's issue. [MENTION=4800121]Sultanxda[/MENTION] , is there anything you could do to make it better ? :)
[ONE Original Android Development] Suarezian:
Using 25 Sep build and still have mic issues. Other person says that my voice is as if I'm in an ocean.

Sent from my Oneplus One using NASA's encrypted network.
[ONE Original Android Development] jkmangang:
Edited- wrong quote. Sorry.
[ONE Original Android Development] sklaes:
Here are the changes:

https://github.com/CyanogenMod/andr...e/stable/cm-12.1-YOG4P...stable/cm-12.1-YOG7D

Sadly it's not that	well-arranged :silly:
[ONE Original Android Development] jkmangang:
Hey, that's CyanogenMod change. Nothing wrong with your installation.
[ONE Original Android Development] takkischitt:
I'm in the position now where the phone seems to be running perfectly, so I don't know if I should apply this update or not.
[ONE Original Android Development] Gabry70197:
to me the microphone is awesome with 27 Sep build
[ONE Original Android Development] unrygar:
Hello,

I wanted to ask to the developer about the issue affecting all CM12 based roms. There is a noticeable audio lag when using bluetooth, almost 2 seconds from any action on the music player (GPM, Spotify) or on any game. Are you aware of this issue? Never had this problem when using the Nexus 5.

Also, I want to know if your rom suffers the compass issue with OPO. Is easy to solve (just modify the file sensor_def_qcomdev.conf https://github.com/sultanxda/proprie...7f0c6a29b1e361 and delete sensors.reg file), but is anoying since root access is needed.

Thanks for you work.
[ONE Original Android Development] gondsman:
Having been part of the debugging of it, I can safely say that this Rom doesn't have any issues with the compass.
[ONE Original Android Development] nucky thomson:
I discovered a strange effect, I don't know if it's caused by the Rom or the backlight from the display.

If I scroll my home screens to the left my screen gets a little more bright, if I scroll to th left the screen gets a little bit darker. Anyone else has this?
[ONE Original Android Development] clickjack:
Actually I have faced this with almost every ROM in the last 2 months. My Nokia Maps keeps saying Compass needs calibration but fails to calibrate.
[ONE Original Android Development] gondsman:
Yes, you're right, but I really think it's a problem with Nokia here, as the compass actually works fine even if it says it needs calibration.
[ONE Original Android Development] takkischitt:
Compass works perfectly for me.
[ONE Original Android Development] Redicus:
Ok i updated to 27 sep build. It feels stable, but my battery still goes down from 15% to 0% in 3 minutes.

Great work with the ROM.
[ONE Original Android Development] unrygar:
I've just installed the rom. Compass issue is present on OPO. North is pointing southwest.

Modify the file etc/sensor_def_qcomdev.conf as per https://github.com/sultanxda/propri...mmit/0cf2594584e89350d8e881f3257f0c6a29b1e361 has solved de issue.

basically these lines:

900 1 0x00010004
901 2 0x00010004
902 3 0x00010004

need to be changed to:

900 1 0x00010003

901 2 0x00010003

902 3 0x00010003

[/code]

only for OPO I guess.

Please [MENTION=4800121]Sultanxda[/MENTION] can you confirm?

Tonight I'll check if the bluetooth issue is present.

Thanks.
[ONE Original Android Development] zBear:
Finally we have possibility to turn off Privacy Guard icon from the settings for all apps! And I have no problem with mic or sound quality.

Thank you [MENTION=4800121]Sultanxda[/MENTION]

I can confirm that.

upd:

http://xdaforums.com/showpost.php?p=63021603&postcount=5283
[ONE Original Android Development] donk165:
This new stable branch is awesome, has the new lockscreen EQ effect back!

Great work sultan! Hope you get better soon!
[ONE Original Android Development] move_some:
Is the distortion in high bass environment still an issue with the 09/27 build?
[ONE Original Android Development] unrygar:
Here what I did:

- deleted /data/misc/sensors/sns.reg (root required)

- modify file /system/etc/sensor_def_qcomdev.conf as this:

line 87: 900 1 0x00010003

line 88: 901 2 0x00010003

line 89: 902 3 0x00010003

Restart the device.
[ONE Original Android Development] zBear:
thanks

I'll try that

upd:

not working in my case
[ONE Original Android Development] pocvitaldo:
Hi Sultan,

I’m experiencing wifi disconnecting when the device is sleeping; this has happened since the 14/09 build.

Yesterday I clean flashed 25/09 build but the problem persists.

It’s weird because I’ve never had wifi related problem either with the nightly or the stable (before 14/09).

I’ll try flashing the new build and see if the problem it’s there as well.

However I’m attaching a logcat, I hope It’s useful.

Thanks again for your awesome work.
[ONE Original Android Development] Kemanorell:
Sultanxda, hi. There is some bug:

Themed soft-buttons are going back to stok ones after reboot. Checked and verified on two devices.
[ONE Original Android Development] phillibl:
Thanks for the update Sultan, the only thing I miss about the debug builds is the ability to use local.prop but I guess I can survive without it.
[ONE Original Android Development] Maggiefix:
Here it worked, compass now showing into the right direction. I had to spin the device around its axes before.
[ONE Original Android Development] zBear:
I don't know what to say :)

I've deleted the sns.reg, modified sensor_def_qcomdev.conf and made a restart.

I don't see any difference in Google Maps.

upd:

I've deleted the sns.reg again, modified sensor_def_qcomdev.conf to original values and made a restart

after that whith help of several Compass application from GooglePlay I performed a compass calibration

after that (whith original sensor_def_qcomdev.conf values) GoogleMaps and other applications are showing the right derection again

now I'm not sure if there was a bug in the first place or phone just needed the calibration
[ONE Original Android Development] johnb380:
Try to clear cache and data of maps then reboot and see if that makes a difference!

Also once you reboot try opening up maps and hold your phone flat like its on a table and move it in figure 8s for like 20 secs.

If all else fails... Go to play store and download

https://play.google.com/store/apps/details?id=com.cochibo.gpsstatus

Then open it and click clear data then install xtra data and that will give u a fast lock on GPS!

FYI:

For any of these to work you need a clear line of sight to the sky!

Edit:

I see you fixed it!
[ONE Original Android Development] marcosius:
it seems there's battery drain in 27/9