Please help! My device wont connect to USB - HTC One S

Hey guys TCB here, I need help!
I rooted my phone and unlocked it used the all in one tool kit.There is no OS installed on the mobile, I installed a rom in twrp than after it as done, it boot looped than locked up and I accidentally deleted the OS
my phone is htc one s (s4)
I can get into bootloader / fastboot menu I can get into twrp, when I connect usb it says "fastboot usb in red" in the fastboot boot loader menu so that should be connected but its not. Only time it connects is in twrp, my computer will detect "htc mtp device" it shows up fine in device manager, but after about 10 secs the device is no longer be detected and yellow ! will show over "htc mtp device" in device manager. What is weird even more is I can run certain command with adb " adb devices" tells me its connected but it wont sideload or fastboot , it just says "waiting for device". I can restart the usb by "adb usb", it will temporary install and run but 10sec or so later is disconnects and yellow! will show over "htc mtp device" in the device manager. Does anyone have an idea how to fix this? Is my phone a hard brick now?
Please help me.
Thank you very much.

TCBCSM said:
Hey guys TCB here, I need help!
I rooted my phone and unlocked it used the all in one tool kit.There is no OS installed on the mobile, I installed a rom in twrp than after it as done, it boot looped than locked up and I accidentally deleted the OS
my phone is htc one s (s4)
I can get into bootloader / fastboot menu I can get into twrp, when I connect usb it says "fastboot usb in red" in the fastboot boot loader menu so that should be connected but its not. Only time it connects is in twrp, my computer will detect "htc mtp device" it shows up fine in device manager, but after about 10 secs the device is no longer be detected and yellow ! will show over "htc mtp device" in device manager. What is weird even more is I can run certain command with adb " adb devices" tells me its connected but it wont sideload or fastboot , it just says "waiting for device". I can restart the usb by "adb usb", it will temporary install and run but 10sec or so later is disconnects and yellow! will show over "htc mtp device" in the device manager. Does anyone have an idea how to fix this? Is my phone a hard brick now?
Please help me.
Thank you very much.
Click to expand...
Click to collapse
Installing '/sdcard/Liquid-Kitkat-v3.0-NIGHTLY-d2att.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
Warning: No file_contexts
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
\ ) ( )\ ) )\ )
(()/ ( ( )\ ( (()/((()/(
(_)) ((_) (_)_) /((_)(_)) (_))
| | (_) / _ \ (_))( |_ _| | \
| |__ | || (_) || || | | | | |) |
|____||_| \__\_\ \_,_||___| |___/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
<%%% Liquid-Kitkat %%%>
<%%% By LiquidSmooth %%%>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Erasing System...
error: make_ext4fs: open: No such file or directory
longjmp botch.
E:Error in /sdcard/Liquid-Kitkat-v3.0-NIGHTLY-d2att.zip
(Status 0)
Error flashing zip '/sdcard/Liquid-Kitkat-v3.0-NIGHTLY-d2att.zip'
Updating partition details...
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'flash_done'
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'wipe'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Formatting Cache using mke2fs...
I:mke2fs command: mke2fs -t ext4 -m 0 /dev/block/mmcblk0p34
mke2fs 1.41.12 (17-May-2010)
Done.
I:Recreating /cache/recovery folder.
I:Version number saved to '/cache/recovery/.version'
Updating partition details...
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'action_complete'
I:Set page: 'clear_vars'
I:Set page: 'wipe'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
Wiping Dalvik Cache Directories...
Cleaned: /data/dalvik-cache...
-- Dalvik Cache Directories Wipe Complete!
Updating partition details...
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:Set page: 'action_complete'
I:Set page: 'clear_vars'
I:Set page: 'wipe'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /sdcard/recovery.log
Copied recovery log to /sdcard.
I:Set page: 'action_complete'
I:Set page: 'clear_vars'
I:Set page: 'advanced'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'clear_vars'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:fix permissions started!
I:Mount: Unable to find partition for path '/sd-ext'
Can't check permissions
after Factory Reset.
Please boot rom and try
again after you reboot into
recovery.
I:Unmounting main partitions...
Done.
I:Set page: 'action_complete'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /sdcard/recovery.log

http://forum.xda-developers.com/showthread.php?t=1667929
I think you can adb push the rom zip to your phone and reflash the rom after a full wipe.
Also flash boot image if you are s-on.

Related

Jaggydezire 2

Hey guys I want to install this Rom but it always gets stuck at HTC beats audio animation screen.
All steps were followed strictly and cwm and twrp 2.2 2.3 and 2.4 have been used
Sent from my HTC Explorer A310e using xda premium
Did you try it with every partition as well? i.e. Ext 2/3/4?
Well flash the twrp recovery 2.4.x and make an ext 3 partition 1 gb min(don't forget to make a backup of ur sd card before that). Do all the wipes except external storages and flash the Rom. Give it half an hour to boot properly.
Well i too was frustrated when i flashed it first.....
I flashed it,rebooted the phone,left it to boot................came back after 1 hrs and it was fine...
So i think the first boot takes a very long time....
i recommend flash superwipe.then flash the rom
.reboot.
install finalizer....
Can anybody provide superwipe
Sent from my HTC Explorer A310e using xda premium
subh98 said:
Can anybody provide superwipe
Sent from my HTC Explorer A310e using xda premium
Click to expand...
Click to collapse
Link in my signature /wait somebody to post it.
『Moved by touch™』 ?
LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E
Guys used superwipe but still not booting waited for half an hour and more
Sent from my HTC Explorer using xda premium
Superwipe:
http://www.mediafire.com/?ahcw5dxrb2vtakp
---------- Post added at 09:39 PM ---------- Previous post was at 09:34 PM ----------
i can't erase my userdata
i got error like:
This is my logcat:
/sdcard # erase_image userdata
I:Actual command is: 'cd "/sdcard" && erase_image userdata 2>&1'
mtd: not erasing bad block at 0x07f00000
mtd: not erasing bad block at 0x085e0000
I:Set page: 'terminalfolder'
I:Set page: 'advanced'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /sdcard/recovery.log
dinesam said:
Superwipe:
http://www.mediafire.com/?ahcw5dxrb2vtakp
---------- Post added at 09:39 PM ---------- Previous post was at 09:34 PM ----------
i can't erase my userdata
i got error like:
This is my logcat:
/sdcard # erase_image userdata
I:Actual command is: 'cd "/sdcard" && erase_image userdata 2>&1'
mtd: not erasing bad block at 0x07f00000
mtd: not erasing bad block at 0x085e0000
I:Set page: 'terminalfolder'
I:Set page: 'advanced'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:Copying file /tmp/recovery.log to /sdcard/recovery.log
Click to expand...
Click to collapse
Use cute prince recovery procedure
『Moved by touch™』 ?
LâTêS†↭ⓛⓘⓝⓚⓢ™CM10 HTC A310E

Error message when installing the latest Exodus Rom nightly for bacon

Hello all,
Below is the error log I get while installing the latest nightly.
I:Copying file /tmp/recovery.log to /data/media/0/TWRP/BACKUPS/e25d4fe5/2015-10-23_ExodusOS/recovery.log
I:Set page: 'action_complete'
Iperation_end - status=0
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
script aborted: assert failed: oppo.verify_trustzone("TZ.BF.2.0-2.0.0123") == "1"
Comparing TZ version TZ.BF.2.0-2.0.0123 to TZ.BF.2.0-2.0.0109
assert failed: oppo.verify_trustzone("TZ.BF.2.0-2.0.0123") == "1"
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'
Error flashing zip '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'
Injecting boot.img with MultiROM...
I:Running cmd ""/data/media/0/multirom/trampoline" --inject="/dev/block/mmcblk0p7" --mrom_dir="/data/media/0/multirom" "
Updating partition details...
Iata backup size is 5763MB, free: 12453MB.
Can you please help with this error message and let me know how to fix this issue.
telsabram said:
Hello all,
Below is the error log I get while installing the latest nightly.
I:Copying file /tmp/recovery.log to /data/media/0/TWRP/BACKUPS/e25d4fe5/2015-10-23_ExodusOS/recovery.log
I:Set page: 'action_complete'
Iperation_end - status=0
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'...
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
script aborted: assert failed: oppo.verify_trustzone("TZ.BF.2.0-2.0.0123") == "1"
Comparing TZ version TZ.BF.2.0-2.0.0123 to TZ.BF.2.0-2.0.0109
assert failed: oppo.verify_trustzone("TZ.BF.2.0-2.0.0123") == "1"
I:Legacy property environment disabled.
E:Error executing updater binary in zip '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'
Error flashing zip '/sdcard/ROMs/exodus-5.1-20151023-NIGHTLY-bacon.zip'
Injecting boot.img with MultiROM...
I:Running cmd ""/data/media/0/multirom/trampoline" --inject="/dev/block/mmcblk0p7" --mrom_dir="/data/media/0/multirom" "
Updating partition details...
Iata backup size is 5763MB, free: 12453MB.
Click to expand...
Click to collapse
Your firmware is out of date. See section 9 of my guide:
http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471
Heisenberg said:
Your firmware is out of date. See section 9 of my guide:
http://forum.xda-developers.com/oneplus-one/general/guides-bacon-timmaaas-how-to-guides-t2839471
Click to expand...
Click to collapse
Thank you Heisenberg. It worked. :good:

Error 7 on Samsung Galaxy S4 Mini (Int)

Getting an Error 7 on TWRP when trying to flash cm-13.0-20160316-SNAPSHOT-ZNH0EAO1QN-serranoltexx.zip on my phone. Here's what the log says;
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'install'
I:Set overlay: 'select_storage'
I:Backup folder set to '/external_sd/TWRP/BACKUPS/2041db7d'
I:Set overlay: ''
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'flash_confirm'
I:Set page: 'flash_zip'
Iperation_start: 'Flashing'
Installing zip file '/external_sd/cm-13.0-20160316-SNAPSHOT-ZNH0EAO1QN-serranoltexx.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip contains SELinux file_contexts file in its root. Extracting to /file_contexts
I:Legacy property environment initialized.
script aborted: This package is for device: serranolte,serranoltebmc,serranoltektt,serranoltexx; this device is serrano3g.
This package is for device: serranolte,serranoltebmc,serranoltektt,serranoltexx; this device is serrano3g.
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
Error installing zip file '/external_sd/cm-13.0-20160316-SNAPSHOT-ZNH0EAO1QN-serranoltexx.zip'
Updating partition details...
Iata backup size is 0MB, free: 5377MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
Iperation_end
Click to expand...
Click to collapse
If anyone could help it'd be much appreciated
Thank you.

error 255 while restore

Hi, there was a problem when restoring the backup of the date section, while I used your recovery. However, this happened on the usual recovery. Error code: 255, can you help?
Code:
==> extracting: //data/data/com.android.chrome/cache/Cache/6ad8d258e3adf0a5_0 (file size 16975 bytes)
==> extracting: //data/data/com.android.chrome/cache/Cache/7d8e6fb25abdc336_0 (file size 5209 bytes)
I:Unable to extract tar archive '/external_sd/TWRP/BACKUPS/30abd4ad/2019-03-05--02-24-22_DriffeX/data.ext4.win000'
Error during restore process.
I:Error extracting '/external_sd/TWRP/BACKUPS/30abd4ad/2019-03-05--02-24-22_DriffeX/data.ext4.win000' in thread ID 0
I:Error extracting split archive.
Error during restore process.
extractTarFork() process ended with ERROR: 255
I:Set page: 'action_complete'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /external_sd/recovery.log

Unable to Install Magisk 22.0 in TWRP 3.5.0-0 By mahajant99

Dear XDA and POCO community!
Hope you are all doing good, please note that I just flash to a custom ROM (ARROW OS 11 Official GAPPS Surya) on my POCO X3 NFC using stock global and all the process went smoothly.
1) Unlocked the bootloader
2) Installed TWRP via adb powershell console correctly and booted in TWRP
3)wiped and format the data, cache, etc and I was able to move to Arrow OS
Now the problem is that when I enter TWRP and I tried to root the device this happened and extracted from the recovery log on TWRP
E:unable to open block device /dev/block/loop20: No such device or address
E:unable to open block device /dev/block/loop19: No such device or address
E:unable to open block device /dev/block/loop18: No such device or address
E:unable to open block device /dev/block/loop17: No such device or address
Error installing zip file '/external_sd/Magisk-22.0.zip'
Updating partition details...
I:checking for twrp app
Iata backup size is 4484MB, free: 100792MB.
...done
I:Set page: 'flash_done'
Iperation_end - status=1
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'advanced'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'copylog'
I:Cannot find file /sys/class/timed_output/vibrator/enable
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
Sometimes TWRP reboots back to the main screen of TWRP, sometimes it doesn't and I am unable to root the device, tried Fox recovery as well and having the same issues.
Do you have any workaround or solution to bypass those errors especially the error ''installing zip file magisk'' those blook loop 18,19 I have no idea what is about, I redownloaded Magisk zip like 10 times and is not corrupted.
What I am doing wrong? Ideas?
I appreciate any hand on this so I can happily root the Poco and be back on business since this is the reason I am moving into this new ROM.
Look forward to your ideas/feedback
well, you can always try newer version of TWRP, maybe that'll solve your problems with magisk...
@jeryll Thanks for the headsup, I am going to try it out and see what comes about it, in case it fails again I will provide the log and see if there is someone else facing the same issue or a solution to this.
Thanks!
Unfortunately I tried to root it again with the new TWRP 3.5.1 and tried the method add Magisk root and they all failed this is the recovery terminal logs
SELinux contexts loaded from /file_contexts
Full SELinux support is present.
tw_get_context got selinux context: ubject_r:media_rw_data_file:s0
I:Got default contexts and file mode for storage files.
I:No custom recovery folder found. Using TWRP as default.
I:Attempt to load settings from settings file...
I:InfoManager loading from '/data/media/0/TWRP/.twrps'.
I:No recovery folder found. Using default folder.
I:Backup folder set to '/external_sd/TWRP/BACKUPS/POCO_X3'
I:Mount: Unable to find partition for path '/etc'
I:Copied file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:TWFunc::Set_Brightness: Setting brightness control to 1200
I:Attempt to load settings from settings file...
I:InfoManager loading from '/data/media/0/TWRP/.twrps'.
I:No recovery folder found. Using default folder.
I:Backup folder set to '/external_sd/TWRP/BACKUPS/POCO_X3'
I:Mount: Unable to find partition for path '/etc'
I:Copied file /etc/recovery.fstab to /cache/recovery/recovery.fstab
I:Version number saved to '/cache/recovery/.version'
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
I:TWFunc::Set_Brightness: Setting brightness control to 1200
I:Copied file /cache/recovery/log.gz to /cache/recovery/last_log.gz
I:Starting Adb Backup FIFO
IageManager::LoadFileToBuffer loading filename: '/twres/languages/en.xml' directly
parsing languageFile
parsing languageFile done
I:Translating partition display names
I:No recovery folder found. Using default folder.
I:Backup folder set to '/external_sd/TWRP/BACKUPS/POCO_X3'
I:Switching packages (TWRP)
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I:Copied file /tmp/recovery.log to /external_sd/recovery.log
Copied recovery log to /external_sd/recovery.log.
I:Set page: 'action_complete'
Iperation_end - status=0
I:Set page: 'clear_vars'
I:Set page: 'advanced'
I:Set page: 'tools_confirm_action'
I:Set page: 'action_page'
I:Set page: 'tools_flash_zip'
Iperation_start: 'Flashing'
Installing zip file '/tools/addmag.zip'
Verifying zip signature...
I:5 key(s) loaded from /system/etc/security/otacerts.zip
I:Zip signature verification failed: 1
Zip signature verification failed!
Error installing zip file '/tools/addmag.zip'
Updating partition details...
Iata backup size is 4505MB, free: 100086MB.
I:Can't probe device /data/media/0
...done
I:Set page: 'tools_flash_done'
Iperation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'advanced'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'copylog'
I:Set page: 'action_page'
Iperation_start: 'Copy Log'
I remove the Verification zip and it's the same, I dunno what I am missing or could be the cause that I am unable to root my device...
Ok I managed to get it work, it seems that the version 22 is faulty on POCO X3 NFC global version, I installed 21.4 and now it installed successfully and it is rooted yay!!
I am going to see in the app of magisk to see If I can override and install the latest version #fingerscrossed.
I just did a direct recommended installation in Magisk app and it is installed flawlessly without problems. I am going to leave is a record if someone has the same issue and needs to install Magisk.
Do you guys recommend TWRP or FOX recovery to use in this device? What will be the differences?
Thank you! If needed I can create a new thread for this.
Thanks!
SebixWolf said:
Do you guys recommend TWRP or FOX recovery to use in this device? What will be the differences?
Click to expand...
Click to collapse
well, the differences between latest OFOX and latest TWRP are mostly with added extra functions (for example OFOX has advanced file management (batch operations and such), maybe better error management) and/or design, because the "engine" in both is the same (for example, you can restore backups created in OFOX in TWRP or vice versa)...
SebixWolf said:
Ok I managed to get it work, it seems that the version 22 is faulty on POCO X3 NFC global version, I installed 21.4 and now it installed successfully and it is rooted yay!!
I am going to see in the app of magisk to see If I can override and install the latest version #fingerscrossed.
Click to expand...
Click to collapse
unfortunately that is my experience as well, to a certain point in time, magisk v22 worked correctly on my Poco X3, then it suddenly started behaved very differently, and even if I did find the solution, which worked for me, the extra work with uninstalling magisk v 22 always before installing the new version of ROM was not worth it, I now too use v21.4
my suspicion is that part which magisk v22 always downloading from the internet changed and that is causing for some people the instabilities ...
Have either of you got any further with this.
Did you follow any of the install instructions for v22?
What 'recovery.img' is he referring to? The recovery image for the ROM (there isn't one as far as I know), OFOX recovery image, a different recovery image?
Then someone else in the comments of the magisk thread, said that people with POCOs can just do a normal flash the zip through the custom recovery.
I'm as confused as all get out, I've tried every way described and can't get that patched image to happen.
I can flash it, install the apk, and then I'll get notices saying that 'x wants root privileges' but there is no normal functioning within the actual magisk app.
Don't worry, changed roms, RR to Arrow, and it installs without any issue at all.

Categories

Resources