yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
This is not an addon, but the original Google implementation. It's not granulated and the algorithm is bad. It should have been done the way battery optimization was - with an option to exclude certain apps.

You should ask people who use Snapchat with Microg. I also heard that older Snapchat versions do not require Google play. So, research that.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Astur_Torque:
I'm not able to pass safetynet.. any suggestions?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Start with the latest version of Magisk
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
I somehow lost the ability to play Bluetooth audio with car radios. I tested on 3 cars, and all 3 do not play music. Which is odd because I can play via Bluetooth to different sound bars..

It connect to the car ok, and the car even receives the current playing song metadata. But when I press volume up/down my phone isn't controlling the Bluetooth audio, instead it controls my phone media volume.

Could this have anything to do with the Bluetooth changes in v10? It's really odd behavior. I tested the car stereos with a different phone and they had no issues. I also tried 2 sepetate music apps.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] CharlesDicken:
Where's the "paste" from clipboard when one select text?

Tried tapping on the 3 vertical dots, doesn't show "paste" either :(

[IMG="paste menu"]http://i.imgur.com/WQU3p7P.png[/IMG]
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
This is confirmed. Looking into.

Experiment with different codecs in Development.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] 123top:
I got the same issue, even after reinstalling Magsik (ofc with the newest version).

In v9.1 everything was fine.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Can't seem to change the codec. When I do, it doesn't actually change. Looking through logcats, nothing really looks related, but this seems to popup each time I try changing it

CANNOT LINK EXECUTABLE "/vendor/bin/hw/android.hardware.secure_element@1.1-service": library "vendor.nxp.eventprocessor@1.0.so" not found
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Try to change bluetooth AVRCP version. That logcat entry has nothing to do with Bluetooth, but rather NFC.

The rom has nothing to do with Safety net. It's being constantly updated and Magisk is always behind.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
On second thought, unzip the attached and transfer the file to /vendor/lib64 in TWRP.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
I did, still cannot change codec no matter what AVRCP version is selected. Do I need to provide permissions to the file in twrp?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
New build

Rom updated:

1. Fix for Cut/Paste issue

2. Separate settings for Background Clipboard Access per app (Settings/Privacy/Jaguar permissions)

3. Overclocked Slimbus (kernel)

Download in post #3.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] 123top:
Can you add this fix? Many people have problems to pass safetynet since july security patch, this should fix it. Maybe add it to the ROM?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
I have always had that. Roms that haven't been updated to July security patches might work with Safetynet. Those who have, would have to wait until Magisk fix.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Any other ideas for the Bluetooth issue? Would be nice to know if anyone else has the same issue.

Edit - turns out you can change the codec only when connected. I'll have to test different ones this weekend and see if they can work in car.

Double edit - had the same issue happen to a pair of Bluetooth headphones. Once they disconnected, I couldn't control Bluetooth volume after reconnecting. Went into Bluetooth settings for the selected device and toggled media audio off/on a few times. Eventually I could control audio over Bluetooth. So at least that's one workaround.

Happened again, this time I turned off sbc audio, then turned off media audio. Turned media audio back on then sbc and it worked.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dbortol:
I had the same no-audio problem. I couldn't get into the developer options. It would pop on screen for a split second and then jump back to the main settings screen. I tried it a second time after the patch zip was released, and then gave up and went back to 9.1
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
I found a work Around posted above. I also have the same issue of not being able to get into dev settings randomly.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
New build

Rom updated:

1. Bluetooth fix. Keep in mind that Optional codecs selection will only work when bluetooth is on

2. Ringtone audio focus options

3. Sensor access moved to Settings/Privacy/Jaguar permissions

Download in post #3.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] AJohannes:
Decrypting TWRP

This may not be the place for this--and my apologies if that's the case-- but I'm wondering if anyone has a suggested solution.

My phone screen was completely shattered, and I'm trying to get my data backed up before I ship it off for repairs. When I connect it with ADB, I get a message that the connection is unauthorized, and so any other actions aren't possible.

I can blind boot to recovery, and then can see all the things, but they are encrypted. Decrypting through TWRP has never worked (the pin had to be removed before rebooting to recovery) and sending text input through ADB gets the same failure to decrypt.

Any ideas come to mind?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Just tell the repair shop not to touch any software.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] AJohannes:
Well, now I really feel stupid.

I'm sending it to the oneplus repair service; my local shop said they don't do OP5s anymore due to the low quality of aftermarket parts they've been getting. Oneplus says all phones get wiped and tested before return, but I'll try sending explicit instructions not to.

Thanks for this and your great work on the ROM.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Bluetooth issue is still present in latest version. My work around is still functional at least.

Work around

Enable and connect Bluetooth

Disable HD audio

Disable media audio

Enable media audio

Enable HD audio

Also I've noticed phone call recording fails to work since v10.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
New build

July 24. New release

Fixes call recording, as well as other improvements

Download in post #3.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Seems to be some issue with file system permissions. I can't access files through apps, say an MP3 for a music app now fails to play. Works in 10.2. storage permissions are set as well. No just a single app
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
I am not finding anything in my changes that might have affected this. Most likely, due to changes in permission 'phrasing', older manifest permissions no longer work. For the same reason, Dialer stopped recording in the previous build, so I had to add new storage permission there and it now works. I have VLC and it can't see storage either, but third party recording apps, as well as stock Gallery etc., have no problems.

Edit: Specifically, this permission must be added to the app's manifest: Write_Media_Storage
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
So I need to add that permission to every manifest of each app? That seems pretty tedious considering I'd have to decompile and recompile each app for that to work.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
That or most likely those apps will be updated by their developers. Read/Write Storage permission is no longer sufficient.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] pippideniro:
Does this rom support Android 10 navigation gestures?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
It does. Plus it has Oneplus specific gestures.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
New build

New release:

1. Fixes some third party apps access to media files on internal SD card

2. Fixes some NFC glitches, such as 'can't open secure_element'

Download in post #3.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Fixed the issue. Thanks! Not that it's too important but I noticed you can't click IMEI in about phone.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
You can get your IMEI by dialing *#*#4636#*#*
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Turns out Bluetooth got worse on this version. My method to connect in 10.2 no longer works and now no Bluetooth devices work for me. Is there any diagnostics I can provide before rolling back?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dbortol:
I have not succeeded getting Bluetooth working on any version since 9.1. I tried your work around method on each release and always end up reverting back to 9.1.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] jchuillier:
Hello all,

sorry for the basic questions but I just got 2 OP5 as used phones for my parents, one of them is US version and can update to stock Android 10, the other (bought from the same seller from the same website) is chinese and can't update to the latest update from Oneplus (I download the rom, I install it and it crashes during install)

So my question is whether this rom would work on my devices (provided I unlock the bootloader and root them), especially on the chinese one ?

Thanks a lot for the help.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
I'm not sure I fully explained my issue. Is yours the same as below?

Bluetooth successfully connects to a device. But audio is not routed to the device. Other items are. Such as if I am listening to music, the title/artist if a song transfers to my other device. But the audio doesn't.

Also, a really strange thing (I noticed on 10.2, haven't retested) if Bluetooth is connected, but audio doesn't work, you can still receive/send calls via Bluetooth and that works. It's just all other types of audio.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dbortol:
Yes, exactly like that.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Also in the latest, speakerphone volume control doesn't work
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Im_Mattgame:
Hello! I am also experiencing the Bluetooth audio problem. I'm also not passing Safetynet with MicroG, has anyone succeeded in doing so? Cheers
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] d1n0x:
Safetynet has been failing with MicroG for a long time now. It will probably never be fixed, although the same can be said about gapps. Soon with hardware attestation, only stock, locked phones will pass safetynet.

I moved away from apps that depend on it, my banking app still works and that's the most important thing
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Im_Mattgame:
I've heard about this, this is hurrendous news, I'm not a developper and I'm more the annoying consumer which asks annoying questions buuut, the android rooting community has always always 'found a way' to bypass Google. Surely the community will figure out someway somehow to bypass it. Right? Obviously spoofing the hardware is beyond possible but spoofing that the check has been passed?

Ugh, Snapchat and Netflix need to unlock access cause they are going to loose users. Goddamn it.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Jerrybhathi:
Can someone plz provide guid for flash jaguar Q rom

Right now i am on oos 10 with lock bootloader

I want to flash jaguar 10 with lock bootloader

And can someone plz verify that bank app work on jaguar rom with lock bootloader

---------- Post added at 01:01 PM ---------- Previous post was at 12:54 PM ----------

Rom include camera gallary and phone app from oos10 ??? And dotfix for gcam
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
New build

Rom updated to V11

1. Google r41

2. August security patches

3. Screen stabilization (enabled via Quick tile)

4. Bluetooth playing/media transfer fixed

5. Rom version added in 'about phone'

6. Guest user: Disallow audio recording and disallow app install

Download in post #3.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Is the security patch level a typo?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
I don't know why it says April on yours. See below.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Im_Mattgame:
Definitely not, this rom aims to be privacy orientated and potentially googless. I wouldn't recommend this one for what you are looking for [MENTION=4740952]jerryba[/MENTION]thi

There are a lot to choose from though!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dbortol:
This is weird. Mine says February 1.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
1 is never there, only 5. Only month and year change.

Time for a clean flash.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Jerrybhathi:
Any suggestions ??
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Im_Mattgame:
I'm also getting a April 2020 security patch
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Anyway to actually tell? Maybe a file version somewhere?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
It is probably gapps restore script that does it.

Clean flash.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
You sure do like to offer clean flash as the best option alot.

Upgrading to the latest gapps fixed the security patch.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
But my suggestion on gapps being the cause was correct. :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
I have noticed people complain about phone calls not going through, disconnecting or freezing on hang up in other roms.

I think the reason is the constant changing of ims.apk and the corresponding jar. This violates my core principle: Why fix it, if it ain't broken. I experimented in the past with various radio blobs too and ALWAYS ended up in trouble, which required rebuilding the entire rom. So, my rule now: never touch anything related to radio, if it works fine. Go back a few months: phone calls were never a problem in Q.

This is not a criticism. Oneplus 5 has great developers.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
The only phone call issue I have seen in Q on the 1+5 is the issue where you have to press speakerphone once after rebooting to fix the chipmunk sounds. This turns out to be an issue on stock oos as well that I have seen first hand.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Yes, but it only happens on T-Mobile USA with Volte enabled.

In Jaguar, I now have proximity sensor switching sound to speaker by default, when the phone is not at the ear. It works for both incoming and outgoing calls. No extra steps required, just wait for the tone if dialing out and on incoming calls press answer and speak normally. If you flashed dirty or have a different default, enable dialer proximity switch with 1 second delay.

P.S. Speaking of radio: I am not going to touch Bluetooth either. Recent Lineage's 'upgrade' caused me several days of headaches to fix and yes, I needed to rebuild the entire rom (10 hours).
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
Unrelated, since I don't know Android's build process, is the 10hours due to hardware constraints or just because the project itself has dependancies that also need built ( I imagine a tremendous amount) ontop of all the Jag specific build? I only do desktop/firmware development and can't imagine waiting 10 hours for a build lol
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Part of it is hardware (4 core box) and part - Android. Building Gentu doesn't take 10 hours. The most irritating and longest part is building 'document stubs', and I bet those are not needed.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Can you easily switch between different ROMs if your phone is encrypted? That's the main reason I have kept my phone decrypted. I am now thinking about giving Jaguar a spin for the first time due to the lack of reported issues making phone calls.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
You can easily switch between different custom Q roms. Only if you go to Pie or stock Q and Pie, you'd need factory reset to wipe encryption. In other words, you can switch between Jaguar, Crdroid, AICP and a few others while preserving encryption.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Thank you for the quick response! Do you advocate using f2fs on this ROM?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
No support for f2fs on Jaguar. That should tell you all... .
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Possible Daily Driver...

Understood. I'm using the ROM now and I like it a LOT!

Here are a few comments, questions and concerns:

- ROM is fast and fluid.

- Love the theming and gradient options.

- Selecting 5 icons for the Quickbar does not work. (Can this be fixed?)

- Choosing a font size larger than 100% distorts the Power Menu (Advanced Reboot).

(Can you make the Advanced Reboot title scroll? That should fix the size distortion.)

- It does not seem possible to add Airplane Mode to Power Menu. (Can this be added?)

- Can you add the ability to create extended screenshots?

- Why does the screen blink a few times when turning on/off?

- Is there a way to change the size and font of the AOD clock?

- Is there a way to display the city and weather on the AOD?

- Can the red font in Toast messages be changed? Can't seem to find that option.

- Videos taken with the Camera do not playback with sound? (What did I miss?)

I believe this ROM may now be my daily driver. Thank you!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
1. Install AML magisk module.

2. Install V4A 2.7.1.6

3. Reboot

4. Eargasms return! :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Binary Assault:
I'm not a dev for the ROM, just a daily driver. My guess are in the quote
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Thanks for confirming many of the issues/bugs I noted. :good:

Where is the option to adjust the AOD brightness? I believe I saw it but now I can't find it. :laugh:

I believe the camera issue may be due to me running decrypted. I wanted to test the ROM first to see if I like it before I take the time to copy 110 GB to my PC before formatting data and running an encrypted set up.

Copying my data now................... :eek:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vdbhb59:
Yeah, some ROM now have Asus Longshot, like MSMX, Colt, crDroid etc, inbuilt. I use that myself at times on ROMs if not having that. Expanded does have uses. Also Asus longshot is much better compared to OOS expanded.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Yep, DerFest, BlissROM and Havoc-OS also have longshot integrated. It's super useful in my business! Luckily, the Longshot app in the PlayStore works when needed. How is it better than OOS' expanded screenshot though?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vdbhb59:
OOS one has few limitations (I have faced it), when taking long snaps of 4th page and beyond, or if the page / screen resolution is not exact to A4 or A6. That is one issue.

2nd issue is when a page scroll is being taken where 2 or more font type are available, the pixels break up on OOS. BTW, OOS longshot is taken from Asus one only, as almost similar to Asus, and Asus is one of the masters in camera and images like LG and Motorola is. OOS is more like Xiaomi, taking from others and rebranding and patronizing as their own. You can compare OOS and Asus over code too and you will know why..
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Ahh... yes, I've learned to scroll no more than 3 or 4 pages when taking long screenshots with OOS. The resulting picture is often low quality and pixelated. Thanks for confirming this issue! :good:

This is weird! After formatting data and clean flashing Jaguar, the camera recorded sound with video and played it back successfully. However, after rebooting, no new videos are playing back with sound. When I open the camera's permissions it shows the mic "has never been accessed". Of course, that is false. I tried denying the mic permission, closing the app then reopening it. When I am asked to grant the camera the mic permission, I do. Record more videos with sound and none of them play back with sound. 3rd party apps like GCam and OpenCamera are also NOT playing back videos with sound. Playing videos created with other ROMs and playing videos via YouTube and other websites work fine.

Anyone have any suggestions?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vdbhb59:
Try OOS camera or try playing with a different player/gallery. Else try and grant PM permission for microphone for that and then reboot to check. If still persists, try installing as userapp on top of it being system app. Clear data and retry. Most often then not, being /system app and with some permission issue is the main cause.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Thanks! I just wiped and flashed OOS 10 hotfix. OOS Camera works perfectly. I'll try another clean flash of Jaguar in the morning and try some of the solutions you presented. I can't imagine that I would be the first person to encounter this issue. Definitely strange behavior...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vdbhb59:
I have faced this issue and have always been able to get over it by installing over as user app.

But yeah OOS camera does work. With xXx overlay too?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Thanks! Didn't flash xXx. Just a clean flash of OOS to test the camera.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Which camera app is used in Jaguar?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
There appears to be an issue with the default LineageOS/Snap Camera and the mic permission. I've formatted Data and reflashed Jaguar numerous times and the issue persists. Others have also reported the issue on LineageOS. I'll play with cameras and permissions a little more but my time is running short...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] optimumpro:
Never had that issue and nobody ever complained. Default Snap records fine. You might have an issue with Galery app you are using. Jaguar doesn't have default gallery. I use Simple gallery. Search 'github simple mobile tools'.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sjamie:
Yeah, I figure the problem is somewhere with my device. I tried QuickPic and Simple Gallery with the same results (no sound). However, recorded videos play well on OOS and NitrogrenOS. No worries...
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] sleepwalking0593:
I doubt it will be your daily driver. You flash too many ROM ???

Any thread i open i see you.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] vdbhb59:
Lol. He reminds me of myself. I was a flashaolic, hut he is trying to determine a separate daily driver in case a backup plan is needed.