Linux - NewbieThis 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.
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.
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
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
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
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.
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?
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.
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
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
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.
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.)
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 ?
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.