Is it possible to root Xperia M5 6.0? - Sony Xperia M5

As the the title says, is it possible to root M5 on 6.0 Marshmallow?
Thinking of buying this phone 2nd hand, but need to know if root is possible.
Thanks

Yes

LeRobE said:
As the the title says, is it possible to root M5 on 6.0 Marshmallow?
Thinking of buying this phone 2nd hand, but need to know if root is possible.
Thanks
Click to expand...
Click to collapse
I'm still finding ways to root mine (it's an E5606 variant).
I've found guides but it's a bit hard unless you know the whole process. I recommend you see other phones before buying this. Another issue is the battery. It suddenly shuts down because a disfunction of batt's circuit. Ah, and if you want to flash some roms on it, you can't do it symply, you need and scs file, or your phone will brick. Consider it before buying.
PS: I'm waiting root months ago (for 6.0 of course.) There's some guide but it implies DRM keys, and i forgot to backup them. So, if something goes wrong, i'm dead.

Seriously??
Years after...... Xperia M5 has not been rooted successfully yet?

Thanks for the information!
Decided not to buy it

*facepalms*

Yes, and I just rooted mine. Also, it's officially supported by Sony.
I can't post links here because I'm a new user, but the website is:
developer . sonymobile.com / unlockbootloader
PS: I selected "Xperia M" on the select box because there's no M5, but it worked.

loureirorg said:
Yes, and I just rooted mine. Also, it's officially supported by Sony.
I can't post links here because I'm a new user, but the website is:
developer . sonymobile.com / unlockbootloader
PS: I selected "Xperia M" on the select box because there's no M5, but it worked.
Click to expand...
Click to collapse
Can anyone else confirm that it works ?

Afdabrikman said:
Can anyone else confirm that it works ?
Click to expand...
Click to collapse
Just to clarify, there are 3 steps:
1. Unlock the bootloader on the Sony website;
2. Install a custom recovery (like TWRP);
3. Install a custom kernel with sudo support (use your custom recovery for this);
Note about DRM Keys:
Some tutorials recommend you to save the DRM keys before unlocking your boodloader. They say that without these DRM keys, all DRM based software (like Netflix, Spotify and the bravia engine) won't work. I say this is BS. Everything works fine: Netflix, Spotify, the Bravia engine. These Sony DRM keys are not the same DRM keys used by Android software.
----
Detailed steps:
1. Unlock bootloader:
* Note: this will wipe your data, so do a backup before;
* Note II: see "Note about DRM Keys" above;
* Go to: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
* Select “Xperia M” (there's no M5), put your email and your phone's IMEI
* Confirm your email, get the fastboot command
* On phone, enter in fastboot mode (vol up + put cable, keep pressing vol-up until: vibration and a black screen);
* Run the 2 fastboot commands you received on email (fastboot devices, fastboot ...);
* Reboot with a “fastboot reboot”
2. TWRP Custom Recovery:
* Download: https://mega.nz/#!NZIlBL5Y!xSHX-Gn0Dk9omRG-RJY3QOzr7MQD_uuzCrtv7CMPBTc
* Run: fastboot flash recovery recovery.img
* Tutorial: https://developer.sonymobile.com/20...for-a-range-of-unlocked-xperia-devices-video/
3. Kernel with Sudo:
* Follow instructions here: https://forum.xda-developers.com/xperia-m5/development/kernel-stock-marshmallow-kernel-root-t3453072
* If your kernel version is different, you can install a stock ROM with the right kernel version.
* Other methods won't work:
__* I tried Kingoroot, one click root, etc. None worked.
__* Sudo.apk on custom recovery: DO NOT try to install sudo.apk through the custom recovery. If you do that, you will soft brick your phone - your screen will be freeze on the Sony logo (no panic, it's possible to revert this brick by installing the stock rom).
--
Custom ROMs:
There are some on this forum, all from the "TRXteam" user, but DO NOT install them. They don't have support for camera, phone calls, etc. TRXteam is not working on these ROMs anymore. If you install them, you will need to revert to the stock ROM.
---
Shortcuts:
* Forced shutdown: vol up + power = keep pressing (it takes about 10 seconds) until a small vibration and keep going until a three-vibration.
* Fastboot mode: turn your phone off, then press vol up + put cable, keep pressing until vibrates+black screen. Run a "fastboot devices" command on your pc to test if it worked.
* Recovery mode: turn your phone off, then press vol down + power, then on logo, release the power button but keep pressing the down button until the recovery screen
--
Stock ROM (works on linux, windows, mac):
Usually, a Stock ROM is only necessary if you screwed up your phone.
You don't need this step when rooting your phone (unless you need a specific kernel version or if you soft bricked it).
This reverts your phone to the factory software, like a brand new phone and ALL your data will be wiped.
Step 1: Creating a TRT image
* You can use this tutorial instead: http://www.xperiablog.net/2014/08/1...re-files-using-xperifirm-and-flashtool-guide/
* Download Flashtool: http://www.flashtool.net/downloads.php
* Patch Flashtool: download "x10flasher.jar" from the above website, then copy this file to the Flashtool root folder (if you don't do it, you will get a "unresponsive app" while flashing);
* Download XperiFirm: https://mega.nz/#!0MohiK5A!m6zJs359UxbRgS3fP8a1Qyf0Jcr_I1sGFladNAZODDo
* Open XperiFirm and download stock ROM:
__* Settings > Uncheck “Unpack firmware automatically”
__* Xperia M5 (Holly) > E5663 Dual > Service Exchange Unit > Click on the “Available Firmware” item > Download
* Open the downloaded folder (ex. “E5653_Customized AU_1297-5795_30.2.A.1.21_R4B”)
__* Manually delete this file: “fwinfo.xml” (if it is there)
__* If you don’t delete it, the firmware WILL corrupt and BRICK your phone!!!!
__* Check if is there any FILE_* files. It should have. If there's none, it's because you didn't uncheck “Unpack firmware automatically” option on settings. Uncheck, remove this folder and download again.
* Open Flashtool, select “Xperia M5”
* Click Tools > Bundles > FILESET Decrypt > Chose ROM folder (with FILES_* files)
* Select all files (around 4) > Right arrow (to move) > Convert
* Once it finishes, it will open a new pop up (Bundler)
* Click “Device” field twice > Xperia M5 > E5663
* Branding (it’s just a text field, it doesn’t matter what you put actually): International
* Version (also just a text field): Put the firmware version you downloaded (is in the folder name). Ex.: “30.0.B.1.23_R1A”
* Move all items from left to right, except the “.ta” files (usually 2: cust-reset.ta and simlock.ta)
* Click “Convert”
* “A FSC script was found. Do you want to include it?”: Choose YES!!!! If you choose no, it will HARD F* BRICK your phone. A HARD BRICK can't be undone (not that I know).
* Step 2: Flashing
* Tutorial: http://www.xperiablog.net/2014/06/01/debrand-your-xperia-z2-tutorial/

Do I have to be rooted beforehand to do any of this ?

Afdabrikman said:
Do I have to be rooted beforehand to do any of this ?
Click to expand...
Click to collapse
To backup your DRM keys yes you do

hi. use magisk manager to root device is working fine on my m5 single sim.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Hello Rinogsm!
Please give more information on how you did this.
Thank you!

connectix said:
Hello Rinogsm!
Please give more information on how you did this.
Thank you!
Click to expand...
Click to collapse
You should take a look at this Youtube video it has link's to download everything you will need for twrp and root (for marshmallow only)
Just flash twrp and then the modified boot.img via command prompt,adb fastboot drivers are also available via the link.
Click here and it will take you straight to the Youtube channel.(at Youtube channel you'll have to select show more to access the link addresses for download)
I have used the method successfully,,The only known issue i have noticed is that my phone switches on when i plug in phone charger, however if your charging your phone i assume that you'll be powering it up
Goodluck..

help me
Does this video work? I'm following the tutorial, and unlock the bootloader now I'm going in the part of installing the twrp but I'm not totally sure, should I install another rom? or can I do it with my marshmallow stock? I read in other tutorials that unlocking the bootloader could downgrade to 5.1 lollipop, I'm a little tangled in that and nobody says anything, nor those who have already achieved, sorry for my bad English

Help
Hi guys! I've tried the root method from this thread and it worked perfectly. After that, I've tried to remove some Sony apps from the firmware and accidentally removed the notorious Download Manager. Now I can't use google play chrome and other Google apps anymore. Does anybody have any advise? Reinstall Download manager would be easy but I can't find the apk file anywhere. Would reinstalling the firmware help?
Thanks in advance!

As it looks, nobody is reading this thread so I have to answer to my self. I found a way to extract firmware apps from ftf but that didn't solve the problem. Download manager was installed but could not start. I already wanted to give up because flashing according to Sony would brick my phone so there was nothing more I could do. Then I thought that I have nothing to lose so I flashed with FlashTool and It's alive again. Many thanks to farshad9500gy cyberzeroXDA loureirorg and others.

spekis said:
Hi guys! I've tried the root method from this thread and it worked perfectly. After that, I've tried to remove some Sony apps from the firmware and accidentally removed the notorious Download Manager. Now I can't use google play chrome and other Google apps anymore. Does anybody have any advise? Reinstall Download manager would be easy but I can't find the apk file anywhere. Would reinstalling the firmware help?
Thanks in advance!
Click to expand...
Click to collapse
Re flash, just be careful next time

Related

[SAMSUNG GALAXY S3 UNIFIED TOOLKIT V9] Drivers, Backup, Root, Recovery + MORE [ATT]

INTRODUCING THE SAMSUNG GALAXY S3 UNIFIED TOOLKIT
SUPPORTED MODELS
INTERNATIONAL [GT-I9300] SUPPORT THREAD HERE
AUSTRALIAN MODEL GSM [GT-I9300T]
INTERNATIONAL [GT-I9305/GT-I9305N] SUPPORT THREAD HERE
AUSTRALIAN MODEL LTE [GT-I9305T]
C SPIRE MODEL LTE [SCH-L710]
AT&T US [SGH-I747] SUPPORT THREAD HERE
BELL, ROGERS, SASKTEL, TELUS [SGH-I747M] [SGH-I747M] USE AT&T SUPPORT THREAD
US CELLULAR MODEL LTE [SCH-R530] USE AT&T SUPPORT THREAD
METRO PCS MODEL LTE [SCH-R530M] USE AT&T SUPPORT THREAD
SPRINT US [SPH-L710] SUPPORT THREAD HERE
TMOBILE US [SGH-T999] SUPPORT THREAD HERE
MOBILICITY, VIDEOTRON, WIND [SGH-T999V] USE TMOBILE SUPPORT THREAD
VERIZON US [SCH-I535] SUPPORT THREAD HERE
CHINA ANYCALL CDMA MODEL [SCH-I939] USE GT-I9300 SUPPORT THREAD
Click to expand...
Click to collapse
The Unified Android Toolkit supports a multitude of Nexus and Samsung devices with more devices being added all the time. There is also an option at startup to run a Basic Android Toolkit which any Android device can use to install drivers, make app backups, install apk files, reboot the device into different modes and run a command prompt for manual input.
FUNCTIONS OF UNIFIED ANDROID TOOLKIT V1.3.4 [9TH JAN 2015]
* Install correct adb/fastboot drivers automatically on Windows xp/vista/7/8 32bit+64bit
* Backup/Restore a single package or all apps, user data and Internal Storage
* Backup your data from selectable folders [internal or external storage] to your PC for a Full Safe backup of data
* Unlock/Re-Lock your Bootloader [Nexus]
* Root Stock builds
* Various Root options using insecure boot image or custom recovery
* ALLINONE to Unlock, Root, Rename the Restore Files and install busybox [Nexus]
* ALLINONE to flash custom Recovery Root, Rename the Restore Files and install busybox [Samsung]
* Install BusyBox on your device
* Perform a FULL NANDROID Backup of your system (Boot, Cache, Data, Recovery and System) via adb and save in Custom Recovery format on your PC which can be Restored via CWM Recovery [if insecure boot image available]
* Fix extSdCard write permissions from installed apps in Android 4.4+ [Samsung]
* Pull /data and /system folders, compress to a .tar file and save to your PC [if insecure boot image available]
* Dump selected Device Partitions, compress to a .zip file with md5 and save to your PC [if insecure boot image available]
* Extras, Tips and Tricks section
* Auto Update ToolKit to latest available version at startup (professional only feature)
* Program up to 10 Quickpick slots and run them very quickly (professional only feature)
* Mods section to automatically perform certain tasks on your device
* Download Google Stock Image directly to correct ToolKit folder for extracting and flashing [Nexus]
* Check md5 of stock image to make sure downloaded file isn't corrupted before flashing [Nexus]
* Download Samsung Stock Firmware to PC for extracting and flashing via Odin [Samsung]
* Flash Custom Recovery or Google Stock Image to Device
* Rename the Recovery Restore File present on some Stock Roms
* Boot into CWM Touch, TWRP, Philz Touch Recovery or Stock Recovery without Flashing it [Nexus]
* Flash Custom Recovery to Device
* Boot [Nexus] or Flash .img Files directly from your PC
* Install a single apk or multiple apk's to your device
* Push Files from your PC to your device
* Pull Files from your device to your PC
* Disable forced encryption on Nexus6 and Nexus9 devices
* Install Root Checker app by Burrows Apps
* Install Backup/Restore app by MDroid Apps [calls log, sms, contacts]
* Install EFS/Partition Backup/Restore app by Wanam
* Dump selected LogCat buffers to your PC
* Dump BugReport to your PC
* Set Files Permissions on your device
* Open new Command Prompt for manual input
* Reboot device to Fastboot Mode or Android from fastboot mode [Nexus]
* Reboot device to Fastboot Mode [Nexus], Recovery, Android or Download Mode [Samsung] from adb mode
* Display Important Information about your device
--------------------------------------------------------------
SUPPORTED DEVICES AND LATEST SUPPORTED BUILDS *HERE*
DOWNLOAD THE SKIPSOFT UNIFIED ANDROID TOOLKIT *HERE* (FROM SKIPSOFT.NET)
NOTE: As the exe files are not Digitally Signed with a Microsoft Certificate they 'may' get picked up as potentially harmful by Antivirus Programs and deleted on first run. If this happens restore the file and exclude it from future scans to use it. This seems to happen mostly on AVG Free and Norton which is why I switched to BitDefender which is much better.
Credits: Chainfire for SuperSU, koush and the clockworkmod team for cwm and the universal driver pack, 1wayjonny for the adb/fastboot driver pack, Adam Lange for all his support and help with the insecure kernels.
--------------------------------------------------------------
WHAT IS THE DIFFERENCE BETWEEN PUBLIC (FREE) AND PROFESSIONAL (DONATE) VERSIONS?
THE PUBLIC VERSION OF THE TOOLKIT INCLUDES EVERYTHING YOU COULD NEED TO MANIPULATE YOUR DEVICE. NOTHING IS RESTRICTED.
ACTIVATING THE PROFESSIONAL VERSION ADDS THE MOST USEFUL FUNCTION IN THE TOOLKIT, THE ABILITY TO CHECK FOR 'AUTO UPDATES' DIRECTLY VIA THE TOOLKIT AND HAVE THEM PUSHED TO YOUR PC RIGHT AWAY AS SOON AS THEY ARE UPLOADED WITHOUT NEEDING TO DOWNLOAD THE WHOLE TOOLKIT EVERY TIME. YOU WILL ALWAYS HAVE THE LATEST VERSION AS SOON AS IT IS MADE AVAILABLE. THIS MEANS SMALLER UPDATES CAN BE SENT OUT MORE FREQUENTLY, SUCH AS ADDING A SINGLE FUNCTION, FIXING A BUG OR ADDING COMPATIBILITY FOR A SINGLE CARRIER. THE SMALLER UPDATES WILL BE COMPILED AND RELEASED TO THE XDA COMMUNITY AS A FULL (PUBLIC) DOWNLOAD VERSION SO PROFESSIONAL VERSIONS ARE ALWAYS UPDATED SOONER.
THE PRO VERSION ALSO ADDS THE ABILITY TO CHECK FOR THE LATEST VERSION OF SUPERUSER AND RECOVERY FILES AND DOWNLOAD THEM DIRECTLY TO THE TOOLKIT.
THE 'QUICK PICKS' SECTION[/B] ALLOWS YOU TO PROGRAM UPTO 10 SLOTS WITH TASKS THAT YOU MAY PERFORM ON A REGULAR BASIS OR JUST WANT TO KEEP A SET OF TASKS IN 1 PLACE. THEN JUST SELECT THE SLOT AND IT WILL REMEMBER ALL YOUR SETTINGS FOR THAT TASK AND RUN IT.
PRO USERS CAN ALSO SELECT THE "ANY BUILD" OPTION IN THE BUILD SELECTION SCREEN TO ROOT ANY BUILD (USEFUL IF YOUR BUILD IS NOT LISTED).
AUTO REPLY LINKS FOR PAYPAL TO GET A CODE INSTANTLY CAN BE FOUND AT http://goo.gl/nyGqv
--------------------------------------------------------------
PLEASE READ THE *HELP* PAGE AT http://www.skipsoft.net/?page_id=1269 OR USE THE INFORMATION SECTION WITHIN THE TOOLKIT IF YOU HAVE ANY QUESTIONS. I HAVE TAKEN A LOT OF TIME TO WRITE IT AND SOMETHING ON THERE SHOULD ANSWER 99% OF PROBLEMS.
--------------------------------------------------------------
1. INSTALLING ADB/FASTBOOT DRIVERS
The first thing you need to do is to install the adb/fastboot drivers. These are needed so that you can unlock your bootloader, root your device and perform other adb/fastboot functions.
THE DRIVERS CAN BE INSTALLED DIRECTLY VIA THE TOOLKIT. OPTION 1 IN THE MAIN MENU.
If drivers are not installed or there is an exclamation mark next to the device:
Plug the device in to a usb cable directly connected to your motherboard.
In the Device Manager a new item, usually called Android 1.0 should pop up in the list.
Right click on the device item then left click on Update Driver Software. Select 'browse my computer' and then 'Let me pick from a list'.
If no adb interface driver appears in the list then untick 'Show compatible hardware' and find the Android or Samsung adb interface driver.
If you cannot find either of these click Have Disk, browse to the Toolkit install folder, drivers folder, click on android_winusb.inf and click Open.
Click OK and select Google ADB Interface.
Make sure you have USB debugging enabled in settings, developer options. In Android 4.2.2 or later you have to enable the developer options screen by going to settings, About on your device and click on Build number at the bottom 7 times until it says You are now a developer. If you have already enabled usb debugging then unplug/replug the usb cable.
On Android 4.2.2 or later when you replug the usb cable after enabling usb debugging for the first time you will get a popup asking you to authenticate your pc. Tick 'Always allow' then click 'ok'.
--------------------------------------------------------------
2. USING SKIPSOFT UNIFIED ANDROID TOOLKIT
When starting the Toolkit you will first be asked which device you want to work with. Working folders will be created and the device files downloaded. You will then be taken to the Model/Build selection screen where you can do a number of things (other than select your model/build): Type '00' to enter your activation code and enable pro features, 'i' will take you to the Information and Help Section, 'a' will give you information on how to add support for a new build.
Supported builds are listed in the Model/Build selection screen and typing the associated number (i.e. 11) will download needed boot and recovery files (stock and custom recovery) then check for and download the latest superuser files available and custom recovery (pro versions only), verify all the files and start the Main Menu. You can now use all the functions and tools the Android Toolkit offers. Pro users can select the "any build" option to root any build (useful if your build is not listed).
--------------------------------------------------------------
USEFUL INFORMATION
How to get into Recovery Mode
1. Unplug the USB cable.
2. Shut down the phone.
3. Hold down the 'HOME' + 'VOLUME UP' buttons and press the 'POWER' button for about 5 seconds to enter Recovery Mode.
How to get into Download Mode (For Odin)
1. Unplug the USB cable.
2. Shut down the phone.
3. Hold down the 'HOME' + 'VOLUME DOWN' buttons and press the 'POWER' button for about 2 seconds until a WARNING! Screen appears. Press the 'VOLUME UP' button to enter Download Mode.
--------------------------------------------------------------
*DISCLAIMER*
I take no responsibility for any fault or damage caused by any procedures within this guide. No warranties of any kind are given.
**FAQ**
Q. Help me I can't find my build in the Model Selection Screen
The Toolkit includes a selection of Insecure Boot Images to cover all the different builds available. As there are very many different builds it is impossible to include an image for every single build but some builds share the same Boot Image. If you have a build that isnt listed on the Model Selection Screen you can therefore use a similar build. The best way to go is up to the next available build as it should offer more compatibility with the build you are using but if that isn't available then try the next build below your one as it should still be almost identical as long as it is the same version (ie. 4.1.1).
The Model Selection Screen is there so that if a task in the ToolKit requires an insecure kernel [to perform adb root commands] and your phone doesnt already include one, a compatible boot image [with an insecure kernel included] can be flashed to provide adb root access.
If you have a Custom Rom flashed to your phone then it will most probably have an insecure kernel included so it doesn't really matter if your build is not listed on the Model Selection Screen and when asked [by certain functions] if you have an insecure kernel on your phone you can answer 'yes'. However if the function fails then your kernel may not be insecure in which case you can flash one from the ToolKit. If you need to do this make sure the right build [or closest available build] is set so you flash the right image for your phone.
----------------------------------------------------------------------------
Q. What is ADB Shell?
Adb shell is a linux command line tool (because android is based on linux) used to send commands to your android device. For S-ON devices, this is crucial for modifying files in the /system partition (where the rom sits) as you cannot modify anything in /system when the rom is running without S-OFF like removing system apps.
----------------------------------------------------------------------------
Q. Why do I need to back up my IMEI/EFS and how do I do it?
There well protected section of your device that is virtually immune to any kind of flashing and manipulation (unless of course you know how to access it). This part of the device contains information such as IMEI (or MEID and ESN in the case of CDMA devices), programming parameters for the device such as your account information (phone number, etc), data provisioning parameters, and a whole bunch of other things that, when not handled properly, can render a device completely useless. All of these are contained in the infamous \EFS folder. If anything messes with your EFS folder, unlike flashing a device (which could potentially lead to bricks as well) it could render your device completely useless as it will no longer be recognized by your carrier. If you are not planning on flashing anything to your device and want to stay on pure Stock then you may never have any problems but it is still advisable to backup this information just in case (better to be safe than sorry). If you have a GT-I9300 GSM Model then you can do this from the Toolkit but if you have an LTE device then it isn't soo easy to do. If you have an LTE device you should go to *THIS* thread by lyriquidperfection and follow the information to save your IMEI/NV Data so that you are covered if anything should happen.
----------------------------------------------------------------------------
Q. Is there currently no way to root the Samsung Galaxy S3 without voiding the warranty?
All methods of rooting will void your warranty in some way as you will have superuser files on your phone that arent supposed to be there. There is a method of rooting your phone without increasing the flash counter which involves flashing a complete rom with root files already added but if anything happens and you need to send it back under warranty you will need to flash a 'proper' Stock Rom back before returning it or your warranty will be void. Flashing a custom kernel or recovery to root will increase the flash counter and also void any warranty. There is currently no method of resetting the flash counter on Snapdragon models but im pretty sure there will be some support for it soon. If you dont want to risk it or you aren't sure then you shouldnt really be flashing your phone and should just leave it alone. Its your choice .
----------------------------------------------------------------------------
Q. Will flashing Stock ROM via odin using the toolkit replace everything that was flashed before? recovery? etc?
Yes a Stock Image flashed via Odin will replace all your key partitions (boot, recovery, system) with the stock firmware. If you want to reset the phone back to an 'out of the box' state then you want to enter recovery and do a wipe first which will reformat your userdata partition.
----------------------------------------------------------------------------
Q. I flashed Custom Recovery but each time I reboot the Stock Recovery is back
There is an auto recovery restore system on certain Stock Android Builds that will reflash the Stock Recovery if you flash CWM on a Stock Rom.
Use Root Explorer to Mount the system folder as R/W (or use a free app from Google Play such as ES File Explorer). Rename the files /system/recovery-from-boot.p and /system/etc/install-recovery.sh (requires root). Now when you flash Custom Recovery it will NOT be overwritten after a reboot. You can also do this via the Toolkit.
----------------------------------------------------------------------------
Q. My AntiVirus program says the Toolkit files may be harmful
The exe compiled files are not digitally signed with a Microsoft certificate (as they cost money) so certain AntiVirus programs (mainly Norton and AVG Free) may pick it up as potentially harmful when it is not. They will pick up ANY file that doesn't contain a purchased Microsoft certificate in the same way. Just Restore the deleted file and exclude it from further scans and it will be fine. Or switch to a better AntiVirus program such as BitDefender.
----------------------------------------------------------------------------
Q. I flashed the Toolkit Boot Image, now my wifi + bluetooth won't work
The boot images are made from Stock with only needed changes made to the insecure boot images [modified adbd, default.prop and rc.local edited] and will work on all stock roms. If you flash them to a custom rom and the rom has been altered or uses a custom boot image then it will boot but certain modules may not load such as wifi or bluetooth. In this case you can use the boot image to root or perform adb root functions but will need to flash back the boot image for the custom rom to get other functions working again. This is not a fault of the Toolkit but a difference to stock in the custom rom.
----------------------------------------------------------------------------
Q. I am having trouble getting adb working with the drivers installed
Try switching your connection type from media (MTP) mode to camera mode (P2P). To do this open the notification area, click where it says connected as and change from MTP to PTP.
----------------------------------------------------------------------------
Q. I want to send my device back for warranty purposes
1. Follow the instructions to reset your flash counter with TriangleAway.
2. Download and flash a Stock Firmware image from the download section.
3. Boot into Stock Recovery and perform a wipe/factory reset
.
Your internal storage will be formatted and data and cache wiped. Your device should now be back to an out-of-the-box FULLY STOCK state with the flash counter [shown if you boot to download mode manually] reset and ready to send back.
----------------------------------------------------------------------------
Q. When connecting the phone I get 'USB Device not Recognized' and no serial number shows in the ToolKit
I actually had this problem recently and what fixed it for me was to make sure that the drivers have been installed, then shut my phone down plug the usb cable in and restart it. The phone booted up and the device was recognized and drivers installed correctly. May not work for everyone but worth trying.
*reserved if needed*
Wow! Even the tech challenged girlfriend should be able to use this. No time to test but will be back.
Faaaaantastic! I'll be getting my phone this afternoon so should be able to report back tonight.
Worked Great on My Rogers Samsung Galaxy S3 , thank you so much
Worked great on my Rogers. Finally decided to root
trublu said:
Wow! Even the tech challenged girlfriend should be able to use this. No time to test but will be back.
Click to expand...
Click to collapse
Jirv311 said:
Faaaaantastic! I'll be getting my phone this afternoon so should be able to report back tonight.
Click to expand...
Click to collapse
Please do report back as I want to know if anything doesnt work as expected.
Mark.
I selected all in one for Rogers but it looks like it never installed CWM app touch.
Awesome, I'll be trying this out when I get home from work tonight!
Wow nice job!! gonna check this out after work!!
Nice, but didn't work on my AT&T. Odin got to RESET and rebooted phone, but did not get to PASS. Closing Odin by X, returned to toolkit, but could not get ACK, install su or set root.
Dx9 said:
I selected all in one for Rogers but it looks like it never installed CWM app touch.
Click to expand...
Click to collapse
Yeah that happened with me too, stock CWM is fine for me ahha
---------- Post added at 12:23 PM ---------- Previous post was at 12:22 PM ----------
alkiter said:
Nice, but didn't work on my AT&T. Odin got to RESET and rebooted phone, but did not get to PASS. Closing Odin by X, returned to toolkit, but could not get ACK, install su or set root.
Click to expand...
Click to collapse
Mine took about 3-5 minutes for it to stay PASS and rebooted before pass.
I ran the #3 root option and everything worked fine. i have att version. I'm making a nandroid right now not issues.
When Im tried this method:
http://forum.xda-developers.com/showthread.php?t=1725395
from noobnl, I had force close everywhere. I unrooted it with the steps provided in the same thread and reseted my phone. When it rebooted, screen rotation was the oposite of normal, the screen was always upside down. I could change it from Rogers, Do you think this method would do the same?
Thanks
xhead said:
Yeah that happened with me too, stock CWM is fine for me ahha
---------- Post added at 12:23 PM ---------- Previous post was at 12:22 PM ----------
Mine took about 3-5 minutes for it to stay PASS and rebooted before pass.
Click to expand...
Click to collapse
So how do I get the actual app? Should I redo it again and select a different option or is there a way to actually install from CWM? Thanks
Looks amazing!
Quick question does the root function trigger the modify counter?
Sent from my SAMSUNG-SGH-I747 using xda premium
skalatsky said:
Looks amazing!
Quick question does the root function trigger the modify counter?
Sent from my SAMSUNG-SGH-I747 using xda premium
Click to expand...
Click to collapse
Yes
What root option do I have to go for? (in the root folder) I am with Rogers, i747m -
Does this trigger flash counter?

[SAMSUNG GALAXY S3 UNIFIED TOOLKIT V9] Drivers, Backup, Root, Recovery + MORE [TMO]

INTRODUCING THE SAMSUNG GALAXY S3 UNIFIED TOOLKIT
SUPPORTED MODELS
INTERNATIONAL [GT-I9300] SUPPORT THREAD HERE
AUSTRALIAN MODEL GSM [GT-I9300T]
INTERNATIONAL [GT-I9305/GT-I9305N] SUPPORT THREAD HERE
AUSTRALIAN MODEL LTE [GT-I9305T]
C SPIRE MODEL LTE [SCH-L710]
AT&T US [SGH-I747] SUPPORT THREAD HERE
BELL, ROGERS, SASKTEL, TELUS [SGH-I747M] [SGH-I747M] USE AT&T SUPPORT THREAD
US CELLULAR MODEL LTE [SCH-R530] USE AT&T SUPPORT THREAD
METRO PCS MODEL LTE [SCH-R530M] USE AT&T SUPPORT THREAD
SPRINT US [SPH-L710] SUPPORT THREAD HERE
TMOBILE US [SGH-T999] SUPPORT THREAD HERE
MOBILICITY, VIDEOTRON, WIND [SGH-T999V] USE TMOBILE SUPPORT THREAD
VERIZON US [SCH-I535] SUPPORT THREAD HERE
CHINA ANYCALL CDMA MODEL [SCH-I939] USE GT-I9300 SUPPORT THREAD
Click to expand...
Click to collapse
The Unified Android Toolkit supports a multitude of Nexus and Samsung devices with more devices being added all the time. There is also an option at startup to run a Basic Android Toolkit which any Android device can use to install drivers, make app backups, install apk files, reboot the device into different modes and run a command prompt for manual input.
FUNCTIONS OF UNIFIED ANDROID TOOLKIT V1.3.4 [9TH JAN 2015]
* Install correct adb/fastboot drivers automatically on Windows xp/vista/7/8 32bit+64bit
* Backup/Restore a single package or all apps, user data and Internal Storage
* Backup your data from selectable folders [internal or external storage] to your PC for a Full Safe backup of data
* Unlock/Re-Lock your Bootloader [Nexus]
* Root Stock builds
* Various Root options using insecure boot image or custom recovery
* ALLINONE to Unlock, Root, Rename the Restore Files and install busybox [Nexus]
* ALLINONE to flash custom Recovery Root, Rename the Restore Files and install busybox [Samsung]
* Install BusyBox on your device
* Perform a FULL NANDROID Backup of your system (Boot, Cache, Data, Recovery and System) via adb and save in Custom Recovery format on your PC which can be Restored via CWM Recovery [if insecure boot image available]
* Fix extSdCard write permissions from installed apps in Android 4.4+ [Samsung]
* Pull /data and /system folders, compress to a .tar file and save to your PC [if insecure boot image available]
* Dump selected Device Partitions, compress to a .zip file with md5 and save to your PC [if insecure boot image available]
* Extras, Tips and Tricks section
* Auto Update ToolKit to latest available version at startup (professional only feature)
* Program up to 10 Quickpick slots and run them very quickly (professional only feature)
* Mods section to automatically perform certain tasks on your device
* Download Google Stock Image directly to correct ToolKit folder for extracting and flashing [Nexus]
* Check md5 of stock image to make sure downloaded file isn't corrupted before flashing [Nexus]
* Download Samsung Stock Firmware to PC for extracting and flashing via Odin [Samsung]
* Flash Custom Recovery or Google Stock Image to Device
* Rename the Recovery Restore File present on some Stock Roms
* Boot into CWM Touch, TWRP, Philz Touch Recovery or Stock Recovery without Flashing it [Nexus]
* Flash Custom Recovery to Device
* Boot [Nexus] or Flash .img Files directly from your PC
* Install a single apk or multiple apk's to your device
* Push Files from your PC to your device
* Pull Files from your device to your PC
* Disable forced encryption on Nexus6 and Nexus9 devices
* Install Root Checker app by Burrows Apps
* Install Backup/Restore app by MDroid Apps [calls log, sms, contacts]
* Install EFS/Partition Backup/Restore app by Wanam
* Dump selected LogCat buffers to your PC
* Dump BugReport to your PC
* Set Files Permissions on your device
* Open new Command Prompt for manual input
* Reboot device to Fastboot Mode or Android from fastboot mode [Nexus]
* Reboot device to Fastboot Mode [Nexus], Recovery, Android or Download Mode [Samsung] from adb mode
* Display Important Information about your device
--------------------------------------------------------------
SUPPORTED DEVICES AND LATEST SUPPORTED BUILDS *HERE*
DOWNLOAD THE SKIPSOFT UNIFIED ANDROID TOOLKIT *HERE* (FROM SKIPSOFT.NET)
NOTE: As the exe files are not Digitally Signed with a Microsoft Certificate they 'may' get picked up as potentially harmful by Antivirus Programs and deleted on first run. If this happens restore the file and exclude it from future scans to use it. This seems to happen mostly on AVG Free and Norton which is why I switched to BitDefender which is much better.
Credits: Chainfire for SuperSU, koush and the clockworkmod team for cwm and the universal driver pack, 1wayjonny for the adb/fastboot driver pack, Adam Lange for all his support and help with the insecure kernels.
--------------------------------------------------------------
WHAT IS THE DIFFERENCE BETWEEN PUBLIC (FREE) AND PROFESSIONAL (DONATE) VERSIONS?
THE PUBLIC VERSION OF THE TOOLKIT INCLUDES EVERYTHING YOU COULD NEED TO MANIPULATE YOUR DEVICE. NOTHING IS RESTRICTED.
ACTIVATING THE PROFESSIONAL VERSION ADDS THE MOST USEFUL FUNCTION IN THE TOOLKIT, THE ABILITY TO CHECK FOR 'AUTO UPDATES' DIRECTLY VIA THE TOOLKIT AND HAVE THEM PUSHED TO YOUR PC RIGHT AWAY AS SOON AS THEY ARE UPLOADED WITHOUT NEEDING TO DOWNLOAD THE WHOLE TOOLKIT EVERY TIME. YOU WILL ALWAYS HAVE THE LATEST VERSION AS SOON AS IT IS MADE AVAILABLE. THIS MEANS SMALLER UPDATES CAN BE SENT OUT MORE FREQUENTLY, SUCH AS ADDING A SINGLE FUNCTION, FIXING A BUG OR ADDING COMPATIBILITY FOR A SINGLE CARRIER. THE SMALLER UPDATES WILL BE COMPILED AND RELEASED TO THE XDA COMMUNITY AS A FULL (PUBLIC) DOWNLOAD VERSION SO PROFESSIONAL VERSIONS ARE ALWAYS UPDATED SOONER.
THE PRO VERSION ALSO ADDS THE ABILITY TO CHECK FOR THE LATEST VERSION OF SUPERUSER AND RECOVERY FILES AND DOWNLOAD THEM DIRECTLY TO THE TOOLKIT.
THE 'QUICK PICKS' SECTION[/B] ALLOWS YOU TO PROGRAM UPTO 10 SLOTS WITH TASKS THAT YOU MAY PERFORM ON A REGULAR BASIS OR JUST WANT TO KEEP A SET OF TASKS IN 1 PLACE. THEN JUST SELECT THE SLOT AND IT WILL REMEMBER ALL YOUR SETTINGS FOR THAT TASK AND RUN IT.
PRO USERS CAN ALSO SELECT THE "ANY BUILD" OPTION IN THE BUILD SELECTION SCREEN TO ROOT ANY BUILD (USEFUL IF YOUR BUILD IS NOT LISTED).
AUTO REPLY LINKS FOR PAYPAL TO GET A CODE INSTANTLY CAN BE FOUND AT http://goo.gl/nyGqv
--------------------------------------------------------------
PLEASE READ THE *HELP* PAGE AT http://www.skipsoft.net/?page_id=1269 OR USE THE INFORMATION SECTION WITHIN THE TOOLKIT IF YOU HAVE ANY QUESTIONS. I HAVE TAKEN A LOT OF TIME TO WRITE IT AND SOMETHING ON THERE SHOULD ANSWER 99% OF PROBLEMS.
--------------------------------------------------------------
1. INSTALLING ADB/FASTBOOT DRIVERS
The first thing you need to do is to install the adb/fastboot drivers. These are needed so that you can unlock your bootloader, root your device and perform other adb/fastboot functions.
THE DRIVERS CAN BE INSTALLED DIRECTLY VIA THE TOOLKIT. OPTION 1 IN THE MAIN MENU.
If drivers are not installed or there is an exclamation mark next to the device:
Plug the device in to a usb cable directly connected to your motherboard.
In the Device Manager a new item, usually called Android 1.0 should pop up in the list.
Right click on the device item then left click on Update Driver Software. Select 'browse my computer' and then 'Let me pick from a list'.
If no adb interface driver appears in the list then untick 'Show compatible hardware' and find the Android or Samsung adb interface driver.
If you cannot find either of these click Have Disk, browse to the Toolkit install folder, drivers folder, click on android_winusb.inf and click Open.
Click OK and select Google ADB Interface.
Make sure you have USB debugging enabled in settings, developer options. In Android 4.2.2 or later you have to enable the developer options screen by going to settings, About on your device and click on Build number at the bottom 7 times until it says You are now a developer. If you have already enabled usb debugging then unplug/replug the usb cable.
On Android 4.2.2 or later when you replug the usb cable after enabling usb debugging for the first time you will get a popup asking you to authenticate your pc. Tick 'Always allow' then click 'ok'.
--------------------------------------------------------------
2. USING SKIPSOFT UNIFIED ANDROID TOOLKIT
When starting the Toolkit you will first be asked which device you want to work with. Working folders will be created and the device files downloaded. You will then be taken to the Model/Build selection screen where you can do a number of things (other than select your model/build): Type '00' to enter your activation code and enable pro features, 'i' will take you to the Information and Help Section, 'a' will give you information on how to add support for a new build.
Supported builds are listed in the Model/Build selection screen and typing the associated number (i.e. 11) will download needed boot and recovery files (stock and custom recovery) then check for and download the latest superuser files available and custom recovery (pro versions only), verify all the files and start the Main Menu. You can now use all the functions and tools the Android Toolkit offers. Pro users can select the "any build" option to root any build (useful if your build is not listed).
--------------------------------------------------------------
USEFUL INFORMATION
How to get into Recovery Mode
1. Unplug the USB cable.
2. Shut down the phone.
3. Hold down the 'HOME' + 'VOLUME UP' buttons and press the 'POWER' button for about 5 seconds to enter Recovery Mode.
How to get into Download Mode (For Odin)
1. Unplug the USB cable.
2. Shut down the phone.
3. Hold down the 'HOME' + 'VOLUME DOWN' buttons and press the 'POWER' button for about 2 seconds until a WARNING! Screen appears. Press the 'VOLUME UP' button to enter Download Mode.
--------------------------------------------------------------
*DISCLAIMER*
I take no responsibility for any fault or damage caused by any procedures within this guide. No warranties of any kind are given.
**FAQ**
Q. Help me I can't find my build in the Model Selection Screen
The Toolkit includes a selection of Insecure Boot Images to cover all the different builds available. As there are very many different builds it is impossible to include an image for every single build but some builds share the same Boot Image. If you have a build that isnt listed on the Model Selection Screen you can therefore use a similar build. The best way to go is up to the next available build as it should offer more compatibility with the build you are using but if that isn't available then try the next build below your one as it should still be almost identical as long as it is the same version (ie. 4.1.1).
The Model Selection Screen is there so that if a task in the ToolKit requires an insecure kernel [to perform adb root commands] and your phone doesnt already include one, a compatible boot image [with an insecure kernel included] can be flashed to provide adb root access.
If you have a Custom Rom flashed to your phone then it will most probably have an insecure kernel included so it doesn't really matter if your build is not listed on the Model Selection Screen and when asked [by certain functions] if you have an insecure kernel on your phone you can answer 'yes'. However if the function fails then your kernel may not be insecure in which case you can flash one from the ToolKit. If you need to do this make sure the right build [or closest available build] is set so you flash the right image for your phone.
----------------------------------------------------------------------------
Q. What is ADB Shell?
Adb shell is a linux command line tool (because android is based on linux) used to send commands to your android device. For S-ON devices, this is crucial for modifying files in the /system partition (where the rom sits) as you cannot modify anything in /system when the rom is running without S-OFF like removing system apps.
----------------------------------------------------------------------------
Q. Why do I need to back up my IMEI/EFS and how do I do it?
There well protected section of your device that is virtually immune to any kind of flashing and manipulation (unless of course you know how to access it). This part of the device contains information such as IMEI (or MEID and ESN in the case of CDMA devices), programming parameters for the device such as your account information (phone number, etc), data provisioning parameters, and a whole bunch of other things that, when not handled properly, can render a device completely useless. All of these are contained in the infamous \EFS folder. If anything messes with your EFS folder, unlike flashing a device (which could potentially lead to bricks as well) it could render your device completely useless as it will no longer be recognized by your carrier. If you are not planning on flashing anything to your device and want to stay on pure Stock then you may never have any problems but it is still advisable to backup this information just in case (better to be safe than sorry). If you have a GT-I9300 GSM Model then you can do this from the Toolkit but if you have an LTE device then it isn't soo easy to do. If you have an LTE device you should go to *THIS* thread by lyriquidperfection and follow the information to save your IMEI/NV Data so that you are covered if anything should happen.
----------------------------------------------------------------------------
Q. Is there currently no way to root the Samsung Galaxy S3 without voiding the warranty?
All methods of rooting will void your warranty in some way as you will have superuser files on your phone that arent supposed to be there. There is a method of rooting your phone without increasing the flash counter which involves flashing a complete rom with root files already added but if anything happens and you need to send it back under warranty you will need to flash a 'proper' Stock Rom back before returning it or your warranty will be void. Flashing a custom kernel or recovery to root will increase the flash counter and also void any warranty. There is currently no method of resetting the flash counter on Snapdragon models but im pretty sure there will be some support for it soon. If you dont want to risk it or you aren't sure then you shouldnt really be flashing your phone and should just leave it alone. Its your choice .
----------------------------------------------------------------------------
Q. Will flashing Stock ROM via odin using the toolkit replace everything that was flashed before? recovery? etc?
Yes a Stock Image flashed via Odin will replace all your key partitions (boot, recovery, system) with the stock firmware. If you want to reset the phone back to an 'out of the box' state then you want to enter recovery and do a wipe first which will reformat your userdata partition.
----------------------------------------------------------------------------
Q. I flashed Custom Recovery but each time I reboot the Stock Recovery is back
There is an auto recovery restore system on certain Stock Android Builds that will reflash the Stock Recovery if you flash CWM on a Stock Rom.
Use Root Explorer to Mount the system folder as R/W (or use a free app from Google Play such as ES File Explorer). Rename the files /system/recovery-from-boot.p and /system/etc/install-recovery.sh (requires root). Now when you flash Custom Recovery it will NOT be overwritten after a reboot. You can also do this via the Toolkit.
----------------------------------------------------------------------------
Q. My AntiVirus program says the Toolkit files may be harmful
The exe compiled files are not digitally signed with a Microsoft certificate (as they cost money) so certain AntiVirus programs (mainly Norton and AVG Free) may pick it up as potentially harmful when it is not. They will pick up ANY file that doesn't contain a purchased Microsoft certificate in the same way. Just Restore the deleted file and exclude it from further scans and it will be fine. Or switch to a better AntiVirus program such as BitDefender.
----------------------------------------------------------------------------
Q. I flashed the Toolkit Boot Image, now my wifi + bluetooth won't work
The boot images are made from Stock with only needed changes made to the insecure boot images [modified adbd, default.prop and rc.local edited] and will work on all stock roms. If you flash them to a custom rom and the rom has been altered or uses a custom boot image then it will boot but certain modules may not load such as wifi or bluetooth. In this case you can use the boot image to root or perform adb root functions but will need to flash back the boot image for the custom rom to get other functions working again. This is not a fault of the Toolkit but a difference to stock in the custom rom.
----------------------------------------------------------------------------
Q. I am having trouble getting adb working with the drivers installed
Try switching your connection type from media (MTP) mode to camera mode (P2P). To do this open the notification area, click where it says connected as and change from MTP to PTP.
----------------------------------------------------------------------------
Q. I want to send my device back for warranty purposes
1. Follow the instructions to reset your flash counter with TriangleAway.
2. Download and flash a Stock Firmware image from the download section.
3. Boot into Stock Recovery and perform a wipe/factory reset
.
Your internal storage will be formatted and data and cache wiped. Your device should now be back to an out-of-the-box FULLY STOCK state with the flash counter [shown if you boot to download mode manually] reset and ready to send back.
----------------------------------------------------------------------------
Q. When connecting the phone I get 'USB Device not Recognized' and no serial number shows in the ToolKit
I actually had this problem recently and what fixed it for me was to make sure that the drivers have been installed, then shut my phone down plug the usb cable in and restart it. The phone booted up and the device was recognized and drivers installed correctly. May not work for everyone but worth trying.
*reserved if needed*
thanx op for all your work and helping us tmo peeps.
EDIt: works as advertised, no issues.
Hey, congrats on finding everything you were looking for and getting the Toolkit up and running for the US variants!
Thanks for the great tool.
Thanks!
Awesome and thanks! I used the GNEX Toolkit you put together and I assume this is very much like that one - I do apprecaite the effort and time you put into this - thanks a lot!
well done mate! everything seems to work perfectly. thanks Mark
Donation sent.
Thanks, Mark! :good:
overground said:
Donation sent.
Thanks, Mark! :good:
Click to expand...
Click to collapse
Thanks mate hope everything works as it should. If you spot anything that needs fixing please let me know. The Snapdragon Edition benefited from a few script upgades over the International version
Mark.
mskip said:
Thanks mate hope everything works as it should. If you spot anything that needs fixing please let me know. The Snapdragon Edition benefited from a few script upgades over the International version
Mark.
Click to expand...
Click to collapse
Well, there's a problem with build.prop push/pulls, at least on this ROM: http://forum.xda-developers.com/showthread.php?t=1728255
Any changes fail to boot...even after restoring backup in recovery.
Seems to be a permissions problem as indicated in this thread (towards the end): http://forum.xda-developers.com/showthread.php?t=1735128
overground said:
Well, there's a problem with build.prop push/pulls, at least on this ROM: http://forum.xda-developers.com/showthread.php?t=1728255
Any changes fail to boot...even after restoring backup in recovery.
Seems to be a permissions problem as indicated in this thread (towards the end): http://forum.xda-developers.com/showthread.php?t=1735128
Click to expand...
Click to collapse
Is that s problem with the ToolKit or with the build.prop changes from the thread you linked to. Its never a good idea to edit too much in the build.prop as it can soft brick your device.
Mark.
mskip said:
Is that s problem with the ToolKit or with the build.prop changes from the thread you linked to. Its never a good idea to edit too much in the build.prop as it can soft brick your device.
Mark.
Click to expand...
Click to collapse
I'm not sure at this point. All I did was use your tool to disable boot ani.
But it's not inherently the tool's fault because it happens if manually done also.
Use the toolkit to restore back to stock for some odd reason my Internet isn't working any ideas
Edit problem solved had to pull some and reboot thanks for this wonderful tool
Sent from my SGH-T999 using xda premium
Just upgraded to an SIII from a G2 and boy, when did rooting get so easy? Thank you for this fantastic tool; your work saves everyone a ton of headaches.
Recovery
Does this recovery support external sd card and if it does do the backup and restore work? I know there was one posted, but restores did not work. The recovery in the root tutorial woks with backup/restore but it's internal storage support only.
Just used This toolkit to root my device. Worked flawlessly. Thanks, bro!
anthonykash said:
Does this recovery support external sd card and if it does do the backup and restore work? I know there was one posted, but restores did not work. The recovery in the root tutorial woks with backup/restore but it's internal storage support only.
Click to expand...
Click to collapse
I would also like to verify this?
I got everything to work except installing superuser. I passed ODIN and then when I try to flash superuser, it flashes but when I restart my phone I don't have superuser.
kharnage said:
I got everything to work except installing superuser. I passed ODIN and then when I try to flash superuser, it flashes but when I restart my phone I don't have superuser.
Click to expand...
Click to collapse
go to the market and download superuser, and busybox.
anthonykash said:
Does this recovery support external sd card and if it does do the backup and restore work? I know there was one posted, but restores did not work. The recovery in the root tutorial woks with backup/restore but it's internal storage support only.
Click to expand...
Click to collapse
The ToolKit uses Team Epic's v4 cwm Recovery which from their changelog supports external sd cards and has no mention of restores not working so I would think its safe.
You can see Team Epic's Changelog *HERE*.
Mark.

[HOW-TO][LS-980] Restore, Downgrade, Install CyanogenMod on LG G2

READ ME FIRST I am more than willing to help you guys, so if you have questions, please ask me via my facebook page, as I get notifications there instantly. http://facebook.com/vacationlandtech
Also of note, I no longer have a LG G2, and it has been a long time since I made this, if you can be as descriptive as possible when asking questions, that would help a lot. Also, because it has been quite a while since I've been in the G2 community, I'm not up to speed on anything newer than early November, 2014. I don't have experience with ZVE+, CM12+, CloudyG3, etc. so if you have problems with new ROMs and software, get help from the people who make/support those ROMs and software.
Good luck!!
So I've been helping around the forums with people trying to install CyanogenMod on the Sprint LG G2 (LS-980). I have done this successfully and will outline my steps to do so below. A small caveat – I've only gotten this to work the way I'll outline below. I've tried getting CyanogenMod after the LS980ZVA/C/D OTA and no matter what I do I cannot get it to work. That being said, let's get to it.
Edit: I've added videos!!
Part 1: http://youtu.be/NRwlxeUprZE
Part 2: http://youtu.be/7rohyf_W13k
Part 3: http://youtu.be/Uw3J5ZTb3ro
*REMEMBER* - Always create Nandroid backups before flashing a ROM or doing anything, really.
Required Materials (some of these files (LS980ZV8_13.TOT) are over 2GB, FYI):
EDIT: I have put all the required files into a .ZIP archive and uploaded it to Mega
There has been a report that that the CyanogenMod .zip in my file is corrupt. You can still download the file I uploaded, just get CyanogenMod from the link below.
Update: I uploaded *just* the LS980ZV8_13.TOT file to Mega. Here is the link (beware it's not zipped, it's over 3GB).
Code:
* LS980ZV8_13.TOT - [URL]http://storagecow.eu/Xda/LG%20G2/Stock/Sprint/LS980ZV8_13.zip[/URL]
* LGLS980_20130904_LGFLASHv151.dll - [URL]http://storagecow.eu/Xda/LG%20G2/Stock/Sprint/LGLS980_20130904_LGFLASHv151.dll[/URL]
* LG Flash Tool - [URL]http://storagecow.eu/Xda/LG%20Software/TOT%20FlashTool/Setup_LGFlashTool_1.8.1.1023.exe[/URL]
* MegaLock.dll - [URL]http://storagecow.eu/Xda/LG%20Software/TOT%20FlashTool/MegaLock.dll[/URL]
* IOroot25 - [URL]http://downloads.codefi.re/autoprime/LG/ioroot/ioroot.zip[/URL]
* LG G2 (Verizon) USB Driver - [URL]http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00520120427[/URL]
* GApps - [url]https://s.basketbuild.com/gapps[/url]
Now, back up any files you want to keep from your phone. This process will remove EVERYTHING from your phone INCLUDING Internal Storage! Also install the USB Driver.
Let's get to it (please read all instructions before doing anything):
Resetting to Stock
Required files: LG Flash Tool, MegaLock.DLL, LS980ZV8_13.TOT, USB Drivers.
1. Install LG Flash Tool , but don't launch it yet!
2. Copy MegaLock.DLL to the root of the installation directory of LG Flash Tool.
3. Launch LG Flash Tool.
4. Check “Manual Mode”
5. Browse to the .DLL file you downloaded by clicking the “...” button to the right of the first text box.
6. Browse to the .TOT file (it'll have to be unzipped) by doing the same thing for the 2nd box.
7. Click okay, then click the green arrow at the top right of the window.
8. Wait for one of the boxes to turn green and say “Ready”
9. Turn off your phone.
10. Plug in the phone to your computer while holding the Vol+ key to put your phone in download mode.
11. Open Device Manager on your computer by pressing Win+R and typing “devmgmt.msc” without the quotes, then pressing enter.
12. Scroll down to “Ports” and expand it.
13. There will be an Android entry, right click it and select “Properties”
14. Select the Port Settings tab, and select Advanced.
15. Change the port number to 41.
16. You may have to unplug and reconnect your phone.
17. The box that said ready should now have some messages inside it (ie. “Waiting for connection.” and stuff about phone checks).
18. Allow the flash tool to do its job, after anywhere between 10 minutes and half an hour the phone will be done resetting. In my experience, the flash tool will always say there was an error after the phone reboots, this is because the phone reboots into Android, but the flash tool has done everything it needs, don't worry!
19. You can now unplug your phone and close LG Flash Tool.
20. Your phone is now on stock LG firmware LS980ZV8!
** - If you're going on to flash CyanogenMod, get through the initial set up, let the phone activate, but don't worry about getting apps or settings, they'll be gone after we flash CM.
Rooting
Required files: IOroot25, USB Drivers
** - I'm going to write this as if you've just reset to stock firmware.
1. Navigate to Settings > About Phone > Software Information
2. Tap on Build Number 7 times, or until there is a pop-up stating that “You are now a developer!”
3. Go back to Settings
4. Go into Developer Settings
5. Enable USB Debugging
6. Plug your phone into your computer.
** - If there is a RSA Fingerprint pop-up, accept it and check Remember this fingerprint
7. Navigate to Ioroot (you may have to extract/unzip the files) and execute root.BAT
8. Follow the on-screen instructions.
** - Note that Ioroot automatically backs up your EFS partition, make sure to keep these files in a safe location, as they can come in handy if something goes wrong.
9. After Ioroot is finished, you can close the program, unplug your phone and disable USB debugging.
10. You're now rooted, you may verify by downloading a Root Checker app from the Google Play Store.
Installing a Custom Recovery
Required Files: None
1. On your phone, navigate to the Google Play Store.
2. Search for FreeGee and install it.
3. Open FreeGee and allow it to download the device list.
4. After the download is finished, you will see a changelog list, close this.
5. Tap on install TWRP (or CWM if you're more comfortable with ClockWork Mod).
** - I recommend TeamWin Recovery Project for newer users because it is more end-user friendly, touch-capable, etc.
6. Wait for FreeGee to do its thing, then you have a custom recovery installed.
7. If you want to, let FreeGee reboot you into Recovery in order to verify.
Installing CyanogenMod 11
Required Files: CyanogenMod 11 ZIP, USB Drivers
** - Get the CyanogenMod 11 ZIP from https://download.cyanogenmod.org/?device=ls980 I recommend using the latest SNAPSHOT – get the NIGHTLY only if there are problems with the SNAPSHOT.
1. Place the CM 11 ZIP on the root directory of your internal storage.
2. Power off your phone (without it plugged in).
3. Turn on your phone holding PWR+VOL-Down until the screen says “Recovery mode”
** - The screen may say something about a factory reset, in this case press the power button 3 times and you'll be brought into recovery.
4. Tap on install
5. Scroll down to the CM 11 ZIP and tap it
6. Follow the instructions and when prompted to wipe the dalvik and cache, select yes.
** - you may have to do an advanced wipe and select everything except for internal storage, but do this only if CyanogenMod doesn't install properly.
7. You now have CyanogenMod 11 on your phone!
**- You will have to install GApps in order to access the Google Play Store and other Google Apps. You can download it using the browser on your phone or by transferring the .zip file to the root of your phone.
**- To install GApps just boot into recovery, select Install, and navigate to the GApps .zip. Swipe to install.
If you have any questions or any issues, just let me know. Not everything is accurate as I don't have access to Windows right now so I'm going based off memory. I plan on reinstalling Windows 8.1 Professional and making a video to go along with this. If at any point throughout this walkthrough you find inaccurate information or something goes wrong, let me know and I'll help out/update the article. Good luck!
Thanks so much for your sharing this. I have downgrade my phone from ZVD to ZV7 and get it rooted and CM11 installed. However, I found CM11 is not stable and my GPS module didn't work now. Could you recommend a everyday-use ROM with tethering capability? Many thanks.
damiloveu said:
Thanks so much for your sharing this. I have downgrade my phone from ZVD to ZV7 and get it rooted and CM11 installed. However, I found CM11 is not stable and my GPS module didn't work now. Could you recommend a everyday-use ROM with tethering capability? Many thanks.
Click to expand...
Click to collapse
I use CyanogenMod 11 as my everyday ROM, never have any issues (besides some personal preferences). To confirm that you have a good stable build, check your build number and info. I will post mine below for you to compare to.
To check your build number navigate to Settings > About Phone
Code:
Model Number.................LG-LS980
CyanogenMod Version..........11-20140804-SNAPSHOT-M9-ls980
Android Version..............4.4.4
Baseband Version.............M8974A-AAAANAZM-1.0.190034
Kernel Version...............3.4.0-CM+
[email protected] #1
.............................Sun Aug 3 22:34:14 PDT 2014
I used this download for my CM: Direct Download from CyanogenMod
official.xian said:
I use CyanogenMod 11 as my everyday ROM, never have any issues (besides some personal preferences). To confirm that you have a good stable build, check your build number and info. I will post mine below for you to compare to.
To check your build number navigate to Settings > About Phone
Code:
Model Number.................LG-LS980
CyanogenMod Version..........11-20140804-SNAPSHOT-M9-ls980
Android Version..............4.4.4
Baseband Version.............M8974A-AAAANAZM-1.0.190034
Kernel Version...............3.4.0-CM+
[email protected] #1
.............................Sun Aug 3 22:34:14 PDT 2014
I used this download for my CM: Direct Download from CyanogenMod
Click to expand...
Click to collapse
I am using the same ROM as yours. I will flash back to Stock ROM and if the GPS still doesn't work, I have to contact LG to get a replace one.
damiloveu said:
I am using the same ROM as yours. I will flash back to Stock ROM and if the GPS still doesn't work, I have to contact LG to get a replace one.
Click to expand...
Click to collapse
Sounds good. I can confirm that my GPS works fine on this ROM so... Good luck. Let me know if you have any questions!
Can U help me with this....
I have LG G2 LS980ZVC Rooted device, and SuperUser is installed.
I want to migrate from stock ROM to CyanogenMod ROM.
But I want the device to work as of the LG G2 D802 (International).
As I will be using it in INDIA (GSM 850/900/1800/1900).
I am very much new to Android and confused to pick the ROM and about the installation procedure.
Seek expert advice about this concern.
Plz suggest... ( attach Hyper link of threads / Videos about the procedure of installation and ROM download link while replying).
Thanks in Advance.......
AJ, I will do some research as to unlocking this phone. I am a bit busy right now but I'll reply by the end of the day.
This phone is already unlocked and works fine with Indian SIM
This phone is already unlocked and works fine with any Indian SIM. I Just want to migrate to CyanogenMod ROM.
official.xian said:
AJ, I will do some research as to unlocking this phone. I am a bit busy right now but I'll reply by the end of the day.
Click to expand...
Click to collapse
I can't find any information regarding unlocking on CyanogenMod specifically, but maybe you could do the same steps at: http://forum.xda-developers.com/showthread.php?t=2655133 after you follow my instructions to install CyanogenMod.
:Confused
This phone is already unlocked and works fine with any Indian SIM.
I am Just confused to pick between these two CyanogenMod ROMs :
1. (ls980 LG G2 (Sprint))
https://download.cyanogenmod.org/?device=ls980
https://download.cyanogenmod.org/get/jenkins/78482/cm-11-20140804-SNAPSHOT-M9-ls980.zip
OR
2. (d802 LG G2 (Intl))
https://download.cyanogenmod.org/?device=d802
https://download.cyanogenmod.org/get/jenkins/78458/cm-11-20140804-SNAPSHOT-M9-d802.zip
And any guidelines to install the CynogenMod ROM, as I am New to this.
Thanks in Advance. .
official.xian said:
I can't find any information regarding unlocking on CyanogenMod specifically, but maybe you could do the same steps at: http://forum.xda-developers.com/showthread.php?t=2655133 after you follow my instructions to install CyanogenMod.
Click to expand...
Click to collapse
Never, I repeat NEVER flash or install ANYTHING that is not specifically for your phone!! This is the fastest way to brick your device, possibly permanently. I understand that you have already unlocked your phone, but you've done so on a stock ROM. What I was saying is follow my instructions to install CyanogenMod (the LS980 version) on your phone, then (re)unlock it following the instructions at the thread I linked to. I'm not sure how to unlock on CM11, but it can be done: LG G2 LS980 GSM UNLOCKED!: http://youtu.be/r8XCpm046-k
damiloveu said:
Thanks so much for your sharing this. I have downgrade my phone from ZVD to ZV7 and get it rooted and CM11 installed. However, I found CM11 is not stable and my GPS module didn't work now. Could you recommend a everyday-use ROM with tethering capability? Many thanks.
Click to expand...
Click to collapse
I did try and after a lot of got it to work CM11, you only need ZV8 modem/radio.
Had problems with the GPS even try a lot of apps none of them got it to work, then change the gps.conf file for the orginal LG conf and worked great. The only ROM that the GPS worked since the start was PA all of the others are based on CM so the file wont work, at least for me.
The gps.conf file its on "etc" folder.
CM really its great but to me Omni and most of all that i try in this days (trying to get a good GPS just to play Ingress) Its PA
Good luck
emi_fer said:
I did try and after a lot of got it to work CM11, you only need ZV8 modem/radio.
Had problems with the GPS even try a lot of apps none of them got it to work, then change the gps.conf file for the orginal LG conf and worked great. The only ROM that the GPS worked since the start was PA all of the others are based on CM so the file wont work, at least for me.
The gps.conf file its on "etc" folder.
CM really its great but to me Omni and most of all that i try in this days (trying to get a good GPS just to play Ingress) Its PA
Good luck
Click to expand...
Click to collapse
I've never had an issue with CyanogenMod. If you wipe before you install and don't do anything funky with it you shouldn't have a problem. Following my instructions CyanogenMod works flawlessly (for me at least).
official.xian said:
I've never had an issue with CyanogenMod. If you wipe before you install and don't do anything funky with it you shouldn't have a problem. Following my instructions CyanogenMod works flawlessly (for me at least).
Click to expand...
Click to collapse
Always Wipe data/Factory reset when change to a different ROM, as i said the only one that worked for me its PA because uses the stock gps.conf thats all
emi_fer said:
Always Wipe data/Factory reset when change to a different ROM, as i said the only one that worked for me its PA because uses the stock gps.conf thats all
Click to expand...
Click to collapse
How long ago did you have problems?
official.xian said:
So I've been helping around the forums with people trying to install CyanogenMod on the Sprint LG G2 (LS-980). I have done this successfully and will outline my steps to do so below. A small caveat – I've only gotten this to work the way I'll outline below. I've tried getting CyanogenMod after the LS980ZVA/C/D OTA and no matter what I do I cannot get it to work. That being said, let's get to it.
*REMEMBER* - Always create Nandroid backups before flashing a ROM or doing anything, really.
Required Materials (some of these files (LS980ZV8_13.TOT) are over 2GB, FYI):
Code:
* LS980ZV8_13.TOT - [URL]http://storagecow.eu/Xda/LG%20G2/Stock/Sprint/LS980ZV8_13.zip[/URL]
* LGLS980_20130904_LGFLASHv151.dll - [URL]http://storagecow.eu/Xda/LG%20G2/Stock/Sprint/LGLS980_20130904_LGFLASHv151.dll[/URL]
* LG Flash Tool - [URL]http://storagecow.eu/Xda/LG%20Software/TOT%20FlashTool/Setup_LGFlashTool_1.8.1.1023.exe[/URL]
* MegaLock.dll - [URL]http://storagecow.eu/Xda/LG%20Software/TOT%20FlashTool/MegaLock.dll[/URL]
* IOroot25 - [URL]http://downloads.codefi.re/autoprime/LG/ioroot/ioroot.zip[/URL]
* LG G2 (Verizon) USB Driver - [URL]http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00520120427[/URL]
Now, back up any files you want to keep from your phone. This process will remove EVERYTHING from your phone INCLUDING Internal Storage! Also install the USB Driver.
Let's get to it (please read all instructions before doing anything):
Resetting to Stock
Required files: LG Flash Tool, MegaLock.DLL, LS980ZV8_13.TOT, USB Drivers.
1. Install LG Flash Tool , but don't launch it yet!
2. Copy MegaLock.DLL to the root of the installation directory of LG Flash Tool.
3. Launch LG Flash Tool.
4. Check “Manual Mode”
5. Browse to the .DLL file you downloaded by clicking the “...” button to the right of the first text box.
6. Browse to the .TOT file (it'll have to be unzipped) by doing the same thing for the 2nd box.
7. Click okay, then click the green arrow at the top right of the window.
8. Wait for one of the boxes to turn green and say “Ready”
9. Turn off your phone.
10. Plug in the phone to your computer while holding the Vol+ key to put your phone in download mode.
11. Open Device Manager on your computer by pressing Win+R and typing “devmgmt.msc” without the quotes, then pressing enter.
12. Scroll down to “Ports” and expand it.
13. There will be an Android entry, right click it and select “Properties”
14. Select the Port Settings tab, and select Advanced.
15. Change the port number to 41.
16. You may have to unplug and reconnect your phone.
17. The box that said ready should now have some messages inside it (ie. “Waiting for connection.” and stuff about phone checks).
18. Allow the flash tool to do its job, after anywhere between 10 minutes and half an hour the phone will be done resetting. In my experience, the flash tool will always say there was an error after the phone reboots, this is because the phone reboots into Android, but the flash tool has done everything it needs, don't worry!
19. You can now unplug your phone and close LG Flash Tool.
20. Your phone is now on stock LG firmware LS980ZV8!
** - If you're going on to flash CyanogenMod, get through the initial set up, let the phone activate, but don't worry about getting apps or settings, they'll be gone after we flash CM.
Rooting
Required files: IOroot25, USB Drivers
** - I'm going to write this as if you've just reset to stock firmware.
1. Navigate to Settings > About Phone > Software Information
2. Tap on Build Number 7 times, or until there is a pop-up stating that “You are now a developer!”
3. Go back to Settings
4. Go into Developer Settings
5. Enable USB Debugging
6. Plug your phone into your computer.
** - If there is a RSA Fingerprint pop-up, accept it and check Remember this fingerprint
7. Navigate to Ioroot (you may have to extract/unzip the files) and execute root.BAT
8. Follow the on-screen instructions.
** - Note that Ioroot automatically backs up your EFS partition, make sure to keep these files in a safe location, as they can come in handy if something goes wrong.
9. After Ioroot is finished, you can close the program, unplug your phone and disable USB debugging.
10. You're now rooted, you may verify by downloading a Root Checker app from the Google Play Store.
Installing a Custom Recovery
Required Files: None
1. On your phone, navigate to the Google Play Store.
2. Search for FreeGee and install it.
3. Open FreeGee and allow it to download the device list.
4. After the download is finished, you will see a changelog list, close this.
5. Tap on install TWRP (or CWM if you're more comfortable with ClockWork Mod).
** - I recommend TeamWin Recovery Project for newer users because it is more end-user friendly, touch-capable, etc.
6. Wait for FreeGee to do its thing, then you have a custom recovery installed.
7. If you want to, let FreeGee reboot you into Recovery in order to verify.
Installing CyanogenMod 11
Required Files: CyanogenMod 11 ZIP, USB Drivers
** - Get the CyanogenMod 11 ZIP from https://download.cyanogenmod.org/?device=ls980 I recommend using the latest SNAPSHOT – get the NIGHTLY only if there are problems with the SNAPSHOT.
1. Place the CM 11 ZIP on the root directory of your internal storage.
2. Power off your phone (without it plugged in).
3. Turn on your phone holding PWR+VOL-Down until the screen says “Recovery mode”
** - The screen may say something about a factory reset, in this case press the power button 3 times and you'll be brought into recovery.
4. Tap on install
5. Scroll down to the CM 11 ZIP and tap it
6. Follow the instructions and when prompted to wipe the dalvik and cache, select yes.
** - you may have to do an advanced wipe and select everything except for internal storage, but do this only if CyanogenMod doesn't install properly.
7. You now have CyanogenMod 11 on your phone!
If you have any questions or any issues, just let me know. Not everything is accurate as I don't have access to Windows right now so I'm going based off memory. I plan on reinstalling Windows 8.1 Professional and making a video to go along with this. If at any point throughout this walkthrough you find inaccurate information or something goes wrong, let me know and I'll help out/update the article. Good luck!
Click to expand...
Click to collapse
I am in the process of resetting everything back to stock. However, I was reading other articles and it mentioned that you must choose the correct files that correspond to either the 16gigs or 32 gigs. In this set of instructions however, it only provides users with one zv8 file for download. I just don't want to mess something up by using the incorrect files. Would appreciate someone's help. Thanks
Robles23 said:
I am in the process of resetting everything back to stock. However, I was reading other articles and it mentioned that you must choose the correct files that correspond to either the 16gigs or 32 gigs. In this set of instructions however, it only provides users with one zv8 file for download. I just don't want to mess something up by using the incorrect files. Would appreciate someone's help. Thanks
Click to expand...
Click to collapse
I have seen what you're talking about elsewhere but I don't believe that this applies in this situation. I have the 32GB LS980, and haven't had an issue, still have all my storage space. From everything that I've gathered from the internet when learning how to do everything a wrote the size doesn't matter. If you're still concerned I can do some more digging, but I don't think you'll have a problem.
official.xian said:
I have seen what you're talking about elsewhere but I don't believe that this applies in this situation. I have the 32GB LS980, and haven't had an issue, still have all my storage space. From everything that I've gathered from the internet when learning how to do everything a wrote the size doesn't matter. If you're still concerned I can do some more digging, but I don't think you'll have a problem.
Click to expand...
Click to collapse
Very much appreciate your answer brother. I also have a 32gb model. No need to do more research. I will try this method ones I get home from work today. Ones again, I appreciate your repay and tutorial.
Robles23 said:
Very much appreciate your answer brother. I also have a 32gb model. No need to do more research. I will try this method ones I get home from work today. Ones again, I appreciate your repay and tutorial.
Click to expand...
Click to collapse
Glad to help. If you feel unsure about anything I'm also working on a video to upload to YouTube as well (after I finish it I'll edit the OP) that goes over the process. Good luck.
official.xian said:
Glad to help. If you feel unsure about anything I'm also working on a video to upload to YouTube as well (after I finish it I'll edit the OP) that goes over the process. Good luck.
Click to expand...
Click to collapse
Hell yeah I will love to watch and follow that tutorial. I will wait for it. Thank you!

How To Guide [Guide] Xiaomi Mi Pad 5 MIUI12/13 ROOT Step-by-step - Pass SafetyNet, Widevine L1

Everything you do, you do at your own risk. I'm not responsible for all damages, this can also lead to loss of warranty.
Hi,
Probably many of you know how to do a Magisk install without TWRP, but this guide is for people who don't know and don't want to mess things up.
I will try to show you step by step how to do it.
Many thanks to:
kdrag0n
topjohnwu
Leave them a nice feedback
!!! Before we start make sure your device is unlocked, if you don't know how to do it below is link to official Xiaomi guide !!!
https://c.mi.com/thread-2262302-1-0.html
Requirement
Xiaomi Mi Flash ver. =>3-14-0 - Needed to install all adb drivers Download
ADB & Fastboot tools - Could be the one built into Mi Flash tool I'll use this to make it simple
Magisk =>24.2 - This software is base of our rooting process Download
SafetyNet Fix => 2.2.1 (Zygisk) - Needed to backdoor SafetyNet fail check, at the moment it is only working method for Mi Pad 5 Download Make sure you download the Zygisk version!
Boot.img - You can download from official MIUI website full flashable rom and separate boot.img file from there, or use my if your Miui version is China 13.0.5, EEA 13.0.3, Global 13.0.1
China 13.0.5​EEA 13.0.3​Global 13.0.1​​​Installation
To make it easier, Green color mean what you need to do on Tablet, Orange on PC
Unzip Mi Flash tool
Open folder and run XiaoMiFlash.exe, if window "Driver" won't pop-up click on the Driver tab and then "Install" button and close all windows.
Connect your tablet to computer, when your tablet ask how you want use USB, choose File Transfer/Android Auto
Copy to internal storage Magisk-v****.apk, safetynet-fix-v****.zip and boot.img
Open File Manager on your tablet find a folder where you copied all files, and install Magisk
Open Magisk app, and click on Install in section Magisk, then select "Select and Path a File", after that find your boot.img file and click on it
Click "LET'S GO" button on the right side and wait until process will be finished
On your computer in the tablet's storage window, go to the file specified in the application probably /Download/magisk_patched-*****
Copy this file to a subfolder of Mi Flash on your computer, exactly to MiFlash2020-3-14-0\Source\ThirdParty\Google\Android and change the name of this file to boot.img
Open PowerShell/Windows Terminal in this folder (Hold Shift + Right click -> Open PowerShell window here)
Make sure your tablet have enabled USB debugging in Developer options Setting -> Additional settings -> Developer options -> USB debugging
Turn off your tablet, then hold down Power and VOL- until the screen lights up, then release power button, if Fastboot appears, everything went fine
Go back to your Terminal window and type to check if your computer see your tablet
Code:
./fastboot.exe devices
If you see answer "******** fastboot" it mean there is communication between PC and Tablet
Next type this command to flash patched boot image
Code:
./fastboot.exe flash boot boot.img
Next type this command to reboot your device
Code:
./fastboot.exe reboot
Restart can take a longer time than normal
Open Magisk app and check status of Magisk, if you see for exaple "Installed 24.2 (24200)" everything went fine
Open Settings in right corner of app and in section App click on Hide the Magisk app then type name for hidden app, it will ask to install new app so do it
Open again Magisk app and open Settings in section Magisk enable Zygisk (Beta) and Enforce DenyList
Click on Configure DenyList than click on three dots in right corner and uncheck Show system apps
Search for all the apps in the list below and check them. It is important to click on their name to see all modules, once you have done this click on the box to activate all of them
Code:
Google
Google Assistant (I have two)
Google Pay
Google Play services
Google Play Store
After that reboot your tablet, and open again Magisk app
On the bottom click on Modules
Click on Install from storage button and find file safetynet-fix-v*******.zip, than click on it
After that reboot your device one more time
After reboot open Android Settings go to Apps and Unhide system services than find and clear all data of Google Play services and Google Play Store
Reboot tablet last time
If you have reached this point it means that everything has gone correctly, probably for about 3 hours you will still not be able to install Netflix and some banking applications but after this time everything will be back to normal, this is because Google's servers have detected that Magisk has been installed but that the application has been changed and Zygisk has been enabled so at the next check it notices that everything is Ok and gives access back.
Quick explaination what happend here:
Magisk has been installed and device is Rooted
The application has been changed and hidden
Zygisk has been activated and hidden from Google services
SafetyNet-fix was installed, which restores the functionality of SafetyNet and Widevine L1, which is blocked after the installation of Magisk and unlocked Bootloader
Hello,
(I use google translate).
Thanks for your method. Before using it, I would like to ask you a few questions.
I have already rooted a few devices (mipad 1, mi phone, htc...) with my macbook and twrp.
The adb files are already installed on my mac.
1) once the pad 5 is rooted, should I, like on my phone, patch the new boot.img file with each update?
2) Could I install the twrp application afterwards to be able to do a complete backup of the system and possibly install a version of lineageos later?
3) Is there a version of miflash unlock tool for mac os x?
4) Should I register or register on the xioami site before unlocking the boot?
Thank you in advance for your method and your answers.
Nux01
Nux01 said:
Hello,
(I use google translate).
Thanks for your method. Before using it, I would like to ask you a few questions.
I have already rooted a few devices (mipad 1, mi phone, htc...) with my macbook and twrp.
The adb files are already installed on my mac.
1) once the pad 5 is rooted, should I, like on my phone, patch the new boot.img file with each update?
2) Could I install the twrp application afterwards to be able to do a complete backup of the system and possibly install a version of lineageos later?
3) Is there a version of miflash unlock tool for mac os x?
4) Should I register or register on the xioami site before unlocking the boot?
Thank you in advance for your method and your answers.
Nux01
Click to expand...
Click to collapse
Hi Nux01,
1. Unfortunately yes, TWRP isn't supported for Pad 5 yet.
2. It won't work, TWRP app is only making a request to TWRP custom recovery, until it doesn't exist you can't even install custom ROM
3. It is, but i didn't test it yet on Pad 5, and I don't know if it will work with new decides because last release is from 20.07.2020.
https://github.com/francescotescari/XiaoMiToolV2/releases
4. Yes, you need Xiaomi account, also your device has to be logged in, and registered to unlock, Xiaomi made complete guide how to do this, link is on the top of this post.
Hello,
Thank you for your quick reply.
The latest version of Mitool does not work. On the other hand, with regard to version 20.7.21, it's OK.
What does it mean: "I do not know if it will work with new decides".
And to unlock the bootloader, I have to use the Xiaomitool V2 application?
Thanks again.
NUX01
Nux01 said:
Hello,
Thank you for your quick reply.
The latest version of Mitool does not work. On the other hand, with regard to version 20.7.21, it's OK.
What does it mean: "I do not know if it will work with new decides".
And to unlock the bootloader, I have to use the Xiaomitool V2 application?
Thanks again.
NUX01
Click to expand...
Click to collapse
I mean it's quite old release so it may not work with current unlock bootloader process on new devices like a Xiaomi 12, Xiaomi Pad 5 etc. I can't promise it won't brick your device, only confirmed method is by official Xiaomi tool.
Thank you
I'll wait a little bit before rooting my tablet.
Have a nice day.
Followed the instruction, worked like a charm. Although I had unknown "chinese sings" errors with the driver install it worked. By the way there is a newer version of the flashing tool.
Thanks for the effort of writing this down!
Hello,
I just managed to unlock the bootloader of my tablet "Pad 5".
I tried under Mac and Linux with Xiaomitool V2 without success (error 20036 and 20045).
I also tried with VirtualBox who did not recognize the tablet.
I succeeded with VMware and Windows 7 by testing different drivers and it worked.
I just root the tablet with Magisk.
On the other hand, is there the equivalent of TWRP to make a complete system backup. Apart from Titanium and MyBackup.
Thanks for your help.
thanks dude.
didn't try this yet, just wondering.
can't i just flash recovery and then flash magisk.apk?
thanks
Can i update ota to 13.0.2 after rooted? Just update and root again?
Cpanel10x said:
Can i update ota to 13.0.2 after rooted? Just update and root again?
Click to expand...
Click to collapse
You can update, but after that you need root again but with boot.img from 13.0.2
How to get the boot.img 13.0.2? I checked the 3GB Firmware and only found vendor_boot.img. Is it the same thing?
Never mind. I got the boot.img from here: https://miuirom.org/tablets/xiaomi-pad-5
Thomas Brown 99 said:
Never mind. I got the boot.img from here: https://miuirom.org/tablets/xiaomi-pad-5
Click to expand...
Click to collapse
boot.img for miui global 13.0.3(RKXINXM) isn't available there. Plz help...
Thanks for this awesome guide. Do you have some suggest about the magisk modules to install?
thanks, it just worked perfectly and your step by step guide is very handy and helpful. thanks so so much.
vjsaini00 said:
boot.img for miui global 13.0.3(RKXINXM) isn't available there. Plz help...
Click to expand...
Click to collapse
Today evening, I'll add more boot.img
kisielec said:
Today evening, I'll add more boot.img
Click to expand...
Click to collapse
eagerly waiting, Thanks
Hey there.
I have done everything above and i MIGHT have some problem. The problem with my problem is that its not really reproducable easily even for me.... Weird, I know!
Lets go into details:
Issue description: When I reboot my tablet it goes into "MIUI Recovery" window, on which I am offered to reboot the device or clean.... And when I reboot it goes back to the recovery screen again. Like a loop-hole.
....
But then if I leave it untouched for several minutes it reboots itself and launches the system properly finally...
When did it start: It first started after I performed this step:
24. Click on Install from storage button and find file safetynet-fix-v*******.zip, than click on it
25. After that reboot your device one more time
Click to expand...
Click to collapse
When I finally landed in the system I of course continued and performed further steps. After another reboot in step 27 the same thing happened but much, much longer.
I thought it somehow self fixed and works - once I am in the system. Right? So I did a reboot to test it. And no... recovery screen again for another 20 or so minutes until finally MIUI loaded fully.
Now I am afraid to turn off / reboot my tablet... I am afraid it might never finish booting next time.
Any ideas whats wrong and how to fix this weird and irregular behaviour?
My details:
Device: Xiaomi Pad 5 6/256gb
Original system was Chinese. I have reinstalled to Global one a version ago.
MIUI version currently running: 13.0.3(RKXMIXM)
Android version: 11 RKQ1.200826.002
Magisk version: 25.1 (25100) (32)
Magisk Modules: Universal SafetyNet Fix v2.2.1 (yes I made sure to download around Zygisk section)
Anything else I shall provide?
cysmaster said:
Hey there.
I have done everything above and i MIGHT have some problem. The problem with my problem is that its not really reproducable easily even for me.... Weird, I know!
Lets go into details:
Issue description: When I reboot my tablet it goes into "MIUI Recovery" window, on which I am offered to reboot the device or clean.... And when I reboot it goes back to the recovery screen again. Like a loop-hole.
....
But then if I leave it untouched for several minutes it reboots itself and launches the system properly finally...
When did it start: It first started after I performed this step:
When I finally landed in the system I of course continued and performed further steps. After another reboot in step 27 the same thing happened but much, much longer.
I thought it somehow self fixed and works - once I am in the system. Right? So I did a reboot to test it. And no... recovery screen again for another 20 or so minutes until finally MIUI loaded fully.
Now I am afraid to turn off / reboot my tablet... I am afraid it might never finish booting next time.
Any ideas whats wrong and how to fix this weird and irregular behaviour?
My details:
Device: Xiaomi Pad 5 6/256gb
Original system was Chinese. I have reinstalled to Global one a version ago.
MIUI version currently running: 13.0.3(RKXMIXM)
Android version: 11 RKQ1.200826.002
Magisk version: 25.1 (25100) (32)
Magisk Modules: Universal SafetyNet Fix v2.2.1 (yes I made sure to download around Zygisk section)
Anything else I shall provide?
Click to expand...
Click to collapse
I also have this module installed without problems, as there is no recovey for Pad5, it is a good idea to install in magisk the module Magisk Bootloop Protector, which serves exactly to prevent what you are afraid that happen with your tablet

Teclast M40 Pro Discoveries

Teclast M40 Pro Discoveries​Various helpful points of knowledge to unlock your bootloader, to root, and use your tablet.
Problem: Where can I obtain the official firmware?
Solution: Teclast Website
Usage: type M1A3 in search
Problem How can I unpack "pac" files?
Solution: Build C utility divinebird / pacextractor
Solution: Download pre built Linux executable pacextractor.zip
Usage: >./pacextractor Firmware.pac
Bash:
git clone https://github.com/divinebird/pacextractor
cd pacextractor
make
Problem: I need tools to flash my device
Solution: Download the latest SPD Upgrade Flash Tool SPD_Upgrade_Tool
Problem: msvcr100.dll missing error in Windows whilst running SPD (Factory/Research/Upgrade) Tools
Solution: Download and install 2010 Visual C++ Distribution
Problem: I want to unlock my bootloader. (Window and Linux kit)
Solution: Download TeclastM40Pro_Unisoc_UnlockTools.zip
Usage: Read readme file.
Problem: How can I remove the dm_verify warning on boot up after unlocking the bootloader?
Untested Solution: digitally sign the vbmeta partition and write it back. See [Tutorial] How to create a custom signed vbmeta.img
Problem: I want to root my device.
Solution: Modify boot.img with Magisk, then sign.
Usage: Upload to your device's download directory, the current boot.img read from your device, or from the same version firmware. Then install Magisk app from here. Use Magisk to patch the boot.img. Sign the partition. Then flash back the signed magisk version of boot.img to "boot_a" partition. Guide to flashing single partition at Hovatek Website
Problem: I need to emergency flash my device?
Solution: Currently only from Windows, use SPD Upgrade Tools to reflash firmware.
Usage: From the tablet powered off, or if boot looping. Hold down the power-button and volume-down for five seconds, release the power-button, and keep the volume-down button still held for another five seconds, then release or release if the detected earlier. Windows and SPD tools should then detect your device to flash.
Problem: I want to improve my Telcast M40 Pro
Solution: List of suggested apps below;
FDroid App Store F-Droid Website
Aurora > via FDroid. App store allowing the direct download from Google Playstore, without your own account.
Lawnchair > via FDroid. Fast open source sophisticated launcher.
AdAway > via FDroid. Removes adverts whilst using apps.
TrackerControl > via FDroid. Manages apps access to internet, and blocks spyware and trackers.
.
Problem: I want root mode without the effort of hacking a rom partition.
Solution: For those with World version Teclast M40 Pro device, here is a signed rooted boot partition I created. Read the readme file inside the zip. You will require an unlocked device, windows setup with USB drivers for Teclast, the complete firmware from Teclast website, and SPD Update Tools installed. If you're successful, then on rooting you will need to install Magisk app to get root active. Magisk will reboot once to finalise.
Download : TeclastM40Pro_ROW__v1p0_signedboot_magiskrooted.zip
Download : TeclastM40Pro_ROW__v1p2_signedboot_magiskrooted.zip
SPD Upgrade Tools is closing while trying to flash stock firmware, both with M40 Pro locked and unlocked bootloader. What should i do?
laurorual said:
SPD Upgrade Tools is closing while trying to flash stock firmware, both with M40 Pro locked and unlocked bootloader. What should i do?
Click to expand...
Click to collapse
Sorry for replying late. I got no indication of the response. To the problem, I can only suggest getting a different version of SPD or m aking sure your computer system is properly updated. I hope you've already solved the issue!
Maybe you're experiencing, "Problem: msvcr100.dll missing error in Windows whilst running SPD (Factory/Research/Upgrade) Tools" See above for solution.
I've noticed a new ROM for world edition, "M40 Pro(M1A3)_Android 11.0_ROW V1.02_20220525", but not getting any system update options for OTA. People flashing their systems may want the latest firmware!
Thanks to your Magisk file I was able to root my tablet, but when updating to the latest version it goes into bootloop, I have tried updating the original firmware image again, but it also goes into bootloop.
Is there any way to install Magisk modules?
Thanks for your post, it helped me a lot to unlock my tablet.
Edit: My version is the M1A1 firmware V1.03_20210804
Edit 2: Finally, when updating my tablet with the root file that is in the post, it did not allow me to install any Magisk module, the solution is to download version 24.3, and update automatically, without changing to a higher version of Magisk
Glad you worked it out Miny !!! Sorry the warning emails for new posts have been going to a gmail account I no longer use.
Also your hardware maybe different and require it's own unique firmware and boot images. It seems the cracking in similar though.
Some questions:
Do I need to unlock my bootloader in order to be able to get root with magisk?
The tools for unlocking the bootloader uses
Code:
fastboot flashing unlock_bootloader
. My version of fastboot (33.0.3p1-android-tools) doesn't have that command. The included one (0.0.0-09219) does, but I wan't to be careful about running softwar from untrusted sources. Where is that version of fastboot from?
Does any of the steps necessary to get root access delete my data?
Hi there.
I have a m40pro (M1A1) running android 11, do you know if I can install firmware Z3A1 to get android 12? Or will be bricked?
Thanks in advance
rubsbcn said:
I have a m40pro (M1A1) running android 11, do you know if I can install firmware Z3A1 to get android 12? Or will be bricked? Thanks in advance
Click to expand...
Click to collapse
To tell you the truth, not sure. Most SoC are impossible or near impossible to brick. They usually allow for an injection or have a read only boot section. Other words you could test. Also research difference in hardware between models, and that may indlicate if something may not work. The kernel/drivers are the improtant aspect.
jorkusjorkus said:
Some questions:
Do I need to unlock my bootloader in order to be able to get root with magisk?
The tools for unlocking the bootloader uses
Code:
fastboot flashing unlock_bootloader
. My version of fastboot (33.0.3p1-android-tools) doesn't have that command. The included one (0.0.0-09219) does, but I wan't to be careful about running softwar from untrusted sources. Where is that version of fastboot from?
Does any of the steps necessary to get root access delete my data?
Click to expand...
Click to collapse
What OS are you using? Google is constantly changing Android Studio and the added modules. Then others may build with options removed. Personally I use Archlinux and load up standalone android-tools from the community repository. Currently v33.0.3-3
Try fastboot --help
Your version may have
Code:
fastboot flashing unlock_critical
minyfriki said:
Thanks to your Magisk file I was able to root my tablet, but when updating to the latest version it goes into bootloop, I have tried updating the original firmware image again, but it also goes into bootloop.
Click to expand...
Click to collapse
What I found works, is when using SPD Research Tool, load up the firmware.pac and then go into settings and click "Select All Files" and again to unselect, which leaves the default required items.
Then manually change BOOT to the Magisk img. Then click on all VBMETA types, and UBOOT_LOADER (may not be required though). Then flash.
You should get bootable tablet (no looping). Warning: UserData partition is written over.
I'll share my Magisk image for v1.2
e8hffff said:
What OS are you using? Google is constantly changing Android Studio and the added modules. Then others may build with options removed. Personally I use Archlinux and load up standalone android-tools from the community repository. Currently v33.0.3-3
Try fastboot --help
Your version may have
Code:
fastboot flashing unlock_critical
Click to expand...
Click to collapse
I'm using the same version as you on the same OS. After some research it seems like unlock_bootloader was removed in this commit from 2018. From what I can tell, unlock_critical does something else (unlock_bootloader runs
Code:
fb_queue_download("unlock_message", data, sz); fb_queue_command("flashing unlock_bootloader", "unlocking bootloader");
while unlock_critical runs
Code:
do_oem_command("flashing", "unlock_critical" and doesn't take the signature argument);
)
I'll see if I can compile the older version with the needed command.
What about my other questions?
Issue: Android not starting. I had the infinite restart when plugged in the usb. I tried to reload the installation package (succeeded), but didn't fixed the issue. Battery was not charging yet. When I started the Teclast M40 pro, the logo showed up, but the tablet turned off again.
Solution: I have disassembled the cover, unplugged the 5 pin plug from the battery for half hour and plugged again. When I tried to turn it on, everything was fine.
dougcwb said:
Solution: I have disassembled the cover, unplugged the 5 pin plug from the battery for half hour and plugged again. When I tried to turn it on, everything was fine.
Click to expand...
Click to collapse
Wow that's weird Doug. Remember this, if you don't already know, that you can do a cold start by holding down the power button for over 10 seconds, on most devices.
I guess you're running now on rooted tablet !!!
e8hffff said:
Wow that's weird Doug. Remember this, if you don't already know, that you can do a cold start by holding down the power button for over 10 seconds, on most devices.
I guess you're running now on rooted tablet !!!
Click to expand...
Click to collapse
I did the installation package process that the Teclast sent me. The last thing they told me to do was keep trying to install the package (wft?). Well, I just open the tablet, unplugged the battery for a while and after that it worked.
Maybe this resolved 2 things:
1-the battery was not properly connected in the first place, so when I plugged the 5 pin to the board it connected as it should.
2- Maybe there is a "memory" in the board attached to the battery that was bricked (or something like that) when I pulled off the plug, this memory was reseted.
BTW, when the tablet came to life again, the battery was at 87%.

Categories

Resources