yashsingh1/xdaforums huggingface dataset:
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Without knowing the steps you followed I'm not sure if there's anything I can do to help. It's not always possible for me to relay instructions perfectly, I apologize for that.

You could try disabling all Xposed modules?
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
Thank you very much for your attention

But I followed the steps you told me verbatim

But I usually have a problem with riru 23 and don't know the exact reason

I will try looking for a slightly older version like 22 and give it a try

Note that there is a new file of zero size appeared in the riru folder

it's called eneble_hide
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
It should be called enable_hide, not eneble_hide. But otherwise that is what's supposed to happen.

You should download the Riru app and make sure that at the top it says hide is enabled
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
riru app!!

screenshot plz
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
View attachment 5153537
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
Is that mean you can bypass safetynet in safetynet checker app !!?
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
View attachment 5153539

I'm not bypassing it. I'm simply passing normally.
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
wooow

i wish i can make it

i think my s7 edge have a problem with one of these 2 file

riru 23

and yahfa 0.5.0.6
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
It doesn't seem like it. Try this:

Uninstall Riru - EdXposed and then Riru

Reboot

Install Riru in Magisk Manager

Reboot

Install YAHFA 0.5.0.6 from storage

Run the touch /data/adb/riru/enable_hide

Reboot

Go into Magisk Manager, settings, disable MagiskHide and then enable it again

Make sure in the MagiskHide settings that it is hidden from Google Play Services and Google Services Framework

Reboot

Clear data for "Google Play Services" and "Google Services Framework"

Check SafetyNet
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
hummm

my phone start to make a strange things

not a problem

tell me

Now I will install the ROM again

Do I have to follow the steps that you indicated above in order, or what?
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Yes, that is why they are numbered
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
Tell me what should i do from the start to make it work
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Install Riru in Magisk Manager

Reboot

Install YAHFA 0.5.0.6 from storage

Run the touch /data/adb/riru/enable_hide

Reboot

Go into Magisk Manager, settings, disable MagiskHide and then enable it again

Make sure in the MagiskHide settings that it is hidden from Google Play Services and Google Services Framework

Reboot

Clear data for "Google Play Services" and "Google Services Framework"

Check SafetyNet
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
OK got it

i will be back
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
one thing

should i use magisk canary ?
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Yeah, I think so
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
OK
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
Done hooorey

But...EdXposed not open any more!!

it gives me a white screen the closed !
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Try installing latest version of EdXposed Manager
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
i tried both version

4.5.6

4.5.7

same FC !!
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Try clearing its data?
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
NOW WHAT ?:cry:
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
Yes i did

nothing changed
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
I don't know what to tell you. It's possible that your device/ROM just isn't compatible with EdXposed for some reason, or EdXposed Manager has a bug. Did you have any modules enabled before?
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
yes..before what we did i was using edxposed without any problem
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
how to revert that action

i mean touch /.... ?
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Try deleting /data/user_de/0/org.meowcat.edxposed.manager/conf/modules.list and rebooting, this will disable all your modules (but not uninstall them)
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
this folder is empty now
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
get a logcat and show me why edxposed manager is crashing, it could be a simple solution
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
here it is
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
are you on android 9?
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
yes
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Riru 23 and EdXposed 5 have issues on Android 9. You have to use old riru called "Riru - Core" which can not pass SafetyNet. Unless you want to try SandHook instead of YAHFA, in which case you have to disable edxposed module and reboot before you can download it using EdXposed Manager
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
OMG after all this :cry::cry:

never mind my dear

Thank you very much

I appreciate your effort in trying to make it work with me
[OnePlus 7 Pro Guides, News, & Discussion] Lizard:
So by accident I found this thread, and it works fine on my OP6T as well. :)

Safetynet can be passed again. But the Google Play Store does a different check? Since I still can't find Disney+ or Netflix in the store. (Sideloading still works though.) Also my banking app detects the root.
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
1. Play Store may still see your device as uncertified until you clear Play Store data (wiping all your settings) or wait a few weeks for it to re-check.

2. Root checks do not consist exclusively of SafetyNet checks. Download an app like "RootBeer Sample" (or "RootbeerFresh" for experimental checks) to see what kinds of checks these apps make. Let me know if you need assistance bypassing them.
[OnePlus 7 Pro Guides, News, & Discussion] Lizard:
Well, Play Store Protect shows my device is certified. After I hid Magisk Manager my banking app also doesn't complain anymore about being rooted. Rootbeerfresh also shows not rooted, so I guess most checks are 'bypassed' now.

Last issue remaining is NetFlix/Disney+ not showing up on the Play Store.
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Like I said, this status is cached for a while. They will not show up unless you clear data, or wait a while.
[OnePlus 7 Pro Guides, News, & Discussion] hallo dare:
Sky go is a pain in the backside for detecting root. Pure sickening.
[OnePlus 7 Pro Guides, News, & Discussion] mahaseno:
I did it :cool::cool:
[OnePlus 7 Pro Guides, News, & Discussion] uodii:
After following these instructions (and the ones on page 2) I'm getting the message that EdXposed Framework is install but not active. The only option for YAHFA I had to install was 93-v0.5.1.0_4617. Any advice? (Safetynet still currently passes)

EDIT: I reinstalled the Edxposed manager and it started working correctly, but I'm not passing safetynet now so I think I need to re-do the steps you specified

EDIT2: Passing now. Any suggested modules? I always used to run gravity box, but going through those settings now I feel it's not necessary on this phone
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
GravityBox isn't great and sometimes causes the screen brightness to go all wonky. You'll have better luck with RiCE, which is a Magisk module, but be careful as it changes the display driver in a detectable way (it very obviously calls out that it is RiCE).

XPrivacyLua is the only Xposed module I would recommend fully. Use Magisk for pretty much anything else. I've used Magisk for enabling call recording, enabling voice over WiFi, removing bloatware, ad blocking via Energized Protection, and so on.

I use XPrivacyLua for patching the screenshot app to output in PNG format instead of JPG. I also use it for its intended purpose, as well as changing my phone's model number to GM1917, to blend in.
[OnePlus 7 Pro Guides, News, & Discussion] CynicalHeight00:
Hello LoganDark,

I followed your instructions for a OnePlus 7 Pro, at least I think I did appropriately.

If I have any module enable in EdXposed Application, then my device doesn't pass SafetyNet.

If I understood what you said, if I use the YAHFA version then I can pass SafetyNet despite what module(s) I have enabled.

Here are my specs:

CrDroid Rom Android 10

Magisk Manager Version 8.0.3

Magisk Version 20.4

Riru Version 23.1

Riru - EdXposed Version 0.5.1.2_4641-master(YAHFA)

EdXposed Manager Version 4.5.7
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Do you have hide enabled? Use this app to check
[OnePlus 7 Pro Guides, News, & Discussion] CynicalHeight00:
Yes, I do. That's a zip file, alike the the riru module that was installed.
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
It's an app. You unzip it and inside is an apk.

Oops, sorry, THIS is the apk
[OnePlus 7 Pro Guides, News, & Discussion] CynicalHeight00:
It says 'Hide is enabled'.
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
Hm, that's weird. I don't know why EdXposed is breaking SafetyNet for you then. What module are you enabling?
[OnePlus 7 Pro Guides, News, & Discussion] CynicalHeight00:
xPrivacyLua is one of the modules that breaks SN.
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
In that case, it's possible that the module itself does not matter, but instead, for some reason, the fact that you have any modules enabled at all. Basically the same issue I had with SandHook. If YAHFA no longer works, all hope may be lost... maybe you could try SandHook just to be sure. It may be ROM-dependent and I'm on OOS.
[OnePlus 7 Pro Guides, News, & Discussion] CynicalHeight00:
Can you give me the zip files to your RIRU version and YAFHA version?
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
I don't think they'll help.
[OnePlus 7 Pro Guides, News, & Discussion] Adolamin:
Hey LoganDark,

Any update on the boot loader re-locking? Excited for this!

Cheers,

Andrew
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
I don't have enough resources to test properly, so every test I do, I have to do on my only phone. This carries risks so I lack motivation to do it all the time. It would cost ~$300 to get another phone to test on, and I don't have that kind of money.

Basically, I just haven't felt like it lately. I still do think it's possible, I just haven't been able to pull it off yet.
[OnePlus 7 Pro Guides, News, & Discussion] jediknight23:
With the latest canary release v0.5.2.0_4672, there are no more SandHook and YAHFA versions to choose from.

enable_hide will be recognized, but doesn't let SafetyNet check pass.

So is it based on SandHook?
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
It looks like the default is YAHFA and there is actually a file that tells it to use SandHook - see: https://github.com/ElderDrivers/EdX...ae1313013f525623eca61e49a9d43bdac2a8R174-R179

I don't know if there's any way to tell what version you're using. My logs are broken so I can't tell if the information is contained in there - maybe you could take a look?
[OnePlus 7 Pro Guides, News, & Discussion] jediknight23:
[[ -f "/data/adb/edxp/${VARIANT}.dex" ]] && cp -f "/data/adb/edxp/${VARIANT}.dex" "${BASE_PATH}/framework/edxp.dex"

The edxp.dex file size is equal to YAHFA.dex.

So yes, YAHFA is default.

That means, my device is not fully passing SafetyNet with EdXposed YAHFA with hide enabled. I have to enable app list mode to blacklist Google services for SafetyNet check to pass...

I haven't any modules installed besides XPrivacyLua.

Any suggestions?
[OnePlus 7 Pro Guides, News, & Discussion] LoganDark:
It's possible you could try using an older version of EdXposed, since that version seems to be tripping SafetyNet even with YAHFA.

Unfortunately they don't accept questions about SafetyNet so there's no way to get this undone if that is the case.
[OnePlus 7 Pro Guides, News, & Discussion] jediknight23:
Okay, I removed canary and installed EdXposed-YAHFA-v0.5.1.4_4655-master-release.zip

Hide is still enabled (checked with Riru App).

However, I still have to blacklist GSF and Play Services ☹
[OnePlus 7 Pro Guides, News, & Discussion] jediknight23:
With the latest v0.5.2.1 alpha release and the updated manager v4.6.0, it finally works on my Android 10 device!

However, using exactly the same configuration and riru/EdXposed versions on an Android 9 device, I have to activate the option Pass SafetyNet in the EdXposed Manager. This is still a small improvement, because it blacklists only two things, the play store app can now left unhidden.
[OnePlus 7 Pro Guides, News, & Discussion] jediknight23:
EdXposed struggles passing SafetyNet again. It is better to switch to LSPosed. It has better performance and makes no problems so far 👍

If you still have problems passing CTS Profile check, install MagiskHide Props Config and run props command in a terminal app and change your device's fingerprint.
[OnePlus 7 Pro Guides, News, & Discussion] Zeroleak:
any guide i can do that to follow? i dont wanna screw around with the config too much

appreciated

also how much better is lsposed,rly worth the switch or just overrated,like what's better about it
[OnePlus 7 Pro Guides, News, & Discussion] jediknight23:
It is very easy to switch. Just deinstall EdXposed in Magisk and then install LSPosed. But I recommend only to switch if you have issues with your framework.

Many users seem to be happy with LSposed and report better performance, etc. You can read details here.

https://xdaforums.com/t/lsposed-xposed-framework-8-0-11-0-edxposed-alternetive.4228973
[Android Head-Units] nismo2013:
the text file should contain:

service rooting /system/bin/su --daemon
class main
priority 10
user root
oneshot
seclabel u:object_r:system_file:s0
[Android Head-Units] codecxbox:
it works..no need to find the ip address or use a terminal emulator..you do have to add a extra line of code..
[Android Head-Units] codecxbox:
but since your at Android 6, just use KingRoot..much easier
[Android Head-Units] nismo2013:
Thanks for the reply. I used kingroot on an old samsung galaxy s4 I had years ago and it made my device run like garbage. I would prefer the adb method above. In your other comment you sad no ip or terminal emulator is needed. Then you said I do need an extra line of code. Do you mean an extraline of code in order to skip the ip and terminal em? Or the tutorial above needs one more line of code as it is?
[Android Head-Units] codecxbox:
you skip the ip add line and the use of the terminal emulator..

you should use these extra lines:

adb push su /vendor/bin

chmod 0677 su /vendor/bin

btw, you have to enable OEM Bootloader unlock at the usb debugging menu..press 4 times the build number and usb debugging will be enabled..after that, connect your cable to your pc, turn off and on your head unit, you should be able to adb devices with a serial number...

I recommend you to do each step copypasting at the adb prompt and pressing enter at each one..as soon you get adb superuser enabled, youre good to go...DONT UPDATE SUPERSU IF IT TELLSVYOU THAT THE BINARY NEEDS TO BE UPDATED!
[Android Head-Units] codecxbox:
your build 9816 Im never did that one, but probably you wont need to su@password, cuz these builds 9*** already have su built in, but there not system wide..test # at adb shell before anything, and then push your su to all partitions..
[Android Head-Units] nismo2013:
Thanks for the additional info. I'm still a beginner when it comes to rooting and have never done adb. The reason I wanted to use the network method is the head unit is installed in my car and I only have a desktop pc. I could borrow a laptop but its not readily available. I'd also have to buy a M to M usb cable since the otg usb on the radio is full size.

One of the first things I did was enable developer options and unlock the oem bootloader. But thanks for the heads up! I also read to not undate the super su binary. Random question.. but can magisk manager be installed on top of supersu? On magiskroot.net in the install info it says it can hide supersu root.

Can you please do an edit to the lines I enter into command prompt so I'm sure I get it right? I entered the actual ip address of the head unit. Can you please correct the formatting if it's wrong?I thought I want port 5555 but in the tut above he's using /10555. My current commands are:

adb connect 192.168.0.3/5555
adb shell
su @#zxcvbnmasdfghjklqwertyuiop1234567890,.
remount
adb shell setenforce 0
adb push su /system/xbin/su
adb push su /system/bin/su
adb shell chmod 06755 /system/bin/su
adb shell chmod 06755 /system/xbin/su
adb shell /system/bin/su --install
adb push rooting.rc /system/etc/init/rooting.rc

*NEXT INSTALL SUPERSU ON HEAD UNIT AND GRANT SUPER USER ACCESS - DO NOT UPDATE BINARY - FOLLOWED BY*

adb shell reboot
[Android Head-Units] codecxbox:
First, try to get your firmware, it may be full or update, doesnt matter..just in case your hu bricks..

Second, like I told you, check if superuser is already enabled..

If you only have a desktop pc, download adb lite, and decompress it to c:/adb

Get a usb to usb cable, or cut 2 usb data cables and twist or solder green to green, white to white, red to red and black to black..
[Android Head-Units] codecxbox:
I highly reccomend you to download these apks..

busybox.apk from sterikson

CX Explorer.apk or Mixplorer.apk (these you need to obtain system modifications)
[Android Head-Units] codecxbox:
Magisk doesnt play well with HU, cuz these android builds contains su watchdogs that turn off any apps that attempt to modify system files..if your goal is to install Viper4Android, then its going to be a battle but it can be done..
[Android Head-Units] codecxbox:
I just read that you have the hu installed to your car..in that case you will have to use ADB WIFI, and process everything from your phone..there is a problem, you might need to get a wifi router, cuz these hu units dont do direct wifi..in that case, you need the real ip address of your hu and adb connect hu ip address
[Android Head-Units] codecxbox:
If your goal is to install TRWP, its almost impossible..adb fastload doesnt work, its needs access to a keyboard, and as you happen to experience, these units wont recognize a usb keyboard..the way to install TRWP is forcing it through SP Tool, but you need a very specific TRWP image, most likely you never get one..but its not necessary to obtain root, no problem
[Android Head-Units] nismo2013:
Kingroot is sounding better by the minute haha. I may just try that and then use a task kill app to stop the ram sucking crap it tries loading into the backgound processes. If kingroot fails to gain access, I hope you don't mind but I'll be back with more questions on the adb wifi process. I already have a wifi router so I'm good there. The tut above does it over wifi and desktop with the files sitting in c:/adb like you said.

A few things I have discovered about this head unit which may apply to other chinese hu.. As I'm sure you know, the bluetooth stack is missing the HID profile and while I was able to pair a gamepad, I couldn't use it. The same went for bluetooth controlled led strips. The work around for a gamepad or keyboard/mouse on these HU is, get a device that is android compatible but uses a 2.4ghz dongle. I plugged it in, drivers loaded and it started working. Check out the Rii RK707 which is an all in one. $23 on gearbest. Gamepad took getting used to but I installed retroarch and the quake 3 arena port and both worked flawlessly with a gamepad. Dead Trigger also worked perfect. I just google searched for the files and then side loaded to the HU. I also put a 3 port usb splitter on the otg and everything works fine together; storage and gamepad.

I also figured out how to gain 8GB free space. If you go to settings, then storage/internal and scroll to other, I saw mine had 8GB of files. I tapped other and then browse and saw 3 folders called amap, amap8 and amapauto or something like that. These are included chinese gps map files. I deleted the folders and my device went up to having 9GB free space and it's been running fine. I was able to install a bunch of games to verify the free space is actually there. I have seen people trying to re-partition their devices and being happy to gain 2GB free. This is the way to do it. The HU also runs less laggy with the extra space.

For external storage like a usb thumbdrive, I think these units claim to supprt 32GB. I can veryify that up to 128GB works fine. I have a 128GB verbatim store n go and keep all of my mp3 and movie files there.

Hope you find some of this helpful.
[Android Head-Units] nismo2013:
Good idea! I have some phone data cables with broken micro usb plugs I can cut and solder together.

How should I check if superuser is enabled? Can I install the supersu apk and try tapping GRANT? I just assumed I didn't have it because AIDA64 came back with "no root" when I ran it.
[Android Head-Units] codecxbox:
Didnt know about the 2.4 dongle, thanks for the tip! I guess the dongle should translate a usb keyboard, as its supposed to be HID compliant..give it a try!

My HU didnt contain Chinese maps, but there was a load of Baidu crap I deleted, gained some 250mb..Happy with the results!
[Android Head-Units] codecxbox:
SuperSU from Chainfire rides upon su, so if su is not properly working, SuperSu reports that theres no root..

a quick way to know if you could be a superuser is looking at the build.prop at /system..if it says ro.xxxx.userdebug instead of ro.xxxx.user, then chances are that su is installed..but you would need to give permissions to su to modify anything, thats why the chmod command..

get to c:\adb

type adb devices you should see devices and a serial number

type adb shell you should see a $ prompt, means you dont have superuser privileges

if you see a # prompt, then you do have superuser
[Android Head-Units] codecxbox:
this is my modified routine:

adb shell

su @#zxcvbnmasdfghjklqwertyuiop1234567890,.

remount

adb shell setenforce 0

adb push su /system/xbin/su

adb push su /system/bin/su

adb push su /vendor/bin/su

adb shell chmod 06755 /system/bin/su

adb shell chmod 06755 /system/xbin/su

adb shell chmod 06755 /vendor/bin/su

adb shell /system/bin/su --install

adb push rooting.rc /system/etc/init/rooting.rc

adb shell reboot system
[Android Head-Units] codecxbox:
Reading again, you said that BT devices work, like a dongle..but at the fastboot prompt, neither HID or BT drivers get loaded, its like a safe mode boot..only way to emulate that Key Up, Key Down is opening the HU and search for a test point on the board, usually its works as a Key Down
[Android Head-Units] nismo2013:
The usb keyboard and mouse also worked! I did quite a bit of research on gamepad and keyboard options once I saw 2.4ghz would work and narrowed it down to these 2. The Rii RK707 which is an all in one. It has a led keyboard and mousepad on one side, and flip it over and its a gamepad. Standard LB and RB plus incremental L and R triggers. Works well but the shape takes time to adjust to. https://www.gearbest.com/keyboards/pp_3002324601977019.html

The other which I'm still waiting to arrive is the EasySMX ESM-9110. Visually it's a copy of an xbox one controller but has nice rgby leds in the ABXY buttons. It also has programmable underside buttons like a scuf. Great reviews. https://www.aliexpress.com/item/4000574045231.html

Each are under $30 if you don't mind waiting for shipping from china. Everything else was either cheap junk or over my budget.
[Android Head-Units] nismo2013:
Awesome, thank you! So no need for the ip command? I take it they will just see each other on the same network and communicate?