Google Apps (gapps) install/flash issue - Xiaomi Mi 5 Questions & Answers

I've got a Xiaomi mi5 Chinese model purchased at the beginning of July 2016.
It had these ads that would not disappear, I saw a few complaints around the web about them, but no solutions, so I decided to unlock, root and ROM.
I unlocked the bootloader and used twrp recovery and installed/flashed "Resurrection Remix M v5.7.3-20160810 gemini".
On installing/flashing Resurrection Remix, the recovery seemed to die and not be accessible. Whenever I tried it would just come up with the 'Mi" logo and stay there. I managed to get around this by going into FastBoot and flashing a new recovery, "twrp_gemini_v8.img", which is apparently for "MIUIv8", this worked, although the language is set to Chinese and I can't seem to find how to change this, but hasn't stopped me navigating around it using google translate from another phone!
Now my issue is that as a China version, there is no google applications and for some reason, I can not install using apk or flash using recovery. I've tried the following
- com.android.vending_6.8.21.F-all_0_3036847-80682100_minAPI14(nodpi)_apkmirror.com.apk
- com.google.android.gms_8.7.03_(2645110-480)-8703480_minAPI23(x86,x86_64)(nodpi).apk
- PlayStore_v7.0.12.H-all.apk
But all either close Google Play as soon as it opens barely showing a white screen or come up with a message saying that "Unfortunately, Google Services Framework has Stopped" repeatedly. I've tried clearing the cache and app data from each of the apps before uninstalling them and then starting again, but no luck.
Not sure where to go from here, the phone is pretty close to being thrown in the bin tbh, but would like to get some feedback from this forum before I give up.
Thanks
Sam

use this method to change into MIUI 8 Global version
skip the miflash tool,... extract everything using 7zip,... move files to root directory example C:\miui8
connect phone into fastboot mode and run flash_all.bat

chiragkrishna said:
use [method to change into MIUI 8 Global version
skip the miflash tool,... extract everything using 7zip,... move files to root directory example C:\miui8
connect phone into fastboot mode and run flash_all.bat
Click to expand...
Click to collapse
Okay, thanks. That's put a new ROM on that does have Google Apps, but no longer Resurrection Remix. Also, strangely, the closest Locale to Australia was Vietnam!
Any pointers?

Related

Very Frustrated(not getting past bootanimation despite every try

I just got my motorola yesterday. I did quite a few things like unlocking it and rooting it..After my first initial root it worked fine but earlier today i decided to install lollipop. I was using the twrp version 2.7 to install the rom but i realised it wasnt working till i tried a few more time and it finally it. I tried back up my stock 4.4.4 room before i installed my new rom but it failed several times because i think the recovery was faulty to say the least. Anyways my lollipop worked very fine but i notice anytime i restarted the phone it took a long freaking time to restart but it was working normal as usual until i restarted my phone another time and realised i couldn't go past the bootanimation.It takes forever but i never get past it. I then decided to flash the twrp 2.8.0.1. After flashing i realised I could do a backup but it was too late. I tried a few tricks I've always used to get past the bootanimation like mounting the storage but it never shows up on my pc. I also tried side loading the rom using the adb sideload command but it never workedd.it always shows up saying "error: device not found" but when i go back to the bootloader and use the fastbootdevices command it shows up my device. IS there any recovery that will allow me to sucessfully mount my storage or sideload my rom without all this hussle?Even my the the bootloader unlock warning reboots several times before getting to the never ending bootanimation
rom:TitanPrimeROMv1.3-XT1068-69_RC1
XT1068
Rooted
TWRP 2.0.8.1
Window 8.1 64bit
I already have my mini sdk files
There's a number of guides in this subforum that goes through flashing the stock firmware for your phone. The reason you're getting bootloops is because there's currently no stable way to get root access on Lollipop for this phone, but it is being worked on.
ADB can be a bit finicky, so it'd probably be easier to have your ROM on the phone itself, whether in the data/media/ folder in Internal Storage, or on an SD card, since neither are wiped whenever you factory reset or clean your phone. TWRP 2.8.2.0 and above allows you to enable MTP mode so you can move your files straight onto or off your phone.
Actaully i managed to root my phone using chainfare's auto rode for the moto G.I just also installed twrp 2.8.0.3. Unfortunately,I dont have any rom on my phone which is bummer. Yh I do get to MTP enable my device in recovery but it never shows up on my pc.I have had issues like this before and I got it done in minutes without no problem..This is my first motorola device and I'm regretting my choice in buying this phone
sleekykenny said:
Actaully i managed to root my phone using chainfare's auto rode for the moto G.I just also installed twrp 2.8.0.3. Unfortunately,I dont have any rom on my phone which is bummer. Yh I do get to MTP enable my device in recovery but it never shows up on my pc.I have had issues like this before and I got it done in minutes without no problem..This is my first motorola device and I'm regretting my choice in buying this phone
Click to expand...
Click to collapse
Did you try manually selecting the driver is device manager?
http://forum.xda-developers.com/moto-g-2014/general/restore-to-stock-t2873657 This thread is your best friend. The other thing is that you'll probably need to uninstall the drivers for your phone from Hardware Manager on your OS, unplug your phone, then plug it back in when you're in recovery, and your OS should pull the right drivers to get ADB working. Still, you've got fastboot so the best option for you at the moment is to just restore your phone to stock and go from there.
As I said, though, root doesn't work on Lollipop for our phone yet, and AFAIK we don't have the kernel sources yet for Chainfire (the developer of SuperSU amongst other things) to get root access working without causing bootloops.
Traediras said:
http://forum.xda-developers.com/moto-g-2014/general/restore-to-stock-t2873657 This thread is your best friend. The other thing is that you'll probably need to uninstall the drivers for your phone from Hardware Manager on your OS, unplug your phone, then plug it back in when you're in recovery, and your OS should pull the right drivers to get ADB working. Still, you've got fastboot so the best option for you at the moment is to just restore your phone to stock and go from there.
As I said, though, root doesn't work on Lollipop for our phone yet, and AFAIK we don't have the kernel sources yet for Chainfire (the developer of SuperSU amongst other things) to get root access working without causing bootloops.
Click to expand...
Click to collapse
I tried this thread but the problem is that the required mfastboot-v2 file link is not working for me.Anytime i try downloading it i get the message "Sorry, this file is infected with a virus,Only the owner is allowed to download infected files."
sleekykenny said:
I tried this thread but the problem is that the required mfastboot-v2 file link is not working for me.Anytime i try downloading it i get the message "Sorry, this file is infected with a virus,Only the owner is allowed to download infected files."
Click to expand...
Click to collapse
Huh.
http://forum.xda-developers.com/showpost.php?p=47820707 This contains just the mfastboot.exe file for each OS, it /should/ work since it's essentially the same file. Just put the files in that .zip into your folder with adb and fastboot in it, and you should be good to go.
Traediras said:
Huh.
http://forum.xda-developers.com/showpost.php?p=47820707 This contains just the mfastboot.exe file for each OS, it /should/ work since it's essentially the same file. Just put the files in that .zip into your folder with adb and fastboot in it, and you should be good to go.
Click to expand...
Click to collapse
Thanks Dude, After your last message I rechecked the mfastboot-v2 folder on the thread and realised the only new file in there was the mfastboot.exe file so i quickly googled it and saw another thread in which i found the file.I downloaded it and then executed all the commands. Goshh I finally saw my phone boot up in a long time which brought a huge smile to my face.
I would like Thank all of you guys who took the time out to visit this thread and give me suggestions. THANK YOU BROS
I really appreaciate it. Happy new year
Glad to hear everything worked out for you. Happy New Year to you too.
Duplicate thread created by OP
Original is here
Please do not create multiple threads again.
Thread closed

Moto G 2014 can't boot into Android

Dear people of XDA Developers,
After installing some different ROMs and rooting my XT1068 Moto G 2014 it crashed. I can no longer use Android because somehow my Android is corrupt. I have been trying to fix this problem for a couple of weeks but after tons and tons of forum threads that didn’t quite match my problem I’m here explaining my problem. (btw my bootloader is still unlocked)
First of all, when I do a normal bootup on my Moto G, most of the times it will show the Motorola loading animation but when the animation would go away and show my lockscreen, it shows a black screen. In some rare cases it shows the animation, it says “preparing Android” and my Android would boot up but after a few seconds everything starts crashing and it gives messages like:
Unfortunately, process.android.acore has stopped.
Unfortunately, Google Play Services has stopped.
If I close these messages, they will all reappear.
My phone is able to boot into TWRP Custom Recovery from fastboot. I am running TWRP version v2.8.6 and I also have MultiROM v32 with trampoline v23, although I only have 1 ROM currently installed.
I have downloaded this Easy installer from the XDA Developers Forum:
(5.0.2 XT1068 Retaildsdsall Feb 25th LXB22.99-16 version 22.41.16)
I have put my phone into fastboot, I have put all the downloaded files into a folder on my Desktop and I have opened the Auto Restore Script.bat file. (see pictures 1 to 5)
After the process, the exact same things happen as I described earlier when booting up Android.
So then I downloaded a stock Lollipop 5.0.2 ROM from this forum thread:
(I downloaded the Pure Edition which was called “Stock_XT1068_22.21.28-ROM_PURE-EDITION.zip”
I downloaded the zip onto my microSD card which I then put into my phone. I booted up into fastboot and opened my recovery. For some reason it already said “E: Unable to open ‘/cache/recovery/.version’.”
Then I tapped on “wipe”, then “advanced wipe” and I selected everything except for MicroSD. It was done in about 1 second and it said “Wipe Complete” but “Failed” in red letters was written under it.
I still tried to continue, so then I went back and tapped on install. I navigated to the folder which the zip was located in, selected the zip and installed it. At the end it gave me the error: “E:Error executing updater binary in zip ‘/sdcard1/Stock_XT1068_22.21.28-ROM_PURE-EDITION.zip’”.
I really don’t know what to do from now on, so I would really appreciate your help!
Also, I put the file log (recovery.log) from trying to install the zip as an attachment on this post, and picture 6 is the response I get from typing “fastboot getvar all” in cmd.
Greetings,
Thomas
(By the way, i'm Dutch so please ignore some grammar/vocab errors )
TheSupermazter said:
Dear people of XDA Developers,
After installing some different ROMs and rooting my XT1068 Moto G 2014 it crashed. I can no longer use Android because somehow my Android is corrupt. I have been trying to fix this problem for a couple of weeks but after tons and tons of forum threads that didn’t quite match my problem I’m here explaining my problem. (btw my bootloader is still unlocked)
First of all, when I do a normal bootup on my Moto G, most of the times it will show the Motorola loading animation but when the animation would go away and show my lockscreen, it shows a black screen. In some rare cases it shows the animation, it says “preparing Android” and my Android would boot up but after a few seconds everything starts crashing and it gives messages like:
Unfortunately, process.android.acore has stopped.
Unfortunately, Google Play Services has stopped.
If I close these messages, they will all reappear.
My phone is able to boot into TWRP Custom Recovery from fastboot. I am running TWRP version v2.8.6 and I also have MultiROM v32 with trampoline v23, although I only have 1 ROM currently installed.
I have downloaded this Easy installer from the XDA Developers Forum:
(5.0.2 XT1068 Retaildsdsall Feb 25th LXB22.99-16 version 22.41.16)
I have put my phone into fastboot, I have put all the downloaded files into a folder on my Desktop and I have opened the Auto Restore Script.bat file. (see pictures 1 to 5)
After the process, the exact same things happen as I described earlier when booting up Android.
So then I downloaded a stock Lollipop 5.0.2 ROM from this forum thread:
(I downloaded the Pure Edition which was called “Stock_XT1068_22.21.28-ROM_PURE-EDITION.zip”
I downloaded the zip onto my microSD card which I then put into my phone. I booted up into fastboot and opened my recovery. For some reason it already said “E: Unable to open ‘/cache/recovery/.version’.”
Then I tapped on “wipe”, then “advanced wipe” and I selected everything except for MicroSD. It was done in about 1 second and it said “Wipe Complete” but “Failed” in red letters was written under it.
I still tried to continue, so then I went back and tapped on install. I navigated to the folder which the zip was located in, selected the zip and installed it. At the end it gave me the error: “E:Error executing updater binary in zip ‘/sdcard1/Stock_XT1068_22.21.28-ROM_PURE-EDITION.zip’”.
I really don’t know what to do from now on, so I would really appreciate your help!
Also, I put the file log (recovery.log) from trying to install the zip as an attachment on this post, and picture 6 is the response I get from typing “fastboot getvar all” in cmd.
Greetings,
Thomas
(By the way, i'm Dutch so please ignore some grammar/vocab errors )
Click to expand...
Click to collapse
Try this: http://forum.xda-developers.com/moto-g-2014/general/restore-to-stock-t2873657 without the "mfastboot.exe oem lock begin" part
KuranKaname said:
Try this: http://forum.xda-developers.com/moto-g-2014/general/restore-to-stock-t2873657 without the "mfastboot.exe oem lock begin" part
Click to expand...
Click to collapse
Nope, i can boot up, but when the bootup animation stops, i get all these error messages again:
Unfortunately, process.android.acore has stopped.
Unfortunately, Google Play Services has stopped.
etc.
Thanks for your time btw,
Thomas
TheSupermazter said:
Nope, i can boot up, but when the bootup animation stops, i get all these error messages again:
Unfortunately, process.android.acore has stopped.
Unfortunately, Google Play Services has stopped.
etc.
Thanks for your time btw,
Thomas
Click to expand...
Click to collapse
Did you try to install a custom rom?
Try restoring to stock with fastboot
ethanchow said:
Try restoring to stock with fastboot
Click to expand...
Click to collapse
That's what i did, only all commands were automatically typed in thanks to the autostorescript.bat file from the Easy Installer
KuranKaname said:
Did you try to install a custom rom?
Click to expand...
Click to collapse
I did, i tried several ROMs but all of them give the same error which is:
E:Error executing binary in zip "sdcard1/NameOfROMRightHere.zip"
I googled this error but all i found was for CyanogenMod which i haven't got installed on my device and is not the ROM i want to get on it.
I have also tried some Android 4.4 ROMs but no luck with those either.
~Thomas
TheSupermazter said:
I did, i tried several ROMs but all of them give the same error which is:
E:Error executing binary in zip "sdcard1/NameOfROMRightHere.zip"
I googled this error but all i found was for CyanogenMod which i haven't got installed on my device and is not the ROM i want to get on it.
I have also tried some Android 4.4 ROMs but no luck with those either.
~Thomas
Click to expand...
Click to collapse
What recovery are you using?
KuranKaname said:
What recovery are you using?
Click to expand...
Click to collapse
As i said in the original post, i am using TWRP Recovery version v2.8.6.
TheSupermazter said:
As i said in the original post, i am using TWRP Recovery version v2.8.6.
Click to expand...
Click to collapse
Try using Philz recovery: http://forum.xda-developers.com/moto-g-2014/orig-development/recovery-philz-touch-recovery-t3006838
Sounds like your eMMC is bad.
If that is the case, it's non- recoverable and you'll need to get a new device.
Sent from my XT1031™

Bootloop / can't flash any ROM

Hello, I have a Redmi 4x and I recently applied to unlock the bootloader.
After that, I tried installing SANTONI Resurrection Remix 6.1.0, but after booting to TWRP I downloaded from the link given in the thread, it was asking the decryption password. After googling it, I found it was the pin used to unlock the phone. I was entering the correct pin and after changing it twice from the MIUI settings, then I was stuck in a bootloop. I do not know what happened exactly, after rebooting from TWRP, I couldn't boot to the system or the recovery any more. So I downloaded the XiaoMiFlash tool and the Xiaomi_Redmi_4X_V8.2.10.0.MAMMIEA_20170609.0000.00_6.0_Global ROM and flashed it using the tool. Once the whole process is done, the phone reboots, but after the boot animation many messages from many apps start popping, all saying the same, except the name of the app, for example "Themes has stopped working", "Google services has stopped working". The recovery is now changed to a screen showing my phone and a cable saying only "pcsuite.mi.com". After installing the PCsuite, it won't recognize my phone. I also can't flash TWRP, because I get the following message in the command prompt: "error: no devices/emulators found", I think because I first need to enable USB Debugging in the new ROM. But the device can be recognized by the XiaoMiFlash tool.
I tried downloading an other ROM from Xiaomi, but MIUI ROM Download Page Shuts Down Temporarily Due to System Update.
What should I do?
Thank you in advance!
try download miui 9 fasboot rom from another link http://en.miui.com/thread-3019374-1-1.html
Yup! That one worked like a charm! I'm on RR now, thanks!

Full all out reset

I've rooted my RP2 about 5 months ago. 3 of those months the root has been fine I've had no problems until suddenly my GPS stopped working properly, then I was like cool whatever I can deal with it. Then after awhile my camera started acting up and I can't use it at all. I dunno what I downloaded or installed to cause that. But I've been trying to figure it out for 2 months and decided to ask here if anyone knows how to completely wipe everything via ADB because I'm unrooted currently and also tried Factory Reset
T-Real33 said:
I've rooted my RP2 about 5 months ago. 3 of those months the root has been fine I've had no problems until suddenly my GPS stopped working properly, then I was like cool whatever I can deal with it. Then after awhile my camera started acting up and I can't use it at all. I dunno what I downloaded or installed to cause that. But I've been trying to figure it out for 2 months and decided to ask here if anyone knows how to completely wipe everything via ADB because I'm unrooted currently and also tried Factory Reset
Click to expand...
Click to collapse
You can get all of the files you need to wipe your phone completely and restore a clean untouched version of the software from Razer's Developer Portal site. All you need to do to get there is google, "Razer phone 2 factory images" and click the top link. Just above the downloads for the factory images is a link to unlock your bootloader fully and how to set up adb for the flash_all script to work correctly.
From the factory images site, you should download the latest image file for your carrier of phone. I.e. if you have the global versionof the RP2, download the MR1 zip file under the global images section(P-MR1-RC003-RZR-190305.3110). Everything you need to restore your phone to absolute fresh start will be in the zip file and in the provided instructions.
If the flash script in the zip keeps spitting out errors about fastboot not being a command then you need to follow the steps on Razer's site to add adb and fastboot to your PATHs variable. If it just rushes through the script and resets your phone without pushing files, don't run the flash script as administrator and if that doesn't solve it, then use the command line to reboot the phone into the bootloader with "fastboot reboot bootloader" and try again.
Great guide Alex,
Just to add If you don't want to add the path as a variable, you can always copy paste all the files from minimal ADB/Fastboot (assuming that's what your using),
to the unzipped folder from Razer and run the flash
(my I also note using the global version will remove all of the Three UK bloat and put the device on the update schedule from razer not '3' if that's something you want to do).

Help with rom

So i flashed The pixelrom for mi8, and so far so good, but now i want to install magisk and twrp is gone, it was replaced with the stock recovery, and now when i try to do the exact same process with xiaomitoolv2 he detects my phone has pixel 4 and doesn't detect, i tried fastboot but it doesn't work either, Im running xubuntu x64
https://i.imgur.com/J9E6QmWl.png
EDIT: AFTER SEEING SOME POSTS HERE ON XDA I MANAGED TO USE XIAOMI MI FLASH TOOL WITH SUCCESS!, I NEEDED A USB HUB AND CONNECT THE PHONE IN FASTBOOT AND THEN APPLY THE STOCK IMAGES!, ANYONE WHO NEEDS HELP THIS SOLUTION CAN WORK ( ALL MY 3 USB PORTS DIDN'T WORK, WITH HUB IT WORKED )
ClaudioG123 said:
So i flashed The pixelrom for mi8, and so far so good, but now i want to install magisk and twrp is gone, it was replaced with the stock recovery, and now when i try to do the exact same process with xiaomitoolv2 he detects my phone has pixel 4 and doesn't detect, i tried fastboot but it doesn't work either, Im running xubuntu x64
https://i.imgur.com/J9E6QmWl.png
Click to expand...
Click to collapse
You do not have fastboot? ( think its more likely that you just can see the fastboot screen, but the phone is likely in fastboot mode. Because it sounds like you flashed a custom splash screen, which is causing your fastboot screen to not come up.
Also It seems that you missed some of the steps outlined in the install instructions for the Pixel rom ( I assume the Pixel 3 Q rom?)
You must install Magisk on that rom, you must use recommended TWRP,
I haven't used Ubuntu for flashing Roms recently so I can't provide solid recent steps on Ubuntu.
So I would suggest using a PC , ( surely you know someone with a PC) Enter fastboot, then you can verify that the phone actually can enter fastboot by checking Device manager, or by verifying that the phone is seen by ADB
If you are unable to access fastboot, you will need to go into EDL mode. Once in EDL
Download fastboot dipper images rom, and use flashall.bat method to restore the phone.
Download dipper_global_images_9.6.27_20190627.0000.00_9.0_global or a newer fastboot rom such as 10 .3..5 But It has to be a fastboot rom and not a Recovery rom
Unpack the rom twice on your desktop
You will be left with a folder and inside you will see batch files and a image folder.
Doubleclick Flashall.bat ( be careful on what you click, you want flashall.bat only) with the phone attached an in Recovery mode, fastboot or EDL
Flashall.bat is a batch script that will wipe your phone and restore all images, and then boot to system.
You should then Setup rom
Afterwards install TWRP and root then create a full Twrp backup and save to your PC.
This way you will have a quick solution if you ever need it again in the future.
Enjoy a working phone
Rom Link : https://bigota.d.miui.com/9.6.27/di...27_20190627.0000.00_9.0_global_30e0fc22ef.tgz
Any images fastboot rom will work, you can use the one I listed above or you can use the recent 10.3.5 Stable images rom, just find the link via Google.
I just spent 20 minutes typing this, so be considerate and click thanks or send me a beer if you want.
tsongming said:
You do not have fastboot? ( think its more likely that you just can see the fastboot screen, but the phone is likely in fastboot mode. Because it sounds like you flashed a custom splash screen, which is causing your fastboot screen to not come up.
Also It seems that you missed some of the steps outlined in the install instructions for the Pixel rom ( I assume the Pixel 3 Q rom?)
You must install Magisk on that rom, you must use recommended TWRP,
I haven't used Ubuntu for flashing Roms recently so I can't provide solid recent steps on Ubuntu.
So I would suggest using a PC , ( surely you know someone with a PC) Enter fastboot, then you can verify that the phone actually can enter fastboot by checking Device manager, or by verifying that the phone is seen by ADB
If you are unable to access fastboot, you will need to go into EDL mode. Once in EDL
Download fastboot dipper images rom, and use flashall.bat method to restore the phone.
Download dipper_global_images_9.6.27_20190627.0000.00_9.0_global or a newer fastboot rom such as 10 .3..5 But It has to be a fastboot rom and not a Recovery rom
Unpack the rom twice on your desktop
You will be left with a folder and inside you will see batch files and a image folder.
Doubleclick Flashall.bat ( be careful on what you click, you want flashall.bat only) with the phone attached an in Recovery mode, fastboot or EDL
Flashall.bat is a batch script that will wipe your phone and restore all images, and then boot to system.
You should then Setup rom
Afterwards install TWRP and root then create a full Twrp backup and save to your PC.
This way you will have a quick solution if you ever need it again in the future.
Enjoy a working phone
Rom Link : https://bigota.d.miui.com/9.6.27/di...27_20190627.0000.00_9.0_global_30e0fc22ef.tgz
Any images fastboot rom will work, you can use the one I listed above or you can use the recent 10.3.5 Stable images rom, just find the link via Google.
I just spent 20 minutes typing this, so be considerate and click thanks or send me a beer if you want.
Click to expand...
Click to collapse
Tried that but this happens in the batch file, also it goes to the fastboot screen where it appears fastboot and the figure, but when i press the batch he leaves that screen and goes to black screen with on top saying press to restart or shutdown, and that error occurs on the batch, even if the phone isn't conected it gets me that error
ClaudioG123 said:
Tried that but this happens in the batch file, also it goes to the fastboot screen where it appears fastboot and the figure, but when i press the batch he leaves that screen and goes to black screen with on top saying press to restart or shutdown, and that error occurs on the batch, even if the phone isn't conected it gets me that error
Click to expand...
Click to collapse
And also I only went Linux because on Windows the phone was getting detected but wasn't working, and Linux was detecting and working with xiaomitoolv2
I will try on Linux to see If the error persists, but that error can he there because the phone, the brand, model and codename are the same has the pixel 4
ClaudioG123 said:
And also I only went Linux because on Windows the phone was getting detected but wasn't working, and Linux was detecting and working with xiaomitoolv2
I will try on Linux to see If the error persists, but that error can he there because the phone, the brand, model and codename are the same has the pixel 4
Click to expand...
Click to collapse
If you are using linux and successful rebooted the phone into fastboot mode, just try to replace the recovery.
Download the recent version of TWRP for your phone and move it to the fastboot directory then open a shell in that directory.
Type in your shell: "sudo fastboot flash recovery yourtwrpimage.img"
Now, unplug the USB and you MUST reboot and immediately hold down the upvolume and power until the TWRP boots. If you miss it, the system will replace the stock recovery image again and you will have to start over.
You can then individually flash the partition images of your choice or ROM ZIP file, but you will still have to flash the full fastboot images after you get the phone recognizing as an mi8.
Agimax said:
If you are using linux and successful rebooted the phone into fastboot mode, just try to replace the recovery.
Download the recent version of TWRP for your phone and move it to the fastboot directory then open a shell in that directory.
Type in your shell: "sudo fastboot flash recovery yourtwrpimage.img"
Now, unplug the USB and you MUST reboot and immediately hold down the upvolume and power until the TWRP boots. If you miss it, the system will replace the stock recovery image again and you will have to start over.
You can then individually flash the partition images of your choice or ROM ZIP file, but you will still have to flash the full fastboot images after you get the phone recognizing as an mi8.
Click to expand...
Click to collapse
Will try soon as im home, if i get waiting for device should i wait?
Agimax said:
If you are using linux and successful rebooted the phone into fastboot mode, just try to replace the recovery.
Download the recent version of TWRP for your phone and move it to the fastboot directory then open a shell in that directory.
Type in your shell: "sudo fastboot flash recovery yourtwrpimage.img"
Now, unplug the USB and you MUST reboot and immediately hold down the upvolume and power until the TWRP boots. If you miss it, the system will replace the stock recovery image again and you will have to start over.
You can then individually flash the partition images of your choice or ROM ZIP file, but you will still have to flash the full fastboot images after you get the phone recognizing as an mi8.
Click to expand...
Click to collapse
I can try to see if he works with xiaomitoolv2, and will try what you said and post here
tsongming said:
you do not have fastboot? ( think its more likely that you just can see the fastboot screen, but the phone is likely in fastboot mode. Because it sounds like you flashed a custom splash screen, which is causing your fastboot screen to not come up.
Also it seems that you missed some of the steps outlined in the install instructions for the pixel rom ( i assume the pixel 3 q rom?)
you must install magisk on that rom, you must use recommended twrp,
i haven't used ubuntu for flashing roms recently so i can't provide solid recent steps on ubuntu.
so i would suggest using a pc , ( surely you know someone with a pc) enter fastboot, then you can verify that the phone actually can enter fastboot by checking device manager, or by verifying that the phone is seen by adb
if you are unable to access fastboot, you will need to go into edl mode. Once in edl
download fastboot dipper images rom, and use flashall.bat method to restore the phone.
download dipper_global_images_9.6.27_20190627.0000.00_9.0_global or a newer fastboot rom such as 10 .3..5 but it has to be a fastboot rom and not a recovery rom
unpack the rom twice on your desktop
you will be left with a folder and inside you will see batch files and a image folder.
doubleclick flashall.bat ( be careful on what you click, you want flashall.bat only) with the phone attached an in recovery mode, fastboot or edl
flashall.bat is a batch script that will wipe your phone and restore all images, and then boot to system.
you should then setup rom
afterwards install twrp and root then create a full twrp backup and save to your pc.
this way you will have a quick solution if you ever need it again in the future.
enjoy a working phone
rom link : https://bigota.d.miui.com/9.6.27/di...27_20190627.0000.00_9.0_global_30e0fc22ef.tgz
any images fastboot rom will work, you can use the one i listed above or you can use the recent 10.3.5 stable images rom, just find the link via google.
I just spent 20 minutes typing this, so be considerate and click thanks or send me a beer if you want.
Click to expand...
Click to collapse
i used this solution but i go i connected the phone in a usb hub!
ClaudioG123 said:
i used this solution but i go i connected the phone in a usb hub!
Click to expand...
Click to collapse
Did you try as @Agimax suggested? You have shown that the device is seen in fastboot. If you can push recovery to the phone then the issue will be easily resolved.
You should also be able to use this modified MiFlash : https://forum.xda-developers.com/android/software/tool-miflash-linux-t3708847
( Maybe you are already using this?)
I have also had the issue in the past where fastboot was available but attempting to push recovery failed. In some cases trying alternate versions of TWRP would work, and for me fastboot flashall will usually always work.
Another option is to push the images from the images folder individually. if one fails go to the next and then come back and retry the images that failed the first time. (Edit: I just reread Agimax post above, he mentioned this already.)
If you are in EDL mode you should be able to restore the stock images without receiving the error message You can enter EDL without opening the device, either by using a EDL deep flash cable or https://forum.xda-developers.com/redmi-note-3/how-to/guide-reboot-to-edl-mode-fastboot-test-t3398718
Another option ( requires a PC) is QPST, which I have used a lot in the past, its quick and easy to use. : https://miui.blog/any-devices/qualcomm-qpst-tool/
tsongming said:
Did you try as @Agimax suggested? You have shown that the device is seen in fastboot. If you can push recovery to the phone then the issue will be easily resolved.
You should also be able to use this modified MiFlash : https://forum.xda-developers.com/android/software/tool-miflash-linux-t3708847
( Maybe you are already using this?)
I have also had the issue in the past where fastboot was available but attempting to push recovery failed. In some cases trying alternate versions of TWRP would work, and for me fastboot flashall will usually always work.
Another option is to push the images from the images folder individually. if one fails go to the next and then come back and retry the images that failed the first time. (Edit: I just reread Agimax post above, he mentioned this already.)
If you are in EDL mode you should be able to restore the stock images without receiving the error message You can enter EDL without opening the device, either by using a EDL deep flash cable or https://forum.xda-developers.com/redmi-note-3/how-to/guide-reboot-to-edl-mode-fastboot-test-t3398718
Another option ( requires a PC) is QPST, which I have used a lot in the past, its quick and easy to use. : https://miui.blog/any-devices/qualcomm-qpst-tool/
Click to expand...
Click to collapse
Your solution worked with the phone in fastboot, but i had to try a usb hub, that's all, has for roms, experienced both of pixelrom3 and havoc and didn't conviced me enough, i find miui 11 of xiaomi.eu more good looking and doesn't have bugs, and thank you, you are a lifesafer, if it wasn't for that i would have never flashed stock rom back
tsongming said:
Did you try as @Agimax suggested? You have shown that the device is seen in fastboot. If you can push recovery to the phone then the issue will be easily resolved.
You should also be able to use this modified MiFlash : https://forum.xda-developers.com/android/software/tool-miflash-linux-t3708847
( Maybe you are already using this?)
I have also had the issue in the past where fastboot was available but attempting to push recovery failed. In some cases trying alternate versions of TWRP would work, and for me fastboot flashall will usually always work.
Another option is to push the images from the images folder individually. if one fails go to the next and then come back and retry the images that failed the first time. (Edit: I just reread Agimax post above, he mentioned this already.)
If you are in EDL mode you should be able to restore the stock images without receiving the error message You can enter EDL without opening the device, either by using a EDL deep flash cable or https://forum.xda-developers.com/redmi-note-3/how-to/guide-reboot-to-edl-mode-fastboot-test-t3398718
Another option ( requires a PC) is QPST, which I have used a lot in the past, its quick and easy to use. : https://miui.blog/any-devices/qualcomm-qpst-tool/
Click to expand...
Click to collapse
After i put the usb usb on laptop both solutions worked, and i was in windows and not linux, in linux works also
ClaudioG123 said:
After i put the usb usb on laptop both solutions worked, and i was in windows and not linux, in linux works also
Click to expand...
Click to collapse
That's great sorry for being late to respond, I haven't had time to check XDA for a couple of days. But I an really glad that you got everything sorted out.
BTW, I agree about Xiaomi.EU, and I also find it to be the most stable...by far. Plus, it's obviously the most up to date. No doubt that AOSP roms are fun, but also very unpredictable. I keep Xaiomi.EU on mi daily driver, ( the Mi8) and I tinker around with AOSP roms on my old phones.
Take care
tsongming said:
That's great sorry for being late to respond, I haven't had time to check XDA for a couple of days. But I an really glad that you got everything sorted out.
BTW, I agree about Xiaomi.EU, and I also find it to be the most stable...by far. Plus, it's obviously the most up to date. No doubt that AOSP roms are fun, but also very unpredictable. I keep Xaiomi.EU on mi daily driver, ( the Mi8) and I tinker around with AOSP roms on my old phones.
Take care
Click to expand...
Click to collapse
Currently on miui 11 on mine, and it's perfect, like the design vs miui 10 from official, it's fast and stable, only thing is that some apps that use gps are sometimes bugged, and does your mi8 drain battery a bit faster than in miui 10?
ClaudioG123 said:
Currently on miui 11 on mine, and it's perfect, like the design vs miui 10 from official, it's fast and stable, only thing is that some apps that use gps are sometimes bugged, and does your mi8 drain battery a bit faster than in miui 10?
Click to expand...
Click to collapse
Yeah, I don't think that they have that part completely sorted yet. I definitely had better battery life on the last Xiaomi.EU Pie rom. But its not too bad with this latest version. Checking Gsam battery manager just now my average is 7HR's 6 Min SOT Whereas with the Miui 11 Xiaomi EU Chinese Stable rom, I averages about 10 hrs SOT ( If I remember correctly)
Personally, I am not having any app issues.
Usually if I had a permissions issues after restoring apps, I would just uninstall and reinstall the app and that will usually take care of any issues. Another thing to check , is t make sure that any problem apps have the right permissions enabled.
tsongming said:
Yeah, I don't think that they have that part completely sorted yet. I definitely had better battery life on the last Xiaomi.EU Pie rom. But its not too bad with this latest version. Checking Gsam battery manager just now my average is 7HR's 6 Min SOT Whereas with the Miui 11 Xiaomi EU Chinese Stable rom, I averages about 10 hrs SOT ( If I remember correctly)
Personally, I am not having any app issues.
Usually if I had a permissions issues after restoring apps, I would just uninstall and reinstall the app and that will usually take care of any issues. Another thing to check , is t make sure that any problem apps have the right permissions enabled.
Click to expand...
Click to collapse
Im using Europe instead of china, does it change? Read changelog and didnt figured it out
This app works on android 9 but on 10 it bugs didn't had the issue back with miui 10 stock
Liked the fact that they boosted sound
ClaudioG123 said:
Im using Europe instead of china, does it change? Read changelog and didnt figured it out
This app works on android 9 but on 10 it bugs didn't had+ the issue back with miui 10 stock
Liked the fact that they boosted sound
Click to expand...
Click to collapse
I am also using the Xiaomi EU rom because I want to use Android 10, and as I mentioned for me the battery life is fine. So I wouldn't recommend changing.
If you having app issues, see if there is a beta version of that app.
tsongming said:
I am also using the Xiaomi EU rom because I want to use Android 10, and as I mentioned for me the battery life is fine. So I wouldn't recommend changing.
If you having app issues, see if there is a beta version of that app.
Click to expand...
Click to collapse
Mate, you are using MIUI 10 eu latest beta pie update or stable? I curiuous your rom coz you saying you are taking good battery life.
Sorry for my bad English.
harnkalkn said:
Mate, you are using MIUI 10 eu latest beta pie update or stable? I curiuous your rom coz you saying you are taking good battery life.
Sorry for my bad English.
Click to expand...
Click to collapse
I am using the weekly Xiaomi.Eu beta rom, averaging 7 hours and 15 minutes SOT and no real issues.
mi 8 bricked
i bricked mi 8 when i try to re-lock bootloader. now i only received a main menu and red massage "this miui version can't be installed on this device". anyone can help me?

Categories

Resources