Can not create '/usb-otg' error while rooting HTC Desire 826 - Desire Q&A, Help & Troubleshooting

Hello Friends,
I'm trying to root my HTC Desire 826.
1. I have Unlocked the bootloader.
2. Installed TWRP 2.8.5.0
3. Boot to recovery. Install -> SuperSU-v2.46
4. While installing SuperSU-v2.46.zip (from sdcard). I got the following error (I have not included the complete logs below as they are large in size. Please let me know if you require complete logs):
E:Can not create '/usb-otg' folder.
E:Error creating fstab
Updating partition details...
E:Unable to stat '/data/misc/adb'
E:Unable to stat '/data/misc/bluedroid'
.
.
.
E:error opening '/data/dalvik-cache'
E:error: Permission denied.
.
.
.
E:Unable to mount '/external_sd'
E:error opening '/data/security'
E:error: Permission denied
.
.
E:Error creating fstab
Please help!!!
Thanks

Related

[Q] nexus 7 4.4.2-4.4.3 wont update

I keep getting an error message every time I try to update my nexus 7
i have picture of error message but wont let me post
imgur com/a/43Iwv
You're going to have to do better...
here's the log
I:command is: 'install'
I:value is: '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Trying to find zip '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip' on '/data/media/0'...
I:Looking for zip at '/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
I:Looking for zip at '/data/media/0/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
Installing zip file '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
Installing '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
Verifying current system...
file "/system/framework/core.odex" doesn't have any of expected sha1 sums; checking cache
failed to stat "/cache/saved.file": No such file or directory
failed to load cache file
script aborted: "/system/framework/core.odex" has unexpected contents.
"/system/framework/core.odex" has unexpected contents.
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip'
E:Error installing zip file '/cache/df43279bcf6bb6a0ae403249c3e6f314d0a7eb77.signed-razor-KTU84L-from-KOT49H.df43279b.zip
Me Too
My Nexus 7 [2013] is not updating to KTU84L from KOT49H. The downloader complains that there is not enough space in /cache. The download is 77MB in size, my cache partition is 35M. I have over 10G of free space in /data and /sdcard. I think the download tool is broken.
damn i actually had the same problem i ended up just using the factory restore straight to the 4.4.4 image but hey the 5.0 image is out today ya can try to flash it to 5.0 the only problem i have is that i dont know how to set up the flash-all script for 5.0 ill post a link how to factory restore it to 4.4.4 if ya need it http://forum.xda-developers.com/showthread.php?t=2382051 just read through it the post have all the tools u need to dl for it

twep 2.8.1.0 E: Unable to stat '/data/

Hello
yesterday my phone run out of battery
when i charged my phone again then tried to boot i get boot loop then i booted to recovery (twrp 2.8.1.0) and wipe but here i get
E:Unable to stat '/data/data/com.cyanogenmod.trebuchet/files/stats.log'
E:Unable to stat '/data/radio/traces.txt'
E:Unable to stat '/data/dalvik-cache/[email protected]@[email protected]'
E:Unable to stat '/data/dalvik-cache/[email protected]@[email protected]'
E:Unable to stat '/data/dalvik-cache/[email protected]@[email protected]'
E:Unable to stat '/data/dalvik-cache/[email protected]@[email protected]'
E:Unable to stat '/data/dalvik-cache/[email protected]@[email protected]'
E:Unable to stat '/data/dalvik-cache/[email protected]@[email protected]'
E:Unable to stat '/data/dalvik-cache/[email protected]@[email protected]'
E:Unable to stat '/data/dalvik-cache/[email protected]@[email protected]'
E:Unable to stat '/data/resource-cache/dbox'
E:Unable to stat '/data/sensor/0'
E:Unable to stat '/data/gnss/gps6121'
E:Unable to stat '/data/gnss/connect.idebug'
E:Unable to stat '/data/gnss/connect.ftrace'
E:Unable to stat '/data/gnss/connect.iomesg'
E:Unable to stat '/data/gnss/agnss_connect'
E:Unable to stat '/data/user'
so i do some testes and i found thet the error show because data partition is read-only so what can i do to make it read write again

Problem when installing cyanogenmod using twrp recovery.

Hello to everyone
I have a problem when installing cm-13.0-20160305-NIGHTLY-nicki using twrp recovery. If I try to flash the zip it says:
"Installing zipfile ´/external_sd/Zips/cm-13.0-20160305-NIGHTLY-nicki.zip´
Checking for file MD5...
Skipping MD5 check: no MD5 file found
Tarjet: 1457165414
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/system, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at/system: Invalid argument
unmount of /system failed; no such volume
Patching system image unconditionally...
Verifying the updated sytem image...
system partition has unexpected contents after 0TA updated
Updater process ended with ERROR: 7
Error installing zip file ´/external_sd/Zips/cm-13.0-20160305-NIGHTLY-nicki.zip/´
Updating partition details...
Failed to mount ´/system´ (Invalid argument)
Failed to mount ´/cache´ (Invalid argument)
....done"
Does anyone know what is the problem and how to solve it?
LinuxHacker said:
Hello to everyone
I have a problem when installing cm-13.0-20160305-NIGHTLY-nicki using twrp recovery. If I try to flash the zip it says:
"Installing zipfile ´/external_sd/Zips/cm-13.0-20160305-NIGHTLY-nicki.zip´
Checking for file MD5...
Skipping MD5 check: no MD5 file found
Tarjet: 1457165414
could not detect filesystem for /dev/block/platform/msm_sdcc.1/by-name/system, assuming ext4
mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at/system: Invalid argument
unmount of /system failed; no such volume
Patching system image unconditionally...
Verifying the updated sytem image...
system partition has unexpected contents after 0TA updated
Updater process ended with ERROR: 7
Error installing zip file ´/external_sd/Zips/cm-13.0-20160305-NIGHTLY-nicki.zip/´
Updating partition details...
Failed to mount ´/system´ (Invalid argument)
Failed to mount ´/cache´ (Invalid argument)
....done"
Does anyone know what is the problem and how to solve it?
Click to expand...
Click to collapse
Download zip file again.
It was that I bricked the mobile.

Error while rooting HTC 826

Hello All,
I'm trying to root my HTC 826.
1. I have already Unlocked the bootloader.
2. Installed TWRP 2.8.5.0
3. Boot to recovery. Install -> SuperSU-v2.46
4. While installing SuperSU-v2.46.zip (from sdcard). I got the following error (I have not included the complete logs below as they are large in size. Please let me know if you require complete logs):
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP XianShiDeNiWo D826W TWRP 2.8.5.0 on Tue Jan 13 00:39:35 2015
(pid 262)
BOARD_HAS_NO_REAL_SDCARD := true
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/devices/platform/usb_mass_storage/lun0/file' does not exist, USB storage mode disabled
I:TW_BRIGHTNESS_PATH := /sys/class/leds/lcd-backlight/brightness
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
Starting the UI...Pixel format: 1080x1920 @ 32bpp
Pixel format: RGBA_8888
.
.
.
Irocessing '/usb-otg'
E:Can not create '/usb-otg' folder.
I:Can not open /etc/fstab.
E:Error creating fstab
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/CC53ZYG09490'
I:Settings storage is '/data/media/0'
Updating partition details...
E:Unable to stat '/data/misc/adb'
E:Unable to stat '/data/misc/bluedroid'
E:Unable to stat '/data/misc/bluetooth'
E:Unable to stat '/data/misc/keystore'
.
.
.
E:Unable to stat '/data/property/persist.logd.size'
E:error opening '/data/dalvik-cache'
E:error: Permission denied
E:Unable to stat '/data/resource-cache'
E:Unable to stat '/data/drm'
E:Unable to stat '/data/mediadrm'
E:error opening '/data/security'
E:error: Permission denied
E:Unable to stat '/data/nfc'
E:Unable to stat '/data/connectivity'
.
.
.
Iata backup size is 238MB, free: 7637MB.
E:Unable to mount '/external_sd'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Can not open /etc/fstab.
E:Error creating fstab
I:Unmounting main partitions...
.
.
.
Installing '/sdcard/UPDATE-SuperSU-v2.46.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
E:Legacy property environment did not initialize successfully. Properties may not be detected.
*****************
SuperSU installer
*****************
- Mounting /system, /data and rootfs
mount: can't read '/etc/fstab': No such file or directory
mount: can't read '/etc/fstab': No such file or directory
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
mount: can't find /system in /proc/mounts
mount: mounting /system on /system failed: Invalid argument
/tmp/updater: line 152: can't create /system/toolbox: Permission denied
chmod: /system/toolbox: No such file or directory
.
.
.
I:Checking resolution...
I:Loading resources...
open_png /twres/images/twrplogo.png
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
open_png /twres/images/menu-button.png
open_png /twres/images/file.png
open_png /twres/images/folder.png
.
.
.
I would really appreciate your help on this. Please let me know
if you require any additional help.
Thanks.
Follow up
kdgup said:
Hello All,
I'm trying to root my HTC 826.
1. I have already Unlocked the bootloader.
2. Installed TWRP 2.8.5.0
3. Boot to recovery. Install -> SuperSU-v2.46
4. While installing SuperSU-v2.46.zip (from sdcard). I got the following error (I have not included the complete logs below as they are large in size. Please let me know if you require complete logs):
__bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
__bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
__bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
Starting TWRP XianShiDeNiWo D826W TWRP 2.8.5.0 on Tue Jan 13 00:39:35 2015
(pid 262)
BOARD_HAS_NO_REAL_SDCARD := true
RECOVERY_SDCARD_ON_DATA := true
I:Lun file '/sys/devices/platform/usb_mass_storage/lun0/file' does not exist, USB storage mode disabled
I:TW_BRIGHTNESS_PATH := /sys/class/leds/lcd-backlight/brightness
I:Found brightness file at '/sys/class/leds/lcd-backlight/brightness'
I:TWFunc::Set_Brightness: Setting brightness control to 255
Starting the UI...Pixel format: 1080x1920 @ 32bpp
Pixel format: RGBA_8888
.
.
.
Irocessing '/usb-otg'
E:Can not create '/usb-otg' folder.
I:Can not open /etc/fstab.
E:Error creating fstab
I:Backup folder set to '/data/media/0/TWRP/BACKUPS/CC53ZYG09490'
I:Settings storage is '/data/media/0'
Updating partition details...
E:Unable to stat '/data/misc/adb'
E:Unable to stat '/data/misc/bluedroid'
E:Unable to stat '/data/misc/bluetooth'
E:Unable to stat '/data/misc/keystore'
.
.
.
E:Unable to stat '/data/property/persist.logd.size'
E:error opening '/data/dalvik-cache'
E:error: Permission denied
E:Unable to stat '/data/resource-cache'
E:Unable to stat '/data/drm'
E:Unable to stat '/data/mediadrm'
E:error opening '/data/security'
E:error: Permission denied
E:Unable to stat '/data/nfc'
E:Unable to stat '/data/connectivity'
.
.
.
Iata backup size is 238MB, free: 7637MB.
E:Unable to mount '/external_sd'
I:Actual block device: '', current file system: 'vfat'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Can not open /etc/fstab.
E:Error creating fstab
I:Unmounting main partitions...
.
.
.
Installing '/sdcard/UPDATE-SuperSU-v2.46.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
E:Legacy property environment did not initialize successfully. Properties may not be detected.
*****************
SuperSU installer
*****************
- Mounting /system, /data and rootfs
mount: can't read '/etc/fstab': No such file or directory
mount: can't read '/etc/fstab': No such file or directory
I:Cannot find file /sys/class/thermal/thermal_zone0/temp
mount: can't find /system in /proc/mounts
mount: mounting /system on /system failed: Invalid argument
/tmp/updater: line 152: can't create /system/toolbox: Permission denied
chmod: /system/toolbox: No such file or directory
.
.
.
I:Checking resolution...
I:Loading resources...
open_png /twres/images/twrplogo.png
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
open_png /twres/images/menu-button.png
open_png /twres/images/file.png
open_png /twres/images/folder.png
.
.
.
I would really appreciate your help on this. Please let me know
if you require any additional help.
Thanks.
Click to expand...
Click to collapse
Did you manage to fix it?
Hi
Backup the partation mmcblk0.img and upload it and put the link here I will see if you don't know how to backup I will show you

E: Can't mount /system after JB flash

Hi,
after i flashed I8160XXNB1_I8160OXXNB4_HOME.tar.md5 with Odin v3.07 I'm landing in "Android system recovery <3e>" with the error msg:
E:failed to mount /system (Invalid argument)
can't mount '/system' (Invalid argument)
E:failed to mount /system (Invalid argument)
# MANUAL MODE #
-- Appling Multi-CSC...
E:failed to mount /system (Invalid argument)
can't mount '/system' (Invalid argument)
E:failed to mount /system (Invalid argument)
Click to expand...
Click to collapse
I can start Temp_CWM_6.0.2.8.zip provided by ace2nutzer (a2n) but there I can't install a new ROM (for example cm-11-20170618-UNOFFICIAL-FULL-codina.zip) i get the error:
This package is for "codina.i8160.GT-i8160[..]" devices; this is a "" (Status 7)
Click to expand...
Click to collapse
And from there I'dont know what else I could do. Any suggestions?
EDIT: What I forgot to tell you, I applied cwm_cm11_partition_layout_sdcard_only.zip before that so maybe the Partitions are not correct now
I fix it by editing the updater-script in cm-11-20170618-UNOFFICIAL-FULL-codina.zip to
assert(getprop("ro.product.device") == "")
Click to expand...
Click to collapse
and that allowed me to successfully install the ROM!
cturnercomplex said:
I fix it by editing the updater-script in cm-11-20170618-UNOFFICIAL-FULL-codina.zip to
and that allowed me to successfully install the ROM!
Click to expand...
Click to collapse
Good work! But next time asking you need to go to Q&A section, not General.
I solved flashing the stock ROM and the PIT file with odin.
I had to do that because, with your same ROM, I destroyed all of the partitions. Now the PIT file has recreated them.

Categories

Resources