Hello,
I have thought about it and I want to try install CyanogenMod 12 on my LG G3 device, its an D855.
I wanted to ask how do I do that in the safest way, how do I backup everything and how do I install it from good place and if I want to go back to my stock ROM how do I do that.
I want to backup everything, pictures, music, music playlists, contacts, calendar, everything! The most of the are in my SD card, but I don't know actually how do I save playlists for example.
Furthermore, should I get CM 12? What do you think about it? why yes or why not?
Thank you!!
BrandonSIII said:
Hello,
I have thought about it and I want to try install CyanogenMod 12 on my LG G3 device, its an D855.
I wanted to ask how do I do that in the safest way, how do I backup everything and how do I install it from good place and if I want to go back to my stock ROM how do I do that.
I want to backup everything, pictures, music, music playlists, contacts, calendar, everything! The most of the are in my SD card, but I don't know actually how do I save playlists for example.
Furthermore, should I get CM 12? What do you think about it? why yes or why not?
Thank you!!
Click to expand...
Click to collapse
This type of question belongs in Q&A section.
First you want to start with rooting your device. To root it you could use:
http://forum.xda-developers.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951
or find some other root method. Look for them here on xda LG G3 forum, or simply google it.
After rooting your device you want to flash TWRP recovery. To do that follow the instructions in this thread: http://forum.xda-developers.com/lg-g3/orig-development/recovery-twrp-touch-recovery-2-8-2-0-t2966129
After flashing TWRP either by adb or flashify, enter your recovery by powering off your phone and holding both power button and volume down button till you see LG logo, releasing them for 1 sec, then holding both of them again till you are offered to do a factory restart. Click yes if you did successfully flash your TWRP recovery. Your device wont be factory restarted, you will enter TWRP. You could also enter TWRP by using adb by typing: adb reboot recovery
After entering TWRP go to backup and do full backup of your storage(boot, system, data, modem, efs).
After finishing that go get your desired ROM. Pick one from here:
http://forum.xda-developers.com/lg-g3/development
Tastes are different, but I can reccomend you Blisspop, Resurrection ROM, etc.
It would be best if you try for yourself.
After downloading your zips, go back to TWRP and do a clean wipe. Wipe your system, data, cache and dalvik cache partitions.
Following that go back to TWRP home and install your ROM by pressing Install, then picking the zip with desired ROM and sliding up slider to flash. You will also want to flash Gapps. You get those from the same thread you found your ROM.
As for your music, photos, they wont be deleted as long as you only wipe your system, data, cache or dalvik cache.
For playlist, they will also stay, but I'm not sure you will be able to use them on new music player you get on your new ROM.
And finally callendar, contats can be backed up by synchronising them with your Google account.
NatusVincere said:
This type of question belongs in Q&A section.
First you want to start with rooting your device. To root it you could use:
http://forum.xda-developers.com/lg-g3/general/guide-root-lg-firmwares-kitkat-lollipop-t3056951
or find some other root method. Look for them here on xda LG G3 forum, or simply google it.
After rooting your device you want to flash TWRP recovery. To do that follow the instructions in this thread: http://forum.xda-developers.com/lg-g3/orig-development/recovery-twrp-touch-recovery-2-8-2-0-t2966129
After flashing TWRP either by adb or flashify, enter your recovery by powering off your phone and holding both power button and volume down button till you see LG logo, releasing them for 1 sec, then holding both of them again till you are offered to do a factory restart. Click yes if you did successfully flash your TWRP recovery. Your device wont be factory restarted, you will enter TWRP. You could also enter TWRP by using adb by typing: adb reboot recovery
After entering TWRP go to backup and do full backup of your storage(boot, system, data, modem, efs).
After finishing that go get your desired ROM. Pick one from here:
http://forum.xda-developers.com/lg-g3/development
Tastes are different, but I can reccomend you Blisspop, Resurrection ROM, etc.
It would be best if you try for yourself.
After downloading your zips, go back to TWRP and do a clean wipe. Wipe your system, data, cache and dalvik cache partitions.
Following that go back to TWRP home and install your ROM by pressing Install, then picking the zip with desired ROM and sliding up slider to flash. You will also want to flash Gapps. You get those from the same thread you found your ROM.
As for your music, photos, they wont be deleted as long as you only wipe your system, data, cache or dalvik cache.
For playlist, they will also stay, but I'm not sure you will be able to use them on new music player you get on your new ROM.
And finally callendar, contats can be backed up by synchronising them with your Google account.
Click to expand...
Click to collapse
Sorry about messing with the forums.
Thank you for your help, but I can't understand some things and I would like if you could explain me some of them.
What is the correct order of the things I should do to get CyanogenMod 12? Root first, next what? and after that?..
Someone gave me this guide, this is fine guide?
What do I wipe, how do I install the new ROM, where do I download the ROM? to my computer, to my phone, where do I save the zip files and how do I open them after in the installation? and do I know that the files are good?
This will wipe all my device and look like the day I bought him? with nothing in it? or it should keep my things?
And how do I get Play Store and Google applications after? and I still can use the Play Store right? with buying stuff from it?
And Im using PowerAMP for my music, so I should download it after installing the ROM and I think that the playlists will be there.
Thank you for helping!!!
BrandonSIII said:
Sorry about messing with the forums.
Thank you for your help, but I can't understand some things and I would like if you could explain me some of them.
What is the correct order of the things I should do to get CyanogenMod 12? Root first, next what? and after that?..
Someone gave me this guide, this is fine guide?
What do I wipe, how do I install the new ROM, where do I download the ROM? to my computer, to my phone, where do I save the zip files and how do I open them after in the installation? and do I know that the files are good?
This will wipe all my device and look like the day I bought him? with nothing in it? or it should keep my things?
And how do I get Play Store and Google applications after? and I still can use the Play Store right? with buying stuff from it?
And Im using PowerAMP for my music, so I should download it after installing the ROM and I think that the playlists will be there.
Thank you for helping!!!
Click to expand...
Click to collapse
You do in in the order I wrote.
Ok, step by step:
1.
Root device, use: http://forum.xda-developers.com/lg-g3/development/tool-dp-root-tool-to-root-lg-devices-t3075007
This is the direct link to the tool: https://www.androidfilehost.com/?fid=95916177934552571
Download it to your PC, of course install LG drivers to your PC before.
Enable USB debugging in Developer options on your device. To enable developer options go to about device, and click 7 times on build version. Connect your device to PC, run the tool mentioned above.
2.
Flash TWRP by using: http://forum.xda-developers.com/lg-g3/general/apk-flash-twrp-autorec-thanks-to-t3081396
Direct link to the app: https://play.google.com/store/apps/details?id=b007.autorecd855
Download the app, install it, run it.
3.
Get your desired ROM.
You said its Cyanogenmod. Get it from that guide you found: http://lgg3root.com/t-mobile-g3-roms/android-5-1-1-root-for-lg-g3-cm12-1-rom/
Direct Link:
http://downloadandroidrom.com/file/LGG3/D855roms/CM12.1/cm-12.1-20150422-UNOFFICIAL-d855.zip
Download the ROM on your external or internal SD card.
To verify if ROM is valid use md5 checker, you have it built in in ES File Explorer (which you can download from Google Play) or find some other md5 check tool.
You have md5 value in the link I gave you above.
Also get your gapps from this thread.
Direct link: http://downloadandroidrom.com/file/gapps/5.1/gapps-L-4-21-15.zip
Save them on your internal or extrernal SD card.
4.
Flash the ROM and do a backup beforehand.
For this you need to enter the recovery we flashed in step 2.
You could do it in few ways. First one is to power off the device, then power it on by holding both power button and volume down button togeather, realeasing them for a second when you see LG logo, then holding them down togeather again till you are offered a choice to do a factory restart, click yes if you did successfully install your TWRP in step 2. Your device wont be wiped, you will enter the recovery.
Second way to enter your recovery is to use adb, enter adb, and write these:
su
adb reboot recovery
or use terminal emulator (dowload it from Google Play) and write:
su
reboot recovery
Thrid way would be to download some app from Google Play which will automaticlly reboot you to your recovery.
After you enter your recovery you will go to backup and do a backup of these: boot, system, data, efs, modem.
Following that you will fully wipe your device by doing this: go to TWRP home, click to wipe, advanced wipe, check these: system, data, cache, dalvik cache.
Finally you will go back to TWRP home, go to install, find your zip (Cyanogenmode, which you downloaded before) and slide to install it. Find your Gapps zip and install these as well. Gapps stand for Google Apps so you will be able to use Google Play and other Google Services.
You Finish with this. Reboot your device, wait for dalvik cache to build, have fun.
Your music, playlists will still stay on your internal SD card, they wont be deleted. You will also have a nandroid backup in case something goes badly. If that does happen, go enter TWRP again and restore it.
Related
Hi guys
Just bought a seconhand Desire. The previous owner had wiped it all clean for me but I dont have marketplace! I have downloaded g apps and installed it from SD card and it installs. But when the phone boots up again there is still no marketplace! I have tried and tried.
Also tried adding and syncing account and it keeps saying unable to connect to server! I have tried everything I can as I am still a newb with this!
Any help or suggestions would be much appreciated!!!
tumo85 said:
Hi guys
Just bought a seconhand Desire. The previous owner had wiped it all clean for me but I dont have marketplace! I have downloaded g apps and installed it from SD card and it installs. But when the phone boots up again there is still no marketplace! I have tried and tried.
Also tried adding and syncing account and it keeps saying unable to connect to server! I have tried everything I can as I am still a newb with this!
Any help or suggestions would be much appreciated!!!
Click to expand...
Click to collapse
go to revolutionary.io and S-OFF the phone.
go to market and download 4EXT recovery control (I think there is free and paid version)
open the app, select the "touch" tab, and select a recovery (the latest recoveries are unavailable on non-paid version)
Then reboot into recovery (power off, hold volume down + power, wait for bootloader to flash green text (ignore it), press volume down to highlight recovery, press power) Once it boots into recovery you can either a) flash google apps b) flash a completely different ROM.
-------------------------------
a) If you don't want a custom ROM, just download gapps, place it on your sd-card (while in recovery, you can plug the phone into pc and select "toggle usb storage"), then go to "install from sd-card" and choose the .zip file you put on your sd-card. Once the process finishes you will have all google apps.
-------------------------------
b) If you would like to flash a custom ROM (I would, they're awesome), then backup your ROM (from backup & restore). Then go to wipe/format and select Wipe ALL partitions (except for sd-card)
Then download a ROM from the android development section, stick it on your sd-card and flash it (install zip from sd-card).
Some ROMs require a custom HBOOT partition before you flash a ROM, and you can get the from alpharev.nl (always make sure to check the md5 sums of the hboot, there is a tool on my troubleshooting guide which does this for you, otherwise you can brick your phone). Always change the hboot BEFORE flashing the ROM
Hi folks,
I tried to modify the platform.xml file to enable some write permissions. As far as I can tell, the app I used to modify the file didn't write it back correctly, and now my device is what might be called "semi-bricked."
Almost everything force closes, WiFi and write permissions seem to be broken, and I can't seem to get my Galaxy Nexus to communicate with my PC via USB.
I tried booting into CWM and mounting some /system, but I'm not sure how to access it since fastboot/adb don't seem to recognize the device.
I've also booted into some sort of recovery (fastboot?) that looks like the attached image. But I can't get it to do anything except boot up into the normal OS when I click the power button.
Any suggestions on how I can get access back to my device so I can repair/replace the platform.xml file and restore functionality to my phone?
Thank you very much!
Deozaan said:
Hi folks,
I tried to modify the platform.xml file to enable some write permissions. As far as I can tell, the app I used to modify the file didn't write it back correctly, and now my device is what might be called "semi-bricked."
Almost everything force closes, WiFi and write permissions seem to be broken, and I can't seem to get my Galaxy Nexus to communicate with my PC via USB.
I tried booting into CWM and mounting some /system, but I'm not sure how to access it since fastboot/adb don't seem to recognize the device.
I've also booted into some sort of recovery (fastboot?) that looks like the attached image. But I can't get it to do anything except boot up into the normal OS when I click the power button.
Click to expand...
Click to collapse
No it is not bootloader. to access to the bootloader turn on your device long pressing power, volume up and volume down buttons together (don't use odin).
To access to cwm recovery from bootloader just press volume down button until you see "recovery" option, then press power button and it will boot in recovery.
which rom are you using?
solution: download the zip file of your rom and extract the file you modified, make a zip (if you can't make a flashable zip i'll post an attachment for you) and flash it in recovery
enryea123 said:
No it is not bootloader. to access to the bootloader turn on your device long pressing power, volume up and volume down buttons together (don't use odin).
To access to cwm recovery from bootloader just press volume down button until you see "recovery" option, then press power button and it will boot in recovery.
which rom are you using?
solution: download the zip file of your rom and extract the file you modified, make a zip (if you can't make a flashable zip i'll post an attachment for you) and flash it in recovery
Click to expand...
Click to collapse
Thanks for the reply.
I actually did manage to get my PC to recognize the device via USB/adb and I copied the file back to the way it should have been. But that didn't fix anything, so I ended up doing a wipe/factory reset. Everything works now but things still seem a bit. . . off. For instance, it takes a while after my phone boots up before the WiFi will actually connect. It used to be connected almost immediately. And it takes a while for the alarm icon to load/show up in the notification area at the top. And I can't find the option in the settings anymore to use USB debugging. There are lots of little things like that, where it works, but it just doesn't quite work like it used to. . .
And to answer your question, I'm using the stock ROM that came with the Galaxy Nexus (from Google Play Store).
Deozaan said:
Thanks for the reply.
I actually did manage to get my PC to recognize the device via USB/adb and I copied the file back to the way it should have been. But that didn't fix anything, so I ended up doing a wipe/factory reset. Everything works now but things still seem a bit. . . off. For instance, it takes a while after my phone boots up before the WiFi will actually connect. It used to be connected almost immediately. And it takes a while for the alarm icon to load/show up in the notification area at the top. And I can't find the option in the settings anymore to use USB debugging. There are lots of little things like that, where it works, but it just doesn't quite work like it used to. . .
And to answer your question, I'm using the stock ROM that came with the Galaxy Nexus (from Google Play Store).
Click to expand...
Click to collapse
first: to make the "developer settings" appear go settings/About phone and tap on build number 7 times (google has hidden it in 4.2).
said that, you can:
1) fix permissions in cwm recovery (under advanced menu)
2) download a zip of your rom and flash it in recovery
3) if your bootloader is unlocked (you see a padlock when you boot your phone) you can flash a factory image to return completely stock.
4) if your bootloader is locked you can follow the 3) method but you will lose all your sdcard data.
enryea123 said:
first: to make the "developer settings" appear go settings/About phone and tap on build number 7 times (google has hidden it in 4.2).
said that, you can:
1) fix permissions in cwm recovery (under advanced menu)
2) download a zip of your rom and flash it in recovery
3) if your bootloader is unlocked (you see a padlock when you boot your phone) you can flash a factory image to return completely stock.
4) if your bootloader is locked you can follow the 3) method but you will lose all your sdcard data.
Click to expand...
Click to collapse
Thanks again for the response.
I got developer settings to appear. Hooray! Fix Permissions is one of the first things I did to try to repair the platform.xml file when things were broken. I ran it again (but from ROM Manager rather than from CWM Recovery) and it didn't seem to have any effect on the weird sluggishness when first booting up.
My bootloader is unlocked. Will I have to root again if I flash one of those factory images? I'm currently backing up the contents of my "SD card" in case I have to completely wipe the entire thing.
Deozaan said:
Thanks again for the response.
I got developer settings to appear. Hooray! Fix Permissions is one of the first things I did to try to repair the platform.xml file when things were broken. I ran it again (but from ROM Manager rather than from CWM Recovery) and it didn't seem to have any effect on the weird sluggishness when first booting up.
My bootloader is unlocked. Will I have to root again if I flash one of those factory images? I'm currently backing up the contents of my "SD card" in case I have to completely wipe the entire thing.
Click to expand...
Click to collapse
well, you can firstly try to flash a zip of your rom (search on xda or google), it should fix.
the fastboot flash method is the google method so you won't need root (you just have to go into fastboot and connect your phone to your computer, doesn't matter if you have root, or a different rom/kernel/recovery).
If you don't know you to flash from fastboot try first to flash the rom zip.
having a backup of the sdcard is always a good idea :good:, i have 2 backups of mysdcard on 2 different hard drives of my computer and the pictures i take with the camera are automatically uploaded on my dropbox .
enryea123 said:
well, you can firstly try to flash a zip of your rom (search on xda or google), it should fix.
the fastboot flash method is the google method so you won't need root (you just have to go into fastboot and connect your phone to your computer, doesn't matter if you have root, or a different rom/kernel/recovery).
If you don't know you to flash from fastboot try first to flash the rom zip.
Click to expand...
Click to collapse
Weird things are happening. I was making a backup of the "SD Card" and partway through, things stopped copying over. And pretty much everything got erased from it. No big deal, since I'd already copied the important stuff first.
But CWM Recovery won't flash the zip file. It keeps telling me the update failed. I verified the hash on the zip I downloaded and it is the same as what is listed on Google's site. But it just won't flash in CWM.
Deozaan said:
Weird things are happening. I was making a backup of the "SD Card" and partway through, things stopped copying over. And pretty much everything got erased from it. No big deal, since I'd already copied the important stuff first.
But CWM Recovery won't flash the zip file. It keeps telling me the update failed. I verified the hash on the zip I downloaded and it is the same as what is listed on Google's site. But it just won't flash in CWM.
Click to expand...
Click to collapse
wait, are you in cwm recovery o just in stock recovery (they are different)? have you previously installed a cwm recovery using fastboot? which zip are you trying to flash?
edit: ok you know what is rom manager so i think that you are in cwm.
edit2: try this zip http://goo.im/devs/bigxie/maguro/bigxie_maguro_OTA_JOP40D-signed.zip
enryea123 said:
wait, are you in cwm recovery o just in stock recovery (they are different)? have you previously installed a cwm recovery using fastboot? which zip are you trying to flash?
edit: ok you know what is rom manager so i think that you are in cwm.
edit2: try this zip
Click to expand...
Click to collapse
I was in CWM Recovery. I was using the zip file that I extracted from the link you gave me for Google's stock ROMs (I can't post external links yet):
(Factory Images "takju" for Galaxy Nexus "maguro" (GSM/HSPA+) (with Google Wallet) --> Android 4.2.1 (JOP40D))
Strangely enough, after "failing" to flash the zip, I had to log into my Google account again because I had selected the option to Wipe Data and Cache, and most things seem to be working very well again. One odd thing I'm still noticing, though, is that some things don't seem to be syncing properly. For example, if I archive some of my email in the Gmail app, then log into Gmail on my PC, the mail is still unread in my inbox. My phone downloads the new mail just fine. But the changes I make on my phone (reading, archiving, deleting, etc.) don't seem to be syncing to anywhere else.
I'm downloading the zip you suggested. I'll give that a try. Thanks!
enryea123 said:
edit2: try this zip http://goo.im/devs/bigxie/maguro/bigxie_maguro_OTA_JOP40D-signed.zip
Click to expand...
Click to collapse
Try this one
Deozaan said:
I was in CWM Recovery. I was using the zip file that I extracted from here the link you gave me (I can't post external links yet):
(Factory Images "takju" for Galaxy Nexus "maguro" (GSM/HSPA+) (with Google Wallet) --> Android 4.2.1 (JOP40D))
Strangely enough, after "failing" to flash the zip, I had to log into my Google account again because I had selected the option to Wipe Data and Cache, and most things seem to be working very well again. One odd thing I'm still noticing, though, is that some things don't seem to be syncing properly. For example, if I archive some of my email in the Gmail app, then log into Gmail on my PC, the mail is still unread in my inbox. My phone downloads the new mail just fine. But the changes I make on my phone (reading, archiving, deleting, etc.) don't seem to be syncing to anywhere else.
I'm downloading the zip you suggested. I'll give that a try. Thanks!
Click to expand...
Click to collapse
That is not a flashable zip! It is a factory image, it must be flashed via fastboot using a computer.
enryea123 said:
That is not a flashable zip! It is a factory image, it must be flashed via fastboot using a computer.
Click to expand...
Click to collapse
Just to be sure I explained myself clearly, I downloaded that Google provided factory image (a .tgz file) and inside it I found a zip file named "image-takju-jop40d.zip" which is what I tried to flash.
That said, I've just recently finished downloading the one you just suggested to me and I will give that one a try soon. Thank you again for your help. I really appreciate it.
I got it working again. The ROM you gave me failed signature verification in CWM Recovery, but I told it to install anyway and it worked. Thank you.
The problem I was having with Gmail not syncing was that I used Titanium Backup to restore my data, but because all the data from my "SD card" got erased, Titanium Backup itself lots its settings, so my Device ID was different. I guess Gmail relies on the device ID for syncing.
Thank you so much for your help! I learned a lot from the experience.
Glad i helped you. well this is one of the reasons why i don't restore data with titanium (especially system data).
and by the way:
Deozaan said:
Just to be sure I explained myself clearly, I downloaded that Google provided factory image (a .tgz file) and inside it I found a zip file named "image-takju-jop40d.zip" which is what I tried to flash.
That said, I've just recently finished downloading the one you just suggested to me and I will give that one a try soon. Thank you again for your help. I really appreciate it.
Click to expand...
Click to collapse
To fully reset and install a clean rom using fastboot you have to extract the bootloader-blabla.img and radio-blabla.img files from the tar.gz archive and then extract the 4 .img files inside the zip (that is inside the tar.gz) and flash this 6 .img files connetting your phone in bootloader mode to your computer and using fastboot in terminal (in fact this procedure reinstall the recovery too).
hi all
been searching and searching but doesnt find quite what i am want. so ill ask here.
how can i completely delete my phone? and start it all over. after trying different roms i have more "roots" on my sdcard. so i want to erase sdcard, system, everything and start all over. how to do that??
i know i then wont have any rom.zip file on sdcard to install then, but seems like that can be done with sideloader in recovery right??
regards.
drumcodex said:
hi all
been searching and searching but doesnt find quite what i am want. so ill ask here.
how can i completely delete my phone? and start it all over. after trying different roms i have more "roots" on my sdcard. so i want to erase sdcard, system, everything and start all over. how to do that??
i know i then wont have any rom.zip file on sdcard to install then, but seems like that can be done with sideloader in recovery right??
regards.
Click to expand...
Click to collapse
dear,
i am using this method:
flash any rom, and make it root ZV9-ZVB-Universal-Root or towelroot
install freegee, grant root access, unlock bootloader, and install custom recovery
reboot into recovery by turning off, then vol up + power
in recovery, unmount everything, wipe data, system, and all cache, recovery will say there is no os to boot into (twrp has a full wipe option)
start adb sideload, connect usb, wait for drivers, and "adb sideload rom.zip" OR:
turn off, put in download mode: vol up and down, and THEN connect usb. wait for drivers, and use kdz updater in 3gqct - emergency for kdz files <1GB
drumcodex said:
how can i completely delete my phone? and start it all over. after trying different roms i have more "roots" on my sdcard. so i want to erase sdcard, system, everything and start all over. how to do that??
i know i then wont have any rom.zip file on sdcard to install then, but seems like that can be done with sideloader in recovery right??
Click to expand...
Click to collapse
One option would be to flash a KDZ -- that will get you to a complete fresh stock setup, and everything will be wiped from your phone. Of course, you need to root, unlock BL, and flash custom recovery before doing anything else...
Or, you can simply use your existing custom recovery to format the entire /data partition, as well as the /system. Specific options may differ between recovery versions, so I will just give you an example based on PhilZ Touch CWM that I am using. Normally, when you do "format /data", or wipe "clean to install a new ROM", it always preserves /data/media, which is your internal SD. To wipe it clean, you need to chose another option -- either "wipe user media" from the Wipe menu, or "format /data and /data/media" from Mounts and Storage menu. Other recoveries may have different options for doing this.
As for installing a ROM after wiping the internal SD, yes, you can use adb sideload from recovery.
Thought I'd post my experiences in case it helps anyone else out. Following this procedure will completely wipe your phone. As usual, I take no responsibility for bricks, headaches, wasted hours at the keyboard, etc. Do your research first. Please feel free to post corrections, improvements, etc, I will edit and add them. This post assumes your bootloader is already unlocked. If you're not unlocked, make sure you read all the various articles and warnings about Xiaomi's downgrade/relock protection which can result in a brick if you flash an older build with a locked bootloader. Unlocked is the safest way to go.
I installed the Xiaomi.eu rom, but this should work for any other rom in a flashable zip, downloads for the rom, TWRP and Magisk can be found here.
Install ADB and the relevant drivers. If you're on Linux or MAC, the easiest way I know of to do this is to use Corbin's excellent tool by running a single curl command.
Download TWRP, the ROM and Magisk (optional) into the same desktop folder as your ADB installation.
Boot into Fastboot (Vol- and Power).
fastboot flash recovery twrp.img
-> Boot to TWRP by holding Vol+ and Power.
Once you've booted to TWRP, change the language to English by touching the third button down in the second column (right above the button in the lower right), then touch the globe icon at on the right in the blue bar, then select English and hit the button in the lower right corner.
From the Wipe menu in TWRP, press Format Data, this will remove encryption (and wipe your phone, obviously, including everything in storage, photos, documents, everything).
While there, swipe to do a Factory Reset (which will also wipe your phone).
-> At this point, I repeated the recovery reboot procedure to be sure that TWRP would still boot, Vol+ and Power, or reboot recovery from TWRP menu. Not sure this is strictly necessary.
(For some reason, I couldn't get MTP to work in TWRP, it wouldn't copy files from the desktop. If you can get MTP to work you can simply drag and drop the rom and Magisk, otherwise you can do what I did and use ADB instead.)
From the desktop, push the rom you want to use, and Magisk, to the phone, this syntax (Linux) assumes your rom is in the adb folder, otherwise you need to provide the path:
adb push xiaomi.eu_multi_MIMix3_V10.0.12.0.PEECNFH_v10-9.zip /sdcard/Download
adb push Magisk-v17.1.zip /sdcard/Download
From TWRP, install the rom followed by Magisk from /sdcard/Download on the phone.
Reboot System.
Drink beer, preferably something hoppy and top fermented.
Note for AMD Ryzen machines: There appears to be a USB2.0 bug associated with Ryzen CPUs which prevent the fastboot flash from working. If the flashing process starts then fails, try a different machine.
ROM File and TWRP not listed
invisiblewave said:
Thought I'd post my experiences in case it helps anyone else out. Following this procedure will completely wipe your phone. As usual, I take no responsibility for bricks, headaches, wasted hours at the keyboard, etc. Do your research first. Please feel free to post corrections, improvements, etc, I will edit and add them. This post assumes your bootloader is already unlocked. If you're not unlocked, make sure you read all the various articles and warnings about Xiaomi's downgrade/relock protection which can result in a brick if you flash an older build with a locked bootloader. Unlocked is the safest way to go.
I installed the Xiaomi.eu rom, but this should work for any other rom in a flashable zip, downloads for the rom, TWRP and Magisk can be found here.
Install ADB and the relevant drivers. If you're on Linux or MAC, the easiest way I know of to do this is to use Corbin's excellent tool by running a single curl command.
Download TWRP, the ROM and Magisk (optional) into the same desktop folder as your ADB installation.
Boot into Fastboot (Vol- and Power).
fastboot flash recovery twrp.img
fastboot boot twrp.img
-> At this point, my phone would reboot to MIUI recovery. To solve this, as soon as the screen goes black after the previous command, boot to TWRP by holding Vol+ and Power.
Once you've booted to TWRP, change the language to English by touching the third button down in the second column (right above the button in the lower right), then touch the globe icon at on the right in the blue bar, then select English and hit the button in the lower right corner.
From the Wipe menu in TWRP, press Format Data, this will remove encryption (and wipe your phone, obviously).
While there, swipe to do a Factory Reset (which will also wipe your phone).
-> At this point, I repeated the recovery reboot procedure to be sure that TWRP would still boot, Vol+ and Power, or reboot recovery from TWRP menu. Not sure this is strictly necessary.
(For some reason, I couldn't get MTP to work in TWRP, it wouldn't copy files from the desktop. If you can get MTP to work you can simply drag and drop the rom and Magisk, otherwise you can do what I did and use ADB instead.)
From the desktop, push the rom you want to use, and Magisk, to the phone, this syntax (Linux) assumes your rom is in the adb folder, otherwise you need to provide the path:
adb push miui_MIMIX3Global_V10.0.11.0.PEEMIFH_9761b07e78_9.0.zip /sdcard/Download
adb push Magisk-v17.1.zip /sdcard/Download
From TWRP, install the rom followed by Magisk from /sdcard/Download on the phone.
Reboot System.
Drink beer, preferably something hoppy and top fermented.
Click to expand...
Click to collapse
---
Hi, thanks for the guide, the ROM files and TWRP are not available on the link
fahdsuleman said:
---
Hi, thanks for the guide, the ROM files and TWRP are not available on the link
Click to expand...
Click to collapse
Yes they are, you need to look again
Mackay53 said:
Yes they are, you need to look again
Click to expand...
Click to collapse
Thanks, found them.
fahdsuleman said:
---
Hi, thanks for the guide, the ROM files and TWRP are not available on the link
Click to expand...
Click to collapse
They're right below the ROM table.
invisiblewave said:
Thought I'd post my experiences in case it helps anyone else out. Following this procedure will completely wipe your phone. As usual, I take no responsibility for bricks, headaches, wasted hours at the keyboard, etc. Do your research first. Please feel free to post corrections, improvements, etc, I will edit and add them. This post assumes your bootloader is already unlocked. If you're not unlocked, make sure you read all the various articles and warnings about Xiaomi's downgrade/relock protection which can result in a brick if you flash an older build with a locked bootloader. Unlocked is the safest way to go.
I installed the Xiaomi.eu rom, but this should work for any other rom in a flashable zip, downloads for the rom, TWRP and Magisk can be found here.
Install ADB and the relevant drivers. If you're on Linux or MAC, the easiest way I know of to do this is to use Corbin's excellent tool by running a single curl command.
Download TWRP, the ROM and Magisk (optional) into the same desktop folder as your ADB installation.
Boot into Fastboot (Vol- and Power).
fastboot flash recovery twrp.img
fastboot boot twrp.img
-> At this point, my phone would reboot to MIUI recovery. To solve this, as soon as the screen goes black after the previous command, boot to TWRP by holding Vol+ and Power.
Once you've booted to TWRP, change the language to English by touching the third button down in the second column (right above the button in the lower right), then touch the globe icon at on the right in the blue bar, then select English and hit the button in the lower right corner.
From the Wipe menu in TWRP, press Format Data, this will remove encryption (and wipe your phone, obviously).
While there, swipe to do a Factory Reset (which will also wipe your phone).
-> At this point, I repeated the recovery reboot procedure to be sure that TWRP would still boot, Vol+ and Power, or reboot recovery from TWRP menu. Not sure this is strictly necessary.
(For some reason, I couldn't get MTP to work in TWRP, it wouldn't copy files from the desktop. If you can get MTP to work you can simply drag and drop the rom and Magisk, otherwise you can do what I did and use ADB instead.)
From the desktop, push the rom you want to use, and Magisk, to the phone, this syntax (Linux) assumes your rom is in the adb folder, otherwise you need to provide the path:
adb push miui_MIMIX3Global_V10.0.11.0.PEEMIFH_9761b07e78_9.0.zip /sdcard/Download
adb push Magisk-v17.1.zip /sdcard/Download
From TWRP, install the rom followed by Magisk from /sdcard/Download on the phone.
Reboot System.
Drink beer, preferably something hoppy and top fermented.
Click to expand...
Click to collapse
I'm doing all the things that you've said but it still boots me to miui receovery, what should i do ?
Lumpka21 said:
I'm doing all the things that you've said but it still boots me to miui receovery, what should i do ?
Click to expand...
Click to collapse
Boot to TWRP using the buttons instead of the fastboot boot twrp.img command. I had the same problem. Also, make sure you're not installing the stock rom, that appears to also overwrite TWRP (that's what it looked like to me, I didn't bother to confirm for sure).
invisiblewave said:
Boot to TWRP using the buttons instead of the fastboot boot twrp.img command. I had the same problem. Also, make sure you're not installing the stock rom, that appears to also overwrite TWRP (that's what it looked like to me, I didn't bother to confirm for sure).
Click to expand...
Click to collapse
You can use stock ROM and twrp. Twrp is replaced if you boot the OS
Mackay53 said:
You can use stock ROM and twrp. Twrp is replaced if you boot the OS
Click to expand...
Click to collapse
Ok, so once you've flashed TWRP, there are two recoveries on the device and booting into the stock OS changes the bootloader to boot to the MIUI recovery?
Hello, i found this very useful. thank you
Hi, I followed your instructions and I flashed TWRP, but I just can't reach it. When I give the ADB command to boot I immediately try to start in TWRP recovery mode by pressing vol up+power, but at the beginning the phone doesn't do anything, then it boots to Android and I can only access MIUI recovery. Have you worked out another way or am I wrong in doing smth?
(Also pardon my ignorance, but I turned USB debugging on, am I right?)
Alexdruso said:
Hi, I followed your instructions and I flashed TWRP, but I just can't reach it. When I give the ADB command to boot I immediately try to start in TWRP recovery mode by pressing vol up+power, but at the beginning the phone doesn't do anything, then it boots to Android and I can only access MIUI recovery. Have you worked out another way or am I wrong in doing smth?
(Also pardon my ignorance, but I turned USB debugging on, am I right?)
Click to expand...
Click to collapse
You don't need ADB for flashing twrp so having usb debugging on is irrelevant.
Flash twrp In fastboot and once it's done and without giving any more commands just hold power and volume up. Eventually it will boot into twrp.
Did anyone wipe system before flashing the global zip over the Chinese rom? I didn't wipe data (which is not smart, I know this) and I have noticed some of the system apps have duplicates with different versions. I also have a few weird behaviors with Google Play store and some other items now. Debating installing TWRP, wiping both, and reflashing.
Nevermind, I can't do that. I don't have another activation for Google Play Music, and I can't set the device ID without root, and I can't root the global version so I can't wipe data. GG
PWn3R said:
Did anyone wipe system before flashing the global zip over the Chinese rom? I didn't wipe data (which is not smart, I know this) and I have noticed some of the system apps have duplicates with different versions. I also have a few weird behaviors with Google Play store and some other items now. Debating installing TWRP, wiping both, and reflashing.
Nevermind, I can't do that. I don't have another activation for Google Play Music, and I can't set the device ID without root, and I can't root the global version so I can't wipe data. GG
Click to expand...
Click to collapse
You never ever need to wipe the System so it won't be that, wipe would be recommended if you can do it
Which version of twrp should I use?
Herrick1209 said:
Which version of twrp should I use?
Click to expand...
Click to collapse
The only one there is for the MM3.
invisiblewave said:
The only one there is for the MM3.
Click to expand...
Click to collapse
I couldn't find it on the twrp website??
Herrick1209 said:
I couldn't find it on the twrp website??
Click to expand...
Click to collapse
You can't find one for the Mix 2s there either.
You can find one for the Mix1 there, but it is non- functional.
. . .
DYODD
Herrick1209 said:
I couldn't find it on the twrp website??
Click to expand...
Click to collapse
That's why I posted the link in the OP.
Thanks, does this apply to the Xiaomi MI Mix 3 Forbidden City Edition?
Hello --
I found this very nice looking phone thrown away in a bin and I guess this problem was the reason.
It would be great to get it going maybe even worth paying to get it running.
But I would appreciate any suggestions on how to do it myself.
I am not familiar with a lot of the in-depth hacks people do with phones. Words like "flash" and "ROM" are foreign to me.
But I like to try to fix things.
I have tried a few simple actions to get the phone going but it still does only three main things:
1. Shows the "Lenovo powered by Android" screen of course.
2. Volume down + Power: shows Fastboot screen with just three options: Start, Barcodes, Power off
3. Occasionally, some buttons I push get to Teamwin Recovery Project. But I do not exactly know how it happens and it is hard to repeat. It seems to come up after trying everything and then putting the phone down.
From TWRP I have selected these options:
-- Factory reset
-- Restore (I think) -- I selected just a single item displayed available for restore
-- Wiped Delvik cache and format cache
-- Reboot
I also downloaded ADB and installed it. Instructions I read said to run an .exe file but all I could find was .bat so I clicked on it and saw the RUN screen open briefly then close.
Thank you.
NickSergeant said:
Hello --
I found this very nice looking phone thrown away in a bin and I guess this problem was the reason.
It would be great to get it going maybe even worth paying to get it running.
But I would appreciate any suggestions on how to do it myself.
I am not familiar with a lot of the in-depth hacks people do with phones. Words like "flash" and "ROM" are foreign to me.
But I like to try to fix things.
I have tried a few simple actions to get the phone going but it still does only three main things:
1. Shows the "Lenovo powered by Android" screen of course.
2. Volume down + Power: shows Fastboot screen with just three options: Start, Barcodes, Power off
3. Occasionally, some buttons I push get to Teamwin Recovery Project. But I do not exactly know how it happens and it is hard to repeat. It seems to come up after trying everything and then putting the phone down.
From TWRP I have selected these options:
-- Factory reset
-- Restore (I think) -- I selected just a single item displayed available for restore
-- Wiped Delvik cache and format cache
-- Reboot
I also downloaded ADB and installed it. Instructions I read said to run an .exe file but all I could find was .bat so I clicked on it and saw the RUN screen open briefly then close.
Thank you.
Click to expand...
Click to collapse
YOU CAN CHECK IN MY SIGNATURE FOR ALL BASIC TERMS USED IN FLASHING.
Look here if you want to return to offical stock Rom
https://forum.xda-developers.com/lenovo-p2/development/fastboot-files-stock-firmware-t3649914/amp/
If you have TWRP installed , you can update TWRP and then flash a custom rom. You can hold both volume up and down and power key to boot into TWRP when phone is switched off.
Remember new custom roms need newer version of TWRP.
What you'll need to do is download a custom rom like say Havoc OS Android 10 (just search it in the forum), you will need to upgrade your TWRP.
Once this is done, you will download Havoc OS Rom and put it in your phone or sd card
You just do a factory reset and then format only system . Don't format other partitions in TWRP.
Install that room and then you will also need to install gapps. (Google open gapps , chose Android 10 version and architect as 64bit and choose nano or pico gapps)
So in your sd card, you must have rom and gapps.
Once you install rom first and then gapps, restart. If it comes with an error, it means your TWRP needs update.
To update you will choose to download TWRP (zip format will install directly while IMG format can be flashed as well by choosing install IMG while you select install in your TWRP.
Restore is only available if you already made a backup with your TWRP .
I will suggest to make a full backup (except system and data ) in TWRP before you do the above.
I will also suggest you to Google if you are not sure. Make sure to follow instructions only from XDA as they are most reliable than other sources.
Watching YouTube videos may help you as well
In short:
Update TWRP
Download Havoc Rom and Gapps pico
Put them in your sd card
Install them in this order rom and then gapps.
Restart.
If you still feel you need help, please quote me for an answer
All the best .
Hnk1 said:
Look here if you want to return to offical stock Rom
https://forum.xda-developers.com/lenovo-p2/development/fastboot-files-stock-firmware-t3649914/amp/
Click to expand...
Click to collapse
Thank you for this advice -- it worked! Finally the phone gets past the logon and is operating.
Now I have a further problem and please let me know if you think this should be a new thread for this.
I cannot sign in to Google because of anti-theft feature -- instead I get this.
“This device was reset. To continue, sign in with a Google Account that was previously synced on this device”
I see a few solutions online but not exactly for Lenovo. What would you recommend?
I'm on the same boat as Nick. Do we have to wait 15 days to unlock the bootloader? Just coz it'll be hard to be 15 days without a phone and everything wiped out. I wanna try Syberia 2.9 as the last LineageOS is not ready yet. Thank you very much.