Gentoo Archives: gentoo-user

From: Raffaele Belardi <raffaele.belardi@××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Accessing a Samsung phone and it's data.
Date: Tue, 30 Jul 2019 06:00:24
Message-Id: 55096b13-709e-90ea-a4e3-875474d57f98@st.com
In Reply to: [gentoo-user] Accessing a Samsung phone and it's data. by Dale
1 Dale wrote:
2 > Howdy,
3 >
4 > I've mentioned before that I used a Motorola Razr cell phone, ancient as
5 > it is.  Well, the USB port wore out and it was hard to get it to charge
6 > up the battery.  Finally, I got tired of having to fiddle with it to get
7 > it to charge so I bought a Samsung Galaxy J2, Dash version.  Up under
8 > the battery it says J260A.  I did some googling and found some software
9 > that says it will allow me to access the data on it.  I'm mostly wanting
10 > to access the SD card but would also like to be able to access other
11 > things such as contacts, calendar etc.  This is what I installed:
12 > sys-fs/android-file-transfer-linux  While I can access some things, it
13 > seems not to list anything useful.  Most directories are empty which is
14 > sort of hard to believe.
15 >
16 > Is there other software that I can't find that allows this to be done?
17 > GUI would be nice but I suspect if I can figure out what to use, a
18 > regular file manager will be used.
19
20 On Gnome desktop I think I just had to add 'mtp' to the USE flags [1] and rebuild. Now
21 when I connect the phone the file manager pops up automatically and I can read/write the
22 'user' part of the Flash memory.
23
24 Note that I use the Gnome file manager only to transfer photos or side-loaded [2] apps.
25 Whenever I tried to access apps data I found it hard or impossible to locate them. Looks
26 like Android provides standard places to store things but apps developers are not forced
27 to use them and in practice everyone does what they want, possibly using directories not
28 accessible to normal users. I have the impression that to really be able to browse _all_
29 the phone content you'd need to root it, which I'm not prepared to do yet.
30
31 I also installed some adb software (dev-util/android-tools [3]) but that's not needed for
32 regular use, I did it only to try to backup my daughter's phone before changing the
33 cracked LCD. Fortunately I did not have to use that backup because the 'adb backup'
34 command worked for a minimal set of apps only.
35
36 > While here, is there a website that lists all the android type phones,
37 > Samsung brand would be good, and compares them?  At some point I may
38 > upgrade but am having trouble finding out what has what and which is
39 > actually better.  When I'm trying to pick a CPU, I can find websites
40 > that list CPUs by power, L1 cache and a whole host of other things but I
41 > can't find one for cell phones.  Maybe my google terms aren't quite right.
42
43 I think you should look better :-)
44
45 Just one example (that I don't use):
46 https://www.phonearena.com/phones/Samsung-Galaxy-J2-Core_id10978
47 There's a compare button on the top right.
48
49 raffaele
50
51 [1] https://wiki.gentoo.org/wiki/MTP
52 [2] https://en.wikipedia.org/wiki/Sideloading
53 [3] https://wiki.gentoo.org/wiki/Android/adb#About_ADB