Hey everyone,
I’ve been going back and forth on whether to make this post, but I figured it was worth asking because I’ve spent a lot of time trying to figure this out and I’m honestly running out of things to try.
I have a Verizon Samsung Galaxy S20 FE 5G (SM-G781V), and I’ve been trying to find out if there’s any possible way to get temporary root on it without unlocking the bootloader.
I know the Verizon version can be difficult to work with, and I’m not expecting some easy one-click solution. I just want to know if there’s a realistic way to do it or if anyone has managed to get somewhere with this model.
Here are my device details:
● Phone: Samsung Galaxy S20 FE 5G
● Model: SM-G781V
● Codename: r8q
● Android: 13
● Firmware: G781VSQSCHXA1
● Security patch: February 1, 2024
● Processor: Snapdragon 865 (SM8250)
● GPU: Adreno 650 v3
● Kernel: 4.19.113-27223811
● Bootloader: Locked
● Verified Boot: Green
● SELinux: Enforcing
What I’m actually trying to do
I’m trying to get real root access on the phone itself, not just root inside Termux or Debian.
Basically, I want to be able to run id on Android and actually see:
uid=0(root)
I’d really prefer to keep the phone exactly how it is. I’m not looking to unlock the bootloader, flash a custom ROM, permanently modify the boot image, or wipe everything.
Temporary root that goes away after a reboot is what I’m interested in.
I’ve actually spent quite a bit of time looking into this
I don’t have a PC available for this project, so I’ve been doing pretty much everything directly from my phone.
I’ve been using Termux, Debian PRoot, Git, Python, and Rust. It’s definitely not the easiest way to investigate Android kernels, but I’ve managed to get quite a bit done.
Some of the things I’ve tried:
● Downloaded the official firmware for my exact build.
● Extracted the original boot image and raw kernel.
● Checked the kernel version and calculated hashes for the files.
● Recovered the kernel configuration.
● Looked into Samsung security features like RKP, DEFEX, and PROCA.
● Tried GhostLock v1.2 to see if it recognizes my device.
● Built the GhostLock Rust extractor myself and tested it against my kernel.
● Looked into why it couldn’t recover the kernel symbols.
● Compared my phone with the Canadian SM-G781W version.
● Downloaded Samsung Snapdragon 865 kernel source and started looking through the Qualcomm GPU driver.
● Looked into possible Qualcomm kernel vulnerabilities.
Some of this went well, and some of it honestly turned into a lot of troubleshooting.
The GhostLock project I found
One thing that really caught my attention was this project:
SM-G781W HYJ1 GhostLock Temporary Root
https://github.com/jojobear691/SM-G781W-HYJ1-GhostLock-Temporary-Root
It’s for the Canadian SM-G781W, which is part of the same general S20 FE Snapdragon 865 family as my phone.
Mine is the Verizon SM-G781V.
I noticed both devices use the same general kernel release string:
4.19.113-27223811
I know that doesn’t mean the exploit will work on mine. Different firmware versions can have different offsets, patches, configurations, and other changes.
I’m not trying to take somebody else’s files and blindly run them on my phone. I was more interested in finding out whether the research behind that project could possibly help with my model.
I actually installed GhostLock and tried it myself. It detects my phone and recognizes the Snapdragon 865 and kernel version, but then says:
No matching kernel profile
That was a bit disappointing, but it made me curious about what would be needed to create a profile for the Verizon version.
Where I’m stuck
I also compiled the GhostLock Rust extractor and ran it against my extracted kernel.
Unfortunately, it returned:
kallsyms recovery failed: no kallsyms table found in the kernel image
I’ve spent time trying to figure out why it couldn’t find the symbols and looking through the kernel image for other useful structures.
I also tried KernelSU Manager, but it reports that my kernel isn’t supported through its current GKI support path.
I haven’t managed to get root through any of these tools.
I’ve also been looking into Qualcomm KGSL
Another thing I started researching was the Qualcomm KGSL GPU driver.
I came across CVE-2024-21471 and started looking into whether it could be relevant to the Snapdragon 865.
I cloned this kernel source repository:
https://github.com/Sakura-Devices/android_kernel_samsung_sm8250
I’ve been going through the source and Git history, trying to understand how the GPU memory-management code works.
One commit I found was:
88bb532b430d4fc7a549d4f05643fa149ffda5e3
It was titled:
msm: kgsl: Do not free sharedmem if it cannot be unmapped
I compared it with the previous version of the code and looked at the changes involving memory unmapping and freeing shared memory.
I haven’t proven that my firmware is vulnerable to anything related to this, and I’m still trying to understand which changes are relevant.
I’m mentioning it because maybe someone with more experience working on Qualcomm kernels could tell me if this is worth investigating further.
What I’m hoping to find out
I’d really like to hear from someone who has experience with this phone or similar Samsung Snapdragon devices.
A few things I’m wondering:
- Has anyone ever successfully obtained temporary root on the Verizon SM-G781V?
- Is there a known vulnerability that might apply to my firmware?
- Could the SM-G781W GhostLock project be useful as a starting point for the SM-G781V?
- Would comparing the two kernel images help determine how different they really are?
- Is there a way to recover the symbols needed to investigate my kernel further?
- Does anyone know a developer who might be interested in looking into this?
I’m not expecting someone to just hand me an exploit. Even being pointed toward something worth investigating would be a big help.
I still have all my files
I’ve kept the original boot image, extracted kernel, kernel configuration, hashes, and the output from the tools I’ve been testing.
I can share those if someone wants to take a look.
I’d rather provide the files someone actually needs instead of uploading a massive firmware package that nobody wants to download.
Honestly, I just want to see if this is possible
I’ve put a lot of time into this already.
I’ve had to figure out how to extract firmware, compile tools, work with kernel source, troubleshoot Rust builds, and investigate things I didn’t really know much about when I started.
There have been plenty of times where something didn’t work and I had to go back and try a different approach.
I’m still learning as I go, so I’m definitely not claiming to be some kernel expert. I just enjoy figuring this stuff out, and I’d really like to make some progress with this phone.
If anyone has experience with the SM-G781V, knows anything about the GhostLock project, or has any ideas about where I should look next, I’d genuinely appreciate it.
I’m just trying to find out whether genuine temporary root is possible on my Verizon S20 FE while keeping the bootloader locked and the original firmware untouched.
Thanks for reading, I appreciate any help.