yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] sgroimax:
I've not any problem whatsapp with. I'm not the right person answered about it.

Instead, about data, I was not understanding that data was referred to network.

On my side, data is referred to data of apps.

There was a misunderstanding.

Sorry for this inconvenient
[OnePlus X Original Android Development] khandelwalgaurav:
No problem. You are more of a s/w guy. I am more of a network guy [emoji3]

ONE E1003 - OXYGEN OS 2.1.3 ROOTED

NEXUS 5- STOCK 6.0.1 ROOTED

---------- Post added at 12:36 PM ---------- Previous post was at 12:36 PM ----------

Woot Woot. Will do today

ONE E1003 - OXYGEN OS 2.1.3 ROOTED

NEXUS 5- STOCK 6.0.1 ROOTED
[OnePlus X Original Android Development] destz0r:
ONE E1003 - OXYGEN OS 2.1.3 ROOTED

NEXUS 5- STOCK 6.0.1 ROOTED

no offense, but why dont u just place this in ur signature? annoying to see this in each post of u & when someone quotes u xD
[OnePlus X Original Android Development] khandelwalgaurav:
Hahaha. Signature gone!
[OnePlus X Original Android Development] dlhxr:
Looking forward to the fix for dev tree.:laugh:

Another problem about home/recents/back buttons haptic feedback. They do not vibrate on short touch, but they do on long touch. And the nav bar vibration works fine. I tried to figure out by looking into other devices' trees, but still don't know where is wrong........:crying:
[OnePlus X Original Android Development] sgroimax:
Ok, tested right now.

At the moment the situation is the foollowing:

- FM Radio was just working on previous version using Spirit2 app;

- In-call volume works perfectly but only press step by step. If i Long press doesn't work....(for me);

Mic on speakers still doesn't work;

- GAPPS issue is fixed. No more play services ingoing pop-ups appears also with localization in mode on.

Google now vocal command stil does't works but I think it is related to mic on speakers issue.

Thats all folks.

Hoping helped ya'll.
[OnePlus X Original Android Development] MasterAwesome:
Oh, MIC worked for me, I'll look into it. Thanks
[OnePlus X Original Android Development] opxju:
i am using V4 while connecting calls using Bluetooth set i am getting back round sound like Buzzer type
[OnePlus X Original Android Development] drakohla:
Hi,

can confirm, Mic on Speakers doesnt work, also Google Voice search.

Thanks for your hard work MasterAwesome
[OnePlus X Original Android Development] sgroimax:
deleted
[OnePlus X Original Android Development] MasterAwesome:
Can someone get me the output of the below command on stock.

adb logcat | grep -i acdb

When using Google now voice recognition and when using mic on speakers?

Above command requires a Linux PC. You can use findstr instead of grep on windows.
[OnePlus X Original Android Development] fraz0815:
While using Google Now Voice Stuff

lars@lars-mint-desktop ~ $ adb logcat | grep -i acdb
D/ACDB-LOADER( 313): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 313): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 313): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 313): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 313): ACDB -> send_audio_cal, acdb_id = 119, path = 1
D/ ( 313): ACDBFILE_MGR: CmnDevinfo for the devid 00000077 not found
D/ ( 313): ACDB_COMMAND: Failed to fetch the aud topo info for devid 00000077
E/ACDB-LOADER( 313): Error: ACDB get adm topology for acdb id = 119, returned = -8
E/ACDB-LOADER( 313): Error: ACDB audproc returned = -1
E/ACDB-LOADER( 313): Error: ACDB AudProc vol returned = -1
D/ACDB-LOADER( 313): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 313): ACDB -> send_audio_cal, acdb_id = 119, path = 1
D/ ( 313): ACDBFILE_MGR: CmnDevinfo for the devid 00000077 not found
D/ ( 313): ACDB_COMMAND: Failed to fetch the aud topo info for devid 00000077
E/ACDB-LOADER( 313): Error: ACDB get adm topology for acdb id = 119, returned = -8
E/ACDB-LOADER( 313): Error: ACDB audproc returned = -1
E/ACDB-LOADER( 313): Error: ACDB AudProc vol returned = -1
D/ACDB-LOADER( 313): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 313): ACDB -> send_audio_cal, acdb_id = 119, path = 1
D/ ( 313): ACDBFILE_MGR: CmnDevinfo for the devid 00000077 not found
D/ ( 313): ACDB_COMMAND: Failed to fetch the aud topo info for devid 00000077
E/ACDB-LOADER( 313): Error: ACDB get adm topology for acdb id = 119, returned = -8
E/ACDB-LOADER( 313): Error: ACDB audproc returned = -1
E/ACDB-LOADER( 313): Error: ACDB AudProc vol returned = -1
[OnePlus X Original Android Development] MasterAwesome:
You're dirty flashing it over something. Wipe data
[OnePlus X Original Android Development] Sundar1995:
I cleaned flashed it but clearing data solved the problem

Thanks :)

I switched just an hour ago from stock to cm 12.1

Sorry I cant give you logcats now.
[OnePlus X Original Android Development] zsoltz:
Just a quick question:

Why play services is deleted on every update when I dirty flash the new version? Maybe I'm using wrong gapps (opengapps nano)? I have to reflash and add my google account after every update.
[OnePlus X Original Android Development] MrSucker:
me too! on other ROMs from other devices isnt that so. i use opengapps nano, too.
[OnePlus X Original Android Development] sgroimax:
Because the updates are not Incremental but full system, kernel, boot and so on image. Then it automatically overwrites the new system onto the old one and so on. Gapps once flashed go to systems/apps. So they are a part of old system and then wiped with new one not gapps included with.

For the account try to flash open gapps mini not nano
[OnePlus X Original Android Development] eng.stk:
[MENTION=5321417]MasterAwesome[/MENTION] good work on v5.0, we are almost there mate.

So far I noticed this requiring TLC:

otg still not working from the box (refer to my post http://xdaforums.com/showpost.php?p=64345967&postcount=694 )

backlight entry on buttons config isn't for our device

volume rocker wake not working on deep sleep

default action for recents (whick is called menu) should be: open recents short tap, menu long tap (it's the other way around in your config)

gapps backup/restore addon.d not working on4.0 (need to test on next dirty flash to be sure)

clock doesn't keep the time without network

add capability to ambient display appear on pickup and/or IR sensor swipe (the pick up would be more important imo)

add power menu configs (add screenshot, sound mode, remove airplane, etc)
[OnePlus X Original Android Development] MasterAwesome:
[*]default action for recents (whick is called menu) should be: open recents short tap, menu long tap (it's the other way around in your config)(Default action as per stock is followed)

[*]clock doesn't keep the time without network(FIXED)

[*]add power menu configs (add screenshot, sound mode, remove airplane, etc)(One can add it in Settings, this is pointless for a regular user)
[OnePlus X Original Android Development] Zecanilis:
I dont know if it helps but in version 4 I had the battery 100 bug. Now that I'm back on 3 I have no bug.

Cheers
[OnePlus X Original Android Development] Sundar1995:
[MENTION=5321417]MasterAwesome[/MENTION] I think we will have an amazing ROM by next update. Thank you
[OnePlus X Original Android Development] snabb:
Sorry for a nob question, but does anybody know if it's possible to install custom roms on ceramic version of OnePlus X?
[OnePlus X Original Android Development] parasthakur37:
Yes mate, there's no difference in the hardware.

Just remember to take a nand backup before you do anything.
[OnePlus X Original Android Development] Sundar1995:
In your Settings->About phone

Check if you device model is One E1003/E1005/E1004.

If it matches with any of the above you may flash this custom rom
[OnePlus X Original Android Development] eng.stk:
Cool :)

The recents behavior (rigth hw button) is not that on OOS (and in other Android ROMs): stock behavior (as in stock Android) is 1 tap (short tap) in right key calls recents.

The long-press in recents in not binded in stock android, but OnePlus made it be default call menu.

The main issue it seems it that right hw key is assigned to menu, when it should be recents (with the hability to make the long press has the user sees fit).

The power menu entries management is default in official CM nightlies, it has it's option on settings.

You have ticks to add (or remove) entries like screenshot, record screen, sound mode, profiles, etc.

For one, If I want to remove the airplane entry from the menu, I can't.

About charging: there's something wonky:

The device says charging, icon is charging, I'm at 93% and the led is with full charge color
[OnePlus X Original Android Development] dlhxr:
Q1: Many users found that the quality of calls is very poor. The man from the other side hears voice with lots of noise and echo. What do you think why it happens?

Q2: And I add some lines in the PhoneWindowManager.java in framework/base/policy/src/com/android/internal/policy/impl/ every time when building so that the hardware buttons vibration works. But it is an only temporary fix, right? Some changes in the device tree could also fix this?

Thank you for your hard work!

View attachment PhoneWindowManager.java.zip

A function

private void setHwKeyVib(WindowState win) {
WindowManager.LayoutParams attrs;
Intent service;
ContentResolver res;

// If a system window has focus, then it doesn't make sense
// right now to interact with applications.
attrs = win != null ? win.getAttrs() : null;
service = new Intent();
res = mContext.getContentResolver();
if(1 == Settings.System.getInt(res, Settings.System.HAPTIC_FEEDBACK_ENABLED,0))//when setting feedback enable
{
performHapticFeedbackLw(null, HapticFeedbackConstants.KEYBOARD_TAP, true); //add by syhost
}
}

And several additons to use the function to vibrate.

setHwKeyVib(win);
[OnePlus X Original Android Development] snabb:
Thank you for quick response. Are sure about it?:)

---------- Post added at 06:58 PM ---------- Previous post was at 06:57 PM ----------

Thanks

I would, but the only problem is that I just ordered it.
[OnePlus X Original Android Development] MasterAwesome:
There's no difference. It should work. Take a TWRP backup before doing anything

Declare a key mapping the event keycode of that key as a VIRTUAL key. That should enable vibration. I was going to add it next build. If you look at the kernel source code you can see that in the synaptics driver https://github.com/MasterAwesome/an...msm8974/blob/5.1.1/include/linux/input.h#L390
[OnePlus X Original Android Development] zipalign:
full charge color applies on 90-100 percent [it's a common cyanogenmod behavior].

you can setup your charging colour via settings > display and lights > battery light, but you can't change the percentage intervals.

otherwise, you can install lightflow [which is a third party app] and let it manage your notifications light.
[OnePlus X Original Android Development] eng.stk:
Ah didn't knew about that, most my devices have no LED or it's monocolor, never saw the behavior.

Not an issue for me, I prefer no LED myself ;)
[OnePlus X Original Android Development] Chronzy:
It's already looking pretty legit. By this time next month he'll probably have band 17 working ;)

Seriously [MENTION=5321417]MasterAwesome[/MENTION], ready with a donation whenever you want to post a link.
[OnePlus X Original Android Development] 2fast78:
After upgrading from V3.0s to V5.0s ambient display isn't working anymore.

Anyone with the same problem?
[OnePlus X Original Android Development] MasterAwesome:
Thanks man :D. I might add the donation link in a couple of days

Yes, ambient display was disabled in build 5.0s as I was changing it a little bit. I'll add it back in 6.0s

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

Can someone get me the output of the below command on stock(

OXYGEN OS

)

adb logcat | grep -i acdb

When using using mic on speakers?

Above command requires a Linux PC. You can use findstr instead of grep on windows.
[OnePlus X Original Android Development] Savya:
Notification Slider in settings?

While browsing through the settings I noticed there are options to change the behavior of the notification slider? Is that a working feature on the oneplus 2? Will it be coming soon to the oneplus X? I don't mean to pressure the dev or be rude by asking this. Just curious when I saw it in settings. Screenshot attached. :)
[OnePlus X Original Android Development] drakohla:
Here you go (while using mic on speakers):

C:\WINDOWS\system32>adb logcat | findstr acdb
D/ACDB-LOADER( 276): ACDB -> send_audio_cal, acdb_id = 7, path = 0
D/ACDB-LOADER( 276): ACDB -> send_audio_cal, acdb_id = 41, path = 1
D/ACDB-LOADER( 276): ACDB -> send_voice_cal, acdb_rx = 7, acdb_tx = 41, feature_set = 0
D/ACDB-LOADER( 276): ACDB -> send_audio_cal, acdb_id = 15, path = 0
D/ACDB-LOADER( 276): ACDB -> send_audio_cal, acdb_id = 42, path = 1
D/ACDB-LOADER( 276): ACDB -> send_voice_cal, acdb_rx = 15, acdb_tx = 42, feature_set = 0
D/ACDB-LOADER( 276): ACDB -> send_audio_cal, acdb_id = 7, path = 0
D/ACDB-LOADER( 276): ACDB -> send_audio_cal, acdb_id = 41, path = 1
D/ACDB-LOADER( 276): ACDB -> send_voice_cal, acdb_rx = 7, acdb_tx = 41, feature_set = 0
D/ACDB-LOADER( 276): ACDB -> send_audio_cal, acdb_id = 7, path = 0
D/ACDB-LOADER( 276): ACDB -> send_audio_cal, acdb_id = 103, path = 0
[OnePlus X Original Android Development] sylentprofet:
[MENTION=5321417]MasterAwesome[/MENTION]

Great job on everything so far!

I brought in your sources to my current build tree and noticed a few things.

Comparing to OnePlus2 / 1, recently they've pushed commits to leverage keyhandler and configpanel from device/oppo/common instead of having the folders locally in the specific device tree.

https://github.com/CyanogenMod/andr...mmit/7478da41a200dc25c0381b518b6c3c6b21568fbd

https://github.com/CyanogenMod/andr...mmit/ffec4bc466ba78ecdb71ad3e4100af556e659a3a

Same goes for cmhw/TapToWake.

https://github.com/CyanogenMod/andr...mmit/dd3dfcc359a4efa54286e634964ad2cbd9daafb6

Seems to build fine when I make the necessary changes in the onyx and BoardConfig.mk files, otherwise I get duplicate errors.

Also - in your directions for creating the localmanifest.xml, it syncs the kernel to kernel/oneplus/onyx

<project name="MasterAwesome/android_kernel_oneplus_msm8974" path="kernel/oneplus/onyx" remote="github" revision="5.1.1" />

But in BoardConfig.mk, line 54

TARGET_KERNEL_SOURCE := kernel/oneplus/msm8974

I tried inserting opx_defconfig into my existing msm8974 sources (from building for OPO) and get missing TARGET_KERNEL_BINARY errors, so I'm keeping the kernels isolated for now and just changing line 54 to kernel/oneplus/onyx to match the localmanifest anyway. Working on merging the two at the moment, since really they should be able to use the same kernel tree.

One last bit of info - I'm using an E1005, and for some reason (as of 4.0, haven't checked 5 yet) the install zip fails at device assert using latest TWRP. I've seen others report the same issue - something like "Expecting device: ONE. Device ' ' not recognized." A quick fix (for now) is to just remove the first line in updater-script, replace it in the zip and it will flash fine.

Thanks again for everything, eager to help if I can.. Feel free to PM me. Have a great day!
[OnePlus X Original Android Development] 186Y:
Clock crash fix / FM Radio app audio issue

- Clean flashed 5.0s with opengapps (mini) and got Clock crash after boot.

- Reclean flashed 5.0s with BasketBuild gapps (gapps-lp-20150222-signed.zip) and no more Clock crash. Everything for me works fine (E1005).

- I am unable to get audio output on the new FM Radio app incorporated in 5.0s. I have tried headphones, external speaker, bluetooth and none work. Although I am able to change to different stations and navigate the app with no problems. Also I took a Titanium Backup of the OnePlus Radio app from Oxygen OS 2.1.3-x and this became the backup of the new FM Radio app for some reason.

- After launching the FM Radio app then launch Spirit2 I get a kernel error in app. Rebooting fixes Spirit2 only if launched before the FM Radio app.

Keep up the great work [MENTION=5321417]MasterAwesome[/MENTION] !
[OnePlus X Original Android Development] bitnerd:
Actually I got the clock crash in 4.0 and still get it at first boot in 5.0. It only happens right there and then doesn't seen to affect the time after that so I don't think it's a problem.

This is with opengapps
[OnePlus X Original Android Development] 186Y:
Were you able to open the Clock app on 5.0s/opengapps? Mine kept crashing when opened and I didn't get any alarms on the lockscreen. I think the basketBuild gapps worked for me because thats what I used to clean flash with 3.0s. I had to skip 4.0s because my dialer and contacts were crashing. Overall the current 5.0s/basketBuild gapps setup has been working flawless all day.
[OnePlus X Original Android Development] bitnerd:
I can't open clock, no, and I haven't tried an alarm on it. Strangely, though, I just tried clock with opengapps 20151219 on two different devices and it crashed on both so it may just be a problem with that version of opengapps? The other device is a Galaxy S5 running CM 13 so there's not much else in common
[OnePlus X Original Android Development] Sundar1995:
Go to Settings->Apps->All

Find Clock app and clear data and cache.

Now your app won't crash whether you use opengapps or basketbuildgapps.

This is how I fixed it and app didn't crash after that.
[OnePlus X Original Android Development] bitnerd:
That fixed it on both devices. Thanks. Hopefully I would have tested the alarm before I next needed it
[OnePlus X Original Android Development] khandelwalgaurav:
Flashing rom was quicker than flashing gapps.. :D

---------- Post added at 04:45 AM ---------- Previous post was at 04:09 AM ----------

Using 400 dpi.. So far good. Lock screen flickered a few times tho. Will keep checking
[OnePlus X Original Android Development] Calvin2394:
Could someone mirror 5.0s on Google Drive? XDA Downloads suck.

[MENTION=5321417]MasterAwesome[/MENTION] will this be okay with you?

Tapatalk'd from my OnePlus X
[OnePlus X Original Android Development] parasthakur37:
There's a fix.

Download from uc browser and when the option comes, select cloud download, it'll upload it to uc cloud in like ten minutes and then you can download it from uc's servers. : )
[OnePlus X Original Android Development] maxweber1981:
I have one question and I hope that nobody trauma. or after a fresh installation of your rom you can toss the kernel blu_spark. I have a weird performance problems and even happens with falls in bootloop.

and even if you can use the application "kernel auditor" and change the battery consumption for a particular frequency. or not because your rom contains already some tuning and for this reason are problems.

Your rom I do like - there are no problems with browsing facebook, as I have it on stockowym ROM. and it is generally faster and better guns all, despite the mistakes that eliminates every release.
[OnePlus X Original Android Development] Wind07:
Blu_spark doesn't work with cm
[OnePlus X Original Android Development] MrSucker:
I have a big issue with battery consumption.

If I have my phone full charged, remains my battery for a minimum of 7 hours at 100% (30 min. screen on, otherwise only standby). Then I reboot my phone and after reboot it starts with 99 %, but in the next hour my battery drains to 85 % (only standby).

Why is my battery consumption only after restart correctly?

(version 5.0s)
[OnePlus X Original Android Development] Wind07:
Incorrect battery stats, always recommended to calibrate your battery after flashing a rom
[OnePlus X Original Android Development] MrSucker:
How?
[OnePlus X Original Android Development] wpan2002:
Umm but is it possible to add Band 17? (Is it even possible i think that is a bootloader not the ROM) that would be nice because my carrier Rogers in Canada is now deploying Band 17 in my area and my signal starts to suck because of it. Also it would be nice if you preload a app to calibrate the battery because alot of people dont know or they dont have the time to find out or have issues doing it. Also Would i loose anything if i flash it on a E1005 (North America) model because i think i see most people using E1003 (EU & Asia) it would be nice if you put up a thing to remove it and install stock locking the bootloader and all the stuff just incase because everyone want to use your good job (I am soo tempted to donate) but if it is unstable in some parts Example: The Data Doesn't work properly and then people can flash back the stock and wait for the next build or they need to send it back to OnePlus.

sorry i just got into the OnePlus community and i dont know any of this
[OnePlus X Original Android Development] Jude Aranha:
I use this. Simple, no gimmicks surprisingly easy to use.

- Install the app

- Charge battery to 100, when it reached 100% keep it plugged in for another 30mins

- After 30 mins, without unplugging the charger, tap on calibrate, when it throws the toast that it's successful unplug and use as normal, and don't charge the battery untill its under 10%

- When you charge it, make sure the cycle isn't interrupted I.e charge it to 100 in one go.

That's it :)

~Tapatalk'd v¡a my OnePlus X
[OnePlus X Original Android Development] loveboy_lion:
there is an entire guide for going back to stock even if phone is bricked

use this guide to fix your device

http://xdaforums.com/onep...icked-t3272108

next time try searching a bit before asking read this for more info about forum guidlines

http://xdaforums.com/showthread.php?t=2054119
[OnePlus X Original Android Development] khandelwalgaurav:
Ummm. Use it till its workin. Plug in power bank when dead lol
[OnePlus X Original Android Development] NightMean:
When I was tinkering with the FM radio app somehow I saw FM Radio transmitter app in my drawer,it was on build 4.0 but now I'm trying to get it appear again but I can't :D I was flashing FM radio app just like now it's built in in build 5.0.But sadly I flashed new build to test it out and had to do clean flash :P Is it even possible to transmit FM through OPX or I need to buy some FM transmitter to plug it to the jack right ?
[OnePlus X Original Android Development] snabb:
https://play.google.com/store/apps/details?id=com.vitula.batterycalibration
[OnePlus X Original Android Development] MrSucker:
No, it doesn't work. :/

Look in bug thread! Its a famous bug.

Hope that the bug will be fixed as soon as possible
[OnePlus X Original Android Development] XqepX:
Apart from that, deleting this special file (which the app does) is not fixing the problem. Someone from Google answered to that problem some time ago. I think what's working is to let your battery die itself, so you won't even be able to put your phone back on and then charge it offline to 100 and repeat that one more time. This actually fixed it somehow for me on other devices :)
[OnePlus X Original Android Development] ukanth:
This same issue was reported to cyanogenmod JIRA (https://jira.cyanogenmod.org/browse/BACON-652) for oneplus one.
[OnePlus X Original Android Development] eng.stk:
I reproduced this today: charged the phone to 100% on my computer and meter stays stuck at 100%.

Reboot to recovery to use some juice reads 99%, it reads correctly from then on when reboot to ROM.
[OnePlus X Original Android Development] parasthakur37:
I reproduced it like 5 days back, they said calibration was bad. Now it's a bug..
[OnePlus X Original Android Development] SpiritBreak3r:
Try this next, leave your phone to charge while you're asleep (as I usually do). Next morning, continue to use the phone, perhaps for hours. Then reboot to your recovery, TWRP will still detect it as 99%.
[OnePlus X Original Android Development] Sundar1995:
True that