yashsingh1/xdaforums huggingface dataset:
[OnePlus X Android Development] Meheraj Chowdhury:
Uninstalled SG OTA app accidentally

Is there any way to restore the SG App? Or can someone upload it? I've accidentally uninstalled it with App2SD. & there is a new OTA in sourceforge named AospExtended-v6.7-20201231-0322-OFFICIAL. I downloaded it and tried to flash using TWRP. But i'm getting error 7 saying *Setting 60hz property failed" Something like that. Is this because of SG OTA app missing? Or i'm doing something wrong? I have just clean flashed "AospExtended-v6.7-onyx-20200321-ROM" and the OTA Update "AospExtended-v6.7-onyx-20200410-OTA" successfully yesterday. But the new OTA is not flashing. Please help me out.
[OnePlus X Android Development] shahabkhan99:
I think you install a firewall or something that block the OTA app.... and there is no requirement of any type of the browser.... try a clean flash "21's March full rom"

how do you know that there is OTA app and April Patch release???:silly:

from my post right?? in the same post i mentioned that auto flash is not working:eek:
[OnePlus X Android Development] :
For some strange reason, the wifi connection keeps dropping. Why has it started doing that now after months of being stable?? No other devices in my home have this problem, just my OPX.
[OnePlus X Android Development] shahabkhan99:
strange .... i am using the same for more then a month but no issue check you logcat maybe there is something that block it or just rest WIFI setting only and try:fingers-crossed:
[OnePlus X Android Development] :
I reset network connections and checked all the WiFi settings and.... no difference. Still dropped. But then, after maybe a couple of hours, it started working properly again. No drops. Hope it stays that way. Weird indeed.
[OnePlus X Android Development] Meheraj Chowdhury:
Thank you. I may had missed. Btw is there any way to fix the face unlock. I read somewhere that google has removed the smart unlock feature. So, if it is true, is there any workaround? I really miss the auto face-unlock feature of your rom.
[OnePlus X Android Development] shahabkhan99:
Good Question .... :cool:

face deduction is already in the rom....

so just download old Gapp which is with "face unlock"

that's it done...
[OnePlus X Android Development] Meheraj Chowdhury:
Oww... That was really helpful. Thanks a lot for this awesome rom. It's just wow.
[OnePlus X Android Development] Didi_QZar:
Has anyone solved the problem with CTSprofile (Safetynet) using the latest Magisk 20.4? Even installing the Magiskhide module I still don't pass and the tip hide/unhide

needs to be redone every time. Thanks!
[OnePlus X Android Development] Meheraj Chowdhury:
I didn't understand your point clearly though. But you can pass the safetynet by toggling off and then turn on again from the *Magisk Hide* option in magisk manager settings. Then you can login/setup apps that needs that (Always clear the data and cache of the apps). But if you reboot, the process needs to be reworked. (But it'll not affect on already selected apps in the magisk hide section). Hope this will help you out.
[OnePlus X Android Development] erik.aragorn:
I did install Gapps, but I do not have face unlock :/
[OnePlus X Android Development] ze7zez:
Old

gapps, and you must have screen locking enabled e.g. by code.
[OnePlus X Android Development] shahabkhan99:
try before sep 2019 Gapp
[OnePlus X Android Development] sagardakua:
Can you help me with one thing?

I was in los 17 rom and everything was normal. Then after flashing POSP rom suddenly i can't use Netflix in my device. Play store shows not compatible in this device. I have tried to install by apk file but it keeps buffering. Then i thought it's rom issue so flashed this rom to check but nothing changed. I have tried with different account and vpn but still same problem. I can't use netflix anymore.
[OnePlus X Android Development] erik.aragorn:
Where I can find it, on open Gapps is the newest
[OnePlus X Android Development] gipsy.danger:
they have old archived versions. there is an option on the page to download other versions.
[OnePlus X Android Development] shahabkhan99:
first i am not using netflix app ... but you can try to fix it ..... as per my information you have to do two steps :

* First pass safety test from Magisk manager

* Second use SELinux status changing app in order to change SELinux mode to "Enforce"

then try to install Netflix :fingers-crossed:

otherwise G:silly::eek:gle it...Good Luck:good:
[OnePlus X Android Development] shahabkhan99:
try to download from this page

https://sourceforge.net/projects/opengapps/files/arm/20191208/

should be arm + zip file + android 9.0 example:

open_gapps-arm-9.0-mini-20191208.zip

test it and reply
[OnePlus X Android Development] shahabkhan99:
May OTA release is up

Enjoy......!
[OnePlus X Android Development] SjBathavar:
Hi, indeed your help with this. Is there any security change causing third party apk downloaded from websites not getting installed and results into app not installed dialogue box. I'm on Feb, 2020 security patch.
[OnePlus X Android Development] gipsy.danger:
there could be several reasons

1. app is not designed for Android 9 api

2. app is not signed with proper licence

3. app is corrupt

4. app is dogdy
[OnePlus X Android Development] :
Downloaded OTA and flashed via TWRP (wouldn't flash direct from app)

All working perfectly. Excellent work again [MENTION=4639231]shahabkhan99[/MENTION] , thank you :svetius: :)
[OnePlus X Android Development] shahabkhan99:
FYI.... new SG OTA 2.0 app is included in the update with lots of bugs fixed so next time download OTA and resatrt to recovery from OTA app and flash update from download folder .... and yes direct flash script is removed by me bcz it is auto wipe and install ota :silly: .... so some time later i will work on it ...so be on save side OTA 2.0 is ready with bug free ....thank for supporting :good:...i will keep it up:cool:
[OnePlus X Android Development] ze7zez:
Face unlock

I found the gapps version on my disk containing face unlock.

If you check and write here that it works, I will leave this version of gapps on AFH for others and add a comment to the file.

open_gapps-arm-9.0-aroma-20190302.zip should be installed first (you choose what you want) contains the FaceLock application,

and second you can install open_gapps-arm-9.0-nano-20190921.zip.

Remember, however, that Google has ended support for face unlock in favor of 3D face unlock.
[OnePlus X Android Development] Echosen:
Update on

How do I update this? I don't see a software update button?'
[OnePlus X Android Development] shahabkhan99:
once new release downloaded ...manually go yo recovery and install it from download folder
[OnePlus X Android Development] Meheraj Chowdhury:
Bugs

I found issues. One is.. After flashing the latest OTA phone sometimes shows "System UI not responding" I've wiped cache & dalvik cache partition. After that the issue is less like once in a day. But it hasn't gone completely. Before the OTA there wasn't any such issue. Another bug i found, After a reboot or manual on off, the system couldn't detect the accurate time. It always shows "1:27pm and the date shows the OTA flash date" it corrects itself after turning on wifi or data. This too was not present in the previous build.
[OnePlus X Android Development] shahabkhan99:
so sad ... i never face issues like above or no one else reported :(

do one think take full back up wipe internal storage + remove external storage

then full wipe and install march release + gapp + Magisk ... once all ok update from OTA app to May OTA release .... good luck
[OnePlus X Android Development] :
I've just noticed it! I usually have my data on so hadn't seen this before (and hadn't noticed it before in previous releases) BUT, yes, the date and time isn't correct if you don't have data/WiFi on.
[OnePlus X Android Development] rgl12:
Hey.

I have problem with instalation of this ROM.

I've wiped out everything, and it still gives me this error below.

https://imgur.com/a/PWr4gF4
[OnePlus X Android Development] gipsy.danger:
twrp needs update.
[OnePlus X Android Development] rgl12:
My twrp is upgraded from link of first post of this thread. It's 3.3.1 if I'm not mistaken.
[OnePlus X Android Development] gipsy.danger:
zip verification enabled or disabled?
[OnePlus X Android Development] rgl12:
It's disabled

Edit. But on enabled option I have an error of failed zip signature.

I downloaded ROM now three times, and still no further way to install it.
[OnePlus X Android Development] gipsy.danger:
what did you wipe before installation?
[OnePlus X Android Development] rgl12:
Litteraly everything, cache, dalvik, system, data
[OnePlus X Android Development] gipsy.danger:
only this rom fails?

i suggest you reinstall the twrp just in case.
[OnePlus X Android Development] rgl12:
I have tried three different twrps, so that's not the problem.

Well today I'll try with different ROM.

maybe someone can upload his ROM zipped which earlier worked for him?

Thanks in advance.
[OnePlus X Android Development] Meheraj Chowdhury:
Uploaded In Google Drive

Build Version 20200321

https://drive.google.com/open?id=1MshMhITmqHy4Uvroya8UevsfCodwJdxS
[OnePlus X Android Development] gipsy.danger:
i have official twrp and haven't faced any difficulty flashing the exact same rom.

so for once i am pretty sure its the twrp that is somehow not working for you.

what partitions are mounted when you flashed it?
[OnePlus X Android Development] Meheraj Chowdhury:
Thank you for your response. Actually I had clean flashed everything from scratch. Wiped everything & flashed the march build+gapps+ota+magisk. two weeks ago... everything was good. The issue has started after the last OTA flash. So something may be problematic with this OTA update. As now others are also reporting the same problem. Please have a look in this regards.
[OnePlus X Android Development] shahabkhan99:
check your partition type ...should be ext4

remember error 7 is bcz of not comfortable with this zip mean you have to check the :

recovery update

partition type

also rom type

i am busy in these days ... i will look in to it look like issue in Build.prop under date time setting or miss match under vendor build.prop that it ... if you have time type to look in to it .... remember all codes should match "sysytem/build.prop" and "vendor/build.prop"
[OnePlus X Android Development] xdabey:
I am noticing the wifi speed + bluetooth bug again.

Clean flashed March build, then dirty flashed April and May updates.

The bug seem to have reappeared after the May update.

Anyone else notice this?
[OnePlus X Android Development] terrycurls:
I did clean flash march then may, and have noticed this bug too.

Also occasional freeze soft reboots?
[OnePlus X Android Development] terrycurls:
Update on this, had a hunch and installed nova launcher...

Some slight lag sometimes still but no more proper hang or reboots.

Great success.
[OnePlus X Android Development] :
I think my phone is haunted.

The battery life suddenly sucks (it went from 100% to 80% in 1 hour just sitting on the table, screen off, doing nothing), it's dropping both the WiFi and data connections. It started reporting the availability of an OTA update (dated June 14) but there isn't one. Weird weird weird.

I downloaded the StopCovid app last week (I live in France) and that was draining the battery (it's a known & reported fault with the app) so I uninstalled it. But since then, the battery is still draining quickly and I have these new problems. I'm now doing a full wipe and clean install just to see if that improves things.... maybe my phone has coronavirus :eek:

Edit: I had to flash the ROM via adb sideload, there was no other way of getting the ROM onto the phone!
[OnePlus X Android Development] :
Quick question: are OTA updates cumulative? That is, do I need to flash them all (from last full update) or will the latest one also include the changes from the previous 2?

Edit : OK, no probs, just clean flashed the full March ROM then each OTA in turn (April, May and June) All back up and working now at the latest patch level (14 June build) All seems good so far and I'll be watching battery level.
[OnePlus X Android Development] shahabkhan99:
wait... and stay on last good OTA i will upload one for all OTA which will directly flash to March rom

i need time to test before release it
[OnePlus X Android Development] :
Whoops... too late, already done it :( Oh well, I'll leave it as it is until the new OTA is available. I'm sure there'll be no major problems :)
[OnePlus X Android Development] username1998000:
First there is an update for the twrp should we update to 3.4.0-0 or stay on 3.3.1-0

second do you have plan for a full rom release or the march release is the final and only ota from now on
[OnePlus X Android Development] shahabkhan99:
well 3.4 twrp support android 11

yes i am planing for full rom after july patch release by android

so it is up to you:cowboy:
[OnePlus X Android Development] fblu:
Cumulative updates

Hi,

I'm planning to install this ROM for the first time.

If I flash the March Version and use the included OTA-APP, is it ok to just flash the offered latest update or would I have to search for all the other update packages?

Thanks in advance

Best,

Fred
[OnePlus X Android Development] shahabkhan99:
hay... just install march release and use it dont go for ota update

maybe in a week i will release july full rom ... if you like march rom them directly jump to july :angel:
[OnePlus X Android Development] fblu:
Thank you for the very fast answer. I will wait for the next big version.

Still, for future cases, it would be interesting to know: if I "miss" an OTA update and the next one is offered by the OTA app already.... is it sufficient to install the latest update, or would I have to find the in-between-updates also?

Best,

Fred
[OnePlus X Android Development] shahabkhan99:
latest release mean all previous release including .... :laugh:
[OnePlus X Android Development] fblu:
I know, i know :) the july release will include everything. The question was directed at small updates in the future after the July release has been installed... if it is necessary, to install all upcoming ota updates in the right order, or if it would be possible to skip a few ota updates and then just install the latest small ota update.
[OnePlus X Android Development] shahabkhan99:
well if you look in to the monthly patch mechanism ..... all previous changing are included in last release

mean no need to update old ota release ... just jump to latest one
[OnePlus X Android Development] shahabkhan99:
July release is up

it is full rom ... clean flash recommended

Good luck
[OnePlus X Android Development] razerboost:
ADB interface driver

I'm unable to view my Oneplus X device in adb platform-tools SDK using adb devices command on this custom ROM. I applied the following steps.

I had installed ROM (clean flash - AospExtended-v6.7-onyx-20200321-ROM)

I have enabled USB debugging and connected to PC in ptp mode.

I end up getting driver not installed successfully which on investigating shows ADB Interface driver not found.

I have installed the Oneplus USB driver that came originally with the phone with no luck. It had worked with stock ROM.

I've flashed with the new ROM (dirty flash - AospExtended-v6.7-onyx-20200710-ROM) and tried again with no luck.

Please advice guidance if there's an alternate driver that I can use.

Edit: Self resolved, I just had to update driver with Google USB driver
[OnePlus X Android Development] Meheraj Chowdhury:
Simple Confusion

I've clean flashed today morning. All is good so far. But when i check for update in SG app. It's showing update is available. Even if i'm in the latest build, why it's showing this? Should i clean flash again after downloading the rom using SG app? or is this simply a bug of SG app?

Please clarify. I want to flash and setup my device full fresh.
[OnePlus X Android Development] shahabkhan99:
thanks for the notice... it ia app bug i will fix it soon

just ignore it

edit: fixed
[OnePlus X Android Development] razerboost:
I don't see Enable OEM unlock setting under developer options for the latest ROM. Is it hidden, how do I view this setting?
[OnePlus X Android Development] gipsy.danger:
why will a custom rom show that? if you are running a custom rom isn't it obvious you already unlocked your device?
[OnePlus X Android Development] :
Just flashed (clean), no problems and all looks good to go. Thanks for all your hard work [MENTION=4639231]shahabkhan99[/MENTION] :)
[OnePlus X Android Development] sabarinathc:
Storage access for camera and gallery not working

I have clean flashed with the latest version of the ROM, through latest twrp. There is no SIM card, but have a 32GB SD card. Not able to click photos with both OOS Camera and Snapdragon Camera, giving error saying there is no SD card. I tried formatting the SD card in both ways, portable and internal storage. Gallery app also crashes, saying no SD card. What could I be doing wrong here?
[OnePlus X Android Development] Meheraj Chowdhury:
Thanks for quick response and fix. Yeah you've fixed it. Really awesome job. Respect for your hard-work for us.
[OnePlus X Android Development] Meheraj Chowdhury:
Photos not saving in SD Card

I've not faced no sd card error. But yeah has seen the camera app couldn't save photos in SD card. For fix, You can try install the older version OOS Camera and QuickPic Galley. (Of course you'll not get the 4K option but other than it's perfect even the flashlight) . I've attached the the camera, gallery app & app2sd.

Instructions : Format your sd card as internal adoptable storage > Then install App2SD > Go to it's Settings > Select ignore systemless root > Then uninstall both the OOS Camera and OOS Gallery (If you want you can uninstall Snapdragon Cam too) > Reboot. After reboot > Install the OOS Camera and QuickPIc gallery from the attachment. Use App2SD and convert them as system apps > Reboot. You are done.

Hope this helps.
[OnePlus X Android Development] Meheraj Chowdhury:
Hello Dev,

Can you please look into this matter? I had forgotten about this as i never used the default OOS Gallery and OOS Camera. The Gallery app loads thumbnails very slow and the OOS Camera's "Flashlight Device Temperature Safety Issue" & "Not Saving photos in SD card issue" has hold me back using them. So i've find my workarounds. But as someone notices this i thought i should also inform you too. As it seems many uses it as default. So, please go through it. Thanks.

*Edit* : In my case, it stores photos in SD Card, But can't access the photos from the Default installed camera app.
[OnePlus X Android Development] sabarinathc:
fixed the SD card preventing camera issue

Thank you [MENTION=7661591]Meheraj Chowdhury[/MENTION] for the quick response. The SD card not found preventing the camera and gallery from working was actually due to an earlier SD card I had used long back still showing up as not present in Storage. Once I removed it, the camera and gallery started working (now using the current SD card as internal).

Thank you - I will try out the older camera, as I do not much care for the 4k.
[OnePlus X Android Development] razerboost:
I'm facing random difficulties accessing with banking apps. I had rooted with Magisk and then did a complete uninstall in Magisk app to get to unrooted state. I checked with root checker and supersu, both apps inform the phone is unrooted. Yet, banking apps such as Payzapp informs the phone is rooted. Google Pay just opens to a white screen, strange I get gpay notifications, but cannot go past the white screen.

I've reinstalled the apps, during the first time app open - everything looks good. When I reopen the apps again, I end up back to the previous issues described.

Have I missed a step during unrooting and is anyone else facing these issues. For now, I've uninstalled these apps.
[OnePlus X Android Development] gipsy.danger:
these apps generally look for bootloader status. no matter if your device is rooted or not if its unlocked the apps will report it as unsecure rooted device. Magisk trick works sometimes, sometimes it won't. depends on how strict the app is on detecting unlocked devices.
[OnePlus X Android Development] nithinrajiv:
Can you please help with the battery optimizations
[OnePlus X Android Development] username1998000:
Have you tried flashing the default boot.img (inside the zip file) through TWRP after uninstalling magisk ?
[OnePlus X Android Development] razerboost:
If you meant the default boot.img as the custom rom image (I had also taken backup of the stock rom), no I've not tried it. Even if I tried that, it would still leave the bootloader unlocked. And I was advised here on this forum, banking apps look at the bootloader status.
[OnePlus X Android Development] shahabkhan99:
ok... as i mention before for bank apps or any related you should not use any rooted device for your safety reason!!!

but you dont have choice then it is your responsibility only .......

so just download a app which will change the SELinux status from Permissive to Enforce Mode.

ref:

https://www.xda-developers.com/easily-change-your-android-selinux-mode/

then go to magisk => setting => hide unhide

done .... clean you bank app cache and try it...it should work

good luck
[OnePlus X Android Development] KiNoys:
Selinux mode changer does not work on this ROM aex, when we select enforce, the phone will immediately blank and error. is there something wrong?
[OnePlus X Android Development] shahabkhan99:
Mean the app is not work try other app from play store

edit and recheck that root access is there for app!!!
[OnePlus X Android Development] username1998000:
thanks for the great work

I can confirm that changing selinux to enforce result in error specifically the phone sleep immediately after never to wake again so the only option left is hard restart (I say restart because of the long time it takes to turn on after pressing power button which mean the phone is turning off first) and other thing that i noticed is that the selinux status is missing from the setting it shows if you searched about it but not the right value because its says enforcing all the time
[OnePlus X Android Development] razerboost:
Contacts disappearing

Hi - I seem to have problem with my contacts being completely being wiped off on the device when 3rd party apps are first installed such as Whatsapp and Telegram are given permission access to phone contacts. I thought this was an anomaly, but I replicated the same issue by uninstalling & reinstalling Telegram and giving it all necessary permissions except one (I denied it permission to read phone logs). I'm on the latest ROM. Is anyone else facing this issue?
[OnePlus X Android Development] username1998000:
Yes i did notice this problem before and it's an old one that i forgot to report:p

my workaround was to have all contacts on the email rather than the phone (under default account for new contact)
[OnePlus X Android Development] hockeyfan#01:
Checking older threads I see encryption is possible on this phone.

I would like to know how the performance is with encryption turned on and if there is any bugs. Does anyway have an experience that they can share

Thanks in advance
[OnePlus X Android Development] razerboost:
I think its bit of major issue that needs to be addressed that any app that require manage phone permission which will end up wiping out the contact stored in the device. I don't trust storing contacts in google mail id as I know google has algorithms that run on any google email intrusively either for ad related or other reasons. I'm bit a privacy nut, I also find difficult to uninstall "via browser", all I can do is to disable the browser. Should I report the bug related to contacts issue in any specific format in any other portal or letting everyone know in this forum would be enough.
[OnePlus X Android Development] username1998000:
i noticed that the logcat command return “Logcat read failure” via adb, terminal emulator and logcat apps like aLogcat, Catlog and MatLog don't work either and it happened on clean install so i wonder if the logcat feature was disabled by default:confused: