yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] Arbk:
Thanks aryaraj for the reply, content noted, but I managed to sort it out yesterday.

Hooked it up to the PC and after a lot of trial and error I eventually managed to get it to enter a recovery mode. Scared to exit it I had a look through the device folders and found two images, one a backup from summer 2016 and the other being Sultans latest that I had downloaded, both were prefixed with the word Sultan. My train of thought was still that I'd flashed the old backup based on the old boot loader so I crossed my fingers and flashed the correct Sultan image this time. On reboot I was pleased to see the 1+ logo get replaced with CM boot logo with a message at the bottom that it was preparing apps, eventually the home screen appeared, woohoo!

On the downside, all the settings, apps, themes were from Aug 2016, On the plus side I was now running the latest Sultan and the security patch was now bang up to date. I have a lot more space on the phone now too so it wasn't all bad, several months of self accrued bloat deleted lol. CM Updater updated Sultans Feb 20th recent release just fine.

Noticed this morning Google Play Services had zapped power at an alarming rate, top of the shop on the battery stats by a mile and I like running with a bright screen so I'll need to look into that.

Happy to have my wee phone working again and back to being able to update through cm updater with ease.

Thanks to everyone for their input and thanks to [MENTION=4800121]Sultanxda[/MENTION] for still updating the OPX ROM. :good:
[OnePlus X Original Android Development] Mayeen:
How did you manage to enter the recovery mode... I had the same problem before as i did the same mistake... I could never manage the phone to enter recovery mode.. and had no choice but to follow the mega unbrick guide...

( Jus curious... I want to know how it happened... )
[OnePlus X Original Android Development] Arbk:
I wish I had a straight forward answer for you Mayeen as to what sent it into recovery but I'm afraid not, I can certainly give you a pointer as to where I was messing around.

BTW I'm glad I'm not on my own in the daft Eejit club :highfive:

I had the OPX connected via USB to a laptop with a terminal command window open, at the same time I had several web pages open for reference, a couple were adb commands (I remember one was 'Ten Basic Android Terminal Commands You Should Know...or something to that effect). Anyway, unlike before I couldn't get adb to see or recognise the OPX using the 'show devices' command, but after a lot of connecting/disconnecting of the OPX from the laptop (at times holding varies mob side buttons, a suggestion take from one of the other open web pages) a USB driver installation window popped up and appeared to successfully install. I redid the 'adb show devices' and the device serial# appeared. I assume it was one of the subsequent adb commands I entered which sent the OPX into the blue twrp recovery window.

Sorry, not the most detailed technical explanation but the best I can recall. The sight of the blue recovery window acted like the memory wipe pen in 'Men In Black', everything that went before didn't seem to really matter, "Houston, we have a recovery menu" :D
[OnePlus X Original Android Development] tript:
Hey everyone, I come to you today, to hopefully solve a problem I am having.

So, I flashed the sultan Rom few weeks ago, and ever since I've been enjoying this phone a lot more.. There were 2 main issues I had with the phone before the flash, which were:

-Really lousy camera (I've been told it should be much better with SultanROM, but I haven't tested it enough to really tell any diff)

-Bad battery life

So here's what I did, I tried following the guide on unlocking the phone in to bootloader and installing TWRP recovery. (I had few issues on this stage because phone wasn't recognized and stuff like that.. after I solved this, everything went on smoothly.)

After I flashed the Sultanrom, GApps, and SuperSU - again, no problems.. Soon as I was done I started tweaking the phone to my liking (namely wallpapers, home launchers, etc)

When I started downloading apps, I had a problem with Snapchat - so I unrooted via SuperSU, and could after login normally.

But after using the phone for a week or so, I noticed that the battery life was really really bad. I can only manage 3h SOT, (Max was 4h but I haven't used LTE/3G that day at all). I tried downloading and installing Amplify and Prevent Running apps, but they require Root acces, which I gave up so I got my snapchat to work.

This is a screen shot of my Battery settings: (I just saw I can't add links to the post since I made an account just for this post, but it basically says which activities take the most battery: Screen 19%, Android System 8%, Android OS 4%, Google Services 3%,... ) (The day I took screenshot my Screen SOT was 3h5min, with 15% battery left)

So as you might have guessed, I'm looking for any advice on how to maximize my battery life? There's this thing that buggs me, on settings -> Battery it says Android System and then Android OS - shouldn't there be only one of those?

Thank you all in advance!
[OnePlus X Original Android Development] bambou:
I have the same issue with those Google play services. There are on a regular basis at the top of the battery stat.

I tried different Gapps with different variant of each one and I couldn't manage to find a solution. I clean the cache and dalvik cache sometimes and it get a little bit better but this issue come back again and again.

But I have to say that even with that issue I have a really decent battery life even when Google play services take 25% of the battery.
[OnePlus X Original Android Development] TECCC:
is it possible to disable immersive mode for Camera ?

best regards
[OnePlus X Original Android Development] Arbk:
Agreed, even with the high Play Store usage battery life was still fairly decent.

I had a play around with settings yesterday and after a day the Play Services usage today appears much improved, way down the battery usage stats at a mere 2% this morning, vast improvement. Whether its a flash in the pan or coincidence who knows but I'll keep an eye on it. The previous Play Services battery stats showed 24%. Like you say this Google Play Services drain seems to come and go like the tide, no sooner have you got on top of it back it comes.

In settings > apps I found the Google Play Services, deleted the cache then hit the 3 dots top right and asked it to uninstall the updates, rebooted then reinstalled the updates from the Play Store. I set the Do Not Disturb on the mob to run from 11pm > 7am. I went back into the settings and into the wireless/network area and unticked all the check boxes under broadcast, if there's a major catastrophe I'll just look out the window or check to see if my feet are wet :p I set the battery mode to 'Balanced' and switched off the sim carrier data, its only a 2 second select when I'm off Wi-Fi, which isn't often. I think that was about it. For reference I dont use greenify or any other power management apps, maybe that's where I'm going wrong :laugh:
[OnePlus X Original Android Development] smayor:
I still facing issues with display rotation.

After some hours it sticks on vertical mode and the only solution is a reboot.
[OnePlus X Original Android Development] MrMysakovichCZ:
Yes, same problem, but not annonying :)
[OnePlus X Original Android Development] Aamod Joshi:
Are you planning to make a LineageOS based ROM or any ROM based on Android N?
[OnePlus X Original Android Development] Dizzyrul3z:
check post https://xdaforums.com/showpost.php?p=70779767&postcount=3223
[OnePlus X Original Android Development] TiedCone:
I decided to give up Lineage ROM - to many issues. It needs time to be able to use it as daily driver. Is it necessary to do clean flash this rom if LOS is on baord now?
[OnePlus X Original Android Development] Krustak:
Yes
[OnePlus X Original Android Development] MrMysakovichCZ:
Sultan I tried to flash on your ROM OxygenOS camera and this camera have slow motion and in Google Photos video is appeared as slow motion and I can choose where will be video slowed down and where will not be. Is it possible to add it to Snap camera? On OxygenOS it is possible (function from iPhones).

If it is possible please add it. Thank you for your work.

Your ROM is the most stable of roms for OPX.
[OnePlus X Original Android Development] cas0404:
Hello, the same for me, after a reboot it works again.
[OnePlus X Original Android Development] gallahand:
Can someone tell me how to switch on network traffic in this ROM?
[OnePlus X Original Android Development] Mayeen:
Isn't there..use a third party app
[OnePlus X Original Android Development] Bram84:
I also run into this every now and then, but the issue was already present for me on the factory ROM. When the screen is stuck in either portrait or landscape (about 50/50), the gravity and accelerometer sensors are frozen. It's most likely a hardware problem. I'll make a screenshot next time I encounter it and check ADB logs if I'm near my PC at that time.
[OnePlus X Original Android Development] mickeymouse2112:
Hi, great ROM!! i just have one question, is there an option that i can dissable one of the two simcards at a specific time? i use my private and work simcard, and after work i would like to not recieve any phonecalls on that number...

---------- Post added at 04:16 PM ---------- Previous post was at 03:20 PM ----------

there is no ON/OFF switch on the right in the simcard settings part...:(
[OnePlus X Original Android Development] stalensnuitje:
I'm experiencing drastically decreased battery life after updating to the 20170220 version this weekend. Only 1,5h SOT?

Anyone facing the same problem?
[OnePlus X Original Android Development] Aamod Joshi:
The battery life is less, but not so less to get me 1.5 hours. I am having battery life of about 7-7.5 hours roughly, on arsenic kernel, with kernel adiutor, I used to get minimum of 13 hours. I don't know if arsenic kernel is compatible with this ROM or not though. If you want to try it out, you may very well do so.
[OnePlus X Original Android Development] mickeymouse2112:
No battery life issues here....even with 2 simcards!
[OnePlus X Original Android Development] Watashi_PT:
Hello,

I can't access Snapchat and i only have this original rom installed, no xposed etc...

Does anybody know some fix for this? It worked in CM14

Regards
[OnePlus X Original Android Development] ZeroNawazaki:
Login your snapchat first before root. It's work for me.

---------- Post added at 01:33 AM ---------- Previous post was at 01:32 AM ----------

-I have problem with WebView(in-build web browser like facebook and Line) sometimes freeze or crashing.

-Line: sometimes black screen...

But this is best rom i love it.
[OnePlus X Original Android Development] Watashi_PT:
Did a dirty flash of the same version and it worked. Thank you very much! :good:
[OnePlus X Original Android Development] mickeymouse2112:
Nobody has an idea on how to disable sim?:(
[OnePlus X Original Android Development] Aiolizator:
Hi,

Try this app, or a similar one :

https://play.google.com/store/apps/details?id=net.pixelrush.dualsimselectortrial

Envoyé de mon ONE E1003 en utilisant Tapatalk
[OnePlus X Original Android Development] mickeymouse2112:
Tried it already aswell as others but i can not disable one of the two simcards...
[OnePlus X Original Android Development] Aamod Joshi:
Snapchat doesn't work when you have a modified system (specially if you have root access or xposed). So you need to remove your root access and then you have to login and then you can root your device or do whatever you want.
[OnePlus X Original Android Development] Krustak:
try tu use Macrodroid

https://play.google.com/store/apps/details?id=com.arlosoft.macrodroid
[OnePlus X Original Android Development] TiedCone:
I decided to give up LOS and installed this rom. Unfortunatelly, I still have problems with gmail synchronization (now even whatsapp gives me delayed info). Either I am not notified or account is not synchronized. I have 4 accounts and even phone has already data access more than couple of hours not every account shows synchro is done or non of them.

Steps I have already done:

- reset app settings

- switched off battery optimalization

- checked app permissions

The last properly working rom for me was CM13 compiled before october 2016. I am aware of network conectivity problems in LOS. Does this rom has something in common with LOS?

I use MacroDroid task to enable gsm data everyday at 6 am. Is it possible that deep sleep is guilty one?

I did not do clean flash but data and system have been formated before I flashed CM13 (ashwin007) backup and then dirty way this rom so this could be the last thing I can do.

Any other hints?
[OnePlus X Original Android Development] Krustak:
Always clean flash if you coming from different rom
[OnePlus X Original Android Development] Aiolizator:
Even when coming from the same rom, if you're facing issues, try a clean flash.

Envoyé de mon ONE E1003 en utilisant Tapatalk
[OnePlus X Original Android Development] TiedCone:
I have already done it. Will see if problems gone.
[OnePlus X Original Android Development] gallahand:
Is there a way to enable dark mode?
[OnePlus X Original Android Development] Aashay:
Nope. You'll have to install a theme.

---------- Post added at 07:28 AM ---------- Previous post was at 07:25 AM ----------

I'm on the latest build. I am not able to access the Facebook app using mobile data. It shows "please check you internet connection". But my net is working. Internet is also accessible. There are no problems while accessing via Wifi. Anyone know a solution for this?
[OnePlus X Original Android Development] cas0404:
Hi,

I can't get to work thetering with this rom, is it normal ? A know bug ?
[OnePlus X Original Android Development] Krustak:
Nope, tethering working for me
[OnePlus X Original Android Development] alabama20:
Anyone else experiencing Bluetooth issues? My Bluetooth keeps turning off by itself and it's annoying af
[OnePlus X Original Android Development] Aamod Joshi:
Came from LOS to this, don't have any problem, even though I have ARISE, Dolby atmos, xposed, multirom mod, camera HAL and a really modified system. I have literally no bugs or issues.
[OnePlus X Original Android Development] alabama20:
I'm using this ROM for months with root, Dolby Atmos yada yada yada and only now experienced this. Maybe it's a doze bug I'm trying to identify the problem
[OnePlus X Original Android Development] liya123:
For me also turn off, i have two different hands-free.
[OnePlus X Original Android Development] alabama20:
I've noticed it first with my Bluetooth earphones and later with my Garmin fitness tracker
[OnePlus X Original Android Development] Dizzyrul3z:
GPS is also turn off after screen off exactly in 5 min.
[OnePlus X Original Android Development] Krustak:
No, I'm using BT headphones without issues
[OnePlus X Original Android Development] alabama20:
It was an app (still not sure which, but resetting the permissions did the trick
[OnePlus X Original Android Development] mickeymouse2112:
No luck either...
[OnePlus X Original Android Development] Teyer:
I've noticed that in the last builds my piston v3 earphones don't work properly. The sound is fine, but the microphone and the controls don't work any more. They used to work with absolutely no problem. Sadly i have no other set of earphones to check if it's just these ones. Anybody else having the same issues?

Edit: Found the problem, it was dirt inside the jack connector hole that wasn't allowing the earphones enter completely. Everything is fine, no problems with the rom. Thanks [MENTION=4800121]Sultanxda[/MENTION] for your execelent job!
[OnePlus X Original Android Development] Tiongkia:
Sometimes its the player u use. Test on another player. I suggest blackplayer.
[OnePlus X Original Android Development] Teyer:
Found that it wasn't actually a software problem :silly:

Thanks for the tip anyway. In my case I use Shuttle+ and have no issues. Is blackplayer much better?
[OnePlus X Original Android Development] elvis303:
My Piston V2 have never worked with this ROM. No problem in OOS but once I changed to CM mic and buttons stopped working. Tried different players. No difference.
[OnePlus X Original Android Development] alabama20:
Lol I just got the Google Assistant :D
[OnePlus X Original Android Development] Teyer:
Seems that I made a typo. Meant to say that I have no issues when using my piston v2. Controls don't work with the default music player but they do great with shuttle+. And [MENTION=2067335]Tiongkia[/MENTION] mentioned that blackplayer also works fine. For phone calls both controls and mic are responsive. As said, in my case the issue was dirt inside the connector.
[OnePlus X Original Android Development] Matthius:
Ever since the Feb 12th Update, with the updates to the GPS HAL, i've been unable to have a blue dot (a secure fix) on Google Maps. Other GPS apps work fine, but since Google's is the best in my opinion, it's weird as to see why it's not working.

I've reinstalled the app, cleared all app cache/dalvik and downgraded to previous versions to ensure it wasn't a bug with the latest version.

In the notification bar the symbol with the location is solid when using the app, implying GPS is working. Google maps isn't recognising this however.
[OnePlus X Original Android Development] nindustrial:
I've had this a couple of times. Hasn't interfered with typing yet as I mostly swipe to type but I have witnessed it.
[OnePlus X Original Android Development] Sultanxda:
It gets more confusing. The nightlies are not using the correct ACDB ID for the speakerphone Fluence usecase, while mine is: https://github.com/sultanxda/androi...13.0-sultan/audio/audio_platform_info.xml#L32

There are already many, many differences between this ROM and the official nightlies.
[OnePlus X Original Android Development] MakDroid:
1 - Don't assign any function to the Double Tap Home Button.
[OnePlus X Original Android Development] derfrosch12:
Silly question: can I flash this rom with stock recovery and no root? Also, has anyone been using it on the Chinese variant (e1001)?
[OnePlus X Original Android Development] cfanmaoli:
Stock recovery is no way, use twrp instead.This ROM works great in China with CMCC's network.
[OnePlus X Original Android Development] trohn_javolta:
Comming from Oos the phone now seems a lot faster, quicker in response. The double power press feature to open camera is also nice, camera opens in an instant.

But I also noticed a weaker radio signal, see screenshot:

On Oos I got a continuous green line. Now I want to know if this has any negative effect on my battery life.

Also if the modem stuff got changed flashing this rom or if it is untouched and taken from Oos.
[OnePlus X Original Android Development] derfrosch12:
I'm not using it in China. I just have the Chinese model and I saw some people complaining that TWRP does not work on E1001.. Just trying to make sure that I won't brick my phone.
[OnePlus X Original Android Development] Exodusche:
I've noticed the instructions say to wipe /data /system. Everytime I've wiped system before flashing Roms I get a bootloop. Do you guys have success after doing system wipe?
[OnePlus X Original Android Development] Odysseus Rex:
That happens in all custom roms, it's just aesthetics, signal is perfect. No effect on battery life at all and flashing modem won't change anything (I already tried it).
[OnePlus X Original Android Development] RodvtPetrick97:
Having trouble with encryption

Hello! Thank you, Sultan, for the excellent ROM. The OnePlus X is my first Android phone and I'm glad I decided to jump onto your ROM, the experience with CyanogenMod has been a lot smoother and nicer than it was with OxygenOS!

I'm having a bit of an issue with encryption though, everytime I try to encrypt my phone, the phone just reboots back to system and nothing changes. Is this an issue with anything besides the ROM, or is it something I messed up, or etc.?

If it matters, I've tried encrypting with both TWRP 3.0.2-0 and the official CyanogenMod recovery flashed.

Thank you for your time, and thank you again for the ROM!
[OnePlus X Original Android Development] :
As far as I know it is because of the ROM, the official CM Nightlies had the same problem. So I guess, you didn't mess up.
[OnePlus X Original Android Development] RodvtPetrick97:
Huh, so I guess I should just wait until this bug gets fixed then?

Has anybody else with an Onyx been able to encrypt on CM13?
[OnePlus X Original Android Development] sand87ch:
do u mean no d2w on home button

i meant the capacitive on screen home buttons..not the hardware ones.did u mean not to have it there?

---------- Post added at 10:58 AM ---------- Previous post was at 10:51 AM ----------

aah now i understand.i dont know wats the name for it..i meant the round button on the screen which brings up the app drawer..thats has a very slight lag in bringing up the app drawer.now do i meake sense..
[OnePlus X Original Android Development] MyrKnof:
Buttons click themself

Cant find any other posts related to this, but I do think its the rom/kernel, as I did not notice it before installing it.

My hardware back/home/recents press themselfs pretty often, which is pretty fustrating. I do have the original screen protector on still, as the phone is only 5 days old. Switched the buttons as back belongs on the left (I come from many years of windows phone)

Kinda hope someone else got this same issue, so its not hardware related :D
[OnePlus X Original Android Development] B0bki11er:
Hey dudes, all it's ok after Reflash ROM, and new package on opengapps (nano now)

All it's ok :)

Thank you again at all !
[OnePlus X Original Android Development] Odysseus Rex:
Not rom related, mate. Or it's a hardware problem, or the screen protector interfering or it's a ghost messing up with you. :cyclops:

AFAIK encryption is not bugged; it's simply not implemented on any cm rom. And if I were you, I would not wait for it to be implemented, because probably it won't (but I may be wrong in that... ask the developers).
[OnePlus X Original Android Development] nxr_:
Adding screenshots to my previous post. Second one is a fresh install.

What's going on to cause so many wakelocks?

I still get good battery life, but I have never seen so much activity.

Edit: they disappear if I turn wifi off. What??
[OnePlus X Original Android Development] RWBY:
I didn't saw any people complain about twrp not work on e1001. Besides, you need to unlocked bootloader and twrp to flash custom rom. You can find many guide about it. My model e1001 and i have no problem flash any rom.
[OnePlus X Original Android Development] jkmangang:
You should not meet any problems at all.

Check if the filesystem of system partition is f2fs..change it to ext4.. Sultan kernel works great with ext4 system partition and f2fs in data and cache partitions.

At first, flash a newest official CM13 ROM to update the firmware, clear system, data and cache, then flash Sultan's ROM followed by Opengapps Nano Gapps package.

Supersu is optional and it should be >v2.65..latest is v2.72beta.

Hope it helps..
[OnePlus X Original Android Development] vorturner:
Why should you wipe system?

Even when you change from stock to cm a factory reset is enough... or am I wrong?
[OnePlus X Original Android Development] TiedCone:
Did not help at all. Since your post I have done 3 clean flashes with this rom and none of them fixed my problems. Synchronization/notification is broken for sure for gmail and whatsapp at least. The same behaviour like on LOS rom. Yesterday I restored my CM13 backup from 20th november 2016 and all problems gone.

I did clean flashes without restoring data at all, with different gapps, supersu and with google backup turned off. I also did reset all permissions and turned privacy off and then I gave up.
[OnePlus X Original Android Development] Somskyy:
new update for sultan cm?
[OnePlus X Original Android Development] Aashay:
Can someone​ please help me fix this?