Jump to content

Issues with USB connectivity etc. and root / A2SD


Recommended Posts

Guest ZiCoN
Posted
I have pursued this with Koush... he has sent me the link to the code for that part of recovery and i'm investigating.

P

Fingers crossed :) Thank you so much for the efford ;)

Guest potter97
Posted
Several of us actually believe it could have been caused by us turning on the mass storage in the amon ra recovery... As far as I know, all of us with this issue have at one point or another turned it on.

My thought is though... If this could switch something off in the SPL, would it be possible to look at the coding for that part of the recovery.. and that way find out what happend?

Ah ok i can see how now :D

Yea i did not mess about with that option, Phew.

Well hopefully Paul will get you guys back on track :) I belive in him totally, hes a very smart guy, wish i had a tenth of his skills ;)

Guest jeckyllhavok
Posted

give me a minute and i'll try, just need to install connect bot

Guest jeckyllhavok
Posted

Ok, i'll tried with the testimage, but in /platform there is no usb_mass_storage

Guest ZiCoN
Posted

Tried it EXACTLY as you wrote it... :

cannot create /sys/devices/platform/usb_mass_storage/lun0/file: directory nonexistant

Guest jeckyllhavok
Posted
Tried it EXACTLY as you wrote it... :

cannot create /sys/devices/platform/usb_mass_storage/lun0/file: directory nonexistant

Same as for me, all folders are there but in platforms no usb_mass_storage

Posted (edited)

by the time i wrote u got ahead so nevermind

Edited by r&a
Guest NisseGurra
Posted

I been using loads of rom's and recovery usb mounts without a hickup. I been re-flashing my Desire at least 30 times now so.

I used a goldcard for a2sd and root tho. No errors so far.

Guest jeckyllhavok
Posted

Could amyone with a working phone look if it's there

Guest geek78
Posted

/sys/devices/platform is populated during the boot, no ?

Guest eViL D:
Posted

Current mounts

/ $ cat /proc/mounts

rootfs / rootfs ro 0 0

tmpfs /dev tmpfs rw,mode=755 0 0

devpts /dev/pts devpts rw,mode=600 0 0

proc /proc proc rw 0 0

sysfs /sys sysfs rw 0 0

tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0

none /dev/cpuctl cgroup rw,cpu 0 0

/dev/block/mtdblock3 /system yaffs2 ro 0 0

/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev 0 0

/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev 0 0

tmpfs /app-cache tmpfs rw,size=8192k 0 0

/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_uti

e=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

/ $

Guest yabolek
Posted
/sys/devices/platform is populated during the boot, no ?

On a working desire:

# ls /sys/devices/platform/usb_mass_storage/

ls /sys/devices/platform/usb_mass_storage/

uevent

modalias

subsystem

power

driver

mass_storage_enable

lun0

# ls /sys/devices/platform/usb_mass_storage/lun0

ls /sys/devices/platform/usb_mass_storage/lun0

uevent

power

file

Guest jeckyllhavok
Posted (edited)

/dev/block//vold/179:1 /sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_uti

e=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

This one is missing at me

****edit, forgot that i removed my sd card, now its all same

Edited by jeckyllhavok
Guest ZiCoN
Posted

Hmm.... there is a directory that might be of interest:

/sys/devices/platform/usbserial/

Guest jeckyllhavok
Posted
Hmm.... there is a directory that might be of interest:

/sys/devices/platform/usbserial/

On the HTC Kaiser when we tried to port android, we could see the whole commandline a booting, there was mtty always turned of, maybe usbserial means that we start with mtty turned on and not in pure usb mode

Guest yabolek
Posted

What does cat /sys/devices/platform/usbserial/serial_enable say on a bricked Desire?

On a working one, it says "0"

Guest ZiCoN
Posted
What does cat /sys/devices/platform/usbserial/serial_enable say on a bricked Desire?

On a working one, it says "0"

same

Guest jeckyllhavok
Posted
What does cat /sys/devices/platform/usbserial/serial_enable say on a bricked Desire?

On a working one, it says "0"

Says 0 for me, too on a bricked one

Guest jeckyllhavok
Posted

What should logcat say if you plug in an usb cable

Guest dimor
Posted
And here it is - http://github.com/koush/android_bootable_r...commands.c#L367.

I would be interested to see what happened if someone with a broken phone installed ConnectBot or a similar terminal application and input 'echo /dev/block/mmcblk0 > /sys/devices/platform/usb_mass_storage/lun0/file'.

P

cannot create /sys/devices/platform/usb_mass_storage/lun0/file: directory nonexistant

for me too...

Guest Biliskner
Posted

bah. no write access to the /sys right? so we cannot create that missing path... :)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.