Related
Hello everyone.
In attempting to install a ROM using TWRP, I accidentally wiped the system and data partitions. So I now have no OS on the phone. I can still boot into recovery. adb is not seeing my device. fastboot is seeing my device however. How do I proceed from here to install an OS or is the phone bricked?
Is USB debugging required in order for adb to work?
Found problem
Spannercrank said:
Hello everyone.
In attempting to install a ROM using TWRP, I accidentally wiped the system and data partitions. So I now have no OS on the phone. I can still boot into recovery. adb is not seeing my device. fastboot is seeing my device however. How do I proceed from here to install an OS or is the phone bricked?
Is USB debugging required in order for adb to work?
Click to expand...
Click to collapse
I was trying to use a USB 3 port. It worked with a USB 2 port. Phone is installed and up and running.
Spannercrank said:
I was trying to use a USB 3 port. It worked with a USB 2 port. Phone is installed and up and running.
Click to expand...
Click to collapse
Hi, don't panic, it happened to me once and I followed this link http://forum.xda-developers.com/showthread.php?t=1667929 also there are some youtube videos on this .. (http://www.youtube.com/watch?v=ZTX5tq29xP8).
Hi all,
by cons for several weeks I've a concern with my redmi Note 2 and I can't find the answer to my problem on the forum or even the Internet.
Since the last update 7.2.2 (global) I have the Recovery MIUI who crushed the TWRP. I changed to test 6.3.17. The update to the .24 went wrong and I don't know why. Since the phone is bootloop. But the problem is that my phone is not recognized by any PC. I tried several PCs, several cables, several drivers, with or without the Fastboot, unable to connect. Therefore impossible to load a new version. I don't think it's material problem because the phone recharge well with a cable to the socket.
Is there another handling or debug decision to restart the phone? I'm in France for information.
thank you in advance if you can point me to a solution !
Hope someone can help me.
Manu
Can the phone boot to miui recovery? If so, you should be able to use miui recovery to flash TWRP (I think you will need one with a signed install zip). You only need to take out the external SD, put it in one of those cheap USB card readers, copy your recovery and ROM to the SD, put it back in the phone, flash TWRP with miui recovery, and then flash the ROM with TWRP (I am assuming that miui recovery can install things from the external SD - if not, then none of this will work).
Hi Bro,
Yes it boot in MIUI recovery but impossible to get access to the SD Card...
I tried to put the file on the SD card but you can't choose the path, I think the recovery will look only in the internal memory ... And as I can't access the internal memory..
I despair !!
Thanks o lot for your help
DarthJabba9 said:
Can the phone boot to miui recovery? If so, you should be able to use miui recovery to flash TWRP (I think you will need one with a signed install zip). You only need to take out the external SD, put it in one of those cheap USB card readers, copy your recovery and ROM to the SD, put it back in the phone, flash TWRP with miui recovery, and then flash the ROM with TWRP (I am assuming that miui recovery can install things from the external SD - if not, then none of this will work).
Click to expand...
Click to collapse
manu33xtro said:
Hi Bro,
Yes it boot in MIUI recovery but impossible to get access to the SD Card...
I tried to put the file on the SD card but you can't choose the path, I think the recovery will look only in the internal memory ... And as I can't access the internal memory..
I despair !!
Thanks o lot for your help
Click to expand...
Click to collapse
Ok - but have you tried the Mediatek SP Flash Tool?
Of course yes but the real problem is that the phone is not recognized by the PC and therefore can't load anything ...
Even changing drivers or cables or PC, nothing to do.
DarthJabba9 said:
Ok - but have you tried the Mediatek SP Flash Tool?
Click to expand...
Click to collapse
manu33xtro said:
Of course yes but the real problem is that the phone is not recognized by the PC and therefore can't load anything ...
Even changing drivers or cables or PC, nothing to do.
Click to expand...
Click to collapse
So, when the battery is removed, and you connect the USB cable, the phone is not even vibrating (and making that weird sound) every couple of seconds or so?
Yes you're right : every 10s the phone vibrate...
DarthJabba9 said:
So, when the battery is removed, and you connect the USB cable, the phone is not even vibrating (and making that weird sound) every couple of seconds or so?
Click to expand...
Click to collapse
manu33xtro said:
Yes you're right : every 10s the phone vibrate...
Click to expand...
Click to collapse
Well, then it is very strange that you can't use the SP Flash Tool. If the phone vibrates, then the device is recognised, and you should be able to flash anything you want with the SP Flash Tool! How exactly were you trying to use the Flash Tool?
I tried so many solutions I really don't know exactly how I used the software.
I will again try everything.
But against any changes when I look in the USB settings of the PC, the phone doesn't appear.
I try again just now, thank you for your help.
DarthJabba9 said:
Well, then it is very strange that you can't use the SP Flash Tool. If the phone vibrates, then the device is recognised, and you should be able to flash anything you want with the SP Flash Tool! How exactly were you trying to use the Flash Tool?
Click to expand...
Click to collapse
manu33xtro said:
I tried so many solutions I really don't know exactly how I used the software.
I will again try everything.
But against any changes when I look in the USB settings of the PC, the phone doesn't appear.
I try again just now, thank you for your help.
Click to expand...
Click to collapse
With the SP Flash Tool, all you need is the correct "scatter" file (MT6795_Android_scatter.txt), and the image(s) that you want to flash. If the phone is vibrating, then the SP Flash Tool should be able to connect to it when you click "Download". Just make sure that you first untick everything that you do NOT want to flash. I would try flashing the boot image (boot.img) first. If that succeeds, then try the TWRP recovery image.
Ok. I'm going to try again with "http://en.miui.com/forum.php?mod=viewthread&tid=196175&highlight=sp%2Btool%2Bflash%2Bredmi%2Bnote%2B2"
DarthJabba9 said:
With the SP Flash Tool, all you need is the correct "scatter" file (MT6795_Android_scatter.txt), and the image(s) that you want to flash. If the phone is vibrating, then the SP Flash Tool should be able to connect to it when you click "Download". Just make sure that you first untick everything that you do NOT want to flash. I would try flashing the boot image (boot.img) first. If that succeeds, then try the TWRP recovery image.
Click to expand...
Click to collapse
Well... Install again drivers MTK but nothing... The phone vibrates well but the PC still doesn't see ... It's late now, I look again tomorrow night.
Thanks again.
manu33xtro said:
Ok. I'm going to try again with "http://en.miui.com/forum.php?mod=viewthread&tid=196175&highlight=sp%2Btool%2Bflash%2Bredmi%2Bnote%2B2"
Click to expand...
Click to collapse
manu33xtro said:
Well... Install again drivers MTK but nothing... The phone vibrates well but the PC still doesn't see ... It's late now, I look again tomorrow night.
Thanks again.
Click to expand...
Click to collapse
Perhaps you might want to describe what exactly happens when do you what exactly?
Hi,
Ok that's what I do with an old PC with Win XP.
- install media Tek USB VCOM drivers for Win XP -> installation complete
- launch SP Flash Tool with administrator rights)
- use scatter file from Redmi Note 2 rom
- use download agent "MTK_AllInOne_DA.bin"
- press download button
- connect phone with UCB cable and waiting... and waiting...
- and I can't see it in device manager !
No way again !
I will try again...
DarthJabba9 said:
Perhaps you might want to describe what exactly happens when do you what exactly?
Click to expand...
Click to collapse
manu33xtro said:
Hi,
Ok that's what I do with an old PC with Win XP.
- install media Tek USB VCOM drivers for Win XP -> installation complete
- launch SP Flash Tool with administrator rights)
- use scatter file from Redmi Note 2 rom
- use download agent "MTK_AllInOne_DA.bin"
- press download button
- connect phone with UCB cable and waiting... and waiting...
- and I can't see it in device manager !
No way again !
I will try again...
Click to expand...
Click to collapse
Strange! I am assuming that when you connect the phone with the USB cable, the battery has been removed from the phone? If so, then it should work.
Perhaps you should try first connecting the phone, and then waiting until it has vibrated once or twice, before clicking the "Download" button?
Yes I removed battery before connect the phone to PC. I tried also with battery and nothing changed.
I even changed the cable to be sure.
Which seems to me most strange is that I see nothing in the device manager, as if the phone wasn't connected. Whatever the installed driver is the same result. I think it should at least have the phone on the COM or USB port ...
I will try again this night to be sure with all steps one by one. And I will also try with ACER tablet I and runs Android 5.1. Maybe it will be recognized.
Otherwise I also tried to pass a Linux PC as a last resort.
Thanks again for your help.
DarthJabba9 said:
Strange! I am assuming that when you connect the phone with the USB cable, the battery has been removed from the phone? If so, then it should work.
Perhaps you should try first connecting the phone, and then waiting until it has vibrated once or twice, before clicking the "Download" button?
Click to expand...
Click to collapse
manu33xtro said:
Yes I removed battery before connect the phone to PC. I tried also with battery and nothing changed.
I even changed the cable to be sure.
Which seems to me most strange is that I see nothing in the device manager, as if the phone wasn't connected. Whatever the installed driver is the same result. I think it should at least have the phone on the COM or USB port ...
Click to expand...
Click to collapse
Yes, it should. The fact that the phone vibrates when connected indicates that the PC and phone are communicating - but it may well be that a low-level driver in the phone has been overwritten (which may mean that this is a lost cause). A final idea - can miui recovery access usbotg?
Hum good question. In fact I don't know. I'll ask the MIUI forum.
I got home late from work so I don't do tests tonight, I'd see it all tomorrow including the connection with my tablet ...
Thanks
DarthJabba9 said:
Yes, it should. The fact that the phone vibrates when connected indicates that the PC and phone are communicating - but it may well be that a low-level driver in the phone has been overwritten (which may mean that this is a lost cause). A final idea - can miui recovery access usbotg?
Click to expand...
Click to collapse
Hi,
I tried to connect with an Acer Tablet with Android 5.1.1 but nothing appends...
I tried also with a Linux PC (Debian) and if I can see a Samsung A3 phone dirrectly, no way for my Redmi Note 2...
There really I despair : I think I can't access any of the phone. Can't do anything !
If you have any other solution but you help me a lot already, and thanks for that.
Can be a micro crack on the USB plug into the phone if it's not a software problem ... Let's go for it apart and look at this ...
Thanks again bro.
Manu
DarthJabba9 said:
Yes, it should. The fact that the phone vibrates when connected indicates that the PC and phone are communicating - but it may well be that a low-level driver in the phone has been overwritten (which may mean that this is a lost cause). A final idea - can miui recovery access usbotg?
Click to expand...
Click to collapse
manu33xtro said:
Hi,
I tried to connect with an Acer Tablet with Android 5.1.1 but nothing appends...
I tried also with a Linux PC (Debian) and if I can see a Samsung A3 phone dirrectly, no way for my Redmi Note 2...
There really I despair : I think I can't access any of the phone. Can't do anything !
If you have any other solution but you help me a lot already, and thanks for that.
Can be a micro crack on the USB plug into the phone if it's not a software problem ... Let's go for it apart and look at this ...
Thanks again bro.
Manu
Click to expand...
Click to collapse
I don't think it is a crack on the USB plug. It seems to me to be a low-level driver problem - ie, the drivers on the phone that are active when the phone is not (fully) booted up. I don't have the right terminology for these drivers, but they are possibly part of the bootloader. If that is the problem, then I don't know how you would solve this problem.
i cant flash my my phone using bootloader,cause my pc can't detect the device in fast boot mode,so is there any other way to install cusom rom?
Maverick 101 said:
i cant flash my my phone using bootloader,cause my pc can't detect the device in fast boot mode,so is there any other way to install cusom rom?
Click to expand...
Click to collapse
Try to check if your Fastboot drivers are installed correctly or not. Go to Device Manager in Your PC Properties and check whether your device is showing there in Fastboot mode or not? Only then you can unlock your bootloader and after unlocking you'll be able to proceed to Install and flash TWRP and Custom ROM's
No it doesn't!!! That's why i am searching for another way,
Maverick 101 said:
No it doesn't!!! That's why i am searching for another way,
Click to expand...
Click to collapse
Try Installing this.
https://forum.xda-developers.com/showthread.php?t=2588979
Tried it but it doesn't work
You need to connect your phone to usb 2.0 ports on your pc for the Mi Unlock / Flash tool to detect your phone in fastboot mode. If you don't have a usb 2.0 port, a usb 2.0 hub will also work.
Hope this helped.
Tried 2.0 also but no luck.
Maverick 101 said:
Tried 2.0 also but no luck.
Click to expand...
Click to collapse
It's just a connectivity issue, uninstall the drivers and retry everything from the start watching some guide on youtube.
It is normal, it happens some time, there is no other way to install twrp.
I flashed TWRP which worked, rebooted into TWRP so that still worked then tried wiping but got a mount error, I tested if it would install the img anyway and still mount error, so I changed slot from A to B, since then its just black screen and not recognised on PC at all.
dekadude said:
I flashed TWRP which worked, rebooted into TWRP so that still worked then tried wiping but got a mount error, I tested if it would install the img anyway and still mount error, so I changed slot from A to B, since then its just black screen and not recognised on PC at all.
Click to expand...
Click to collapse
First of all, what did you wipe in TWRP? /data?
Have you ever installed an OTA update? If not, you can't boot into the other slot. Same if you restored via MSM. You need to do one local upgrade until the B slot is bootable.
That will be what it is, I didn't do a OTA update. Is there a way to get back to the original slot?
I tried deleting data.
dekadude said:
That will be what it is, I didn't do a OTA update. Is there a way to get back to the original slot?
I tried deleting data.
Click to expand...
Click to collapse
Mounting and formatting of /data is not supported on older TWRPs. Try the most recent one from mauronofrio here on XDA if you want to format it (at least for custom ROMs).
For Oxygen OS I would suggest using "fastboot -w" instead as OOS still can't be decrypted.
Probably either use the MSM tool or use "fastboot --set-active=a" and then try "fastboot -w" if it doesn't boot.
I can't currently get into TWRP though at the moment, after I changed slots its just powered off all the time and not recognised on pc I haven't used any tools though.
So I guess MSM tool might work, but would that work if currently the pc isn't recognising a usb device connected?
dekadude said:
I can't currently get into TWRP though at the moment, after I changed slots its just powered off all the time and not recognised on pc I haven't used any tools though.
So I guess MSM tool might work, but would that work if currently the pc isn't recognising a usb device connected?
Click to expand...
Click to collapse
It should automatically download the drivers if you connect it in EDL mode.
Macusercom said:
It should automatically download the drivers if you connect it in EDL mode.
Click to expand...
Click to collapse
Great, whats best guide for that, I will mention its the China version of phone think its HD1910
dekadude said:
Great, whats best guide for that, I will mention its the China version of phone think its HD1910
Click to expand...
Click to collapse
Download the correct version here and follow the instructions: https://forum.xda-developers.com/7t-pro/how-to/op7tpro-unbrick-tool-to-restore-device-t4002909
Macusercom said:
Download the correct version here and follow the instructions: https://forum.xda-developers.com/7t-pro/how-to/op7tpro-unbrick-tool-to-restore-device-t4002909
Click to expand...
Click to collapse
Thanks for help so far, one final thing I hope when I picked up phone it gave me the full screen battery power too low to turn on message so it gave me hope I can fix it, I charged it for about 10 minutes and it gave me the "bootloader unlocked press power to pause" screen.
What is best thing to do here? Let it fully charge then connect to PC and try the MSM tool or let it drain and then connect to pc instead of charger and let it charge till its recognised by pc?
dekadude said:
Thanks for help so far, one final thing I hope when I picked up phone it gave me the full screen battery power too low to turn on message so it gave me hope I can fix it, I charged it for about 10 minutes and it gave me the "bootloader unlocked press power to pause" screen.
What is best thing to do here? Let it fully charge then connect to PC and try the MSM tool or let it drain and then connect to pc instead of charger and let it charge till its recognised by pc?
Click to expand...
Click to collapse
Charge it for an hour with a wall plug and then follow the MSM tool instructions.
Macusercom said:
Charge it for an hour with a wall plug and then follow the MSM tool instructions.
Click to expand...
Click to collapse
Actually, I noticed I am able to now get into TWRP without connecting to pc, and switch back to slot A, but it said no OS installed.
Do I still need to flash via the MSM tool or can I just update TWRP then install stock rom, update then go back into TWRP and install custom? Or what is best way?
dekadude said:
Actually, I noticed I am able to now get into TWRP without connecting to pc, and switch back to slot A, but it said no OS installed.
Do I still need to flash via the MSM tool or can I just update TWRP then install stock rom, update then go back into TWRP and install custom? Or what is best way?
Click to expand...
Click to collapse
You can either flash OOS via the latest TWRP (and probably do fastboot -w) or I would just use the MSM tool which is much easier and gets you a fresh install
EDIT : Problem Solved!
I've been attempting to recover my samsung galaxy A8 from a brick, by flashing the original firmware for 3 days. I successfully got TWRP flashed, and couldn't connect to the phone using MTP, so I ended up using an SD card to transfer the firmware zip. Long story short, I tried to treble it, and it completely bricked, leaving me without TWRP, or anything to boot.
I've put it in download mode, swapped through 10 different USB C cables, and still can't get my PC to recognize it. I've tried two computers, one running arch linux, and the other one through windows 10 and arch linux. Nothing. Whenever I run "lsusb" I can't see the phone. I also can't see it in device manager.
windowsagent said:
I've been attempting to recover my samsung galaxy A8 from a brick, by flashing the original firmware for 3 days. I successfully got TWRP flashed, and couldn't connect to the phone using MTP, so I ended up using an SD card to transfer the firmware zip. Long story short, I tried to treble it, and it completely bricked, leaving me without TWRP, or anything to boot.
I've put it in download mode, swapped through 10 different USB C cables, and still can't get my PC to recognize it. I've tried two computers, one running arch linux, and the other one through windows 10 and arch linux. Nothing. Whenever I run "lsusb" I can't see the phone. I also can't see it in device manager.
Click to expand...
Click to collapse
have you tried flashing it as update via sideload in adb ?
do you have the latest samsung drivers installed ?
try using my tool located here
gav83collins said:
have you tried flashing it as update via sideload in adb ?
do you have the latest samsung drivers installed ?
try using my tool located here
Click to expand...
Click to collapse
I'm stuck without TWRP, so I can't adb sideload. I did try it back when TWRP did boot, but it still didn't recognize it (I tried lsusb and adb devices)
windowsagent said:
I'm stuck without TWRP, so I can't adb sideload. I did try it back when TWRP did boot, but it still didn't recognize it (I tried lsusb and adb devices)
Click to expand...
Click to collapse
you dont need twrp to sideload, you can do it via adb, my tool above will guide you through the process
gav83collins said:
you dont need twrp to sideload, you can do it via adb, my tool above will guide you through the process
Click to expand...
Click to collapse
I'll try to do it then, while in download mode. Thanks!
windowsagent said:
I'll try to do it then, while in download mode. Thanks!
Click to expand...
Click to collapse
my tool will boot you into download mode when necessary. just follow the onscreen instructions
gav83collins said:
my tool will boot you into download mode when necessary. just follow the onscreen instructions
Click to expand...
Click to collapse
My device is just not listed. I see it's just running adb devices, and nothing shows up.
windowsagent said:
My device is just not listed. I see it's just running adb devices, and nothing shows up.
Click to expand...
Click to collapse
Plus I've already got all the drivers installed.
windowsagent said:
Plus I've already got all the drivers installed.
Click to expand...
Click to collapse
you havent got your phones settings for usb set to "charge only" have you ?
gav83collins said:
you havent got your phones settings for usb set to "charge only" have you ?
Click to expand...
Click to collapse
My phone doesn't boot. I deleted the system partition. It's on a bootloop, and the only thing I can do is access download mode.
I was able to plug it in. I used the sim card remover to try to clean up the port.. I'm seriously an idiot...
windowsagent said:
I was able to plug it in. I used the sim card remover to try to clean up the port.. I'm seriously an idiot...
Click to expand...
Click to collapse
so even in download mode, my tool doesnt detect it ? what about in device manager ? does it show up in there ? are you running a windows machine or windows via a virtual machine
Hi so im having a almost same situation here with my a8 2018 so it seems on the phone that it was doing an update and failed and cant boot to android (i think it got corrupted or something) i can access the samsung recovery but if i do reboot or any data deletion i cant get it to work i tried installing twrp recovery but im a biginer and well idk how to do it from the adb update option
ocasds said:
Hi so im having a almost same situation here with my a8 2018 so it seems on the phone that it was doing an update and failed and cant boot to android (i think it got corrupted or something) i can access the samsung recovery but if i do reboot or any data deletion i cant get it to work i tried installing twrp recovery but im a biginer and well idk how to do it from the adb update option
Click to expand...
Click to collapse
update: i managed to get twrp installed
also i found out i need to install new android so if you can link me something good for the a8 2018 i would be gratefull