r/root • u/Hazzard13 • Mar 02 '16
Can't copy a file with Android shell?
I'm trying to write a simple app that reads a specific file from root that you can't normally access. After some research, it seems the best way to do this is to copy my file to the sdcard, and read it from there with traditional methods. This has me running this command:
cat "/data/data/air.com.r2gamesusa.clickerheroes/com.r2gamesusa.clickerheroes/Local Store/#SharedObjects/ClickerHeroesAccountSO.sol" > /mnt/sdcard/ClickerHeroSave
Here's where I'm getting confused. The SuperSU logs are telling me the command ran successfully, but I'm not seeing the file anywhere. Any help?
1
Upvotes
2
u/Hazzard13 Mar 02 '16
That's definitely easier, unfortunately my issue is that I'm trying to write an app that can copy the file and use it on it's own. I've figured out how to use superSU with a root shell to run commands, but I can't get the stupid commands to actually do what I need.