Saturday, June 4, 2016

Can't write through adb

I wonder is there anything I can do to save this phone? At the moment it doesn't haven any ROM in it and only has a third party recovery. I don't know how can I identify which recovery this is but it's in Chinese. I'm able to enter recovery mode. And "adb devices" on PC can recognise the phone.

I have a zip file of a ROM, and I tried "adb sideload ROM.zip". It says:
Quote:

loading: 'ROM.zip'
error: closed
I tried again, and it says:
Quote:

loading:'ROM.zip'
* failed to write data 'protocol fault (couldn't read status): Invalid argument' *
I tried "adb push ROM.zip /sdcard/ROM.zip" trying to copy the ROM file into the phone, it waited for a while and then it says:
Quote:

failed to copy 'ROM.zip' to '/sdcard/ROM.zip': No such file or directory
So I thought maybe this phone doesn't have a "sdcard" folder. I tried "adb shell" and then "ls", and found there is a "sdcard" folder there. But if I type "cd sdcard", it says:
Quote:

/sbin/sh: cd: can't cd to sdcard/
I don't really know what's going on here, but I tried "cd /sdcard/", and it looks like this:
Quote:

~ # cd /sdcard/
/data/media #
I don't know why it is not sdcard on the left. I tried "ls" to see what's in there, and there are four things (I assume they're all folders?): 0; clockworkmod; legacy; obb. Now I don't even know whether they're actually files in the sdcard folder or was I led to a completely different directory.

I was thinking maybe it is a problem with this particular recovery. So I was trying to find a way to install a new recovery into it. What I've found by google was that I should be able to do that in boot loader. However I also had difficulty trying to get into boot loader.

As far as I know, the phone itself (Smartisan T1) doesn't have a button combination to enter boot loader (I tried many combinations on another T1 which is still good to use). And I don't know how to check whether the boot loader on this phone is unlocked. The recovery has an option of "enter bootloader" so I tried that, it asked me if I want to root this device, if I choose "yes" it only gets stuck when showing the logo. I also tried "adb reboot bootloader" and it also stucks at the logo. (I tried the same command on another phone and it gets me into fastboot mode)

I think I've tried everything I could think of but the problem is still unsolved. Does anyone have any idea what else might fix this issue? Thank you so much for your help!


via xda-developers http://ift.tt/25Ew1i7

IFTTT

Put the internet to work for you.

Turn off or edit this Recipe

No comments:

Post a Comment