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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
03-31-2017, 04:43 AM
|
#1
|
Member
Registered: Mar 2017
Location: Victoria, Australia
Distribution: Debian Wheezy
Posts: 34
Rep:
|
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.
|
|
|
03-31-2017, 05:01 AM
|
#2
|
Senior Member
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
|
Quote:
Originally Posted by jamiebbbb
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
|
|
|
03-31-2017, 09:40 AM
|
#3
|
LQ Veteran
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,259
|
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
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
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
and a
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.
|
03-31-2017, 09:54 AM
|
#4
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
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.
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.
|
|
|
03-31-2017, 10:08 AM
|
#5
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
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
|
|
|
|
03-31-2017, 11:13 AM
|
#6
|
Senior Member
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
|
Quote:
Originally Posted by BW-userx
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.
|
|
|
03-31-2017, 11:43 AM
|
#7
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by jsbjsb001
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.)
|
|
|
03-31-2017, 07:49 PM
|
#8
|
Member
Registered: Mar 2017
Location: Victoria, Australia
Distribution: Debian Wheezy
Posts: 34
Original Poster
Rep:
|
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 devices
#??????? FASTBOOT
|
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 ?
|
|
|
04-01-2017, 01:50 AM
|
#9
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
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.
|
04-01-2017, 02:34 AM
|
#10
|
Member
Registered: Mar 2017
Location: Victoria, Australia
Distribution: Debian Wheezy
Posts: 34
Original Poster
Rep:
|
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.
|
|
|
04-01-2017, 11:03 AM
|
#11
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
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.
|
|
|
04-01-2017, 04:24 PM
|
#12
|
Member
Registered: Mar 2017
Location: Victoria, Australia
Distribution: Debian Wheezy
Posts: 34
Original Poster
Rep:
|
Tried that it just sits at the logo. I think its terminally bricked.
|
|
|
04-01-2017, 04:45 PM
|
#13
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
$ 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.
|
04-01-2017, 09:47 PM
|
#14
|
Member
Registered: Jan 2017
Location: SE Asia
Distribution: Arch
Posts: 67
Rep:
|
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.
|
04-01-2017, 09:58 PM
|
#15
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,580
|
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.
|
|
|
All times are GMT -5. The time now is 06:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|