LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 05-25-2020, 04:27 AM   #1
newbie1280
LQ Newbie
 
Registered: May 2020
Posts: 7

Rep: Reputation: Disabled
Android Phone File Transfer without MTP Access ?


Dear Colleagues,

I have an Android phone which is stuck on the boot up screen and without access to the option of MTP (Media Transfer Protocol ) on the phone.
I wanted to ask if there is a distro or program in Linux which will allow me to connect the phone to a Laptop with the distro, which will automatically mount the android phone and not require MTP ? - so that I can see the files on the phone and transfer them ?.
( I have googled about this problem and the program 'gmtp' comes up, but not sure if this is a solution ).
Thanks and any help much appreciated.
Regards.
 
Old 05-25-2020, 07:41 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
GMTP is just graphic window for mtp.

Since phone is locked out. No. Linux has no easy way to defeat that lock. Certainly if gnu/linux had.

Your next post would be. The steps are too difficult to follow.


I get a not secure display in chrome browser with the below link. Just fair warning.

http://www.hackcave.net/2015/10/tuto...g-android.html
 
Old 05-25-2020, 08:05 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
I'm not sure exactly what "stuck at boot" means but sounds like the phone is not working correctly and in an unknown state or frozen. Unfortunately there is no magic program that can force it to respond.

What happens when you try a hard reboot?
 
Old 05-25-2020, 08:44 AM   #4
newbie1280
LQ Newbie
 
Registered: May 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
I'm not sure exactly what "stuck at boot" means but sounds like the phone is not working correctly and in an unknown state or frozen. Unfortunately there is no magic program that can force it to respond.

What happens when you try a hard reboot?
Hi, Thanks for the response.

The phone is working (meaning you can hear text messages arriving and it receives calls), but the screen is stuck on the phones logo - this is why I cannot use the MTP option on the phone to transfer files.

This is why I asked which Distros will work out of the box in connecting to the phone via a USB cable ?.
 
Old 05-25-2020, 09:37 AM   #5
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Can you boot into Recovery?
 
Old 05-25-2020, 10:04 AM   #6
newbie1280
LQ Newbie
 
Registered: May 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thank you for the replies.

The phone still works - you can hear incoming text messages and incoming phone calls - it's only the screen that is stuck on the lenovo tag.

Yes I can boot in to recovery mode.
 
Old 05-25-2020, 01:37 PM   #7
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
You can use adb to add or remove files. Search adb/fastboot or android tools from your linux software repo and with a usb cable you can control quite a bit on your phone.
You can update the rom if you can find one for your particular phone. Who knows? That might even fix it.
 
Old 05-25-2020, 02:39 PM   #8
newbie1280
LQ Newbie
 
Registered: May 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
petelq thanks for the advice.

Will adb fastboot give me access to the phones internal drive files and micro SD card files? (So that I can transfer them)
 
Old 05-25-2020, 04:47 PM   #9
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Quote:
Originally Posted by newbie1280 View Post
petelq thanks for the advice.

Will adb fastboot give me access to the phones internal drive files and micro SD card files? (So that I can transfer them)
I'm not sure about android system files. You may have to run adb as root. You will have access to sd card
Code:
adb push <filename>
to add files
Code:
adb pull <file..>
to copy to pc/laptop.

Last edited by petelq; 05-25-2020 at 04:51 PM.
 
Old 05-26-2020, 01:11 AM   #10
newbie1280
LQ Newbie
 
Registered: May 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
You will have access to sd card
petelq, thanks for the command line codes.

In order for ADB to have access to the android phone, USB debugging has to be enabled on the phone - if the screen is stuck on the lenovo tag (even though the phone underneath is working ), how will I get ADB to work if I cannot enable USB debugging ?.

Thanks
 
Old 05-26-2020, 02:42 AM   #11
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Oops! Sorry. I'd not thought that through.
 
Old 05-26-2020, 08:13 AM   #12
newbie1280
LQ Newbie
 
Registered: May 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
petelq no worries, you and others have been helpful.

Can anyone confirm if ADB and SDK can still be used by putting the android phone in to recovery mode ( so that USB Debugging is not required)?
 
Old 05-26-2020, 02:05 PM   #13
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
Have you even tried using adb or fastboot or recovery mode?
Have you tried putting your questions in a search engine? I happen to know that there's answers to that.
Why is your phone "stuck at the boot screen", yet at the same time able to receive calls and texts? How did you get there? Have you consider it might be possible to fix that?
Lastly, is your data on an SD card? You know you can take that out and read it in another computer?
 
Old 05-28-2020, 02:28 AM   #14
newbie1280
LQ Newbie
 
Registered: May 2020
Posts: 7

Original Poster
Rep: Reputation: Disabled
ondoho thank you for the response.

The phone got stuck on the boot screen due to my own fault. Before it happened, I was moving files from the phones internal storage to the micro SD card using the phones own operating system - it was taking too long - so I turned off the power to the phone during this process and when the phone came on again, it was stuck on the boot screen

The phone is a Motorola G4 PLus - I have googled it but no one can tell me if USB Debugging needs to be activated and if ADB requires the phone to be rooted before it will work ?.

The micro SD card has been formatted as 'internal' with the phones internal storage. When I put the SD card in to a reader with Windows XP - nothing comes up on the screen. Do I need a specific set of drivers in order to see the files on the micro SD card ?.

Thanks

Last edited by newbie1280; 05-28-2020 at 02:32 AM.
 
Old 05-28-2020, 12:36 PM   #15
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
You need a newer Windows version or GNU/Linux to read the sdcard.
Also for trying out adb.
Also your problem sounds like it's fixable. Can't say anything specific, search xda-developers.com.
It's not device specific I'd say.
 
  


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
Android phone file transfer, KDE/KDE connect and mtp issues.... Basslord1124 Linux - Software 18 04-14-2020 05:07 PM
KDE Applications 18.12.0 has rewritten MTP device support. Does it solve any previous MTP problems? Nille_kungen Slackware 6 10-15-2018 11:04 AM
[SOLVED] Unable to browse android phone using mtp milomak Debian 5 03-25-2017 07:11 AM
Problem syncing Android Phone (MTP) jim.thornton Linux - Newbie 5 10-11-2015 12:12 PM
On slack-current: /usr/bin/mtp-getfile -> /tmp/package-libmtp/usr/bin/mtp-connect ? LuckyCyborg Slackware 3 05-03-2010 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 07:08 PM.

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