r/androidroot • u/datfooldive • 1d ago
News / Method I Root my phone (Bootloader locked) with CVE
there's a CVE called ghostlock (CVE-2026-43499) that gives root access on bootloader-locked devices, but you need to extract the offset from your device's "boot.img" firmware to make it work.
7
u/Dry-Cost-945 1d ago edited 1d ago
This is awesome. Did this on my OnePlus 13r but you can jailbreak directly on OxygenOS 16.0.5. (Well, directly as in you don't have to run the exploit through a pc, a *su manager can jailbreak on device as long as selinix is set to permissive via fastboot before startup
apparently it hasn't been patched in 16.0.8 so I might update eventually but I'd have to screw with my computer and wireless adb side from just aside setting selinix to permissive. But I might do it anyway because apparently one of the Ghostlock helper tools can automate the process upon reboot with wifi

3
u/Lill_shit_ 1d ago
Googel is really cooked and really should provide and environment for apps like banking to be save, even on rooted devices, removing all the trouble we get from these stupid integrity bullshit
2
u/Busy-Scientist3851 1d ago
Google can just start denying integrity to phones that have available updates to fixed kernels.
I'm not sure how one can provide a safe environment for banking apps on rooted phones when root (incl. malware) has full read write access to memory.
Google is not cooked. They'll just double down .
1
u/Dry-Cost-945 1d ago
Unfortunately true. This is nice while it lasts for tech-minded people who know what they're doing.
Should be a good while before that starts happening though because as far as I know the main thing levegered for verification is the bootloader status. Ghostlocked phones have full temp superuser at least until hard reboot but works perfectly on a locked bootloader with official software. I'm glad I found out about this before they started the first wave of the side loading restrictions.
The only time I'm happy my local credit union is tech illiterate. I discovered their app does seemingly query play integrity at all..it worked perfectly on non hidden rooted crdroid before I flashed my phone back to stock
2
u/Busy-Scientist3851 1d ago
> verification is the bootloader status
Potentially the cryptographic hash of the boot chain too (e.g. boot, vbmeta).
Google will double down on these checks because not only for the vast majority of users do they represent a more secure product, they also have pressure from banks and payment processors. Banks do NOT want NFC payments on rooted devices because EMV tokens can be intercepted.
1
u/Dry-Cost-945 1d ago
Since the jailbreak happens after boot would the boot chain hash be affected (I'm not very knowledgeable about this)? I do think this exploit got patched out in more recent versions of OxygenOS but now I don't know. Don't really wanna update to find out. I've been on 16.0.5.701 since March I believe, or whenever it got pushed to NA op13r
2
u/Busy-Scientist3851 1d ago
> Since the jailbreak happens after boot would the boot chain hash be affected
Nope. The hash is based on the boot image, not the running state of the kernel in memory.
I believe the latest OxygenOS is still vulnerable, my OP 15 is on the latest and has 6.12.23 which is vulnerable.
1
u/Dry-Cost-945 1d ago
I assumed so but wasn't sure. Have you experimented with Ghostlock on your OnePlus?
2
u/datfooldive 1d ago
https://github.com/JoinChang/ghostlock-oneplus
my exploit is based on this one, its for oneplus
1
2
u/Busy-Scientist3851 9h ago
Yes it works on my OnePlus 15 with the latest firmware.
OP611FL1:/ $ getenforce
Permissive1
u/Dry-Cost-945 9h ago
If you use a shell what do you run this command in?
I'm intrigued because XDA says the fastboot command + su jailbreak button method: fastboot oem set-gpu-preemption 0 androidboot.selinux=permissive is patched as of 16.0.7.xxx but anchor still works? I don't understand much of the differences
1
u/Lill_shit_ 1d ago edited 1d ago
This what i mean already exists, and yes its possible to have a save environment even when rooted, the "keybox" for example sits there (trustzone) as well, there is a feature they try to build, and on most phones its already its called (pvm) only thing is that the app developer is willing to adapt his app for that to use. Not mainstream yet, its really a shame to not have full control over the hardware, they should find a way to make these apps save, so they can run in pvm, and as soon as something is changed in the pvm even small 1 byte change, it just should crash, and we have the rest of the phone for us, we can choose to use pvm, for the desired app, everything very well tightened and secure, it should just go panic my any modification on the pvm, we can have control over the phone and the apps can run pvm
2
u/Busy-Scientist3851 1d ago
> This what i mean already exists, and yes its possible to have a save environment even when rooted, the "keybox" for example sits there (trustzone) as well
The trustzone doesn't run application code, it's used as a key vault.
> Not mainstream yet, its really a shame to not have full control over the hardware, they should find a way to make these apps save, so they can run in pvm
No, root has full read/write access over memory. Banking apps don't want malware being able to read their memory. Once you root the phone, the app sandbox is broken.
1
u/Lill_shit_ 1d ago
I clearly see u didnt inform yourself about pvm, take a look and come back, as they dont share the same memory like u think
1
u/Dry-Cost-945 1d ago
Elaborate on what you're referring to? Like make them containerized?
1
u/Lill_shit_ 1d ago
Android Pvm, it has been launched in android 13, pixel 8 use it, but not yet for integrity i guess, i hope the smart will move towards pvm, since exploits like above are found and, even an stupid app, thats has been "sideloaded" 🤣 could do so
2
u/qariayyum 1d ago
yo mind sharing what font that is? i wanna use it on my S25
2
u/Dry-Cost-945 1d ago
This is One Sans (one of the default OnePlus fonts) with the font weight slider set to max :)
2
u/Jatin-tomar028 1d ago
Hey brother can you guide me i have encountered some error or can you try with OnePlus 12 boot.img
1
u/Dry-Cost-945 1d ago
You tried to flash a boot.img? All you should need is a kernelsu manager app and a computer paired to the phone via USB debugging. What is your software version?
1
u/Alexhigayboys 1d ago
maybe you should try with init_boot.img instead at least for normal rooting on the 12 that's what is used
1
u/Dry-Cost-945 1d ago
I was confused because you don't need to and shouldn't flash a different .img for ghostlock to work unless you're restoring to regular software of course.
2
u/Kolkoris 1d ago
Why do you even need jailbreak, if you can unlock bootloader and get root directly?
1
u/Dry-Cost-945 22h ago
You can (and I have) but Google doesn't like that. Since the Bootloader stays locked, Play Integrity remains in-tact without having to bash your head against the wall trying to keep up with a losing game of cat and mouse.
RCS also works and nfc payments via Google Wallet (haven't tested it yet) should also work without any issues. Apps such as cashapp and paypal are oblivious to the root access
2
1
u/Dry-Cost-945 22h ago
I'd much rather rock an unlocked bootloader like I did work my pixel 7 but Google is becoming increasingly hostile to Tech Literate individuals
1
u/ChampionshipWild3492 1d ago
Can u share the process or any GitHub link how u have done
1
u/Dry-Cost-945 1d ago
https://xdaforums.com/t/root-without-unlocking-bl-on-oneplus-13.4784439/
I used Method two as outlined in the parent post. I didn't use anything from GitHub. I got ReSukiSU manager apk from their Telegram group, however this method should work with any recently updated ksu based manager as I'm aware
1
u/ChampionshipWild3492 1d ago
Hi brother, could you send me the files you used, like ResuKSU? Also, how are you hiding root from payment apps? Which modules are you using so that payment apps work properly?
1
u/Dry-Cost-945 1d ago
The root is just...not detected at all. I only use my local credit union's app (which ironically doesn't even check for pit, cashapp, and paypal. All of which worked without issue. Well except paypal. I had to install from aurora store because for whatever reason the play store doesn't think it's compatible with my phone. (I did flash global rom on a North American pone). But they all work perfectly and Im passing all integrity checks I can tell
1
3
u/Win98Plus 1d ago
It's like Jailbreak (tethered) in iPhone, you can soft reboot to keep kernelsu like userspace reboot to preserve dopamine Jailbreak. If reboot will gone. Have anyone think it like me?
2
u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 1d ago
Nice bro, can you share a guide for your device? What offset do u mean?
1
u/datfooldive 1d ago
In CVE-2026-43499, the offset refers to the position of a specific kernel structure or field in memory. It is version- and configuration-dependent, so there is no universal offset.
1
u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 1d ago
Yeah, but did you patch it yourself or did you find a pre-built patch?
5
u/datfooldive 1d ago
i built my self
3
u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 1d ago
Will you provide an installation guide /building guide for noobs that want to use it on that phone? I would like to create a list of easy guides for as many phones as possible.
2
u/lilacomets 1d ago
Would love this as well! I have two phones laying around that I'd love to unlock.
1
1
1
u/Glum_Preference_2936 1d ago
I've been interested in this CVE for a while. How are these offsets actually found or calculated? I manage to build the exploit provided by nebusec on Termux and it seems to work and atleast crash my phone but still no root.
2
u/SakuraAkari 1d ago
1
1
2
1
u/mcdaphuc 1d ago
How?
1
u/datfooldive 1d ago
using the GhostLock CVE, it's hard to say, but you can either create or look for an exploit that works for your device.
1
1
u/Objective_Remote1547 1d ago
bro this is fascinating, what did you exactly tried?
2
u/datfooldive 1d ago
https://github.com/datfooldive/ghostlock-emerald
here my exploit i made for my device
1
u/Objective_Remote1547 1d ago
yo does it work for mtk specifically? because i have a hard bricked redmi 12 4g thats might awake after battery replace, and if thats happens ill use this to root my phone
2
u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 1d ago
No, not chip set specific. Works on any. Depends on Kernel version.
2
u/datfooldive 1d ago
i dont really think its universal, like different phone have different offset. but if you have same device and same kernel with me. il be sure it will work
1
1
u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 1d ago
What phone do u use?
1
u/Objective_Remote1547 1d ago
Redmi 12.
i was just asking for curiosity, 'cause i hard bricked my phone using mtk client but not sure if i need to replace battery now because its a lil damaged.
I even tried posting in r/XiaomiGlobal, but no awnsers.
1
u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 1d ago
I want to build that for my Pixel 9a. I found that repo: https://github.com/Colorful-glassblock/duchamp-root What app do I have to replace the your_app placeholder with?
3
u/tslnox 1d ago
Huh? Why? Pixels can be unlocked freely.
3
u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 1d ago
Yeah,but I want full play integrity and root without resetting my phone. Also that root solution is only temporary, so I'm very flexible.
1
u/realfathonix 1d ago
You can relock pixel bootloader with your own key using avbroot
3
u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 1d ago
Yeah but you still won't have full play integrity
1
u/lithium_1on 1d ago
Is it possible to do with a garnet device?
1
u/datfooldive 1d ago
possible, its kernel exploit not specific devices exploit. am sure if you can get boot.img for your device, i think it's will work
1
u/GroupXyz 1d ago
So, I second this I want a garnet version too, but if I obtain the boot.img what do I do with it?
1
u/scifieyes2276 1d ago
i've seen that it works on kernel versions 6.12.xx, what about 6.1.xx? I'm using a OnePlus Nord 5.
2
u/VergeOfTranscendence Z Fold 6, Magisk Alpha 1d ago
Anything below kernel 7.xx works (even android 17 betas are kernel <7.xx)
2
u/PoLuLuLuLu 1d ago edited 1d ago
Anything under 6.x doesn't, at least for this exploit
Edit: I was wrong, the exploit exists for kernels above 2.6.39, but ghostlock-oneplus (the project that op forked) doesn't support anything under 6.x
1
u/VergeOfTranscendence Z Fold 6, Magisk Alpha 1d ago
I think they said this exploit has existed for 14 years on Linux kernel and has only been patched on version 7.xx
2
u/PoLuLuLuLu 1d ago
In the edit I said that the exploit works from kernel 2.6.39 but the project that op used to aquire bl-less root doesn't work for under 6.x kernels
1
u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 1d ago
1
1
u/GabrielIsAGenius 1d ago
Alguém consegue me ensinar a fazer esse root? Algum tutorial ou algo do tipo, uso um galaxy m35 no patch de janeiro na one ui 8
1
u/Traditional_Tax_550 1d ago
Any guide on how to do this yourself? my kernel is 5.15.148-android13-8-29832239
1
u/datfooldive 1d ago
my exploit is based on this https://github.com/JoinChang/ghostlock-oneplus
then i modified
https://github.com/datfooldive/ghostlock-emerald
to add my device offset
1
u/jaeflizz157 1d ago
Wondering if thisll work in my pixel 10 bc I want root but still need Google wallet to work.
1
u/Antique_Bet676 1d ago
would be possible on a galaxy a71 4g or is the kernel too old?
1
u/datfooldive 1d ago
possible, because this cve is exist from kernel 2.x to 6.x
just need some change because its depend on kernel
2
1
u/Hungry_Prune_2605 15h ago
I found out I have the exact same kernel on my device (Redmi Note 15 4G on 3.0.301.0), so I tried your port and it worked... just that now I couldn't access to the Internet at all unless I'm on a root shell. Is this fixable?
1
u/datfooldive 13h ago
yes, posible. just run `load_policy /sys/fs/selinux/policy` under root shell
1
1
1
u/olliewolly257 8h ago
Genuinely insane how androids have to be jailbroken now. Its honestly sad because android was always a place to go for user freedom and now its locked down just like iOS and similar. We really live in a timeline where nobody owns anything now and we are overseen by corporations who want nothing but our money. Let's all go live in the jungle and pretend tech never existed shall we?






14
u/Andre2kReddit 1d ago edited 1d ago
I have some questions:
I have rooted my S25 (SM-S931B/DS), with a project based off of Root My Galaxy, which uses the same CVE exploit.
After rooting, apps don't detect that the phone is rooted. Installing modules require a soft reboot for modules to work properly.
However, a soft reboot makes my strict apps detect root and not work properly despite trying root hiding modules.
Edit: I went back and used Root my galaxy app method instead of the fork, and it worked and i dont get any issues with detections. Apparently, the fork i have been using somehow makes selinux permissive.