Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I need to get into the hidden files of my Android phone.
I use Suse 42 Leap.
I plan to open a console window as SU, and then navigate to the device connected to my PC via a USB cable.
I have managed to access the device through the File manager, but the hidden files do not show up. In particular I need to get to /android/Data.
Q. How do I find the device in my console window. I have looked in /root and all other folders but I cannot see it.
I thought in would be under /media but I cannot see a folder of this name.
Any thoughts ???
Search google and LQ for 100's of posts on this. /android/Data Phone needs to be rooted for that. Device will have to have an unlocked bootloader.
Then turn on usb debugging on the phone. You can use adb shell
(Android Debug Bridge) to access it.
Warning: Rooting may void your warranty or your phone provider may drop you. Check with them first.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 3,103
Rep:
I use webdav pro from the app store and just mount the phone as a normal webdav share, the app is only a couple of quid works on phones and tabs and is rock solid there is a free version as well, but its worth paying as this is a great app beeen using it for years, I have no conection with the developer of this app FYI
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,648
Rep:
I'm not sure if this is exactly what you need but I gave up on connecting my Android phone to my computer using USB (too much hassle!) and now have an app called wifi file transfer pro installed on my phone. It costs a few pounds but is well worth it.
It turns the phone into a mini file server accessible via your home wifi. Point your browser at the address specified and you have a window showing each folder on the phone.
I've just checked using my Moto G G4 and was able to access /Android/Data without any problems.
(The actual location was /storage/emulated/0/Android/Data, I'm not sure if that's the same thing. I've no idea which actual file within this folder you're looking for.)
Maybe you'd like to give it a go? I mainly use it for transferring pictures from the phone to my computer. You can move files to and from the phone. Editing a file in situ? That's a different matter.
Hope that's of some use!
Play Bonny!
Last edited by Soadyheid; 09-22-2017 at 02:42 PM.
Reason: additional info
So far nothing has worked for me, so I have now rooted my phone using Kingoroot.apk
What do I do now ?
how should we know?
you aren't telling us what you really want to achieve here.
also i think you are using th eterm "hidden" in a different sense.
to most linux users, this means filenames that start with a '.' (dot).
this also exists in android, but i'm guessing you're having troubles with files being inaccessible due to access restrictions. android is pretty tightly locked down that way.
unfortunately, without knowing what you're after, i cannot say more.
Sorry Ondoho, your right, I am getting ahead of myself.
Here is my story. I have made a bit of progress on my own since I posted, but here is the latest.
I loaded the Litecoin App from the Google Playstore onto my new phone - my first "smartphone".
I have about 5 LTC coins in my wallet. OK, it's not a fortune to some people but it's a lot to me.
Everything was fine and I was getting some experience in using cryptocurrency.
About 1 month ago the app crashed, saying Litecoin has stopped. ( shock horror - money gone ! )
So, I learned that the app and the data are stored in separate locations on the phone, and if I could get to my private keys, then I would be able to salvage my coins.
As you say, these files are hidden in a place where android does not want you to get to, so maybe "hidden" is incorrect, and "Buried" would be more accurate..
I have rooted my phone, ( I don't really have any data on it - and I intended to get rid of Google anyway ).
I can see the files ssl-keystore-litecoin but I don't know how to extract the data from it.
From what I am reading I need to download and install a program openssl and then I need to write a script to extract the file.
Am I heading in the right direction with this or does anybody know a simpler solution ?
Thanks for you time taken to reply, it is appreciated.
I learned that the app and the data are stored in separate locations on the phone, and if I could get to my private keys, then I would be able to salvage my coins.
try using ghostcommander. it has a root mode, and a "re-mount rw" mode.
maybe it helps.
Quote:
I can see the files ssl-keystore-litecoin but I don't know how to extract the data from it.
if you can see the file, can't you just copy it over to your computer, where you could work with it easier?
Thanks Ondoho,
Yes I have copied the file onto my PC.
I tried opening the file in a txt editor, but it is just garbled.
I have also just downloaded openssl.
I will now try to install openssl from Github but I have not installed it yet, when I do I will open a console window try yo use it to open the file.
I think that is the way forward ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.