yashsingh1/xdaforums huggingface dataset:
[ONE Original Android Development] ankur88:
Hello all.

I've been facing a network/data issue on my phone for quite some time now.

Basically, if I keep my Preferred network type option to "2G" I get a very stable network connection and no call drops etc. But my data is limited to 2g speeds.

If I switch to "LTE" or "3G" I lose all data and network as well. Even if my phone shows some network bars, i don't receive calls and the calls I try to make never get connected,

Data wise, it takes forever to get connected, then too, it'll work for a sec and then stop working.

I've tried a few things to remedy this issue, but hoping I missed the actual remedy and someone can point me in the right direction.

Made sure the APN settings are correct. confirmed with the carrier.Made sure i deleted other PANs since that solved the same issue for someone else. Didn't work for me though.

Did a clean flash of the ROM. Currently on 13.0-ZNH5Y-20161025-STABLE-Sultan-bacon.

Tried all the modems on mr.shme's page with all the modems.. Tried it with twrp 2.8.7.0 because that's what he suggested, and then again with twrp 2.8.6.0 because that's what I read somewhere else.

Tried my sim on someone else's phone and tried someone's else's sim on my phone. In both cases the issue was with my phone and not my sim.
[ONE Original Android Development] fluxus_pt:
Have you tried to do a clean install via fastboot of CM13 official ROM, and see if that works?

If works in that way, try again, reflash official or tuga TWRP and sultan's ROM.

Hope it helps,

Cheers,
[ONE Original Android Development] Nowaday:
Thanks for your reply. Reflashing is the last method if others cannot help.
[ONE Original Android Development] highdiver_2000:
Download another dialer from the Play store and test
[ONE Original Android Development] Gawd:
Had a similar issue last year. Here, take a look : http://xdaforums.com/oneplus-one/help/calling-problem-airtel-4g-t3256789

Steps to follow that MAY fix this-

1. Wipe everything except internal storage.

2. Flash this firmware "bacon_firmware_update_2016_1-25_.3.0.1.c7-00011". Get it here - http://xdaforums.com/oneplus-one/general/firmware-modem-oneplus-one-t3462214

4. Flash ROM (latest), GApps (OpenGapps nano), SuperSU (if needed)

5. Report back if it worked
[ONE Original Android Development] Nowaday:
After reflashing twice, I found the problem was caused by Lucky Patcher whose xposed module conflicted with Privacy Guard. So just disabled it and permission options came back. Thank you bro all the same.
[ONE Original Android Development] kodo12:
Well, I have one occuring problem bluetooth keeps randomly turning on. My rom is clean flashed, any ideas?
[ONE Original Android Development] visigotik:
I also had GPS locking problems, it took almost 5 minutes to get a lock. Flashed the latest C7 firmware and now i get instant lock and everything works great. Thank you very much.
[ONE Original Android Development] BrunoLFA:
I too have been getting quick locks with C7 firmware. Data and wi-fi speeds seem at least the same as before, so I strongly recommend flashing the latest firmware if you're experiencing GPS problems :o
[ONE Original Android Development] wrinkletit:
which c7 firmware you guys flashed?

there are ;

bacon_firmware_oxygen_update_2016_01_22_.4.0.1.c7-00013

bacon_firmware_update_2016_1-25_.4.0.1.c7-00011.zip

bacon_firmware_update_2015_12-30_.4.0.1.c7-00011.zip

bacon_firmware_update_2015_10-15_.4.0.1.c7-00013.zip
[ONE Original Android Development] Mr hOaX:
bacon_firmware_update_2016_1-25_.4.0.1.c7-00011.zip
[ONE Original Android Development] BrunoLFA:
This one!
[ONE Original Android Development] guille26:
Hello, I had same problem with chrome.

I've flashed, wiped cache...I don't want to reset data, did you fix it? do you have more information?

I've seen more people are having this problem in Android but I haven't seen any working fix.

Thank you very much.
[ONE Original Android Development] asalikhov:
I've found a non-trivial way to get recent apps back. From quick pull down, tap your account, create guest account, and then go back to your account (in my case, settings->users didn't work out). For media button I haven't found any solution and that's terrible.
[ONE Original Android Development] guille26:
Thank you very much for your response. I have just wiped /system, /data, reflashed rom, gapps and installed all apps. It's a horrible task but it works fine now.

Enviado desde mi A0001 mediante Tapatalk
[ONE Original Android Development] retro83:
Hello everyone.

I've had a problem for a while with alarms not going off (standard clock/alarm app and Aquarimate) and not receiving whatsapp messages until a while after they are sent when I get a whole batch through at once.

Here's what the alarm shows (a while after it should have gone off):

Here's what I have on the Battery optimization screen:

Am I missing something? Can I turn the optimisation feature off completely? Battery life is good enough, I'd rather have reliable messages & alarms etc.

I searched the thread but the most recent reference I could find was from several months ago.

Many thanks :good: (I'm on the Nov 4th build which CMUpdater says is the latest)
[ONE Original Android Development] o-l-a-v:
I don't know for sure, but might have something to do with the underclocking feature of this ROM (kernel).

In the 1st post you'll find a "disable underclocking" flashable ZIP, try it :)
[ONE Original Android Development] Gawd:
So I re-visited this ROM and,

Here's a debloater I created. :D

Removes dialer*, contacts, clock, calendar, music, messaging, calculator, etc. You can get the Google's alternatives of those.

This will not remove AudioFX, Snap(default camera), AOSP keyboard and Gallery2(default gallery app). I find them useful (a bit :D).

-------------------------------------

Debloater in action -

​

Link to Debloater [updated] : gdrive- https://drive.google.com/file/d/0Bzedbk3OVKq1TTBNZ0JGWWpVRm8/view?usp=drivesdk

*Also remember to grant google phone all the permissions and make it the default phone app to avoid any issues.

It'll remove the following Apps -

​

Note : This debloater WILL SURVIVE DIRTY FLASHES AS WELL AS OTA UPDATES. So there's no apparent need to flash it again after that. CLEAN FLASHES WILL OFCOURSE NEED IT TO BE FLASHED AGAIN.

Have fun
[ONE Original Android Development] kodo12:
Can you make version removing only calendar and messanging? :D
[ONE Original Android Development] Gawd:
There you go : https://drive.google.com/file/d/0Bzedbk3OVKq1LTVvWGs2akgteEk/view?usp=drivesdk

Just for you..haha
[ONE Original Android Development] grotesque02:
With last build privacy guard don't show any options

From oneplus one
[ONE Original Android Development] Mr hOaX:
Read

Thanks for your reply. Reflashing is the last method if others cannot help.
[ONE Original Android Development] Nowaday:
Just disable LuckyPatcher xposed module.
[ONE Original Android Development] Dukejester:
Hi,

Revisited this ROM again, but the tsk tsk sound still exist from a game (summoner wars).

Please see the catlog I have taken. not sure whether is it correct, because I am new to catlog.

Please advice if it is wrong.

And also please advice how to get rid of the tsk tsk sound if the catlog is correct.
[ONE Original Android Development] swiatus85:
My widget stop working and it is't possible choose widget because apear : Google Aplication stop working.

ZNH5Y
[ONE Original Android Development] gerlium:
How can I disable the status bar in the lockscreen?
[ONE Original Android Development] Joakin2k:
Is the same thing if i use a custom text file for open Gapps... Exclude/Include Gapps or Rom's own Apps....?
[ONE Original Android Development] NalMac:
I keep losing my mobile data whenever i go inside buildings and it doesn't come back until i flip airplane mode on and off. Any ideas how i can fix this?
[ONE Original Android Development] TonySuperPony:
I had this issue due to incompatible firmware.. Flash cm13 snapshot, then this rom.. That way you have the recommended firmware installed...
[ONE Original Android Development] guille26:
Using this patch crashes my phone when I try to make a phone call. I had to remove it in order to call.

Enviado desde mi A0001 mediante Tapatalk
[ONE Original Android Development] Gawd:
Ermahgerd

Read the damn post dude ;0

​
[ONE Original Android Development] guille26:
[ROM+KERNEL][6.0.1] Unofficial CyanogenMod 13.0 with 3.4.0 kernel [Nov. 5, 2016]

It has all the permissions, actually it's the phone app I use. The problem is not about permissions, the phone reboots itself, it crashes because, I guess, something is missing.

Edit: let me add something about your 'ermahgerd', you don't need to be so offensive.

Enviado desde mi A0001 mediante Tapatalk
[ONE Original Android Development] Bitcloud30:
Is there any news if sultan is going to make his own version of CM14 in OPO?
[ONE Original Android Development] TonySuperPony:
But did you set it as default phone app... In the settings..

Verstuurd vanaf mijn A0001 met Tapatalk
[ONE Original Android Development] Aeeba:
What is causing these wakelocks? Help
[ONE Original Android Development] guille26:
Yeah, of course, the phone app opens but when I choose a contact to call, the phone restarts.

After removing the script and installing the removed apps, everything works again, so it is related with this script.

Enviado desde mi iPad utilizando Tapatalk
[ONE Original Android Development] Gawd:
Anyone else with the same problem?
[ONE Original Android Development] Mr hOaX:
No update from him! If he makes his own version, you'll see that news featured on the xda portal.
[ONE Original Android Development] lordsinasina:
He has mentioned on OPX thread that he wont make a CM14 for OPX so it is probably a no for OPO too
[ONE Original Android Development] kodo12:
Thank you very much! :D :good:
[ONE Original Android Development] Dukejester:
Any help for me?
[ONE Original Android Development] jaimex2:
I imagine its a big task to migrate the stack he has built to the new platform. Anyway, until we have official word I'm happy to hold out.
[ONE Original Android Development] lordsinasina:
Sure it is. There are a couple of good CM14 builds out there right now but in term of camera hall I personally think nothing matches [MENTION=4800121]Sultanxda[/MENTION] . So if any other Dev could just use his camera hall that would be enough for me.
[ONE Original Android Development] gee.dunkin:
Hi all, I've been on this ROM since lollipop and am currently running latest build marshmallow on my oneplus one. I've been a bit busy lately to keep up with threads so excuse my laziness of not reading through the earlier posts.

My issue is related to Bluetooth (audio and phone) where I have all sorts of weird **** happen when connecting to my car stereo (or anyone's for that matter), some days it works flawlessly some days I'll be talking on the phone and my music app will keep playing or I'll end a phone call and the music will not continue to play or the volume will be at zero etc etc.

I remember talk a few months ago on this thread people talking about flashing another modem and I wonder if this might help with my Bluetooth connectivity issues.

I know my opo is slowly dieing and I have already replaced the battery once and I really do like the looks of the new op3 but other than the Bluetooth issue and the occasional crash it still runs quite well and I figure I can get another few months out of the old girl lol.

If anyone could shed some light on the modem replacement and weather or not that may fix my Bluetooth issue or any other fixes that might sort out Bluetooth type glitch it would be much appreciated.

Cheers.
[ONE Original Android Development] adamhassel:
Hey,

I've been getting network disconnections more and more frequently lately. It will start out as wifi refusing to connect. Then a little later, a '!' will appear on my LTE icon, indicating it's no longer connected to the internet. Doing a (soft) reboot fixes it temprorarily.

Checking logcat, I'm getting this when trying to connect to WiFi:

11-28 13:20:41.771 24526 26538 D DhcpClient: Broadcasting DHCPREQUEST ciaddr=0.0.0.0 request=10.111.11.133 serverid=10.111.10.1
11-28 13:20:41.780 24526 30411 D DhcpClient: Received packet: c0:ee:fb:21:23:c4 ACK: your new IP /10.111.11.133, [...]
11-28 13:20:41.780 24526 26538 D DhcpClient: Confirmed lease: IP address 10.111.11.133/23 [...]
11-28 13:20:41.798 24526 26538 E DhcpClient: Error connecting UDP socket
11-28 13:20:41.798 24526 26538 E DhcpClient: android.system.ErrnoException: connect failed: ENOBUFS (No buffer space available)
[... backtrace ...]

So, I get the IP fine, but it doesn't stick

The error can be an indicator that the kernel is running out of connections, which could mean there's a connection leak somewhere. I have googled around a bit, but not found much else than general stuff like 'There may be a driver misconfiguration' or 'try and increase connection numbers'. While I could theoretically to the last thing, it's only a symptom fix.

Any ideas? Could an app be responsible?

I am running the Oct 25 build.
[ONE Original Android Development] ankur88:
Thanks for the advice. Will try it today and let you know.
[ONE Original Android Development] adam_ridzuan:
+1
[ONE Original Android Development] Aeeba:
Found that a wakelock problem was caused by YouTube background playback.

Anyone know how to fix the camera crashing when trying to record?
[ONE Original Android Development] Allfor12:
I'm not receiving SMS/MMS whenever I'm connected to wifi. I've clean flashed sultan and tried other roms but have the same result. I know it's not a Sultan only problem, but this is what i use the most so I'm hoping someone can help point me in the correct direction.
[ONE Original Android Development] Chevan94:
Does anyone have insane levels of Google Play Services cell radio usage? It out tops out my chart all the time
[ONE Original Android Development] Haiqal Johari:
+1
[ONE Original Android Development] :
Yes, I also have the same issue. Phone app works fine but when I use contacts or truecaller to make a call device reboots.
[ONE Original Android Development] Gawd:
I'm sorry, I'm also (obviously) using my debloater and cannot recreate this.

Just for confirmation, have you given the Phone, and the Contacts App all the permissions and made the Google Phone App the default one?

Also, are you using Xposed? Do you have Contacts and Dialer folder in /system/priv-app

Could you provide a logcat? Just get the logs right after reboot. I'll look into it. Sorry for the trouble.
[ONE Original Android Development] :
Its okay bro, I am so sorry i cannot do that because I am using a different ROM right now but I did gave all permissions and had set the dialer as the default app and I am not using xposed. :)
[ONE Original Android Development] Revan427:
Anyone on Google play services 10? Can't fix the has stopped issue on this one..
[ONE Original Android Development] retro83:
Sorry to bump my own post but I had this again today. Anybody got any ideas? I really don't want to switch away from this ROM as in every other respect it is brilliant, but missing alarms once a week is no good for me.
[ONE Original Android Development] christantoan:
Maybe try another alarm app? I'm using Sleep as Android and it never misses any alarm.
[ONE Original Android Development] Allfor12:
I had it right after the 11/5 update. I had to wipe and reflash the rom and gapps to get it to stop.
[ONE Original Android Development] DevSquad:
Hi Sultan,

I am using your latest build and also the test-kernel you made (cannot find the thread for that one now?).

All works really well, except that WiFi stops working every now and then, and the only solution is to turn wifi off & on for 2-3 times.

Any fix?
[ONE Original Android Development] Joe Heller:
I am on Google Play Services 10.0.84 and don't have that issue. I am currently running the September 6, 2016 update, so maybe a later update is the issue.
[ONE Original Android Development] nemaio:
I've had similar problems on Sultan's ROM's since the 5.1 days. Specifically, notifications (hangouts, email, etc) are delayed or don't come until turning the screen on. Everything works flawlessly as soon as the phone is plugged in and charging though. I've tried turning off doze, using a wifi-keep alive app in conjunction with a push notification fixer app. Nothing really completely fixes the issue. Must be something kernel specific, one could blame Doze but Lollipop didn't have doze. Other than that, it's a great lightning fast rom, this one little fix would make it perfect.
[ONE Original Android Development] DevSquad:
Exactly! It's the only thing that bothers me as for the rest this ROM works great!
[ONE Original Android Development] gary93:
Having the oppo camera crash issue these 2 days. It was working fine before. It started flip the image upside down, and now it just crash. Anyone had similar issue?
[ONE Original Android Development] highdiver_2000:
Try this

Settings, Apps, Google PS,

Permissions, assign all

Storage, Manage Space, clear all.

Restart.
[ONE Original Android Development] i-AM-BoReD:
Deleted
[ONE Original Android Development] BrunoLFA:
Guys, it seems my question went unnoticed earlier, so I'm bringing it up again since it's probably of general concern. Any thoughts on RAW capture in this ROM?

Thanks a lot!
[ONE Original Android Development] tavocabe:
Is there a difference with f2fs? How noticeable it is?
[ONE Original Android Development] TareqA:
Very minor, not worth switching over to. Research it the statistic shows small improvement
[ONE Original Android Development] Chevan94:
It feels a bit more snappy, but it isn't noticable enough to wipe the entire data partition for it. Unless you don't have a lot of data on your phone.

I just had the oportunity to change so I did it, and I'm happy with it.
[ONE Original Android Development] Revan427:
Thanks for advice!

I had already tried all these obvious methods and lots more.

However I did find the culprit. Apparently the cause was that somehow a part was installed in user instead of system.

Don't know how because I NEVER manually update play services. I just wipe system and reflash ROM and new gapps.. So gapps or play store's fault probably.

Solution was to remove the user and system play services completely, then wipe system etc etc.

When people told me only way is to full wipe; it's simple. I'm a non believer in this extreme measure since came from another ROM almost a year ago without wiping /data. (previous ROM was cm13-based of course)

I had a feeling and went for it; nothing to lose anyway.. Could always still wipe..

Sorry I didn't share this with you guys earlier, fixed this quickly in time of need.

Thanks all for thinking with me and thanks Sultan for adrenalizing my OPO. It was great and still is.

Peace out.
[ONE Original Android Development] lordsinasina:
Does this work for YouTube too ?
[ONE Original Android Development] Gawd:
Guess what? Yes, it does!
[ONE Original Android Development] Revan427:
I think it's worth sharing buddy!

I feel like there are a lot of audiophiles in this thread; including me!

In the end that's also one possible reason to rock custom ROM as a daily driver!

Sure going to try this out in the bus to work!
[ONE Original Android Development] Gawd:
Looks like it got deleted. Sigh. And I didn't even get a message about it. :(

Made a new thread here : http://xdaforums.com/oneplus-one/development/mod-true-stereo-phone-speakers-earpiece-t3510586

Anyone interested in stereo sound from speakers can check this out
[ONE Original Android Development] ankur88:
Neither of the approaches worked!

Anybody else have any other ideas? I'm at the brink of abandoning this phone and getting a new one!
[ONE Original Android Development] Gawd:
Yes. Follow this thread till point 3.

I'm a hundred percent sure this will work. Take my word for it.
[ONE Original Android Development] ankur88:
I've already tried that one, but I'll do it again from scratch just in case i missed anything last time..

Will let you know either way.

Thanks again.
[ONE Original Android Development] ankur88:
Still no luck.

Followed the steps on that thread.

Even now when I set preferred network type to 4g i get no network. Not only no data, not even cell network.

As soon as i switch to 2g, i get cell network in a few sec and 2g data in a few more sec.

This in a location where another with the same carrier get full network and 4g data connection.

If I put another sim card my phone, the same issue occurs. But my sim in another phone, it works properly. the other phone is not a oneplus one though)

EDIT: Also when i switch back from 2g to 3g/4g i lose network again. Sometime I get cell network after few min, but that is spotty at best. And never get data connection.
[ONE Original Android Development] Gawd:
This is some serious issue then. You fastboot flashed them all? Even the modem. There is a flashall.bat there, you ran it I guess, it flashed them all. It seriously didn't fix it? Because that's supposed to get you the latest COS13.2 official firmware.

Tried all the firmwares here?

Okay if you did all that, flash this ROM. Its based off OxygenOS and uses a completely different firmware. Remember to clean flash or it might else f*ck up. Hope for the best.

Edit: use the official latest TWRP
[ONE Original Android Development] ankur88:
Yes, I ran the flash-all.bat, and previously I had run the command individually as well. Both times nothing changed.

Tried all the firmwares on that link as well.

Let me try the oxygen OS now.
[ONE Original Android Development] ankur88:
That ROM didn't help either.

When I have a bit more time, I'll try all the modems again. Thanks again.
[ONE Original Android Development] Gawd:
Just saying, don't flash any modem over that OOS. it'll bootloop.

And first off, how did you get in such a situation? That's totally ducking weird!
[ONE Original Android Development] ankur88:
Ya got that. I plan to go back to the stock CM, and cycle through the Modems. For now i'm back on SultanROm since i had a nandroid back up.

I'm not sure exactly when this issue started. What i remember is a few months back I switched from a 3g sim to 4g sim.

Then a few days later i noticed a lot of call drops, people saying my phone is unreachable etc.

That's when i noticed. I guessed a sim issue so got it replaced but the problem continued.

Then i tried the Sim switching and realised the issue was the phone and not the sim.

Along the way, I just noticed network was stable over 2g.

Carrier people were not much help, but I checked the apn settings on other phones with the same carrier.

If it helps at all, when i go to rural places, with only 3g towers, my network is more stable. Even if my preferred type is 4g.

But in the city where I stay, there are always 2-3 towers around, it doesn't seem to connect to any of them.
[ONE Original Android Development] liPillON:
do you have the MaxxAudio port by ahmedradaideh installed?

you should update it to v5.3

http://xdaforums.com/showpost.php?p=69337312&postcount=212

i was facing similar issues using v5.2
[ONE Original Android Development] mexiro:
IS sultans 12.0 Rom better than 13? I am coming from CM and don't know which is better, with most SOT?
[ONE Original Android Development] haziqmck7:
Anyone can suggest me which build is the best in term of battery life and performance. Tried the latest build but experience sluggishness
[ONE Original Android Development] haroen88:
Download n enjoy this rom, without comparing with another rom.. im believe if you want stability this rom will not disapointed for u...
[ONE Original Android Development] onebhk:
My experience with this is, if you have a 4G sim, and use 2G/3G networks, it works fine.

But if you use LTE/4G, then only data works, neither can you place or receive call. It can be due to the 4G band compatibility. Also note, OPO doesn't support VoLTE.