Elephone M3 - UNLOCK Bootloader, ROOT and TWRP (without SP FlashTool) Windows/ Linux. - Android Q&A, Help & Troubleshooting

Elephone M3 quickest way to UNLOCK Bootloader, ROOT and TWRP (no SP FlashTool) Windows/ Linux.
This is only provided as a guide and/ or an alternative, in case some people find the process of flashing with SP FlashTool for the Elephone M3 complicated (either installing the correct drivers, or correctly using the tool without accidentally wiping Vram, or anything else important).
Click to expand...
Click to collapse
Windows:
Things you will need:
1. adb and fastboot
2. usb driver for Elephone M3
3. a copy of a correct version of TWRP for the device, copied in the adb and fastboot folder. Rename your TWRP.img file to recovery.img
4. latest flashable supersu.zip (V2.82 and above) and the recovery.img on external SD card.
Process:
1. Install the above.
2. Boot your phone normally, and enable developer options.
3. From developer options enable OEM unlocking and USB debugging. Connect the device to computer and enable MTP transfer.
4. On your phone's screen you should see a message with a "key" or "fingerprint", accept the connection.
5. Navigate to the folder you have installed adb and fast boot and copied pre-mentioned file.
6. Open a command prompt navigate to the adb folder (not powershell prompt if you are on windows 10 1703) and type: adb devices
If all is well you should get a number on the left and "device" next to it.
7. type "adb reboot to bootloader". You are now in fastboot.
8. type "fastboot oem unlock". Carefully look the really small letters on the elephone' s screen and confirm. Reboot the device. Really important as after unlocking the bootloader, a factory reset is triggered.
9. Once the factory reset is done, once again enable developer otions and usb debugging.
10. Open a command prompt again and once again get into fastboot mode (as previously described).
11. Type "fastboot boot recovery.img". You should now see TWRP.
12. From TWRP select install and install supersu. Wipe dalvik/cache and reboot.
13. Once boot-up completes and you make sure you have root access (you should), for the last time reboot to bootlader.
14. Again "fastboot boot recovery.img". From TWRP select install, install image, select recovery.img from your extenral SD and flash it to recovery.
If all went well, you should by now have unlocked the bootloader, have your device rooted, and also have a functional TWRP recovery! :fingers-crossed::fingers-crossed:
Linux:
Things you will need:
1. abd and fastboot (sudo apt-get install android-tools-adb android-tools-fastboot) ---> or similar for your version of the system.
2. a copy of a correct version of TWRP for the device. Rename your TWRP.img file to recovery.img
3. latest flashable supersu.zip (V2.82 and above) and the recovery.img on external SD card.
Process:
1. Boot your phone normally, and enable developer options.
2. From developer options enable OEM unlocking and USB debugging. Connect the device to computer and enable MTP trasfer.
3. On your phone's screen you should see a message with a "key" or "fingerprint", accept the connection.
4. Navigate to the folder you where you keep the TWRP recovery.img and open a terminal.
5. type "adb devices". If your device is recognized you should see a number and "device" next to it.
6. type "adb reboot to bootloader". You are now in fastboot.
7. type "sudo fastboot oem unlock". Carefully look the really small letters on the elephone's screen and confirm. Reboot the device. Really important as after unlocking the bootloader, a factory reset is triggered.
8. Once the factory reset is done, once again enable developer otions and usb debugging.
9. Open a terminal and once again get into fastboot mode (as previously described).
10. Type "sudo fastboot boot recovery.img". You should now see TWRP.
11. From TWRP select install and install supersu. Wipe dalvik/cache and reboot.
12. Once boot-up completes and you make sure you have root access (you should), for the last time reboot to bootlader.
13. Again "sudo fastboot boot recovery.img". From TWRP select install, install image, select recovery.img from your external SD and flash it to recovery.
If all went well, you should by now have unlocked the bootloader, have your device rooted, and also have a functional TWRP recovery! :fingers-crossed::fingers-crossed:
I am not able to provide links for files or files at the moment, please look for them yourselves, it should not be hard!
If you found the thread useful, I would appreciate it if you hit the "thanks button". :good::good:
Also, do post back if you need further clarification or assistance or if you have any suggestions for improving the guide.

Related

[Q] HELP!!! sony xperia s clockworkmod + CyanogenMod 9,1

Hello
I have a Sony Xperia S LT26i
I used this manual to root my Sony:
Copy the CyanogenMod 9.1 package and the GApps package into your phone’s internal SD card.
Extract fastboot-win32.zip into the C:\ drive (root directory) of your computer.
Copy recovery-nozomi.img into the same folder where fastboot.exe has been extracted.
Open the CyanogenMod 9.1 ZIP file and extract the boot.img file into the same location as fastboot.exe.
Turn off your phone.
Reboot the phone into Fastboot Mode by holding down the Volume Up key as you connect the phone to your PC via USB cable.
On your computer, open a command prompt window as Administrator (i.e., click Start > All Programs > Accessories and right-click on Command Prompt, then select Run as Administrator from the context menu).
At the command prompt, enter the following command to change into the directory where the Fastboot files were extracted to:
cd c:\Fastboot
Check whether Fastboot is able to communicate with your phone by entering the command below. If you see your phone’s serial number, proceed to the next step. Otherwise, check whether your phone’s drivers are properly installed on your PC.
fastboot devices
Flash ClockworkMod Recovery to your phone by entering the following command:
fastboot flash boot recovery-nozomi.img
If successful, you see a “finished/OKAY” message on the command prompt. If not, try this command:
fastboot -i 0x0fce flash boot recovery-nozomi.img
Reboot your phone into Recovery Mode by entering the following at the command prompt:
fastboot reboot
Your phone ought to boot into Recovery Mode. While in Recovery Mode, use the Volume keys for scrolling and the Camera button for selecting.
On the recovery menu, select Install ZIP from SD card > Choose ZIP from SD card and select the CyanogenMod 9.1 package file. Confirm that you want to install the package.
Install the GApps package in the same manner as in step 13.
Return to the main recovery menu.
Select Wipe data/factory reset and confirm the action on the next screen.
Select Wipe cache partition and confirm the action on the next screen.
Select Advanced > Wipe Dalvik cache and confirm the action on the next screen.
Power off your phone.
Reboot the phone back to Fastboot Mode as in step 6.
On the command prompt on your computer, enter this command to flash the kernel to your phone:
fastboot flash boot boot.img
You will see “finished/OKAY” on the command prompt once the kernel is successfully flashed.
Reboot your phone into Normal Mode by enter the command fastboot reboot at the command prompt.
The first time your phone boots into the new ROM, startup can take around 5 to 7 minutes.
I forgot to do step one i cannot copy the
CyanogenMod 9.1 package and the GApps package into my phone’s internal SD card what should i do, thanks in advance just got stuck at cwm :crying:
I'm now by number 14 and i don't can select a Install Zip
Android Debug Bridge is not working because Clockworkmod is installed.
Fastboot works.
What should I do now?
PLEASE HELP ME
miche12 said:
Hello
I have a Sony Xperia S LT26i
I used this manual to root my Sony:
Copy the CyanogenMod 9.1 package and the GApps package into your phone’s internal SD card.
Extract fastboot-win32.zip into the C:\ drive (root directory) of your computer.
Copy recovery-nozomi.img into the same folder where fastboot.exe has been extracted.
Open the CyanogenMod 9.1 ZIP file and extract the boot.img file into the same location as fastboot.exe.
Turn off your phone.
Reboot the phone into Fastboot Mode by holding down the Volume Up key as you connect the phone to your PC via USB cable.
On your computer, open a command prompt window as Administrator (i.e., click Start > All Programs > Accessories and right-click on Command Prompt, then select Run as Administrator from the context menu).
At the command prompt, enter the following command to change into the directory where the Fastboot files were extracted to:
cd c:\Fastboot
Check whether Fastboot is able to communicate with your phone by entering the command below. If you see your phone’s serial number, proceed to the next step. Otherwise, check whether your phone’s drivers are properly installed on your PC.
fastboot devices
Flash ClockworkMod Recovery to your phone by entering the following command:
fastboot flash boot recovery-nozomi.img
If successful, you see a “finished/OKAY” message on the command prompt. If not, try this command:
fastboot -i 0x0fce flash boot recovery-nozomi.img
Reboot your phone into Recovery Mode by entering the following at the command prompt:
fastboot reboot
Your phone ought to boot into Recovery Mode. While in Recovery Mode, use the Volume keys for scrolling and the Camera button for selecting.
On the recovery menu, select Install ZIP from SD card > Choose ZIP from SD card and select the CyanogenMod 9.1 package file. Confirm that you want to install the package.
Install the GApps package in the same manner as in step 13.
Return to the main recovery menu.
Select Wipe data/factory reset and confirm the action on the next screen.
Select Wipe cache partition and confirm the action on the next screen.
Select Advanced > Wipe Dalvik cache and confirm the action on the next screen.
Power off your phone.
Reboot the phone back to Fastboot Mode as in step 6.
On the command prompt on your computer, enter this command to flash the kernel to your phone:
fastboot flash boot boot.img
You will see “finished/OKAY” on the command prompt once the kernel is successfully flashed.
Reboot your phone into Normal Mode by enter the command fastboot reboot at the command prompt.
The first time your phone boots into the new ROM, startup can take around 5 to 7 minutes.
I forgot to do step one i cannot copy the
CyanogenMod 9.1 package and the GApps package into my phone’s internal SD card what should i do, thanks in advance just got stuck at cwm :crying:
I'm now by number 14 and i don't can select a Install Zip
Android Debug Bridge is not working because Clockworkmod is installed.
Fastboot works.
What should I do now?
PLEASE HELP ME
Click to expand...
Click to collapse
Stock Room
Transfer via bootloader
miche12 said:
Hello
I have a Sony Xperia S LT26i
I used this manual to root my Sony:
Copy the CyanogenMod 9.1 package and the GApps package into your phone’s internal SD card.
Extract fastboot-win32.zip into the C:\ drive (root directory) of your computer.
Copy recovery-nozomi.img into the same folder where fastboot.exe has been extracted.
Open the CyanogenMod 9.1 ZIP file and extract the boot.img file into the same location as fastboot.exe.
Turn off your phone.
Reboot the phone into Fastboot Mode by holding down the Volume Up key as you connect the phone to your PC via USB cable.
On your computer, open a command prompt window as Administrator (i.e., click Start > All Programs > Accessories and right-click on Command Prompt, then select Run as Administrator from the context menu).
At the command prompt, enter the following command to change into the directory where the Fastboot files were extracted to:
cd c:\Fastboot
Check whether Fastboot is able to communicate with your phone by entering the command below. If you see your phone’s serial number, proceed to the next step. Otherwise, check whether your phone’s drivers are properly installed on your PC.
fastboot devices
Flash ClockworkMod Recovery to your phone by entering the following command:
fastboot flash boot recovery-nozomi.img
If successful, you see a “finished/OKAY” message on the command prompt. If not, try this command:
fastboot -i 0x0fce flash boot recovery-nozomi.img
Reboot your phone into Recovery Mode by entering the following at the command prompt:
fastboot reboot
Your phone ought to boot into Recovery Mode. While in Recovery Mode, use the Volume keys for scrolling and the Camera button for selecting.
On the recovery menu, select Install ZIP from SD card > Choose ZIP from SD card and select the CyanogenMod 9.1 package file. Confirm that you want to install the package.
Install the GApps package in the same manner as in step 13.
Return to the main recovery menu.
Select Wipe data/factory reset and confirm the action on the next screen.
Select Wipe cache partition and confirm the action on the next screen.
Select Advanced > Wipe Dalvik cache and confirm the action on the next screen.
Power off your phone.
Reboot the phone back to Fastboot Mode as in step 6.
On the command prompt on your computer, enter this command to flash the kernel to your phone:
fastboot flash boot boot.img
You will see “finished/OKAY” on the command prompt once the kernel is successfully flashed.
Reboot your phone into Normal Mode by enter the command fastboot reboot at the command prompt.
The first time your phone boots into the new ROM, startup can take around 5 to 7 minutes.
I forgot to do step one i cannot copy the
CyanogenMod 9.1 package and the GApps package into my phone’s internal SD card what should i do, thanks in advance just got stuck at cwm :crying:
I'm now by number 14 and i don't can select a Install Zip
Android Debug Bridge is not working because Clockworkmod is installed.
Fastboot works.
What should I do now?
PLEASE HELP ME
Click to expand...
Click to collapse
Access bootloader, connect your phone to pc, select an option that enables pc to recognize your device(differs with different devices and all other pc tools must be installed to the pc), copy the files to your phone adn flash 'em thru recovery tool. Evrything shud work fine then.

[Guide] How to Unroot the HTC Desire V.......

I. Before You Begin:
1. You should have rooted your device using the procedure given here.
2. This should work on Windows based PCs only.
II. Downloading Required Files:
1. Boot & Recovery (Download the appropriate file for your device)
2. Stock ROM (Download the appropriate ROM for your device)
3. Fastboot
III. Unrooting the HTC Desire V:
1. Download and place all three files on your Desktop.
2. Extract files from Boot & Recovery as well as Fastboot archives over to your Desktop.
3. Turn ON the USB debugging option on your device by heading to Menu>>Settings>>Developer options>>USB debugging.
4. Plug in your device to your PC via USB cable.
5. Open a Command Prompt Window on your Desktop. To do that, simply hold down the Shift button and right-click on any blank area on your screen and select Open command window here.
6. Type in following command into the Command Prompt Window:
adb reboot-bootloader
7. Once in bootloader mode, issue the following command:
fastboot flash boot boot.img
8. Once the boot.img has been flashed, reboot your device by typing in following command:
fastboot reboot
9. Once your boots-up, issue the following command:
adb reboot recovery
10. You should reboot into the recovery mode.
11. From the Recovery menu, select Wipe dalvik cache and wipe data/factory reset.
12. Head to Mount menu and select format internal_sdcard and format system.
13. Reboot your device.
14. Copy the ROM zip file over to the root of your device.
15. Reboot your device into the recovery mode by issuing the following command:
adb reboot recovery
16. Once in Recovery, select install zip from sdcard followed by choose zip from sdcard.
17. Choose the ROM zip to be flashed on your device and it’ll start flashing it.
18. Reboot your device once the ROM has been flashed.
19. Now issue the following command to reboot your device into bootloader:
adb reboot-bootloader
20. Type in following command to flash the stock recovery:
fastboot flash recovery recovery.img
21. Once the recovery’s been flashed, relock your bootloader with the following command:
fastboot oem lock
22. And you’re all done!

Can't access recovery after 7.0

Hey there!
so, I just upgraded my z5c from MM CyanogenMod to this nougat ROM > [ROM][7.0][Stock][.33][3.7 b7][Deodex][DeBloat][Font][Stereo][Vulkan™] Xperia Loop™
Before the update I could enter TWRP without any problems.
Now, everytime I try to boot into recovery the phone simply reboots...
Things I've tried:
• Typed "adb reboot recovery" on CM
• Downloaded TWRP App to re-flash and click on "recovery reboot"
• Power up phone holding Volume Down
The phone is rooted with SuperSU.
The main reason I wanted to regain access to recovery is to re-root the phone with Magisk.
Thanks for your time.
1. install fastboot and fastboot drivers on your pc (if you don't have them obviously)
2. plug the phone into the pc using the usb cable while holding the volume + button (this way you will skip the adb part)
3. wait for the notification light to go blue
4. go into the fastboot directory
5. download the twrp "recovery.img" file and put it into the fastboot directory
6. hold shift while right-clicking into the directory where fastboot is
7. use the option to open a cmd into the directory
8. type in "fastboot boot recovery.img"
if your phone's fastboot drivers don't have signature (like it happened to me) download Zadig and create a signature for the driver
Hope this helps... i had the same problem and solved by doing this

XT1521 stuck in bootloop after flashing TWRP

hi Guys,
3days ago, I decided to unlock my boot loader and root my phone via following the steps from www*youtube*com/watch?v=R4c0fO8Kr_Q[/url]
when i tried to flash TWRP - i was stuck in the boot loader warning screen. i am still able to got recovery but it is not being detected can you help me with this?
Normal TWRP has known problems...
You can try flashing Squid TWRP (https://forum.xda-developers.com/mo...wrp-squid-twrp-recovery-moto-e-lte-t3137649): is a unbloated and optimized twrp for our device.
This situation has appened to me and i resolved by installing that TWRP.
dxp420 said:
Normal TWRP has known problems...
You can try flashing Squid TWRP (https://forum.xda-developers.com/mo...wrp-squid-twrp-recovery-moto-e-lte-t3137649): is a unbloated and optimized twrp for our device.
This situation has appened to me and i resolved by installing that TWRP.
Click to expand...
Click to collapse
do you have the steps?
resume666 said:
do you have the steps?
Click to expand...
Click to collapse
From the video you posted before i assuming you have already installed motorola driver and fastboot or mfastboot.
Here are the steps:
0- Download SQUID TWRP and place it in e.g. C:\ (last version is twrp-surnia-3.2.1-r1.img);
1- Shut down your phone;
2- Press Power Button + Vol Up until you see bootloader screen;
3- Now connect your phone to PC;
4- On PC, open a commad window pront (Start -> "cmd" on research bar, then enter);
5- Cmd prompt;
6- Type "fastboot devices". It should show a serial number: PC has recognized your device;
8- Then type "fastboot flash recovery C:\twrp-surnia-3.2.1-r1.img" last parameter is the path where you placed recovery so change it if you have choosen another path;
9- Wait for 3-4 seconds until the prompt shows something similar to "complete" or "success";
10- Type "fastboot poweroff" and your device shuts down.
Now you have installed Twrp Recovery, if you want access it, repeat steps 1-2 and select recovery from bootloader menu.
If you want install a custom rom i suggest SlimRoms : follow the instructions to download and install this rom.
dxp420 said:
From the video you posted before i assuming you have already installed motorola driver and fastboot or mfastboot.
Here are the steps:
0- Download SQUID TWRP and place it in e.g. C:\ (last version is twrp-surnia-3.2.1-r1.img);
1- Shut down your phone;
2- Press Power Button + Vol Up until you see bootloader screen;
3- Now connect your phone to PC;
4- On PC, open a commad window pront (Start -> "cmd" on research bar, then enter);
5- Cmd prompt;
6- Type "fastboot devices". It should show a serial number: PC has recognized your device;
8- Then type "fastboot flash recovery C:\twrp-surnia-3.2.1-r1.img" last parameter is the path where you placed recovery so change it if you have choosen another path;
9- Wait for 3-4 seconds until the prompt shows something similar to "complete" or "success";
10- Type "fastboot poweroff" and your device shuts down.
Now you have installed Twrp Recovery, if you want access it, repeat steps 1-2 and select recovery from bootloader menu.
If you want install a custom rom i suggest SlimRoms : follow the instructions to download and install this rom.
Click to expand...
Click to collapse
it did not worked i think i hard bricked it
No it not hard bricked.you just need to flash the stock rom.and then it start working.

UMIDIGI A13 Pro 5G (NOT max) - Android 12

All info current as of 05/07/2023​​All steps were tested on Kubuntu 23.04. Make sure you follow the steps below, in order. Don't skip steps or ignore errors.
On windows, you may've to execute the command from the adb folder and prefix the commands with ./
Rooting your stock ROM:
01. Save boot.img from stock ROM files in your download folder on your phone, if you plan to patch boot.img yourself. Alternatively, you can use the attached already patched boot.img (magisk 26.1).
02. Save the patched boot.img on your computer
03. Boot into stock ROM. Don't bother setting up the phone now. You will get to do it after rooting.
04. Go to settings/About phone. At the bottom, tap on "build number" until developer options are enabled.
05. Connect the phone to your ADB installed computer. Ensure that your computer has the latest version of drivers and the latest version of adb.
06. On your phone, go to settings/system/advanced/developer options. Enable "OEM Unlocking" and "USB debugging". Authorize device when the prompt shows up on your phone.
07. Execute the below commands from the adb folder using the command prompt.
08. adb reboot bootloader. Wait for phone to reboot to fastboot.
09. fastboot flashing unlock. Read disclaimer and press vol+ to confirm that you want the bootloader unlocked.
10. fastboot flash boot_a magisk_patched_A13_26.img. Update file name and include relative path of the file location, as required
11. fastboot reboot
12. You are now rooted. Install Magisk apk and setup the phone and apps.
Sadly, I had to return the phone because there has not been a security update since June 2022. That's more risk than I'm willing to take. There will not be further updates from me on this thread. Hopefully, someone will continue with GSI installs and other work.

Categories

Resources