[Q] Soft-brick after installing Xposed Framework - Xiaomi Redmi 1S

Hi! At first, I'm sorry for my English. I installed to my phone Xposed Framework, rebooted phone but it stucked on MIUI logo. So I try to install official ROM via Miflash but it not works. After it, I found other way how to repair the phone, it was by using CWM recovery so I downloaded the needed files and try to flash it via command prompt but when I type "fastboot flash recovery recovery.img", the command prompt is stucked on "waiting for device". Any ways how to bring my phone to life please?

have u install adb driver for ur phone on PC ?
try MiFlash and click refresh, did your phone detected ?
or try type " adb devices " on ur cmd and see whether ur phone detected or not

Are you connecting your phone to your pc in fastboot mode?

Did you get the proper xposed? You need the one that was made to work with miui. The normal one will not work.

To do anything with your phone using a pc, you'll need the drivers of your phone installed in the pc. MiFlash does that though. Flashing fastboot roms using MiFlash always works. Maybe you didn't follow the proper steps. And don't forget to select flash_all.bat in MiFlash, because other batch files don't work most of the times. And before connecting your phone to the pc, boot in to fastboot menu by pressing and holding the power and volume down keys together.
And the next time you think of installing xposed framework in miui, install wsm tools, not xposed installer. Miui has two frameworks, so xposed can't be installed in miui using xposed installer. Xposed framework only works in aosp roms.

Related

[Q] MTP USB Device: ADB lists no devices

Hi guys.
The phone is Xperia S.
I have installed CWM and wiped all partitions (except for sdcard) in order to prepare the phone for CM12.1 install.
Now I understand that my CWM version is outdated (5.5.0.4) and I need to install TWRP (which I had had installed before).
The problem is that when I plug in the phone, Windows registers it as MTP USB Device and I cannot uninstall/change drivers. adb devices lists no devices and I cannot do anything with the phone now.
Also, I have twrp.img on sdcard, but I'm not sure how to install it from CWM. When I was running TWRP before, adb was working fine.
So, I guess my problem can be fixed in two ways:
Install TWRP from CWM. I have twrp.img on sdcard, but CWM won't let me install it, I can't see it listed in file list.
Uninstall/change drivers for "MTP USB Device" so that adb works again.
Any help would be appreciated, as I cannot install anything on my phone now, and all I have is a CWM recovery on it.
Witchunter said:
Hi guys.
The phone is Xperia S.
I have installed CWM and wiped all partitions (except for sdcard) in order to prepare the phone for CM12.1 install.
Now I understand that my CWM version is outdated (5.5.0.4) and I need to install TWRP (which I had had installed before).
The problem is that when I plug in the phone, Windows registers it as MTP USB Device and I cannot uninstall/change drivers. adb devices lists no devices and I cannot do anything with the phone now.
Also, I have twrp.img on sdcard, but I'm not sure how to install it from CWM. When I was running TWRP before, adb was working fine.
So, I guess my problem can be fixed in two ways:
Install TWRP from CWM. I have twrp.img on sdcard, but CWM won't let me install it, I can't see it listed in file list.
Uninstall/change drivers for "MTP USB Device" so that adb works again.
Any help would be appreciated, as I cannot install anything on my phone now, and all I have is a CWM recovery on it.
Click to expand...
Click to collapse
The MTP is fine, You don't need to uninstall it. Try following the method from here to flash the ROM.
Mirhawk said:
The MTP is fine, You don't need to uninstall it. Try following the method from here to flash the ROM.
Click to expand...
Click to collapse
Thanks for the suggestion.
When I turn off the phone, press and hold UP button and then connect the phone to PC, the blue light lights up as it should. However, after ~10 seconds, blue light goes away and the phone goes to CWM recovery.
Therefore, I'm unable to execute adb commands during this short time period.
How to prevent CWM from starting up while in fastboot mode?
Witchunter said:
Thanks for the suggestion.
When I turn off the phone, press and hold UP button and then connect the phone to PC, the blue light lights up as it should. However, after ~10 seconds, blue light goes away and the phone goes to CWM recovery.
Therefore, I'm unable to execute adb commands during this short time period.
How to prevent CWM from starting up while in fastboot mode?
Click to expand...
Click to collapse
Then Your fastboot drivers are not installed.
Disconnect Your phone from PC.
Open command prompt and run this command:
Code:
SET DEVMGR_SHOW_NONPRESENT_DEVICES=1
and then open device manager, Choose View, Show Hidden Devices. Then uninstall any device with Xperia S and/or android in it. Then install the flashtool, fastboot, and every Xperia S related drivers from drivers pack in flashtool. I see that You use Windows 8/8.1, hence You need to follow a different method to install drivers. You can find that method here. Then follow the method I mentioned before.
Mirhawk said:
Then Your fastboot drivers are not installed.
Disconnect Your phone from PC.
Open command prompt and run this command:
Code:
SET DEVMGR_SHOW_NONPRESENT_DEVICES=1
and then open device manager, Choose View, Show Hidden Devices. Then uninstall any device with Xperia S and/or android in it. Then install the flashtool, fastboot, and every Xperia S related drivers from drivers pack in flashtool. I see that You use Windows 8/8.1, hence You need to follow a different method to install drivers. You can find that method here. Then follow the method I mentioned before.
Click to expand...
Click to collapse
While waiting for your answer, I found the video detailing instructions to install drivers on Windows 8.1 x64:
Nonetheless, thank you for your answer, now I can continue to try to install CM12.1.

Fastboot doesnt recognize my phone.. Help please!

So i wanted to install CyanogenMod on my xperia z1 Compact that i rarely use anymore.. but in order to do that i need to unlock my bootloader and stuff.. but in order to do that i have to get fastboot to work but whenever i try any commands i get <Waiting for any Device> or nothing at all.. i cant install the driver either (not sure if i install it using device manager but if i do then its failing.. a lot) Anyways any help would be awesome xD
3r0rfadeness said:
So i wanted to install CyanogenMod on my xperia z1 Compact that i rarely use anymore.. but in order to do that i need to unlock my bootloader and stuff.. but in order to do that i have to get fastboot to work but whenever i try any commands i get <Waiting for any Device> or nothing at all.. i cant install the driver either (not sure if i install it using device manager but if i do then its failing.. a lot) Anyways any help would be awesome xD
Click to expand...
Click to collapse
Install this - http://forum.xda-developers.com/showthread.php?t=2588979
Install this - http://www.flashtool.net
After Flashtool installs, go to drivers folder, (in flashtool folder), and run drivers.exe. check boxes for 'fastboot' 'flash mode' and 'Rhine' drivers. When done installing drivers, connect phone in fastboot mode, and you'll get a 'installing device software' popup. Click on 'skip Windows update search', and drivers will install. Then run fastboot commands.
levone1 said:
Install this - http://forum.xda-developers.com/showthread.php?t=2588979
Install this - http://www.flashtool.net
After Flashtool installs, go to drivers folder, (in flashtool folder), and run drivers.exe. check boxes for 'fastboot' 'flash mode' and 'Rhine' drivers. When done installing drivers, connect phone in fastboot mode, and you'll get a 'installing device software' popup. Click on 'skip Windows update search', and drivers will install. Then run fastboot commands.
Click to expand...
Click to collapse
i fixed it cant remember how tho xD

partially bricked

I can get my Zenfone 2 up to the fastboot screen, but no further.
Under PC device manager is shows "Android-Phone" as the device, but no drivers loaded.
I've tried a few different drivers, but even though they seem to install OK, "Android-Phone" (in device manager) still won't show as having a driver.
Some threads say I have to enable Android Debugging, but how to do that when the ONLY screen I can get on the phone is fastboot??
Help???
Boowho??
You can try this.
1. Uninstall all drivers for phone you installed on PC, then reboot.
2. Disable antivirus on PC then install standard Intel android device usb drivers. You can download them from Asus website. Then reboot again.
3. Connect phone to PC in fastboot mode.
4. In the device manager you should see "Asus android device" under which "Asus android bootloader interface".
5. Check connectivity in minimal adb & fastboot software (you can get it from XDA) by command "fastboot devices" without quotes. It should answer "some number<space>fastboot".
If all is ok then you can flash raw stock firmware in fastboot mode & update it to latest version OR unlock bootloader, flash TWRP & install custom rom.
Thank you Sanesh. I got all the img/bin files successful now. However, the ZF2 has this issue when you select recovery from bootloader screen it gives dead android. You can then (extra step) hold power and VOl + and get into stock recovery. This is a flaw in the original firmware, I think.
BUT, this extra step is causing TWRP not to be entered. Stock recovery is OK, but not TWRP.
I had to recover the phone using the SOC drivers; before that TWRP worked perfectly.
Thanks
Have you unlocked bootloader ? Unlock bootloader first then flash twrp using giovix92 method. Then reboot to recovery.
Thanks. Turned out I was using a twrp image that is only for marshmallow. I still use lollipop. Every thing is now back to where it was before I had to recover the thing using the SOC method.
Lesson learned. un-root before trying to upgrade to MM.

problem with fastboot twrp flashing

my device came with unlocked bootloader, so I tried to flash twrp but every time i type "fastboot flash recovery C:\adb\twrp-3.2.1-3-whyred.img" and hit enter, the device seems to disconnect from pc and there is "press any key to reboot" in fastboot on my phone.
How can I solve this issue?`
Phone gets detected by adb/fastboot tool so its not a driver problem. I tried different cables and usb ports aswell.
Firmware is latest global stable.
Nazukii said:
my device came with unlocked bootloader, so I tried to flash twrp but every time i type "fastboot flash recovery C:\adb\twrp-3.2.1-3-whyred.img" and hit enter, the device seems to disconnect from pc and there is "press any key to reboot" in fastboot on my phone.
How can I solve this issue?`
Phone gets detected by adb/fastboot tool so its not a driver problem. I tried different cables and usb ports aswell.
Firmware is latest global stable.
Click to expand...
Click to collapse
try upgrade your android sdk on your pc
Nazukii said:
my device came with unlocked bootloader, so I tried to flash twrp but every time i type "fastboot flash recovery C:\adb\twrp-3.2.1-3-whyred.img" and hit enter, the device seems to disconnect from pc and there is "press any key to reboot" in fastboot on my phone.
How can I solve this issue?`
Phone gets detected by adb/fastboot tool so its not a driver problem. I tried different cables and usb ports aswell.
Firmware is latest global stable.
Click to expand...
Click to collapse
Well if you already had adb in your pc, rename the twrp file to recovery, you don't have to move the twrp from download folder, open download folder press shift and right click then select open cmd here, on cmd type "adb device" to see if your device connected, then after that type this "fastboot flash recovery recovery.img" press enter than after that type "fastboot boot recovery.img" TEAMWIN logo should appear on your device and then you can unplug your device. Hope this useful
i am trying to flash twrp there is no folder called adb i have installed the 15 second adb and all so i have got this minimal adb flashboot and i tried with that and got this ---- FAILED (remote: Flashing is not allowed in Lock State). i have granted all usb and oem unlocking. please help with this
Phone shows unlocked during the boot?
I had the same Problem,after a Factory Reset works for me.
I am on Miglobe-Rom Miui10 8.6.28.
Minimal ADB is enough.
Or use this from Attachment.
Unpack with Win.zip and copy Twrp in this Folder.
Conect the Phone with your Pc ,boot into Bootloader and click "cmd-here.exe"
Use this Command
fastboot flash recovery twrp-3.2.1-3-whyred.img
@Nazukii - Quick question - any chance you could try running GameBench on your device, and see if our background service dies when the device is disconnected from the PC? I don't have a Note 5 Pro to test, and I've got some user complaints. Any assistance would be awesome!
J
gamebenchjake said:
@Nazukii - Quick question - any chance you could try running GameBench on your device, and see if our background service dies when the device is disconnected from the PC? I don't have a Note 5 Pro to test, and I've got some user complaints. Any assistance would be awesome!
J
Click to expand...
Click to collapse
Have you fixed your app to run on Magisk-SU ?
otonieru said:
Have you fixed your app to run on Magisk-SU ?
Click to expand...
Click to collapse
Hey Otonieru,
Not yet, but I've got one of the engineers working on it - hopefully it'll be up in the next 30 days or so
Same problem here after updating my gcam was not working was enabling hall again but it is not booting into twrp
Redmi Note 5 pro
So my Bootloader is locked,
My phone stuck in MI recovery idk how.
I cant install MIUI via fastboot. Im stuck ..
Can anyone please help me here not sure how to proceed further.
If you have made sure that you have all the drivers installed and still have not solved, you need to use an Intel-based PC / notebook and use a usb 2.0.
”Well if you already had adb in your pc, rename the twrp file to recovery, you don't have to move the twrp from download folder, open download folder press shift and right click then select open cmd here, on cmd type "adb device" to see if your device connected, then after that type this "fastboot flash recovery recovery.img" press enter than after that type "fastboot boot recovery.img" TEAMWIN logo should appear on your device and then you can unplug your device. Hope this useful”
i did that but it is showing failed(too many links)and "press any key to reboot" showing on my phone's fastboot screen
Fastboot boot recovery.img flashing problem on Redmi note 5 pro
My bootloader is unlocked and my oem as well as usb deb is on. After i connect my phone in fastboot mode to my pc. The cmd shows fastboot devices but when it comes to fastboot boot recovery.img flashing device get disconnected. Plzzzzzz let me know a solution for this. A solution for this will be highly appreciateable.

adb doesn't recognize my device in fastboot mode even with all drives installed

hello,
I need help, my device is not being recognized by adb in fastboot mode, I've tried several versions of adb (my boot-loader is unlocked) when it's on it recognizes normally, but when I do the command to enter fastboot mode, it enters and adb stops recognizing it,
when I do "adb devices" there isn't even a device connected, but the pc recognizes the device normally modelo (XT1952-2) android 10 .
but that's not the strangest thing, even without recognizing it, I can still install TWRP, but I can't even use a command (flash), that is, I can't install TWRP permanently, I always have to put it manually, and TWRP It doesn't work either, I can only install it but it doesn't work, I tried to install root via magisk using boot.
img from my room with the magisk modification but as the flash commands don't work it gives an error and whenever I try I have to reinstall the rom using "Rescue and Smart Assistant", and I've tried using masgisk.zip in TWRP, it installs I say it's all right but when I go to see it's as if nothing had been done and the magisk still doesn't work
Change the usb port to 2.0 not 3.0
Or try wirelessly.

Categories

Resources