I can not reinstall any os tried to install dotos and get adb: failed to read command: No error on pc on phone I get failed to bind mount
Related
Hello,
I wanted to root for my Huawei Ascend Y550-L01.
At the command:
Code:
adb push su /system/bin
An error has occurred:
Code:
failed to copy 'su' to '/system/bin/su' : Read-only file system
Then sought out the information that you need to perform the command to mount the system partition R / W. Unfortunately, no way the internet DOES NOT WORK ...
I note that during the root process I have included usb debugging, I have included anti-virus ...
Hello
I tried to download the android 5.1.1 on my Gear S but when i try to enter the commands in Adb shell
mount: mounting /dev/block/mmcblk0p24 on /data failed: Device or resource busy
Solved - I ended up buying a SanDisk 32 GB On-The-Go retractable flash drive (an OTG cable would work too, if you have the ROM saved on a flash drive that you can plug into it). I saved Revolution ROM to the OTG, and then installed it from TWRP, wiped Dalvik, and rebooted. That worked.
Original post:
Current situation: my M7 has no OS.
Initially intended: install Ubuntu Touch (incomplete OS).
Initial backup option: Cyanogenmod.
What I did: Save the 3 Ubuntu Touch .zip files and cm-****-ul.zip to /sdcard/Download.
Install TWRP and MultiRom to phone.
Boot from TWRP to attempt to install Ubuntu Touch, but when that didn't work, attempt to install Cyan instead.
My OS was wiped in the process of all this.
I saw online guides that said to wipe Dalvik after install, so I did that, but I suppose I wiped all data, because there are no more .zip ROMS stored in my phone's data, so I think my hopes rest on somehow flashing the stock ROM.
What I'm now attempting to do:
Either get the stock ROM back, or literally anything to get it working again.
Phone details:
Model: HTC One M7
S-On
OS version: 7.23.502.9
HBoot: 1.61.0000 (so I can't get S-Off without Sunshine)
Tools available to work with:
Ubuntu PC:
I have Android Studio installed.
Code:
fastboot devices
shows the device listed, when I've got fastboot up.
But when I use
Code:
fastboot flash recovery recovery.img
(having changed Terminal directory to /platform-tools, with recovery.img in this same folder, where fastboot is located), the Terminal just echoes back "waiting for device".
Code:
adb devices
does not show the device listed, when I bring up TWRP's ADB sideload feature
When I try to use
Code:
adb sideload rom.zip
, Terminal echoes back "error: device not found"
I've tried sideloading both a recovery.imp and RUU.zip (with RUU being the stock ROM for my device)
VirtualBox Windows 7:
I have Android Studio, Eclipse and Java installed.
I installed HTC Sync to get the HTC drivers (which doesn't actually recognize the device, probably because there's no OS), but online guides recommended uninstalling HTC Sync after getting the drivers, because it affects PATH, so I've uninstalled HTC Sync.
I've also downloaded the specific drivers for my HTC One M7 anyway, just to ensure it has the correct drivers installed.
Code:
fastboot devices
recognizes the device when fastboot is up.
Code:
adb devices
does not recognize the device when ADB sideload is up
Whether using the Ubuntu Terminal, or using Minimal ADB and Fastboot from CMD, both methods show the device from fastboot, and neither method shows ADB.
When trying to ADB Sideload, it just waits for a while and never accepts the file. It just says:
Updating partition details . . .
Error opening: '/data/ubuntu/dev/ram11' (Not a directory)
Error opening: '/data/ubuntu/dev/loop3' (Not a directory)
Error opening: '/data/ubuntu/dev/loop4' (Not a directory)
Error opening: '/data/ubuntu/dev/ram2' (Not a directory)
Error opening: '/data/ubuntu/dev/ram4' (Not a directory)
Error opening: '/data/ubuntu/dev/ram6' (Not a directory)
Error opening: '/data/ubuntu/dev/loop7' (Not a directory)
Error opening: '/data/ubuntu/dev/ram16' (Not a directory)
Error opening: '/data/ubuntu/dev/ram15' (Not a directory)
Error opening: '/data/ubuntu/dev/ram13' (Not a directory)
Error opening: '/data/ubuntu/dev/ram7' (Not a directory)
Error opening: '/data/ubuntu/dev/loop0' (Not a directory)
Error opening: '/data/ubuntu/dev/ram9' (Not a directory)
Error opening: '/data/ubuntu/dev/ram0' (Not a directory)
Error opening: '/data/ubuntu/dev/ram14' (Not a directory)
Error opening: '/data/ubuntu/dev/loop2' (Not a directory)
Error opening: '/data/ubuntu/dev/ram12' (Not a directory)
Error opening: '/data/ubuntu/dev/ram8' (Not a directory)
Error opening: '/data/ubuntu/dev/loop5' (Not a directory)
Error opening: '/data/ubuntu/dev/ram10' (Not a directory)
Error opening: '/data/ubuntu/dev/loop1' (Not a directory)
Error opening: '/data/ubuntu/dev/ram1' (Not a directory)
Error opening: '/data/ubuntu/dev/loop6' (Not a directory)
Error opening: '/data/ubuntu/dev/ram3' (Not a directory)
Error opening: '/data/ubuntu/dev/ram5' (Not a directory)
. . . done
Full SELinux support is present.
MTP Enabled
Starting ADB sideload feature . . .
Injecting boot.img with MultiROM . . .
ADB push:
If I bring up ADB Sideload and use Ubuntu Terminal to
Code:
./adb push '/home/user/Android/Sdk/platform-tools/ruu.zip' '/data/local/'
It returns: "adb: error: connect failed: no devices/emulators found"
If I use Terminal to:
Code:
adb push (the same)
(the difference there is without the "./")
It returns:
adb server is out of date. killing . . .
* daemon started successfully *
error: device not found
If I use Minimal ADB and Fastboot (Win 7) to try this, it returns a similar error:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
adb: error: connect failed: no devices/emulators found
I've downloaded and installed the Hasoon2000's HTC One All_in_One Kit on Win7, which does not seem to do anything at all. It just returns the same exact error messages, that I get each time I do it manually.
Mmm... any help here would be hot.
Edit 1:
In the IRC, I was asked to run "fastboot getvar all", which returned the error: "getvar:all FAILED <command write failed<No error>> finished. total time: 0.003s"
On that note, "fastboot reboot-bootloader" doesn't work, either, with the exact same error message.
I assume that the only way to fix this is to install the RUU, which I have already downloaded to my computer and have it ready, but I can't figure out how to "adb push ruu.zip" to my phone's /sdcard storage. Each time I try "adb devices", it comes up empty (whereas "fastboot devices" lists the phone). I enter Recovery -> ADB Sideload, and then type "adb devices" (from both the command prompt and terminal), but it always shows up empty. Until I can push the RUU to my phone's storage, I can't try installing the stock ROM from Recovery, because it's only on my computer's storage.
I've tried to format data, but this came out.
Then I tried to repair or change file system, it shows I successfully change /data to exFAT, but still unable to wipe.
Besides, while I'm trying adb sideload, it says like
Code:
adb: failed to read command: No error
, how can I deal with it?
Try changing it to ext4 and try again
Well, I screwed up.
Spoiler: Terminal
PS D:\platform-tools> adb sideload D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip
serving: 'D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip' (~18%)
PS D:\platform-tools> adb devices
List of devices attached
1C151FDF600205 sideload
PS D:\platform-tools> adb sideload D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found
PS D:\platform-tools> adb sideload D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip
adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found
PS D:\platform-tools> adb devices
List of devices attached
PS D:\platform-tools> adb sideload D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip
serving: 'D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip' (~0%)
PS D:\platform-tools> adb sideload D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip
adb: failed to read command: No error
PS D:\platform-tools> adb sideload D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip
adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found
PS D:\platform-tools> adb sideload D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip
serving: 'D:\platform-tools\oriole-ota-tp1a.220624.021-a13fd9d0.zip' (~0%)
Alright, I'll run it down. So after waiting a bit the first time around, I decided to go ahead and remove the USB cable, cause it wasn't doing anything. Big mistake. It printed "Failed to read 9067738 (or some variation of that) bytes data at offset 2080374784 (or some variation of that): Transport endpoint is not connected", then printed that many times over, then the Android Droid came over and under it said "Error". Now as i retry doing it after entering sideload again, it gets stuck. Am I ****ed or is there still a chance?
Never mind, I talked with some Google reps, and all I needed to do was reboot, I was hesitant to do so because of the red warning stating "WARNING: previous installation has failed. Your device may fail to boot if you reboot or power off.", but it turned out safe .
So did you ever get past the "Verifying Update Package"?
I've seen exactly what the OP attempted and his results and observations. adb always hangs at 'verifying update package'. I was able to reboot and did a factory image install of 13.0. The magisk_patched for its boot hangs at the 'google' logo. I have the update channel set to canary for the magisk app.
Also, flashing the factory image for the last 12.1 releases fails to downgrade.