I understand this is an old phone and probably almost useless as well, but this is a backup phone I happen to have around. Being an entry level phone, there's not a lot of RAM and internal storage, it slows down massively over time. Feeling frustrated, I decided to root the phone so that I can remove unwanted apps and install trimmer.
This is a very brief guide for rooting the TWM Amazing X3s in hope that it would be useful for others as there's very little information about rooting this device, it also serves as a record for myself in case I need to root it again in the future. I've already tried flashing TWRP, but I was never able to boot into TWRP and it appears to be restored back to the stock recovery everytime.
What you'll need:
Stock ROM
Magisk Manager
fastboot (there's plenty of resources online describing how to install/use it)
Android USB driver (there's plenty of resources online describing how to install/use it)
You must unlock the bootloader before applying root, be aware that this process will wipe your phone clean, make sure you have backed up everything first:
In "About phone", repeatedly tap "Build number" until developer options are enabled.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In developer options, enable "OEM unlocking"
Power off the phone
Press and hold volume up + power until you see the bootloader
Move the cursor to fastboot mode with volume up, select it with volume down.
Once you get into the fastboot mode, execute the following:
Code:
fastboot oem unlock
You'll be prompted with this:
Confirm unlocking with volume up
Execute
Code:
fastboot reboot
Root instructions:
Install the Magisk Manager apk
Extract boot.img from the stock ROM you downloaded and copy it to your phone
Open up Magisk Manager, tap install. When prompted with options for installation, select "Patch Boot Image File". Browse to boot.img you copied previously.
Magisk will generate a patched_boot.img file under the same location as boot.img, copy it to your PC.
Boot into fastboot mode again
Execute
Code:
fastboot flash boot patched_boot.img
Execute
Code:
fastboot reboot
Once the system boots up, open up Magisk Manager to check if it's been installed.
Congratulations! Your phone is now rooted!
For those who are lazy, you can skip steps 2~4 and download patched_boot.img instead.
Related
Hi, I'm not fairly new to this forum but I silent read from a long time ago and now I decided to share something I found.
Let's say you're tired with rooting and xposed as some apps refuses to run upon detection of either or both of those, and custom ROMs out there didn't float your boat, you decided to return to the stock. No recoveries, just a plain stock. But you need that SystemUI with netmeter, or you're too lazy to re-log in 6 different Twitter accounts onto the Twitter app you've previously backed up using TitaniumBackup or similar.
Without any words let me start:
What you need:
Obviously an unlocked bootloader since we will flash a recovery, and locked ones can't do so.
Any custom recovery, either CWM or TWRP that's fine. Don't worry about its compatibility with the stock, as it'll be wiped again (if you want)
Flashtool, it already includes fastboot for flashing stuffs, otherwise why is this called Flashtool?
Your current FTF file
OPTIONAL : AromaFM if your mods isn't a flashable zip
For TWRP you can also use its built-in file manager
Steps:
Download and set up Flashtool
After installation there will be some folders like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
Install the drivers located in the Drivers folder, place your current firmware's FTF file to the firmwares folder, and for convenience, place your recovery in the x10flasher_lib folder, and rename it to something short and easy, like rec.img or similar.
Put your mods in the phone's storage/sdcard (and also your aromafm if you choose to use it).
Turn off your phone.
Open up Command Prompt (or console window of your choice, if you're not on Windows), and navigate to the flashtool/x10flasher_lib folder.
Run this on your console:
Code:
fastboot flash boot rec.img
change rec.img to your recovery's filename.
Plug in your phone with a USB cable while holding volume + button.
When done, plug it out and boot to your recovery by powering it on and pressing volume - button when the illumination bar lights up (depends on your recovery).
Apply your mods (flash mods, replace system files, remove bloatware etc.).
You may skip steps below if you change your mind to having a (compatible) custom recovery
When done turn off your phone again.
Open up your Flashtool, if asked for admin rights just say yes.
Click the bolt icon above the window, leave the Flashmode selected, and click OK
find your firmware, select it but don't flash it yet. Uncheck/check these options, you don't want to wipe your data, right?
Click to expand...
Click to collapse
Now press the flash button, located on the bottom-right of the window. When a window pops out (instructions to connect your phone while holding the back button), connect your phone with the Volume - pressed.
Wait the flash to finish, and unplug your phone.
Now you have your mods back and your app datas restored 'without root'~!
NOTE: I've done this on my Xperia E, for other phones I can't yet verify if this method works, so if anyone is interested to try this out go ahead and don't forget to report it back to me whether it's worked or not~
The Fastboot mode of M631Y is locked by the phone manufacturer. Flashing a leaked old version of phone firmware will enable your phone to enter Fastboot mode. After entered Fastboot mode, boot to TWRP and you will able to install it for replacing the phone stock recovery.
Warning: You will void your phone warranty when you start the process. Your phone maybe bricked during the process. I do not take any responsibility for any damage.
Before you start, backup all your data. Your data will be erased during the process.
Step
1. Enter Download Mode
Shutdown your phone first.
Method 1
Press Vol. Up + Vol. Down and plug the USB cable to enter Download Mode.
Method 2
Press Vol. Up + Power button at the same time. After the display is on, release the Power button. Click this button circled to enter Download Mode.
Method 3 (For bricked phone)
If you are unable to enter the Download Mode of your phone with the above method. You can try to short points on the main board to enter Download Mode.
Remove the back cover and the battery.
Remove the screws
Remove the cover
Install the battery
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Short the points point here and plug the USB cable.
I use a touch screen stylus pen to short those points.
Your phone should be turned on and in Download Mode.
I don’t what is the function of those points. I think the EDL pin/ test points maybe are located at there. Therefore, the phone will enter EDL mode when the phone is booted with the shorted pins.2. Flashing the old version firmware(M631Y_02.10.00RDD_HK.00) with QFIL
3. Enter Fastboot Mode and boot to TWRP
Code:
fastboot boot TWRP-3.2.3-TwrpBuilder-m631y-2018-09-06_09-50.img
4. Install TWRP
If you don’t mind using a development version of ROM, then finish. If you mind, continue to install a newer version of ROM.
The version to install here is CMA1S 02.23 HK. The latest version for CMA1s HK edition should be 02.25. I tried install 02.25 and 02.24, but it seems that both cannot work with the older version of Boot and ABoot.
Install update.zip using TWRP
Install downgradeto210All.zip. This will downgrade the firmware and Boot back to version 02.10
Install upgradeto223modem.zip to upgrade the Modem back to 02.23.
Install TWRP again
Below are the suggestions for deleting the useless/infected system app preloaded. Please mount the system partition with write permission in TWRP. Delete the folder mentioned.
Infected stock camera
/system/vendor/app/QuanNengCamera
CMHK apps
/system/vendor/operator/app
CmccAnalyser
/system/priv-app/CmccAnalyzer
Cmccsaletracker
/system/app/Cmccsaletracker
Files
TWRP
github.com/TwrpBuilder/android_device_yes_m631y/releases/tag/TWRP-3.2.3-TwrpBuilder-2018-09-06_09-50
Rom
mega.nz/#F!GypEhazR!2E3fuW4KdxYoE4S53oDUOg
Android SDK Platform Tools
developer.android.com/studio/releases/platform-tools
Credits
TWRP Builder team for building the TWRP for this phone
The person uploaded the old development version phone firmware on web
My phone battery went off I plugged the charger and it boots me to twrp even though I didn't wish to open it when I press to boot me to system I still end up in twrp window... I also get this noffication
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Au123456 said:
My phone battery went off I plugged the charger and it boots me to twrp even though I didn't wish to open it when I press to boot me to system I still end up in twrp window... I also get this noffication View attachment 5479285
Click to expand...
Click to collapse
Do you want to be able to modify your system partition(including rooting the device) at some point in the future? If so, check the box beside the "never show this screen during boot again" then just swipe the slider at the bottom to allow modifications in the future.
Or
If you do not plan to modify your system partition in any kind of way, tap the "keep read only" button.
This happened to me multiple times, for me it was an error with flashing Treble GSI from google, tho i fixed it by going in fastboot mode/bootloader and on my PC to flash boot, lk, lk2, recovery (official one) and then reboot my phone, but you will delete the TWRP Recovery just so you know.
_________________________________________________________________________________________________________________________
NOTE: I don't know if this will work for you and might brick your device if you don't use correct ROM files...
_________________________________________________________________________________________________________________________
Also if it then boots into Fastboot mode than you can try flashing all files (It will factory reset your phone)
You have to install adb and fastboot on your PC
Commands:
cd *the path to adb and fastboot*
fastboot devices
fastboot flash *what you wanna flash* *filename of the file that you wanna flash*
For Example if you wanna flash boot it will be like ( fastboot flash boot boot.img ) if the filename is with .bin wich most new devices use it will be fastboot flash boot boot.bin
Hope that this helps
SAFTY INFORMATION: Whatever you do, its on your own responsibility. Your warranty might be void and there is the risk of bricking your device!
So this is what I did:
Tools
Magisk-v25.2.apk
Latest M3X Firmware
ADB Tools
EDL.py
Click to expand...
Click to collapse
Extract the boot.img from M3X Firmware V1.62- Do not open, just copy.zip
Copy the Magisk-v25.2.apk and boot.img to your Shanling M3X
Install the Magisk-v25.2.apk
In Magisk press "Install" in the upper right corner
Spoiler
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
On "Method" select "Select and Patch a File" and choose your boot.img then press "Let's Go"
Spoiler
When Magisk is done, you can close the App and transfer the patched boot.img to your PC.
On your M3X, activate Developer Mode. Settings > About device > Tap multiple times on the Build number
In Developer Options, activate USB debugging
On your PC extract the platform-tools.zip and install EDL.py
Plug the M3X into your computer with a good USB cable. You may be promted to allow USB debugging on the M3X - check "Always allow from this computer" and OK
Open a Command/Terminal window and navigate to your platform-tools folder
Use following command
Code:
adb reboot edl
the display of your M3X will now turn black
In the Command/Terminal window navigate to your EDL.py installation
From now on you could brick your device, please advance only if you know what you are doing!
I would highly recommend to do a backup of everything with the commands mentioned on the EDL Github site
14. Use following command to dump your stock boot.img
Code:
edl r boot boot.img
the stock boot.img will appear in your EDL folder, move to a safe space.
15. Now copy your Magisk patched boot.img into the EDL folder and run following command:
Code:
edl w boot boot.img
16. When EDL is done, you can disconnect your M3X. You might need to hold the powerbutton for 20-30 seconds until it leaves edl mode and starts booting.
17. Congratulations! You rooted your M3X
Further information: There seems to be a undocumented method using the tool "QFIL" but I dont know anything about it. Might ne worth a try.
Have fun
Thanks for this tutorial. Can you drop some screen shots and an overview of what you're able to change now that you're rooted.
I've been thinking of getting a HiBy R6. But it being on Android 9 is annoying. My guess is if I can get it rooted, that it's possible to update to a newer version of Android.
Hi, I’m trying to root my M3 Ultra with this method but I’m facing a problem.
On windows when trying to enter « edl r boot boot.img » it says me that « r » is not a command…
Any help would be really appreciated please
Thanks in advance for replying
Hello again everyone. This is a quick guide on how to change Regional firmware on our Nord2T device (ie going from CPH2399 to CPH2401)
I cannot be responsible if you brick your device. Your phone, your choices, your responsibility!
Before we get started I would recommend unlocking the bootloader (unsure if this is a necessity but my device was unlocked at the time of trying so I would recommend users do the same)
1 - Unlock the bootloader (if you haven't done it already...beware that this will erase all of your user data). To do so, you must:
Enable developer options
Enable the "OEM unlocking" option
Enable USB debugging
Have both adb and fastboot, from SDK Platform Tools available on your PC
Connect your phone to your PC using the USB cable and run the following commands:
Code:
adb devices
(just to make sure that your phone is, in fact, recognized by your PC and that you're able to run adb commands)
Code:
adb reboot bootloader
(so your phone will reboot into fastboot mode)
Code:
fastboot flashing unlock
(device should now unlock)
Code:
fastboot reboot
(device reboots with an unlocked bootloader and data partition wiped)
2 - Download and Install Fastboot Enhance from HERE
3 - Download the IND rollback package from HERE
4 - Extract the rollback package zip to your PC (the only file you need once it is unzipped is payload.bin)
5 - Connect your device back to PC and reboot to fastboot yet again.
Code:
adb reboot fastboot
6 - Once in fastbootd open Fastboot Enhance on PC and you should see your device in the "Fastboot Visualization" tab.
Make sure to click on "Ignore unknown partitions" on the bottom of the screen. Then click on the "partitions" option and under partitions and delete every file that ends with "cow" refer to screenshot, just select and delete.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
7. Click on "Flash payload.bin" and browse for the payload.bin you extracted earlier.
8. Once flashed you can reboot (recommended to either factory reset from settings after the device restarts or wipe data in fastboot for a smoother experience.
This is only tested on a Global device using firmware version CPH2399_11_A.17 and flashing IND CPH2401_11_A.17 ROLLBACK PACKAGE!!
Subsequent updates will now be on the IND branch for your device also.
Hope this helps someone out!
If anyone has any questions/input/recommendations please feel free to discuss below and any issues we will help to resolve them.
Have a good day peeps