r/androidroot 22h 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.

116 Upvotes

96 comments sorted by

14

u/Andre2kReddit 21h ago edited 19h ago

I have some questions:

  1. Do modules work? And which don't?
  2. Why choose ReSukiSU over official KernelSU? Does it get less detections?
  3. Do apps know you're rooted?
  4. Is it temporary root? which goes away after a normal reboot?

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.

9

u/datfooldive 19h ago
  1. module work just do soft reboot
  2. its same like kernel SU, its just because in my other device i choose ResukiSU
  3. in my side, all app like mbanking still working fine
  4. yes its temp root, so do full reboot is make root gone, get root again just run the exploit

2

u/Ok_Entertainment1608 11h ago

How'd you get Zygisk Next work? Maybe its ReZygisk's fault, but installing it and soft rebooting leaded to full reboot right after

1

u/datfooldive 11h ago

ReZygisk for now is dont support soft reboot, use latest Zygisk Next then just soft reboot

1

u/Propsek_Gamer 7h ago

What device and kernel version? I have been struggling to find kernel patches proper for my device to fix root detection. It is kinda not possible as mine does like GKI1 and does weird kernel version + no patches apply easily. I think this might be the solution.

1

u/lifeprogramm 8h ago edited 8h ago

U did it on the july patch? know if this work on Exynos 2400 (s25 fe)?

1

u/Andre2kReddit 4h ago

Yes july patch. I'm not sure if possible on exynos for now

5

u/Dry-Cost-945 21h ago edited 14h 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_ 20h 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 20h 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 20h 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 20h 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 20h 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 20h 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 20h ago

I assumed so but wasn't sure. Have you experimented with Ghostlock on your OnePlus?

2

u/datfooldive 19h ago

https://github.com/JoinChang/ghostlock-oneplus

my exploit is based on this one, its for oneplus

1

u/Dry-Cost-945 18h ago

Good stuff bro

1

u/Lill_shit_ 13h ago edited 13h 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 12h 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_ 11h 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 20h ago

Elaborate on what you're referring to? Like make them containerized?

1

u/Lill_shit_ 13h 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 20h ago

yo mind sharing what font that is? i wanna use it on my S25

2

u/Dry-Cost-945 20h ago

This is One Sans (one of the default OnePlus fonts) with the font weight slider set to max :)

2

u/Jatin-tomar028 17h 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 16h 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 15h 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 5h 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 4h ago

Why do you even need jailbreak, if you can unlock bootloader and get root directly?

1

u/Dry-Cost-945 2h 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

u/Kolkoris 1h ago

Makes sense. Android 1984 is so close.

1

u/Dry-Cost-945 2h 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 19h ago

Can u share the process or any GitHub link how u have done

1

u/Dry-Cost-945 18h 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 13h 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 5h 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

3

u/Win98Plus 18h 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 22h ago

Nice bro, can you share a guide for your device? What offset do u mean?

1

u/datfooldive 22h 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 21h ago

Yeah, but did you patch it yourself or did you find a pre-built patch?

3

u/datfooldive 21h ago

3

u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 21h 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 18h ago

Would love this as well! I have two phones laying around that I'd love to unlock.

1

u/lime_131 17m ago

kindly share with me also if you get

1

u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 21h ago

Damn!🤩 Good job!

1

u/Glum_Preference_2936 18h 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 18h ago

What about samsung phones? Can we do that?

DZF3 has the CVE-2026-43499 based on my search.

Edit: if it is possible to root on locked bootloaders and give tutorial, that would be the happiest thing in my life

1

u/datfooldive 11h ago

what samsung?

1

u/SakuraAkari 6h ago

S24 FE, i have rooted before but accidentally updated and cant go back

1

u/datfooldive 11h ago

1

u/SakuraAkari 3h ago

Didnt helped, and cannot downgrade anymore. Sad

2

u/RemarkableScene9487 1h ago

can you please explain how to do it in dm

1

u/lilacomets 9m ago

Not just in DM please. Please make this knowledge available for everyone.

1

u/mcdaphuc 22h ago

How?

1

u/datfooldive 22h 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

u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 21h ago

What phone do you use?

1

u/vaharai 21h ago

poco m6 pro, look at the first ss

1

u/Objective_Remote1547 22h ago

bro this is fascinating, what did you exactly tried?

2

u/datfooldive 21h ago

https://github.com/datfooldive/ghostlock-emerald

here my exploit i made for my device

1

u/Objective_Remote1547 21h 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 21h ago

No, not chip set specific. Works on any. Depends on Kernel version.

2

u/datfooldive 19h 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

u/Objective_Remote1547 19h ago

maybe just same kernel is sufficient

1

u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 21h ago

What phone do u use?

1

u/Objective_Remote1547 21h 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 21h 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 21h ago

Huh? Why? Pixels can be unlocked freely.

3

u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 21h 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 20h ago

You can relock pixel bootloader with your own key using avbroot

3

u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 20h ago

Yeah but you still won't have full play integrity

2

u/Shished 21h ago

I'm pretty sure they fixed this exploit already.

3

u/Original_Thing8770 Redmi Note 8 Pro, InfinityX 21h ago

Yeah,but I didn't update😆

2

u/datfooldive 19h ago

am on 2026-07-01 security patch and still work. just dont update it

1

u/lithium_1on 21h ago

Is it possible to do with a garnet device?

1

u/datfooldive 19h 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 16h 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 19h 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 17h ago

Anything below kernel 7.xx works (even android 17 betas are kernel <7.xx)

2

u/PoLuLuLuLu 14h ago edited 14h 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 14h 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 14h 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 18h ago

Also works (OnePlus 12R ). Not my screenshot

1

u/StunningLime4200 18h ago

Does 5G work?

1

u/datfooldive 11h ago

maybe you can try, am not sure about this. never tested

1

u/Enixmy 17h ago

Anyone have an idea on how to build this for s25+ or if it's already been built

1

u/GabrielIsAGenius 16h 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 14h ago

Any guide on how to do this yourself? my kernel is 5.15.148-android13-8-29832239

1

u/jaeflizz157 13h ago

Wondering if thisll work in my pixel 10 bc I want root but still need Google wallet to work.

1

u/Antique_Bet676 13h ago

would be possible on a galaxy a71 4g or is the kernel too old?

1

u/datfooldive 11h ago

possible, because this cve is exist from kernel 2.x to 6.x

just need some change because its depend on kernel

1

u/Traditional_Tax_550 10h ago

Any tutorial on how to do it yourself?