Good day. I am using viper one ROM and today I mistakenly wiped everything on my phone using TWRP recovery. So I can not boot my phone but I am able to enter TWRP. I tried to push ROM zip to phone using adb to data/media/0 but I cannot find the zip file anywhere, this is strange since the storage size on my phone showed in TWRP changes meaning the file is succesfully copied. My only choice now is use RUU which I never did before. I am coming from Samsung so HTC is new to me. I cannot run ADB sideload, it is stuck on starting when I do this.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
My main version number is: 2.24.707.1 CID is 0_44. I have read that RUU's for this is not available?
Use vomers Guide
and also Mike`1986's guide
http://forum.xda-developers.com/showthread.php?t=2365506&page=4
http://forum.xda-developers.com/showthread.php?t=2265618
KristianKenneth said:
Good day. I am using viper one ROM and today I mistakenly wiped everything on my phone using TWRP recovery. So I can not boot my phone but I am able to enter TWRP. I tried to push ROM zip to phone using adb to data/media/0 but I cannot find the zip file anywhere, this is strange since the storage size on my phone showed in TWRP changes meaning the file is succesfully copied. My only choice now is use RUU which I never did before. I am coming from Samsung so HTC is new to me. I cannot run ADB sideload, it is stuck on starting when I do this.
My main version number is: 2.24.707.1 CID is 0_44. I have read that RUU's for this is not available?
Click to expand...
Click to collapse
I honestly never tried TWRP (though will do so in a minute or two, just out of curiosity), but did you try pushing the rom to /sdcard/ or /data/media/ (no 0)?
I'm downloading TWRP now, just out of curiosity :cyclops:
EDIT: ok, tried TWRP and it seems it does go to /data/media/0 as default, though it seems some files were hidden or I just overlooked them.
Anyway, try pushing to /data/media/ and then in TWRP use the "up one level" or whatever they called it, and you should see your zip there.
you can adb sideload in TWRP http://forum.xda-developers.com/showthread.php?t=2317986
I always just do adb push rom.zip /sdcard/Roms/rom.zip and it shows up fine.
Related
Hi so i flashed the google edition rom and it kept bootlooping, so i went to recovery and wiped everything but it wiped also the ROM file from the sd card now im left with nothing to flash and only recovery i think i have to transfert the file trough ADB if so can anyone give me a tutorial ? i tried adb but there is no devices listed :'( i think its debug mode it wasnt enabled.
JadeAmineHa said:
Hi so i flashed the google edition rom and it kept bootlooping, so i went to recovery and wiped everything but it wiped also the ROM file from the sd card now im left with nothing to flash and only recovery i think i have to transfert the file trough ADB if so can anyone give me a tutorial ? i tried adb but there is no devices listed :'( i think its debug mode it wasnt enabled.
Click to expand...
Click to collapse
USB debugging doesnt matter in custom recovery.
adb push <name of ROM>.zip /data/media/0/
or
adb sideload <name of ROM>.zip
you can always try googling, and come up with a few tutorials:
http://forum.xda-developers.com/showthread.php?t=2317986
http://android-revolution-hd.blogspot.com/2013/12/ow-to-use-adb-sideload.html
http://android-revolution-hd.blogspot.com/2013/12/how-to-copy-rom-zip.html
etc.
This shows device not found when i use adb devices there is nothing
JadeAmineHa said:
This shows device not found when i use adb devices there is nothing
Click to expand...
Click to collapse
Open Device Manager do you see something like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
if yes, please go to my guide and check FAQ #2.
nkk71 said:
Open Device Manager do you see something like:
if yes, please go to my guide and check FAQ #2.
Click to expand...
Click to collapse
This is what i see sync manager is installed i tried the fastboot command to get token for boatload unlock and it works but adb is not working, Plase help me i'm stuck :crying: and just to mention that im in bootloader in fastboot usb mode ??
JadeAmineHa said:
This is what i see sync manager is installed i tried the fastboot command to get token for boatload unlock and it works but adb is not working, Plase help me i'm stuck :crying:
Click to expand...
Click to collapse
like i said, just go to my guide and check FAQ #2 (in post #1), http://forum.xda-developers.com/showthread.php?t=2541082
has all the instructions, pictures, etc.
I got a used phone i537UCUCOC7 android 5.0.1. What do i do to downgrade and can i when security patch?
cell2011 said:
I got a used phone i537UCUCOC7 android 5.0.1. What do i do to downgrade and can i when security patch?
Click to expand...
Click to collapse
To downgrade to KitKat, download the following file to your PC and extract with 7zip or WinRar: https://www.androidfilehost.com/?fid=23991606952608110
Boot your phone into download mode. This is done by powering the phone off, then holding down vol- and power at the same time. Connect the phone to PC with USB. You have to flash all four files with Odin as shown in the following image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please be aware that this process will erase any settings, data, and media saved to your phone's internal storage and restore it to its original factory condition, now on KitKat. This process also takes a long time (at least 5 or 10 minutes) and will cause your phone to reboot on its own, and to boot into stock recovery at least once. It is important you leave your phone alone while it is doing so, and definitely do not disconnect it until it boots into the KitKat setup wizard screen.
To apply the security patch, you will now have to flash two files in stock recovery (vol+ and power). First download and extract this file: https://www.androidfilehost.com/?fid=96042739161891196 it should be named 2400258.cfg. You need to rename it update.zip (yes, this involves changing the file type) and save update.zip to your external SD card (it will not work if it's on internal storage).
Finally, you need to download this file to your external storage and flash in stock recovery: https://www.androidfilehost.com/user/?w=settings-dev-files&flid=37222 Please note this file has already been renamed update.zip. They must both be named update.zip for them to work; since this can be potentially confusing I'd advise you to either save them to different folders, or delete the first one after you're done with it.
Follow these steps and you'll be back on KitKat, with that all important security patch. Good luck :good:
I have nothing but bootloader. No system. No recovery. I've attached a screenshot. Do I have any hope?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You should be fine, because your device is unlocked. The only way you likely would have screwed yourself is if the OEM Unlocking toggle in Developer Options within Android was turned off.
EDIT: Using Fastboot you should be able to flash TWRP, which will give you your recovery. From there, flash a ROM and you should be good.
spastico said:
I have nothing but bootloader. No system. No recovery. I've attached a screenshot. Do I have any hope?
Click to expand...
Click to collapse
Go here DL the latest shamu factory image and follow the instructions. It will delete everything though.
Thanks guys. I'll let you know how it goes.
I'll be using a Mac.
Still struggling, but made a little progress.
I'm using a mac with terminal.
I don't know the terminal commands, but searching around the forums By doing this: ./fastboot boot twrp.img I now have twrp recovery working. But I still can't figure out how to flash.
Browsing around my nexus using twrp, it looks like I have no system partition.
Any more advice?
Woohoo!
Reading these forums, I figured out how to sideload the rom using ./adp with twrp sideload adb.
Back up and running.
All of this started while I was trying to switch from SuperSU to Magisk.
I still want to move to Magisk, but I obviously need to do some more reading.
For some reason I couldn't get the factory images to sideload. It kept saying invalid zip. So I sideloaded PureNexus.
All is good, but I just don't have a radio.
Off to do more reading.
Got a radio and posting from my Nexus.
Thanks again guys.
./fastboot flash radio radio.img
Great read, seeing the progress reported on like that. Thanks for updating.
If you ever want to move to the stock factory image, you don't sideload it. You'll need to run the flash-all.bat file (edit it and remove the -w flag to keep your data) or unpack it and use fastboot to flash each separate image (skip userdata and if you want to have TWRP installed to your device also recovery).
And if you have further issues with getting Magisk running, check out the Magisk guide.
@spastico @Didgeridoohan
To sideload a stock image on an N6, you have to use a full OTA image as compared to using fastboot flash (or the flashall.bat) with a Google factory image.
The instructions for each are well written right on the linked page from google.
@spastico, you commented that with TWRP booted, you didn't see a system partition. System is not mounted in TWRP, but you can manually mount it if you choose. As you discovered, mounting isn't necessary to flash an image.
"Good judgment comes from experience, and a lot of that comes from bad judgment." - Will Rogers
Awesome! I keep forgetting about those full OTAs. They weren't around when I used stock factory images on my Nexus...
Thanks for the additional advice.
Solved: This thread may be deleted, sry for bothering you.
I wasnt aware of how to get into fastboot from the stock recovery: Turn off device (Hold down VOLUME UP, VOLUME DOWN and POWER at the same time for a few seconds), remove SD card (in case there's a ZIP that will get auto executed) and boot into bootloader (VOLUME DOWN and POWER for a few seconds).
Old post:
Hello Community!
I'm stuck on the stock recovery with neither fastboot nor adb recognising my device and flashing from SD card giving me "check cid failed, Invalid operation".
How did it come to this:
Tried out Costum ROMs (Linage & Carbon),
restored old backup with TWRP
thought I'd wanna see the stock ROM,
flashed boot image and stock recovery according to this guide
thought it would be a good idea to reboot
regret the last part cause stuck on recovery.
What does it look like atm:
When I turn on the phone, it will stay in the booting screen for some time (white background, "HTC powered by android"), go black, go booting screen again and then go stock recovery (black background, red rectangle with exclamation mark inside)
So I hold VOLUME UP and press POWER, which gets me here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Tried them all, check cid failed, invalid operation.
When connecting to PC, Windows gives me the devices recognition sound, but adb and fastboot act as if no connection:
What else did I try:
Uninstalled HTC drivers, reboot, install HTC sync manager, uninstall sync manager but leave drivers.
tried different ports and cables as well as SD cards
I don't get why it won't flash from SD card. I tried with different TWRPs in zip, rar and img format, named them 0P8BIMG.* and 0P6BIMG.*
When there's no SD card inside it gives me an error, so it does recognize the SD card.
Last but not least about the bootloader: I locked and unlocked the bootloader shortly before this all happened, so I guess the bootloader is unlocked. However after all I'm merely a noob in all of this, so what do I know.
Any unbricking suggestions?
I've followed the process outlined here. After installing the ZIP, it rebooted, but went back to recovery. When I said reboot system, it said No OS installed.
So, I tried to start over by formatting data and then copying the zip again via ADB Push. Then the trouble starts. After adb push, which takes about 5 minutes, it says
Code:
failed to copy 'xiaomi.eu_multi_HMNote10Pro_V12.5.3.0.RKFMIXM_v12-11.zip' to '/sdcard/xiaomi.eu.zip': write failed: No space left on device
After that, the data partition seems corrupted. Whenever I go to Install, it shows 0 bytes. Upon Googling I found a solution by formatting to ext2 and back to ext4. Then, it shows again as 100000MB. However, adb push every time fails with same problem.
For some weird reason, I can push to /data. But still running into same problem after installing ROM and rebooting, it goes back into recovery.
I also tried to sideload, but then I run into this issue:
Code:
D:\Tools\ROMs>adb sideload xiaomi.eu_multi_HMNote10Pro_V12.5.3.0.RKFMIXM_v12-11.zip
loading: 'xiaomi.eu_multi_HMNote10Pro_V12.5.3.0.RKFMIXM_v12-11.zip'
* cannot read 'xiaomi.eu_multi_HMNote10Pro_V12.5.3.0.RKFMIXM_v12-11.zip' *
So, I'm stuck with a device without any ROM. Any suggestions please?
Did you ask in the MIUI EU forums as well? Since there would be more ppl familiar with these issues than here.
I'm also interested in this since I prefer EU roms. Also you need a specific TWRP version which I believe is still in alpha stage for the 10 Pro since its still a new device. There should be a TWRP thread somewhere here where you can also ask.
I just got my 10 pro and need to wait a few more days to unlock BL, then I will be flashing an EU rom, hence my interest. Hope you find a solution.
Use TWRP from here:
https://forum.xda-developers.com/t/4248449/
fastboot reboot bootloader
fastboot boot TWRP_file_name.img
Format Data, type yes.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Reboot to recovery.
The internal storage should be visible.
Connect phone to PC and put ROM into phone.
Flash ROM, format data, yes
Reboot to system.
If above not work, make your phone under fastboot mode, Mi-Flash, and flash your stock fastboot MIUI. Don't lock your bootloader.