LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-21-2017, 01:02 PM   #1
Eshank
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Rep: Reputation: Disabled
Accessing my Phone data via my Linux desktop


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 ???
 
Old 09-21-2017, 04:13 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,140
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
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.
 
1 members found this post helpful.
Old 09-21-2017, 06:21 PM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,152

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
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
 
Old 09-21-2017, 07:36 PM   #4
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,673

Rep: Reputation: 486Reputation: 486Reputation: 486Reputation: 486Reputation: 486
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 01:42 PM. Reason: additional info
 
1 members found this post helpful.
Old 09-21-2017, 08:24 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,335
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
Airdroid is free (unless you sign up for their premium services). I use it to connect to my Android from my computer. It's in the Play Store.

I did a podcast about it for Hacker Public Radio: http://hackerpublicradio.org/eps.php?id=2364

I haven't tested it with hidden files, though.
 
Old 09-21-2017, 10:15 PM   #6
calvinmeadows
Member
 
Registered: Jul 2016
Location: Manassas Virginia USA
Distribution: Manjaro KDE
Posts: 39

Rep: Reputation: Disabled
I use kdeconnect with my motorola g ext on manjaro kde.
 
Old 09-29-2017, 12:55 PM   #7
Eshank
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
So far nothing has worked for me, so I have now rooted my phone using Kingoroot.apk
What do I do now ?
 
Old 09-29-2017, 02:48 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Eshank View Post
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.
 
1 members found this post helpful.
Old 09-30-2017, 03:46 AM   #9
Eshank
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-30-2017, 03:58 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Eshank View Post
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?
 
Old 09-30-2017, 05:33 AM   #11
Eshank
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 09-30-2017, 01:22 PM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Eshank View Post
I have also just downloaded openssl.
I will now try to install openssl from Github
why?

isn't openssl in opensuse's repos???

it certainly is on both my archlinux and debian oldstable machines.
 
Old 10-02-2017, 07:01 AM   #13
Eshank
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Yes, Ondoho,
I went to Yaast to install it and found it already installed !
Question now is ; How do I use it ?

Is it done from a console window ?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing linux 7.1 through mobile phone nasirdaudahmad Linux - Networking 2 08-03-2007 10:41 AM
Accessing Network shared data in Linux salik Linux - General 7 11-28-2005 09:39 AM
Accessing Linux Data through Windoze fuzzyworm Linux - General 2 12-19-2003 09:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration