yashsingh1/xdaforums huggingface dataset:
[OnePlus X Android Development] stef204:
Thanks for your feedback but I beg to differ.

Magisk (and Xposed) while having cool/interesting features, seem to bring these at the expense of security/potential vulnerability issues--based on the methods used.)

Here is some more info on why/how. (I realize there are contrasting views; and that is fine.)

In any event, this is a POSP thread and I do not want to start a discussion or debate on rooting methods since it is off-topic. I was just wondering if POSP offered its own (hard) root method just like LineageOS does and if not, whether it might consider doing so. This very issue probably should be posted in a different thread (not sure which or where, GH perhaps?)

And references to methods to root here, I believe, should be kept minimal--they are important as I do want to have root (personal choice) to switch to POSP (or any other ROM, for that matter) but incidental.

PS I am exploring using adb and TWRP to bypass the need for root on the phone, e.g. /system/etc/hosts, using oandbackup and a couple of other things, like ADB over Network.

In theory, if I could accomplish what I get out of the above apps and configs, by only using adb root and TWRP (without it being a PITA), I could do without root, possibly. In that case, I could jump right in and install POSP without further considerations.

PPS I read that adb backup/restore is not really reliable which is why I mention oandbackup but have not tried adb restore yet--so I am relying on second hand info, to some degree.
[OnePlus X Android Development] Mchasard:
I like this rom very much apart that the battery drain faster...am I the only guy or is it a known bug?

May be should I make a clean install
[OnePlus X Android Development] kush57:
Yep there's little battery drain but it will be fixed well I'm having exams till may end so weeklies might be delayed might give 1-2 build before may . Thanks for the patience ??
[OnePlus X Android Development] kush57:
Try Clean install too
[OnePlus X Android Development] ajsat3801:
All the best for your exams:good:

Can you pl add vibrator strength option in future builds?

Tnx.
[OnePlus X Android Development] stef204:
Build Instructions

[MENTION=8530974]kush57[/MENTION]

Hi, thanks for this ROM.

1) Are there any build instructions available for it?

2) Can it be compiled with su baked in, i.e. "export WITH_SU=true" like LineageOS seems to?
[OnePlus X Android Development] kush57:
If you're going to try build for yourself those would be unofficial builds so u might lose some official features . Except tht there's no specific instructions and nope there's no su support in official builds
[OnePlus X Android Development] kush57:
Thanks man ? yep I'll put it on the list
[OnePlus X Android Development] Kenaestic:
Really love seeing this device still supported. You're the hero we need but don't deserve. Keep it up!
[OnePlus X Android Development] stef204:
Thanks for quick answer.

Any builds I would make from source code would obviously be unofficial., not a problem, I would not redistribute.

Re. root/su. the question is not can the official rom be built with "export WITH_SU=true" but can an unofficial build from source be built that way?

What "official features" would I lose? Is it not all the same source code?
[OnePlus X Android Development] stef204:
Building from Source - local_,manifests.xml

[MENTION=8530974]kush57[/MENTION]

Hi,

I've downloaded the POSP source, following this.

Could you please provide guidance as to this step:

Define all relevant device repositories in .repo/local_manifests/local_manifests.xml

I've used this:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="PotatoDevices/device_oneplus_onyx" path="device/oneplus/onyx" remote="github" />
<project name="PotatoDevices/kernel_oneplus_onyx" path="kernel/oneplus/onyx" remote="github" />
<project name="PotatoDevices/vendor_oneplus_onyx" path="vendor/oneplus/onyx" remote="github" />
</manifest>

Not sure if this is enough--and not sure about the vendor--I have already extracted the blobs from my device running LOS--but perhaps using the ones defined above is best?

Thanks, much appreciated.

PS If this is not the proper forum for advice for building from source for this device, please let me know which you prefer (I am not a Telegram user at the moment which is why sticking to this forum. I have now joined the Telegram channel.)
[OnePlus X Android Development] kush57:
Local_manifest looks okay even if it fails roomservice will kick in and check the dependencies . If you need any help pm me . And using the pre defined blobs works if you want you can try yours too tht won't make much of a difference
[OnePlus X Android Development] stef204:
For it to actually work, I had to modify the local_manifests.xml to:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="PotatoDevices/device_oneplus_onyx" path="device/oneplus/onyx" remote="github" revision="baked-release" />
<project name="PotatoDevices/kernel_oneplus_onyx" path="kernel/oneplus/onyx" remote="github" revision="baked-release" />
<project name="PotatoDevices/vendor_oneplus_onyx" path="vendor/oneplus/onyx" remote="github" revision="baked-release" />
</manifest>

i.e. add the revision (received that tip in the TG channel.)

Posting that for the sake or accuracy, for anyone which may read this thread (at least that's what worked for me.)

Also, while I had no trouble at all downloading the LOS source, for POSP I had to do this:

sysctl -w net.ipv4.tcp_window_scaling=0

And use

repo sync -j1

Not sure if it's because I tried too many times and my IP got throttled by Google's servers at the time or something else. My connection was stable and very fast but still failed when using

-j8

until I used the above 2 "tricks", taken from here.

I also understand now that, unfortunately, the variable

WITH_SU=true

is NOT an AOSP implementation but an LOS one. So that seems to answer my previous question above in the thread.

I will end off on this "building from source issue" as this is the OFFICIAL thread and I do not want to digress and go off-topic. I will PM you to get some feedback/assistance if I have questions or hit a snag I cannot debug during build (will keep it very succinct.)

Thanks again. :good:
[OnePlus X Android Development] kush57:
That's a very rare case . I had never faced tht issue during repo sync. But still if it works for you then well & good ?. And yep for build issues PM . ?
[OnePlus X Android Development] Kenaestic:
Edit: wrong thread, sorry.
[OnePlus X Android Development] Mchasard:
I just Saw a New build dd 280519 ...whabout batterry life?
[OnePlus X Android Development] Darren Lim:
Battery life is decent. :)

Thanks Kush!
[OnePlus X Android Development] kush57:
Is anyone facing any errors in the latest build? Sorry for the delay

This thread will be updated soon
[OnePlus X Android Development] kush57:
I want to have a poll how many of you guys want an enforcing build or is permissive okay for you guys?
[OnePlus X Android Development] Darren Lim:
Been using for a day. Didn't really experience any bugs. Overall is smooth :)
[OnePlus X Android Development] Mchasard:
Really décent battery compare to thé previous build thanks but no swipe for keyboard pity
[OnePlus X Android Development] koi1843:
Did a clean flash.

Flashlight ain't working for me. It's greyed out.
[OnePlus X Android Development] tmq_one:
Not only flashlight. Every app which uses camera. Face unlock also doesnt work. Any solutions?
[OnePlus X Android Development] Mchasard:
I confirm whatapps could not work with camera mode pity back to bootleggers rom
[OnePlus X Android Development] Entry_Plug:
Hi.

Am I the only one with camera issue ?

I've just installed the ROM (its perfect !). When I launch the camera app, I have the permission windows that pop. I accept the four permission and then black screen.

Now, when I want to launch the app, its crash with this popup : Unkown error.

Any idea to fix it ?
[OnePlus X Android Development] tmq_one:
Can someone also tell me how to fix google sounds? I tried to downgrade version to 2.0 and even 1.0 but i have apps arent installed.
[OnePlus X Android Development] rman123456:
Same camera and flashlight error for me, all the apps are giving me an error when they try to use the camera!

Also, trying to open the Potato Center reboots my phone :(

I was using (and loving!) 2.2 without these issues, if there is no update I will have to downgrade...
[OnePlus X Android Development] Darren Lim:
Kush is aware of the camera issue. I'm pretty sure he will resolve it! :D
[OnePlus X Android Development] Entry_Plug:
Yep, that's a huge issue. I can't live without Camera. So I installed the Resurection Rom. All works fine !

I don't know if its the best ROM.. I hesitate with the one of psychem (LOS16 + MicroG)

Anyone tried this two to give me feedback ?
[OnePlus X Android Development] pakgio:
camera issue here!

camera does not start.

I didi a clean install of 2.3.

no othe issue. best rom to my knowledge.

Hope for a "patch"
[OnePlus X Android Development] rman123456:
I understand you guys are doing this on your free time but, is there any ETA on when the camera bug will be fixed? It's quite a deal breaker for me but I can be patient :fingers-crossed:
[OnePlus X Android Development] RBwai:
How to change colour of clock and other icons in status bar. On desktop there is black icons and I need to be white. Any suggestion?
[OnePlus X Android Development] Darren Lim:
New build is up!

Changelog taken from Potato Community group in Telegram :

Yo guys, wassup? It's time for a brand new POSP release, straight out from the oven. Y'all ready? Let's start!

Release v2.3.02 - 10/06/19

Changelog:

- For every security freak out there, we merged the June security patch. Stay ?, stay safe!

- We added new APNs, so now many people who couldn't connect to internet with their sims before now should be able to. Niiceeeee.

- The old pixel animation on the navigation bar was hella bad, so we yeeted that out of the window and added a new one that is much better.

- We fixed some layout issues on the QS detail, and also that black on black text on data and dnd detail screen should be gone now. Better late than never.

- Now you can completely block data/internet usage from an app, dedicated to every privacy concerned peep out there <3.

- Remember the old location tile? Me neither, because now it's much better! It has 3 modes: high precision, device only and low battery consumption. And ofc, disabled state too lol.

- We fixed some aggressive battery issues (I don't really know which ones, but they are fixed now so).

- New adjustments made to lockscreen clocks.

• Every clock now tracks accent correctly, ayee!

• The Q styled clock now animates on time change! I think I'll never leave the lockscreen just to admire that sweet animation uwu.

• Now the owner info gets aligned with the q clock, for a coherent experience.

- The oreo panel got some brand new improvements that make it feel like oreo free real estate:

• We just brought back the old oreo layout, making the experience much better than before.

• Now the panel is compatible with custom qs colors, make your panel look unique!

• The notifications now take the entire screen, just like oreo, so you can always catch up with them.

• Animations now play steady and ready, fast af. I can assure you that they are much better like this.

• And last but not least, the network traffic indicator finally shows up on oreo panel, so you'll be always ready to catch up with the net usage.

- Now the call blocking function should be much more efficient, we don't want any new promotion thanks.

- And finally, you can now control music on the qs panel much better with a q styled seekbar allowing you to control the current minutes and seconds of the song playing. So you can catch up with your favourite part of the song!

- The builds are now signed with release-keys, so you can be sure you only install platform packages signed by us!

---------- Post added at 05:52 AM ---------- Previous post was at 05:52 AM ----------

Camera is fixed! Thanks kush
[OnePlus X Android Development] bigapple8:
Thanks a lot for the update!

however, I have to report a bug. Quickstep keeps crashing constantly. Can't use the new version without an alternative launcher. Tried to clear cache and davlink but no success...
[OnePlus X Android Development] kush57:
on which build are you on ? and did you flash any other things like magisk ,etc . and id you clean flash ? clean flash is recommended for latest build as we are going up for signing of apps .:D
[OnePlus X Android Development] kush57:
thanks man for handling things here for me . :D owe you man . i'll update the post .
[OnePlus X Android Development] kush57:
i didnt get your question exactly but head on to fries in settings -->themes --> and try toggling things under quick settings colors . :)
[OnePlus X Android Development] Darren Lim:
No worries! Thank you for your effort to keep OPX alive :D
[OnePlus X Android Development] bigapple8:
I'm on v2.3.02 - 10/06/19. However I did a dirty flash only. Will try a clean one and report on the outcome asap.
[OnePlus X Android Development] bigapple8:
Did a clean flash an now everything works like a charm! Many thanks!

one exception: the POPS Center still keeps crashing and causes instant reboot. still the same issue as in the May build, like some others also reported here...
[OnePlus X Android Development] rafalgzg:
Thanks for the new update. The camera is working again.

However, now Google Photos doesn't open (the app crashes).

Also, I can't change ringtones. The Sounds app crashes too.

Finally, it seems that the dark theme does not get applied everywhere (Files, Calculator).
[OnePlus X Android Development] ajsat3801:
dark theme is app based... the app has to support it..

try files beta as i heard it has dark theme support.

which version of sounds app is installed?..

v2.0 crashes due to compatibility issues..

uninstall its updates.

google photos afaik would be gapps related as i does not come pre installed with the rom.
[OnePlus X Android Development] Mchasard:
Just note that magisk doesn't pass safetynet with this rom... Whabout you?
[OnePlus X Android Development] ajsat3801:
its a bug with v19.3. Use v19.2. I've heard it works.
[OnePlus X Android Development] jonathanrajya3:
Camera isn't working at all for me in the latest build..... Even torch light isn't. I'm using gapps nano.

I changed my /data partition to f2fs if that might be a reason
[OnePlus X Android Development] kush57:
Camera was fixed for latest build pl check if you are on the right build and try clean flash if problem still persists then send me logs if possible
[OnePlus X Android Development] jonathanrajya3:
Ok sure I'll try
[OnePlus X Android Development] snorhaar:
Which version of sounds should we use instead? v2.0.1 (226190645) doesn't work either
[OnePlus X Android Development] ajsat3801:
You have to use v1.
[OnePlus X Android Development] gespeses:
Is google photos working for any of you? When I try to open the app it crashes. Perhaps do you have a workaround?
[OnePlus X Android Development] pakgio:
I have the same problem with netflix...I downloaded and installed the .apk and it crash.

moreover the netflix app is not even shown in the playstore (italian)... it says it is not compatible...
[OnePlus X Android Development] kush57:
It works for me did you try clean flash? which build are you on? Try if reboot fixes the prob or if reinstalling the app if nothing works try sending me some logs
[OnePlus X Android Development] Sandy_721:
Are Gpay and Phone pe working on this rom without "custom rom not secured" error?
[OnePlus X Android Development] gespeses:
Sorry did not notice your reply. Yes I did a clean flash, and the build is potato_onyx-userdebug 9 PQ3B.190605.006e1a480d31f (it was the latest available at the time that I flashed. I sent you the log just now.
[OnePlus X Android Development] Darren Lim:
Changelog:

- We merged July security patches, so you guys will stop worrying so much about Lawnchair stealing your data.

- New OTA app design, based on a concept by the fabulous [MENTION=366526]rsh[/MENTION]bfn (also now it's much faster and cool).

- Also added new icons, exclusive to POSP, especially made for this rom and for you guys, yet again designed by [MENTION=366526]rsh[/MENTION]bfn (what a coincidence!).

- Brand new shape engine, like Q one but much better with a fabulous picker (it's even dynamic and you can install custom shape packages too).

- Screenshots have no delay now. Capture the world on your phone at lightning speeds!

- You can now also long press the screenshot icon in the power menu to take a partial screenshot.

- SystemUI demo mode is back for all of you trying to take pretty screenshots!

- Updated the default wallpaper, designed by [MENTION=8681386]HrX[/MENTION]03 (oh it's me, hiii!).

- We have improved the stability of the system and fixed bugs ™️.

Changelog taken from POSP Telegram group! :D
[OnePlus X Android Development] Mchasard:
Thanks for the new build... But as bootleggers rom I have some bluetooth troubles....i can't use miband3 device and also my withings health device... So back to lineageos...pity I appreciate your rom
[OnePlus X Android Development] sagardakua:
Same problem here. I thought my band broke :p
[OnePlus X Android Development] :
Works here. What GAPPS are you using?

I think you should go for full flash.

Have this problem too. Unfortunately every ROM I tried have this problem. Anyway I can install everything.

Try this

https://www.xda-developers.com/how-to-fix-device-not-certified-by-google-error/
[OnePlus X Android Development] rizkal:
Any news update september patch or waiting android 10

https://twitter.com/PotatoAndroid/status/1169949643179823104?s=19
[OnePlus X Android Development] Kharabsheh:
Android 10 , On the Onyx, that does sound awesome
[OnePlus X Android Development] kush57:
Yep new saucy recipe on it's way no eta btw ? but it will be good
[OnePlus X Android Development] "A09":
If you are dirty flashing then no need to flash gapps again. But if its a clean flash, you need to flash gapps.
[OnePlus X Android Development] Senthilrajac:
Bluetooth issue fixed in latest build..
[OnePlus X Android Development] kush57:
I'll work on Feature addition once broken things are fixed might take some time

kind of busy schedule right now so no eta for feature addition ? thanks for the patience
[OnePlus X Android Development] koi1843:
Yup :laugh::good:
[OnePlus X Android Development] sagardakua:
Does green picture issue fixed? :confused:
[OnePlus X Android Development] kush57:
It's now fixed :)
[OnePlus X Android Development] Senthilrajac:
Thanks a lot
[OnePlus X Android Development] RBwai:
I have one big map file (9gb) and copy it in microSD, formated with NTFS. But the problem is that ArcGis app does not recognize SD card. I can see map file with file explorer, but ArcGis doesn't recognize it. Any idea how to solve that problem?
[OnePlus X Android Development] kenny59:
No, I still have it when shooting in low light. (only tested in messenger)
[OnePlus X Android Development] BladePricess:
Is that a bug?After lastest update(or the second),app standy unsupported·····

By the way,your rom really good! I especially like your rom's setting screen ,it's beautiful
[OnePlus X Android Development] shahabkhan99:
hay every one... I got fixed "Camera Green shot" [MENTION=8530974]kush57[/MENTION] thanks for the great rom i will PM you for camera fix ...hope you will implement it in your next release.
[OnePlus X Android Development] kush57:
Sure it would be great
[OnePlus X Android Development] mafri1:
AOD or Ambient Display

Hi there,

where can i find these options? I searched all but wasn´t able to turn it on.

---------- Post added at 01:17 PM ---------- Previous post was at 01:16 PM ----------

Where can i find the AOD?
[OnePlus X Android Development] anuragpv:
Thanks [MENTION=8530974]kush57[/MENTION] for your work on onyx! Hope you continue to support it.
[OnePlus X Android Development] shahabkhan99:
AOD is not there hope next build we have it
[MENTION=8530974]kush57[/MENTION] ... overall until now no errors or issues :good:
[OnePlus X Android Development] :
This is odd... home and recent buttons not working, back is though.

Edit: I flashed nano Gapps and they work now. Is that expected behaviour?
[OnePlus X Android Development] :
I've installed, rooted and reloaded my apks. All looks good so I'll see how I go.

I found that the Gallery app crashes on startup. Also, can I remove lock screen shortcuts?
[OnePlus X Android Development] Karthik9113:
This ROM is great. I have one major problem. I don't know whether it is related to this ROM. Any pie ROM I install I get very poor 4g. Is this pie ROM related or my phone antennae is going old or my network issue. I am quite frustrated. Is there any way I can get some decent bandwidth.

Thanks for any help provided.
[OnePlus X Android Development] NJ5499:
Even I'm facing this issue. It's draining battery almost on all ROMs. [MENTION=8530974]kush57[/MENTION] , which mobile operator are you using?
[OnePlus X Android Development] Karthik9113:
Airtel
[OnePlus X Android Development] :
My launcher (Smart Launcher) keeps crashing. I'm going to try a different ROM.
[OnePlus X Android Development] eshan_me:
I have the same issue, its like there's not decent network to even talk on 2g
[OnePlus X Android Development] BrahmaGandhi:
[MENTION=8530974]kush57[/MENTION] any changelog for new build 01/20 update?

does headset indicator (when plugged in) in status bar implemented?

I am so exciting to try this Rom but can anyone please upload some screenshots of whats under "customization's setting or whatever its named".. hoping it's quite the same as Yume's lemon pie Rom..or even better . thank you

ask: installation instruction is not there in OP. do i need to flash gapps along with rom or after first reboot?
[OnePlus X Android Development] kush57:
Changelog is given in post #2

Installation instructions is updated

To enjoy it's customization give it a try :laugh:
[OnePlus X Android Development] kush57:
It's a pie issue

I use jio ?
[OnePlus X Android Development] kush57:
Please provide logs
[OnePlus X Android Development] hoost_pt:
Magisk 18 works in latest release?
[OnePlus X Android Development] ajmalmuhammedn:
pie

its a nice build than you so much
[OnePlus X Android Development] thandiBear:
Is jio4gvoice app reliable enough?
[OnePlus X Android Development] Darren Lim:
Nice build. but the default launcher is so laggy (lawnchair v2), any idea that can make it smoother? :) Thanks. Liked the opening and closing app animation.
[OnePlus X Android Development] thandiBear:
Nice ROM, however I encountered a few bugs:

1) Can't enable vibration on pressing buttons

2) Can't disable navigation gestures

3) Drawing a V does not turn on flashlight on a turned off screen

4) 4g is too slow and inconsistent (as is on yumemichi's pie ROMs) on Airtel

5) Can't set alert slider to vibrate or ring (settings do not apply)

6) does not vibrate for calls
[OnePlus X Android Development] sagardakua:
Flashlight doesn't work in the qs panel :confused:

Edit: It works after almost 20 minutes of reboot... Strange... Sorry for misunderstanding :mad:
[OnePlus X Android Development] shahabkhan99:
[MENTION=8530974]kush57[/MENTION] dear .... i am facing external sd card issue ask me to format ... it is working fine on other roms like LOS.... can you fix it

i have some oneplus apps fixed i will share with you so you can add them in next fix if you like....

over all Great Rom ...thanks for this rom