How to install TWRP without Bootloader unlocking !! - Xiaomi Poco F1 Guides, News, & Discussion

WARNING: Before attempting this process to your device, do note that by unlocking your bootloader and modifying your device with anything, ROMs, etc... you are NOT risking voiding your warranty! I am NOT responsible for what you do to your device either, so follow these instructions at your own risk. Make sure you know what you're doing, it's best to understand the process rather than just copy and paste commands and such.
This method uses a firmware flashing tool to install TWRP, I am
using QPST to install it, but you can use any Qualcomm firmware flashing tool.
1. Download and install the following:-
->Adb and fastboot driver
->QPST
->Your device’s pc suite
2. Download the latest official firmware and the latest TWRP recovery for your device. Extract the downloaded firmware.
3. Go to ADB folder in C drive and press “shift + right click” and click open cmd shell here or powershell in case of windows 10.
4. Connect your phone to pc and type: adb reboot edl
now your device should be rebooted into download mode or edl mode.
5. Rename the downloaded TWRP to recovery, copy it and paste it in your extracted firmware files and click replace.
6. Open the Qfil flashing tool.
7. Select flat build and click browse in select in programmer path, click all files and select prog_emmc_firehose_XXXX_ddr.elf from the firmware folder.
8. After all done click Download
9. Done you have successfully installed twrp without unlocking the bootloader.

Senior_Pj said:
WARNING: Before attempting this process to your device, do note that by unlocking your bootloader and modifying your device with anything, ROMs, etc... you are NOT risking voiding your warranty! I am NOT responsible for what you do to your device either, so follow these instructions at your own risk. Make sure you know what you're doing, it's best to understand the process rather than just copy and paste commands and such.
This method uses a firmware flashing tool to install TWRP, I am
using QPST to install it, but you can use any Qualcomm firmware flashing tool.
1. Download and install the following:-
->Adb and fastboot driver
->QPST
->Your device’s pc suite
2. Download the latest official firmware and the latest TWRP recovery for your device. Extract the downloaded firmware.
3. Go to ADB folder in C drive and press “shift + right click” and click open cmd shell here or powershell in case of windows 10.
4. Connect your phone to pc and type: adb reboot edl
now your device should be rebooted into download mode or edl mode.
5. Rename the downloaded TWRP to recovery, copy it and paste it in your extracted firmware files and click replace.
6. Open the Qfil flashing tool.
7. Select flat build and click browse in select in programmer path, click all files and select prog_emmc_firehose_XXXX_ddr.elf from the firmware folder.
8. After all done click Download
9. Done you have successfully installed twrp without unlocking the bootloader.
Click to expand...
Click to collapse
Is booting to edl mode working? I've read it's not accessible by users in one of comicsdans thread

Anyone tried this? I was unsuccessful. My phone reboots to system instead of edl. Trying it in fastboot mode doesn't help. QFIL has the "download button" inactive. Any thoughts? Thanks

Try booting into edl from Windows using command similar to adb reboot edl. Should work.

Links required
Kindly provide the download links

No edl mode for the poco f1 , you have to use the test point method for this

Is edl mode the same as Download Mode?

In that firmware folder there are no files by the name that was given nor there a edl mode. If I go into fastboot (download) mode the program doesn't pick up my device

Will it work for every device or just poco..?
Please reply

Can you also provide a video here . I was unsuccessfull in installing it and almost ruined my phone .

UOIAUAI said:
Is edl mode the same as Download Mode?
Click to expand...
Click to collapse
yes

Senior_Pj said:
WARNING: Before attempting this process to your device, do note that by unlocking your bootloader and modifying your device with anything, ROMs, etc... you are NOT risking voiding your warranty! I am NOT responsible for what you do to your device either, so follow these instructions at your own risk. Make sure you know what you're doing, it's best to understand the process rather than just copy and paste commands and such.
This method uses a firmware flashing tool to install TWRP, I am
using QPST to install it, but you can use any Qualcomm firmware flashing tool.
1. Download and install the following:-
->Adb and fastboot driver
->QPST
->Your device’s pc suite
2. Download the latest official firmware and the latest TWRP recovery for your device. Extract the downloaded firmware.
3. Go to ADB folder in C drive and press “shift + right click” and click open cmd shell here or powershell in case of windows 10.
4. Connect your phone to pc and type: adb reboot edl
now your device should be rebooted into download mode or edl mode.
5. Rename the downloaded TWRP to recovery, copy it and paste it in your extracted firmware files and click replace.
6. Open the Qfil flashing tool.
7. Select flat build and click browse in select in programmer path, click all files and select prog_emmc_firehose_XXXX_ddr.elf from the firmware folder.
8. After all done click Download
9. Done you have successfully installed twrp without unlocking the bootloader.
Click to expand...
Click to collapse
how to this in huawei p10 lite when i have error mode 8(hifi image) 1 (security verify faild). pc see phone in fastboot mode and recovery mode. Usb debbuging and oem is locked and i dont want to delete all files. How can i install twrp on this phone?

please provide us with links or video tutorial

Related

HOWTO: Root without unlocking the Bootloader

A lot of people have been asking, so here are my notes for gaining root w/o flashing or unlocking the boot loader. :good:
Thanks to Chromium and The Jack of Clubs for their initial concepts and documentation.
Download ADB and set up Tools
Download the full Android SDK here:
http://developer.android.com/sdk/index.html#download
(scroll to the bottom of the page -> DOWNLOAD FOR OTHER PLATFORMS -> SDK Tools Only)
Extract the android-sdk-windows zip to c:\android-sdk
Browse to C:\android-sdk\android-sdk-windows\
Double Click and run SDK Manager.exe
Uncheck everything except the Android SDK Tools and Android SDK Platform-tools
Hit the Install xx Packages button
Download Super SU and TWRP
Download the latest TWRP here:
http://techerrata.com/browse/twrp2/bacon
Extract the TWRP image file and save it as recovery.img in the following folder:
C:\android-sdk\android-sdk-windows\platform-tools
Download SuperSU here: http://download.chainfire.eu/452/SuperSU/UPDATE-SuperSU-v2.02.zip
Plug your phone into your computer and Copy SU zip to the phone... (anywhere will work)
Get your Phone into Fastboot
Reboot the phone in fastboot mode (hold volume up + power). You should get a cyanogen guy smiling at you, this indicates the phone is in fastboot mode.
Open a command prompt and do:
cd C:\android-sdk\android-sdk-windows\platform-tools
Type:
fastboot devices
NOTE: You should receive a list of connected devices, this means your PC is connected to your phone. If not, something is wrong with ADB or your USB driver and you need to fix it before you can proceed!
Boot with TWRP and Flash
If “fastboot devices” worked without error, type this:
fastboot boot recovery.img
After the recovery.img transfers, your phone reboots into TWRP. Hit “Install” and choose the SuperSU.zip from the location on your phone that you saved it to earlier.
Once flashing is done, reboot and enjoy root. No re-imaging or unlocking your bootloader necessary.
Why is a unlocked bootloader a problem?
_Beni_ said:
Why is a unlocked bootloader a problem?
Click to expand...
Click to collapse
if you dont want to wipe data, it also sets flags a tamper bit (which can now be reset), or if you just plain dont want to.
The Jack of Clubs said:
if you dont want to wipe data, it also sets flags a tamper bit (which can now be reset), or if you just plain dont want to.
Click to expand...
Click to collapse
Ah ok, i did unlock and switch to PA after second boot , so there were no data that would be lost
May I ad that there is an easier way to get adb. Its a program called minimal adb. This what I used originally in case someone prefers to just download that file. Just an option thats all... :good:
Nice tutorial

Install TWRP and root LG v10 H901 T-Mobile

Download
Search for TWRP recovery for LG V10 H901 (File: twrp-2.8.7.0-h901.img (31.7 MB))
Backup Apps and Data
While this process should not wipe any of your data, a backup is highly recommended. Once you install a custom recovery like TWRP, make sure you backup your system, data,etc. from the recovery. It will be helpful in case anything goes wrong.
Prerequisites
This guide is compatible with LG V10 H901 only. Do not try it on any other devices or variants.
Unlocked bootloader is required to install a custom recovery like TWRP on your device. Click here.
Set up ADB and Fastboot on your computer. You can download the minimal ADB and fastboot tool from here (unzip it) or get the quick ADB and fastboot installer from here.
Install Motorola USB Drivers on your computer.
Open Settings> Developer options and enable USB Debugging on your device.
Go to Developer options and enable Allow oem unlock.
How to Install TWRP Recovery on LG V10 H901
Download the recovery image file. Extract if in case a zip file. Now transfer the file to your PC where you can easily locate it.
Make sure you have setup ADB and fastboot on your PC. Also accept Always allow from this computer when you plug in the device for first time to enable USB Debugging.
Now power off your device and unplug it from your PC.
Boot into the bootloader or fastboot mode. To do so, press and hold volume down and the power button simultaneously for 5-6 seconds. When you see the bootloader screen, connect your device to the PC using a USB cable.(Choose fasboot if option is available) Alternatively, you can also issue the following command through your cmd or terminal, while connected to the PC in order to boot into the bootloader.
"adb reboot bootloader"
Navigate to the location where you have placed the recovery file. Rename the recovery file to a simple one, like recovery.img. While the folder with recovery.img file is open, hold shift key on keyboard and right-click on an empty space and select “Open command window here” option to launch a cmd window.
Now issue the following command in the command prompt to check your device connectivity
"fastboot devices"
Now flash custom recovery. Issue the following command for that.
"fastboot flash recovery recovery.img"
Custom recovery will now be installed on your device. Now boot your phone in recovery mode. You can do this by turning your device off and then press and hold volume down and power keys at the same time. Or you can simply enter the following command.
"fastboot boot recovery.img"
Once into the recovery, you can backup your current ROM, data, EFS and more.
Once you have installed TWRP, you are all set to install custom packages onto the device’s system. Alternatively, while on Linux or Mac OS, you can issue “./fastboot flash recovery recovery.img” command to flash the TWRP recovery.
Root
As you already have TWRP, simply flash the SuperSU file (version 2.56) to gain root access
@TheJesus @KAsp3rd, thanks guys for everything you've done over the past few days. no shade to @joe01gun but if people are going to use these instructions make sure you search the rest of the forum for what thejesus and kasp3rd put together to get us to this point - definitely appreciated. thanks @joe01gun for putting these additional instructions together.
Your post says the following:
Set up ADB and Fastboot on your computer. You can download the minimal ADB and fastboot tool from here (unzip it) or get the quick ADB and fastboot installer from here.
yet, there's no link to the necessary files to "unzip" them. Any suggestions?
Thank you for the help, but where do we get fastboot set up on our PCs? Yes, this is getting confusing with the steps outlined above. I followed the first step and had to take out the battery because I was stuck in fastboot screen with small tiny text in the top left that didn't respond to any manipulation with the volume keys on the back of the device and wouldn't restart any way until I took out the battery.
sanjsrik said:
Your post says the following:
Set up ADB and Fastboot on your computer. You can download the minimal ADB and fastboot tool from here (unzip it) or get the quick ADB and fastboot installer from here.
yet, there's no link to the necessary files to "unzip" them. Any suggestions?
Click to expand...
Click to collapse
I think it's cause he's not allowed to post links yet cause he's too new. I followed this guide http://forum.xda-developers.com/nexus-5x/general/guides-how-to-guides-beginners-t3206930
You can get twrp from the development forum.
Why
Intended to put the information condensed....
Yep....new
Links could not be uploaded.
joe01gun said:
Intended to put the information condensed....
Yep....new
Links could not be uploaded.
Click to expand...
Click to collapse
Your condensed thread is more convoluted than the actual development thread which also includes the links to everything.
I'm still wondering why you have install Motorola USB drivers for an LG phone..
Understood
Understood
The one on development is straightforward and I managed to make it done.
If you don't lock the bootloader back, you will see bootloader unlocked when starting up.
If you have root enabled file explorer, you should remove /system/priv-app/adaptclient folder to avoid annoying root request from adapt.
Please use the main dev thread for instructions on what to do, found below. Having duplicates for what is essentially the same thing can cause confusion and just takes up unnecessary space. So I have closed the thread.
[Recovery][LG-H901] Unofficial TWRP
Forum moderator,
matt4321

Acer Predator 8 TWRP 3.0.2

TWRP 3.0.2 for Acer Predator 8 ported by Ruben. - If you like my work please donate here, it will also give me a boost to make more things for this device : https://www.paypal.me/RubenCraveiro
----------- -----------
IMPORTANT NOTE ABOUT ROOTING AND UNLOCKING BOOTLOADER:
After flashing TWRP 3.0.2, use the SuperSU 2.46 flashable zip, do NOT use latest version or will result in a bootloop. Good Luck and have fun with rooting. Unlocking bootloader will delete all your data, so please make a backup first. Thank you.
----------- -----------
CREDITS
And also, before anything i would like to say thanks to @arjaylzo for telling me the name of a device with TWRP which helped making this update possible.
REQUIREMENTS
1- Fastboot/ADB Drivers and ADB folder
For drivers: http://adbdriver.com - Download ADB Driver Installer (universal) from the website, extract it, connect device it should detect device(if not, enable USB Debugging and reconnect), and press install, it should install drivers.
For ADB Folder: download this and extract to your main drive(C:/): https://goo.gl/ZTrfBb
2- Unlocked Bootloader (you need requirement 1 to do this)
Instructions for Unlocking bootloader: Go on settings, about device, press build version several times till it says your a developer, go back to settings, press Developer Options, and enable OEM Unlocking. Power off, then press at same time Power and Vol+ button, then connect to pc and open a cmd and write cd c:\\adb and write fastboot oem unlock, then accept the prompt it will give on tablet, and follow the rest of the steps.
----------- -----------
New TWRP bugfix update! Now you can flash stock rom on TWRP without bricking! Download Page updated!
----------- -----------
BUGS:
1- adb shell command needs to be sent before system partition is mounted or it will give an error, after doing adb shell you can mount system and do all the modifications you need.
2- You cant flash any img on twrp it gives an error, im trying to fix.
3- Backups do work, but everytime twrp restarts, the device name seems to change (which means that on /TWRP/BACKUPS/devicename/backupsinside/ changes every reboot so you have to go get the backup inside the old devicename folder and put on the new devicename folder).
----------- ADITIONAL NOTES -----------
Im leaving an unsecured boot image because system seems not want to boot android if anything seems changed. So please if system does not boot after flashing twrp/rooting, flash the unsecured boot img on fastboot
----------- -----------
Steps TO INSTALL TWRP AND ROOT
1. Download and extract the files: https://drive.google.com/file/d/0BxzG5iupOOSKNTdlRC1Wd0VmTlk/view?usp=drivesdk
2. Power off the tablet.
3. Enter fastboot mode by pressing the power button while holding down Vol -
4. Open up command prompt and navigate to the directory where fastboot.exe is located.
5. Pass the following commands:
fastboot flash boot unsecuredboot.img
fastboot flash recovery TWRP.img
6. Reboot into recovery (TWRP) and install SuperSU v2.46.zip
----------- -----------
Acer Predator 8 Support website(sourcecode, manuals, drivers, stockrom):

http://www.acer.com/ac/en/US/content/support-product/6400?b=1
----------- -----------
SCREENSHOTS:
http://imgur.com/s7CgJPR
I stuck at step 4.
is this the directory where fastboot.exe is located -> C:\adb... I have 4 files there and 1 of them is named fastboot.
Also the files i downloaded and extracted from step 1 , do i need to put them in my device or they need to stay on my pc.
goleoldark said:
I stuck at step 4.
is this the directory where fastboot.exe is located -> C:\adb... I have 4 files there and 1 of them is named fastboot.
Also the files i downloaded and extracted from step 1 , do i need to put them in my device or they need to stay on my pc.
Click to expand...
Click to collapse
C:\adb is where my adb and fastboot commands are.. on the downloaded files from Step 1 only the SuperSU zip is needed on the tablet so that you can flash it later on with twrp, the rest you leave on pc and use fastboot to flash TWRP, unsecured boot image, etc...
Ruben Craveiro said:
C:\adb is where my adb and fastboot commands are.. on the downloaded files from Step 1 only the SuperSU zip is needed on the tablet so that you can flash it later on with twrp, the rest you leave on pc and use fastboot to flash TWRP, unsecured boot image, etc...
Click to expand...
Click to collapse
Ok so in "C:\adb" i put all files i downloaded from step 1 then I opened cmd in that folder , then i typed "fastboot flash boot unsecboot.img" and it said that i cant load or open unsecboot.img
Any idea why or where is my mistake ????
goleoldark said:
Ok so in "C:\adb" i put all files i downloaded from step 1 then I opened cmd in that folder , then i typed "fastboot flash boot unsecboot.img" and it said that i cant load or open unsecboot.img
Any idea why or where is my mistake ????
Click to expand...
Click to collapse
make sure you didnt put a folder inside the adb folder instead of the actual file and make sure your writing the right name of the file..
goleoldark said:
Ok so in "C:\adb" i put all files i downloaded from step 1 then I opened cmd in that folder , then i typed "fastboot flash boot unsecboot.img" and it said that i cant load or open unsecboot.img
Any idea why or where is my mistake ????
Click to expand...
Click to collapse
also its not unsecboot, the name i added on this thread was just so it would be faster, the name is unsecuredboot.img and not unsecboot.img i guess ill have to edit that in order for people following the tutorial by line dont make these mistakes..
how do i flash the stock rom came from Acer Predator 8 Product Support Page.
can i just flash this Android 5.1 Lollipop Image via TWRP???
TIA
xdadevelopers13 said:
how do i flash the stock rom came from Acer Predator 8 Product Support Page.
can i just flash this Android 5.1 Lollipop Image via TWRP???
TIA
Click to expand...
Click to collapse
yes
thanks. will i have to flash the stockboot.img and P8AcerRecovery.img via fastboot?
tried flashing the stock rom via TWRP but to no avail.
still cant pass the boot logo
xdadevelopers13 said:
thanks. will i have to flash the stockboot.img and P8AcerRecovery.img via fastboot?
tried flashing the stock rom via TWRP but to no avail.
still cant pass the boot logo
Click to expand...
Click to collapse
If you flash stock rom, i think you have to reinstall stock recovery, the rom itself already brings stock boot.. after flashing stock recovery it should boot since no modifications have happend
Wow good job! Now i have a recovery where i can flash my custom rom for the Predator 8.
p8tgames said:
Wow good job! Now i have a recovery where i can flash my custom rom for the Predator 8.
Click to expand...
Click to collapse
no custom roms yet
How to enter the command ?
Hi i am not so sure how to execute those info in my head and act on it so can anyone teach me ? how to root my Predator 8 GT-810 Android 5.1
i saw the instruction i dk how do i Unlock Bootloader (Fastboot) i search all over google and i dont really got the solution to the question so anyone can teach me ? and "4. Open up command prompt and navigate to the directory where fastboot.exe is located." do i extract the whole file i downloaded into my Acer predator 8 or ?... im stupid sorry ...
ZaineJJ said:
Hi i am not so sure how to execute those info in my head and act on it so can anyone teach me ? how to root my Predator 8 GT-810 Android 5.1
i saw the instruction i dk how do i Unlock Bootloader (Fastboot) i search all over google and i dont really got the solution to the question so anyone can teach me ? and "4. Open up command prompt and navigate to the directory where fastboot.exe is located." do i extract the whole file i downloaded into my Acer predator 8 or ?... im stupid sorry ...
Click to expand...
Click to collapse
On step 4 You need the fastboot files, (adb & fastboot) just search how to install adb and fastboot drivers, choose the directory where to install them and place the needed files inside that folder and open a command prompt on that folder so you can flash the files.
Ruben Craveiro said:
On step 4 You need the fastboot files, (adb & fastboot) just search how to install adb and fastboot drivers, choose the directory where to install them and place the needed files inside that folder and open a command prompt on that folder so you can flash the files.
Click to expand...
Click to collapse
ir I tried finding how to install fastboot driver on Google all showed me downloads links must do survey or download or purchase item to unlock the download files ... So I don't trust it so I kept searching "how to unlock fastboot Acer predator 8"
So for ADB I can search on Google and install it on my tablet ?
ZaineJJ said:
ir I tried finding how to install fastboot driver on Google all showed me downloads links must do survey or download or purchase item to unlock the download files ... So I don't trust it so I kept searching "how to unlock fastboot Acer predator 8"
So for ADB I can search on Google and install it on my tablet ?
Click to expand...
Click to collapse
no, Search how to unlock bootloader, it should show the method that works for most devices and give necessary drivers..
Ruben Craveiro said:
no, Search how to unlock bootloader, it should show the method that works for most devices and give necessary drivers..
Click to expand...
Click to collapse
http://gsmusbdriver.com/acer-predator-8
Does this work ?
Or
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
ZaineJJ said:
http://gsmusbdriver.com/acer-predator-8
Does this work ?
Or
https://www.howtogeek.com/239798/how-to-unlock-your-android-phones-bootloader-the-official-way/
Click to expand...
Click to collapse
Yes, and after you unlock the bootloader, you put the necessary files in adb folder and flash them according to the stepts
Ruben Craveiro said:
C:\adb is where my adb and fastboot commands are.. on the downloaded files from Step 1 only the SuperSU zip is needed on the tablet so that you can flash it later on with twrp, the rest you leave on pc and use fastboot to flash TWRP, unsecured boot image, etc...
Click to expand...
Click to collapse
Hi Ruben Craveiro is this the correct way ? i plugin usb cable into Predator 8 but it says its waiting for device is it the correct way ? after typing those Commands i go over to recovery mode to install SU from there then restart and its rooted ?
ZaineJJ said:
Hi Ruben Craveiro is this the correct way ? i plugin usb cable into Predator 8 but it says its waiting for device is it the correct way ? after typing those Commands i go over to recovery mode to install SU from there then restart and its rooted ?
Click to expand...
Click to collapse
That means adb drivers arent corrently installed, but i can see you have the folder with adb, all you have to now is download this(drivers): http://dl.adbdriver.com/upload/adbdriver.zip
Extract and open the software eith the tablet plugged in, it should tell of drivers is installer properly or not, and if not you can install, after installing it should work on the cmd the commands..

[GUIDE] ROOT Tecno Pop 2 Android Devices By Using Magisk Manager (B1)

[GUIDE] ROOT Tecno Pop 2 Android Devices By Using Magisk Manager (B1)
Disclaimer:
Rooting May Void Your Device Warranty.So Make a Backup of Your Data and ROM.
Make Sure your Phone at-least 50% Charge to Prevent accidental Shut Down During The Rooting process.
Download Files:
Root Files For Tecno Pop 2 (B1)
Magisk Manager
Platform tools/adb Fastboot tools
Note: Scatter File also included for Mediatek Phone.You Can use SP Flash tools to Install it but Some Devices Require Custom DA File to Work.
How to Root Tecno Pop 2
First of all We Need to Setup adb Fastboot tools/Platform tools So Download From above and extract the zip File.
Now Download and Extract Root Files file Inside the adb tools Folder.
Switch off Phone and together Press Volume Down and Power button it Will boot it in fastboot Mod.
Then Connect Phone to PC using the usb cable.
Now open CMD in the adb tools Folder and type below Code.
Check Device by Sending below Command:
fastboot devices
Send below Command For unlock bootloader
fastboot oem unlock
if fail
fastboot flashing unlock
Sending below Command For flash Boot
fastboot flash boot patched_boot.img
fastboot reboot
after Switch on Install Magisk Manager.You can See everything in Green. That’s it Your Phone Successfully Rooted.
Have any Question leave a Comment We will be happy to help You..
Method 2:
Download and extract Root Files From above
Rename Patched_boot.img to boot.img
Run SP Flash tools and Select Scatter File From Root Folder
Now on Download Section Select Download Only
boot.img File is automatically Loaded under boot.section if Not then Double Click on it and Select boot.img File From root folder
Now Click Download and Connect Your Phone Switched off mode.
wait until Success. Done
Switch On Phone and Install magisk manager to operate Root Permission.
Thread Closed.
Kindly PM with valid download links to reopen the thread.
Thanks
SacredDeviL666.

[Guide] Root Xgody Y28 with Magisk (MT6580) and dump stock rom

I am making the following guide because root guides for the Xgody phones are pretty hard to come by, and documentation is sparse. Enjoy.
First, you will need to setup adb and fastboot on your pc. Download Minimal ADB and Fastboot here. If your PC doesn't find drivers for "adb interface", download MTK adb drivers here, and install it by updating the driver for adb interface in device manager.
Now you will need to boot up your phone, go to about phone -> build number -> tap seven times. Head back to settings home, go to dev options, and enable usb debugging, then connect phone to pc. Open minimal adb and fastboot, and verify that the phone is connected by running "adb devices" command. If you see unauthorized next to the phone's serial, then you need to allow access on your phone in the window that has popped up.
Next step is to unlock the bootloader, so that the phone boots with the Magisk patched boot image we will be flashing later on. In developer options, you will now need to check "oem unlocking". Now in adb, type "adb reboot bootloader". Screen should go black, and "fastboot mode" text should appear on screen. Quick Note - Only boot to fastboot using this method. Shutting down the phone by selecting power off in the power menu and then holding the key combo to get into fastboot will cause the oem unlocking switch to flip back to off, and the next step will fail. Thus, make sure to use the adb command to reboot to fastboot mode. Don't know why this is, but it seems to be some sort of lousy anti-unlock protection by the Chinese devs.
Now in fastboot mode, type "fastboot devices" on your PC. you should see the device serial and "fastboot" next to it. If you do not, check device manager again. If you see an unknown device such as "Android" you will need to again install the driver through device manager. However, this time select "bootloader interface", as you are installing for fastboot mode.
Once you see the device in fastboot, you can proceed to unlock the bootloader. Type "fastboot oem unlock". Check the phone, and accept the warning about unlocking bootloader. Now the command should finish and bootloader should be unlocked. Reboot to system with "fastboot reboot". You will see "erasing" as the phone resets, and then it will boot into Android.
Now you are ready to grab your boot.img. We will need to patch this file with Magisk to obtain root access. To obtain the boot.img, you will need to make a full backup of your phone's rom using SP Flash Tool. A detailed guide here is available to guide you through the process. You can grab the VCOM driver and sp flash tool at https://spflashtool.com/. To follow the above guide, you will need to know the cpu and flash memory type. If you didn't know already, the Xgody Y28 is running on an MT6580 and uses EMMC memory.
You can also obtain a copy of the stock rom here - https://mega.nz/#!6vB0gKSK!RJ9SZ3q-Zp33ZYMjTk42A7cgeubvq-W2C4G7Ln4y8Bo However, I recommend making a backup of your own stock rom instead, as that is the safest option. The rom here may differ slightly differ from your phone's and cause issues. Unlikely, but still a good idea to use your own backup.
Either way, you now have a backup of the Y28's stock rom. We now need the boot.img. Connect your phone to your pc, and on the phone, select media device (MTP). This will allow you to copy files to the phone from your pc. Find your boot.img, and copy it to your phone. It doesn't matter where, just put it in an easy to reach location in your internal storage. Next, you will also need to copy over the Magisk Manager apk to your phone. Download it here. Click on "Latest Magisk Manager". Save the apk, and then copy it to your phone as well.
Next on your phone, open your file manager. Find the Magisk Manager apk, and install it. Note that the next part requires you have an internet connection, as Magisk Manager needs to connect to github to download the magisk zip to patch your boot.img with.
Now open the Magisk Manager you just installed. hit install, and select patch. Find your boot.img and select it. After the process is complete, exit Magisk Manager, and find the magisk-patched.img on your phone that magisk created.
Connect your phone to pc again, and copy the patched boot image to your pc. On your PC, navigate to the folder containing your stock rom, and rename boot.img to boot-original.img. Now, copy the magisk-patched.img to the stock rom folder. Rename magisk-patched.img to boot.img.
Next you will need SP Flash Tool. open it up, and select the android-mt6580-scatter.txt in the scatter-loading file. A list of flashable partitions will load once the scatter file is processed. Uncheck all except the boot.img (as this is the only one we want flashed) Now hit download, and connect your phone to your pc. Make sure the phone is turned off, and the battery is removed before connecting to PC. The SP Flash Tool will then flash the boot.img to the phone. Once complete, you can close the program, and unplug your phone.
Boot your phone back up, and open up Magisk Manager. It should now say Magisk is installed.
Congratulations! If you have successfully followed the steps above, you now have a rooted phone.

Categories

Resources