[Install CM 12.1 Nightlies for Noobs] Updated 8/22/15 - ZenFone 2 General

I'm creating this guide because other guides seemed quite out of date and a little complicated to unlock/root the phone, involving downgrading. However, this has been tested on firmware 2.20.40.59, but it should work on several older and newer versions.
I plan to make this guide as simple as possible.
1. Install USB Drivers + ADB/Fastboot:
Install this Intel Driver:
http://forum.xda-developers.com/zenfone2/general/intel-usb-driver-android-devices-1-9-0-t3105522
Install this ADB/Fastboot package:
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Now REBOOT the PC! Don't skip this!
2. Unlock the bootloader:
Download the attached file in this thread.
http://forum.xda-developers.com/zenfone2/general/tool-one-click-bootloader-unlock-root-t3155884
Unzip the folder.
Connect phone to computer, and on the phone, enable developer settings ( Go to the "Settings">"About">"Software information">Tap "Build number" seven (7) times).
Go to "Settings">"Developer Settings">Check the box stating "USB Debugging".
On the computer, launch "unlock_one_click_v2.bat"
You should know you're unlocked if your spash/boot screen has inverted colors.
3. Flash TWRP:
Download the Un-tethered TWRP file
http://forum.xda-developers.com/zenfone2/development/alpha-tethered-twrp-asus-zenfone-2-t3123532
Open the folder the .img file is in, and rename the file to "twrp.img".
Hold the Shift button on your keyboard, and right click in the empty space of the folder you are in containing the twrp.img. You should be able to now click "Open Command Window Here".
On the phone (powered on), type "adb reboot bootloader".
After the phone reboots to fastboot, type "fastboot flash recovery twrp.img".
Reboot the phone to the normal OS.
4. Install the ROM & Gapps:
Download Gapps + ROM:
http://forum.xda-developers.com/zen...-unofficial-cyanogenmod-12-1-nightly-t3164144
http://forum.xda-developers.com/zenfone2/development/gapps-t3161271
Place them on your phone while its powered on normally.
On the computer, type "adb reboot recovery".
Create a nandroid backup at this point (https://www.youtube.com/watch?v=c7y0NpJ90JQ).
Now go to Wipe, and wipe everything except SD Card and Internal Storage.
Go back and click Install, and flash the ROM and Gapps file.
Reboot, and you are done!

Related

Tethering on 2.1

I have a rooted GT540 on stock 2.1.
When I try to use tethering programs I get errors relating to Kernels and such.
Is there a method to tether without using a different rom?
You can't tether when you're on 2.1 ROM.... at least Froyo is required...
matcho13579 said:
You can't tether when you're on 2.1 ROM.... at least Froyo is required...
Click to expand...
Click to collapse
You're wrong. Use Barnacle WiFi Tether from market instead. Or use Quarx's Custom Kernel that enables the WiFi tether app from google code to work, but you need to have installed Fastboot rom to install it.
Cheers.
Unfortunately Barnacle hasn't done the job either
KenifJambo said:
Cheers.
Unfortunately Barnacle hasn't done the job either
Click to expand...
Click to collapse
All I can suggest then is installing a custom kernel or ROM I'm afraid.
Here is how you can.
Download this:
http://www.mediafire.com/?imautlh0m29cl2t
This has a fastboot ROM that enables fastboot + recovery so we can flash custom roms.
How to install (Guide from MrMentality @ MoDaCo):
1. Go to the Market and install 'MyBackup Root', open it and do a backup of your apps and personal data (contacts, sms, call log etc.) Once this is done, go to Settings>SD Card and Phone Storage>Unmount SD Card, a notification in the notification bar should appear saying 'SD Card safe to remove'. Remove the battery cover and remove the SD card and store it in a safe place. Then continue to step 2.
2. Extract the .zip file you downloaded to your computer (e.g. your desktop). Open the folder and install MSXML 4.0 SP3 Parser (msxml.msi).
3. If you have your Drivers installed, then skip this: Once that has finished, install LGAndroidDriver_WHQL_ML_Ver1.0_All_Win7.exe which are the drivers so your computer will recognize your phone.
4. Next, open KDZ_FW_UPD.exe
(i) Change 'Type' to '3GQCT' *THIS IS A MUST, THE UPDATE WILL NOT WORK OTHERWISE AND YOU MAY BRICK YOUR PHONE*
(ii) Make sure 'PhoneMode' is set to 'DIAG'
(iii) Browse for the 'V20B_00+Fastboot.kdz' file.
5. Prepare the phone by enabling USB Debugging by going to Settings>Applications>Development>Enable USB Debugging and connect the phone to the computer via USB cable and wait for the drivers to install for the phone.
6. Click 'Launch software update' and do not use your computer until the update is complete. The update will take roughly 10-20 mins to complete. When phone has rebooted, re-root your phone.
Installing recovery:
You have multiple choices to choose from.
ClockworkMod Recovery 2.5.1.8 (Recommended)
ClockworkMod Recovery 4.x (Recommended but you may run into incompatible .zip files, download the recovery_clockwork_x.x.x.x_swift.zip file)
Amon RA 2.2.1 (Recommended but has issues with recovery backups and usb toggle)
Amon RA 1.7.0.1 (Not recommended due to incompatibility with zip files and recovery backups. Also .zips must be signed)
Download the recovery image of your choice (I recommend 2.5.1.8)
Next put your phone in Fastboot mode by rebooting then holding Camera+Power, make sure USB Cable is plugged in. Also let Windows search Windows Update for drivers.
Download fastboot.exe from here: http://adf.ly/2M8Hi and extract it to the desktop. Also put the recovery image you downloaded onto the desktop too.
Open a command prompt and type the following:
Code:
cd Desktop
fastboot devices (if you see ? fastboot then your device is recognized)
fastboot flash recovery name_of_recovery.img
fastboot reboot
When fastboot says rebooting, hold down HOME and wait. You should see clockwork pop up. And there you are, recovery on your phone!
Now to install a custom kernel/rom. If you are happy with Android 2.1 and want tethering, go to step 1 and skip step 2. If you want the bleeding edge and want the latest and greatest Android version, skip step 1 and go to step 2.
Step 1:
Download the boot_666_MMXTREM_init.d.zip from here. Also grab addons.zip from here.
By using the volume keys, go down to Mounts and Storage, press call button, then go to Mount USB Storage, press call button again. On your computer, put both .zip files on the SD Card. Then press call button on phone. Press back until you are at the main screen. Now go to 'install .zip from sdcard' press call to select and press choose .zip, then go down to 'boot_666_mmxtrem.init.d.zip' and select that, then go down to yes and then select, wait until install finishes. Now go back into install.zip and do the same for the addons.zip. When that is finished, go back to main screen and go to 'advanced' and select Wipe Dalvik cache, select yes, wait and then reboot phone. Now try to tether and it should work no problems.
Step 2.
Download any ROM you want from the GT540 section here on XDA.
It will come in either three formats.
Fastboot- boot.img and system.img
Recovery .zip- a .zip file that contains boot.img, and two folders, META-INF and system. DO NOT EXTRACT THIS.
Recovery Backup- boot.img, system.img, data.img, and nandroid.md5
For Fastboot, put phone in fastboot mode, put system.img and boot.img on the desktop, open a command prompt and type:
Code:
fastboot -w
fastboot erase system
fastboot erase boot
fastboot flash boot boot.img
fastboot flash system system.img
fastboot reboot
For recovery.zip, put the .zip file on SD Card (if you are downloading SwiftDroid Recovery version, extract the SwiftDroid_x.x.x.x_recovery.zip put the update-cm-xxxxxx.zip file on your SDCard, not the SwiftDroid.zip one. Then flash in recovery like described in step 1. Remember to factory reset to avoid bootloops.
For recovery backup, put the folder in the ClockworkMod\backup\ folder on the sdcard. Then go to Backup and Restore, choose restore and then choose the backup folder.
Hope it resolves your issues!
Thanks for all that information.
Turns out I was wrong!
My devices don't support ad-hoc so barnacle wasn't the problem.
Found the solution for one of them and Barnacle works.
Still not confident of installing fastboot/roms etc on my gt540 but I managed to find some sort of alternative
Barnacle works for one device (Creative Ziio with ad-hoc enabled)
PDAnet for tablets beta works with browser for my Asus Transformer.
KenifJambo said:
Still not confident of installing fastboot/roms etc on my gt540 but I managed to find some sort of alternative.
Click to expand...
Click to collapse
I can understand your trepidation, but the above instructions are solid and straightforward. I was a bit hesitant at first, but realize that the first steps really involve setting up USB drivers to allow your desktop PC to communicate with the phone, and a program called Fastboot. After that, the installation of the ROM is very simple, and is just a RAR file that you decompress into c:\Android (for example) and run a .Bat file that contains the commands he pasted.
It is well worth it.

[HOWTO] All-in-One Guide to Flashing your first ROM

This is an effort to write a comprehensive all-in-one guide (for newbies too) to flash ROMS on Huawei S7 Slim 201.
First and foremost you have to root your device (so that you can use certain applications e.g. ROM Manager, Titanium Backup). Do the following:
1. Download SuperOneClick (google it) and extract the files
2. Install Huawei Ideos S7 Slim drivers to your computer (if you have not done it already).
3. Connect your device to your computer via USB. Make sure you have activated USB Debugging on your device. Go to settings > applications > development > tick on USB Debugging.
4. Run SuperOneClick.exe. Disable your Antivirus program before running SuperOneClick (optional but helpful). If the drivers for your device are not installed, SuperOneClick will prompt you to let it find the drivers itself. Press yes and let it continue.
5. Click the root tab. (For my device I had to click root several times because the process got stuck, but eventually it succeeded)
6. After the rooting process ends, reboot your device.
Important notice: Although SuperOneClick confirmed twice that the device was rooted, Titanium Backup could not confirm root. If anyone knows of another way please advise.
Now, in order to flash ROMs do the following:
First of all, you have to install ClockworkMod Recovery on your device. (This will help you to perform many other tasks)
There are two versions of ClockWork Recovery (that I know of).
First one is v2.1.5.8
1. Download the recovery zip (201u.7z) from the attachments .
2. Extract the file.
3. Make sure you have activated USB Debugging on your device. Go to settings > applications > development > tick on USB Debugging
4. Turn off your device and connect it to your computer via USB.
5. Press the volume up key and the power key at the same time until the device enters fastboot mode.
6. Run install.bat (from the unzipped files)
7. When the process ends, reboot your device.
8. With the USB cable connected run reboot into recovery.cmd (from the unzipped files). In the window that will open on the PC, type “adb reboot recovery” without the quotation marks and your device (after a few seconds) will enter recovery mode. (This is something you will have to do every time you enter recovery mode, unfortunately, unless you upgraded to CM9 or CM10 where you can boot to recovery by long pressing the power button anchoosing Reboot> Recovery)
9. When you see the ClockworkMod recovery menu, use the volume up and down keys so many times until the message “back menu button enabled” appears at the end of the screen. Now you can use the power button as ENTER. (This is something you will have to do every time you enter recovery mode, unfortunately too)
Second one is CWM-based Recovery v6.0.1.2. (credit to WRCODE over at the androidtablets.net that mentioned it)
1. Download the recovery rar (install.rar) from the attachments.
2. Extract the file. (you will find no reboot into recovery.cmd in those files so, either use the one mentioned above, or use ROM Manager or GooManager (from Play Store) to reboot into recovery. Note: Those managers require rooting your device)
3. Make sure you have activated USB Debugging on your device. Go to settings > applications > development > tick on USB Debugging
4. Turn off your device and connect it to your computer via USB.
5. Press the volume up key and the power key at the same time until the device enters fastboot mode.
6. Run install.bat (from the unzipped files)
7. When the process ends, reboot your device.
8a.With the USB cable connected run reboot into recovery.cmd . In the window that will open on the PC, type “adb reboot recovery” without the quotation marks and your device (after a few seconds) will enter recovery mode. (This is something you will have to do every time you enter recovery mode, unfortunately, unless you upgraded to CM9 or CM10 where you can boot to recovery by long pressing the power button and choosing Reboot> Recovery).
8b. Use ROM Manager or GooManager and select reboot recovery.
(this recovery version does not require anything in order for the power button to act as ENTER)
Having successfully flashed ClockworkMod Recovery, you are now ready to flash your custom rom.
1. Find the ROM that best suits you, download it and place the .zip file at the root of your internal SD Card.
2. Enter recovery mode (as explained above) and select wipe data/ factory reset. Once this is done, select wipe cache partition. Once this is done select advanced and then select wipe Dalvik cache. (very important to do all of these steps)
3. Go back at the original menu and select install zip from sdcard. Select choose .zip from sdcard. Select the .zip file that you placed at the internal SD card (make sure that it is the correct one) and press the power button for ENTER.
4. Once the ROM has been successfully flashed select reboot system now and press the power button.
If everything went ok, after a few minutes you will have your first glimpse of your new custom ROM.
Enjoy it and remember “Use the above instructions at your own risk.”
Moving to General.
usb driver for win7
hello. i've been using this tab for a while and would like to root it. sadly when i connected the usb cable to the tab the driver is not installed automatically. so i think maybe i have to install it on my own. but i can't find the driver anywhere, even the official website of huawei. (the page is available but when trying to download, it show "Service Temporarily Unavailable - The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.")
therefore i would like to request if anyone would be kind enough to upload the driver for me to proceed rooting this device.
thanks in advance.
shawn1968 said:
This is an effort to write a comprehensive all-in-one guide (for newbies too) to flash ROMS on Huawei S7 Slim 201.
First and foremost you have to root your device (so that you can use certain applications e.g. ROM Manager, Titanium Backup). Do the following:
1. Download SuperOneClick (google it) and extract the files
2. Install Huawei Ideos S7 Slim drivers to your computer (if you have not done it already).
3. Connect your device to your computer via USB. Make sure you have activated USB Debugging on your device. Go to settings > applications > development > tick on USB Debugging.
4. Run SuperOneClick.exe. Disable your Antivirus program before running SuperOneClick (optional but helpful). If the drivers for your device are not installed, SuperOneClick will prompt you to let it find the drivers itself. Press yes and let it continue.
5. Click the root tab. (For my device I had to click root several times because the process got stuck, but eventually it succeeded)
6. After the rooting process ends, reboot your device.
Important notice: Although SuperOneClick confirmed twice that the device was rooted, Titanium Backup could not confirm root. If anyone knows of another way please advise.
Now, in order to flash ROMs do the following:
First of all, you have to install ClockworkMod Recovery on your device. (This will help you to perform many other tasks)
There are two versions of ClockWork Recovery (that I know of).
First one is v2.1.5.8
1. Download the recovery zip (201u.7z) from the attachments .
2. Extract the file.
3. Make sure you have activated USB Debugging on your device. Go to settings > applications > development > tick on USB Debugging
4. Turn off your device and connect it to your computer via USB.
5. Press the volume up key and the power key at the same time until the device enters fastboot mode.
6. Run install.bat (from the unzipped files)
7. When the process ends, reboot your device.
8. With the USB cable connected run reboot into recovery.cmd (from the unzipped files). In the window that will open on the PC, type “adb reboot recovery” without the quotation marks and your device (after a few seconds) will enter recovery mode. (This is something you will have to do every time you enter recovery mode, unfortunately, unless you upgraded to CM9 or CM10 where you can boot to recovery by long pressing the power button anchoosing Reboot> Recovery)
9. When you see the ClockworkMod recovery menu, use the volume up and down keys so many times until the message “back menu button enabled” appears at the end of the screen. Now you can use the power button as ENTER. (This is something you will have to do every time you enter recovery mode, unfortunately too)
Second one is CWM-based Recovery v6.0.1.2. (credit to WRCODE over at the androidtablets.net that mentioned it)
1. Download the recovery rar (install.rar) from the attachments.
2. Extract the file. (you will find no reboot into recovery.cmd in those files so, either use the one mentioned above, or use ROM Manager or GooManager (from Play Store) to reboot into recovery. Note: Those managers require rooting your device)
3. Make sure you have activated USB Debugging on your device. Go to settings > applications > development > tick on USB Debugging
4. Turn off your device and connect it to your computer via USB.
5. Press the volume up key and the power key at the same time until the device enters fastboot mode.
6. Run install.bat (from the unzipped files)
7. When the process ends, reboot your device.
8a.With the USB cable connected run reboot into recovery.cmd . In the window that will open on the PC, type “adb reboot recovery” without the quotation marks and your device (after a few seconds) will enter recovery mode. (This is something you will have to do every time you enter recovery mode, unfortunately, unless you upgraded to CM9 or CM10 where you can boot to recovery by long pressing the power button and choosing Reboot> Recovery).
8b. Use ROM Manager or GooManager and select reboot recovery.
(this recovery version does not require anything in order for the power button to act as ENTER)
Having successfully flashed ClockworkMod Recovery, you are now ready to flash your custom rom.
1. Find the ROM that best suits you, download it and place the .zip file at the root of your internal SD Card.
2. Enter recovery mode (as explained above) and select wipe data/ factory reset. Once this is done, select wipe cache partition. Once this is done select advanced and then select wipe Dalvik cache. (very important to do all of these steps)
3. Go back at the original menu and select install zip from sdcard. Select choose .zip from sdcard. Select the .zip file that you placed at the internal SD card (make sure that it is the correct one) and press the power button for ENTER.
4. Once the ROM has been successfully flashed select reboot system now and press the power button.
If everything went ok, after a few minutes you will have your first glimpse of your new custom ROM.
Enjoy it and remember “Use the above instructions at your own risk.”
Click to expand...
Click to collapse
it can work with Ideos S7-201U ???
im newbie here
thx u
hey can you please make a video on this i got stcuk on the part where you run reboot into recovery.cmd
EDIT: nevermind i figured it out now but a video might be nice for some people
Need driver for win7 x64,worked on vista without any drivers being installed for it :/
Huawei Ideos s7 slim
ok,i manage to do only first part(instal bat) and after its stuck
on my screen says when i start cmd recovery "adb server out of date killing....
daemon stars sucssesfuly
and thats about it,no going to recovery no nothing ..... so any help will be nice..
with regards Nenad
MY HUAWEI IDEOS 201uV100R001C239B010 IS NOT OPENING GOOGLE PLAY STORE ,GAMES AND INSTALLING APPLICATIONS BUT IS PERFORMING GOOGLE AND DOWNLOADING VIDEOS AND GAMES
Device isn't being recognized on fastboot. The drivers I use has worked for all of my devices, except for this one...
:/

Can't get adb to see my le pro in fastboot

My phone, the LeEco Le Pro 3 LEX727 ZL1_NA US model is on the latest EUI 5.8.021S. I am able to open the adb tools in command prompt and get my computer to recognize my phone with "adb devices", but when I go to the stock fastboot with the Chinese and English writing and use "fastboot devices" nothing shows up. I'm using the latest adb tools and am clueless as to what to do.
Unlock Bootloader - Le Eco Pro 3
If you are not seeing your phone ID in ADB
Did you enable enable Developer options, or chosen MTP?
Its possible that the Android driver driver is outdated, or just try another usb port, preferably in the back of the machine.
Go here to check a whole list of possible causes: https://appuals.com/android-phone-not-showing-up-on-pc/
More than you asked for:
Since you seem to be new to your Leeco phone and new to using custom roms, I am going to go ahead and answer your current question and provide you steps needed to move forward. No big deal, I just copy pasted my notes ( with a few edits)
First steps that you need to take:
1. You will first need to unlock the bootloader :
PHP:
https://forum.xda-developers.com/showpost.php?p=71566961&postcount=203
2. Install Twrp :
PHP:
https://twrp.me/leeco/leecolepro3.html
****** Scroll down to see: Fastboot Install Method (
3. Right now just use ADB. But for the future, I highly recommend that you buy an OTG drive: it makes the whole process a thousand times easier: They are cheap somewhere near $5 and worth ten times that
Unlocking the Bootloader
You can save your self alot of time by looking up how to give ADB system wide privileges: this will allow you to flash files without tying the directory path.
Mauronofrio created a tool called: "TOOL ALL IN ONE"" it's great, install it and check for updates.
PHP:
https://toolaio.tk
The all is one tool is excellent and you can use it to install everything if wanted.
I usually recommend it for novices that can use it to help with unlocking the bootloader and installing TWRP.
The tool will also update your copy of ADB, android Drivers and provide system wide privileges for ADB
LETS RECAP : Choose using the All in One Tool or the ADB Method
**********BEFORE DOING ANYTHING*******************
Make sure you have enabled the developer tools,
Turned on USB debugging
Authorized your computer on your device I.E: “MTP”
Make sure the All in One Tool can see your device
(*) Select your device from the drop down menu, then click check
(*) Choose to install drivers, and set ADB and fastboot privileges from advanced menu.
(*) First attempt to unlock, then check bootloader status
If you have a X727 you will need to flash : emmc_appsboot.mbn from this zip :
PHP:
https://androidfilehost.com/?fid=313042859668275431
Next, choose Recovery flasher and manually select your copy of TWRP
After you have received the success message, I recommend doing the rest of the install manually within Twrp Recovery.
(*) Reboot into TWRP and begin installation of your Rom, Gapps and Magisk.
Using the ADB Method
Install ADB/Fastboot tools on your computer
PHP:
https://wiki.lineageos.org/adb_fastboot_guide.html
1. Make sure you have enabled the developer tools,
2. Turned on USB debugging, and authorized your computer on your device “MTP”
3. Enter fastboot mode on phone (hold power and VOL -)
4. Make sure adb can see your device when you run "adb devices"
5. type: fastboot devices
6. fastboot flash aboot emmc_appsboot.mbn
7. Run { adb reboot bootloader } - No spaces (before/after)
8. Run { fastboot devices } to make sure you see your device
9. Run { fastboot oem unlock-go } to unlock your device temporarily
10. Run { fastboot oem device-info } to verify unlock status
11. Run { fastboot boot recovery_twrp-3.2.1-0-zl1.img }
12. 5. Reboot back to TWRP and begin installation of your Rom, Gapps and Magisk.
13. 6. If you wiped data, your device will now proceed to re-initialize itself as if from the factory
Concerning your device's storage,
When you boot into twrp you will see a message that states that the storage is encrypted.
*****************Important************************ ******************
Ensure that you have TWRP installed as the primary recovery
Ensure that you have TWRP installed as the primary recovery
Ensure that you have TWRP installed as the primary recovery
Ensure that you have TWRP installed as the primary recovery
To remove encryption you will need to format the storage
(Anyone who says otherwise has the X720 and not the X727)
You could also try to skip the formatting step. But you will very likely have permissions issues and get errors and you will eventually have to come back and format ( Again as long as Twrp recovery is install there is very slim chance of ever bricking your phone.
To format the storage
Go to Wipe, choose Format Data and follow the instructions.
This will erase all of photos , music, etc
If you wiped your data partition, you'll need to push the zip file to the newly formatted storage. - This is one BIG reason why using OTG is better. You can use Mauronofrio's "TOOL ALL IN ONE"" for pushing the ROM, Gapps, and Magisk to storage.
Root: You absolutely should root!
NOTE: If you have unlocked the bootloader and flashed TWRP to the recovery partition. But have not yet flashed a Custom Rom the OS will likely reset back to the factory recovery UNLESS YOU ROOT THE SYSTEM. Your device is still unlocked. But the recovery can be overwritten by the stock EUI system, so beware.
Installation of Rom, Gapps, Magisk
Boot into TWRP recovery
1. Go to "Wipe" and then to "Advanced Wipe".
2. Mark "Dalvik / ART Cache", "System", "Data" and "Cache".
3. "Swipe to Wipe" and proceed back the main menu.
4. Go to "Install".
5. Select the ROM zip file and then press "Add more Zips" and select the Gapps zip file, and then the Magisk file.
6. "Swipe to confirm Flash" and wait for some time.
7. After the flashing is finished, just reboot to system.
Finished!
If you need help or have a question message me, I would much rather help you with a successful install versus helping you unbrick your phone.
Thank you for your reply. I figured out the issue. Windows 10 updater wasn't auto installing the driver for some reason even though I have auto update ticked.
simpbrackets said:
Thank you for your reply. I figured out the issue. Windows 10 updater wasn't auto installing the driver for some reason even though I have auto update ticked.
Click to expand...
Click to collapse
You have manually install those drivers usually.
Sent from my LEX720 using xda premium
I have the same issue in Windows 10. All In One Tool sees my x720 in adb mode, but when I switch to bootloader, the phone is gone. Device manager then shows unrecognized android device. I have LTSB version of Windows, so maybe that's why it won't auto install the needed driver. Could anyone point out what kind of driver exactly do I need, so that I can install it manually?

[GUIDE][MIUI][WAYNE]How to update MIUI10 without losing data

Hi, folks, how you doing?
Today, I'm gonna help you to update your MIUI without losing your installed apps and stuff.
First of all, you have to download the MIUI rom image here. Choose wisely, because there's just one version compatible with MI A2 and it is called MI 6X - WAYNE.
----------------------------------------------------------------
A few things before you get into this:
[!]This process worked to me and can work to you, however, I can not give any garantee of how you will understand it, so, if you follow these steps, do it at your own risk.
[!]You must have USB debugging enabled, an unlocked bootloader, a converted MI A2 to MI 6X andTWRP recovery installed.
[!]CAMERA2API: If you have had edited build.prop and renamed wayne.xml to whyred.xml, you'll have to do it again. I recommend this guide.
Requirements:
1) TWRP Wayne
2) ADB
3) MI 6X Wayne rom
4) USB Debugging, unlocked bootloader enabled in Developer options
5) Platform-tools
6) Compatible USB Cable
----------------------------------------------------------------
A few explanations:
The update process has two methods: one is known as "clean update". On clean update, all data in your phone will be wiped on the process and the update will give you a fresh clean device.
The other one process is known as "dirty update". On this process, only the OS files will be replaced, keeping all that garbage (apps, pictures, music, videos, cache, etc) we love in our phones.
Today, I'll teach you how to do a dirty update.
----------------------------------------------------------------
From here, I'll assume you already have ADB installed and working in your computer and TWRP boot image placed in ADB Folder.
1) Download MIUI rom and place it in your phone's internal memory
2) Restart your phone with Power button + Volume down until you see the Fastboot bunny
3) Connect your phone in your computer using the provided USB cable
4) In your computer (Windows), open file manager in ADB folder, hold SHIFT key and right click mouse and select "Open Command prompt here"
5) In Command Prompt, type
Code:
fastboot devices
and Enter - you shall see your devices ID
6) Type
Code:
fastboot boot twrp-[version here]-wayne.img
and Enter, your phone your will restart and load TWRP Recovery.
7) In TWRP, tap "Install", it will open file manager to you choose the desired file. Select it it and slide "swipe to confirm flash".
8) The installation process will start. Take a coffee because it may take a while.
9) In the end of the update process, tap "wipe Dalvik/Cache".
10) Tap "Restart".
Your phone will restart. The first boot is a little longer than the normal (+-3 minutes), but it is normal.
will it break magisk?

[GUIDE][A6020I36]Install Lineage OS 16, root and recovery in Lenovo Vibe K5

Guide to install Lineage OS 16.0 with root, recovery and unlocked bootloader on Lenovo Vibe K5 A6020I36 by lexiyuri
0. Download and uncompress all the essential included files (TWRP recovery, minimal adb and fastboot, lenovo drivers) included in my androidifilehost link:
https://androidfilehost.com/?w=files&flid=303569
Download the Lineage OS 16 from here (thanks to harry8242):
https://androidfilehost.com/?w=files&flid=282516
dont forget to choose latest Lineage OS 16 compilation
Download the Gapps from
https://opengapps.org/
(choose Android 9.0, arm64 and stock options)
Download the latest SuperSU version (flashable zip package) from here:
http://supersuroot.org/downloads/SuperSU-v2.82-201705271822.zip
Important: dont forget to copy the Gapps, supersu and ROM inside a micro sd card before start!!
1. Make a entire backup of your device, syncing Google and WhatsApp accounts before doing something.
Remember: you are going to erase your Stock Lollipop version in your k5!!
2. Install the inclued Lenovo Drivers
from the folder named latest_usb_driver_windows_2
and the drivers in the executable file named LenovoUsbDriver_autorun_1.1.15_user.exe
For Windows xp to 8.1: proceed to follow on screen instructions
Note for Windows 10 users: this OS 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 in Windows 10.
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 Lenovo drivers.
3. Install Minimal ADB and Fastboot: double click on the adb setup file included and follow on screen instructions
Alternatively you can download Minimal ADB tool from https://androidmtk.com/download-minimal-adb-and-fastboot-tool or choose the included in compressed
Also you can install Android Studio SDK from its official source in order to use the ADB and fastboot tools
https://developer.android.com/studio/?gclid=EAIaIQobChMIpdiIlpfh5QIVks13Ch2bUw8REAAYASAAEgJW9PD_BwE
4. To ease things, copy the Recovery file (twrp3230.img) into Minimal ADB Program files folder (check before if your program files folder are 32 or 64 bits).
5. Unlock bootloader for lenovo Vibe k5
Enable the Developer Options. To enable the Developer Options, go to settings => About => Software Information => More => Tap on the Build Number around 7-8 times until you see a message telling you "developer options enabled"
Go back to settings and now enable the OEM Unlock by going to Settings => Developer Options and tap "Enable/allow OEM Unlock" and after tap in the "Enable/ Allow usb debugging" option.
I want to clarify in this point: Lenovo doesn't offer an official way to unlock bootloader. Now, connect your phone to the PC.
In your Minimal ADB fastboot program files folder open a command prompt (cmd window) by pressing Shift Key + Right Mouse Click, now type the following command line in your command window
Code:
adb devices
(This is to verify your device is being recognized and shows a code or identifier)
Note: if you see a pop up to allow USB Debugging on your phone, Click OK
After that, type the following command below to reboot your phone to bootloader
Code:
adb reboot bootloader
Your phone will reboot into bootloader and enter to the fastboot at the same time.
Fastboot screen shows green lenovo logo, a white background and a tiny message saying if you press longer the on/off button you will restart the phone.
Please, make sure your phone shows the bootloader locked and then type the command below to make sure fastboot drivers are installed properly.
Code:
fastboot devices
(This command will list the connected devices. If your phone serial number shows up you can continue, but if the phone is not listed, your drivers are not installed correctly. Fix that issue and then continue.
Now, unlock the bootloader with this command line
Code:
fastboot oem unlock
Important: this command returns an error code saying that remote oem is not allowed, just like the following one
Code:
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.002s
For some reason I did all the entire process without problems. May be Lenovo Vibe K5 is unlocked by default, so, it doesn't matter if the message says you can't do the unlocking. Continue to the Step 6
6. Install the TWRP recovery 3.2.3-0
Type the following command in order to install the recovery and press enter
Code:
fastboot flash recovery twrp3230.img
(this line installs the twrp permanently)
Optional: you can just run the recovery temporarly using this line
Code:
fastboot boot twrp3230.img
The fastboot boot command line lets you inside the twrp recovery mode window. Also, you can enter to the recovery mode pulling out the battery, pressing vol +, vol - and power all that at the same time.
7. Installing Lineage OS 16.0 -Android Pie 9.0-, Gapps and SuperSu (make root) flashable packages.
First then all, make the reglamentary wipes (one by one) without restart/reboot the phone
Code:
wipe system (this will erase the Stock Lollipop)
wipe data (this will erase pictures, WhatsApp folder, Download folder, data apps, wifi passwords, configurations and so on)
wipe cache
wipe dalvik / art cache
In the main twrp window, tap the Install option, locate your microSD 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 16 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 you downloaded, 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.
8. Do a final wipe choosing "wipe Dalvik and Cache".
9. Now choose the restart/reboot option. Wait for the phone initial setup (around a couple of minutes)
10. Configure the phone with your android account preferences. install your favorite apps, sync your info, etc.
Important: during the configuration, the Pixel launcher can fail. So, choose trebuchet as the default launcher.
11. 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!!
== Special tip to enable the TWRP recovery option in the on/off/restart menu===
12. Once you have finished the set-up in your phone enable the Developer options into Lineage OS following this route:
tap in the drawer little configuation wheel ==> System ==> about phone, go to the last option and tap around 7-8 times in the Rom compilation number until you receive the toast message telling you "developer options enabled".
Return to the main system screen options, tap in System, then tap in advanced, and finally tap in the developer or programmer options, activate them and enable Advanced Power/reboot Menu
13. Finally, hold power button, choose restart, then you will see all restart options including the restart to the recovery .

Categories

Resources