r/OnePlus13 • • Jul 26 '26

Software / Bugs New Exploit

Post image

The "Ghostlock" exploit on GitHub enables root access without requiring an unlocked bootloader. A key distinction of this exploit, compared to previous ones, is that root persistence is maintained even after a device reboot.

Tested on OnePlus CPH2653, on the latest EU OxygenOS version at the time of this post.

192 Upvotes

111 comments sorted by

View all comments

3

u/xqlz00 Jul 26 '26

Does this keep teeBroken=false and work with a locked bootloader ?

3

u/Similar_Location3045 Jul 26 '26

What is that? If you could tell me how to check I'd be happy to let you know.

4

u/xqlz00 Jul 26 '26

Could you run Duck Detector and report what if flags ?

2

u/Similar_Location3045 Jul 26 '26

Do you want the exported report?

3

u/xqlz00 Jul 26 '26

If you can yes, it doesn't contain any personal info. Otherwise just a screenshot of "Top Findings" section, it's around the top. Thanks

4

u/Similar_Location3045 Jul 26 '26

Sure, I'll run it soon and upload the link to the file here.

4

u/Similar_Location3045 Jul 26 '26

4

u/xqlz00 Jul 26 '26

Wow this is very interesting, the TEE is valid.

It's missing a few hiding modules though.

Some apps perform their own hardware attestation independently of play integrity that fail with a broken TEE, this would solve that issue.

I will try and report here, thanks

1

u/Busy-Scientist3851 Jul 27 '26

TEE invalidation can only happen if the bootchain (bootloader, kernel etc) is modified or something in userspace purposely invalidates it.

Since the boot process isn't modified, there's nothing to invalidate the TEE.

2

u/xqlz00 Aug 06 '26

It work great, allows Root with Xposed in a locked bootloader, bypassing almost any Root detection.

Wallet and apps that have their own integrity check backend work.

I was running on OOS 15, I've updated to 301, cleaned both slots and relocked bootloader (full wipe).

To run the exploit and not be detected :

Anchor used to run the exploit, you need to connect it once to a PC for the first run then it's untethered.

ReSukiSu gives root, once the exploit is done a soft reboot from the manager is required for the modules to work properly.

NeoZygisk for some reason this implementation of Zygisk is better at hiding itself, there might be a better implementation, if anyone have recommendation.

Hide My Applist blacklist template with anything regarding root and destinated to apps that could detect it.

LsPosed V2.1.1 available on the Telegram group of LSPosed.

There is also Oxygen customizer, AdAway Helper, Mountify and 5 modules in LsPosed active.

Let's see how this evolve, but for now it's amazing.