yashsingh1/xdaforums huggingface dataset:
[OnePlus X Android Development] Hiempsal:
Just an innoncent thought : the right thing to do would be for someone to post the link to download the kernel somewhere in the topic - the main post with instructions would be ideal or, if OP doesn't have time to do it, someone else in a random post.

For those who aren't on Telegram, it doesn't seem so fair to tell them to flash something that they don't even have access to.

So, for those who are not on Telegram's channel, here's the instructions to flash latest YumeMichi's LOS 17 build :

1) download and flash via TWRP the zip file located in the folder "DO NOT USE" (dirty flash works, although I always prefer to wipe everything before doing so) ;

2) reboot to OS and then reboot again to TWRP ;

3) if you didn't follow the topic lately, the latest build causes random reboots ; in order to fix this, download and flash the zip file attached to this post - it corresponds to february's build kernel.

After that, everything should run normally.
[OnePlus X Android Development] kiwie07:
hi there. I believe this zip file is for the kernel right?

Thank you for posting this. Appreciated.
[OnePlus X Android Development] absolut_zero:
Thanks for the instruction.

However, after following the instructions above (by clean flashing), my device only boots to TWRP. My TWRP version is 3.3.1 by YumeMichi.
[OnePlus X Android Development] YumeMichi:
New build is up~
[OnePlus X Android Development] kruder1111:
Thanks ,,:) perfect, very good
[OnePlus X Android Development] Tiongkia:
Flashed June build. Gps, LTE and wifi working. Booted up with no issue so far

Will monitor

Thanks op
[OnePlus X Android Development] SebiderSushi:
All LineageOS 17.* builds by [MENTION=7093179]YumeMichi[/MENTION] were unable to read or set the harware clock on my device.

With the 17.1-20200601 build however, these issues are fixed! So i wonder if there was any specific patch targeting this issue (and which one that was) or if this happened by coincidence.
[OnePlus X Android Development] YumeMichi:
Read the description: https://github.com/LineageOS/android_hardware_sony_timekeep
[OnePlus X Android Development] SebiderSushi:
Thanks a lot for giving this insight! :victory:

Now i only still wonder a little bit how someone might come up with a readonly RTC driver... :confused: ;)
[OnePlus X Android Development] Hiempsal:
You're right, same thing happened to me as well but no one else seemed to be concerned. So I thought maybe my phone is the one having a problem...

Glad to know it's fixed. It was driving me crazy - once I rebooted my phone just before going to sleep and didn't think of connecting to internet to set correct time. Well, as a result the next day my alarm didn't wake me up...
[OnePlus X Android Development] platAB:
Camera works okay but can not save picture to sdcard
[OnePlus X Android Development] LouigiTodd:
Stock Camera App - Image Storage

Within the default camera app built into the latest Linage 17.1 build, setting the storage location from "Phone" to "SD Card" is easy. However, when the SD Card is selected the app doesn't save files. Any pictures taken aren't just disappear. Is this an SD card formatting issue or something?
[OnePlus X Android Development] Hiempsal:
When choosing SD card storage, photos and videos are saved under the folder sdcard/Android/data/org.lineageos.snap/files. It's supposed to work like that according to LOS devs, but many people already complained about this - it's stupid. See more : https://gitlab.com/LineageOS/issues/android/-/issues/443

As for the Rom, I loose LTE every time I exit from airplane mode or switch from wifi to mobile data. Even if a reboot fixes this temporary, I have to say it's pretty annoying. Anyone else having this?
[OnePlus X Android Development] clockhunter:
Also having this issue on February's build
[OnePlus X Android Development] Theeboon:
So far I'm getting spontaneous reboots daily with the latest build. Anyone else have the same issue?
[OnePlus X Android Development] Kurt Krummbein:
1. never, never, never write "latest build", next build, your installed won't be the latest and nobody knows what you're referring to.

2. On 20200601 build, i had one reboot during the night, connected to the wall - charger.

Gtz

Kurt
[OnePlus X Android Development] NightRuS:
It 's everybody 's.
[OnePlus X Android Development] XWERT:
I have problem with latest build. Sometimes freez and reboots my pohone.
[OnePlus X Android Development] YumeMichi:
I will take a look at reboot issue. And thank you guys for the donations.~
[OnePlus X Android Development] Entry_Plug:
Hello, I have an issue. I can't download app on Google Play (4G or WiFi) :/

I've tried to launch installation via desktop browsers but can't work.

Google play say "awaiting download" under apps I try to download. And icon spin indefinitely.

Any way to fix it ?
[OnePlus X Android Development] Hiempsal:
Could you also take a look at the mobile data problem? This issue exists since the very first build and really makes the phone unusable for some of us, as we have to reboot it every time it happens (and it happens A LOT).

Thanks again for you work, the community is lucky to still have someone taking care of our old OPX buddy.
[OnePlus X Android Development] pulsar1911:
I am still using a build with Android 9 thats over one year old. Same behaviour :)

I think it mostly happens when you lose wifi and there is no lte available immeadiately, like if you go into a cellar or concrete building and then back outside. But it happens too if you have wifi connected for a few days and then you want to use lte. Sometimes it happened too if you just disable wifi, but that has happened very rarely for me. So it is not easy to reproduce... and i never made a log

The only fix is a reboot if that happens.

I will switch soon to newest once the reboot is no issue from the last comments.
[OnePlus X Android Development] SebiderSushi:
Follow-up question: What happened to QC-time-services? I found out that it was used for this purpose in the LineageOS 15.1 build from 2019-05-11 for example.
[OnePlus X Android Development] tangmu93:
Thanks for keeping this device alive! :good:
[OnePlus X Android Development] CamoGeko:
Thanks for taking so much time to work and update this ancient device (5 years old!), even though you don't even own it yourself!!

Sent from my PH-1 using Thebear Blue XDA Labs
[OnePlus X Android Development] YumeMichi:
I have it as an alarm. :D
[OnePlus X Android Development] CamoGeko:
Ahh I thought you don't have one at all.

Does it make a good alarm clock? ?

Sent from my PH-1 using Thebear Blue XDA Labs
[OnePlus X Android Development] WifiXSmasher996:
Hello the work you have done is great..!!!

But i found and issue when i turn mobile data on/off for 3-4 time for some reason it does not turn on.

Please fix it Thanks Uou 😊
[OnePlus X Android Development] Jboer:
I have the seamen problem. The problem happened after installing de TWRP 3.3.1 in Boot. How can we solve the problem?

I have wiped cache, data, Dalvik, system. After that I have installed the latest Lineage 17.1 again, then a system restart. That worked fine for me. After that I installed OpenGaps with no problems and no restarts in TWRP anymore.
[OnePlus X Android Development] Kurt Krummbein:
So, we have already a fancy name for that ... "seamen problem" :).

If i got it right, you're installing twrp into boot-partition, reboot and wonder why you're system won't start but just enters twrp?

Then, after clean reflashing the ROM, you're able to boot into LOS again and now you're wondering why?

Because the reflashing restored the boot-partition you've overwritten with twrp, i'd guess ;).

twrp has to be flashed to recovery-partition, not to boot-partition.

Ciao

Kurt
[OnePlus X Android Development] Jboer:
Thank you Kurt. I was not sure if that was the problem. I know it now. Luckily everything works now.
[OnePlus X Android Development] SebiderSushi:
UnifiedNlp location provider patch has no effect

Hi [MENTION=7093179]YumeMichi[/MENTION].

I've noticed that you are supposedly patching in support for microG Core and UnifiedNlp as location providers.

However, applying these patches to framework/base is ineffective with LineageOS sources, as that resource is being overrinden in vendor/lineage/overlay.

I guess no one's actually affected by this but i thought i'd mention this seeing that the patches are still there on the lineage-17.1 branch in your github repo so it looks like they are at least supposed to work.

Have a nice Day :)
[OnePlus X Android Development] vinz_uk80:
No such issue on mine. Both dt2w and messaging are OK.

Great Rom already, thanks a ton [MENTION=7093179]YumeMichi[/MENTION] for your great work as usual.

I tested it today, and so far, so good. Sable, fast, simple, everything seems to work.

I'll test Android Auto tomorrow ;)
[OnePlus X Android Development] rizkal:
You try when aod on?
[OnePlus X Android Development] psychem:
nice to see los 17!

im having 2 issues

1. ext4 formatted sd card is not recognised

2. when i try to reboot twrp after clean flashing los 16 after clean flashing los 17, i get the error NO OS INSTALLED!
[OnePlus X Android Development] crazysuraj:
Heya Psychem!

Nice to see you here!

Are you currently on any new working for onyx? May be, umm, Q?
[OnePlus X Android Development] hlapatsas:
First impressions

Hi and thanks for this Rom!

First impressions as I am using it as my daily driver:

-Better battery life than my previous Pie rom

-Camera slows down

-Youtube slowing down\freezing when on 720p and bluetooth is on and connected simultaneously with wifi.

Sometimes I have to reboot the device for the Mobile data (3G/LTE) to work after been conbected to wifi.
[OnePlus X Android Development] vinz_uk80:
I don't have option to enable AOD.

Where do you find this? In display parameters?

Indeed, I had the same behaviour when streaming music on my BT amplifier while surfing in wifi.

The sound became very choppy and the phone very slow.

A reboot solved this.

As well this morning, the phone soft rebooted while trying to connect it to Android Auto in my car.

But for a first release, this is really promissing for the future :)
[OnePlus X Android Development] :
Sensors are all working as far as I can tell.

---------- Post added at 05:48 AM ---------- Previous post was at 05:44 AM ----------

About the mobile data issue: Are you using af wall? Because I had the same bug untill I uninstalled af wall.

And about YouTube, I have the same, apparently YouTube toggles 60fps in the background, which leads to a short reload. It seems like 60fps does not run smooth (as you said) that's why the app toggles it off automatically. At least that's what I observed.
[OnePlus X Android Development] hlapatsas:
1. No, no af wall

2. It's not reloading, it's breaking even on 30fps.
[OnePlus X Android Development] nannoe:
Congrats on this ROM. Really awesome of you spent the time to develop this!

A couple of questions:

1) device encryption in Android 10 was a headache for recoveries like twrp: is twrp now able to decrypt?

2) to add to that: is device encryption possible?

3) is SE Linux enforced?

4) will SafetyNet be triggered?

5) what bugs are known and can you add it to the opening post?

6) Will your Unofficial LineageOS 16.0 build be maintained until all bugs have been smashed? If no, until what moment will you maintain LOS16 as the latest version is 28 Aug 2019?
[OnePlus X Android Development] :
I can answer the question about safety net and selinux: Selinux is disabled in this version, therefore there is also no chance to pass safety net at the moment. And to answer your no. 5: I am using the rom since release as my daily driver and there are not many bugs overall. I had problems with mobile data not working temporarily, but that seems to be gone now. Other than that there are just some lineageos features missing/not working, but that's due to the fact that lineageos 17 isn't even official released yet.
[OnePlus X Android Development] Serv22:
When installing the Viper fx module from magisk, the ROM breaks, the system does not boot.
[OnePlus X Android Development] CamoGeko:
You're best off reporting that to the ViperFX devs or just waiting until a later date and trying again.

I'd say reporting that here is the wrong place since this ROM is barely Alpha imo.

Sent from my OnePlus using Thebear Blue XDA Labs
[OnePlus X Android Development] rizkal:
You can find it in the settings by typing "always"
[OnePlus X Android Development] BuzzBradA:
Ya'll have Android Auto working? If so could ya share your setup .. Default USB Configuration in Developer Options etc. ..

Thanks
[OnePlus X Android Development] kush57:
Great work [MENTION=7093179]YumeMichi[/MENTION] you have always been a inspiration for us all :good: :laugh:
[OnePlus X Android Development] panaris:
I use this ROM as a daily driver and the only issue I encountered so far is that I can't make in app purchases even tho I pass the safetynet checks and I'm not uncertified in playstore.
[OnePlus X Android Development] Techsports:
Issues in the Initial Release

I have encountered two issues till now

1- After rebooting the phone ..the phone does not unlock even if you put your pattern properly ...it gets solved after a minute or so

2- Sometimes while using the phone the notification panel gets too laggy .. it'll be literally unusable ....only the notification panel lags and not the whole phone it self

.

.

And yes this doesn't have Lineage customization ..it's just the initial release ..need to wait for it to improve

.

.

Has anyone found a way to fix Safety net issue permanently? IAM using FK manager to run this script "setenforce 1" to get it to enforcing
[OnePlus X Android Development] dev_chris:
Camera SD Card Issue

Hey guys.

First of all: thanks for your great work, [MENTION=7093179]YumeMichi[/MENTION] !

One issue i encountered is that the camera app is unable to save taken images to external SD card.

It does not matter which one of the three camera apps i try, none of them is able to store the shots on external SD card. Saving images to internal storage is no problem at all.

The three camera apps I tried:

OpenCamera

com.oneplus.camera

org.lineageos.snap

Do you have any tips, how to fix this issue?

Thanks in advance!
[OnePlus X Android Development] chall32:
Couple of observations:

- Netflix missing from Google Play

- WhatsApp contacts showing as phone numbers, not names

Great ROM though
[OnePlus X Android Development] YumeMichi:
I'm waiting for a new build server (r3 3200g+b350m+16g+2t ssd, low power consumption and acceptable performance) so there is no update recent.
[OnePlus X Android Development] Kéno40:
Hi [MENTION=7093179]YumeMichi[/MENTION]

Seriously : good job !

My X runs fine. Battery back up seems good (I use it without Sim card).

Seems all OK

Thanks!!
[OnePlus X Android Development] LoneWolfN8:
Hello everyone, my OnePlus X screen froze and it turned off after its battery got depleted. Unfortunately its power button is broken. However, I tried to boot into TWRP by using the Volume up/down buttons but that did not work as well (don't know why).

As my phone's USB Debugging option is turned on, I tried connecting the phone to the pc but the "adb devices" command does not show my device (it returns a blank list of connected devices).

Any ideas/methods on how I can switch on my phone? Thanks in advance!!
[OnePlus X Android Development] CamoGeko:
Reinstall USB drivers, try a different USB cable / USB port?

You can also boot into bootloader and choose recovery from there I believe.

Good luck!
[OnePlus X Android Development] LoneWolfN8:
Thanks for the advice. I have tried different USB ports and tried connecting my phone to a different PC as well, but the device folders don't show up after I connect it to a PC (I think the PC does not treat it as a portable storage device because its switched off and the phone might have been set to "Charge only" mode by default).

The "adb devices" command is not recognizing the phone even though the USB debugging is turned on (I tick marked the option when the phone was working), any thoughts on how to reboot my phone using "adb" commands? Do these commands work if the device is switched off? Thank you!!

UPDATE: The PC recognizes the phone as Model: Android and as a MTP USB Portable under the category "Unspecified" (I found it under Windows Control Panel -> Devices & Printers), but I cannot access the file/storage system of the phone as it does not show up in the windows explorer. I can also access the read-only properties of the phone, if that helps somehow.
[OnePlus X Android Development] Kurt Krummbein:
First question, in what state is your phone, LOS booted or TWRP booted? If both is not the case, there is nothing adb can connect to. Or is it in FASTBOOT-mode? Then you can try to reboot it with "fastboot reboot" and push volume-down to get it into recovery.

If both is not the case, you should search for "unbrick onyx" :(.

Regards

Kurt
[OnePlus X Android Development] LoneWolfN8:
My phone was LOS booted (and was running some applications) when it froze. It then switched off after its battery got depleted. It seems my power and volume buttons are broken and I am unable to turn on my device using any of these hardware buttons. As the USB debugging feature is enabled on my phone, I was wondering if I could power on the device by connecting it to a PC and running some "adb" commands.

When I charge my phone it shows the 1+ splash screen and the charging battery animation so the device is working fine, its just that I am unable to switch on the device due to the broken hardware buttons.
[OnePlus X Android Development] Meheraj Chowdhury:
Want the Rom Review

Hello guys,

I'm currently on AOSP Extended Pie Stable rom. It's bug free and awesomely smooth. It is my primary device and daily driver. But still i wanted to try out Android 10. As Yumemichi's rom is the most frequently updated and well maintained i'm hoping it will be wise to flash this. From previous comments i'm not getting a clear view of the rom. Actually I wanted to know, How is the overall performance, battery life, and any heating/lagging/forced close issues compare with Pie roms. if possible please mention the best build of this rom.

Thank you.
[OnePlus X Android Development] pumikachu:
Me and my gf are using our one plus x since least week with this rom as a Daily driver and so far we are quite satisfied and without any major issues so far. Battery loss in flightmode over night is about 0.5% per hour.

It is not possible for the camera app to save to sd card btw and some guys are experiencing issues with lte as far as I know.
[OnePlus X Android Development] hammad siddiqui:
Apart from a few some random freezes and random restarts everything else is fine.

It surely is a little slower than the last Yumi (pie) built. i am enjoying the fast share menu and that was my primary reason for updating to Q.
[OnePlus X Android Development] fotjon:
The phone goes off without warning or anything. The battery is not even close to 0. It will not boot up (power button has no effect). I put it on charge and wait for at least one hour or so. Eventually, It will come back. Just now it happened again. The phone is hot while charging but it still can't be turned on. I'm waiting to see what happens. I'm thinking it is not related to the rom, maybe the battery reaching its limit? I mean, it is 4.5 year old.

Do you think I should prepare for a disaster soon?

Update: Solved by holding the power and volume button for more then 12 sec. Other say to hold the power button for 20+ sec.
[OnePlus X Android Development] XWERT:
Yes last build is bugged. We rly need fix this random restsrts.
[OnePlus X Android Development] CamoGeko:
I really doubt that.

Should have plugged it in when it froze if you knew your buttons are broken lol, at least then you might have been able to run some ADB commands to reboot it.

Hope its not your daily driver.
[OnePlus X Android Development] LoneWolfN8:
The volume buttons were intact and working when my phone's screen froze. But then my brother fidgeted the volume buttons and broke them, of which I wasn't aware of. Sadly, its my daily driver :(
[OnePlus X Android Development] nithinrajiv:
How is the battery on that?
[OnePlus X Android Development] pumikachu:
Something is wrong when i try to sign the apks and generate the ota package on my machine. This is the output from python i get when signing. so I can clearly see, that there is a type conflict in the regular expression, but I am not quite sure why this only bothers me and no one else? Any ideas on that? :confused:

Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 2455, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 2427, in main
WriteFullOTAPackage(
File "./build/tools/releasetools/ota_from_target_files", line 1004, in WriteFullOTAPackage
device_specific.FullOTA_Assertions()
File "/media/build/lineage/build/make/tools/releasetools/common.py", line 1709, in FullOTA_Assertions
return self._DoCall("FullOTA_Assertions")
File "/media/build/lineage/build/make/tools/releasetools/common.py", line 1703, in _DoCall
return getattr(self.module, function_name)(*((self,) + args), **kwargs)
File "/tmp/targetfiles-lyw00h1l/META/releasetools.py", line 21, in FullOTA_Assertions
File "/tmp/targetfiles-lyw00h1l/META/releasetools.py", line 30, in AddTrustZoneAssertion
File "/usr/lib/python3.8/re.py", line 201, in search
return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object

The issue lies in the python script taken from here

/device/oneplus/onyx/releasetools.py

def AddTrustZoneAssertion(info, input_zip):
android_info = info.input_zip.read("OTA/android-info.txt")
m = re.search(r'require\s+version-trustzone\s*=\s*(\S+)', android_info) <== here is the issue; this is line 30

edit: i solved it by changing this line to android_info = info.input_zip.read("OTA/android-info.txt").decode('utf-8') so i am correctly inputting a string instead of a byte array in the line 30.
[OnePlus X Android Development] 00aaaa00:
Many thanks to YumeMichi for working on this project!

Ever since I updated to lineage 17 I've had weird issues... geolocation no longer works, i often don't get notifications, sometimes don't get notified when someone is calling me, it randomly reboots at least once a day... i get weird issues with other apps sometimes (i don't have gapps). has this happened to anyone else? i'm wondering if its a hardware issue and if it means i need to upgrade? i really like the oneplus x though :crying:
[OnePlus X Android Development] Djalil87:
Hello all,

What a great surprise when I saw that LOS17 was available for my OPX, the installation went as good as it can be, the OS works great and is so smooth. I only had the camera issue that was solved by a Dalvik wipe.

Thanks YumeMichi for this great work !

Djalil.
[OnePlus X Android Development] I-Vladimir:
Anyone experienced issue when notification bar slides down after phone call?
[OnePlus X Android Development] ugugx:
my phone is in a restart loop now after showing the 1+ logo it restarts again, also when loading TWRP or fast boot mode and can`t be powered off, any ideas?
[OnePlus X Android Development] eg789123:
Full wipe done?

TWRP version?

What was the last thing you did before that happened?

Had something similar happen to me, after loading magisk module viper fx
[OnePlus X Android Development] mishbieg:
Try connecting the charger. It worked for me several times before.
[OnePlus X Android Development] jteller1312:
I lost root after installing this ROM...should I root again?

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

I first unlocked bootloader (OEM unlock) OPX 6.0.1 and then flashed the Magisk zip

Now that I booted my phone after the ROM installation the twrp app and the magisk stopped working and crashes all the time
[OnePlus X Android Development] ugugx:
sorry for the late reply

there was no updates for the rom or twrp, it was another day of use when that happened, only magisk systemless hosts was in use

had to drain the battery and use the charger multiple times until it booted and worked normally after