[Q] Wiped all internal storage data and ROM HELP!? - One (M7) Q&A, Help & Troubleshooting

I'm using twrp and i accidentally deleted everything from my phone, now my pc doesn't recognise it on usb.
Tried adb push and it says device not found.
Any way I can get a ROM on it or set it backj to factory settings?

Kaichu said:
I'm using twrp and i accidentally deleted everything from my phone, now my pc doesn't recognise it on usb.
Tried adb push and it says device not found.
Any way I can get a ROM on it or set it backj to factory settings?
Click to expand...
Click to collapse
Just because you wiped it, shouldnt have anything to do with the PC not recognizing it. Reboot PC, just in case and try again. (Was adb/fastboot working before? otherwise you may need to update your drivers).
Another way would be to use an OTG cable to flash the ROM directly from a USB stick.

Kaichu said:
I'm using twrp and i accidentally deleted everything from my phone, now my pc doesn't recognise it on usb.
Tried adb push and it says device not found.
Any way I can get a ROM on it or set it backj to factory settings?
Click to expand...
Click to collapse
What OS are you using? Have you attempted ADB while in twrp, just twrp, not sideload?

Kaichu said:
I'm using twrp and i accidentally deleted everything from my phone, now my pc doesn't recognise it on usb.
Tried adb push and it says device not found.
Any way I can get a ROM on it or set it backj to factory settings?
Click to expand...
Click to collapse
Unplug your phone
Reboot the phone and the PC.
Make sure your phone is in recovery mode.
Make sure the adb files and drivers are up to date.
Plug in the phone.
Open a command prompt in the folder that has your adb file.
Type:
adb devices
Click to expand...
Click to collapse
What is the return?
Sent from my HTC One using XDA Premium 4 mobile app

Related

Mounting storage in recovery

So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
jason27131 said:
So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
Click to expand...
Click to collapse
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Awesome i'll try that. Thanks!
redbull123 said:
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
It says device not found.
What about if you go into fastboot in the bootloader screen and type
fastboot devices
Maybe you need to reinstall your adb files...
Sent from my HTC One using xda premium
then you need to install HTC drivers for your phone. If configured correctly you can do adb devices and it will show up.
If you have drivers installed correctly under device manager the phone shows up as My HTC. Make sure you aren't using a USB 3 port if your computer has one.
Reboot your computer. That worked for me. I did the same thing
Also download HTC all in one tool kit. Its a lifesaver.
Sent from my HTC One using xda app-developers app
fastboot does work. Can i use the adb command in bootloader screen?
jason27131 said:
So I managed to screw up by wiping both my data and my system, so now I have no os installed and no way to flash an OS from .zip files. Is there anyway for me to add a file to my storage and then flash it via recovery?
Click to expand...
Click to collapse
I had same problem nothing was working .i used twrp and from there mount storage as otg as that was only working and put a rom in external pendrive and flash your rom
Sent from my HTC One aka M7
jason27131 said:
fastboot does work. Can i use the adb command in bootloader screen?
Click to expand...
Click to collapse
no only fastboot commands.
So then where do i do the adb commands? In the recovery? I don't get why adb devices isn't giving me anything when fastboot is.
jason27131 said:
fastboot does work. Can i use the adb command in bootloader screen?
Click to expand...
Click to collapse
No, adb must be done in recovery.
Go into recovery and try
adb devices
If nothing shows up you need to re-install/update your adb files and HTC drivers.
If your devices shows up this time then do what I said earlier...
Sent from my HTC One using xda premium
You can either reboot the computer or stop and restart the adb service from the windows management console. The driver for fastboot and adb are the same so I suspect it's something with adb server acting up
I'm guessing you update adb files via sdk manager?
redbull123 said:
Download a rom and put it in your adb folder
hold in shift and right click on your adb folder - 'open folder in terminal' or similar (not at my computer atm) should be there
Type
adb push name_of_rom.zip /sdcard/
Or
adb sideload name_of_rom.zip
both must be done in recovery. If you do the sideload method, choose the sideload option in recovery - once it transfers it will begin to install automatically. 'adb push' will put the file onto your sdcard then install it yourself in recovery.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
gunnyman said:
You can either reboot the computer or stop and restart the adb service from the windows management console. The driver for fastboot and adb are the same so I suspect it's something with adb server acting up
Click to expand...
Click to collapse
I stopped and restarted the adb services and it stil lcan't find the phone. is there any thing specific I have to do in recovery? This is confusing me so much.
jason27131 said:
I stopped and restarted the adb services and it stil lcan't find the phone. is there any thing specific I have to do in recovery? This is confusing me so much.
Click to expand...
Click to collapse
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Remove and reinstall the driver
zinder33 said:
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Click to expand...
Click to collapse
Reasonably hard if he doesn't have a USB OTG cable atm...
Sent from my HTC One using xda premium
zinder33 said:
How hard is to flash via external flash drive using micro usb otg in recovery menu
Sent from my HTC One aka M7
Click to expand...
Click to collapse
Very, since clicking on the micro-otg doesn't do anything. I managed to get sideload working I believe. It's at 40%, hopefully it is sideloading the file.
jason27131 said:
Very, since clicking on the micro-otg doesn't do anything. I managed to get sideload working I believe. It's at 40%, hopefully it is sideloading the file.
Click to expand...
Click to collapse
Should be good to go
If it freezes in Aroma just force reboot and try again.
Sent from my HTC One using xda premium

[Q] Device not found on ADB | TWRP Sideload and CWM mount problems

My friend has HTC One. He wiped all the data on SD including the ROM files and One is not booting right now. It's rooted and has Trickdroid's 4.2.2 based ROM.
We tried lots of things so far;
- Pushing files via ADB
Trying ADB, it says device not found, no matter we did we couldn't manage the pc to recognize the phone.
- Mounting SD via CWM
I have HOX, when I enter CWM I can see the option to mount the SD but on One there's no line like this.
- Activating Sideload on TWRP
We also flashed TWRP and tried to use Sideload feature but when we tried to activate it, it says something like "unable to mount .."
- Flashing the RUU
And lastly we tried to flash the RUU, we checked the CID and it says o2___001 and there's no RUU for it.
I just saw that One could be S-OFF and got Super-CID, but to do that again, I have to pull and push some files via ADB so we stuck here.
Could you plese help me on this?
Try cwm recovery it has sideload feature I was in a similar situation once before and it worked using cwm recovery
Also. If you want to try use adb again, try to plug in your device and then wait for few seconds before running a push command. It worth mentioning that once adb fail one time, it is not going to work again by repeating the same push command. Once it fails run this command: adb kill-server
This command will stop the previous failed process after killing the server then try to push again
NiMH_999 said:
Try cwm recovery it has sideload feature I was in a similar situation once before and it worked using cwm recovery
Also. If you want to try use adb again, try to plug in your device and then wait for few seconds before running a push command. It worth mentioning that once adb fail one time, it is not going to work again by repeating the same push command. Once it fails run this command: adb kill-server
This command will stop the previous failed process after killing the server then try to push again
Click to expand...
Click to collapse
We tried a different computer and solved the ADB problem, then I did just like you told and it's OK now.
Thank you.
You're welcome. glad it's all all OK for you
Boot TWRP, then select “Mount”, then select only “Data” and connect your HTC One to your computer.
Considering you have adb.exe (Windows, part of fastboot.zip) or on Linux:
cd Downloads\ROM.zip
adb push ROM.zip /sdcard/
Replace ROM.zip with the ROM filename you copied earlier to Downloads (or any other) folder, then install the ROM.
It should be nearly same running CWM recovery. Hope that helps.
Same problem as you --> fixed
I was able to recognize my device in device manager when using fastboot, but wasnt able to recognize the device as soon as I switched to recovery mode.
I found this universal driver which would recognize both: download.clockworkmod.[com]/test/UniversalAdbDriverSetup6.msi
(remove brackets from [.com] above)
I was now able to use adb sideload to transfer the .zip to my sd card and flash my new rom.
Hope this helps anyone else.
If you found that adb worked from a different machine, you might check whether you had any tethering drivers installed (eg EasyTether) on the machine that was not able to see the phone via adb. I found that they interfered with adb's operation on my Macbook previously; it was maddening.
woraz said:
My friend has HTC One. He wiped all the data on SD including the ROM files and One is not booting right now. It's rooted and has Trickdroid's 4.2.2 based ROM.
We tried lots of things so far;
- Pushing files via ADB
Trying ADB, it says device not found, no matter we did we couldn't manage the pc to recognize the phone.
- Mounting SD via CWM
I have HOX, when I enter CWM I can see the option to mount the SD but on One there's no line like this.
- Activating Sideload on TWRP
We also flashed TWRP and tried to use Sideload feature but when we tried to activate it, it says something like "unable to mount .."
- Flashing the RUU
And lastly we tried to flash the RUU, we checked the CID and it says o2___001 and there's no RUU for it.
I just saw that One could be S-OFF and got Super-CID, but to do that again, I have to pull and push some files via ADB so we stuck here.
Could you plese help me on this?
Click to expand...
Click to collapse
if you have problems always use Hasoon All-In-One_Kit for HTC
Am having the same issues, have tried everything I can think off and everything google has suggested. I'm beyond stuck any and all help would be greatly appreciated
my bad exp
I don't know if that help anyone but I had the problem "device not found" when I was trying to side load with HTC AIO KIT.
I removed all my drivers for htc from the control panel and installed only the htc driver (binary100100.googlecode.[com]/files/HTCDriver3.0.0.007.exe). Then the adb started to work. (after the htc drivers install you need to restart your OS)
When I installed new ROM and reboot the device it showed me the screen with the developer's rom. I thought that I failed and flashed new rom then suddenly the new ROM after one minute started to work. So looks like that I should wait long enough for the first and may be it would also starts to work.
Was he by chance having issues charging his phone before he wiped it?
Myself and my brother both a had issues with the USB port going. Couldn't charge while phone was on. PC wouldn't pick it up so no adb. However was able to pickup fastboot and charge while in fastboot mode.
If that's the case you could try running a zip in oemRUU mode just to get an os on there.
Is he soff?
Sent from my HTC One using xda premium
makkasi said:
I don't know if that help anyone but I had the problem "device not found" when I was trying to side load with HTC AIO KIT.
I removed all my drivers for htc from the control panel and installed only the htc driver (binary100100.googlecode.[com]/files/HTCDriver3.0.0.007.exe). Then the adb started to work. (after the htc drivers install you need to restart your OS)
When I installed new ROM and reboot the device it showed me the screen with the developer's rom. I thought that I failed and flashed new rom then suddenly the new ROM after one minute started to work. So looks like that I should wait long enough for the first and may be it would also starts to work.
Click to expand...
Click to collapse
This worked for me. Thanks!!
Once I removed all the extra crap from control panel and used the latest I was able to do adb devices successfully from bootloader / recovery.
I was just having the same problem on the new LG G2 (D803). It was perplexing because the computer *bleeped* every time it attached so I knew that it saw something. Based on the tips here I went to the Device Manager and sure enough there it was... I reinstalled the drivers inside device manager and then I got an easy adb hit on the phone... hmmm :fingers-crossed:
EazyVG said:
Boot TWRP, then select “Mount”, then select only “Data” and connect your HTC One to your computer.
Considering you have adb.exe (Windows, part of fastboot.zip) or on Linux:
cd Downloads\ROM.zip
adb push ROM.zip /sdcard/
Replace ROM.zip with the ROM filename you copied earlier to Downloads (or any other) folder, then install the ROM.
It should be nearly same running CWM recovery. Hope that helps.
Click to expand...
Click to collapse
flsurf7 said:
I was able to recognize my device in device manager when using fastboot, but wasnt able to recognize the device as soon as I switched to recovery mode.
I found this universal driver which would recognize both: download.clockworkmod.[com]/test/UniversalAdbDriverSetup6.msi
(remove brackets from [.com] above)
I was now able to use adb sideload to transfer the .zip to my sd card and flash my new rom.
Hope this helps anyone else.
Click to expand...
Click to collapse
This worked for my Nexus 4 and TWRP installed. Running the ADB sideload commad from TWRP did not, and just trying to push or sideload from command prompt on PC (Win 8) did not. I had drivers for Nexus 4 recognition installed previously from Nexus Root Toolkit which worked when the Nexus 4 was booted into system, but did not recognize it when wiped and/or in recovery mode. Loading these drivers the Nexus 4 was recognized in recovery mode, and I was able to push the ROM and install using TWRP.
Thanks much!
:good:
timekills said:
This worked for my Nexus 4 and TWRP installed. Running the ADB sideload commad from TWRP did not, and just trying to push or sideload from command prompt on PC (Win 8) did not. I had drivers for Nexus 4 recognition installed previously from Nexus Root Toolkit which worked when the Nexus 4 was booted into system, but did not recognize it when wiped and/or in recovery mode. Loading these drivers the Nexus 4 was recognized in recovery mode, and I was able to push the ROM and install using TWRP.
Thanks much!
:good:
Click to expand...
Click to collapse
Man, I just wanted to say thank you. I've been stuck on this for hours and this did the trick!
Worked
flsurf7 said:
I was able to recognize my device in device manager when using fastboot, but wasnt able to recognize the device as soon as I switched to recovery mode.
I found this universal driver which would recognize both: download.clockworkmod.[com]/test/UniversalAdbDriverSetup6.msi
(remove brackets from [.com] above)
I was now able to use adb sideload to transfer the .zip to my sd card and flash my new rom.
Hope this helps anyone else.
Click to expand...
Click to collapse
the drivers mentioned here worked for me.
Device : HTC One M7
Recovery : TWRP
Thanks
Thank you so much! This universal driver worked for me! (HTC One Mini with TWRP, soft-bricked)
NiMH_999 said:
Try cwm recovery it has sideload feature I was in a similar situation once before and it worked using cwm recovery
Also. If you want to try use adb again, try to plug in your device and then wait for few seconds before running a push command. It worth mentioning that once adb fail one time, it is not going to work again by repeating the same push command. Once it fails run this command: adb kill-server
This command will stop the previous failed process after killing the server then try to push again
Click to expand...
Click to collapse
Years later, thank you sir, for helping a noob with "adb kill-server"
I was so freaked as to why TWRP wasn't sideloading but PhilZ was.
flsurf7 said:
I was able to recognize my device in device manager when using fastboot, but wasnt able to recognize the device as soon as I switched to recovery mode.
I found this universal driver which would recognize both: download.clockworkmod.[com]/test/UniversalAdbDriverSetup6.msi
(remove brackets from [.com] above)
I was now able to use adb sideload to transfer the .zip to my sd card and flash my new rom.
Hope this helps anyone else.
Click to expand...
Click to collapse
ADB didn't recognize my Xperia SP in Clockworkmod. That driver worked like a charm Thank you!
This worked for me...
flsurf7 said:
I was able to recognize my device in device manager when using fastboot, but wasnt able to recognize the device as soon as I switched to recovery mode.
I found this universal driver which would recognize both: download.clockworkmod.[com]/test/UniversalAdbDriverSetup6.msi
(remove brackets from [.com] above)
I was now able to use adb sideload to transfer the .zip to my sd card and flash my new rom.
Hope this helps anyone else.
Click to expand...
Click to collapse
Thank you so much for this. This really helped me out.

[Q] No OS - Please help - TWRP - 4.2.2 - Rooted

Hey everyone,
So about 1 hour ago I attempted to install a kernel onto my rooted HTC One through Team Win Recovery Project. I got onto the kernel and loaded it
Once I was finished i went to reboot my phone and it shows the HTC splash screen and does nothing. I waited but with no response.
I got back onto the recovery screen to find out i no longer had an OS.
My computer (Windows 7 64-bit) cannot detect my HTC One. I have a couple of save backups i had done through TWRP available on my computer, but not on my One.
I have attempted to boot into the HTC screen (Power + Volume down) and tried a factory reset,but it just sent my back to the TWRP.
How can i reload my OS? Im not very experienced with android so step by step instructions would be just great.
Thank you very much
Also, i forgot to mention. I was running the stock ROM.
Youssef26500 said:
Hey everyone,
So about 1 hour ago I attempted to install a kernel onto my rooted HTC One through Team Win Recovery Project. I got onto the kernel and loaded it
Once I was finished i went to reboot my phone and it shows the HTC splash screen and does nothing. I waited but with no response.
I got back onto the recovery screen to find out i no longer had an OS.
My computer (Windows 7 64-bit) cannot detect my HTC One. I have a couple of save backups i had done through TWRP available on my computer, but not on my One.
I have attempted to boot into the HTC screen (Power + Volume down) and tried a factory reset,but it just sent my back to the TWRP.
How can i reload my OS? Im not very experienced with android so step by step instructions would be just great.
Thank you very much
Click to expand...
Click to collapse
Since you can still access recovery..
1. Find a guide on how to 'adb push' or 'adb sideload' a ROM to your phone.
2. I'd recommend a ROM that doesn't require AROMA installer, it makes it a little easier. For now, CM 10.1 will be fine.
3. Once you can access your phone again, put your backups onto your phone from your computer.
4. Restore your backup in recovery.
Or you could just buy a USB-OTG cable and put the backup on a USB and restore in it TWRP.
Sent from my HTC One using XDA Premium 4 mobile app
Or, instead of redbull's approach, you can boot the phone into recovery, then (after reading about how to install and run ADB), use "adb push" to push the recovery files to the phone:
Code:
adb push /path/to/TWRP /data/media/0/TWRP
If that directory doesn't exist, you can probably push to /data/media/TWRP instead. After this, you should see your backups in TWRP and can recover them.
fenstre said:
Or, instead of redbull's approach, you can boot the phone into recovery, then (after reading about how to install and run ADB), use "adb push" to push the recovery files to the phone:
Code:
adb push /path/to/TWRP /data/media/0/TWRP
If that directory doesn't exist, you can probably push to /data/media/TWRP instead. After this, you should see your backups in TWRP and can recover them.
Click to expand...
Click to collapse
I have tried both methods now.
For redbull's approach, as i try to put my phone into ADB Sideload mode through TWRP, TWRP simply says Starting ADB Sideload Feature... but does nothing. I have left it for a little while to no avail.
I have noticed when i put in the command "adb devices" it shows my device as a "host" and i checked on another thread and i believe it should show up as "device". Any ideas?
Worst case scenario i will have to wait a few more days for my OTG Cable to arrive from eBay and then hope that it works from there.
Youssef26500 said:
I have tried both methods now.
For redbull's approach, as i try to put my phone into ADB Sideload mode through TWRP, TWRP simply says Starting ADB Sideload Feature... but does nothing. I have left it for a little while to no avail.
I have noticed when i put in the command "adb devices" it shows my device as a "host" and i checked on another thread and i believe it should show up as "device". Any ideas?
Worst case scenario i will have to wait a few more days for my OTG Cable to arrive from eBay and then hope that it works from there.
Click to expand...
Click to collapse
Once you start the sideload, that's when you command 'adb sideload name_of_rom.zip'. Make sure the rom zip is in the same folder as your adb and fastboot files. Or 'adb sideload ' then drag your zip into the cmd window.
Also, if you're using a usb 3.0 port - they have been known to cause problems.
Sent from my HTC One using XDA Premium 4 mobile app
redbull123 said:
Once you start the sideload, that's when you command 'adb sideload name_of_rom.zip'. Make sure the rom zip is in the same folder as your adb and fastboot files. Or 'adb sideload ' then drag your zip into the cmd window.
Also, if you're using a usb 3.0 port - they have been known to cause problems.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
YAY
Thanks. Finally got my phone running on CyanogenMod, and I was able to get in a factory reset to remove all the data etc from the old rom.
Just a final question though XD
On TWRP I go to the restore option but I don't find anything there. I have put the backup folder in /data/media/0/TWRP but it doesn't appear in the restore option. Any idea of where i should put the files?
Thanks
/data/media/0/TWRP/BACKUPS/
There will be another folder inside the above with a random string of alpha numeric characters. The backups are inside there.
If you perform a backup, you will see its location. Then you can place any others in there also.
Youssef26500 said:
YAY
Thanks. Finally got my phone running on CyanogenMod, and I was able to get in a factory reset to remove all the data etc from the old rom.
Just a final question though XD
On TWRP I go to the restore option but I don't find anything there. I have put the backup folder in /data/media/0/TWRP but it doesn't appear in the restore option. Any idea of where i should put the files?
Thanks
Click to expand...
Click to collapse
Good to hear.. As nobnut says - do a backup then see where it saves it to, then just put your backup in there, then restore :good:
Sent from my HTC One using XDA Premium 4 mobile app

[Q] Can't get past Recovery Mode - Need Help!

After rebooting for a cyanogenmod update which failed to install, my phone will not boot into Cyanogenmod - only clockwork.
I have precious data on the phone that I need to extract, mainly pictures.
ADB only recognizes the phone as "offline" and I cannot pull any files from it.
Any suggestions? Thanks a lot guys.
icer22x said:
After rebooting for a cyanogenmod update which failed to install, my phone will not boot into Cyanogenmod - only clockwork.
I have precious data on the phone that I need to extract, mainly pictures.
ADB only recognizes the phone as "offline" and I cannot pull any files from it.
Any suggestions? Thanks a lot guys.
Click to expand...
Click to collapse
did you cleared cache?
When you are trying to use adb your phone is in cwm recovery?
alray said:
did you cleared cache?
When you are trying to use adb your phone is in cwm recovery?
Click to expand...
Click to collapse
Yes I've cleared the cache and rebooted with the same results - just boots back into Recovery Mode.
And yes, when I am using ADB I am in Recovery Mode. I can't get past that.
icer22x said:
Yes I've cleared the cache and rebooted with the same results - just boots back into Recovery Mode.
And yes, when I am using ADB I am in Recovery Mode. I can't get past that.
Click to expand...
Click to collapse
Do you have a nandroid backup on your phone?
Also is all your drivers properly set and updated on your cumputer? Can you post a screenshot of Windows devices manager with the phone info?
Are you using the original usb cable? Some usb cables only have GND and 5V pins (no data). Also be sure to use usb 2.0 and a usb port directly from your motherboard (not in front of your computer) and don't use any usb hub.
Well I got it recognized by ADB now.
What is the file structure like in order to pull files from the phone?
What commands can I use in ADB to pull the main sd directory?
icer22x said:
Yes I've cleared the cache and rebooted with the same results - just boots back into Recovery Mode.
And yes, when I am using ADB I am in Recovery Mode. I can't get past that.
Click to expand...
Click to collapse
oh and when you are in bootloader, is fastboot working?
Code:
fastboot devices
does it says fastboot usb or only fastboot (in red)
I nerver used adb to pull files so idk. Maybe somthing like ''adb pull /sdcard/ C:\something'' ?
maybe you can find here
or use twrp to make a backup of your data, then pull the backup to your computer
alray said:
oh and when you are in bootloader, is fastboot working?
Code:
fastboot devices
does it says fastboot usb or only fastboot (in red)
I nerver used adb to pull files so idk. Maybe somthing like ''adb pull /sdcard/ C:\something'' ?
Click to expand...
Click to collapse
Thanks man. That helped.
If anyone ever finds themselves in this situation, make sure your SDK packages are updated to the latest Android OS version. This is why ADB was recognizing my device as offline.
Also, running the command adb pull /sdcard/ C:<somewhereonyourPC> will pull all the data from your HTC one.
icer22x said:
Thanks man. That helped.
If anyone ever finds themselves in this situation, make sure your SDK packages are updated to the latest Android OS version. This is why ADB was recognizing my device as offline.
Also, running the command adb pull /sdcard/ C:<somewhereonyourPC> will pull all the data from your HTC one.
Click to expand...
Click to collapse
oh nice to see adb pull /sdcard/ C:<somewhereonyourPC> was the right syntax :laugh:
For the sdk packages you should always make sure it is updated before doing anything to the phone. Same for drivers. An ''adb devices'' and ''fastboot devices'' won't hurt before messing with the phone to make sure everything set correctly.
Now I presume you'll be ok to flash your rom again?1

Help with (I think) bricked Mi Mix

HI everyone, i have unlocked Mi Mix with EU Global ROM (rooted) and TWRP installed.
After the phone was playing up, I idiotically removed root and deleted Xposed, and it was OK, but tonight I tried to re-install originial ROM, and now can't do anything with the phone.
I can boot into TWRP, but when i try fastboot, the fastboor screen comes up for 20 seconds, then the phone boots to Mi logo, and nothing happens.
I can't get computer to recognize the phone so can't add new ROM - so unsure how to do anything now
Any help appreciated, thanks!
Jamie
Hello !! i think i can help you , well same thin happened to me and what i did was ----∑ Boot into recovery , plug your phone to computer , download Universal ADB Driver and when it detects Adb Composite click install . Then you will be able to unlock and use fastboot. Hope it helps if not im sorry , this is all i know. Good Luck !!!
If you are able to boot in to twrp why just install the original Chinese rom and start from scratch.
YazumiWuHung said:
Hello !! i think i can help you , well same thin happened to me and what i did was ----∑ Boot into recovery , plug your phone to computer , download Universal ADB Driver and when it detects Adb Composite click install . Then you will be able to unlock and use fastboot. Hope it helps if not im sorry , this is all i know. Good Luck !!!
Click to expand...
Click to collapse
Thanks, will try
jaime4272 said:
If you are able to boot in to twrp why just install the original Chinese rom and start from scratch.
Click to expand...
Click to collapse
Hey, thanks for the reply - in TWRP though I can't see any ROM files, or anything to install?
Download a ROM (from desktop)... boot to TWRP (device)... Mount storage... Copy Rom to device... Flash ROM...
lesscro said:
Download a ROM (from desktop)... boot to TWRP (device)... Mount storage... Copy Rom to device... Flash ROM...
Click to expand...
Click to collapse
Hi, thanks for the reply. the problem is, the computer doesn't recognize phone no matter what I do, and I tried the mount storage option but it only shows the phone internal storage!
Sorry, i'm new to this all, thanks,
Jamie
There is sdcard on Mix, then if you see internal storage you can copy rom on it then when u try to flash, navigate to this zip file...
Other u can flash using MiFlashTool using adb feature....
lesscro said:
There is sdcard on Mix, then if you see internal storage you can copy rom on it then when u try to flash, navigate to this zip file...
Other u can flash using MiFlashTool using adb feature....
Click to expand...
Click to collapse
Thanks! Yeah, I noticed it said SD card - but it's not removable, no? So i don't know how to put ROM onto it, when my computer doesn't recognise it!
Thanks
Jamie
When you boot into TWRP, try "adb devices" on your PC. If it's read there, you can use the "adb push filename.zip /sdcard/" command to push the ROM to your phone and then install it.
admirdante said:
When you boot into TWRP, try "adb devices" on your PC. If it's read there, you can use the "adb push filename.zip /sdcard/" command to push the ROM to your phone and then install it.
Click to expand...
Click to collapse
Thanks, is adb devices the same as mimal ADB and fastboot? As in, the program? I have that installed, although it can't find phone
And sorry for knowing so little, i don't have much Android experince.
Thanks,
Jamie
Check if u have an issue with your driver when device is connected... device manager on windows 10...
If yes, check to install driver from computer (not from web or cd's or something like that), select universal USB/adb feature... and ur device will appear...
Weirdali said:
Thanks, is adb devices the same as mimal ADB and fastboot? As in, the program? I have that installed, although it can't find phone
And sorry for knowing so little, i don't have much Android experince.
Thanks,
Jamie
Click to expand...
Click to collapse
Well, I use minimal ADB and fastboot too. Just run it, and try "adb devices". If it's read, you can try the "adb push". If not, please check your Device Manager to see if it is read there.
admirdante said:
Well, I use minimal ADB and fastboot too. Just run it, and try "adb devices". If it's read, you can try the "adb push". If not, please check your Device Manager to see if it is read there.
Click to expand...
Click to collapse
It doesn't appear in Device Manager, and it always has done before. I installed new drivers (made sure they were correct), rebooted PC, and still doesn;'t show in device manager, so not sure what top do!
Thanks,
Jamie
Weirdali said:
It doesn't appear in Device Manager, and it always has done before. I installed new drivers (made sure they were correct), rebooted PC, and still doesn;'t show in device manager, so not sure what top do!
Thanks,
Jamie
Click to expand...
Click to collapse
Damn. Not sure what to do either. Maybe download a fastboot ROM from their site and flash it trough Miflash? Maybe that'll work? If not, then I'm out of ideas.
lesscro said:
Check if u have an issue with your driver when device is connected... device manager on windows 10...
If yes, check to install driver from computer (not from web or cd's or something like that), select universal USB/adb feature... and ur device will appear...
Click to expand...
Click to collapse
I've 100% installed the right drivers, but the device doesn't show in device manager, or anywhere on my PC! It does charge though, which is weird
Weirdali said:
I've 100% installed the right drivers, but the device doesn't show in device manager, or anywhere on my PC! It does charge though, which is weird
Click to expand...
Click to collapse
if you have a usb OTG adapter you can put a rom on an usb stick mount it in twrp and flash from there
Did you do a total wipe? And left your device totally clean?
Weirdali said:
Thanks, is adb devices the same as mimal ADB and fastboot? As in, the program? I have that installed, although it can't find phone
And sorry for knowing so little, i don't have much Android experince.
Thanks,
Jamie
Click to expand...
Click to collapse
Put your ROM in the same folder as your adb drivers folder. Hold shift while right clicking in this folder and choose "open command window here". Boot into TWRP and goto "advanced", then "adb sideload". Now write in the command prompt "adb devices". It should now show your device id and "sideload" after it. Write "adb sideload name of your rom.zip"
At least your phone isn't totally dead like mine. I powered mine off with a full charge and we to power it back on a little while later and it's totally dead now. Even Xiaomi Flash Tool won't let me flash anything. Sees the phone but won't let me flash anything. I get an error code. Xiaomi, via email says they can't service my phone because I'm in the USA. This will be my last Xiaomi phone. So pissed off

Categories

Resources