LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-31-2017, 04:43 AM   #1
jamiebbbb
Member
 
Registered: Mar 2017
Location: Victoria, Australia
Distribution: Debian Wheezy
Posts: 34

Rep: Reputation: Disabled
Smart Phone mounting it as a USB?


My smartphone operating system is corrupted. Just sits at the logo screen. It does boot into recover mode. I wish to access the smart phone via the USB.

When it is connected to the computer and I run the command

dmesg | tail


[ 272.852903] usb 2-2: Manufacturer: Bluetooth v2.0
[ 743.434006] usb 2-3: USB disconnect, device number 7
[ 766.860422] usb 2-3: new high-speed USB device number 10 using xhci_hcd
[ 767.002705] usb 2-3: New USB device found, idVendor=12d1, idProduct=1038
[ 767.002707] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 767.002709] usb 2-3: Product: Ideos
[ 767.002710] usb 2-3: Manufacturer: Huawei Incorporated
[ 767.002711] usb 2-3: SerialNumber: 5C4CA94FB153
[ 767.003573] usb-storage 2-3:1.0: USB Mass Storage device detected
[ 767.003697] scsi host4: usb-storage 2-3:1.0

I run this command next,
lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 006: ID 8087:07dc Intel Corp.
Bus 002 Device 005: ID 04f2:b3a3 Chicony Electronics Co., Ltd
Bus 002 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 010: ID 12d1:1038 Huawei Technologies Co., Ltd. Ideos (debug mode)
Bus 002 Device 009: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I then run this command

mkdir /media/usb-drive
mount /dev/sdc1 /media/usb-drive/

mount: special device /dev/sdc1 does not exist
Have I chosen the wrong dev

Last edited by jamiebbbb; 03-31-2017 at 04:46 AM.
 
Old 03-31-2017, 05:01 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049
Quote:
Originally Posted by jamiebbbb View Post
My smartphone operating system is corrupted. Just sits at the logo screen. It does boot into recover mode. I wish to access the smart phone via the USB.

When it is connected to the computer and I run the command

dmesg | tail


[ 272.852903] usb 2-2: Manufacturer: Bluetooth v2.0
[ 743.434006] usb 2-3: USB disconnect, device number 7
[ 766.860422] usb 2-3: new high-speed USB device number 10 using xhci_hcd
[ 767.002705] usb 2-3: New USB device found, idVendor=12d1, idProduct=1038
[ 767.002707] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 767.002709] usb 2-3: Product: Ideos
[ 767.002710] usb 2-3: Manufacturer: Huawei Incorporated
[ 767.002711] usb 2-3: SerialNumber: 5C4CA94FB153
[ 767.003573] usb-storage 2-3:1.0: USB Mass Storage device detected
[ 767.003697] scsi host4: usb-storage 2-3:1.0

I run this command next,
lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 006: ID 8087:07dc Intel Corp.
Bus 002 Device 005: ID 04f2:b3a3 Chicony Electronics Co., Ltd
Bus 002 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 010: ID 12d1:1038 Huawei Technologies Co., Ltd. Ideos (debug mode)
Bus 002 Device 009: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I then run this command

mkdir /media/usb-drive
mount /dev/sdc1 /media/usb-drive/

mount: special device /dev/sdc1 does not exist
Have I chosen the wrong dev
First question, why the stupid font colors?

You also have not provided much in the way of useful info, so it's next to impossible to answer your questions. From your output, the OS is seeing it, as a USB mass storage device, and therefore, the second question, is it appearing in the GUI??

What (if any) device node, is it under??

Please provide more information, if you want any useful reply's.

EDIT: You may be trying to mount a hard drive partition instead; is /dev/sdc1 the device node for your smart phone?? (mount /dev/sdc1 /media/usb-drive/)

Last edited by jsbjsb001; 03-31-2017 at 05:21 AM. Reason: forgot: mount /dev/sdc1 /media/usb-drive/ answer/question
 
Old 03-31-2017, 09:40 AM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 19
Posts: 6,309
Blog Entries: 21

Rep: Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166Reputation: 3166
So I can read it.

Quote:
Rep: Reputation: Disabled

Smart Phone mounting it as a USB?
My smartphone operating system is corrupted. Just sits at the logo screen. It does boot into recover mode. I wish to access the smart phone via the USB.

When it is connected to the computer and I run the command
Code:
dmesg | tail


[ 272.852903] usb 2-2: Manufacturer: Bluetooth v2.0
[ 743.434006] usb 2-3: USB disconnect, device number 7
[ 766.860422] usb 2-3: new high-speed USB device number 10 using xhci_hcd
[ 767.002705] usb 2-3: New USB device found, idVendor=12d1, idProduct=1038
[ 767.002707] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 767.002709] usb 2-3: Product: Ideos
[ 767.002710] usb 2-3: Manufacturer: Huawei Incorporated
[ 767.002711] usb 2-3: SerialNumber: 5C4CA94FB153
[ 767.003573] usb-storage 2-3:1.0: USB Mass Storage device detected
[ 767.003697] scsi host4: usb-storage 2-3:1.0
Quote:
I run this command next,
Code:
lsusb
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 006: ID 8087:07dc Intel Corp.
Bus 002 Device 005: ID 04f2:b3a3 Chicony Electronics Co., Ltd
Bus 002 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 002 Device 010: ID 12d1:1038 Huawei Technologies Co., Ltd. Ideos (debug mode)
Bus 002 Device 009: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Quote:
I then run this command
Code:
mkdir /media/usb-drive
mount /dev/sdc1 /media/usb-drive/
mount: special device /dev/sdc1 does not exist
Quote:
Have I chosen the wrong dev
Try /dev/sdc I guess. Really won't know till a

Code:
sudo parted -l
and a

Code:
sudo fdisk -l
has to show though. Anyways. I have read MX-16 mounts android phones and tablets out of the box with usb tethering from new members.
 
1 members found this post helpful.
Old 03-31-2017, 09:54 AM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
font colors are free and fun to play with. They help high light what is important to the one that uses them to high light what ever it is they high light with the font colors.

what are you wanting to do with it, get stuff off it in the system hdd or fix it?

if fix it have you looked at this sight?

https://www.xda-developers.com/

root and flash a new OS mod on it. that root part I am not sure about seeings how you system is already not booting. but posting a help me in there may help

mine does not show up in recovery mode.

"sits at the logo screen"

if your system sees it in that state of suspended animation.

Code:
sudo blkid
get the partition address of the phone then mount it like said in post prior to mine. then you might be a le to rummage around inside of it. use root but be careful.
 
Old 03-31-2017, 10:08 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,235
Blog Entries: 10

Rep: Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160
unfortunately, android & hardware manufacturers have done their worst to prevent a simple USB connection.
you might have better luck with adb - that's the android debug bridge, it's a small, but extremely useful and important program that comes with the android development suite, but is often also packaged separately, on my system:
Quote:
/opt/android-sdk/platform-tools/adb is owned by android-sdk-platform-tools
 
Old 03-31-2017, 11:13 AM   #6
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,869

Rep: Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049Reputation: 2049
Quote:
Originally Posted by BW-userx View Post
font colors are free and fun to play with. They help high light what is important to the one that uses them to high light what ever it is they high light with the font colors.
Not when it hurts your eyes, just trying to read the question. That's what bold fonts and different fonts, like, this are for. Sorry, but I almost didn't even bother trying to read the question.
 
Old 03-31-2017, 11:43 AM   #7
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
Quote:
Originally Posted by jsbjsb001 View Post
Not when it hurts your eyes, just trying to read the question. That's what bold fonts and different fonts, like, this are for. Sorry, but I almost didn't even bother trying to read the question.
yeah I figured it was bugging your eyes, as some of them colors to me make it harder to read for me as well. but I have no idea how to do that html size and font change in the post in here.

I just use bold and sometimes red mostly.

(pls redirect this off topic post to the section on how to create a better post for others to read without hurting their eyes.)
 
Old 03-31-2017, 07:49 PM   #8
jamiebbbb
Member
 
Registered: Mar 2017
Location: Victoria, Australia
Distribution: Debian Wheezy
Posts: 34

Original Poster
Rep: Reputation: Disabled
I am a newbie to this forum and yet to understand how to submit my questions and how to present to this forum.
I thank you all for your kind advise and helpful instructions.
The android phone in question will not load. Its permanently in a loop at the logo start up. I can't get the device to go into recovery mode. Its a Huawei IDEOS U8150 smart phone.
My aim was to try to see if I could via the USB force it to reboot into the recovery mode from the linux command line.
Mounting it from the command line wasn't successful. I believe this issue is because its not in recovery mode where by you can command the the device to mount as a USB.
I have advanced along a bit further. I have install ADB and FASTBOOT and managed to see the device for the first time.
Quote:
# adb start-server
Quote:
#./adb devices
#??????? FASTBOOT
Quote:
#./adb reboot recovery
Surprisingly, the devices did reboot but it didn't go into the recovery mode. I think the partitions on this device are corrupted.
I am at the stage now of implementing fastboot but havent a clue on what to do next.
Quote:
format[:[<fs type>][:[<size>]] <partition>
Format a flash partition. Can
override the fs type and/or size
the bootloader reports.
What is the <fs type> of a smart phone device?
What is the <partition> called ?
 
Old 04-01-2017, 01:50 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,235
Blog Entries: 10

Rep: Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160Reputation: 5160
well done so far!

i cannot offer much advice; i think smartphones use ext2 or ext3 as filesystem type, but that is hardly helpful at this point.

try some o'these:
https://duckduckgo.com/?q=android+adb+recover+data

edit:
i assume you do want to recover data at this point?
do not format!!!, that will destroy any filesystem and likely the data itself.

Last edited by ondoho; 04-01-2017 at 01:52 AM.
 
1 members found this post helpful.
Old 04-01-2017, 02:34 AM   #10
jamiebbbb
Member
 
Registered: Mar 2017
Location: Victoria, Australia
Distribution: Debian Wheezy
Posts: 34

Original Poster
Rep: Reputation: Disabled
Unfortunately, this android is a BRICK. One bonus I can still use it for a night light. From my investigation and understanding if the android is in BOOT LOADER mode its USB is disabled. If it is in recovery mode the USB mode is enabled. I would recommend adb and fastboot to anyone trying to flash or access their android.
If you cant get you android in recovery mode your android device has a terminal condition.
 
Old 04-01-2017, 11:03 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
can you pull the battery to get it to shut off then try this for a hard rest
Code:
  1.  At the beginning switch off your cell phone by holding the Power key.
  2.  Then press and hold Volume Up + Call + Power button for a few seconds.
  3. After a while the Recovery Mode menu should appear on the screen.
  4. Press Volume Down to choose "wipe data/factory reset", and then push the Power button to confirm.
complements of Google.

their should be other option in that mode as well other than wipe it that you MAYBE able to use.

Last edited by BW-userx; 04-01-2017 at 11:04 AM.
 
Old 04-01-2017, 04:24 PM   #12
jamiebbbb
Member
 
Registered: Mar 2017
Location: Victoria, Australia
Distribution: Debian Wheezy
Posts: 34

Original Poster
Rep: Reputation: Disabled
Tried that it just sits at the logo. I think its terminally bricked.
 
Old 04-01-2017, 04:45 PM   #13
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
$ cat /proc/partitions

insert the device

$ cat /proc/partitions

If it's truly a storage device that output should change, although the change should be logged in dmesg. It may take 5-ish seconds after it's plugged in to register. Otherwise there might be other peer-to-peer protocols that it recognizes. gphoto2 and other ptp type things can deal with devices like that (mostly cameras / camcorders). Otherwise insert a microSD card into it's port and use the phone OS to move your data to the card. Which is OS agnostic. Not that any of that helps if the device is bricked.

Note that some devices behave differently if turned on while plugged into usb. For video type devices this gives you an option to operate as a webcam, as a network storage device, or other ptp server/client device. Not that any of that is applicable, but one of many things to try when you get a new device so you know what should work versus figuring out what is now broken and might have worked after issues.
 
1 members found this post helpful.
Old 04-01-2017, 09:47 PM   #14
Barkester
Member
 
Registered: Jan 2017
Location: SE Asia
Distribution: Arch
Posts: 67

Rep: Reputation: Disabled
Just a suggestion. I'd reinstall Android and choose the "USB tethering" setting. than plug in. Plugging the phone into the USB slot will display the Android version you need to download if you haven't already.

All data on the main drive (phone) will be lost.

Hope it helps.
 
1 members found this post helpful.
Old 04-01-2017, 09:58 PM   #15
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,386
Blog Entries: 27

Rep: Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405
Quote:
unfortunately, android & hardware manufacturers have done their worst to prevent a simple USB connection.
This is quite correct.

I use Airdroid. It works very nicely for transferring files between the phone and the computer and it's free in the Play Store.

It will occasionally nag you to sign up for their "cloud" service, but you don't have to. Just be sure to turn it off when you are done or it will hit every open wireless network you pass by.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] problem mounting Android phone as filesystem on Debian laptop via USB TomRoche Linux - General 1 04-05-2015 08:54 PM
usb mounting phone NOKIA RM-604 model 7230 patrick295767 Linux - General 2 11-29-2013 01:55 PM
Smart Phone First FredGSanford Linux - Mobile 2 12-03-2011 08:52 AM
Linux on a smart phone? Cassanova Linux - General 1 03-08-2009 09:54 PM
verizon smart phone herbert6 Linux - Newbie 1 11-10-2007 11:26 PM

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

All times are GMT -5. The time now is 07:42 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