snaprecovery
snaprecovery copied to clipboard
Rooted yet Script Gives Error "This Device is not Rooted"
Hi there,
Thanks for the great work on this script! Tried running it on my Redmi K20 Pro running Shapeshift OS 2.7 (Android 11) and rooted with Magisk 23.
Running the script on an EndeavourOS Arch Installation with ffmpeg and ADB correctly installed, yet the script gives an error saying that the devices is not rooted. https://i.imgur.com/NIQHCBL.png
Any help would be appreciated!
Hey @rgvxsthi!
This seems like a strange issue.
Lets check if you get any errors from adb when you try to start a root adb session and then try to pull the directory containing the snaps:
$ adb root
$ abd pull -a /data/user/0/com.snapchat.android/files/file_manager/chat_snap/
Could you send a screenshot of the outputs of the command above?
Hello @sdushantha
adb root
results in "adbd cannot run as root in production builds"
Though I can access root if I do:
adb shell su
Here's a screenshot of the same: https://i.imgur.com/H5sgONe.png
It is very strange why its adb root
is not working by default for you. Because it does for me.
I found a stackoverflow post that might help you solve the issue: https://stackoverflow.com/questions/25477424/adb-shell-su-works-but-adb-root-does-not
Seems like an issue with the build of the ROM. "eng" and "userdebug" versions of the rom have this setting enabled, whereas "prod" have this disabled (I might be wrong!)
I saw some tweaks to enable it via build.prop edits, will try and report back.
I got the same issue, adb root does nothing for me. Setting ro.debuggable=1 doesn't have any effect.
However can you make a script to convert the media when it's already on the PC since I can manually access the folder.
@Jenni32222
However can you make a script to convert the media when it's already on the PC since I can manually access the folder.
You can easily create a script yourself by referring to the code snippet from the script:
https://github.com/sdushantha/snaprecovery/blob/master/snaprecovery.sh#L104-L113
@Jenni32222
However can you make a script to convert the media when it's already on the PC since I can manually access the folder.
You can easily create a script yourself by referring to the code snippet from the script:
https://github.com/sdushantha/snaprecovery/blob/master/snaprecovery.sh#L104-L113
How do I do that?
Hi, I encountered the same This Device is not Rooted problem, when my device was rooted using Magisk. Turns out plain Magisk does not allow adb root
. Install this package using Magisk Manager - https://github.com/evdenis/adb_root - and adb root
will start working. I still get This Device is not Rooted but because of a different error, adb root
is working on my device.
Unfortunately I am on Android 11, the package only supports 9 and 10.
I think the best option for me is to have a script which only converts the media since I already have them on my PC, I don't know how to make one myself since I'm not that good
@Jenni32222 any progress on that script?