yashsingh1/xdaforums huggingface dataset:
[OnePlus X Original Android Development] h2o64:
As you've likely read, we've started working on porting CyanogenMod 12.1 & 13 to the OnePlus X E1003 (aka onyx). Im working on cm-12.1 and @ashwin007 will be working on cm-13.0. It is very far from being ready, both on our side , but steady progress is being made. We will periodically be posting preview builds here and will keep this thread up to date with information on how to build CM12.1 & CM13.0 for this device.

We are not looking for bug reports right now. It's far too early, We know a lot of things are broken, and this is not suitable for daily use. With that said, if you encounter a regression from a previous build, please report it.

The purpose of this thread is to discuss development related matters, such as how to build, approaches to solving discovered issues, and testing fixes as they are made and majorly to for our hard-work to be recognized on this grounds. Everyone is welcome to participate in the development process and submit patches. We will make a new threads for the general public once this port becomes more stable.

Wipe everything before flashing. First boot will take a while, be patient. It may appear to be stuck at the boot animation, but give it at least 10 minutes on the first boot before you give up.

CyanogenMod 12.1

:

Changelog:

November 22, 2015:
- Initial preview build

Usability Status:

Working:

Boot

Wi-Fi

Bluetooth

Camera

Broken:

RIL

FM

Audio

Hotspot

Everything else

Downloads:

http://ns336247.ip-91-121-110.eu/h2o64/CyanogenMod/onyx/

Source Code

Device tree: android_device_oneplus_onyx

Kernel: android_kernel_oneplus_msm8974

Vendor blobs: proprietary_vendor_oneplus

CyanogenMod 13.0:

Changelog:

November 22, 2015:
- Initial preview build

Usability Status:

Working:

Boot

Wi-Fi

Bluetooth

Broken:

RIL

Audio

Hotspot

Camera

Everything else

Downloads:

cm-13.0-20151122-UNOFFICIAL-onyx.zip

Source Code

Device tree: android_device_oneplus_onyx

Kernel: android_kernel_oneplus_onyx

Vendor blobs: android_vendor_oneplus_onyx

Common :

Current goals

Fix dtbTool forever (need to add qcom,product-name to the dtb index)

Fix RIL (I have logs)

Fix Internal sdcard managment

[*] Clarify ramdisk //by ashwin007

Support gestures (low priority)

Fix audio

Add a real sepolicy

XDA:DevDB Information

[ROM][Onyx][WIP] CyanogenMod 12.1 / 13.0 Developpment Builds, ROM for the OnePlus X

Contributors

h2o64, ashwin007

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.4.x

Based On: CyanogenMod

Version Information

Status: Testing

Created 2015-11-22

Last Updated 2015-11-22
[OnePlus X Original Android Development] h2o64:
Reserved
[OnePlus X Original Android Development] ashwin007:
Reserved

Reserved
[OnePlus X Original Android Development] Maelstr0m:
thank you for your work guys :)

Inviato dal mio ONE E1003 utilizzando Tapatalk
[OnePlus X Original Android Development] mohammedtabish:
Cm12.1 and 13 some nice development going aroud

Thanks a ton mate :)
[OnePlus X Original Android Development] jonas2790:
Nice work!

Ask me if you need some help, I'd make my own builds if I had more time :)
[OnePlus X Original Android Development] skodaslx:
Wouldn't be better to make two

threads. One for 12.1 and one for 13.0?

Gesendet von meinem ONE E1003 mit Tapatalk
[OnePlus X Original Android Development] h2o64:
No because we are sharing the same sources and it's WIP
[OnePlus X Original Android Development] ashwin007:
Well split up threads once our builds are stable and sane.
[OnePlus X Original Android Development] danbrown162:
Sweeeet! Got a good feeling about the one x! Thanks for putting the time into developing for this device!
[OnePlus X Original Android Development] schoolsux:
First time booting CM13... first time testing Marshmallow whatsoever... Tears of joy are falling!! Thanks alot, keep up the good work!!
[OnePlus X Original Android Development] Melecatius:
Thanks guys!

Cant wait to get a good CM or AOSP Build.

Keep up the good work.
[OnePlus X Original Android Development] mohammedtabish:
So hows it any comments??
[OnePlus X Original Android Development] schoolsux:
It's nice! Just as expected. Not for daily use of course... but on the right path for sure :)
[OnePlus X Original Android Development] Andy1767:
Tried to install it with the latest twrp from today, but got the error message:

This package is for device: OnePlus,E1003,onyx; this device is .

After that tried to restore a nandroid backup in twrp. Boot, Data, Persist ran through just fine.

Unfortunately when restoring System it stopped at 98% with the error:

E:extractTarFork() process ended with ERROR=255

Now I've got a device that no longer boots system :(

Someone has got an idea how I can install CM12.1 or successfully restore the system backup?

Update:

Did take a look at the build.prop I extracted a few days ago.

Seems that it is missing ro.product.device and ro.product.name strings

Also I did not install any OTA updates - system is in the state it came from factory.

It's a european model
[OnePlus X Original Android Development] Rolfinator:
Thanks for your efforts guys. I am soo looking forward to this :)
[OnePlus X Original Android Development] Andy1767:
Reflashed the original recovery, where I could then flash the OxygenOS OTA Dump from this post:

http://xdaforums.com/oneplus-x/general/ota003all20151024193-oxygenos-ota-dump-t3244996

Phone is working again with oxygen OS now.

Reflashed twrp and tried again to flash CM12.1 but the same error as earlier appeared:

This package is for device: OnePlus,E1003,onyx; this device is .

As I do not want to stay with Oxygen OS, somehow I've to set the correct device name for my phone, so that twrp will let me flash CM12.1

Anyone has an idea how to change my device name?
[OnePlus X Original Android Development] ckret:
which twrp are you using?
[OnePlus X Original Android Development] Andy1767:
I'm using the one from h2o64 from today (22.11.2015 06:45)

http://ns336247.ip-91-121-110.eu/h2o64/onyx/twrp/
[OnePlus X Original Android Development] Roykooiman:
I just downloaded the whole oxygenos zip, we can just flash it with TWRP right?

Verstuurd vanaf mijn ONE E1003 met Tapatalk
[OnePlus X Original Android Development] Andy1767:
Yes I think it should work. Only in my special case it did not work and I had to restore the stock recovery and flash it from there.
[OnePlus X Original Android Development] ckret:
he changed the buildnumber in the newest twrp

could be related to that

why do you want to install cm12.1 anyway? most things dont even work yet
[OnePlus X Original Android Development] Andy1767:
I don't use phones/tablets with gapps installed. On my tablet & current phone (nexus 5) I'm using CM, so I'm used to it and like it a lot.

Installing CM is an easy way to get rid of gapps.

As my main phone is still a nexus 5 I can play around with the oneplus X and try out the current state of CM. As soon as it is working for me I will switch from the nexus to the x (and finally have enough storage space for my stuff).

twrp checks the phone type/name somewhere to see if the rom I want to install is compatible. It seems in this exact place my phone has got the wrong name or more exactly no name, so the check will always fail. If I know where twrp checks it, I could see if I can set the correct name there.
[OnePlus X Original Android Development] ckret:
TWRP doesnt check it in your device

The property js built into TWRP so you cant change it

Just wait for a new release which will should compatible with this TWRP Version
[OnePlus X Original Android Development] OldDroid:
^could someone send me a logcat, so i can start helping?

Regards,

OD
[OnePlus X Original Android Development] Calvin2394:
It has begun!

CM13 nightlies have started! :fingers-crossed:

http://www.cyanogenmod.org/blog/a-marshmallowy-cm
[OnePlus X Original Android Development] Quasar:
You could hit us up on Hangouts. PM your e-mail address, please.
[OnePlus X Original Android Development] Rolfinator:
Yay!
[OnePlus X Original Android Development] Quasar:
Well, it doesn't really mean anything. Official nightlies are only for the supported devices, so it doesn't make any difference to us.
[OnePlus X Original Android Development] parasthakur37:
[MENTION=4792450]h2o64[/MENTION] [MENTION=5585603]Quasar[/MENTION] [MENTION=5426059]ashwin007[/MENTION] any heads up if ril is fixed or not? Want to get more excited than I previously am.
[OnePlus X Original Android Development] Calvin2394:
Yeah, but atleast they've declared their code base "good enough" to start building nightlies.

The system would be stable enough, according to me, now comes the porting to devices :)
[OnePlus X Original Android Development] Quasar:
We're pretty close. A newer CM12 build has most probably fixed audio, internal storage and some other stuff, but there's some other high priority stuff that's popped up at the moment, so progress on mine and [MENTION=4792450]h2o64[/MENTION]'s side is slow. [MENTION=5426059]ashwin007[/MENTION] is probably still working on CM13, though.

Usually the bugs are device tree and HAL related more than in the source code, usually CM just waits for all their features to be forward ported. ;)
[OnePlus X Original Android Development] OldDroid:
well, i saw a logcat from another guy related to ril version ...

our opx uses ril v11 but v10 (which is implemented in the rom) is incompatible with it, so v11 is not backward compatible which seems to cause a lot of trouble.

It should be easy to fix and i will look into it tonight!
[OnePlus X Original Android Development] NeroD:
Great going guys.. Good luck with your work.
[OnePlus X Original Android Development] h2o64:
We use stock ril aka v11
[OnePlus X Original Android Development] Quasar:
The other guy's build is literally a renamed bacon tree.... so....
[OnePlus X Original Android Development] Graveen:
Kudos guys. Thumbs up :)

Envoyé de mon ONE E1003 en utilisant Tapatalk
[OnePlus X Original Android Development] Toxic17:
Excellent News guys, thank you for adding support so soon for the Onyx!
[OnePlus X Original Android Development] parasthakur37:
Alrighty, well that's some good news. Appreciate your work.
[OnePlus X Original Android Development] ravinder0003:
Is this something useful!

https://gist.github.com/sultanqasim/22bca9f7bca4d067b12b
[OnePlus X Original Android Development] parasthakur37:
With ril fixed.....
[OnePlus X Original Android Development] h2o64:
He just paste an extra lib. We have gestures.

We are just lacking time because of other projects
[OnePlus X Original Android Development] MasterAwesome:
If you mean "libparam.so". RIL works without it.
[OnePlus X Original Android Development] h2o64:
I use a pre-built rild and a source built libril without any downgrade flag. I think that's the problem even if I'm very busy and I didn't read my logs much.

Also do you use source built dtb?
[OnePlus X Original Android Development] MasterAwesome:
I just source built the libril and rild. But a prebuilt rild should also work. The libril in the stock is ril-caf. Nope, using a prebuilt dtb. Did you fix audio yet?
[OnePlus X Original Android Development] h2o64:
I could if I wasn't interested in USF. But I want USF to work
[OnePlus X Original Android Development] MasterAwesome:
/proc/asound doesnt even exist.--> ALSA modules aren't even loaded which is very weird.
[OnePlus X Original Android Development] h2o64:
I don't have that. Do you have all the acdb?
[OnePlus X Original Android Development] MasterAwesome:
I guess I do. But shouldn't the /proc/asound be created nevertheless; once the kernel inits the sound driver? --No cards--- if no cards are found but the directory itself doesnt exist. my kernel config builds it though

EDIT::

NVM found the issue.
[OnePlus X Original Android Development] h2o64:
You miss liquid ones
[OnePlus X Original Android Development] MasterAwesome:
That's what I thought. Thanks man
[OnePlus X Original Android Development] ravinder0003:
Great...

Thanks a lot guys ...
[OnePlus X Original Android Development] MasterAwesome:
It's not the acdb. But something to do with msm8974-taiko-mtp-snd-card not initialising. I think I've fixed it; I'll let you know
[OnePlus X Original Android Development] trendchanger:
one plus one just got their CM13 NIGHTLIES..cant v port dat to our device?
[OnePlus X Original Android Development] Quasar:
They're not identical.
[OnePlus X Original Android Development] MasterAwesome:
Just found out you don't need any of those ACDBs. We only use MTP

cat /sys/devices/system/soc/soc0/hw_platform
>MTP
[OnePlus X Original Android Development] h2o64:
USF binaries call them

Maybe we need a keylayout just like Arizona use to do
[OnePlus X Original Android Development] h2o64:
(just to close the thing : I contested as AOSPARADOX, I won't give progress update or any sources links. I'll just say that it's eating all my free time and that I'm very happy with how it turns out for now)
[OnePlus X Original Android Development] ravinder0003:
Seems there will not be any progress at least till the YU devs program ends...

After that only devs will have some free time...
[OnePlus X Original Android Development] PoloB49:
Will it be possible to use our sd card as internal storage ? Stock Android marshmallow does it. It's so useful.
[OnePlus X Original Android Development] nachiketa.ramesh:
You wouldn't want to. Even if you could, SD cards are quite a bit slower than NAND.
[OnePlus X Original Android Development] joen_:
Not every task requires the highest possible speed. Transfer speeds are more than sufficient for things like playing music.

Also, it's not about choosing between the two ( you can't exactly add NAND yourself right) but supplementing one with the other.
[OnePlus X Original Android Development] nachiketa.ramesh:
Nobody said Every Task

Were talking about SD as INTERNAL memory here. That's where Apps are installed to in case you didn't notice. You want Apps to be on NAND so they launch quick and don't lag too much.

Coming from a HTC Explorer, where a lot of ROMs did require half the OS to be installed on the SD due to small internal memory, and the others required all the Apps you installed to be on the SD, I can tell you from experience that the performance depreciation isn't worth it.

Oh and BTW, you can store music and videos and pics on the SD without storing Apps so your point there is invalid.

And IF you did want to put some Apps on the SD which i strongly don't recommend, you CAN do that without SD as internal as well. Oxygen 2.1.3 can for example.
[OnePlus X Original Android Development] joen_:
Then why do the screenshots speak of internal STORAGE and "storing anything on this device"?

Regardless of the answer, it's not about choosing between the two.
[OnePlus X Original Android Development] parasthakur37:
It's very much possible, you just need xposed.
[OnePlus X Original Android Development] taaeem:
For me it always worked just put your SD Card in, install Spotify and download Music it will be automatically stored on the external memory.

IMPORTANT: First put the sd card and then install Spotify, otherwise it will first download to internal, since there is no other storage and once done that it won't change the path.
[OnePlus X Original Android Development] h2o64:
Alright. I read the thread and I feel like you need clarifying.

We are all busy. We know how to fix most of the things. But we just haven't time to push/build/test.

Can you guys make bug reports?

What did you found so far on lollipop?

Envoyé de mon Moto G en utilisant Tapatalk
[OnePlus X Original Android Development] parasthakur37:
Waiting for RIL and Audio to be fixed then I'll flash it right away and provide you with further bug's logs.
[OnePlus X Original Android Development] primemonitor:
Take your time, there's no hurry. Your work is much appreciated :):good:
[OnePlus X Original Android Development] yvessparks:
Alright. I wanna give it a shot and send you some bugs. Just to confirm, 20151122 is the latest build I can use to test?
[OnePlus X Original Android Development] Quasar:
Yup.
[OnePlus X Original Android Development] blackknightavalon:
You don't need Xposed, there are apps in Play that enable external SD r/w.

Sent from my toaster
[OnePlus X Original Android Development] yvessparks:
You guys prefer lp or mm testing?
[OnePlus X Original Android Development] Quasar:
Won't really matter that much because bug fixing will be similar
[OnePlus X Original Android Development] Nandeh:
So if bug fixing is similar, maybe is better focus on MM, don't you think so?

Anyway many thanks for your work :)

Enviado desde mi Oneplus X
[OnePlus X Original Android Development] Quasar:
Again, it doesn't really matter. Once something is fixed, it just has to be picked to the CM13 tree.
[OnePlus X Original Android Development] Nandeh:
Not again. Now it's clear. Before not.

Thanks :)

Enviado desde mi Oneplus X
[OnePlus X Original Android Development] blackknightavalon:
Right now, LP. We should wait until the firmware for MM is released by 1+ to test that.
[OnePlus X Original Android Development] Quasar:
Again, doesn't really matter. OnePlus is releasing Marshmallow for this device only next April or so, and there's no way we're waiting that long lol
[OnePlus X Original Android Development] trendchanger:
Expect it to be buggy too.....
[OnePlus X Original Android Development] Quasar:
Currently we're busy with a lot of stuff, so this project has taken a back seat. Development will be resumed as soon as our personal schedule permits.
[OnePlus X Original Android Development] parasthakur37:
[MENTION=5585603]Quasar[/MENTION] [MENTION=4792450]h2o64[/MENTION] [MENTION=5426059]ashwin007[/MENTION]

I think dev program ended yesterday. Is it Opx's turn next? :D
[OnePlus X Original Android Development] Quasar:
This weekend.
[OnePlus X Original Android Development] NeroD:
Wow nice to see you resuming work for opx. Will love to see aosparadox for ops in future.
[OnePlus X Original Android Development] ashwin007:
Finally we are done with yu competition, and [MENTION=4792450]h2o64[/MENTION] won't be supporting OPX anymore(he talked to me in hangouts).Hence once i fix more stuff in CM13 i'll release a new build.
[OnePlus X Original Android Development] Quasar:
Relax. Things will look up soon. :)
[OnePlus X Original Android Development] parasthakur37:
I know how you feel about it all but maybe you could work on cm13? It'll be like a christmas present for all of us, you, Quasar and Ashwin. Bliss.
[OnePlus X Original Android Development] ekkelon:
Hi .... I have problem with installation ROM Cyano.

My OPX is rooted and I have TWRP installed, if i put the ROM in SD internal or SD external when I try to flash it this error appear:

Can't install this package on top of incomatible data. Please try another package or run a factory reset.

E: error executing updater binary in zip "/external_SD/namerom.zip

Have you some suggestions!?

Thnx.
[OnePlus X Original Android Development] yvessparks:
Thank you for your valuable input on this developers thread. Thanks to posts like yours, this thread stays clean and on point for our devs to be able to do their hard work.
[OnePlus X Original Android Development] PoloB49:
It's just that I come from a Oneplus One and I used to change my rom all the time. There were a lot of choice and I can't stand Oxygen OS anymore. I need to get rid of it :/

Cm12.1 still has few bugs so i'll wait.

Sorry if I hurt your feelings
[OnePlus X Original Android Development] h2o64:
AOSParadox 2.1 will do better
[OnePlus X Original Android Development] Melecatius:
Yay, AOSParadox 2.1 on OpX? Wohoooooo. (Sorry for OT)
[OnePlus X Original Android Development] jackeagle:
Mod Edit

Thread Cleaned.

Members this is a Development Forum and all discussion should be related to this thread development only. Do not compare work of other developers in some other thread. There is no need of any comparisons. Don't ask for ETA's in any form. When a developer is fully confident to release build in public he will release.

If you have any issue just report to moderators and we will take care of it instead of escalating matters to worst point by cluttering the thread itself.

I hope this won't be repeated again in future.

jackeagle

Forum Moderator
[OnePlus X Original Android Development] mohammedtabish:
so aosparadox gave up on oneplus x...
[OnePlus X Original Android Development] h2o64:
No CM from us anymore. We had this issue on Moto X Play and now OnePlus X.. We are preparing our own ROM
[OnePlus X Original Android Development] mohammedtabish:
yes i think [MENTION=5321417]MasterAwesome[/MENTION] will take care of cm13 thanks for the reply :)
[OnePlus X Original Android Development] h2o64:
Oh oh oh oh! CM13 is on the way anyway! Not by me but builds are building
[OnePlus X Original Android Development] sgroimax:
Really? Wow I can't wait for it. I would like to run it on my OPX very much
[OnePlus X Original Android Development] Havoqq:
http://xdaforums.com/oneplus-x/orig-development/rom-cyanogenmod-13-x-oneplus-x-onyx-t3279784
[OnePlus X Original Android Development] parasthakur37:
A heads up on AOSParadox for opx?
[OnePlus X Original Android Development] Magnum_Enforcer:
Thread closed at OP's request.
[Verizon LG G4] whathappened:
does anyone know how to change the phone to listen to Sprint's cdma signals? I can change ESN/MEID of the phone and modify ro.cdma.home.operator.alpha and ro.cdma.home.operator.numeric values in /system/build.prop to Sprint, but when I update the file eri.xml inside /system/framework/framework-res.apk with the one from an LG G4 Sprint phone and the phone does not boot anymore and stops at the verizon logo.
[Verizon LG G4] damiloveu:
It is not such an easy job. Good luck!
[General Questions and Answers] Beakhole:
I'm trying to create a flashable zip that executes a shell script when it's flashed. I figured that the Edify Script command was this:

run_program("/path/to/shell/script/file.sh");

I've tried this in my flashable zip but it doesn't work. Am I using the wrong command? Any help would be appreciated!
[General Questions and Answers] shankar_vl:
Try this way

run_program("sbin/sh", "path/to/shell/script.sh");
[Galaxy Note 3 Q&A, Help & Troubleshooting] themagicalmage22:
Hi my Note 3 is running AryaMod v.8.0 with idleKernel.

The problem is that I can't overclock it to 2.7 Mhz and

stays at 1.7 mhz.

How do I fix this?
[Galaxy Note 3 Q&A, Help & Troubleshooting] Shreyu:
Me too
[Galaxy Note 3 Q&A, Help & Troubleshooting] emuandco:
... did you read the thread of idleKernel?? "Open Android Terminal Emulator or adb shell, become superuser by typing su, press enter, and type /sbin/ikconfig (on most ROMs you can just type ik), press enter again."
[General Questions and Answers] jnvdh06:
I am trying to build cm11 for my device (samsung a500fu) but Im struggling to create the local manifest file in repo.

I am a newbie, please help me.

Here is the github link

https://github.com/moonbutt74/device_samsung_a5ulte

Thanks