I need help, OS deleted! - Android Q&A, Help & Troubleshooting

I accidentally deleted my android os.
I tried to install one using a rom and twrp but it doesent work, so i tried using fastboot and adb tools but didnt work either.
I cannot access my stock recovery to apply an update beacuse of twrp.
Is my phone dead or is there any way to make my phone work again?
It doesent boot, just goes to an unlocked bootloader screen "Device will boot in 5 seconds" just freezes on that screen. I can go to twrp but when i try to install a rom it doesent work "error 7"
Its a Moto G5 XT1670 it has an unlocked bootloader, no root

Hi , this should help you to fix error 7.
https://forum.xda-developers.com/showthread.php?t=2522762

Related

[Q] Bootloop, Cant seem to fix it.

I'm new to rooting and all of this type of thing, i figured I would first start with my HTC Flyer. I successfully unlocked the bootloader, and installed SuperUser, upon installing greenify and i tried to install the Xposed Framework, and my device now is stuck in a boot loop.
When enter the bootloader and do a factory reset or try to enter factory it completely freezes, and when i try to connect it to my PC via fastboot the PC says that the USB device that is connected cannot be recognized and fastboot will not work. Did i completely fry this device? Also if you have time I couldnt figure out a proper way to flash a custom rom so if anyone has a guide for that I would appreciate a link to that as well.
Thank you so much!!

Unbricking RN4 (SD)

Hello guys,
i wanted to upgrade my Ressurection Remix ROM and managed to softbrick my phone. While flashing the software (Flashing system partition unconditionally) TWRP got stuck.
My phone got an unlocked bootloader and i already tried to flash the global MIUI ROM via EDL and also fastboot. The flashing process is successfull but after i restart my phone i'm stuck at the MI Logo with the moving Android Circles for loading.
I let this run for ~6 hours, no progress at all.
I also tried flashing the Global DEV Rom, same as above.
Factory Reset via Recovery Mode (with MI Suite) also didn't do the trick.
I think something with the bootloader went wrong. Any ideas to unbrick it?
I can access Fastboot and EDL Mode, unlocked Bootloader. I also got a TWRP backup with System and Data Partition, but currently only the original Revocery is installed.
Any help is very much appreciated, thank you.
Did you tried using this guide to flash stock firmware/recovery?
http://en.miui.com/a-234.html
Yes, the problem is not to flash the Fastboot ROM, but after successfully flashing the ROM i got stuck at the MI Logo with the loading Android dots
That's weird.. this bootloop usually happens when you flash stock MIUI and still have TWRP installed, can you check if you have stock recovery after fastboot flash?
After i flashed the global DEV ROM i got the stock recovery where i can choose between Wiping Data, switch to MI Suite etc.
Edit: Its not really an bootloop, it just gets stuck there without doing anything
Update: Got TWRP back, now if i want to flash any ROM (doesn't matter if stock/custom) i'm stuck at TWRP saying: "Patching system unconditionally..." it stays there for hours.
Any advice in this case?
guys,, i was facing same problem. I also agree that 8012... status does not matter to unlocking bootloader. I was tried all but fail after granted permission. I was tried daily. after 5 days when I tried with old mi unlock tool I got error at 50%. After that restarted my phone and clicked on settings and in developer menu, I watched i clicked on allow unlock bootloader but I forgot to click on usg debbuging. after clicked it I went for fastboot with old unlock tool and I got success. thankyou.
Try my method you will get success. hit like. stay tune. tandob is here to help you guys.
tandob said:
guys,, i was facing same problem. I also agree that 8012... status does not matter to unlocking bootloader. I was tried all but fail after granted permission. I was tried daily. after 5 days when I tried with old mi unlock tool I got error at 50%. After that restarted my phone and clicked on settings and in developer menu, I watched i clicked on allow unlock bootloader but I forgot to click on usg debbuging. after clicked it I went for fastboot with old unlock tool and I got success. thankyou.
Try my method you will get success. hit like. stay tune. tandob is here to help you guys.
Click to expand...
Click to collapse
That has absolutely nothing to do with the problem mentioned above.

Uninstalled OS and only TWRP left? Help please!

[At first, I have a Huawei p9 Lite] I recently was stuck in reboot mode, my phone would not boot up anymore and just keep rebooting so I went into twrp and did a factory reset without having a backup because I did not have any important files on my mobile. I then still could not boot up so I accidently wiped the whole cache and deleted my OS, so now my phone won't even boot anymore and it's stuck in the "Your device has been unlocked and can't be trusted" screen. How do I make my phone work again? I don't know anything about how to download stuff on my phone when I only have twrp left so I can install it with twrp and then boot again.
EDIT adb push doesn't work either and I can't wipe because it always gives me a red error line in twrp "Failed to mount '/cache' (opperation not supported on transport endpoint)
cxybah said:
[At first, I have a Huawei p9 Lite] I recently was stuck in reboot mode, my phone would not boot up anymore and just keep rebooting so I went into twrp and did a factory reset without having a backup because I did not have any important files on my mobile. I then still could not boot up so I accidently wiped the whole cache and deleted my OS, so now my phone won't even boot anymore and it's stuck in the "Your device has been unlocked and can't be trusted" screen. How do I make my phone work again? I don't know anything about how to download stuff on my phone when I only have twrp left so I can install it with twrp and then boot again.
Click to expand...
Click to collapse
OK so, whenever I try to adb sideload a rom from my pc to my mobile and I go to adb sideload in twrp and swipe it disconnects from my pc and I hear a de de de sounds
That device has an sdcard slot, so just move your desired rom over to that and flash it.
Also, may I ask what rom you had? Lineage os is available for your device (not sure, but if someone compiled twrp, sources are available which means that you can compile it for your device)

HTC nexus 9 soft bricked, without developer mode enabled , how can i connect ,

i recently got into playing with andorid , and kinda bootlooped my device,
its htc nexus 9 wifi , i rooted it with wrong version supersu
inject.img
patched.img
then it went into bootloop since im new , and panicked i factory reset it , now its stuck in bootloop and i cant enable developer mode.
can i use odin like solution that can get me in , or what are my options
thanks for reading
rohanzakie said:
i recently got into playing with andorid , and kinda bootlooped my device,
its htc nexus 9 wifi , i rooted it with wrong version supersu
inject.img
patched.img
then it went into bootloop since im new , and panicked i factory reset it , now its stuck in bootloop and i cant enable developer mode.
can i use odin like solution that can get me in , or what are my options
thanks for reading
Click to expand...
Click to collapse
If you can boot into bootloader, you can fastboot flash the images from https://developers.google.com/android/images (or just try running the entire N9F27N script) from your fastboot folder in cmd prompt or the Mac equivalent if you use Apple.
Sent from my Nexus 9 using Tapatalk
usb-debug is not enabled.
the thing is , when i rooted i got locked out then i factory reseted it , but it still is in bootloop,
i am unable to connect with device this is what i see when run the script ,
the cmd prompet say "<waiting for device >"
does it ever happened to anyone , getting locked without getting developer mode > usb-debug enabled , and then flashing factory rom ?
Can you still access TWRP, if it was already on the device.
Flash any custom rom, enable the option and flash stock again (if you want).
If it is stock recovery, sideload an OTA image instead.
https://developers.google.com/android/ota
Manually boot recovery and you shouldn't need usb-debug enabled, I hope.
A bit of research and it is required unfortunately
Edit: You don't need usb-debugging for fastboot flashing.
Also Nexus Root Toolkit might prove helpful to setup drivers on your pc and restore your device to working order.
^^^ It is out of date software, so hesitant to recommend it.
rohanzakie said:
the thing is , when i rooted i got locked out then i factory reseted it , but it still is in bootloop,
i am unable to connect with device this is what i see when run the script ,
the cmd prompet say "<waiting for device >"
does it ever happened to anyone , getting locked without getting developer mode > usb-debug enabled , and then flashing factory rom ?
Click to expand...
Click to collapse
Boot to bootloader and use fastboot commands. Fastboot flash system system.img
Etc.
Use the files extracted from factory image.
rohanzakie said:
the cmd prompet say ""
Click to expand...
Click to collapse
I've definitely had this experience. You can try disconnecting the cable then reconnecting. When that doesn't work, you have to remove all the drivers or at least run through "updating" the Android drivers in hardware settings. You won't actually be updating drivers just re-installing from the PC. Wug's toolkit mentioned above may be your best choice if you don't have TWRP. The toolkit will provide you with an exe called usbdeview which enables driver removal. I didn't mention an OTA sideload because I thought you did need ADB for that. If you can get PC to recognize the device in cmd, then you can fastboot flash images.
Sent from my Nexus 5X using Tapatalk

bricked :(

Hi! I just bought a Honor 9 STF-AL00, build: STF-AL00C00B201.
As it is the chinese version, I wanted to rebrand it, so I follow the instructions on https://forum.xda-developers.com/honor-9/how-to/guide-honor-9-t3653719.
Unlocking bootloader was successful and as chinese firmware, it did not had a FRP lock.
The first time, rebranding stopped just before the menu.
The second time, I could access the menu and did the install.
But it looks like it did not go as expected because when the phone booted, it did not load TWRP but eRecovery.
So I booted in fastboot, it says phone locked & FRP locked.
I booted once again in eRecovery to download package from server and recovery but it says getting package info failed.
I tried to install stockrom from sd but it didnot work out.
I still have the bootloader code, but now i cant even install TWRP.
Can anyone please help me?
It is a brand new phone, I even havent use it yet and it's already bricked :'(
I install an service full repair stock via dload
http://androidhost.ru/v5
it is working right now.
oblivion2222 said:
Hi! I just bought a Honor 9 STF-AL00, build: STF-AL00C00B201.
As it is the chinese version, I wanted to rebrand it, so I follow the instructions on https://forum.xda-developers.com/honor-9/how-to/guide-honor-9-t3653719.
Unlocking bootloader was successful and as chinese firmware, it did not had a FRP lock.
The first time, rebranding stopped just before the menu.
The second time, I could access the menu and did the install.
But it looks like it did not go as expected because when the phone booted, it did not load TWRP but eRecovery.
So I booted in fastboot, it says phone locked & FRP locked.
I booted once again in eRecovery to download package from server and recovery but it says getting package info failed.
I tried to install stockrom from sd but it didnot work out.
I still have the bootloader code, but now i cant even install TWRP.
Can anyone please help me?
It is a brand new phone, I even havent use it yet and it's already bricked :'(
Click to expand...
Click to collapse
You can always re-unlock your phones bootloader again, the key is always same, then flash or boot twrp with fastboot.
Some developers says the command for oreo is: fastboot flash recovery_ramdisk [file name] but I used this: fastboot flash recovery_ramdisk_a [file name]
You even can try to just boot twrp without flashing it to your recovery by simple typing: fastboot boot [file name]
If fastboot can flash twrp, turn your phone off then hold volume up/+ and power button same time and hold them until the state of unlocked warning appears.
You can use dload method or you can use HuRupdater method to flash firmware. You'll find introduction for how to do it.
Just search on xda

Categories

Resources