yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] sydeu:
I'm trying to build cm from source for the first time ever and I'm having some problems.

make: *** No rule to make target `/home/markus/android/system/out/target/product/onyx/obj/KERNEL_OBJ/usr', needed by `/home/markus/android/system/out/target/product/onyx/obj/EXECUTABLES/adbd_intermediates/adb.o'. Stop.

####make failed to build some targets (01:06:11 (hh:mm:ss)) ####

Anyone knows what's up and could give me some tips?
[OnePlus X Original Android Development] Phoost:
Awesome work. Never thought we get a stable cm in this short time. Great.
[OnePlus X Original Android Development] NightMean:
source it's not yet updated with fixes for the tri-state key,gestures and mobile data I think MasterAwesome will update it when he will release new build
[OnePlus X Original Android Development] sydeu:
yeah i know, but I thought I might as well learn this now and maybe it will be useful in the future :) But thanks for the warning!
[OnePlus X Original Android Development] parasthakur37:
I might be late but here's what you asked for

root@OnePlus:/ # su 0 busybox stat /dev/sensors

File: /dev/sensors

Size: 0 Blocks: 0 IO Block: 4096 character special file

Device: bh/11d Inode: 9239 Links: 1 Device type: f8,0

Access: (0600/crw-------) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN)

Access: 1970-03-01 09:50:39.000000000

Modify: 1970-03-01 09:50:39.000000000 Change: 1970-03-01 09:50:39.000000000

u 0 busybox stat /dev/socket/sensor_ctl_socket <

File: /dev/socket/sensor_ctl_socket

Size: 0 Blocks: 0 IO Block: 4096 socket

Device: bh/11d Inode: 9034 Links: 1 Access: (0766/srwxrw-rw-) Uid: ( 0/ UNKNOWN) Gid: ( 0/ UNKNOWN) Access: 2015-12-11 15:45:03.000000000

Modify: 2015-12-11 15:45:03.000000000

Change: 2015-12-11 15:45:03.000000000

sys/devices/virtual/optical_sensors/proximity <

stat: can't stat '/sys/devices/virtual/optical_sensors/proximity': No such file or directory
[OnePlus X Original Android Development] NeroD:
Hey can you please update your sources when you fix something?
[OnePlus X Original Android Development] E-nr:
Good to see progress here. Just PM me here if there's anything you need from our end. :angel:

- your friendly OnePlus rep
[OnePlus X Original Android Development] MasterAwesome:
Good news

Fixed proximity sensors

arvind@MasterAwesome:~$ adb shell su 0 test-nusensors | grep prx -i
sensor=Prx, time=2058859690610, value=0.000000
sensor=Prx, time=2059160593930, value=5.000000
sensor=Prx, time=2059762888852, value=0.000000
sensor=Prx, time=2060063731137, value=5.000000
sensor=Prx, time=2060365092221, value=0.000000
sensor=Prx, time=2060866587583, value=5.000000
sensor=Prx, time=2061167979184, value=0.000000
sensor=Prx, time=2061669505063, value=5.000000
sensor=Prx, time=2061870341245, value=0.000000
sensor=Prx, time=2064178690854, value=5.000000
sensor=Prx, time=2064580485288, value=0.000000
sensor=Prx, time=2064780894223, value=5.000000
sensor=Prx, time=2065784556333, value=0.000000
sensor=Prx, time=2067390116635, value=5.000000
[OnePlus X Original Android Development] mohammedtabish:
All hail masterawesome
[OnePlus X Original Android Development] RinoFxx:
So now all the important bugs are fixed, right? Very good work [MENTION=5321417]MasterAwesome[/MENTION]

Inviato dal mio ONE E1003 utilizzando Tapatalk
[OnePlus X Original Android Development] NightMean:
If everything is fixed it's time to release new build ! :D
[OnePlus X Original Android Development] sgroimax:
[MENTION=5321417]MasterAwesome[/MENTION]: u are the man. U are the dev. U are the God. Thanks you very much indeed for your hard and intensive application on this development. Thanks thanks thanks

Now the only missing thing is the ROM flashable zip. Hoping to find it before Christmas but no matter. Your private life comes before everything. Keep in touch mate
[OnePlus X Original Android Development] MasterAwesome:
I'll be moving to cm13.0 soon
[OnePlus X Original Android Development] MasterAwesome:
This ^. I've been getting PMs about asking me to "update sources quickly". Please have patience, I'll upload it.
[OnePlus X Original Android Development] TikiThePug:
I know the feeling bro. Being an app dev myself, it's like you're doing magic and are expected to spend your whole life on it. We will be patient here on XDA for the new build, don't sweat it.

On a side note, do you know if the camera issue on CM for this device is fixed? I'm talking about the one with the freeze upon taking a picture and requiring a reboot to get back to normal.

I've been pressing the thanks button every chance I can, and I don't think even that's enough. Thanks for your dedication and outstanding work.
[OnePlus X Original Android Development] SpiritBreak3r:
There's no issue with the camera afaik with the latest build(currently uploaded).
[OnePlus X Original Android Development] :
Thread cleaned of some off topic posts. Seems I could keep going, but hopefully the point is made.

Please, no need to post thanks, just use the button. This is a development thread.

And stop asking about updates and future work. It's simply disrespectful. Devs do this for fun and for free and owe no one anything. Wait patiently and quietly for updates. Or build your own Roms.

Back on topic now, k? :good:

Thank you,

Darth

Forum Moderator
[OnePlus X Original Android Development] MasterAwesome:
Build Added

MA-12.1-20151212-onyx.zip

Benchmark

[IMG="Antutu"]http://xdaforums.com/attachment.php?attachmentid=3574059&stc=1&d=1449939466[/IMG]
[OnePlus X Original Android Development] NeroD:
Proximity works.

Mobile Data works.

Gesture work.

Good work.
[OnePlus X Original Android Development] abel.jacob:
Awesome!
[OnePlus X Original Android Development] NightMean:
Awesome !! Going to try it right now ! :)

Let the development of Roms begin ! :D
[OnePlus X Original Android Development] RinoFxx:
Can i flash it with twrp from eng.stk or an other recovery? Where are the gapps?

Inviato dal mio ONE E1003 utilizzando Tapatalk
[OnePlus X Original Android Development] SpiritBreak3r:
Was able to flash it with TWRP R5 by eng.stk. For gapps, try Delta. (flashed nano)

PS: I was able to boot by dirty flashing. (Had xposed uninstalled first)
[OnePlus X Original Android Development] NightMean:
I did flashed it with twrp from eng.stk,You can find Gapps by searching in google

I'm using TK GApps
[OnePlus X Original Android Development] NightMean:
I'm scrolling through the settings and found you included haptic feedback :3
[OnePlus X Original Android Development] sarthakspiker:
Waiting for feedback :D
[OnePlus X Original Android Development] SpiritBreak3r:
[MENTION=5321417]MasterAwesome[/MENTION]

As usual, awesome stuff. I flashed it immediately(dirty) and everything seems to be fixed except few things.

- Are the hardware keys still mapped to Menu and Back? (Default swapped)

- Hardware keys do not seem to respond with haptic feedback, which I constantly reported as a bug twice. The Setting in Sound * Notification does seem to affect it. Could you kindly look into it?

Thanks!
[OnePlus X Original Android Development] MasterAwesome:
Hardware keys are Swapable in the gestures menu in settings.

I'll add the haptic feedback for hardware keys next build.
[OnePlus X Original Android Development] SpiritBreak3r:
Cool! Could you also remap the menu key to recents?

Secondly, The Haptic feedback switch in Gesture doesn't seem to be switching.(I turn it on, it switches back to off), But by default it's set to on.
[OnePlus X Original Android Development] carstenheuer:
i got an error with both twrp r5 and normal version :/
[OnePlus X Original Android Development] trendchanger:
Awesomeeeeeee...love u :cool::cool:
[OnePlus X Original Android Development] NightMean:
I found the settings for the tri-state key in Gestures but I can't access the options,Is it disabled for now ?

Edit:I found that the Haptic Feedback is turning off when I left the settings and go back but it seems like it's still working tho :D
[OnePlus X Original Android Development] iAyush:
Sorry if it's a noob question, but if I flash Blue spark's TWRP from command prompt and then install CM12 through the TWRP, will it work fine?

New to this. Help appreciated!
[OnePlus X Original Android Development] XqepX:
Me too..
[OnePlus X Original Android Development] NightMean:
Yes,you are supposed to flash it like that

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

What was the error ?
[OnePlus X Original Android Development] MasterAwesome:
Just use the latest recovery from the downloads section. Wipe data/factory reset. Wipe cache flash this and gapps and reboot
[OnePlus X Original Android Development] XqepX:
I did. May the error occurs because I have the 1003?
[OnePlus X Original Android Development] iAyush:
Sorry again, but what recovery.img should I download? There are 3 recovery.img in the Downloads section.
[OnePlus X Original Android Development] charliebigpot:
To be on the safe side I'd take the most recent one, the one with today's date in the date column :cool:
[OnePlus X Original Android Development] XqepX:
Deleted "assert" commands from updater script

UPDATE:

I deleted the assert commands at the beginning in the updater script.

Flashed and booted successfully. I hope it's not bad to delete this ^^
[OnePlus X Original Android Development] akulata:
Wooow. Awesome. Great job bro.
[OnePlus X Original Android Development] nachiketa.ramesh:
How on earth did you manage to pump up the heat to that Antutu score? Wow, thats just insane.
[OnePlus X Original Android Development] NeroD:
Hey [MENTION=5321417]MasterAwesome[/MENTION] remember me from canvas 4 forums?
[OnePlus X Original Android Development] demolatorul:
Nice to see you here awesome, stil got the moto g?
[OnePlus X Original Android Development] MasterAwesome:
How can I forget? What's up man
[OnePlus X Original Android Development] MasterAwesome:
Yup. Ain't nobody giving up that cool phone

Yeah WiFi and camera can be fixed easily enough but I'm trying to get RIL to work first.
[OnePlus X Original Android Development] Janity:
Thanks for your effort and work! Well appreciated.

Keep it up! Looking forward to using cm on this great device :)
[OnePlus X Original Android Development] NeroD:
Awesome dude.. Nice to see you here:laugh:
[OnePlus X Original Android Development] ashwin007:
I'm surprised how the WiFi works even without prima HAL ,how did it build without exporting audio_effects header,and how did radio code build without ricardo's fix(in your kernel )and where did vendor blobs go?Kindly release sources for your builds and kindly read this:

http://xdaforums.com/showthread.php?t=2645321
[OnePlus X Original Android Development] MasterAwesome:
Yeah, I added those in my local tree. I was going to push it once everything was working

Ricardo's fix? which one?
[OnePlus X Original Android Development] OldDroid:
Boardconfig.mk additions:

# RIL
COMMON_GLOBAL_CFLAGS += -DUSE_RIL_VERSION_10
COMMON_GLOBAL_CPPFLAGS += -DUSE_RIL_VERSION_10

OPX still uses the old v10 ril, not v11 ;)
[OnePlus X Original Android Development] MasterAwesome:
Shouldn't you remove those flags. OPX uses v11

EDIT:

CHECK THE edited log in the previous reply

AUDIO_LOGS:

/NuPlayerDriver( 243): reset(0xb5873dc0)
D/NuPlayerDriver( 243): notifyResetComplete(0xb5873dc0)
D/NuPlayerDriver( 243): reset(0xb5873dc0)
D/NuPlayerDriver( 243): start(0xb5873e80)
I/GenericSource( 243): start
W/Utils ( 243): bool android::canOffloadStream(const android::sp<android::MetaData>&, bool, const android::sp<android::MetaData>&, bool, audio_stream_type_t) No sample bit depth info in meta data
I/str_params( 243): key: 'SND_CARD_STATUS' value: ''
I/ExtendedUtils( 243): No channel mask, try channel count
W/ExtendedUtils( 243): No bitrate info
I/ExtendedUtils( 243): decision 0 mime audio/vorbis
I/AudioPolicyManager( 243): PCM offload property is enabled
I/NuPlayer( 243): Could not offload audio decode, pcm offload decided :0
W/Utils ( 243): bool android::canOffloadStream(const android::sp<android::MetaData>&, bool, const android::sp<android::MetaData>&, bool, audio_stream_type_t) No sample bit depth info in meta data
I/str_params( 243): key: 'SND_CARD_STATUS' value: ''
W/AudioPolicyManager( 243): getOutput() could not find output for stream 3, samplingRate 0,format 0, channels 3, flags 8
W/NuPlayerRenderer( 243): openAudioSink: non offloaded open failed status: -19
E/NuPlayerDecoder( 243): Failed to open AudioSink on format change for OMX.google.vorbis.decoder (err=-19)
E/NuPlayer( 243): received error(0xffffffed) from audio decoder, flushing(0), now shutting down
E/MediaPlayer( 1745): error (1, -19)
E/MediaPlayer( 1745): Error (1,-19)
E/MediaPlayer( 1745): start called in state 0
E/MediaPlayer( 1745): error (-38, 0)
E/MediaPlayer( 1745): Error (-38,0)
D/NuPlayerDriver( 243): reset(0xb5873e80)
D/NuPlayerDriver( 243): notifyResetComplete(0xb5873e80)
D/NuPlayerDriver( 243): reset(0xb5873e80)
[OnePlus X Original Android Development] OldDroid:
so far what i saw our device uses v10 ... normal build picks the v11 additions in hardware/ril if nothing else is defined, but all those errors come from exactly this v11 definitions in the hal, so try to kick a build and check, this was just a fast overlook, nothing else
[OnePlus X Original Android Development] MasterAwesome:
Yeah, I did RIL v11 doesn't work perfectly but some errors are solved. It now connects to the rild socket. I didn't really look into the log properly, I'll do it tomorrow.
[OnePlus X Original Android Development] f1dotcom:
Cant wait for the stable version to come out so that I root it immediately.
[OnePlus X Original Android Development] CamoGeko:
Awesome job, waiting for stable.
[OnePlus X Original Android Development] chriswcs:
Very interested in the progression of this. Keep it up!
[OnePlus X Original Android Development] MasterAwesome:
Fixing RIL.

----

I've got a new build. I still got to test it. I'll give an update to tell you how that goes
[OnePlus X Original Android Development] MasterAwesome:
FIXED RIL

[IMG="RIL update"]http://xdaforums.com/attachment.php?attachmentid=3555631&stc=1&d=1448509615[/IMG]

Should fix Audio and Camera and then I'm done
[OnePlus X Original Android Development] abel.jacob:
Awesome! :)
[OnePlus X Original Android Development] parasthakur37:
Amazing mate. Thanks for your work.
[OnePlus X Original Android Development] SpiritBreak3r:
Important Note:

Do not Flash v78 22-SDK Xposed Module. It's causing bootloops. Use v75 instead.(Google)
[OnePlus X Original Android Development] sarthakspiker:
On stock OOS 2.1.3-X no mods or kernel
[OnePlus X Original Android Development] rooban90:
How to enable on-screen button on the latest build. Does it have an option for that?
[OnePlus X Original Android Development] NightMean:
Well I'm running fine with v78

---------- Post added at 07:33 PM ---------- Previous post was at 07:31 PM ----------

Btw I still have the clock sync bug from build before but as before it will fix itself :D
[OnePlus X Original Android Development] nachiketa.ramesh:
Not doubting his score. Just expressing my shock, awe and super respect XP
[OnePlus X Original Android Development] destz0r:
what do u mean by clock sync bug?
[OnePlus X Original Android Development] carstenheuer:
i have 1003 too! how btw where i can delete the commands??
[OnePlus X Original Android Development] sydeu:
Possible bug:

Changing behavior of recent button doesn't change anyhing. It's still short press menu button and long press recent apps. Also no option for long press on back button.

My usual setup (button 1 is left, 2 middle, 3 right)

1. short press recents menu

2. short press home, long press screen off

3. short press back, long press last app.

For now the best i could do was

1. long press recents

2. perfect

3. short press back
[OnePlus X Original Android Development] sarthakspiker:
Just wait till things get turbo charged :D
[OnePlus X Original Android Development] NightMean:
When your phone boots it have the right time but when you will restart device(not soft reboot) the time will be different but it will sync in like 30 sec
[OnePlus X Original Android Development] SpiritBreak3r:
U w0t m8? CM12.1 ;)

PS: I don't think we can surpass 50k, perhaps antutu is containing the scores?
[OnePlus X Original Android Development] sarthakspiker:
Haha.. Once it's smooth it must cross at least 60k
[OnePlus X Original Android Development] myweca:
Would like to know as well!

If there is not an option in Settings for that, can we enable them by editing build prop?

And if we do that, would that disable hardware keys?

MasterAwesome thanks for this rom!
[OnePlus X Original Android Development] rooban90:
Yeah it can be enabled by editing build prop and disabling capacitive buttons manually.I have just now enabled it. Follow below article for it.

http://readmenow.net/enable-soft-keys-on-android/
[OnePlus X Original Android Development] SpiritBreak3r:
I don't get by the term "smooth". Do you mean custom kernels that allow you to overclock?
[OnePlus X Original Android Development] sydeu:
nevermind, may just be me who doesn't really understand cm themes.
[OnePlus X Original Android Development] NeroD:
CM themes work fine for me.
[OnePlus X Original Android Development] NightMean:
GPS is not working on the newest build,Can anyone confirm this ?

Use GPS Test from G Play
[OnePlus X Original Android Development] sarthakspiker:
No much over clock.. But atleast to limit.. And also CM will get bugless and smooth
[OnePlus X Original Android Development] MasterAwesome:
Just use Maps and check. Some of these apps use Old API.
[OnePlus X Original Android Development] NightMean:
I flashed the build before and it was working,Now I flashed newest build and it's not working.It says no GPS

Edit:Before I was able to see icon from GPS in status bar,now I can't see it so it's not by the app,even Google Maps it's not showing my location
[OnePlus X Original Android Development] XqepX:
GPS works for me neither. Maps can't get my location.
[OnePlus X Original Android Development] rooban90:
I checked GPS with maps and it is working fine for me. I am also seeing the location icon on status bar.

Device Model : E1003
[OnePlus X Original Android Development] sydeu:
GPS working perfectly here. (clean flash as always)
[OnePlus X Original Android Development] NightMean:
I did dirty flash but Google Play Services was crashing so I wiped everything and clean flashed but I can't get it to work.. :P
[OnePlus X Original Android Development] NeroD:
Battery light or notification light doesn't turn off or blink.
[OnePlus X Original Android Development] rooban90:
I also did the same but GPS is working fine without any issues :)

Device Model : E1003
[OnePlus X Original Android Development] NightMean:
Can confirm it's not blinking but It's lighting for me and I can set up custom colours
[OnePlus X Original Android Development] rooban90:
same here.
[OnePlus X Original Android Development] Savya:
My data and cache partition are f2fs and not ext4. Would that cause any issues?

Also, do I have to use the provided recovery? Or would any twrp do? Currently using Blu spark twrp r5
[OnePlus X Original Android Development] Zecanilis:
Can you guys post your OP X version. It could be a version thing!

Cheers
[OnePlus X Original Android Development] rooban90:
Updated in the post. Thanks for remainder :)
[OnePlus X Original Android Development] XqepX:
Mine got fixed by a simple reboot ^^ Anyways I have the 1003
[OnePlus X Original Android Development] NightMean:
I also have the 1003 but GPS is not working for me
[OnePlus X Original Android Development] zexl455:
I'm getting this error while flashing the zip in recovery:

Is anyone else having problems with this?
[OnePlus X Original Android Development] sydeu:
The app Mobile BankID (which is pretty important in scandinavia, it's used to login to your bank) crashes when you try to start it.

---------- Post added at 09:10 PM ---------- Previous post was at 09:09 PM ----------

Change to the recovery in OP. that is because you have the wrong recovery.
[OnePlus X Original Android Development] NightMean:
In zip go to META-INF/com/google/android and edit the file updater-binary and remove the first line
[OnePlus X Original Android Development] drakohla:
GPS seems to work in Google Maps only on my E1003.

None of the "GPS Test" Apps available in Play Store are working.

Most of them show "GPS Sensor not found", or "GPS not supported on this device"

But they all have "Location allowed" permissions in Settings -> Apps-> Permissions menu
[OnePlus X Original Android Development] rooban90:
I am facing issue with GPS in Tinder application. It was not able to change the device setting for GPS, even when i click yes.

I am not seeing the location icon on top (even when i have enabled it in settings). That might be the case with you.

Looks that way.
[OnePlus X Original Android Development] NightMean:
On the build before it was working fine so in newest build some apps are able to access it but not every app in play store
[OnePlus X Original Android Development] zexl455:
I'm flashing with TWRP so there shouldn't have been any issues.

I think you meant the updater-script file, it worked though thanks!
[OnePlus X Original Android Development] sydeu:
flashing with twrp is the problem... ops recovery is cm recovery and worked without editing anything. The problem lies in different devs calling the phone different names.
[OnePlus X Original Android Development] iAyush:
Can anyone help me?

I tried installing the ROM via Bluespark's TWRP and I get this error:

E:Error executing updater binary in zip '/external_sd/MA-12.1-20151212-onyx.zi['

Error flashing zip '/external_sd/MA-12.1-....
[OnePlus X Original Android Development] A_youu:
You have to use CM-recovery which is in OP.
[OnePlus X Original Android Development] iAyush:
I tried changing to the recovery in OP, but it does not have any "install" option.

I don't think "apply update" would work, would it?
[OnePlus X Original Android Development] NightMean:
Old Build

[IMG="Old Build"]http://i.imgur.com/e3jm6d6.png[/IMG]

Newest Build

[IMG="Newest Build"]http://i.imgur.com/pArlJJw.png[/IMG]
[OnePlus X Original Android Development] sydeu:
apply update is the install. works perfectly.
[OnePlus X Original Android Development] iAyush:
Thanks for the heads up, should I just install through "apply update" thing?

EDIT: Alright thanks, got it!
[OnePlus X Original Android Development] NightMean:
Ah yeah sorry ;)
[OnePlus X Original Android Development] iAyush:
One last question - if you installed through CM Recovery, did you install GApps?

How would you install GApps? Sorry for the trouble :)
[OnePlus X Original Android Development] NightMean:
Flash as zip
[OnePlus X Original Android Development] A_youu:
Yes Apply Update will work..

---------- Post added at 12:40 PM ---------- Previous post was at 12:38 PM ----------

You have to flash Gapps...I am using TK Gapps.
[OnePlus X Original Android Development] ravinder0003:
Short Review:

Rom is super smooth and no fcs till now...

There are some up and downs like:

1. Volume is always high during calls

2. Call recording doesn't work. Error: Failed to start call recording.

3. Menu is mapping is wrong. Means you can't change key long press and double tap actions.

4. No nav keys...

... [MENTION=5321417]MasterAwesome[/MENTION]
[OnePlus X Original Android Development] sydeu:
apply update for that too :)
[OnePlus X Original Android Development] NightMean:
[MENTION=5321417]MasterAwesome[/MENTION] did you figured out why it's not working as it should or not yet ?