How to root MI4I and install custom rom with the help of TWRP custom recovery. - Xiaomi Mi 4i

How to root, how to install custom recovery last but not the least how to install custom ROM and make your Mobile FAST
How to ROOT
Step 1. You need to download MI4I TOOLKIT.
Step 2. Once file is downloaded extract .zip file.
Step 3. Go to your Phone Settings-About phone-Click MIUI version option and tap it for 7 times. After 7 taps, a notification should appear saying " You are now a developer"."Developer mode has been enabled" or "You have enabled Developer Options".
Step 4. Go to Settings-Additional Settings-Developers Options. Turn on USB Debugging.
Step 5. Go to the folder where you had downloaded the Toolkit . Open the folder you will found Start Command Prompt file (CMD FILE), and Right click on Start and Run as Administrator. (Make sure Xiaomi PC suit is not working in background to end the PC suit process , open Task Manager click on the process find Mi PC Suit select the process and click End Process).
Step 6. For rooting your phone:- press 1 and Press Enter and there will be a notification in your phone Allow this notification and your phone will go into Bootloader, have patience it will take 5 minutes.
After your phone is restarted you will find the APP called SUPERSU. Open supersu and update binary, click the Normal button and reboot your phone.
How to install CUSTOM RECOVERY
Step 1. Go to the folder where you downloaded the Toolkit. Open the folder you will found Start Command Prompt file (CMD FILE) and Right click on Start and Run as Administrator.
Step 2. Press 2 and Hit Enter and there will be a notification in your phone, Allow this notification and your will go into Bootloader, it will take 2 minutes. After your phone restarted TWRP CUSTOM RECOVERY is successfully installed.
Step 3. To find your phone is having custom recovery, you will have to press Volume UP and Power Button/Lock Button together about 6 or 7 seconds your phone will restarted in TWRP CUSTOM RECOVERY MODE.
How to install Custom ROM
BACKUP YOUR PHONE DATA IN SECURE PLACE for backup your data Download BACKUP App
Step 1. First thing first you need to select and download the custom rom. For ROMS click here.
Step 2. You need to download GAPPS (Google Apps i.e Play Store). For MI4I you will select PLATFORM-ARM64, ANDROID-it depends upon on your rom android version, VARIANT-if don't want lots of google apps download PICO either you need to download STOCK.
Step 3. Copy these zip file into your OTG Pen-drive or with the help of OTG cable and insert your pen-drive in your phone.
Step 4. Open your Custom Recovery (press Volume UP and Power/Lock Button together).
Step 5. When Custom Recovery is open click on WIPE-ADVANCED, WIPE-Tick Dalvik Cache, System, Cache and Data. Slide Swipe to Wipe Left to Right.
Step 6. Click On Home Button and now click install then Click UP A LEVEL swipe down you will found USB_OTG and Navigate your Custom Rom and GAPPS.
Step 7. Install Custom Rom, after installation wipe cache and install GAPPS when gapps is installed successfully, you need to wipe cache and format the data when data is formatted click on REBOOT-System.
​This Process will take max 15 minutes.
​Now you are successfully installed the ROM enjoy . PEACE

'fastboot' is not recognised as an internal or external command, operable program or batch file.
what did it mean. and im getting this when i press 1 to root my mi 4i .
i turned on usb debugging successfully .
what shall i do now

Pavankumar1999 said:
'fastboot' is not recognised as an internal or external command, operable program or batch file.
what did it mean. and im getting this when i press 1 to root my mi 4i .
i turned on usb debugging successfully .
what shall i do now
Click to expand...
Click to collapse
install fastboot drivers
https://www14.zippyshare.com/v/ufYG71o0/file.html
thwn follow process

Related

[GUIDE] Rooting & Installing CWM Recovery!

Dear funbook users i have seen a lot many people are very much confused about rooting the funbook and are using the Sparky Root method and are getting nothing from it.
Below is a details step by step procedure for getting root in a safe manner.
For this i am assuming that you have no knowledge and you are doing this for the first time.
Step 1: Installing ADB Drivers
Step 2: Installing ClockworkMod Recovery
Step 3: Installing SuperSU by Chainfire
Important:If you have completed any of the above steps then you dont have to repeat them.
First of all download the 2 files in the link below
cwm5ics.rar
CWM-SuperSU-v0.75.zip
Step 1: Installing ADB Drivers
(i). Extract the ADB folder from the cwm5ics.rar and put it onto your desktop.
(ii). Then Connect your device with the computer and it will start detecting it. If you haven’t installed the drivers then the installation of the device will fail. Don’t Worry.
(iii). Go to the device manager and there you will find and unknown device. Right click on it and click on Update driver link.
(iv). Then click the browse my computer link and navigate to the ADB folder link on the Desktop. Inside the ADB folder you will find two folders 32Bit drivers and 64Bit drivers. Select your computer specific and select ok.
(v). I many cases you will get a warning about installing the driver. Dont bother it and click on the Install Anyway button.
(vi). Wait for some seconds and the Drivers will be installed and your device will be listed in the device manager.
Important: Before installing Recovery just transfer the CWM-SuperSU 0.75.rar to your device internal memory.
Step 2: Installing ClockworkMod Recovery
Android Debugging should be enabled in your Device.
Go to Setting>Developer Options>Android Debugging---Tick this
(i). Go to the cmw5ics folder and you will find a file naming Recovery-install.bat run that file.
(ii). Follow the onscreen instructions and it will give you 3 options. Select the first option by pressing 1 and then enter. This will install ClockworkMod Recovery.
(iii). After it is done the menu will appear again and the select the option 2 and your device will boot into clockwork MOD recovery.
(iv). Disconnect your device from the USB as it starts to reboot.
Alternate way of entering into the Recovey is that switch off your device and switch it on by pressing the power button while peressing the home/Options button.
Navigation in Clockwork Mod Recovery
Power Key = For Selection
Volume Keys = For going up and Down
Back Key = For going back.
Step 3: Installing SuperSU
(i). Now you are into the clockwork mod recovery
(ii). Select the option Install zip from SD card
(iii). Then select the option choose zip from internal SD card as we have placed CWM-SuperSU 0.75.rar in the internal Sdcard.
Alternatively: If you have placed the file on you external SDcard then you have to select the option of Choose zip from SDcard.
(iv). There you will see the file CWM-SuperSU 0.75.rar navigate to it by the volume keys and select it with the power keys.
(v). After selecting it you will see multiple lines with 'NO' and a single line with the name of the file. Go to the line with the name of the file and select it.
(vi). Installation will be done and Supersu will be installed on your device. Just press the back key after the installaton is complete and select the option of rebooting the device.
(vii). Just run the SuperSU app after the reboot and update the SU Binary and you are done.
The method contains all the necessary steps top bne taken and are well ordered and placed. If there is any mistake menting them in the posts below and i will correct them.
If you want any other guide then also post below i will try and help as much as i can.
This method is preffered by me and is proven better then the superuser app. This method is followed by me always for this device.
There are other methods as running a script will give you superuser but the method followed above is a better and a persistent one.
Trust me you wont regret.
Disclaimer: All the above steps are really safe to attempt but in any case if your device wont work after all these then i am not responsible in any way.
You accept and agree that all the risks and rewards incidental to this act will be yours.

[Q] Re: THE ULTIMATE NEWB GUIDE. I'm too noob for to noob guide, help.

. I don't even want a custom ROM. I just want to be rooted and run stock with rooted google play store apps. Am I there?
I just want to run rooted apps with no ROM flashing...oh god why...where is the guide to root and only root?
You'd think this http://forum.xda-developers.com/show....php?t=1652398 would be where to go to do that, but evidently it's sending me down the road to custom ROM flashing. AGHGHGhjkdashbdas. Do not want.
Ok, so here's where I am, I have finished step 8:
1. Download Odin 1.85 .
2. Download(USE FIREFOX!) ClockworkMod TOUCH 5.5.0.4 OR TWRP 2.2.2.0, they are both named "recovery.tar.md5" and will be downloaded as "recovery.tar.md5", DO NOT CHANGE the filename or else it wont install.
3. Extract the contents of odin-185.zip to a folder.
4. Run Odin 1.85.exe from the folder you extracted it to.
5. Prepare Odin: Check "auto-reboot" and UNCHECK ALL OTHER OPTIONS. SEE COMPUTER SREEN PICS BELOW.
6. Only Click "PDA" and select the recovery.tar.md5 file you downloaded. SEE COMPUTER SREEN PICS BELOW.
7. How To Put your device into Download Mode: DO NOT TOUCH THE POWER BUTTON FOR THIS PROCEDURE. - download mode is NOT the same as recovery mode
a. Connect the USB cable to your PC, but NOT to your phone.
b. Remove the battery.
c. Reinsert the battery.
d. ATT PHONES - Press and keep down both Volume Up and Volume Down keys simultaneously.
ROGERS PHONES - Press and keep down only the Volume Down key.
DO NOT RELEASE THE VOLUME KEY(S) UNTIL INSTRUCTED TO DO SO IN STEP (f)
e. Insert the USB cable into your device. The phone will turn itself on when usb cable is inserted - DO NOT TOUCH THE POWER BUTTON.
f. You will now see a screen w/a yellow triangle warning you about installing a rom . Now release the volume key(s) - SEE PHONE PICS BELOW
g. Press and release the "Volume Up" key to enter into download mode - SEE PHONE PICS BELOW
h. You should now be at the Download Mode screen w/odin recognizing your phone. SEE COMPUTER SREEN PICS BELOW.
8. Click Start in Odin. It will flash the new recovery and will reboot the phone when completed. Your device will autoreboot into android. You are done using ODIN.
9. UPDATING CWM OR TWRP:
Now you need to udate CWM, download and copy cwm6027touch_v14.4.6_skyrocket.zip file to your sdcard, boot into recovery and choose "INSTALL FROM SDCARD" from recovery, install the file and reboot back into recovery to see if it installed correctly.
sk8erwitskil's CWM thread is here HERE , check to see if above file is the latest or dl the "Flashable zip" CWM file from there.
If upgrading TWRP go here HERE and follow the dev's instructions on using goo app, or you can use the flashable TWRP 2.4.1.0 file HERE and copy that file to your sdcard, boot into recovery and pick "INSTALL" from recovery, install the file and reboot back into recovery to see if it installed correctly.
How to enter recovery read section #2 below.
How to use cwm read THIS, also read Q&A on recoveries
You can upgrade to either CWM OR TWRP from which ever recovery TAR file you used in ODIN in step #2 from above.
10. You're done newbie and soon to be a power user, read and educate yourself as much as you can before flashing, happy flashing.
Click to expand...
Click to collapse
I don't know how to do step 9. Do I even need it? I have no desire to run a custom ROM.
yargdpirate said:
OK so here's the list of instructions I'm using to root my Skyrocket:
I have completed everything through step 4. I completely do not understand what to do after that. So, like I'm a 40 year old soccer mom, can you explain what I'm supposed to do to fulfill step 5? Is it through the odin app on my pc? Is this completed on my phone? The link provided that ostensibly explains to noobs how to do this (http://forum.xda-developers.com/showthread.php?t=1777970) doesn't adequately explain to me what I'm doing and where.
Help, please!
Click to expand...
Click to collapse
Assuming that you have successfully installed your custom recovery you then need to know which recovery you installed before you update it. If you used CWM you can get the updated version from the Skyrocket development thread. Put the updated CWM file on your SD card and flash that zip while in recovery. If you used TWRP you can update it through the app that it installed if it did install one. GooManager (someone correct me if I am wrong on the name) I think GooManager needs suoeruser privileges. So which recovery did you flash?
CodeNameRedNeck said:
Assuming that you have successfully installed your custom recovery you then need to know which recovery you installed before you update it. If you used CWM you can get the updated version from the Skyrocket development thread. Put the updated CWM file on your SD card and flash that zip while in recovery. If you used TWRP you can update it through the app that it installed if it did install one. GooManager (someone correct me if I am wrong on the name) I think GooManager needs suoeruser privileges. So which recovery did you flash?
Click to expand...
Click to collapse
Put the updated CWM file on your SD card and flash that zip while in recovery?
Click to expand...
Click to collapse
It's CWM. How do I
A. Put the updated CWM file on my SD card and
B. Flash that zip while in recovery? Is that through Odin, or what?
Thanks
yargdpirate said:
It's CWM. How do I
A. Put the updated CWM file on my SD card and
B. Flash that zip while in recovery? Is that through Odin, or what?
Thanks
Click to expand...
Click to collapse
i think you should stay on stock, read more b4 you brick your phone, no sense in rooting/installing custom roms when you dont know how to install a file on your scard, im not putting you down but trying to give you friendly advice
Vincom has a point. I taught myself through these forums and Google how to do it back in October of 2011. I flashed many a ROM and many files since then until I bricked mine Thursday. Now I have to pay 60 dollars to get it fixed. But on the upside I now have a Note II to play with.
Edit: She is asking for help though and she did ask in the right thread. Some people need more help than others.
vincom said:
i think you should stay on stock, read more b4 you brick your phone, no sense in rooting/installing custom roms when you dont know how to install a file on your scard, im not putting you down but trying to give you friendly advice
Click to expand...
Click to collapse
Oh. ****. I don't even want a custom ROM. I just want to be rooted and run stock with rooted google play store apps. Am I there?
I just want to run rooted apps with no ROM flashing...oh god why...where is the guide to root and only root?
You'd think this http://forum.xda-developers.com/showthread.php?t=1652398 would be where to go to do that, but evidently it's sending me down the road to custom ROM flashing. AGHGHGhjkdashbdas. Do not want.
Ok, so here's where I am, I have finished step 8:
1. Download Odin 1.85 .
2. Download(USE FIREFOX!) ClockworkMod TOUCH 5.5.0.4 OR TWRP 2.2.2.0, they are both named "recovery.tar.md5" and will be downloaded as "recovery.tar.md5", DO NOT CHANGE the filename or else it wont install.
3. Extract the contents of odin-185.zip to a folder.
4. Run Odin 1.85.exe from the folder you extracted it to.
5. Prepare Odin: Check "auto-reboot" and UNCHECK ALL OTHER OPTIONS. SEE COMPUTER SREEN PICS BELOW.
6. Only Click "PDA" and select the recovery.tar.md5 file you downloaded. SEE COMPUTER SREEN PICS BELOW.
7. How To Put your device into Download Mode: DO NOT TOUCH THE POWER BUTTON FOR THIS PROCEDURE. - download mode is NOT the same as recovery mode
a. Connect the USB cable to your PC, but NOT to your phone.
b. Remove the battery.
c. Reinsert the battery.
d. ATT PHONES - Press and keep down both Volume Up and Volume Down keys simultaneously.
ROGERS PHONES - Press and keep down only the Volume Down key.
DO NOT RELEASE THE VOLUME KEY(S) UNTIL INSTRUCTED TO DO SO IN STEP (f)
e. Insert the USB cable into your device. The phone will turn itself on when usb cable is inserted - DO NOT TOUCH THE POWER BUTTON.
f. You will now see a screen w/a yellow triangle warning you about installing a rom . Now release the volume key(s) - SEE PHONE PICS BELOW
g. Press and release the "Volume Up" key to enter into download mode - SEE PHONE PICS BELOW
h. You should now be at the Download Mode screen w/odin recognizing your phone. SEE COMPUTER SREEN PICS BELOW.
8. Click Start in Odin. It will flash the new recovery and will reboot the phone when completed. Your device will autoreboot into android. You are done using ODIN.
9. UPDATING CWM OR TWRP:
Now you need to udate CWM, download and copy cwm6027touch_v14.4.6_skyrocket.zip file to your sdcard, boot into recovery and choose "INSTALL FROM SDCARD" from recovery, install the file and reboot back into recovery to see if it installed correctly.
sk8erwitskil's CWM thread is here HERE , check to see if above file is the latest or dl the "Flashable zip" CWM file from there.
If upgrading TWRP go here HERE and follow the dev's instructions on using goo app, or you can use the flashable TWRP 2.4.1.0 file HERE and copy that file to your sdcard, boot into recovery and pick "INSTALL" from recovery, install the file and reboot back into recovery to see if it installed correctly.
How to enter recovery read section #2 below.
How to use cwm read THIS, also read Q&A on recoveries
You can upgrade to either CWM OR TWRP from which ever recovery TAR file you used in ODIN in step #2 from above.
10. You're done newbie and soon to be a power user, read and educate yourself as much as you can before flashing, happy flashing.
Click to expand...
Click to collapse
I don't know how to do step 9. Do I even need it? I have no desire to run a custom ROM.
For just rooting u have to run the superuser zip through your recovery
Oh and if you are not understanding what the stickies are saying to do then look it up on youtube because there are a lot of step by step instructions there.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
a. put updated file in your micro sd card.... plug ur micro sd card to pc... drag file and drop it in your micro sd card. put the micro sd card back in phone.
b. to go to recovery press power button + vol+ + vol- all at once and hold.
why do u need to unlock play store app? playstore is accessible completely even without root. you can also sideload Amazon appstore and other apps without root. no need to get all bricked up just to run playstore. i'm confused what are you trying to do again?
droidbabyxda said:
a. put updated file in your micro sd card.... plug ur micro sd card to pc... drag file and drop it in your micro sd card. put the micro sd card back in phone.
b. to go to recovery press power button + vol+ + vol- all at once and hold.
why do u need to unlock play store app? playstore is accessible completely even without root. you can also sideload Amazon appstore and other apps without root. no need to get all bricked up just to run playstore. i'm confused what are you trying to do again?
Click to expand...
Click to collapse
im guessing he wants to run apps from play that require root, eg titanuim backup, but he doesnt know how to put a file on his sdcard, but then he has to learn how to install zips from recovery which someones got to teach him since he doesnt want to read/learn/search for the answers. he seems to be impatient and wants it done "now", its a brick waiting to happen, my advice to him was to slowdown and learn
vincom said:
im guessing he wants to run apps from play that require root, eg titanuim backup, but he doesnt know how to put a file on his sdcard, but then he has to learn how to install zips from recovery which someones got to teach him since he doesnt want to read/learn/search for the answers. he seems to be impatient and wants it done "now", its a brick waiting to happen, my advice to him was to slowdown and learn
Click to expand...
Click to collapse
agree and such bad attituted too. i wouldn't want to help anybody who cusses in every conversation geez little respect goes a long way
It you just want to root and not want to flash any custom ROMs or anything related to it,I will tell you how to from total beginning
ALL DATA WILL BE LOST , BACKUP EVERYTHING
In order to root Android 4.2 the following three requirements must be satisfied beforehand:
The Android SDK, which you can download from Google Developers
A custom recovery like ClockworkMod (CWM) or Team Win Recovery Project (TWRP)
SuperSU, which you can download from CF-Root
There are no major differences between the two, but TWRP is more touch-oriented thanks to larger buttons. CWM is also available in a touch-compatible variant, but it has much smaller buttons. It's a matter of personal preference between the two though, but you have to choose one.
Before starting the process I urge you to perform a backup, as all data might be lost afterwards. You can copy the contents of the SD card to a safe external location such as cloud storage service or computer hard drive.
The first step that needs to be performed after all the files are downloaded is to install the Android SDK. Afterwards open the Android SDK Manager and select the following two items:
Android SDK Platform-tools -- it contains the required programs to install Android 4.2 Jelly Bean
Google USB Driver -- it contains the necessary drivers for the Nexus device
Then you should create a folder in an easily accessible location within the command line. In this example I will use a folder named "Root" in my C:\ drive in Windows. The path name will therefore be: "C:\Root".
From the folder where Android SDK Platform-tools is installed (in my case it is "C:\Program Files x86)\Android\android-sdk\platform-tools" copy the following files to the previously created "Root" folder:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
The following files must also be copied to the "Root" folder:
CWM-SuperSU-v0.97.zip -- SuperSU file
The custom recovery that you previously downloaded for your specific device (please see below)
For my 8 GB nexus 7 wifi(codename "grouper" I will use TWRP with the name "openrecovery-twrp-2.3.1.0-grouper.img".
You can easily find the codename for your devoice by looking into Google
The custom recovery file differs for each device, please make sure you download the correct file
In order to make the process smoother for instance the SuperSU file can be renamed to "root.zip" and the custom recovery to "customrecovery.zip". It's a matter of convenience, but for accuracy I will stick to the original naming for this guide.
If the previous steps are completed you must have the following six files in your "Root" folder:
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
CWM-SuperSU-v0.97.zip -- SuperSU file
The custom recovery. In my case it is "openrecovery-twrp-2.3.1.0-grouper.img"
From there, you can proceed to install the drivers for "fastboot mode". To install them, follow these steps:
Power off your Nexus device.
Press and hold Volume Up and Volume Down then press and hold the Power button; the device will now enter "fastboot mode".
Go to Device Manager (Computer -> Properties -> Device Manager in Windows 7/8) and identify the device; for me it shows up as Android 1.0.
Right click Android 1.0 and select "Update Driver Software," then select "Browse my computer for driver software".
Select "Let me pick from a list of device drivers on my computer," then click "Next".
From "Have Disk..." option go to the folder where you have Google USB Driver installed (for me it's "C:\Program Files .(x86)\Android\android-sdk\extras\google\usb_driver" and select "android_winusb.inf".
Out of the three options select "Android ADB Interface" and validate any future warning window to install the driver.
Final preparations
Everything is prepared in order to start the installation process, but in order to do so a command window must be opened. Windows Key + R opens "Run"; type in "cmd" and the command window appears. Typing "cd C:\Root" and pressing Enter sets the "Root" folder as the working directory. Pressing the Shift key and right clicking inside the "Root" folder will also deliver the same result.
The device must be turned on in "fastboot mode" which I have explained at step no.2 during the driver installation process, and obviously plugged-in to the computer. You then have to type in the following commands while in "fastboot mode":
fastboot devices -- this is just for verification purposes; if there is no listed device then the drivers have been improperly installed and steps 1 through 7 must be redone.
fastboot oem unlock -> you have to accept the prompt in order to continue -- this command will unlock the bootloader, but it will also erase the data on the device which is why a backup is necessary.
fastboot reboot-bootloader -- this will reboot the bootloader.
fastboot flash recovery openrecovery-twrp-2.3.1.0-grouper.img -- this will flash the custom recovery --please use the specific file and name for your particular Nexus device!
fastboot erase cache -- this will erase the cache -- might not be necessary but it's just as a precaution.
fastboot reboot -- this will reboot the device.
After Android 4.2 is loaded and running the SuperSU file must be copied from the "Root" folder to the internal storage (shows up in Windows Explorer as a Nexus device). A simple copy and paste will do the trick here.
Then you have to power off the Nexus device and enter "fastboot mode" again. Use the Volume Up and Volume Down keys to navigate until you can select "Recovery Mode". After the power button is pressed the device will reboot in the new custom recovery.
Rooting your Nexus device
If you have ClockworkMod installed, you have to perform the following steps:
Select "install zip from sdcard"
Select "choose zip from sdcard"
Select "0" (zero) folder
Select "CWM-SuperSU-v0.97.zip"
Select "Yes - Install CWM-SuperSU-v0.97.zip"
Select "Go Back"
Select "reboot system now"
If you have Team Win Recovery Project installed, you have to perform the following steps:
Press "Install".\
Select "CWM-SuperSU-v0.97.zip" -- for me it's in the "0" (zero) folder
Swipe to confirm flash
Press "Wipe cache/dalvik" (just as a precaution)
Swipe to wipe
Press "Reboot System"
After Android 4.2 loads your device can run apps with elevated privileges (meaning it's rooted). A SuperSU app is installed in order to allow root requests, so please use your judgement on which apps you grant access.
If you experiences any problem, please reply and I will look into it.
Sent from my Nexus 7 using xda app-developers app
Sent from my Nexus 7 using xda app-developers app
^^you want him todo that, lmao, he doesnt even know how to put a file on his sdcard to flash it in recovery, theres no way a computer newb is going to be able to follow what you posted
That's why I have not used the word flash anywhere, I know that he does not know how to flash , I have posted the right thing for a total noob,( at least if he knows how to use command in windows or install drivers)
I helped him in the way I could and what he requested
Sent from my Nexus 7 using xda app-developers app
You think that helped. LOL. Your telling him to do things that aren't even required to gain root with this device. Not everything is a nexus bro. Next time you wanna help study up on the phone your giving advice about. lol
Well , thanks for telling me that every android isn't rooted in same manner, I was thinking that all devices are rooted in same ways like for my nexus
Sent from my Nexus 7 using xda app-developers app
naman14, im not putting you down, your step by step howto is admirable, good work, but the problem is that the op is clueless on tech stuff, its not the word "flash" he has a problem with, i could of said "install" and it would lead to same conclusion, he doesnt know how to copy a file to his sdcard, if he cant do that he has no business in modding his phone until he learns more. anyhow the op is long gone by now
I upgraded my samsung skyrocket s2 version 2.3.6 to 4.0.4 through the Kies. Then I tried to install TWRP 2.2.0 and Odin 1.85. I saw COM 14 ; COM 17 when I hit start button .It said
FAILED. Now it showed a yellow triangle in the middle of phone & monitor pictures. ( including : Firmware upgrade encountered an issue . please select recovery mode in Kies & try again). Please help . Thank you very much.
I just tried other laptop . I saw COM 3 but it said it couldn't open the serial (COM )port . All thread completed (success 0/ failed 1)

[Q] Im stuck in recovery

So I installed TWRP recovery backed up my stock os and flashed cyanagen mod 11
After a week or so I went in the cyanagen mod updates and started updating, everything worked
but now when I tried to flash in to my stock rom I go to recovery and I see that I have Clockwork revovery insted of TWRP
so I was stupid and i flahsed TWRP and didnt unistall clockwork mod
When i went in the recovery i had clockworkmod and then I rebooted and went in to TWRP
Now im stuck in 2 recoverys and cant go to cyanagen
I really need help
im using the LG G2 D802
gamehero said:
So I installed TWRP recovery backed up my stock os and flashed cyanagen mod 11
After a week or so I went in the cyanagen mod updates and started updating, everything worked
but now when I tried to flash in to my stock rom I go to recovery and I see that I have Clockwork revovery insted of TWRP
so I was stupid and i flahsed TWRP and didnt unistall clockwork mod
When i went in the recovery i had clockworkmod and then I rebooted and went in to TWRP
Now im stuck in 2 recoverys and cant go to cyanagen
I really need help
im using the LG G2 D802
Click to expand...
Click to collapse
I don't know if I understood you but just to be sure; you get in recovery mode CWM and on reboot TWRP?
I don't think you will like this solution but probably you will get your phone to work again xD (you will lose your data)
First of all you need:
- Android SDK bundle (google it, you will find it) on your Computer
- And a Rom you want to sideload (In your case the Cyanogen Rom)
- Cwm
Follow this steps:
1. go to the SDK bundle folder you downloaded -> go to sdk
-> go to platformform-tools
-> copy your ROM (ZIP-file) inside that folder
-> and name it to ROM.zip (so you won't need to write down a longname in cmd afterwards)
2. go to the SDK bundle folder you downloaded -> go to sdk
-> now press [shift] + [right mouse button] on platformform-tools (folder) to open cmd
3. Reboot your device into recovery mode (use cwm)
4. Go to “Mounts & Storage” and make sure that you can see “Unmount /sdcard/” and “Unmount /system/” (If they do not show this automatically, just press each one once respectively as pressing just toggles Mount and Unmount).
5. Now connect your device to the PC.
6. Once the phone is connected to the PC type “adb devices” in the cmd. If it returns a long alphanumeric string the phone is successfully connected in ADB mode. (if not look out for a usb driver for your phone; most time the problem lies in there)
7. Now type “adb push ROM.zip /sdcard/ROM.zip” (replace the word ROM if didn't named it)
8. This may take a while so be patient.
9. Once the process is complete you’ll see a message like <12345678kb to 1234567kb> on the cmd window.
10. Now unplug the device.
11. Go to the main screen of recovery and perform factory reset, wipe cache partition and then in advance menu wipe Dalvik cache. (Now you will lose your data for sure xD)
12. Now go to install zip from sdcard and choose the zip file you just transferred.
13. Once the process is complete, reboot the device
Hope this will help you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you use TWRP there are some similar step by step guides ( maybe you should look for sideload)
GuiltyGod said:
I don't know if I understood you but just to be sure; you get in recovery mode CWM and on reboot TWRP?
I don't think you will like this solution but probably you will get your phone to work again xD (you will lose your data)
First of all you need:
- Android SDK bundle (google it, you will find it) on your Computer
- And a Rom you want to sideload (In your case the Cyanogen Rom)
- Cwm
Follow this steps:
1. go to the SDK bundle folder you downloaded -> go to sdk
-> go to platformform-tools
-> copy your ROM (ZIP-file) inside that folder
-> and name it to ROM.zip (so you won't need to write down a longname in cmd afterwards)
2. go to the SDK bundle folder you downloaded -> go to sdk
-> now press [shift] + [right mouse button] on platformform-tools (folder) to open cmd
3. Reboot your device into recovery mode (use cwm)
4. Go to “Mounts & Storage” and make sure that you can see “Unmount /sdcard/” and “Unmount /system/” (If they do not show this automatically, just press each one once respectively as pressing just toggles Mount and Unmount).
5. Now connect your device to the PC.
6. Once the phone is connected to the PC type “adb devices” in the cmd. If it returns a long alphanumeric string the phone is successfully connected in ADB mode. (if not look out for a usb driver for your phone; most time the problem lies in there)
7. Now type “adb push ROM.zip /sdcard/ROM.zip” (replace the word ROM if didn't named it)
8. This may take a while so be patient.
9. Once the process is complete you’ll see a message like <12345678kb to 1234567kb> on the cmd window.
10. Now unplug the device.
11. Go to the main screen of recovery and perform factory reset, wipe cache partition and then in advance menu wipe Dalvik cache. (Now you will lose your data for sure xD)
12. Now go to install zip from sdcard and choose the zip file you just transferred.
13. Once the process is complete, reboot the device
Hope this will help you.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
If you use TWRP there are some similar step by step guides ( maybe you should look for sideload)
Click to expand...
Click to collapse
So I got to step 4 and I see the mount system but I don't see umount sdcard
Then mount system or skip this part
5,6 and 7 are the most important part.
Can you push the Rom on your phone?
GuiltyGod said:
Then mount system :S
5,6 and 7 are the most important part.
Can you push the Rom on your phone?
Click to expand...
Click to collapse
adb push ROM.zip /sdcard/ROM.zip if I dont have the sdcard umonted will this still work?
I know I am repeating myself more or less (because I always edit my posts xD)
Well as long as you can push your file there shouldn't be sny problem
GuiltyGod said:
I know I am repeating myself more or less (because I always edit my posts xD)
Well as long as you can push your file there shouldn't be sny problem
Click to expand...
Click to collapse
so I wrote the command and it sad "5143kb/s «241840314 bytes in 45.912s»"
then i went install the zip and I can't find it
ok i went and mounted the data , pushed the file and installed it, thank you so much
But now i need to install the stock backup that I did with TWRP
That's pretty weird xD Because you get the message for a successful transfer but can't find the Zipfile.
You could try to push the Zipfile again and don't wipe anything at all (because you already wiped everything) and try to find the Zip file again to flash it.
Btw what does CWM gives you as options if you click install Zip files?
GuiltyGod said:
That's pretty weird xD Because you get the message for a successful transfer but can't find the Zipfile.
You could try to push the Zipfile again and don't wipe anything at all (because you already wiped everything) and try to find the Zip file again to flash it.
Btw what does CWM gives you as options if you click install Zip files?
Click to expand...
Click to collapse
it's all good now but now i have CWM and i need TWRP to install my stock backup
Watch this video (shows you how to change recovery in general):
http://m.youtube.com/watch?v=jnESTcH2ioA
And read this instructions if you still have some doubts and want to go for sure (recovery for LG2 D802):
http://forum.xda-developers.com/showthread.php?t=2472223
Sry I am a bit lazy right now xD Came back from work

How I installed madOS (Oreo 8.1) on BLU Life One X (2016)

I finally succeeded it, after literally months of trial and error! So, I am writing this post in hope that someone who wants to install Oreo on Life One X in the future would find this post through Google search.
Here are the steps.
0. From this page (https://forum.xda-developers.com/android/development/rom-official-mados-wiko-fever-clones-t3762800), download the TWRP recovery and the madOS Oreo ROM.
1. Download the BLUEFEVER ROM from this page (https://www.npcglib.org/~stathis/blog/2016/04/13/turned-blu-life-one-x-wiko-fever-4g/).
2. Download the SP Flash Tool from the page above or through Google search. The version I used was 5.1812, which seemed to be the latest version.
3. Download the Universal ROM from this page (https://forum.xda-developers.com/android/development/flashable-wiko-fever-stock-marshmallow-t3720484)
4. The critical things is you should not flash the Universal ROM as it is, because that bricked my One X. You need to copy "preloader_l5460.bin" and "secro.img" from BLUEFEVER in step 1 and overwrite them to the Universal ROM.
5. You need to install the Mediatek Driver. I used "MT65XX USB VCOM" driver. I found it using Google search, but forgot where I got it from. But with that name, I think you can find it.
6. Now start the Flash Tool, and and select the download agent in the Flash Tool directory (MTK_AllInOne_DA.bin), and select the scatter file in the Universal rom (MMX BLU), and then select "Format all + Download". Then, this is very important, press the download button BEFORE connecting the phone, otherwise it will not work.
7. Now, turn off the phone (I mean, power off, not just screen off) and then connect it to the PC. If the tool does not recognise the phone, press volume up + down at the same time when you connect it until the device connected sound comes from Windows.
8. Now the tool flashs the rom. Wait. It may take a few minutes.
9. If it is bricked, just leave it for a month until the battery drains and completely turns off, and then try flashing again.
10. Now, boot up the phone, go to Settings -> About and hit the build number several times to enable the developer menu.
11. In the developer menu, enable OEM unlocking.
12. Now, install the Google USB Driver. This can be easily found through a Google search. You need to get the "platform-tools" directory of the Android SDK, which can also be easily found.
13. Now, turn off the phone, and hold volume up + power button. The phone shows tiny menu (really tiny...). The first is recovery, the second is fast boot, and the third is normal. Choose fast boot. Type "fastboot oem unlock". You need to press the volume up button on the phone now.
14. Now the phone is unlocked. Type "fastboot.exe flash recovery twrp_wiko_fever_oreo.img" to flash the recovery.
15. Restart in the recovery using the 13th step.
16. Go to Wipe -> Format data and format the data, otherwise the recovery will not recognise the storage and will not boot.
17. Go to Open Gapps and get ARM64, 8.1, micro. Editions above micro will NOT install with an error message that says insufficient storage.
18. Now connect the phone to the PC. The TWRP recovery automatically mounts the storage to the PC so that you can copy files into it. Copy the mad OS rom ZIP from step 0 and the OpenGapps from step 17.
19. Flash the two using the install menu of TWRP.
20. Done.
I do not use One X as a phone, so I skipped the radio flashing steps. It currently shows the baseband is unknown. If you want to use the phone feature, I think you need to flash the radio img or something using the instructions somewhere in the linked posts.
Find here SP Flash Tool

[GUIDE]Installation of LineageOS 14.1 in Lenovo Vibe B A2016b30 dual sim al732row

Instructions for Unlock bootloader, Root and Installation of LineageOs 14.1 in Lenovo Vibe B A2016b30 dual sim al732row variant by lexiyuri
Credits to: getdroidtips, EduardaMonteiro and CarlosArriaga
Necessary files are uploaded in my androidhostfile space
MTK Drivers:
https://androidfilehost.com/?fid=4349826312261627234
https://androidfilehost.com/?fid=4349826312261627236
Minimal ADB and TWRP 3.1.1.0 Recovery:
https://androidfilehost.com/?fid=4349826312261627232
Stock ROM for Lenovo Vibe B (just in case) of:
https://www.androidfilehost.com/?w=files&flid=303573
Lineage OS 14.1 ROM (Nougat 7.1.2) :
https://androidfilehost.com/?fid=4349826312261627242
SuperSU Root:
https://androidfilehost.com/?fid=4349826312261627240
Gapps (choose ARM 7.1 Stock package):
download from https://opengapps.org/
Make a entire backup of your device, syncing Google and WhatsApp accounts before doing something.
First part: Unlocking bootloader and installing TWRP 3.1.1.0 recovery.
0. Install necessary MTK Drivers from my uncompressed file.
Windows XP to 8.1: uncompress files, and follow on screen instructions
Windows 10 enforces driver signatures by default. This can be disabled to install drivers that are not digitally signed. Use the following steps to disable driver signature enforcement.
Click the Start Start menu and select Settings.
Click Update and Security.
Click on Recovery.
Click Restart now under Advanced Startup.
Click Troubleshoot.
Click Advanced options.
Click Startup Settings.
Click on Restart.
On the Startup Settings screen press 7 or F7 to disable driver signature enforcement. Your computer will restart and you will be able to install non-digitally signed drivers.
Install your mtk unsigned drivers. In this point dont restart computer again. After finishing all the following steps, you can restart your computer again, and the driver signature enforcement will be re-enabled.
Note: Windows XP/7/8 users don't need to do this.
1. Uncompress and pick the minimal adb and twrp provided from the zip file.
Alternatively, you can Download Minimal ADB tool from https://androidmtk.com/download-minimal-adb-and-fastboot-tool
or Download the full setup Android Studio from its official source https://developer.android.com/studio/?gclid=EAIaIQobChMIpdiIlpfh5QIVks13Ch2bUw8REAAYASAAEgJW9PD_BwE
Note: please dont forget do a complete backup of your data before start!
2. In your Lenovo Vibe B, enter Settings and Enable Developer Options:
Settings -> About Phone -> Tap on the Build Number around 7-8 Times until you see a message "Developer option enabled"
Now, you need to enable the OEM Unlock. Go to Settings -> Developer Option and Enable OEM Unlock. Just as simple as you hear!
3. Go to the folder you uncompressed the Adb tools.
Open a command tool right there (CMD or powershell). After that, turn off your phone.
Now press and hold power and volume up button keys at the same time and you'll see three options: Fastboot mode, Normal mode and Recovery mode.
Confirm Fastboot mode pressing Volume up until you point/reach to the fastboot option and confirm pressing volume down to enter, wait for the fastboot message in your phone. Now, connect your phone to the pc using an good usb cable.
4. Type in the cmd screen
Code:
fastboot devices
command and check if the phone is being recognized. This command list the connected devices.
If your phone serial number shows up everything is fine, but if the phone serial number doesn't appear, you must reinstall mtk drivers or choose another usb cable.
5. Check the unlock oem
typing the command
Code:
fastboot oem unlock
and press enter.
Alert: This procedure will erase your data and reset to the default configuration. Be careful! Check unlocked oem confirmation message on your phone screen.
6. Now is the moment of install the TWRP recovery.
To flash, type the following command in the cmd window:
Code:
fastboot flash boot boot.img
Press enter and wait for a confirmation message.
Code:
fastboot flash recovery recovery.img
Press enter and wait for a confirmation message.
7. Turn off the phone. Press and hold power and volume up button keys at the same time and you'll see three options.
With the volume up key, point to the Recovery mode option and confirm with the Volume down key. Wait a little and now you are into twrp 3.1.1.0 recovery. In the finishing touches, configure the twrp recovery and choose power off option.
Second part: install LineageOS 14.1, Gapps and SuperSu to the Lenovo Vibe B
8. Uncompress the LineageOs folder and copy to an external SD the Lineage Os, Gapps and SuperSU zip files.
9.Turn off your phone, pull out the battery, insert your microSD to the phone. Turn on your phone and start it in recovery mode just as stated before in step 7. Now, you are into TWRP
10. Do a wipe in order to delete the Stock rom. Tap Wipe option, then choose advanced wipe and pick the following ones:
Code:
Dalvik /ART Cache
System
Cache
Data
Confirm the wipe option swiping to the right and wait the confirmation message. Press back option and return to the main twrp window
11. In the main twrp window, tap the Install option, locate your microSD as externalSD tapping in the select storage to activate the external SD. Now search the files into the SD, pressing in the "up a level" zone and after you reach it, install the following things in the exact order:
Choose the Lineage OS 14.1 Rom zip file (swipe to confirm) and wait. Dont restart the phone.
After that, choose the Gapps zip file, swipe again to confirm and wait.
Finally, choose the SuperSu zip file included in the folder, do a swipe, wait.
If you want, its possible install all the zip files as a bunch using the "add more zip option" that twrp offers to you, but I prefer do it each one by one.
12. Do a final wipe choosing "wipe Dalvik and Cache".
13. Now choose the restart/reboot option. Wait for the phone initial setup (around a couple of minutes)
14. Configure the phone with your android account preferences. install your favorite apps, sync your info, etc.
15. Configure the SuperSU, install it, and verify the root with the Root checker app (you can found it in the Play store) and you are done!! Enjoy!!

Categories

Resources