[GUIDE]Unlock Bootloader [Mini FAQ] - Moto G 2015 - G 2014 Android Development

UNLOCK YOUR BOOTLOADER​
WARNING: UNLOCKING YOUR BOOTLOADER VOIDS YOUR WARRANTY.PROCEED AT YOUR OWN RISK. EXCEPT If You Live In The EU
NOTE: Unlocking the bootloader will Wipe/ factory reset your device, and will delete all personal data from your device such as apps, photos, messages, and settings.
Prepare Your Moto G for Bootloader Unlock
Code:
Your device must be charged up to 70% before going completely through the process mentioned below.
These firmwares are only for the Moto G 2015 variant.
Make sure that you have installed proper device drivers on your computer.
INSTRUCTIONS:
Make sure to take a backup of your entire device data.
Download the Android SDK OR Download the Minimal ADB and Fastboot
Install the latest Motorola USB Drivers on your desktop. Download here.
Go To Settings -> Dev Settings, And Select "Allow OEM Unlock"
Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).
Open Command Prompt on androidsdk/platform-tools/ (Hold Shift and right click and press open command window here)
[*]If you have downloaded Minimal ADB and Fastboot Go to C://Program Files/Minimal ADB and Fastboot and open Command Prompt from there.
Connect your Phone to PC
Type this in the CMD prompt window - fastboot oem get_unlock_data
You will get a return string. Copy it. [Right Click-Mark- Mark the text by pressing the shift key-Now press Ctrl+C]
Paste all the lines together in a notepad. Remove the empty spaces.
Now go to the Motorola Site.Sign in using your Google account or Motorola ID. Scroll down the page and paste the copied string in the field at step #6. Then click on ‘Can my device be unlocked?’, after which a "REQUEST UNLOCK KEY" button will appear at the bottom of page.
To get your unlock key, select the ‘I Agree’ option. Note: You will receive an email with your Unlock Key at the email address you used to log in there.
Important – Copy the 20-character key that Motorola sent you via email. Make sure your device is connected.
Then in CMD type: fastboot devices (To check your device is connected)
Then type: fastboot oem unlock UNIQUE_KEY
NOTE: In above command, replace the word ‘UNIQUE_KEY’ with the unlock code that you got via email. Then hit enter and the unlocking process should begin. Wait for a while and soon you’ll see ‘Bootloader Unlocked’ warning on your Moto G.
To relock the bootloader:
Go to Fastboot and give the command fastboot oem lock
You can always appreciate my work by pressing the Thanks Button.:good:
Good Day

Want to Get OTA updates even after Rooting your Device? Here's how.
Use the full unroot option from the Super Su
Flash the stock recovery Use Code : mfastboot flash recovery recovery.img
Now you'll be able to get OTA updates as before

RESERVED

Lucas Eugene said:
Want to Get OTA updates even after Rooting your Device? Here's how.
Use the full unroot option from the Super Su
Flash the stock recovery Use Code : mfastboot flash recovery recovery.img
Now you'll be able to get OTA updates as before
Click to expand...
Click to collapse
So this preserves apps/data?
Thanks

Lucas Eugene said:
UNLOCK YOUR BOOTLOADER​
Click to expand...
Click to collapse
Sorry but I think you´re in the wrong section here. this is the Moto G 2014 (titan) thread. So it should be moved to the Moto G 2015 section. Or, as the process is similar, the thread could be renamed.
Also it should be posted in Q&A, Help & Troubleshooting not in Andoid Development.

Related

[How To] Unlock Bootloader, Install Recovery and Root

Everytime I have to unlock,flash recovery and root I can't remember how to do it....
So I'm writing this very easy guide.
First off get the One X drivers from here:
https://forum.xda-developers.com/showthread.php?t=2217384
These are old drivers as HTC have stopped including them in HTC Sync.
Download Android SDK Slim from here:
https://mega.nz/#!8tETTbga!iVOYHGwT7SYV9s9AKqT6hukX-odb7PNuQCrX6zJxpwQ
Unzip it anywhere you like, desktop's easy but it can be anywhere...
Go to https://www.htcdev.com log in click on Get Started then Unlock Bootloader and choose All Other Supported Models from the dropdown.
Click Yes and Tick the two boxes for all the legal stuff.
Now go into your One X Phone Developer Settings and switch on USB debugging.
Next go to Power settings and switch off Fastboot.
Then connect the phone to your PC via USB cable.
Allow your PC to recognise it and download any stuff it wants to.....
Go make a cup of Tea while this is happening.
Next go to your SDK folder, wherever you ended up putting it, click through to the Platform Tools folder where you will see ADB and Fastboot.
Hold down Shift and Right Click anywhere in the folder, choose Open Command Window Here.
In Command Window Type: adb reboot bootloader
Your Phone will boot into Bootloader
Keep the Command Window open...from now until the very end!!
That has just skipped all the 4 Steps on the HTC Dev site!!!
Proceed to Step 5
Now in the Command Windows Type: fastboot oem get_identifier_token
You will see a long block of text. Copy and paste this text into the the token field on the HTC Dev site. Right Click choose Mark and highlight the square bit of code then press Enter to copy.
Paste that into the My Device Identifier Token
HTC will email you a little Unlock_code.bin file within seconds (Check your Junk folder)
Then copy or move the token to the Platform Tools folder.
Back to your Command Window which should still be open!!
Type: fastboot flash unlocktoken Unlock_code.bin
Now follow the instructions on the Phone....
The phone will Unlock the bootloader....
And Reboot your phone....
You need to go back to settings and switch on USB Debugging and switch off Fastboot (See start of tutorial)
Make sure you are still plugged into your PC
In Command Window Type: adb reboot bootloader and your phone will go back into the Bootloader screen.
Next go here: https://twrp.me/Devices/HTC/
Choose your One X and download an early version of TWRP as the newer ones need the old ones to be installed!!
The One X comes in different flavours so make sure you get the right one for your model....
For sake of argument say I downloaded this file: twrp-2.4.4.0-endeavoru.img
Place that file in the Platform Tools folder
Then in Command Window type: fastboot flash recovery twrp-2.4.4.0-endeavoru.img
This will install your TWRP Recovery!!!
Excellent...now you can unplug from your PC and boot into Recovery.
In TWRP select Reboot and it will ask you if you want to install SuperSU.
You do, swipe the screen and your phone will Reboot into the Operating System.
From there open the Super SU app and update your Super User Binaries...
And that's how to Unlock the Bootloader, Install TWRP Recovery and Root....
EASILY!!!!
:silly::silly::silly:
Hit Thanks if its Helped You!!

New Razer Phone (1) stuck on download mode.

I bought a refurbished Razer phone one from the official razer eBay page, and it's stuck on download mode. I haven't tried flashing anything, I haven't even ever been to the home screen. What can I do to fix this?
Get the Google USB Driver and make sure your Razer phone is installed with these drivers
https://developer.android.com/studio/run/win-usb
Get Android SDK Platform Tools for latest ADB and fastboot tool
https://developer.android.com/studio/releases/platform-tools
Open command prompt to that folder and run these commands
fastboot flashing unlock
fastboot flashing unlock_critical
fastboot set_active a
from what i've gathered from other threads with similar problems, that's the jist of it...
It says "Waiting for any device" the problem is that it's not recognized by the computer.
Thank you ! Same problem. This is halp! after first run, works. Question, can I block it now? and how please... fastboot flashashing lock ?
Now I can block back? fastboot flashashing lock ?
ShadowVlican said:
Get the Google USB Driver and make sure your Razer phone is installed with these drivers
Open command prompt to that folder and run these commands
fastboot flashing unlock
fastboot flashing unlock_critical
fastboot set_active a
from what i've gathered from other threads with similar problems, that's the jist of it...
Click to expand...
Click to collapse
Hello. Same problem. ( I bought a refurbished Razer phone one from the official razer eBay page, and it's stuck on download mode. I haven't tried flashing anything). It helped me. Now I can block back? fastboot flashashing lock ? Please, sorry my english...
EDIT: The links did not copy paste appropriately. I fixed them now.
These are all posts from various places in this thread:
https://forums.redflagdeals.com/raz...b-1yr-warranty-8gb-64gb-octacore-9-0-2336958/
"Find the driver here:
https://dl-ssl.google.com/android/repository/latest_usb_driver_windows.zip
unzip the files/folder to a location you will remember
Follow the instructions below, point the windows driver update to the .inf file in that folder then driver will install. Make sure you have the latest Android platform tools, the link is also in the PDF below.
https://s3.amazonaws.com/cheryl-fac...stall_Android_Fastboot_Drivers_on_Windows.pdf
open a command prompt from within the Android sdk folder while the phone is still in download mode (phone stays and reboots to download mode through each process below making the process fairly easy)
type: fastboot devices
your phone should show up once drivers are installed correctly
type: fastboot flashing unlock
use the phone vol + - and power to select yes
phone should stay in download mode
type: fastboot flashing unlock_critical
use vol + - and power to select yes
phone should stay in download mode
Download the firmware image below or if you want to try the following command type: fastboot set_active a && fastboot reboot
to see if the phone boots, not sure if all the phones have Android installed. One poster below seems to and also seems to have his bootloader unlocked. This won't be the case for everyone. If phone does not boot continue downloading the firmware to install it
https://s3.amazonaws.com/cheryl-factory-images/cheryl-o-global-6033.zip
unzip all the files and put them in the android sdk folder, from the same command prompt if you're on Windows
type: flash_all.bat
For Mac type: flash_all.sh
Will take a few minutes but firmware will install. These instructions are for RFD members that do not either 1) want the hassle of RMA or 2) take a chance at voiding the warranty (any phone flashing via adb is frowned upon by Razer)"
------------------------------------------------------------
"Yes. Reverse the locking procedure. Put phone back into Download mode (from power off, press and hold Vol up and then plug phone into computer) then issue fastboot commands to lock boatloader starting with critical."
------------------------------------------------------------
"if you have a ryzen pc and getting some error while unlocking... dont plug the phone in at the beginning... type the command when it says [waiting for device] then plug it in ... also dont forget to unlock critical right after"
Now I can block back? fastboot flashashing lock ?
ShadowVlican said:
Get the Google USB Driver and make sure your Razer phone is installed with these drivers
Open command prompt to that folder and run these commands
fastboot flashing unlock
fastboot flashing unlock_critical
fastboot set_active a
from what i've gathered from other threads with similar problems, that's the jist of it...
Click to expand...
Click to collapse
it helped, now it is loaded; but after each reboot it writes, the phone is unlocked and that it is unsafe. can it be blocked back, is it safe that everything continues to work? please write what commands to enter?
365Thanks said:
it helped, now it is loaded; but after each reboot it writes, the phone is unlocked and that it is unsafe. can it be blocked back, is it safe that everything continues to work? please write what commands to enter?
Click to expand...
Click to collapse
Repeat the unlock commands using lock instead of unlock but in reverse order so:
fastboot flashing lock_critical
fastboot flashing lock
again you must place the phone in download mode (powered off...hold volume down key down...plug in) between each command and follow the onscreen instructions.
Open command prompt to that folder and run these commands
fastboot flashing unlock
fastboot flashing unlock_critical
fastboot set_active a
from what i've gathered from other threads with similar problems, that's the jist of it...[/QUOTE]
flopticalcube said:
Repeat the unlock commands using lock instead of unlock but in reverse order so:
fastboot flashing lock_critical
fastboot flashing lock
again you must place the phone in download mode (powered off...hold volume down key down...plug in) between each command and follow the onscreen instructions.
Click to expand...
Click to collapse
after each command you need to disconnect from the computer? fastboot flashing unlock
fastboot flashing unlock_critical
fastboot set_active a
I used to enter these commands , the instructions were only after 1
I did not turn off the phone and the question on the screen was only after the first command. I probably entered only 1 command <if it was necessary to disconnect phone? ... thank you for help.
Sudo.
If ur using linux - run it with sudo. always run fastboot with sudo
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot set_active a
error: Device does not support slots

Unlock Bootloader of iQOO 3

Prerequisites
Your entire data would be wiped off. So before beginning with the process, make sure to make a complete backup of your device.
Enable USB Debugging: To do so, head over to Settings and navigate to About Phone. Then tap on Build Number 7 times, doing which you should be greeted with a message along the lines that you are now a developer. Now go back to Settings and head over to System. Tap on Advanced and now you should see the Developer Options.
usb debug android 10
Enable OEM Unlocking: To unlock the bootloader of iQOO 3, you will also be required to enable OEM unlocking. To do so, head over to Developer Options and enable the said toggle.
oem unlock bootloader
Download ADB and Fastboot Tools for executing various ADB and Fastboot commands.
Warning
xxxxx or any of its members won’t be held responsible in case anything happens to your device while performing the below steps. You completely understand the risk of bootloader unlocking and proceed ahead at your peril.
Steps to Unlock Bootloader of iQOO 3
Connect your device to PC via USB cable.
Navigate to the folder where you have installed Android SDK and Platform Tools.
Inside the folder, while pressing the ‘Shift’ key, right-click on an empty location.
Select ‘Open PowerShell window here’.
Unlock Bootloader Android Devices- Open PowerShell window here
Well, you could also use Command Prompt if you wish. For that, type in cmd in the address bar and hit Enter.
Next, type the below code to boot your device to fastboot/bootloader mode:
adb reboot bootloader
Now type the below code to unlock the bootloader of iQOO. Executing the below code will also wipe off all the data from your device.
fastboot bbk unlock_iQOO
If you get a confirmation message on your screen, reply in affirmative (‘Yes’, ‘I agree’, Unlock the Bootloader’, etc).
Reboot the device by typing the below code:
fastboot reboot.
Source :[MOD EDIT: Links removed]
MOD ACTION:
Thread closed and links removed.

Question Root for OnePlus 9

I'm only used to using TWRP so I haven't done it any other way before, is there any easy methods to root the phone. I have tried with adb but I can never seem to copy files onto it.
Have you read any of the other threads??
[GUIDE] [Magisk] [Unlock / ROOT / Keep Root] OOS 13.1.0.500
Different variants of Magisk that are available for use : Magisk Variant Stable / Beta / Canary Release Official Android / OOS OOS 11 and above Maintainer topjohnwu Project Link GitHub Zygisk No...
forum.xda-developers.com
Bunecarera said:
Have you read any of the other threads??
Click to expand...
Click to collapse
Yeah I've tried one of the threads that includes ADB, is there any other way of doing it?
No.
You can follow my guide here or visit the thread linked above and use fastboot to boot from the rooted boot image. It's really not that difficult as long as you follow the directions properly.
You need to have unlocked your bootloader first but that's always the case.
Hi my friend you just need to unlock bootloader and flash magic zip with the help of fastboot link for magic is below the text. If you do not know how then I can just guide you. Install magic apk v22. Open settings and then select about phone, then press a lot of times where it says build number. Now open developer options and enable usb debugging, oem unlock and advance booting. Now hold down the power button, now comes any choice options select fastboot. Once you are booted into fastboot mode, connect your phone to your PC. Install adb and fastboot tools if you do not already have. Open the folder with fastboot and adb and then press at the top, write cmd. Now a cmd window will appear. Write (fastboot devices), to make sure your phone is connected properly. Now it's time to unlock bootloader. Write the following, (fastboot oem unlock) you now chess like success full unlocked. A warning will appear on your phone if you are sure you want to confirm unlocking. Press yes. (if your touch does not work then use the volume buttons to select up and down. Once you have selected, press the power button and done. Now your phone will reset itself. Set your phone quickly and from select frp lock. Activate fastboot again and open cmd with fastboot Flash now magically via fastboot and reboot.Enjoy your root.

Question How to unlock Revvl 6 Pro 5g?

I need help unlocking bootloader on my new Revvl 6 Pro 5g, this is my first mtk device, and I'm a Windows guy and I'm lost on the whole mtk client tool and python.
Any and all help would be a phenomenal help!
I think this phone would have a lot more potential with a gsi running on it!
The T-Mobile Revvl 6 pro 5g is made by Wingtech, code name: Augusta and model # is TMAF035G. I dunno if that's of any help but after all my research that's all I know that's 100% fact!
Help your fellow human geek out to enjoy this phones potential!
sent you pm
_hollywood_ said:
sent you pm
Click to expand...
Click to collapse
Id also like that PM
KenzieAon said:
Id also like that PM
Click to expand...
Click to collapse
sent...
_hollywood_ said:
sent you pm
Click to expand...
Click to collapse
Can you also send to me? I'm trying to root my Revvl 6 with Mtkclient on mac. I have the GUI showing but can't get it to detect my phone
androidn00b11 said:
Can you also send to me? I'm trying to root my Revvl 6 with Mtkclient on mac. I have the GUI showing but can't get it to detect my phone
Click to expand...
Click to collapse
It's starting to look like I need to put together a guide...
I don't know how to do this on a mac. And I didn't like using the GUI on mtkclient, it would recognize the device but sometimes wouldn't connect.
I suggest you download the liveDVD from the mtkclient readme (https://github.com/bkerler/mtkclient), put it on a bootable usb stick and run it from there. This is the setup that worked best for me, better than on windows anyway.
Also, read this (https://github.com/bkerler/mtkclient/issues/79). The REVVL 6 Pro 5G has an A/B setup, and unlocking it is not really explained in the current readme. Basically, you need to find out what slot you are booting from (boot_a or boot_b) and flash accordingly. Don't flash both slots, if something goes wrong you might want a slot to fall back to.
From adb do:
adb reboot fastboot
wait for your phone to boot into fastboot mode, and then:
fastboot getvar current-slot
That should tell you what your current slot is.
In order to get mtkclient to connect I booted into the liveDVD opened up the terminal and entered
python mtk r boot boot.img
It will keep looping, looking for your device and give you time to get your REVVL 6 Pro connected with the right button combo (start with power off, then volume down & plug in usb). When it connects a bunch of information will scroll down the screen. It will look for a "boot" partition but won't find one and will show an error, this is ok though. It's connected and you can begin flashing to your hearts content.
IMPORTANT!
Before you go any further make a backup with:
python mtk rl out
This will dump all partitions to a folder "out" on the computer. Save this somewhere, it is your backup.
You may not want to back up the entire userdata partition (it's huge and may take 4 hours to copy, thanks to @threeeye see post 14 below) so when it gets to that you can hit control+c to stop and then backup any remaining partitions manually with this format:
If you don't want to backup userdata folder then try this:
python mtk rl out --skip userdata
Back up individual partitions with this:
python mtk r partitionToBackup partitionName.bin
example: python mtk r vbmeta_a vbmeta_a.bin
The information for unlocking and rooting is in the links above.
Make a backup BEFORE you unlock and root!
Thanks _hollywood_. I got the slot (b), but am not able to get mtk to find the device, it continues to loop. Any tips of figuring out the "right button combo"?
androidn00b11 said:
Thanks _hollywood_. I got the slot (b), but am not able to get mtk to find the device, it continues to loop. Any tips of figuring out the "right button combo"?
Click to expand...
Click to collapse
Start with the device off and unplugged from the computer, then hold the volume down button while you plug in the usb. I'm not 100% sure now if that's the correct combo, it's been a while since I did it. If that doesn't work maybe try holding the vol up and plugging in the usb?... but I think that takes you into recovery.
I've been trying different GSIs and found CRdroid runs best, with fewest errors, but I'm not able to make calls, and only sometimes send / recieve mms. Maybe I got something wrong with the phh treble settings? I'm having those issues regardless what GSI I flash.
Phones vary GSI friendly, booted and ran every GSI I flashed!
Does anyone have a backup of the boot_a.img? Long story short i've bricked my phone and i dont have a backup anymore
Really a whole stock rom would be best if you can, thanks in advance
_hollywood_ said:
sent you pm
Click to expand...
Click to collapse
_hollywood_ said:
sent you pm
Click to expand...
Click to collapse
May I also get that pm as well plz?
Rickybud99 said:
May I also get that pm as well plz?
Click to expand...
Click to collapse
Everything you need is in post #7 above
_hollywood_ said:
Before you go any further make a backup with
Click to expand...
Click to collapse
Fist, thank you for publishing this guide!
I bricked my Xperia 1 III today, and I rushed to T-Mobile to get a cheap replacement phone and I got this phone (but I still need root to function),
2nd, you failed to mention that backing up the phone with:
Code:
python mtk rl out
(yes, I wanted to backup the userdata as well) would take more than 4 hours... LOL
threeeye said:
...you failed to mention that backing up the phone would take more than 4 hours... LOL
Click to expand...
Click to collapse
Lol, sorry about that!
edited post #7
FOR THOSE IN NEED OF GUIDANCE HERE IS A GUIDE:
*TMOBILE REVVL 6 PRO 5G(TMAF035G) NORTH AMERICAN(NA)*
Step 1(DRIVERS & STOCK FIRMWARE):
Python
BE SURE TO TICK THE BOX THAT SAYS ADD PYTHON TO PATH and install.
Download and install mediatek drivers from here:
Mediatek USB drivers
Download and install UsbDk from here:
UsbDk
Download MTK client from here:
MTK client
and extract to the desktop. Open the folder and move everything to
C:>Users>[username]>AppData>Local>Programs>Python>Python310
In the 310 directory press Alt + D to highlight your directory path and type CMD and hit enter. This opens a command prompt in the Python310 directory.
In cmd type this command without "":
"python setup.py install"
Go make a sandwich. Preferably turkey with mustard.
When you finish your sandwich, come back and type this command without "":
"python -m pip install -r requirements.txt"
Do not exit the command window.
Step 2(REBOOT INTO EDL MODE TO BACKUP):
Make sure the Phone is OFF and Disconnected
On PC paste the following command to the command window:
"python mtk rl backup --skip userdata"
hold Volume + and Volume - buttons together while connecting usb cable to Phone
Let go of buttons after the backup process begins
Wait for Process to Complete
This processes will take about 30 mins to finish backing up the phone
*****If any error stop the process (Handshake Error, LIB Error,Usb Error,Enumeration Error etc)UNINSTALL AND REINSTALLUSBDk***
Step 3(EXTRACT BOOT.IMG):
Unplug the Phone
Make sure the Phone is OFF
paste the following command to the command window to extract boot image :
"python mtk r boot boot.img"
Hold Volume + and Volume - buttons again to Enter EDL Mode while connecting USB
Let go of buttons and Wait for Proces to Complete
The boot.img will be located in the mtkclient-main folder
Step 4(*MANDATORY*WIPE DATA FROM PHONE):
**This will Erase All userdata and wipe the phone clean***
Unplug the Phone
Make sure the Phone is OFF
Enter the following command into the command window:
"python mtk e metadata,userdata"
Hold Volume + and Volume - buttons again to Enter EDL Mode while connecting USB
Let go of buttons and Wait for Process to Complete
This command will result in a clean wipe of the phone
reboot to android os to make sure phone is still functional
Step 5(UNLOCK BOOTLOADER FOR TMOBILE REVVL 6 PRO 5G):
BOOT into android
Go to Settings then About Phone then Tap Build Number 5 times until Phone say "you are now a developer"
Go to Settings again then System
Go to Developer Options
Select OEM UNLOCKING
Now Make sure Phone is OFF
Enter the following command into the command window on PC:
"python mtk python mtk da seccfg unlock"
Hold Volume + and Volume - buttons again to Enter EDL Mode while connecting USB
This will unlock the bootloader
Let go of buttonsand Wait for process to complete
Reboot phone and the phone should state the following:
On the splash screen you will see system type:
"Orange State
Your device is corrupted. Device has been unlocked and cannot be trusted. Press Power key to boot.
Will Reboot in 5 seconds"
****DO NOT SKIP OTHERWISE YOU WILL BRICK THE PHONE****
Make sure to Power OFF the phone, Unplug from PC and Wipe it again with the following command from earlier pasted into the command window:
"python mtk e metadata,userdata"
Reboot the phone
Press power button once while TMOBILE LOGO on the screen to boot up to android
Step 6(ENABLE ADB DEBUGGING):
Go to Settings again then System
Go to Developer Options
Enable USB Debugging
Connect Phone to PC
Step 7(INSTALL MAGISK AND PATCH BOOT.IMG TO PHONE)
Download Magisk from here:
Magisk
Move it to your phone and install. You'll need to allow the installation from unknown sources.
Got to mtkclient-main folder to locate boot.img that you extracted from the phone earlier
Transfer boot.img to your phone's storage
Open Magisk and Tap Install then Tap Select and Patch a File
select the boot.img
The tap let's begin
Check the Downloads folder in your Phone
Then transfer patched image file to your pc
it should be named "magisk_patched-[######]_#####.img"
Step 9(SETUP ADB ON PC THEN REBOOT TO FASTBOOT):
Download sdk platform tools here:
sdk platform tools
Extract.
***ADD THE PATCHED FILE FROM EARLIER INTO THE EXTRACTED FOLDER***
Navigate to the platform tools folder and type Alt+D to highlight directory and type CMD to open a cmd window in platform tools.
Connect device to pc and choose file transfer.
Enter the following command without ":
"adb devices"
A prompt will appear on your phone, click allow.
Enter the following command (again) without ":
"adb devices"
Enter the following command to reboot into Fastbootd:
"adb reboot fastboot"
Keep the Phone connected to PC
Phone will reboot to Fastbootd
Step 9(FLASH THE PATCHED BOOT IMG):
While Phone is Still Connected
Enter the following commands to command window from previous step:
fastboot flash boot magisk_patched-[######]_#####.img
Step 10(REBOOT THE DEVICE):
Unplug and the device and select reboot system now in fastboot
YOU ARE NOW ROOTED AND BACKED UP
ADDITIONAL STEPS BELOW ON HOW TO RETURN TO STOCK:
Step 1(OPEN THE BACKUP FOLDER OR DOWNLOAD STOCK FIRMWARE):
Download and Extract The Stock Firmware below
Here is the Stock Firmware of the TMOBILE REVVL 6 PRO 5G:
Tmobile Revvl 6 Pro 5G stock firmware:
MT6833_TMOBILE_REVVL_6_PRO_5G_STOCK_FIRMWARE.zip
Shared with Dropbox
www.dropbox.com
Place the Extracted folder into the mtkclient-main folder
Type CMD into the navigation bar in File Explorer
Paste the following command into the command window:
python mtk wl "Paste the directory of the extracted folder"
This process will take up to 30 mins so wait awhile for it to finish
If you made a backup from earlier do the following:
Type CMD into the navigation bar in File Explorer for the mtkclient-main folder
Paste the following command into the command window:
"python mtk wl "Paste the directory of the backup folder"
UNPLUG phone then turn it on should be back to stock
Does anyone have the boot.img? No such image on my computer and yes, I waited almost an hour for this file to be created and got confirmation and its nowhere to be found.
@unsmashed91 run this command from mtkclient-main folder "python mtk r boot boot.img" then hold down vol + & vol - then plug in the phone and let go of the buttons once the command initiates the process. The boot.img file will be in the C:\Desktop\mtkclient-main folder after the command is completed.
or you could download the stock firmware I uploaded and extract my boot.img
_hollywood_ said:
It's starting to look like I need to put together a guide...
I don't know how to do this on a mac. And I didn't like using the GUI on mtkclient, it would recognize the device but sometimes wouldn't connect.
I suggest you download the liveDVD from the mtkclient readme (https://github.com/bkerler/mtkclient), put it on a bootable usb stick and run it from there. This is the setup that worked best for me, better than on windows anyway.
Also, read this (https://github.com/bkerler/mtkclient/issues/79). The REVVL 6 Pro 5G has an A/B setup, and unlocking it is not really explained in the current readme. Basically, you need to find out what slot you are booting from (boot_a or boot_b) and flash accordingly. Don't flash both slots, if something goes wrong you might want a slot to fall back to.
From adb do:
adb reboot fastboot
wait for your phone to boot into fastboot mode, and then:
fastboot getvar current-slot
That should tell you what your current slot is.
In order to get mtkclient to connect I booted into the liveDVD opened up the terminal and entered
python mtk r boot boot.img
It will keep looping, looking for your device and give you time to get your REVVL 6 Pro connected with the right button combo (start with power off, then volume down & plug in usb). When it connects a bunch of information will scroll down the screen. It will look for a "boot" partition but won't find one and will show an error, this is ok though. It's connected and you can begin flashing to your hearts content.
IMPORTANT!
Before you go any further make a backup with:
python mtk rl out
This will dump all partitions to a folder "out" on the computer. Save this somewhere, it is your backup.
You may not want to back up the entire userdata partition (it's huge and may take 4 hours to copy, thanks to @threeeye see post 14 below) so when it gets to that you can hit control+c to stop and then backup any remaining partitions manually with this format:
If you don't want to backup userdata folder then try this:
python mtk rl out --skip userdata
Back up individual partitions with this:
python mtk r partitionToBackup partitionName.bin
example: python mtk r vbmeta_a vbmeta_a.bin
The information for unlocking and rooting is in the links above.
Make a backup BEFORE you unlock and root!
Click to expand...
Click to collapse
How do I perform a Network Unlock on My Revvl 6 Pro 5G
KutiFela said:
@unsmashed91 run this command from mtkclient-main folder "python mtk r boot boot.img" then hold down vol + & vol - then plug in the phone and let go of the buttons once the command initiates the process. The boot.img file will be in the C:\Desktop\mtkclient-main folder after the command is completed.
or you could download the stock firmware I uploaded and extract my boot.img
Click to expand...
Click to collapse
Thanks, I actually got it later that day probably using what you mentioned in a different tutorial. The device is now rooted. Anyone know of any possible opensource ROM of any kind that would work on this phone? Or TWRP? Other than that Root seems to be pretty useless on this thing. I can debloat Google via ADB, but thats about it, no R/W access since its stock with Root.

Categories

Resources