How to mount usb storage to recover because of MTP fault?


q139

Members
Jan 31, 2013
56
3
18
#1
Yesterday i tryed to copy 1 file trough MTP and windows explorer crashed , later found out mi2 virtual sdcard had become empty after using MTP but all other partitions data like apps setting remain.
I belive it could be allocation table failure?
Today tryed many tools for 3-4 hours and found no way to use usb mass storage with latest rom.

If i flash older rom that suported mass storage what version i need?
Or can i use mass storage with android OS off and usb connected, as i remember it was possible?

I need it to recover trough pc as i dont want to lose data by overwriting and diskdigger for android only seeks photo/video.

How to mount usb storage to recover or is there other way to restore file allocation table like on pc using commander?

MTP seems very unreliable overall , even with mp3 players both on win 7 and 8, specialy when folders contain many files.
 
Last edited:

q139

Members
Jan 31, 2013
56
3
18
#3
backup seems to be possible even over wifi...

commands are bit different from samsung.
mmcblk0p27 is sdcard on 32gb xiaomi

adb forward tcp:5555 tcp:5555
adb shell
su
/system/xbin/busybox nc -l -p 5555 -e /system/xbin/busybox dd if=/dev/block/mmcblk0p27
-----------------------------------------------new terminal
adb forward tcp:5555 tcp:5555
cd /nexus
nc 127.0.0.1 5555 | pv -i 0.5 > mmcblk0p27.raw