[GUIDE] LG G Pad 8.3 [v500] Unlock, Root, Flash Official TWRP & Official Lineage OS - G Pad 8.3 General

[GUIDE] LG G Pad 8.3 [v500] Unlock, Root, Flash Official TWRP & Official Lineage OS
I'm mainly writing this as a step by step reference for myself, but thought others may find this useful as there are some confusing older posts here. A massive thank-you to fefifofum for all his hard work, and he should feel free to correct me if I made a mistake here somewhere. The pad I used this method for was running Android 4.4 KitKat before beginning, so I did not need to downgrade the bootloader as described in this fefifofum post.
1) Acquire an LG G Pad 8.3 V500, charge it to full before beginning, have a PC with a USB (Micro) cable to connect to your pad
2) If necessary, reset the pad to factory defaults with the following hard key combination:
Hold Power + Vol Down > Wait until LG Logo pops up and release from both buttons > quickly hold Power + Vol Up + Vol Down again
Hit Power 3 times to confirm reset
3) On your PC, download the following files to a folder:
-Latest TWRP App (the APK)
-Latest TWRP Recovery for the v500
-Stump Root
-Latest Official LineageOS build for the v500
4) Boot the pad
5) Connect the pad to your PC
6) On the pad select "MTP" to transfer files
7) On the pad go to Settings -> Security -> Allow Installation of Apps from Unknown Sources
8) Copy the 4 files downloaded to your PC to a temporary folder on the pad (you may use the "Download" folder for example)
9) Disconnect the pad from your PC
10) Go to Apps -> File Manager
11) Browse to "All Apps" Internal Storage -> [Folder you saved files to]
12) Select Stump, Install it, Open It
13) Listen to the groovy music as desired
14) Tell it to brute force, and wait until it asks you to reboot
15) Reboot
16) Browse using the File Manager again to the same folder
17) Select TWRP App (not the recovery image), install it, open it
18) In the TWRP App, check all the boxes including use root access
19) In the TWRP App, Go to flash recovery from file, and select the latest TWRP.img file you downloaded (not the APK)
20) Flash that sucker
21) Reboot to Recovery (I use ADB Reboot Recovery, you could also use the hard button method in step 2 above)
22) Marvel at the beauty of Team Win's legendary creation
23) Go to Wipe -> Factory Reset, wait for it to finish, then go back to main TWRP menu
24) Go to Install -> Browse to your file folder from above -> Select the LineageOS build (a .zip file) you downloaded above
25) Install that sucker
26) Optionally, after installation, you may go to Wipe -> Format Data -> yes to clean all the LG crap off your device (this will wipe your downloaded files too FYI)
27) Reboot into Lineage OS, the best Phone&Tablet OS in town
28) Do a little dance
Hope this is helpful to me later, and to others possibly.

UPDATE: Thanks; I answered my own question, to clarify for other noobs; you need to transfer the zip file in its entirety, and twrp will unzip it upon installing!
Hi, for total noobs, the lineage os file is a zip file, does the entire zip file get transferred? or do you un zip first? If so, exactly which file do you install in step 24?
Thanks in advance.
Update:
I got to step 24, I picked some sort of "img" file to update. I have now been staring at the static LG logo for 10 minutes. How long should I wait to figure out if I did something wrong?

sksahai said:
UPDATE: Thanks; I answered my own question, to clarify for other noobs; you need to transfer the zip file in its entirety, and twrp will unzip it upon installing!
Hi, for total noobs, the lineage os file is a zip file, does the entire zip file get transferred? or do you un zip first? If so, exactly which file do you install in step 24?
Thanks in advance.
Update:
I got to step 24, I picked some sort of "img" file to update. I have now been staring at the static LG logo for 10 minutes. How long should I wait to figure out if I did something wrong?
Click to expand...
Click to collapse
You need to install the Lineage OS build at step 24 in TWRP - that will be the .zip file you should have downloaded here:
https://download.lineageos.org/v500
It should look something like:
"lineage-14.1-20180409-nightly-v500-signed.zip"
Hope that helps.

My V500 is on 4.4, totally stock, and has a 'dead' spot on touch in the center of the screen. Happened after the software upgrade to 4.4.
Will flashing Lineage OS fix this issue? It is a software issue, the hardware works properly when tested.

Soundwve said:
My V500 is on 4.4, totally stock, and has a 'dead' spot on touch in the center of the screen. Happened after the software upgrade to 4.4.
Will flashing Lineage OS fix this issue? It is a software issue, the hardware works properly when tested.
Click to expand...
Click to collapse
I'm not sure, but I know that flashing Lineage OS will give you way more current and updated software than the old 4.4 build by LG. It probably is worth trying, assuming you back up all your files etc.
By "dead spot" do you mean that the tablet does not register your touches in one area of the screen, or that there is a problem with the display?

Can the files be on the SD card instead of internal memory?

sarahlegs said:
I'm mainly writing this as a step by step reference for myself, but thought others may find this useful as there are some confusing older posts here. A massive thank-you to fefifofum for all his hard work, and he should feel free to correct me if I made a mistake here somewhere. The pad I used this method for was running Android 4.4 KitKat before beginning, so I did not need to downgrade the bootloader as described in this fefifofum post.
1) Acquire an LG G Pad 8.3 V500, charge it to full before beginning, have a PC with a USB (Micro) cable to connect to your pad
2) If necessary, reset the pad to factory defaults with the following hard key combination:
Hold Power + Vol Down > Wait until LG Logo pops up and release from both buttons > quickly hold Power + Vol Up + Vol Down again
Hit Power 3 times to confirm reset
3) On your PC, download the following files to a folder:
-Latest TWRP App (the APK)
-Latest TWRP Recovery for the v500
-Stump Root
-Latest Official LineageOS build for the v500
4) Boot the pad
5) Connect the pad to your PC
6) On the pad select "MTP" to transfer files
7) On the pad go to Settings -> Security -> Allow Installation of Apps from Unknown Sources
8) Copy the 4 files downloaded to your PC to a temporary folder on the pad (you may use the "Download" folder for example)
9) Disconnect the pad from your PC
10) Go to Apps -> File Manager
11) Browse to "All Apps" Internal Storage -> [Folder you saved files to]
12) Select Stump, Install it, Open It
13) Listen to the groovy music as desired
14) Tell it to brute force, and wait until it asks you to reboot
15) Reboot
16) Browse using the File Manager again to the same folder
17) Select TWRP App (not the recovery image), install it, open it
18) In the TWRP App, check all the boxes including use root access
19) In the TWRP App, Go to flash recovery from file, and select the latest TWRP.img file you downloaded (not the APK)
20) Flash that sucker
21) Reboot to Recovery (I use ADB Reboot Recovery, you could also use the hard button method in step 2 above)
22) Marvel at the beauty of Team Win's legendary creation
23) Go to Wipe -> Factory Reset, wait for it to finish, then go back to main TWRP menu
24) Go to Install -> Browse to your file folder from above -> Select the LineageOS build (a .zip file) you downloaded above
25) Install that sucker
26) Optionally, after installation, you may go to Wipe -> Format Data -> yes to clean all the LG crap off your device (this will wipe your downloaded files too FYI)
27) Reboot into Lineage OS, the best Phone&Tablet OS in town
28) Do a little dance
Hope this is helpful to me later, and to others possibly.
Click to expand...
Click to collapse
XXXXX - NVM, I went ahead and chose Grind, it then asked if I wanted to Brute Force. All is well. Thanks.... XXXXNeed a little help, please. Step 14 says to tell Stump to use Brute Force, but the app only has a button that says "GRIND". Is Grind the same as Brute Force and shouldn't the instructions mention Grind? Thanks in advance for the step by step instructions. NVM

Let's say I got as far as step 26 and then now every time I reboot (either to System or Recovery) it goes back to the TWRP boot menu. Any idea which step I screwed up?
One thing that I'm somewhat concerned with is that when I try to install lineage-14.1-20180422-nightly-v500-signed.zip or the 0429 file, the Zip signature verification fails for either. So I tried them both, disabling the zip signature verification, so it would complete.
Thanks for the write up, and sorry for what is likely a noob mistake.
/Arthur

How do you shoot root?

sachs said:
How do you shoot root?
Click to expand...
Click to collapse
What ?????
Please offer more clarification for your question. Thanks

hodgestl said:
What ?????
Please offer more clarification for your question. Thanks
Click to expand...
Click to collapse
Sorry, how do I unistall root?

sachs said:
Sorry, how do I unistall root?
Click to expand...
Click to collapse
There are various ways to do root and various ways to disable it and remove it.
You must write how you did root, because no one will want to answer your question clearly.
You have a long internship in this forum and you should know about XDA rules, especially 1 and 3.

Dear sarahlegs,
Thank you so much for this procedure... Easy, clear, efficient... It took only 30mn to me to proceed and to give a "second youth" to my lovely Lg Pad... !
Here are my (little) feedbacks for noobz, according to my experience :
Step 2 :
After power in your tab by pressing VOL DOWN + POWER, when the LG appears, yes, you'll have to press VOL DOWN + VOL UP + POWER (all together) until the Factory Hard Reset page appears (it's not usual to press VOL UP and DOWN in the same time).
Also you will only have to press POWER two times (not three as indicated in the procedure) to confirm the reset (just follow what is indicated on the screen).
Step 21 :
Boot exactly like step 2. You will be invited to proceed to "Factory Hard Reset" exactly like in step 2. Proceed by pressing 2x times the POWER button and AFTER that the new TRWP menu will appear (don't be afraid to perform the factory reset ! the TRWP only appears after this step... and you'll be able to go on with the procedure).
Also, I may introduce an optional "26.1" step :
If you reboot your tablet now, it will work perfectly, but as a noob you won't find any "Google Play" icon, which can be a little bit disapointing for you (or any "classic" Google tools, like Maps, Gmail, etc..).
Don't worry.
To install all (or some) standard Google applications like Google Play, you need to install the "OpenGapps" package. And you HAVE to install it NOW, before the first reboot (as indicated in the OpenGapps procedure : "If you reboot into LineageOS before installing Google apps, you must factory reset and then install them, otherwise expect crashes.").
Procedure and download links are explained here.
For your LG GPad 8.3 (assuming that you installed the Lineage version indicated in this procedure), select "Lineage 14.1 (Android 7.1)" then on next page, download your package from "ARM" as "Platform" and "7.1" as "Android" (then it's up to you to choose, Nano, Pico, Full etc... I personnaly choosed the "Mini")
Once done, enjoy your renewed Gpad, and thanks again sarahlegs for the great job he did writing this step-by-step procedure (and all people who worked on this lineage realease for Gpad 8.3) !

I have a LG tablet. I really like it, until it started giving me trouble. It has Trouble sometimes restarting etc. It just buzzes instead of coming on. If I shut the screen off, it takes several tries Before it comes back on. Someone said it might need to be flashed again. Do you think it would help it? Please give me some advice. thanks

doesn´t work on mine. Stump says unsupported device.
I have lineage installed and that doesn´t work...
sarahlegs said:
I'm mainly writing this as a step by step reference for myself, but thought others may find this useful as there are some confusing older posts here. A massive thank-you to fefifofum for all his hard work, and he should feel free to correct me if I made a mistake here somewhere. The pad I used this method for was running Android 4.4 KitKat before beginning, so I did not need to downgrade the bootloader as described in this fefifofum post.
1) Acquire an LG G Pad 8.3 V500, charge it to full before beginning, have a PC with a USB (Micro) cable to connect to your pad
2) If necessary, reset the pad to factory defaults with the following hard key combination:
Hold Power + Vol Down > Wait until LG Logo pops up and release from both buttons > quickly hold Power + Vol Up + Vol Down again
Hit Power 3 times to confirm reset
3) On your PC, download the following files to a folder:
-Latest TWRP App (the APK)
-Latest TWRP Recovery for the v500
-Stump Root
-Latest Official LineageOS build for the v500
4) Boot the pad
5) Connect the pad to your PC
6) On the pad select "MTP" to transfer files
7) On the pad go to Settings -> Security -> Allow Installation of Apps from Unknown Sources
8) Copy the 4 files downloaded to your PC to a temporary folder on the pad (you may use the "Download" folder for example)
9) Disconnect the pad from your PC
10) Go to Apps -> File Manager
11) Browse to "All Apps" Internal Storage -> [Folder you saved files to]
12) Select Stump, Install it, Open It
13) Listen to the groovy music as desired
14) Tell it to brute force, and wait until it asks you to reboot
15) Reboot
16) Browse using the File Manager again to the same folder
17) Select TWRP App (not the recovery image), install it, open it
18) In the TWRP App, check all the boxes including use root access
19) In the TWRP App, Go to flash recovery from file, and select the latest TWRP.img file you downloaded (not the APK)
20) Flash that sucker
21) Reboot to Recovery (I use ADB Reboot Recovery, you could also use the hard button method in step 2 above)
22) Marvel at the beauty of Team Win's legendary creation
23) Go to Wipe -> Factory Reset, wait for it to finish, then go back to main TWRP menu
24) Go to Install -> Browse to your file folder from above -> Select the LineageOS build (a .zip file) you downloaded above
25) Install that sucker
26) Optionally, after installation, you may go to Wipe -> Format Data -> yes to clean all the LG crap off your device (this will wipe your downloaded files too FYI)
27) Reboot into Lineage OS, the best Phone&Tablet OS in town
28) Do a little dance
Hope this is helpful to me later, and to others possibly.
Click to expand...
Click to collapse

Thanks for the guide. My G pad 8.3 was already rooted with towelroot so i skipped the rooting step.
Once i've flashed LineageOS it just boots back into TWRP, even if i select reboot>system it still just boots into recovery. Anyone know where i'm going wrong or can help fix the issue?
EDIT: I've fixed the issue, i had to run a couple of commands from the terminal that i found in another thread.
Thanks

sarahlegs said:
I'm mainly writing this as a step by step reference for myself, but thought others may find this useful as there are some confusing older posts here. A massive thank-you to fefifofum for all his hard work, and he should feel free to correct me if I made a mistake here somewhere.
...
28) Do a little dance
Hope this is helpful to me later, and to others possibly.
Click to expand...
Click to collapse
I'm currently typing and dancing.
This was actually a very nice explanation.
Usually these things are too technical and you have to do research for years, but I know have LineageOS on my GPad8.3 V500 and I'm happy, happy, happy!

Anyone know if this will work on a VK810 4G model?

Can I just say a big thanks to this post and other comments - my tablet has gone from being an old and increasingly unloved device running Android 4, to become a slick clean interfaced smooth running Nougat machine. It is so good I have just bought another V500 off eBay. The OS maintainer is doing a fantastic job ( I just hope Lineage 15 will be here soon )

I've got a stock V500 running Lollipop, that I force upgraded back in the day. I'm told I have to downgrade this back to Kitkat in order to start playing with ROMs, is that true? And if so, is there a guide to do so - the link in the OP doesn't work anymore. Any advice would be appreciated!
Mark

Related

1Click method mini tutorial

For all having problems making root/recovery/flash like I did I'm writing some things I did do get it going:
(1st time flashers) All the steps
On tattoo:
- Boot on your stock recovery and wipe cache then factory reset.
- Reboot
On PC:
- Install HTC Sync on your PC and optionally install Android SDK Tools. Update SDK Tools with SDK Manager.
- Download latest 1Click update by tenis and extract it to C:\ so you have rtattoo on hard disk root.
- Download the latest cyanogenmod and gapps for your device and put it on the root of your sdcard.
On tattoo:
- Select USB Debugging Mode ON to Application/Development
- Connect tattoo to PC and select HTC Sync
On PC:
- Try to run "adb devices" from (c:\rtattoo\adb.exe) on command prompt, it must show your device attached, if it says that adb is deprecated you can replace it with the one on SDK Tools you've installed
- Close terminal and hit rootTattoo on rtattoo folder.
- If it's showing a number on terminal the application found your CID, write it down or make a printscreen if you didn't a goldcard and want to make it later with your sdcard.
- Hit any key to start. It will run all the way without taking anymore action from you and it automatically reboots tattoo.
Now you have recovery installed.
- Turn off the phone.
- Press home button and without releasing it press power button and hold the two together until the clockworkmod recovery shows up.
- Select Backup to backup your current ROM, you will need it if you want to go to stock ROM
- Reboot if you want to make sure everything is OK and get into recovery again
- Select wipe cache/factory reset from the menu using your D-Pad.
( BE CAREFUL now, you should have your battery with a good amount of charge, make a full charge before just to be sure)
- After the wipe select update from zip file, go thru you card and select the cyanogenmod zip to flash your rom.
- After flash go back on the menu and select reboot device.
Wait patiently for the full boot, it can take several minutes, the rom is being configured.
After the android skater shows up wait a bit more and the operating system will start.
Don't rush into the phone once it gets started up, let it settles and start all services.
After that, since you are rooted, with recovery and flashed, the last thing is to reboot on recovery, select update from zip and hit the gapps zip file to get the google apps instaled (optional)
Thanks to:
- tenis that guide me thru the process and updated his thread to the latest clockworkmod
- maverick, kalim and everyone involved on this 1Click Procedure
And of course thanks to the cyanogen and clockworkmod developer teams
Have a nice android experience
Or you can download Universal androot and rom manager to have clockworck mod recovery in 2 steps...
Well you're right but that didn't work for me.
Androot OK, flashed by rom manager supposedly OK but, on boot clockworkmod never showed up.
1Click is an excellent alternative

[GUIDE] How to unlock your bootloader, install TWRP and gain root access

There doesn't seem to be a comprehensive guide on this, so I thought I would provide one.
READ THIS FIRST
DO NOT TAKE ANY OTA UPDATES!!!
Please consider the following:
Ask yourself these two questions: "Why do I want to unlock my bootloader? Why do I need root access?" If the answer to either one of those is "I don't know," don't do it. Both of these actions weaken the security of your phone, and there's no reason to do that if you're not sure why.
This guide is for the Droid Turbo, model XT1254. It is not for the Droid Turbo 2, and it is not for any phone that is not named Droid Turbo.
Standard XDA rules apply. I'm not responsible for anything you do, and neither is anyone else other than you.
I'm assuming that you are running a Windows PC. If you have a Mac, I can't help you. If you're running Linux, you shouldn't need help.
This method is not free. It costs $25 (USD). If that's not okay with you, don't do this.
Once your bootloader is unlocked, you CANNOT safely re-lock and unlock it again. See this thread for what happens when you try to do that: http://forum.xda-developers.com/droid-turbo/help/relocked-bootloader-bricked-t3306081#post65095391
Still here? Cool.
Section 0: Installing Firmware Version MCG24.251-5
1. Go to Settings -> About phone -> Build number. If it says SU4TL-44, SU4TL-49 or MCG24.251-5, skip to section 1 of this guide. If it says MCG24.251-5-5, you need to take an extra step to unlock your bootloader. I'll explain later. For now, just skip to section 1 of this guide. If it says anything else, keep reading.
Flashing MCG24.251-5 using this method will erase all of your data. Back up any important files/information before proceeding.
2. Download and install Minimal ADB and Fastboot from here: http://forum.xda-developers.com/showthread.php?t=2317790.
3. Download and install the Motorola Device Manager from here: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
4. Download the MCG24.251-5 firmware package from here: https://www.androidfilehost.com/?fid=889764386195901169
5. Extract the contents of the MCG24.251-5 firmware package to the installation directory of Minimal ADB and Fastboot (C:\Program Files (x86)\Minimal ADB and Fastboot on any 64-bit installation of Windows).
6. Power off your phone.
7. Hold down the volume down button and power on your phone. Release the volume down button when you see that the phone has booted into bootloader mode. You'll see a dead green android.
8. Plug the phone into your computer.
9. Open the Minimal ADB and Fastboot shortcut on your desktop. This will open a command prompt.
10. Type "fastboot devices" and press enter. If it displays your device's serial number, you're ready to go. If it displays nothing, your computer is not recognizing your device properly.
11. Navigate to the installation directory of Minimal ADB and Fastboot and double click on FlashAll.bat. This will flash MCG24.251-5 to your device and erase all of your data.
12. Use the power button to select Start in the bootloader menu to boot normally.
13. Set up your phone at least to the point where you can install apps if you want to.
For now, just try to ask someone nicely to help you out with this. I'll try to get this done before the end of the day.
Section 1: Unlocking the Bootloader
1. Download Sunshine from here: http://theroot.ninja/download.html
2. Move the apk file to a convenient location on your phone. If you downloaded it with your phone, it's in your downloads folder already, so leave it there.
3. Use any file browser on your phone to navigate to the folder that contains the Sunshine apk file. Tap on it to install it.
4. If a message comes up and says that you need to enable installation of apps from unknown sources, follow the instructions on that message to enable it.
5. Enable Wi-Fi on your phone if it is disabled. Even if you aren't connected to a Wi-Fi network, it still needs to be on.
6. !!!DO THIS STEP ONLY IF YOU'RE ON MCG24.251-5-5!!! Follow the instructions here to obtain temporary root: https://forum.xda-developers.com/g4-play/development/root-autoinitroot-motorola-bootloader-t3639316/. DO NOT perform the uninstall step.
7. Open your app drawer and start Sunshine.
8. Follow the instructions.
9. !!!FOR MCG24.251-5-5 ONLY!!! Sunshine will reboot your phone automatically, and it will go into a bootloop. This is normal. Don't panic. Hold down the volume down button until the phone goes into bootloader mode. Plug your phone into the computer, start Minimal ADB and Fastboot (see Section 0 for link if you didn't have to install it before this point), and enter the command fastboot oem config fsg-id "". This will disable the temporary root exploit. Reboot your phone normally, and everything should be happy again.
10. If, when your phone reboots, you see a "Warning: The bootloader is unlocked" message, you have successfully unlocked your bootloader. If you do not see this message, open Sunshine again and follow the directions again. If you're on MCG24.251-5-5, you'll have to gain and uninstall temproot again at the appropriate times.
Section 2: Installing TWRP
Team Win Recovery Project is arguably the most important tool to have on a bootloader-unlocked phone. This is how you install it:
1. Download and install Minimal ADB and Fastboot from here: http://forum.xda-developers.com/showthread.php?t=2317790. If you already did this in section 0, you don't have to do it again.
2. Download the latest TWRP .img file from here: https://www.androidfilehost.com/?w=files&flid=39562
NOTE: The TWRP file that you download should have a .img extension. Make sure you can see this. If you don't see .img at the end of the filename, Google how to make file extensions visible on your version of Windows and do it. If you do not do this, you may run into trouble later.
3. Download and install the Motorola Device Manager from here: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481. If you already did this in section 0, you don't have to do it again.
3. Rename the file that you downloaded in step 2 to TWRP.img
4. Copy TWRP.img to the directory that you installed Minimal ADB and Fastboot to. The default location on an installation of 64-bit Windows is C:\Program Files (x86)\Minimal ADB and Fastboot.
5. Turn off your phone.
6. Hold the volume down button and press the power button to boot into bootloader mode. You should see a green android lying on his back with his chest open, and some information about your phone. Poor little guy...
7. Plug your phone into your PC.
8. Double click on the Minimal ADB and Fastboot shortcut that's on your desktop. It will open a command prompt.
9. Type "fastboot devices" without quotes and press enter. If it gives you your phone's serial number, you're good to go. If it gives you nothing, your device is not detected. This can happen for several reasons, and I won't discuss them here. However, if you followed these directions and all of your hardware is functioning properly, you should be good to go.
10. Type "fastboot flash recovery TWRP.img" without quotes and press enter. It should tell you that the flash was successful. You might see some "not found" errors. These are normal and can be ignored.
11. Highlight "Recovery mode" on your phone using the volume up and down buttons.
12. Press the power button to boot into TWRP.
13. TWRP will boot, and it will ask you if you want to allow write access to the system partition. IT IS VERY IMPORTANT THAT YOU ALLOW THIS. Check the box that says to never ask this question again.
14. Select Reboot, followed by System to boot the phone normally.
Section 3: Gaining Root Access
If you intend to install a custom rom, these steps are not necessary. Custom roms almost always come with root access built in. Refer to the thread of your custom rom of choice for installation instructions.
If you do not want a custom rom, and you simply want root access on the stock Droid Turbo rom, continue reading.
1. If you are on the stock marshmallow rom, build MCG24.251-5 or higher, download the latest version of both Magisk and Magisk Manager to your phone: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445.
NOTE: You need to be on marshmallow to use Magisk to root your phone. The Magisk thread says it supports lollipop and higher, but it only supports lollipop for some stock Samsung roms. This does not apply to you. If you want to root your phone on lollipop, you'll need to use SuperSU. I won't go into that here because I don't think there is a lot of demand for it, but if you need help with that, reach out to someone here. It's not difficult.
2. Install Magisk Manager the same way you installed Sunshine.
3. Turn off your phone.
4. Hold the volume down button and press the power button to boot into bootloader mode. You should see a green android lying on his back with his chest open, and some information about your phone. Andy, what have they done to you?
5. Use the volume up and down buttons to highlight "Recovery mode."
6. Press the power button to select Recovery mode.
7. Select Install from the TWRP main menu.
8. Select the most recent version of Magisk (the .zip file, NOT the Magisk Manager .apk file) that you downloaded.
9. Swipe the bar at the bottom of the screen to flash this zip file.
10. When it finishes, select Wipe Cache/Dalvik and swipe the bar at the bottom of the screen.
11. Select Reboot System
Section 4: Passing Safetynet using Stock, Unrooted Marshmallow
If you are running stock marshmallow with an unlocked bootloader, you will fail safetynet verification (and be unable to use Android Pay). Installing Magisk is the only recommended method, as of this writing, to bypass this limitation. If you completed Section 3, you shouldn't have any trouble. Understand, however, that there is a constant game of cat and mouse going on between Google and Magisk's developer, so sometimes Google will update safetynet to beat Magisk. If that happens, wait for Magisk Manager to tell you that a new version of Magisk is available, and it will install the new version for you. That's your best bet for passing safetynet again.
If you really want to pass safetynet, but you really don't want to be rooted, you can disable root (Superuser access) in the Magisk Manager settings.
Section 5: Miscellaneous
Here are some links to stuff you can flash now that your bootloader is unlocked:
Official LineageOS 12.1 (Android 5.1.1): http://forum.xda-developers.com/dro.../moto-maxx-xt1225-droid-turbo-xt1254-t3260253
Official LineageOS 13.0 (Android 6.0.1): http://forum.xda-developers.com/dro.../moto-maxx-xt1225-droid-turbo-xt1254-t3353298
AOSPExtended (Android 7.X): https://forum.xda-developers.com/moto-maxx/general/rom-aospextended-rom-v3-1-t3555361
Unofficial LineageOS 14.1 (Android 7.X): http://forum.xda-developers.com/moto-maxx/development/rom-t3494646
crDroid (Android 7.X): http://forum.xda-developers.com/moto-maxx/development/rom-crdroid-android-t3491257
Android Open Kang Project (Android 7.X): http://forum.xda-developers.com/droid-turbo/development/rom-aokp-7-x-quark-t3504629
Resurrection Remix (a great LineageOS-based rom, Android 5.1.1): http://forum.xda-developers.com/moto-maxx/development/rom-resurrection-remix-5-5-5-t3197643
Resurrection Remix (Android 6.0.1): http://forum.xda-developers.com/moto-maxx/development/rom-resurrection-remix-t3316232
Resurrection Remix (Android 7.X): https://forum.xda-developers.com/moto-maxx/development/rom-resurrection-remix-t3511109
Computerfreek274's optimized stock rom (Android 6.0.1): http://forum.xda-developers.com/droid-turbo/development/computerfreekunlocked1-0-t3255945
MoKee Open Source Project (Android 6.0.1): http://forum.xda-developers.com/moto-maxx/development/rom-mokee-opensource-project-t3188936
Bliss Rom (Android 6.0.1): http://forum.xda-developers.com/droid-turbo/development/rom-bliss-rom-6-4-team-bliss-t3422937
Android Open Kang Project (Android 6.0.1): http://forum.xda-developers.com/droid-turbo/development/rom-android-kang-project-t3422456
Android Open Kang Project (Android 7.X): https://forum.xda-developers.com/droid-turbo/development/rom-aokp-7-x-quark-t3504629
Change the splash screen (the bootloader unlocked warning message) that you see when you first start your phone: http://forum.xda-developers.com/dro...custom-boot-logos-accepting-requests-t3262873
Xposed framework and installer (make sure to use the sdk22-arm version if you're running a lollipop rom, sdk23-arm if you're running marshmallow. Not available for nougat yet.): http://forum.xda-developers.com/showthread.php?t=3034811
Alternative Material Design Xposed Installer that provides additional features: http://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Pon-3 Audio Mod (modified and improved Viper4Android. It makes your phone sound better.): http://forum.xda-developers.com/showthread.php?t=2530976
Other modded Viper4Android versions that are better than PON-3: http://forum.xda-developers.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075
Theme your TWRP with different colors: http://forum.xda-developers.com/android/themes/theme-twrp-3-0-0-0-dark-stock-colors-t3310235
More TWRP themes: http://forum.xda-developers.com/showpost.php?p=66276401&postcount=2889
Android N Emojis: http://android.wonderhowto.com/how-to/get-android-nougats-all-new-emojis-right-now-0170328/
Section 6: Troubleshooting
Issue: When you try to boot TWRP, you see a screen that says "no command." TWRP does not boot.
Solution: The screen you are seeing is the stock Droid Turbo recovery menu (the menu that you're trying to replace with TWRP). If you see this after flashing TWRP, one of two things happened:
-You did not boot into the recovery menu immediately after flashing TWRP, and it was therefore replaced by the stock recovery menu.
-When you flashed TWRP, the process did not complete successfully.
The solution to both of these problems is to repeat section 2 and follow the instructions more carefully.
Issue: When TWRP asked you if you wanted to allow write access to the system partition, you selected no. Now you cannot flash anything.
Solution: At the main TWRP menu, select Mount. Uncheck the box that says "Mount system partition as read-only."
Issue: Fastboot says "cannot load TWRP.img" when you try to flash it.
Solution: This error indicates that Fastboot cannot find TWRP.img. The most common source of this problem is that you did not make your file extensions visible, and so when you renamed the TWRP file to TWRP.img, you actually renamed it to TWRP.img.img (including the hidden .img file extension that you didn't realize was there). Google how to enable file extensions on your version of Windows, follow those instructions, and if this is the issue you will see it.
nice write up - will follow these when I get my phone tomorrow.
worked!
Just tried this. Worked amazingly, and exactly as you described! Thanks!!
Thanks just got this phone yesterday. I came from a Verizon s4 with a unlockable bootloader so now running cm on a phone is really awesome for me. Although I was concerned about the $25. I love paying people for there work but it seemed different and I was expecting the app to be a scam or something. However everything went okay. I wish there was a way to get viper4android working. Does anyone know about that? I thought installing cm would have fixed the issue. Anyways thanks a lot. I wonder if I can change my username. Lol.
I keep getting a "no command" screen after step 6 in section 3. Everything else worked perfect. Any ideas?
22e said:
I keep getting a "no command" screen after step 6 in section 3. Everything else worked perfect. Any ideas?
Click to expand...
Click to collapse
So you can't boot into twrp?
Sent from my XT1254 using Tapatalk
SpyderPride said:
So you can't boot into twrp?
Sent from my XT1254 using Tapatalk
Click to expand...
Click to collapse
Nope, no matter what I do, it stays on that screen. I have to reboot and then it returns to normal. I've followed all of the steps twice now and got the same results each time. I do have the phone still plugged into the computer charging.
s4shield said:
Thanks just got this phone yesterday. I came from a Verizon s4 with a unlockable bootloader so now running cm on a phone is really awesome for me. Although I was concerned about the $25. I love paying people for there work but it seemed different and I was expecting the app to be a scam or something. However everything went okay. I wish there was a way to get viper4android working. Does anyone know about that? I thought installing cm would have fixed the issue. Anyways thanks a lot. I wonder if I can change my username. Lol.
Click to expand...
Click to collapse
https://www.androidfilehost.com/?w=files&flid=44797 try this just flash it through TWRP its basically viper4android i've used it before
5.1
HI, I am on SU3TL-39, android 5.1, system 23.11.39.quark_verizon.verizon.en.US vzw.
I have been holding off on an OTA that my phone keeps prompting me to do, should I now take that OTA?
CatMan8 said:
HI, I am on SU3TL-39, android 5.1, system 23.11.39.quark_verizon.verizon.en.US vzw.
I have been holding off on an OTA that my phone keeps prompting me to do, should I now take that OTA?
Click to expand...
Click to collapse
if u want an unlocked bootloader then take the OTA
22e said:
I keep getting a "no command" screen after step 6 in section 3. Everything else worked perfect. Any ideas?
Click to expand...
Click to collapse
The screen that you're seeing is the stock Droid Turbo recovery menu, which means that TWRP is not getting flashed. What result does it give you after section 2, step 10?
s4shield said:
Thanks just got this phone yesterday. I came from a Verizon s4 with a unlockable bootloader so now running cm on a phone is really awesome for me. Although I was concerned about the $25. I love paying people for there work but it seemed different and I was expecting the app to be a scam or something. However everything went okay. I wish there was a way to get viper4android working. Does anyone know about that? I thought installing cm would have fixed the issue. Anyways thanks a lot. I wonder if I can change my username. Lol.
Click to expand...
Click to collapse
Yeah, I did the exact same thing. The MDK bootloader is golden. I broke my phone once and almost cried. Luckily, I was able to get another MDK on Swappa. The seller wasn't even charging extra for it! He/she must not have known what they had.
As for Viper4Android, I've added a link to section 4 that you might want to look at.
iceblitz4 said:
https://www.androidfilehost.com/?w=files&flid=44797 try this just flash it through TWRP its basically viper4android i've used it before
Click to expand...
Click to collapse
Thanks! If I can only remove all the brony stuff from the app. Lol. I guess I can change the icon. I have to pretend at least that I don't have a mangina when I'm with my friends. No seriously this post made my day. I thought I was stuck without viper on my phone.
s4shield said:
Thanks! If I can only remove all the brony stuff from the app. Lol. I guess I can change the icon. I have to pretend at least that I don't have a mangina when I'm with my friends. No seriously this post made my day. I thought I was stuck without viper on my phone.
Click to expand...
Click to collapse
Such is life. Sometimes if you want the wubz, you gotta take the brony.
TheSt33v said:
Such is life. Sometimes if you want the wubz, you gotta take the brony.
Click to expand...
Click to collapse
Ha ha ha!
successful for me, thanks!
to comment on @22e issue, I had the same problem. i was able to correct it by copying the TWRP.img file to the same directory as the minimal adb fastboot files were installed in.
also, a shortcut after flashing TWRP is to type "fastboot reboot-bootloader". this will return back to bootloader rather than having to reboot, power off, and then press the buttons to get to bootloader.
hope this helps.
Awesome post. It definitely will come in handy. One question, at what point should I create a backup image via twrp? Is it before section 3 step 7?
s4shield said:
Thanks just got this phone yesterday. I came from a Verizon s4 with a unlockable bootloader so now running cm on a phone is really awesome for me. Although I was concerned about the $25. I love paying people for there work but it seemed different and I was expecting the app to be a scam or something. However everything went okay. I wish there was a way to get viper4android working. Does anyone know about that? I thought installing cm would have fixed the issue. Anyways thanks a lot. I wonder if I can change my username. Lol.
Click to expand...
Click to collapse
Download the file www.viperforandroid.com install goto menu set as expert ui under ui setting open viper4android check on click box click appropriate sound changer so it sounds right to u I suggest doing on headphones than use thoose settings as base settings for phone bt ect.. The the real good sound comes in under conolover files you must download impulse response files or. Irs files dfx_pro_surround_2.irs, Dolby,, dfx ect. After u download you unzip and using a file manager find unzipped file and goto sd card u will see viper4android folder inside that folder you will see 2 other folders one being kernel place irs files in kernel folder. Now when you click impulse response you will have the audio producing files. Like Dolby digital cinema, stereo, HD. Ect there are hundreds I'll post my walk though install video
can you help me sir
my friend have verizon moto droid ultra xt1254 and he already give it to me
and i got this phone with google account privacy and he forgot last email in this device, so i cant finished setup wizard and go to home screen
this device locked bootloader so i cant do something to
what should i can do?
jco23 said:
successful for me, thanks!
to comment on @22e issue, I had the same problem. i was able to correct it by copying the TWRP.img file to the same directory as the minimal adb fastboot files were installed in.
also, a shortcut after flashing TWRP is to type "fastboot reboot-bootloader". this will return back to bootloader rather than having to reboot, power off, and then press the buttons to get to bootloader.
hope this helps.
Click to expand...
Click to collapse
Thanks for the help.
After I got stuck, I downloaded and installed KingRoot. It successfully rooted my phone. I downloaded two different root checkers and they confirmed. Everything works correctly within Rom Toolbox Pro now, I can remove apps (stupid NFL mobile, Amazon, etc). My software status says "Modified". I did not need to format or anything like that. Is that normal? My only issues are with XBlast Tools and SuperSU, when I change a setting in XBlast, it does NOT get updated. Even after a reboot. In SuperSU cannot update binaries for some reason.
I cannot post outside links for screen shots yet.

How to Root LG G5 and Install Latest TWRP Recovery - European Edition

TeamWin now officially supports the newly announced LG G5 and you can install the Latest TWRP custom recovery on it easily with this detailed tutorial. TeamWin recently gave there phenomenal custom recovery a major revamp. The new additions included a totally new design philosophy with new color schemes inspired by Material Design, newer code based on Android 6.0 Marshmallow and a lot of bug fixes. It is absolutely amazing seeing the developer community put out support for new phones this quickly.
You can follow this guide to unlock the bootloader of your LG G5. If you have successfully unlocked the bootloader of your LG G5, you should be waiting for a method to root your device. Here is a step by step guide to Install TWRP and Root your LG G5.
NOTE: This TWRP Recovery is Only for LG G5 H850 Europian Models. Please don't try this with any other LG G5 variant.
Step-by-Step Instructions :
Step 1 : Download Android SDK from the official Android Developers website and install it in your computer.
All Download Links I have Posted here : Download Now
Step 2 : Download the Latest SuperSU Zip file and paste into your phone internal storage (not in any folder) in order to root your LG G5.
Step 3 : Download Latest TWRP Recovery to your computer and rename it to 'twrp' and save it in your desktop by making a folder. (Folder name should be LGG5 for this tutorial)
Windows users will need proper drivers installed on your computer. You can try the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed
Step 4 : On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging.
Step 5 : Connect your LG G5 to your computer using a USB cable and from your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode. Download the correct image file from the above link and save it in your desktop by making a folder. (Folder name should be LGG5 for this tutorial)
Step 6 : Open the Folder from your Desktop now where you have TWRP Image file and on Windows: Open Command Prompt (Shift + Right-click > Open Command Prompt). For Mac OS X and Linux, use Terminal to navigate to this directory.
Step 7 : Type in the following command and press Enter :
fastboot flash recovery ./Desktop/LGG5/twrp.img
Step 8 : When finished, again type the following command and press Enter :
fastboot reboot-bootloader
Step 9 : Once completed, switch off your phone by pressing power button for 10 second. After that, Press and hold Volume down button and the Power button simultaneously. You will see the LG logo on the screen. Let go of the power button then quickly and press it again (never letting go of volume down).
Keep holding until you see the Factory Reset screen. Click through the factory reset screens, clicking Yes.
That’s it! You should now be in the Latest TWRP Recovery on LG G5 from where you can choose whatever function you want to perform.
How to Install SuperSU zip to Root LG G5 :
Step 10 : Once you are in TWRP home, select ‘Install’ button. From the list, choose the SuperSU Zip file that you copied to your phone memory in Step 2.
Step 11 : Confirm installation on the next screen by swiping on the “Swipe to Confirm Flash” option. The installation procedure should start now.
Step 12 : Tap on the “Wipe cache/dalvik” button if you get into any boot loops or other issues.
Step 13 : You can now reboot your phone by selecting the “Reboot System” button.
Hurrah! Your LG G5 is now Rooted and TWRP Installed. Check with any root checker app to verify your rooting status.
Thread closed and Links Removed.
13. Advertising and Income Generation
Commercial advertising, advertising referral links, pay-per-click links and other income generating methods are forbidden. Do not use XDA-Developers as a means to make money.
Click to expand...
Click to collapse
-XDA Staff

[AIO GUIDE] Install Magisk with OTA +Make your own patched_boot...

Hey ! Today i will give you all the different ways/steps for root your Mi A2 easily.
+ How to manually create patched_boot.img for your version (beta...) without extrernal help.​
Code:
Your warranty is now void.
We are not responsible for bricked devices, dead
SD cards... Please do some
research if you have any concerns about features
included in this GUIDE before using it! YOU are
choosing to make these modifications.
Summary
- Part 1 : Install drivers and unlock bootloader. Credit to @balazs312
- Part 2 : Root with 2 ways
- Bonus : Backup boot.img and make patched_boot.img
- Part 3 : OTA
Part 1 :
So, First you need to install drivers and unlock your phone bootloader. Skip to part 2 if already done.
1. Installing drivers & Preparing PC
- Download this and extract it
- Open and install "adb-setup-1.4.3.exe"
- When it is done, go to "Drivers" folder and start "miflash_unlock.exe"
- Click on the gear icon top right corner and click on "Check" next to "Click the button to install the drive"
- Do as the installer says
- Hopefully the drivers has been installed so we're done with it, let's head on the next step.
2. Preparing phone for unlocking
- On your phone navigate to Settings->System->About phone and tap the build number until you see "You are developer"
- Go back once and you'll see a new menu called "Developer options"
- Tap on it and search an option called "OEM Unlocking", enable it
- We're done here. Let's keep going
3. Entering fastboot and unlocking bootloader (MAKE A BACKUP of your data!)
- Hold your power button down, tap on restart and hold your volume DOWN button while it resets until you see the Mi bunny doing its thing
- Now we're in Fastboot mode, hooray
- Download this zip and extract it on your PC
- Open it and type "cmd" (without the quotations) in the file manager header where you see (This computer>somethingsomething>Mi A2 fastboot), don't be afraid just type it in, and hit enter and you'll enter into command prompt
- Now we are ready for action
- Type these commands one by one:
fastboot flashing unlock
fastboot flashing unlock_critical
After this, you will see a warning message that your bootloader is unlocked and your data is not safe, blah blah... Just ignore it everytime you power on your phone.
Part 2 :
So there are currently two ways to root his phone. Let's start with the first.
Methode 1 : We will use the new temp twrp. Method by me.
1. Download files...
- Download this TWRP.
- Place it in your adb folder.
- Download Magisk-v17.2_a and Magisk-v17.2_b.
- Copy these 2 zips in your phone internal storage.
2. Check current-slot...
- Plugin your phone to you pc
- Navigate to your settigs on your phone.
- Open Developer settings
- Enable Usb Debugging
- A pop up should appear on your phone scren, hit and box and autorize the pc.
- on your pc, open fastboot command prompt, and type "adb reboot bootloader" , your device should reboot to fastboot
- type "fastboot getvar current-slot". Remember if the result is a or b.
3. Root using temporally twrp
- Reboot your phone in fastboot.
- On your pc, open fastboot command prompt, and type "fastboot boot twrp-3.2.3-jasmine-20181020.img"
- Your phone now reboot into twrp, it down't flash it, so after a reboot twrp will be gone.
- If twrp ask a password for decrypt data put your phone PIN and validate.
- Click on install and select Magisk-v17.2_a if the result in Step 2. is A, and Magisk-v17.2_b if result is B and swipe to install.
- Then select Reboot.
Now you have Magisk 17.2 installed on your phone, and twrp is gone after reboot. You can select beta in Magisk settings and update to 17.3 if you want.
Methode 2 : We will use patched_boot.img.
1. Where to find patched_boot.img ?
- Go here and check if there is your build version. If yes dowload the patched_boot.img file ( need to be on pc ) and skip to step 2. If not continue.
- If you can't find your correct build patched_boot.img (Because you are on the beta, and nobody share the file or something like that....) you can easily make your own using temp twrp. Go to Bonus part, make your patched_boot.img and continue.
2. Pepare files.
- Copy the patched_boot.img in your adb folder
- Be sure to rename it to "patched_boot.img"
- Download latest Magisk Manager apk here (currently v6.0.1)
- Copy the apk on your phone storage.
3. Install Magisk
- Reboot your phone in fastboot.
- Open a fastboot command prompt on your pc.
- Type "fastboot boot patched_boot.img"
- Your phone will reboot, put your pin....
- Go in your prefer file explorer and Install the magisk apk.
- Now open Magisk Manager app
- Click Install, direct install. Wait for the process
- And click reboot.
Now you have Magisk 17.2 installed on your phone. You can select beta in Magisk settings and update to 17.3 if you want.
Bonus
So, i will show you how to backup your current bot img. And how to make your own patched_boot.img, so people who are on Beta OTA can root there phone without any external help...
1. Backup the boot.img
- Download this TWRP.
- Place it in your adb folder.
- Reboot your phone in fastboot.
- On your pc, open fastboot command prompt, and type "fastboot boot twrp-3.2.3-jasmine-20181020.img"
- Your phone now reboot into twrp, it down't flash it, so after a reboot twrp will be gone.
- If twrp ask a password for decrypt data put your phone PIN and validate.
- In TWRP, click on "Advanced"
- Click "File Manager"
- Navigate to /dev/block/platform/soc/c0c4000.sdhci/by-name
- You will se a lot of files, and if you look you will see 3 important files, boot, boot_a and boot_b.
- Click on the "boot" file
- Click "Copy File"
- Navigate to /sdcard
- Click the blue arrow and swipe to confirm
- Click reboot
- Copy the file on your pc, and rename it to "boot.img" instead of "boot".
Now you have backup your stok boot.img you can use it for stock or whatever you want....
2. Create the patched_boot.img file
- Download latest Magisk Manager apk here (currently v6.0.1)
- Install the apk on your phone
- Open Magisk Manager
- Go to settings , click Update Channel and select Beta
- Return to home of Magisk Manager
- Click Install, then Boot image file patch ( don't know the correct typo because for me the app is in french, champion du monde !! xD ) and wait for the end of the process.
Done you now create your own patched_boot.img ! Enjoy !!
Part 3 :
So, now i will explain you how to install OTA when you have magisk.
- First, disable Automatic system updates in developer options, so it won't install OTAs without your acknowledgement.
- Open Magisk Manager, click Uninstall, then Restore Images. Don't reboot !
- Now Search for update and wait for the process. BUT do not press the "Restart now" or "Reboot" button !
- Open Magisk Manager, hit Install, then Install to inactive slot.
- Reboot when it's done.
If it don't work (strange) and ota failed, you can find your stock boot.img for your build version here, or backup your boot.img using the[ B]1.[/B] of the Bonus part and flash it using the command "fastboot flash boot_( your current slot) boot.img" (you can check your current slot with command "fastboot getvar current-slot).
If you have issues or something like that, here are some telegram group :
MiA2dev
MiA2OffTopic
HexKernel
Work perfect with october update
Thanks 4 your great work
nnexuss said:
Work perfect with october update
Thanks 4 your great work
Click to expand...
Click to collapse
Your wellcome, enjoy
Thx for your very, very good work. No Problems at all with October update. :good:
mahalo
yorkberliner said:
Thx for your very, very good work. No Problems at all with October update. :good:
mahalo
Click to expand...
Click to collapse
nice, enjoy
What to do when Magisk prompts that "Stock Image does not exist"?
Couldn't find a folder to put stock image.
0firuz said:
What to do when Magisk prompts that "Stock Image does not exist"?
Couldn't find a folder to put stock image.
Click to expand...
Click to collapse
can you explain which part you try to do, and on which steps you got this error? for more support you can join telegram groups from the bottom of the guide.
*edit* you can flash stock boot.img for future OTA. check the Part 3 : OTA
Hi
Right now im on OPM1.171019.011.V9.6.13.0ODIMIFE (5 sept 2018) rooted with magisk
I just want to update and re-root, the painless style. I dont want to flash a ****load of stuff to have a functionning phone.
Can anyone confirm that step 3 is ok? Thats the same method than for MI A1, and it was only half functionnal, i dont want to play with fire.
After having killed the IMEI numbers and the persist partition of the A1, it took me 2 weeks to repair, I dont want to **** up this one too. Hell no.
kaott said:
Hi
Right now im on OPM1.171019.011.V9.6.13.0ODIMIFE (5 sept 2018) rooted with magisk
I just want to update and re-root, the painless style. I dont want to flash a ****load of stuff to have a functionning phone.
Can anyone confirm that step 3 is ok? Thats the same method than for MI A1, and it was only half functionnal, i dont want to play with fire.
After having killed the IMEI numbers and the persist partition of the A1, it took me 2 weeks to repair, I dont want to **** up this one too. Hell no.
Click to expand...
Click to collapse
this is safe. but if you want to can just use patched boot method.
I used the method described in Step 3 to install the September OTA (V9.6.13.0) and re-install Magisk. It worked like a charm, but I am trying to repeat the method to install the October update without success. The OTA updater downloads the update, and starts installing it, but it fails miserably every time.
I have even completely uninstalled Magisk and flashed the img from here: https://sourceforge.net/projects/others/files/MiA2/
But It does not work, the OTA installer always fails.
I'm clueless, what can I do?
doragasu said:
I used the method described in Step 3 to install the September OTA (V9.6.13.0) and re-install Magisk. It worked like a charm, but I am trying to repeat the method to install the October update without success. The OTA updater downloads the update, and starts installing it, but it fails miserably every time.
I have even completely uninstalled Magisk and flashed the img from here: https://sourceforge.net/projects/others/files/MiA2/
But It does not work, the OTA installer always fails.
I'm clueless, what can I do?
Click to expand...
Click to collapse
it's because during the ota process, the current slot change. but you can back to stock September ROM, then update. and after that root using my second post https://forum.xda-developers.com/mi-a2/how-to/guide-2-minutes-magisk-installation-t3856980/amp/
Thread closed at OP request

[GUIDE] (Exynos) TWRP+Magisk updated guide (June 2021)

Magisk+TWRP for Exynos ONLY
Hi, there are some tutorials out here on the forum but some are outdated, others have dead links and other mix some steps from exynos and snapdragon, so this is a guide on how I did it, My device is the International Exynos LTE Dual sim variant or SM-N985F-DS running android 11 (oneUI 3.1) patch from april 2021 with security patch from may 2021 but this has been tested on many exynos variants.
See DR.Ketan post: https://forum.xda-developers.com/t/guide-how-to-root-n20-ultra-n986b-n9860.4147023/
I based my guide on @dr.ketan 's guide and some bits from the comments and references from that post, so all credit goes to him and the people he reference on his post.
First of all as dr.ketan said:
NOTICE :
Before you move further, make clear that rooting device -
- Your warranty will be void
- Some of functions may not work on rooted device, some function may get back with un rooting, some may never.
- All your data on device will be lost
- Flashing custom binaries may brick (Usually soft but can be hard brick too) your device, so follow it on your own risk!
If you are ready with condition, move further -
Click to expand...
Click to collapse
1.- BACK UP ALL OF YOUR DATA, copy your files to a PC, make backups on google and samsung clouds and any other cloud service backup you have (whatsapp for example) becuase in this process all data is wiped TWICE.​
2.- Prepare your PC: ​
I personally recommend using a laptop or a pc with an UPS (backup battery) just to be safe.
2.1 Create a folder fo the files and create 2 folders inside named OLD and NEW (this is merely to keep files organized since they CAN be confused (see next steps), unless said otherwise ALL files and folders go in the OLD folder.
2.2 Download ODIN [CHECK FILES BELOW]
2.3 Download YOUR phone stock firmware (you have several options for this, I personally use sammobile but here you have to google on your own. Remember to extract the contents and you should have 5 files.
NOTE(hehe): to get your exact model name you can check on Settings>About phone>Software information>Baseband version.
2.4 Download Magisk APK and ZIP [CHECK FILES BELOW]
2.5 Download Multidisabler ZIP [CHECK FILES BELOW]
2.6 Download TWRP recovery [CHECK FILES BELOW] and place it in the "NEW" folder you created on step 2.1
IMPORTANT: use only THIS recovery from THIS file, since it's modified for exynos and also to skip a step on the process.
3.- Prepare your Phone:​
3.1 Copy the AP file from your PC (the one from the stock firmware) and the magisk.apk file you downloaded, to your phone.
3.2 Install the magisk app (the apk file)
3.3 Open the magisk app and select the first option, there you will have an option to select a file, select the AP file you copied from your pc an tap continue (or start I dont remember)
3.4 Now you will have a "Masgisk_patched-*********.tar" file on your download folder on your phone, copy that file to your PC and place it in the "NEW" folder you created on step 2.1.
4.- Now we start the process of modifying the phone​
4.1 UNLOCK BOOTLOADER: on your phone go to SETTINGS>ABOUT PHONE>SOFTWARE INFORMATION and tap the "Build Number" repeatedly until you see "You are now a developer" (or something similar)
4.2 Go back to SETTINGS and now you will have at the bottom a new menu called "Developer options", enter and toggle on the OEM unlocking option, this will prompt some warnings and an assistant, follow the instructions and when you finish turn off your phone.
4.3 Press and hold the VOL+ and VOL- buttons at the same time and connect the phone to your PC WHILE HOLDING BOTH BUTTONS, this will prompt DOWNLOAD MODE on your phone and you will see 3 options, Press and hold the VOL+ button to unlock the bootloader, now your phone will reboot and wipe all of your data.
4.4 Confirm OEM Unlock is enabled: after the reboot you will get the initial setup process again (as if the phone were new) skip though all (because it will be wiped again) and repeat the process on step 4.1
Now the OEM unlock setting should be GRAYED OUT and with this your phone is ready to be modified
5.- Flashing custom binaries​
5.1 Turn off the phone and put it into DOWNLOAD MODE again (see step 4.3) but this time use the first option, that is, press the VOL+ button ONCE, this will enter DOWNLOAD mode and put the phone in flashing state.
5.2 Open ODIN on your PC as administrator
5.3 On the Options tab UNTICK the "Auto Reboot" option
5.4 Click on the AP button and locate the "Masgisk_patched-*********.tar" on the "NEW" folder.
5.5 Click Start, wait until you see PASS on the top left corner
5.6 Click on the AP button again and locate the "Exynos no vbmeta recovery.tar" file on the "NEW" folder.
5.7 Click Start, wait until you see PASS on the top left corner.
5.8 THIS STEP IS CRITICAL: disconnect your phone from your PC, now READ AHEAD before doing anything.
Here you will have to do a combination of button presses to boot into recovery. Once your phone is disconnected press and hold VOL- and POWER BUTTON (side key) for approximately 7 seconds, once the phone screen goes black immediately release the VOL- button and press the VOL+ button WHILE KEEP PRESSING THE POWER BUTTON. You will see 1 or 2 warning and a glimpse of the samsung logo, keep pressing the buttons until you see the TWRP (Team Win Recovery) splash screen, at this point you can release the buttons.
5.9 now in the recovery navigate to WIPE tab > FORMAT DATA > and type yes to continue (read instructions on screen). DO NOT RESTART. go back to the starting screen and then navigate to REBOOT > REBOOT TO RECOVERY.
5.10 Your phone will reboot into recovery on its own, no need to press any buttons.
5.11 Once inside the Recovery, connect the phone to your PC, after a few seconds the phone will connect normally as if it were in the OS, now copy this files to your phone from your PC:
Magisk.zip
Multidisabler-samsung-3.1.zip
5.12 Go to INSTALL tab on your phone and select the multidisabler zip and install it (it will prompt you to swipe to install), once finished tap on WIPE CACHE/DATA.
5.13 Now do the same with magisk.zip but this time DO NOT tap the "wipe cache/data" button, instead tap on REBOOT.
6.- First Boot​
NOTE: First boot takes a while but if your phone is not showing the initial setup screen in max 15 minutes something went wrong and you will have to flash back to stock firmware and start over.
6.1 Once you boot do the usual initial setup, here you can do it normally and restore your cloud backups.
6.2 When you are all set up, look for the MAGISK app, open it and follow the instructions. Your phone will reboot so make sure you are all set up BEFORE opening the app.
6.3 ALL DONE!​
Hi there,
Thanks for the updated guide!
Maybe worth mentioning that when done, to get back into TWRP power down phone -> connect USB ->press & hold Power AND VOL- until black screen (7sec) -> Quickly press VOL+ with still holding Power button.
Would you know how to update firmware to latest security patches (downloaded from SamMobile for example) now phone is rooted with Magisk, with TWRP recovery and multidisabled?
Regards,
I followed all directions, and Magisk and TWRP are installed. However, I do not have root access. I have an S10e (SM-G970F, Exynos). To get root access, you have to do the bixby, volume up, and power together. I always get to TWRP. When I had only Magisk installed, I always got stock recovery. How do I get the keys correct?
Also, I understand you must have something in the USB port. I tried mostly connected to the computer, sometimes to a charger, and sometimes not at all. Nothing can get Magisk root access unless it boots me to recovery, and then I can just reboot to system (no root) or recovery (same place, still no root).
Threx71 said:
IMPORTANT: use only THIS recovery from THIS file, since it's modified for exynos and also to skip a step on the process.
Click to expand...
Click to collapse
Where is this TWRP file?
DAVIRO1 said:
Where is this TWRP file?
Click to expand...
Click to collapse
Weird, it was together with all the other files, I'll re-upload it when I get home.
josephgrab said:
Also, I understand you must have something in the USB port. I tried mostly connected to the computer, sometimes to a charger, and sometimes not at all. Nothing can get Magisk root access unless it boots me to recovery, and then I can just reboot to system (no root) or recovery (same place, still no root).
Click to expand...
Click to collapse
Only thing I can think of is you are not flashing the correct magisk zip file on TWRP, try downloading it from magisk's official site. Is the same file for the both procedures, you just have to change the file extension accordingly (.apk or .zip)
Threx71 said:
Weird, it was together with all the other files, I'll re-upload it when I get home.
Click to expand...
Click to collapse
thanks, I have all the files ready to do the flash,
DAVIRO1 said:
thanks, I have all the files ready to do the flash,
Click to expand...
Click to collapse
here you go
Exynos no vbmeta recovery.tar
drive.google.com
EDIT: why the f is xda deleting the file after uploading?
I tried that file. First, I could not flash with odin 2 recovery.img . I used 7-zip to archive it as .tar, and it still would not flash. I do have an SM-G970F, so it is Exynos. I am not sure of the results, but I did flash with newest twrp-3.5.2_9-5-beyond0lte.img.tar .
Threx71 said:
5.6 Click on the AP button again and locate the "Exynos no vbmeta recovery.tar" file on the "NEW" folder.
Click to expand...
Click to collapse
What is this file?
DAVIRO1 said:
What is this file?
Click to expand...
Click to collapse
Here
Exynos no vbmeta recovery.tar
drive.google.com
josephgrab said:
I tried that file. First, I could not flash with odin 2 recovery.img . I used 7-zip to archive it as .tar, and it still would not flash. I do have an SM-G970F, so it is Exynos. I am not sure of the results, but I did flash with newest twrp-3.5.2_9-5-beyond0lte.img.tar .
It was the wrong file, this is the correct one:
Exynos no vbmeta recovery.tar
drive.google.com
Click to expand...
Click to collapse
After flashing that, it would not boot to recovery but just to download.
Thanks! Worked for me! I have a question:
do you know how to Bypass root detection for bank app?
After I flash Exynos no vbmeta recovery.tar this is the error I get
Couldn't find grp7 symbol in main dtb
failed to permorm fixtps in overlay
ufdt overlay apply fail
UFDT DT Overlay FAIL
need kernel: could not find do normal text
vbmeta: Error verifying vbmeta image
vbmeta VERIFICATION_DISABLE bit is set
CUSTOM VBMETA
VBMETA
I cannot read everything it is so small, so there may be some typos
I found out what I did wrong. I am using SM-G970F (S10e), whereas this forum is for SM-N985F.
Great instructions, though.
Thank you. Just wish I could get root. I cannot because of the updated firmware (August 2021).
Hello, thank you for the guide it worked to root my sm-n986b !
Threx71 said:
5.6 Click on the AP button again and locate the "Exynos no vbmeta recovery.tar" file on the "NEW" folder.
5.7 Click Start, wait until you see PASS on the top left corner.
5.8 THIS STEP IS CRITICAL: disconnect your phone from your PC, now READ AHEAD before doing anything.
Here you will have to do a combination of button presses to boot into recovery. Once your phone is disconnected press and hold VOL- and POWER BUTTON (side key) for approximately 7 seconds, once the phone screen goes black immediately release the VOL- button and press the VOL+ button WHILE KEEP PRESSING THE POWER BUTTON. You will see 1 or 2 warning and a glimpse of the samsung logo, keep pressing the buttons until you see the TWRP (Team Win Recovery) splash screen, at this point you can release the buttons.
Click to expand...
Click to collapse
There is just this part that I did differently.
First, to start flashing the twrp at step 5.6 I had to restart the phone in download mode because odin would be stuck at "setup connection" if i tried to flash it just after the file before.
And at step 5.8 I had to keep the phone connected to the PC otherwise it would not boot in recovery menu.
I did all the phone setup and installed "Riru" then "Universal SafetyNet Fix" magisks modules to pass the Safetynet.
I just have one question if someone can tell me if there is a way to not display the bootloader warning message when the phone is booting please.
lilstyle974 said:
I did all the phone setup and installed "Riru" then "Universal SafetyNet Fix" magisks modules to pass the Safetynet.
I just have one question if someone can tell me if there is a way to not display the bootloader warning message when the phone is booting please.
Click to expand...
Click to collapse
I have installed drketanrom and there are a tweak that delete this message.
lilstyle974 said:
Hello, thank you for the guide it worked to root my sm-n986b !
There is just this part that I did differently.
First, to start flashing the twrp at step 5.6 I had to restart the phone in download mode because odin would be stuck at "setup connection" if i tried to flash it just after the file before.
And at step 5.8 I had to keep the phone connected to the PC otherwise it would not boot in recovery menu.
I did all the phone setup and installed "Riru" then "Universal SafetyNet Fix" magisks modules to pass the Safetynet.
I just have one question if someone can tell me if there is a way to not display the bootloader warning message when the phone is booting please.
Click to expand...
Click to collapse
Thanks, I was just about to post this about the safety net since I just did it yesterday to start using google pay.
I'll add it to the Post as EXTRAS along with some other things.
Also sorry to everyone for having this thread so abandoned, I used to get so much spam from XDA that I ended up blocking all emails (?

Categories

Resources