yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] sylentprofet:
[MENTION=5321417]MasterAwesome[/MENTION]

Great work!

Bug report: Encryption appears to be broken.

Based on my work the past few days, hardware acceleration is missing an an important piece. It's properly enabled in the defconfig et al, but attempting to encrypt results in nothing.

With some modification, I can get it to encrypt via software, but this is slow and ultimately not useful. I can share the necessary changes if anyone wants to test it out.

I've confirmed that this issue exists in ashwin007's CM13 build as well. Furthermore, it appears that hardware encryption is even broken in OxygenOS (at least as of 2.1.2) sooooo it would seem that OnePlus need to bump up their QA testing.
[OnePlus X Original Android Development] Drakorcarnis0:
Bug report: Screen awakening with no reason.

I believe it's more a feature than a bug but I haven't found yet a way to disable it. When I receive a notification, my screen awakens periodically with black and white colors from time to time. Is there a way to disable it ?
[OnePlus X Original Android Development] loveboy_lion:
Disable ambient display in display settings
[OnePlus X Original Android Development] edwardmlyte:
Couple of questions.

1. I have tried downloading the recovery-twrp.img multiple times (and on different machines/phones), and every time I get a different MD5 hash (65a1421cc645fd403840508706c58026) rather than the one listed on the file download page. Is this an issue? The latest image (9.0) downloads fine.

2. When I do eventually get this recommended twrp installed to get this CM build installed, can I dirty flash to newer versions or is a data wipe necessary each time?
[OnePlus X Original Android Development] khandelwalgaurav:
Use the twrp by bluespark.. apparently the official twrp doesn't let you dirty flash. twrp by bluspark lets you.

http://xdaforums.com/devdb/project/dl/?id=15783
[OnePlus X Original Android Development] edwardmlyte:
Thanks, I've already got that one installed (and am not sure why there are still so many variants, but that's another Q for another forum).
[OnePlus X Original Android Development] xypiie:
After a few days of usage, I can confirm two bugs: tristate button change is sometimes not recognized and battery is always stuck at 100% after unplugging the device in the morning. So I have to reboot it every day to get reliable battery state.
[OnePlus X Original Android Development] dtosun:
I have these problems also.
[OnePlus X Original Android Development] Phoost:
I got battery stuck problem yesterday. It was the first time since I use cm. Started with V2s. :eek:
[OnePlus X Original Android Development] iXius:
Clean flashed V9. My thoughts so far:

- Counterparts hear their own echo, when I use headset mic, they don't. No mic mix flashed.

- Airplane mode doesn't really work. it shows a plane in the notification bar, but calls can still come in and go out.

- Battery stays at 100% after unplugging when fully charged.

Except for those point, all runs super smooth! Thanks for the great work!!!
[OnePlus X Original Android Development] dtosun:
For battery is always stuck at 100% after unplug, we could not see battery performance :(
[OnePlus X Original Android Development] Rossyyy:
Anyone else having a freezing issue where a white light comes on and force reboot is needed
[OnePlus X Original Android Development] Phoost:
Not a big deal. Just reboot after unplug. As written many times in this thread.
[OnePlus X Original Android Development] dtosun:
I know not a big deal, but it is a bug...
[OnePlus X Original Android Development] Drakorcarnis0:
I believed it was due to xposed but in fact no. It was the fact of rebooting that solved the problem. But it come back eventually. I'm forced to reboot each time it happens.
[OnePlus X Original Android Development] Sundar1995:
Today I started getting complaints from callers saying they are getting echo.

Can someone share the link to zip that can fix that
[OnePlus X Original Android Development] Firefly1337:
Quite the contrary - it IS a big deal.

I would need to reboot my phone at least 3 times a day (1: charging over night, 2: car charger - on the way to work, 3: car charger - on the way home).

Not very feasible, don't you think?
[OnePlus X Original Android Development] Nandeh:
No offence mate, but you can easily find it some pages ago in this thread instead ask...

Enviado desde mi Oneplus X
[OnePlus X Original Android Development] Sundar1995:
Sorry about that... Because its around 40-60 pages behind on my phone

I finally found it...I'll look harder next time onwards
[OnePlus X Original Android Development] drakohla:
What lines do you exactly mean?

Or got this try useless in the meantime and I've overread this?

<audio_platform_info>
<acdb_ids>
<device name="SND_DEVICE_OUT_HANDSET" acdb_id="103" />
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="15" />
<device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="10" />
<device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="103" />
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="15" />
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="10" />
<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="40" />
<device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="42" />
<device name="SND_DEVICE_IN_VOICE_DMIC" acdb_id="41" />
<device name="SND_DEVICE_IN_VOICE_REC_MIC" acdb_id="119" />
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="35" />
<device name="SND_DEVICE_IN_SPEAKER_STEREO_DMIC" acdb_id="35" />
<device name="SND_DEVICE_IN_CAMCORDER_MIC" acdb_id="35" />
</acdb_ids>

<backend_names>
<device name="SND_DEVICE_OUT_SPEAKER" backend="speaker" />
<device name="SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES" backend="speaker-and-headphones" />
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" backend="speaker" />
</backend_names>

<pcm_ids>
<!-- empty -->
</pcm_ids>

<device_names>
<!-- empty -->
</device_names>
</audio_platform_info>
[OnePlus X Original Android Development] charliebigpot:
Have you tried with a 3rd party battery app? I'm not on this rom, but maybe you can deactivate the "stock" battery indicator and have another one instead :good:
[OnePlus X Original Android Development] Firefly1337:
I'm not on this ROM anymore, I switched back to stock.

Your solution seems more like a workaround anyway, so nothing I would be satisfied with :)
[OnePlus X Original Android Development] codeglitch:
I had that battery problem with the original rom too, i did try to calibrate it but i never did de reboot. Tbh never bothered me much and while im using this CM rom i still have the same bug
[OnePlus X Original Android Development] dragan012:
Btw, I'm using xposed module Flat Style Bar Indicators for customizing my statusbar and I do not have the issue with the battery indicator....
[OnePlus X Original Android Development] Firefly1337:
Probably because it's not the indicator.

The entire system believes that the battery is at 100%, therefore the indicator shows 100%.

If I go into Settings -> Battery it shows 100% in the diagram, too.
[OnePlus X Original Android Development] dragan012:
that is really weird, because I do not have this issue....I tested it :confused:
[OnePlus X Original Android Development] Firefly1337:
Yeah I did not have this on day 1 either, but on day 2 it appeared so I went back to stock.

Not trying to be rude, but can we please stop this discussion? :)

Several people reported this issue on this thread, so it is clearly a bug. Therefore there's nothing to talk about.

Thanks :)
[OnePlus X Original Android Development] Maikel205:
Just go tot twrp, wipe battery stats and cache, worked for me.

Verstuurd vanaf mijn ONE E1003 met Tapatalk
[OnePlus X Original Android Development] drakohla:
Uncommented this line and can confirm, echo is gone!

(also reverted and echo came back)

v9 clean flashed, with micro opengapps, without any other mods

What I've also noticed, that the mic is extremely sensitive, the other party heard every single footstep from me and all surrounding sounds were extremely loud (this is what they told me during the tests),

<audio_platform_info>
<acdb_ids>
<device name="SND_DEVICE_OUT_HANDSET" acdb_id="103" />
<device name="SND_DEVICE_OUT_SPEAKER" acdb_id="15" />
<device name="SND_DEVICE_OUT_HEADPHONES" acdb_id="10" />
<!--device name="SND_DEVICE_OUT_VOICE_HANDSET" acdb_id="103" -->
<device name="SND_DEVICE_OUT_VOICE_SPEAKER" acdb_id="15" />
<device name="SND_DEVICE_OUT_VOICE_HEADPHONES" acdb_id="10" />
<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="40" />
<device name="SND_DEVICE_IN_SPEAKER_MIC" acdb_id="42" />
<device name="SND_DEVICE_IN_VOICE_DMIC" acdb_id="41" />
<device name="SND_DEVICE_IN_VOICE_REC_MIC" acdb_id="119" />
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="35" />
<device name="SND_DEVICE_IN_SPEAKER_STEREO_DMIC" acdb_id="35" />
<device name="SND_DEVICE_IN_CAMCORDER_MIC" acdb_id="35" />
</acdb_ids>

The speaker fix zip file fixes both issues for me!

Hope this helps.
[OnePlus X Original Android Development] trendchanger:
For all those reporting battery bug..its available in stock rom too..so just ignore it by a simple Reboot!
[OnePlus X Original Android Development] rookey:
brilliant, thanks for the great work!

I'll just wait till in-call recording works as well and then burn.... wow!
[OnePlus X Original Android Development] sydeu:
it happened zero times on stock for me, and 100% (no pun intended) on this ROM. Of course I will continue using this because it's superior in many other ways but hopefully the bug will be solved eventually.
[OnePlus X Original Android Development] blackknightavalon:
Download an SD fix app from the Android Market.

Sent from my toaster
[OnePlus X Original Android Development] charliebigpot:
Sorry buddy, but that's just not true. There is no such bug on the stock Rom.
[OnePlus X Original Android Development] spike7701:
Yes. The stock Rom has no Battery Bug. I´ve tested Cyanogenmod and Stock Rom on two Onyx and two Ceramic Models (European Version). All OPX has the same Battery Bug (100%) with Cyanogenmod and Euphoria-Rom. And with Cyanogenmod Build 9 there is an terrible Echo at opposite. :(

I´ve changed now to Stockrom :( And it´s everything ok!

[IMG="Screenshot"]http://fs5.directupload.net/images/160107/jllgxavf.png[/IMG]
[OnePlus X Original Android Development] koolviks:
No offense but the battery stat bug and echo bug has been discussed 100 times in several earlier posts in this thread. Posting them again will not get it fixed.

But thanks for testing it on different models and ROMS. Cheers.
[OnePlus X Original Android Development] totore86:
For me no echo in EU verion onyx v9 cm12.1

Inviato dal mio ONE E1003 utilizzando Tapatalk
[OnePlus X Original Android Development] BakaPhoenix:
I want to ask the people that report no echo if they know that the echo is on the other side of t he call, not for the oneplus x user
[OnePlus X Original Android Development] Psych0_D0g:
echo is there, version 9s european e1003.

Even if i close up one of the two microphones i know of.

Something that was mentioned earlyer if i recall correctly was the suspicion that the noise canceling mic gets transmitted aswell, i can confirm this, holding close the main phone microphone and slightly blowing inside the noice canceling mic can be heard fine on the other end of the call
[OnePlus X Original Android Development] codeglitch:
Try flashing the fix recomended by this user on page 136 i think, and thank him :)
[OnePlus X Original Android Development] Ashareth:
I still wonder why the needs for flashing c-apps for this fix ? The AudioFX app i guess ?

Be careful with their dialer, it's integrating Truecaller that is basically scanning and sending all your contacts info/phone numbers to Truecaller's db and that can be a problem for quite some people.

But i guess you can flash the capps and then uninstall them all and only keep AudioFX (i don't see how any other one could be needed for the audio fix).

Would be nice if the fix could be mentioned (and linked) in the op post (not integrated to the Rom just mentioned and linked) so people know about it and don't have to read back into quite some pages to find it (or have others repost it regularily).
[OnePlus X Original Android Development] spike7701:
Hey, i thought not. Most people in the thread say they have not the battery bug on here device. And i´m wondering.
[OnePlus X Original Android Development] codeglitch:
c-apps is for "In-call recording", the echo fix you should only need the second zip, "2. For In-call Speaker Mic : Speaker Fix for CM12.1 by MA"
[OnePlus X Original Android Development] mohammedtabish:
will the mic fix will work on cm13 also and can you tell me more about this mic bug

i cant test cause my opx is gone for repair

sorry for bad english
[OnePlus X Original Android Development] CrazyChester:
I have te same problem with 9.0 build and the fix. Has anyone fix it? or know how to fix it? It kills all my motivation while doing exercise :(
[OnePlus X Original Android Development] 2fast78:
[MENTION=5681158]CrazyChester[/MENTION]: I took the patch and removed the a2dp lib. Now echo is fixed and Bluetooth is working fine ?

Gesendet von meinem ONE E1003 mit Tapatalk
[OnePlus X Original Android Development] Szaby59:
I have the phone for 4 weeks, fully charged many times using the original charger/usb cable+PC and no battery percentage bug (yet) on Oxygen OS.

Haven't tried CM12 though just wanted to share my experience with the stock rom. I have "almost" stock system - rooted, but without flashing a custom recovery.
[OnePlus X Original Android Development] codeglitch:
I really don't know if that will work
[OnePlus X Original Android Development] CrazyChester:
Just dirty flashed ROM then did what you said and now bluetooth is working! I will try the echo bug tomorrow. You man just saved my life ?
[OnePlus X Original Android Development] ThePietn1:
Speaker fix without Bluetooth bug

I quickly made two flashable zips for the speaker fix without Bluetooth bug, to make life easier for everyone.

The first one is basically the speaker fix, just without the Bluetooth bug.

The second one is for those who already flashed the old speaker fix, this will fix your Bluetooth.

Full credits go to [MENTION=4544019]ravinder0003[/MENTION] for the speaker fix and [MENTION=4761854]2fast78[/MENTION] for the idea of removing the a2dp lib file! :D
[OnePlus X Original Android Development] batam:
Hey you are awesome guys.

Thanks for all the work.

I managed to fix my issues with your posts.
[OnePlus X Original Android Development] niels_kievits:
Ik can confirm the Bluetooth fix for speaker fix works :). Thanks ThePiet1.
[OnePlus X Original Android Development] Szaby59:
Just installed build 9 and I could not connect to my wifi router with DHCP I set a static IP in OPX advanced wifi settings and now works.

According to the admin interface the router gave an IP for device but the OPX still showed "Obtaining IP Address".
[OnePlus X Original Android Development] NightMean:
Does anyone else have this problem ? I'm using both sim cards and when I call to any of them the caller it's laggy.For the first time it's not that laggy but when I call second time it's more laggy than before.Doesn't matter if it's TrueCaller or stock Google Caller.I'm on v5 but I tested this also on v8.Didn't tried v9 yet.

[YOUTUBE]Ob3WYaJzB7g[/YOUTUBE]
[OnePlus X Original Android Development] chefen.chef:
Hi any one has fix on the voice noise? People are complaining on the other end heh
[OnePlus X Original Android Development] Szaby59:
Another issue, the CPU won't go under 1.57 GHz. I played an mp3 with PowerAMP+Screen off the phone stayed at 1.57 GHz while the same would be around 200-400 MHz on Oxygen OS. Deep sleep works, just the min. frequency is too high.

Downloaded Kernel Auditor (since CM removed the old CPU settings option...) from Play and the min CPU was set to 1.57 GHz by default. Lowering this solved the issue.

Edit: Changing battery percentage to the second option (inside the icon) is also problematic - it's not showing up on the homescreen after reboot but it's working on locscreen or when I swype down the notification panel. Works again if I set it manually after reboot.
[OnePlus X Original Android Development] sgroimax:
[MENTION=5321417]MasterAwesome[/MENTION]: Hi mate, have u got my file in PM? is it what you need?
[OnePlus X Original Android Development] MasterAwesome:
You could try building it but idk if I fixed the sensors in my source I forgot to check that one while testing. The thing is I don't really have my PC now I'll probably get it tomorrow so I'll build then I guess.
[OnePlus X Original Android Development] charliebigpot:
Here it is folks, now stop asking for builds or release dates.

Notice that there's "probably" and "I guess" in the same sentence - just be patient, people have a life outside of android development too.
[OnePlus X Original Android Development] jonas2790:
[MENTION=5321417]MasterAwesome[/MENTION]

Just finished a build from your sources, unfortunately it doesn't boot. I can't even tell what the problem is as adb was disabled (userdebug build) and there was no last_kmsg, so probably the kernel wasn't booted.

Did you use some other repos except device, vendor and kernel?
[OnePlus X Original Android Development] Quasar:
It's because of the source built dtb. Use a prebuilt DT.img. You could replace the one in the kernel with one that works.
[OnePlus X Original Android Development] jonas2790:
Hmm, it's booting now, but SetupWizard is crashing... [MENTION=5585603]Quasar[/MENTION], thanks for the help with the dtb.
[OnePlus X Original Android Development] MasterAwesome:
adb shell pm disable com.cyanogenmod.setupwizard
[OnePlus X Original Android Development] jonas2790:
Thanks, I already got it running.

Doesn't look very good actually. Wifi, ril, audio, camera and much more things aren't working, maybe you forgot updating a repo or I used the wrong branches...

I'll try to fix some things today.
[OnePlus X Original Android Development] h2o64:
:o
[OnePlus X Original Android Development] Quasar:
It's not very ethical to put a non-working tree on GitHub and claim it to be the trees for the ROM. :|
[OnePlus X Original Android Development] parasthakur37:
Quasar I would really appreciate if you work on your build?
[OnePlus X Original Android Development] Quasar:
Sure I would, had prelims not been 3 days away, and the team has some other priorities, so the onus is on MasterAwesome.
[OnePlus X Original Android Development] parasthakur37:
Well seeing that he's the only dev working rn, I don't think it's unethical.
[OnePlus X Original Android Development] Quasar:
I don't really think you get the point, but alright. You can shoot me an angry PM and I'll explain what I mean there.
[OnePlus X Original Android Development] MasterAwesome:
Well, WiFi should work on bacon even without any modifications maybe you're building kernel without prima. Just wait till I release a build.
[OnePlus X Original Android Development] MasterAwesome:
It's not very ethical if I release a build and don't update the repos. I didn't even release the working build. I hadn't updated the repos. I've updated it now BTW.
[OnePlus X Original Android Development] Quasar:
Well, there's no problem, then. Cheers.
[OnePlus X Original Android Development] Thecrazyskull:
Looking at your available repo's, its just 90% [MENTION=4792450]h2o64[/MENTION] 's tree with a different commit history and 0.0% real authorship. (Not committing under your name and saying author=h2o64 like you did with the dtbtool commit. Instead do git commit --amend --aurhor='name' <email>. And what you did here, https://github.com/MasterAwesome/an...4cffa#diff-092638f0a83de58915225014f4d6a4edR2 Chaning the header while cm did way more work there than you did, is just unaproprieate. If you care so much about a header, add your name under it an don't remove the original header since there is still tons of stuff in there which is cm's work (on bacon))

You really should consider redoing your trees with proper authorship where it should be.
[OnePlus X Original Android Development] MasterAwesome:
Is it fine now? I didn't know about the amending author part, sorry
[OnePlus X Original Android Development] Benjamin Dreyer:
Authorship looks fine.

Consider submitting your port to Cyanogenmod in case everything is working. This will ensure full support for the device. Till now, no official statement was made regarding CM12/13 for OPX.
[OnePlus X Original Android Development] saurabh40629:
nope. mine is set to 300 mhz. I flashed several builds, never had this problem.
[OnePlus X Original Android Development] Szaby59:
I disabled the automatic switch between performance modes in Battery settings then tried both performance and balanced modes just for a benchmark run to see the difference - this may have something to do with it. Now doesn't matter if I change it back still the same but at least works with Kernel auditor.

Edit: Charging with the adapter is slower, 2:10 minutes and still on 74% - usually would be 90+ or fully charged by now.

Edit2: Looks like repluging the charger fixed it, Ampere showed 50-80 mAh with the adapter, after disconnecting and reconnecting jumped to 1200 mAh.
[OnePlus X Original Android Development] batam:
Mine is set to 300MHz .
[OnePlus X Original Android Development] Rossyyy:
where did [MENTION=5321417]MasterAwesome[/MENTION] go?
[OnePlus X Original Android Development] sarthakspiker:
Exams I guess

Send from my OnePlus X
[OnePlus X Original Android Development] Rossyyy:
Is he a uni student?
[OnePlus X Original Android Development] Sundar1995:
Yup....he's doing his engineering now.
[OnePlus X Original Android Development] Szaby59:
Not sure if this is an intentional CM thing or a bug, but on Oxygen after disabling Airplane mode the phone didn't ask for PIN code (again). But with this rom it does. Is there an xposed module or workaround to change this behaviour ?
[OnePlus X Original Android Development] blackknightavalon:
Not on my device. Check your system settings thoroughly.
[OnePlus X Original Android Development] Szaby59:
The only option in settings regarding this is to ask for PIN or not, I have it enabled but i think it should only ask for PIN at boot.

I wonder if could be a problem with the TWRP I flashed, in the main thread the link is still for the older version but I flashed the newest from the download section: recovery-twrp.img - 2016-01-02 06:57
[OnePlus X Original Android Development] batam:
I have the same thing : it asks for PIN code everytime I come out from Airplane mode.

Quite annoying, but I didn't find any workaround yet.

I am on French operator.

---------- Post added at 11:23 AM ---------- Previous post was at 11:22 AM ----------

It's having this behavior with default settings.
[OnePlus X Original Android Development] MasterAwesome:
Yup, exams... It should be over by Feb.
[OnePlus X Original Android Development] primemonitor:
Take your time. Best of luck :good::)
[OnePlus X Original Android Development] charliebigpot:
Just a thought, maybe you can ask to close the thread until you are done with the exams and can continue developing?

We know all the bugs already and you'll most likely only have "when-next-update" and "where-are-you-dev" questions here.
[OnePlus X Original Android Development] yvessparks:
Dude, best of luck on your examns!
[OnePlus X Original Android Development] Mojar7070:
Sir, Thank you for your hard work and time. Go take care of your schooling. :D:good:
[OnePlus X Original Android Development] trendchanger:
Better to close thread fr time being...:cool::)
[OnePlus X Original Android Development] sarthakspiker:
All the best bro.. What's your college's name ?

Send from my OnePlus X
[OnePlus X Original Android Development] MasterAwesome:
New Build Added

Download Link: Build 10.s - STABLE

Changelog

Use DMIC acdb ids for speaker-mic

Security Patch Level of Jan 1, 2016

Include Snapdragon Camera from https://www.codeaurora.org/cgit/quic/la/platform/packages/apps/SnapdragonCamera/
[OnePlus X Original Android Development] Jude Aranha:
This means that echo etc is fixed ?

~Tapatalk'd v¡a my OnePlus X
[OnePlus X Original Android Development] MasterAwesome:
I'm not really sure, I need someone to test it.