Jump to content

Issues with USB connectivity etc. and root / A2SD


Guest PaulOBrien

Recommended Posts

Guest ZiCoN
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 ;)

Link to comment
Share on other sites

Guest potter97
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 ;)

Link to comment
Share on other sites

Guest ZiCoN

Tried it EXACTLY as you wrote it... :

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

Link to comment
Share on other sites

Guest jeckyllhavok
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

Link to comment
Share on other sites

Guest NisseGurra

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.

Link to comment
Share on other sites

Guest eViL D:

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

/ $

Link to comment
Share on other sites

Guest yabolek
/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

Link to comment
Share on other sites

Guest jeckyllhavok

/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
Link to comment
Share on other sites

Guest jeckyllhavok
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

Link to comment
Share on other sites

Guest jeckyllhavok
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

Link to comment
Share on other sites

Guest dimor
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...

Link to comment
Share on other sites

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.