Mi4c Bricked: no OS, no USB debugging. Any ideas? - Xiaomi Mi 4C

Hi,
my MI4c is bricked (there is no OS installed and usb debugging is not activated): I have TWRP installed, but I can't install a new OS from my PC because I can't use command prompts (usb debugging is not activated). I was thinking about buying a usb pen (type C) to try and install a custom ROM that way, but I'm not sure that will work. Anybody have any other ideas?
Thanks for any help.

Fastboot flash the MIUI and start from there.

jonvdw said:
Hi,
my MI4c is bricked (there is no OS installed and usb debugging is not activated): I have TWRP installed, but I can't install a new OS from my PC because I can't use command prompts (usb debugging is not activated). I was thinking about buying a usb pen (type C) to try and install a custom ROM that way, but I'm not sure that will work. Anybody have any other ideas?
Thanks for any help.
Click to expand...
Click to collapse
Can you copy files over MTP?

Problem solved. I was able to install a miui China rom using miflash. I then requested unlock permission from xiaomi, which was granted, and now I'm running a Superluminal marshmallow rom.

Related

[Q] How to enable usb debugging from recovery

Hi everyone.
So here is my problem.. I wanted to change rom, was on Cataclysm and wanted to flash the latest Dirty unicorn rom but I kinda ****ed up.
I did a full wipe like asked (system etc) and I wanted to flash the new rom and gapps from TWRP, using adb and fastboot. I downloaded latest drivers for the nexus 5 on my pc, and they are working, I assume.
My problem is that, since I don't have USB Debugging enabled, my device is not listed when I open a command prompt Window in adb folder and type fastboot devices.
So now I'm stuck with my nexus 5 with no os on it, and I was wondering if I could enable usb debugging via TWRP or..?
Thanks in advance !
Note : My device is rooted BUT Unlocked, if that can help.
Your problem is either your memory if you've done this before or your reading if you haven't. Tell twrp to reboot to bootloader and try again there
Sent from my Nexus 5 using Tapatalk

[SOLVED] Unable to ADB Sideload

Hey guys, I may have completely stuffed this up, I got a 2nd hand Nexus 5 I was going to give to my mum. I was going to put the Chroma custom rom on it so firstly I unlock the bootloader and installed a 3.0 TWRP. After this is all done I was planning on using ADB sideload to install the custom rom, I wanted everything to be fresh and clean. So I wiped everything off it (including \system), after I done this, I realised I forgotten to enable USB debugging.
ADB works perfectly fine, so when I do ADB devices, I can see my device, I even double check that its set up correctly by using the Nexus Toolkit and ran the driver test. So when I tried to go and adb sideload chroma.zip, it says device error: no devices found. So I double check again by using adb devices and it says XXXXXXXXXXXX sideload. So its definitely there. So chances are, its because USB debugging is not enabled and this is screwing me over.
Anyone here is able to assist me with this? is there a way to enable USB debugging from TWRP (I tried to look for build.prop but that file is missing).
EDIT: Ohh, I forgot to mention that I got the latest Google drivers installed and the lastest SDK as well.
Z-Blade said:
Hey guys, I may have completely stuffed this up, I got a 2nd hand Nexus 5 I was going to give to my mum. I was going to put the Chroma custom rom on it so firstly I unlock the bootloader and installed a 3.0 TWRP. After this is all done I was planning on using ADB sideload to install the custom rom, I wanted everything to be fresh and clean. So I wiped everything off it (including \system), after I done this, I realised I forgotten to enable USB debugging.
ADB works perfectly fine, so when I do ADB devices, I can see my device, I even double check that its set up correctly by using the Nexus Toolkit and ran the driver test. So when I tried to go and adb sideload chroma.zip, it says device error: no devices found. So I double check again by using adb devices and it says XXXXXXXXXXXX sideload. So its definitely there. So chances are, its because USB debugging is not enabled and this is screwing me over.
Anyone here is able to assist me with this? is there a way to enable USB debugging from TWRP (I tried to look for build.prop but that file is missing).
EDIT: Ohh, I forgot to mention that I got the latest Google drivers installed and the lastest SDK as well.
Click to expand...
Click to collapse
usb debugging is automatically enabled while being into TWRP. I didn't try adb sideload with TWRP 3.0 so I can't confirm that the feature is working as it should be. Did you try with a previous version of TWRP? Did you enable adb sideload from TWRP before typing your command?
Primokorn said:
usb debugging is automatically enabled while being into TWRP. I didn't try adb sideload with TWRP 3.0 so I can't confirm that the feature is working as it should be. Did you try with a previous version of TWRP? Did you enable adb sideload from TWRP before typing your command?
Click to expand...
Click to collapse
Yes, I actually tried it with the previous version first due to the fact that 3.0 is new and may have bugs in it, but since that didn't work, I tried 3.0 afterwards. However, I was able to get MTP working while it was in Recovery. So I copied the files from my computer directly into the Nexus using MTP, for some reason, copying over the ROM and GApps took me over 13 hours to transfer. I didnt care how long it took at least it got it on there.
I was able to flash Chroma and GApps onto the phone so its now all good.

Need to enable USB debugging on rooted phone with broken screen

Hi
I was given a Xiaomi Mi4 with a broken screen by a friend, and I want to use it as part of a robotics project. (I need this phone in particular because it features hardware scheduled shutdown & restart).
I can boot in recovery (mi recovery 2.01) & fastboot. 'fastboot devices' lists a device but 'adb devices' does not.
Is there a way I can remotely install something like JuiceSSH? Or otherwise remotely control it?
I think I need USB Debugging enabled to do this?
any help appreciated.
I can get into the internal storage, and I can boot into recovery and select 'install update.zip', so it should be possible to install a different rom on it.
Is there a rom for the mi4 that has USB Debugging turned on? Or has Vysor or something similar installed by default?
edzillion said:
I can get into the internal storage, and I can boot into recovery and select 'install update.zip', so it should be possible to install a different rom on it.
Is there a rom for the mi4 that has USB Debugging turned on? Or has Vysor or something similar installed by default?
Click to expand...
Click to collapse
some custom ROMs come with USB debugging enabled .
I can't try for you cuz I don't have this phone model .
But I think you can turn on adb via recovery mode .
Are you using custom recovery.
[email protected] said:
some custom ROMs come with USB debugging enabled .
I can't try for you cuz I don't have this phone model .
But I think you can turn on adb via recovery mode .
Are you using custom recovery.
Click to expand...
Click to collapse
It currently has Mi Recovery 2.0.1
edzillion said:
It currently has Mi Recovery 2.0.1
Click to expand...
Click to collapse
Does this stock recovery have adb shell? If not you'll need twrp/cwm

Install TWRP without USB

I have a Mi 9T Global 6/128GB running stock MIUI 12.0.7 Global with bootloader already unlocked. However the USB port has gone bad and only works for charging.
Is there a way for me to install TWRP without a USB connection?
Everything I've done and observed:
USB debugging enabled
USB tethering option greyed out - no USB connection detected
Default USB action set to MTP does not help
It charges but no prompt for USB mode when connected
Phone does not show up on PC
No new device detected in device manager
No problematic device detected in device manager in any mode
No device detected through ADB in any mode
No device detected through fastboot in fastboot mode
No device detected in miflash tool regardles of phone in system or fastboot
No device detected in miunlock tool regardless of phone in system or fastboot
No detected USB device on which I can attempt a driver update
USB drivers verified updated
Tried on my desktop and laptop, with multiple cables and ports
OTG with another Android device does not work
I was using RR Android Q when I realized this issue. At that time I was using TWRP and even in recovery with everything mounted and MTP enabled, the phone was still not detected on PC. I flashed the latest stable MIUI zip hoping it would be fixed bit no bueno.
I want to get TWRP back to install a custom rom because I refuse to use MIUI.
Any help will be greatly appreciated.
Because this phone doesnt have card slot my guess is you can't re-install TWRP.
Is your phone rooted? if it isn't then try rooting it with kingroot (I know it's bad, but you don't exaclty have any other option)
After rooting then follow this thread.
Briefly:
After rooting the device, install flashify.
Flash TWRP through flashify.
Do a factory reset to remove kingroot.
Download and flash your desired ROM.
I don't know if this method works and I recommend searching into it first before trying it.
If it actually works, don't forget to backup everything before flashing. Also once you flash there is no going back since Xiaomi devices has rollback protection.

How to root zenfone 7 ZS670KS

hello guys
how do i root this phone please.
none of the google searched guides seem to work.
1. i've unlocked the bootloader using the asus app
2. i have adb installed on my pc
3. i've enabled usb debug mode on phone and allowing installation unknown apps
4. i've installed magisk v23 by downloading from github and just installing the apk file normally
5. i've downloaded a 2.9gb zip file from asus for androind 11 firmware onto phone and pc (but its a zip file that extracts a bin file, no image file)
my problem seems to be i don't know how to CREATE AND PATCH an image file or install twrp and install image file that way.
Could someone help, there doesn't seem to be any guides for rooting in this phones forum.
Look in the twrp thread: https://forum.xda-developers.com/t/recovery-official-twrp-for-asus-zenfone-7-series.4161719/
after twrp you can flash the magisk.zip
Seosam said:
Look in the twrp thread: https://forum.xda-developers.com/t/recovery-official-twrp-for-asus-zenfone-7-series.4161719/
after twrp you can flash the magisk.zip
Click to expand...
Click to collapse
i keep getting era waiting for device when i want to flash the phoben with twrp.
adb reboot bootloader (works and i enter the recovery menu start, bootloader, recovery, power off etc)
fastboot flash recovery_a twrp.img (when i type this cmd power shell just says waiting for device)
i have universal drivers installed and android sdk installed. not sure why it isn't recognising the phone?
When my phone is switched on normally, cmd recognises it, when i use adb devices. but as soon as i reboot into recovery mode using cmd "adb reboot bootloader" it stops recognising the phone on the list of devices using the cmd "adb devices"
so you don`t get an answer from your phone by "fastboot devices" ?
Have you tried another usb cable and or port?
Seosam said:
so you don`t get an answer from your phone by "fastboot devices" ?
Have you tried another usb cable and or port?
Click to expand...
Click to collapse
no answer from phone when in fastboot mode.
but i do get a reply in cmd when phone is switched on normally.
I'll try with another cable, but if it responds to adb when in normal mode. doesn't it mean it's not a cable issue but a software driver issue?
Seosam said:
so you don`t get an answer from your phone by "fastboot devices" ?
Have you tried another usb cable and or port?
Click to expand...
Click to collapse
seems when i do adb reboot bootloader it goes into what i thought was called fastboot. It even says fastboot.
but in that mode my phone isn't recognised by cmd when type adb devices, it doesn't come up.
it has 4 options reboot system now, botloader, enter recovery, reboot to bootloader, power off.
if i then select enter recovery. it enters a smaller text screen with lots of small blue writing. when inside that screen (recovery mode) cmd seems to recognise my device.
but it says it is unauthorized. this is in recovery mode.
i'm not sure why it says it is unauthorized. i've authorised my pc to control the phone through the fingerprint, when the message popped up.
but i can't push the twrp.img file through because of this.
since cmd doesn't seem to recognise phone in fastboot mode.
and cmd doesn't seem to have authorisation in recovery mode.
any ideas?
is it possible to root using adb sideload or install twrp using adb sideload?
articoceanic said:
seems when i do adb reboot bootloader it goes into what i thought was called fastboot. It even says fastboot.
but in that mode my phone isn't recognised by cmd when type adb devices, it doesn't come up.
it has 4 options reboot system now, botloader, enter recovery, reboot to bootloader, power off.
if i then select enter recovery. it enters a smaller text screen with lots of small blue writing. when inside that screen (recovery mode) cmd seems to recognise my device.
but it says it is unauthorized. this is in recovery mode.
i'm not sure why it says it is unauthorized. i've authorised my pc to control the phone through the fingerprint, when the message popped up.
but i can't push the twrp.img file through because of this.
since cmd doesn't seem to recognise phone in fastboot mode.
and cmd doesn't seem to have authorisation in recovery mode.
any ideas?
Click to expand...
Click to collapse
Thats the right mode.
Does the phone at normal start show that the bootloader is unlocked?
Your debugging mode is turned on in developer settings?
A sideload isn`t possible I think.
Seosam said:
Thats the right mode.
Does the phone at normal start show that the bootloader is unlocked?
Your debugging mode is turned on in developer settings?
A sideload isn`t possible I think.
Click to expand...
Click to collapse
yes, shows bootloader is unlocked when i start the phone.
usb debugging mode is turned on.
i think for some reason in fastboot mode the device driver is not recognised in windows. have googled seems it was a very old problem that happned on phones 6 years ago. nut i haven't found anything recent to solve same error.
articoceanic said:
yes, shows bootloader is unlocked when i start the phone.
usb debugging mode is turned on.
i think for some reason in fastboot mode the device driver is not recognised in windows. have googled seems it was a very old problem that happned on phones 6 years ago. nut i haven't found anything recent to solve same error.
Click to expand...
Click to collapse
So you can just try it on another pc.
Have you changed from USB 3 port to a USB 2?
My Xiaomi mix2s had sometimes this too. That's worked for me.
Seosam said:
So you can just try it on another pc.
Have you changed from USB 3 port to a USB 2?
My Xiaomi mix2s had sometimes this too. That's worked for me.
Click to expand...
Click to collapse
i think its definitely a driver issue. windows 10 seems to be overriding the drivers and installing wrong ones. and won't let me install right ones.
haven't tried in a different pc. will need to get hold of one and try.
Seosam said:
So you can just try it on another pc.
Have you changed from USB 3 port to a USB 2?
My Xiaomi mix2s had sometimes this too. That's worked for me.
Click to expand...
Click to collapse
dont'know what happened. but weirdly i used usb 2.0 as you said and the driver listed on page 2 of this link got recognised.
[RECOVERY][OFFICIAL] TWRP for ASUS ZenFone 7 Series
*** Disclaimer *** All flashing is done at your own risk! While nothing from this thread should break your device, don't come back here blaming anyone if it does! Introduction Team Win Recovery Project 3.x, or twrp3 for short, is a custom...
forum.xda-developers.com
all this time windows 10 wouldn't let me install it. kept saying the drivers i already had was the best ones. but weirdly this time it did.
thanks friend. i think i have root access now. magisk keeps asking me to install the app tho. not sure why. i have version 23.0 installed.
but when i opne magisk it shows install icons for magisk and an unknown App. both listed as version 23.0.
Seosam said:
So you can just try it on another pc.
Have you changed from USB 3 port to a USB 2?
My Xiaomi mix2s had sometimes this too. That's worked for me.
Click to expand...
Click to collapse
last question friend, thanks for all your help.
where do i download apps like ad block plus adaway minmingaurd etc.
magisk dowsn't seem to have an option for that.
articoceanic said:
last question friend, thanks for all your help.
where do i download apps like ad block plus adaway minmingaurd etc.
magisk dowsn't seem to have an option for that.
Click to expand...
Click to collapse
how solve com.asus.service keep stopping after install twrp? android 11 stock rom please answer
decade 1 said:
how solve com.asus.service keep stopping after install twrp? android 11 stock rom please answer
Click to expand...
Click to collapse
I'm not sure.
i only managed to root it by following the instructions here years ago.
maybe try updating the asus apps in play store? or ask some of the other people here who know more than me. or disable the asus apps. i don't use them.
sorry i couldn't help more
articoceanic said:
I'm not sure.
i only managed to root it by following the instructions here years ago.
maybe try updating the asus apps in play store? or ask some of the other people here who know more than me. or disable the asus apps. i don't use them.
sorry i couldn't help more
Click to expand...
Click to collapse
I try factory reset normal again I hope no recurrence

Categories

Resources