Change from Philz CWM to TWRP? - Moto G Q&A, Help & Troubleshooting

I flashed Philz recovery and I want to change back to TWRP 3.1, but Philz will only recognize zip files and not img files. How do I get a zip version of TWRP or how do I flash the img file? I also cannot get Philz to mount to my PC, and a lot of things are crashing on my current rom so I can't install any apps.

Download adb and fastboot. and also mfastboot, extract everything to single folder
download twrp .img from https://dl.twrp.me/falcon/ and copy .img to adb folder
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:
adb reboot bootloader
You should now be in fastboot mode.
Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:
mfastboot flash recovery twrp.img (you may get partition mismatch error but neglect it and reboot to recovery)
and reboot to recovery thats all
More info https://twrp.me/motorola/motorolamotog2013.html

You can follow my tutorial here : https://forum.xda-developers.com/moto-g/help/guide-tutorial-motorola-moto-g-4g-to-t3516234
Enjoy

Related

[cwm] micromax a35 bolt and flashing guide

hii friends some of members or newbies dont know anythig about cwm so let me explain all these things and flashing and booting in cwm
two methods can be used to flash cwm !
first is by using application
second is by using fastboot mode.
flash cwm via apps
there are mainly two apps are used to flash cwm
mobile uncle tool : https://play.google.com/store/apps/details?id=com.mobileuncle.toolbox&hl=en
recovery manager(rom manager may be) :
https://play.google.com/store/apps/details?id=com.koushikdutta.rommanager&hl=en
how to flash :
choose flash cwm from sd card (recovery.img should be placed in sdcard root) and then flash. u need to be smart because app interface changes according to updates.
cwm links :
http://www.mediafire.com/download/2hzwnft4ya0rpta/boot_6.02.7.img
http://www.mediafire.com/download/k9ctsu1ouu4rx91/recovery_akashujjainkar.img
using fastboot mode.
adb folder : http://www.mediafire.com/download/0imf9xv2uicwkbh/Android.zip
Procedure:
rename downloaded recovery to recovery.img--
Copy the downloaded recovery.img to your ADB folder--Turn off your phone-- Boot into fastboot mode by pressing power button and volume down keys together for sometime.
After sometime it shows fastboot mode in red colour.
connect your phone to PC using USB cable
If you are in WinXP, open command prompt and browse to your ADB folder using cd commands.If you are in Windows7, right click in the ADB folder and click to open command prompt there.--
Type this in the command prompt :
Code:
fastboot devices
This should display your device name in fastboot mode, if nothing is shown, then you have to check previous steps again.--
Type this command to flash CWM recovery to your phone
Code:
fastboot flash recovery recovery.img
It will show the progress and completion dialogue within seconds when it finishes successfully. Now you can try if CWM is working.-- download quick boot to boot in cwm
credits
akash ujjainkar.

How to root Miui 8

Guys I'm on global Miui 8 Global 6.7.5 beta. I tried to root and install twrp using mi4i rooting toolkit version 4. But it doesn't work. Previously on miui6 and miui7, I can root and install twrp using the mi4i toolkitV4. But now it doesn't work anymore when I upgraded to miui8.
Does anyone knows how to root miui8 global 6.7.5 beta?
Rooting
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip
Thanks
Sent from my Mi 4i using XDA-Developers mobile app
Worked?
Did it work?
Sitaa said:
Did it work?
Click to expand...
Click to collapse
Yape!
Thanks for the article - will update and root tonight
The process:
update via OTA (hate this as my 16GB is insufficient - love all things M1 but hate the lack of external SD capability)
Reboots - it enters my old TWRP, and auto install update
Once it installs, and auto powerup, I turn on "fastboot mode" (developer option was already on) - a pain in the a55 due to the security prompt...
Power-off the device. Reboot to fastboot mode as per instruction above
I chose to retain M1 recovery, and so fastboot into TWRP to install SU.
Reboot
Tested with titanium backup - root works!
Thanks!!!
Love the new notification drawer, and memory management...
can i root my mi4i without instal twrp and still habe ota update if my phone rooted ?
thanks
Yes.
The OP posted 2 methods for using twrp near the end of his post.
For v7++, I could always ota despite having twrp onboard, instead of mi recovery. Not sure about this recent v8. Hence I used the first method above, preserving my recovery. Also, from my history of use. I never use twrp or recovery anymore, after rooting. No point having recovery backup as mi issues updates ofyen. I use titanium for backup of third party software only. Even then this is redundant since ota preserves software.
sharan.nyn said:
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip
Click to expand...
Click to collapse
i followed the procedure, but it shows fastboot boot twrp.img can not be found
vijayk12 said:
i followed the procedure, but it shows fastboot boot twrp.img can not be found
Click to expand...
Click to collapse
Are you sure you installed ADB Fastboot drivers? and make sure you 'cd' to the directory where twrp.img is located or else it will say the file is not found.
You need to put the both fastboot and image files together in the same directory. Then open a MS prompt in this directory, and type the syntax to flash.
twrp not found??
sharan.nyn said:
Are you sure you installed ADB Fastboot drivers? and make sure you 'cd' to the directory where twrp.img is located or else it will say the file is not found.
Click to expand...
Click to collapse
twrp.img not found. now i have installed the adb drivers and verified as well by the "fastboot devices" command. now when i go to the this "fastboot devices twrp.img" command it says twrp not found. what to do?
Found the solution
monishalria said:
twrp.img not found. now i have installed the adb drivers and verified as well by the "fastboot devices" command. now when i go to the this "fastboot devices twrp.img" command it says twrp not found. what to do?
Click to expand...
Click to collapse
Rename the TWRP downloaded file to 'twrp' not 'twrp.img' as mention. and in command write ' fastboot boot twrp.img' as the downloaded file is already img i did it and worked for me.
Hi,
I manage to flash TWRP (i.e. sending recover =OKAY & writing recovery= OKAY).
Yet I could not manage to reboot by long pressing power button then open TWRP by power button + vol up.
Someone can help me?
Thank you in advance
sharan.nyn said:
First you have to enable developer options. Then in developer options under debugging section turn on USB debugging and Fastboot Mode.
Then download TWRP. Rename it to twrp.img for ease.
https://dl.twrp.me/ferrari/twrp-3.0.2-0-ferrari.img.html
Install fastboot and adb drivers.
http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download root zip file, and place it on internal storage.
https://download.chainfire.eu/696/supersu/
Open the folder on PC where twrp image is downloaded. Hold shift and right click on the window(not the file or folder). Then select open command window here. CMD will open.
Long press power button and volume down to boot into fastboot mode, connect it by USB.
Type in CMD: fastboot devices
If it shows a device is connected you are good to go! If not verify if the drivers are properly installed.
To just root and preserve Mi Recovery for OTA:
Type in CMD: fastboot boot twrp.img
this will boot into twrp to flash supersu.zip file and reboot.
To flash TWRP permanently:
type: fastboot flash recovery twrp.img
then reboot by long pressing power button then open TWRP by power button + vol up. Then flash supersu.zip
Click to expand...
Click to collapse
Ia these steps can root my mi4i miui 8.0.1.0 global stable too?
farid0019 said:
Ia these steps can root my mi4i miui 8.0.1.0 global stable too?
Click to expand...
Click to collapse
Yeah of course it will work
same problem twrp.img
sharan.nyn said:
Are you sure you installed ADB Fastboot drivers? and make sure you 'cd' to the directory where twrp.img is located or else it will say the file is not found.
Click to expand...
Click to collapse
hey im facing the same problem that no such file or directory. U said cd to the directory. how do you do it. Please can u be specific. i dont know how to do it
zaid siddique said:
hey im facing the same problem that no such file or directory. U said cd to the directory. how do you do it. Please can u be specific. i dont know how to do it
Click to expand...
Click to collapse
https://www.google.co.in/amp/m.wikihow.com/Change-Directories-in-Command-Prompt?amp=1
Use this guide.
Tks for this great Rooting guid and twrp install on my mi4 \w/

Need help to root into moto g3

Hi Team,
I was able to unlock the bootloader on motg3 and do a twrp img. However when I ran the command
adb reboot recovery it doesn't boot into the recovery img and it just says no command on the phone screen. Please help.
Thanks,
Arun
'No Command' means you've still got the stock recovery. Flash TWRP again by:
Code:
fastboot flash recovery twrp.img
(Where twrp.img is the filename of the custom recovery).
Do *not* reboot the phone into system, instead scroll down to select 'recovery' and press power button to load TWRP.
TWRP should load now, swipe to confirm modification (important). Now go to reboot>recovery. Allow the phone to reboot back to TWRP. Now you can select reboot>system and TWRP shall stick permanently.
Broadcasted from Zeta Reticuli
Volume buttons aren't working on the mobile. So I tried adb reboot recovery. But still it didn't boot into recovery. Here is what I had tried.
https://pasteboard.co/HhTTVr1n.png
TWRP will be overwritten by stock recovery if the system is booted up before booting TWRP once.
If the volume buttons are broken, then I'd suggest you first copy twrp.img into phone memory, boot the recovery by :
Code:
fastboot boot recovery.img
Allow modifications, then go to Install>Select Image (img), browse twrp.img on phone>select 'recovery' and swipe to flash.
Now reboot>recovery and then reboot>system. Now it should stick.
I'd recommend being extra careful if your volume button, especially volume down button is broken. If you somehow end up with a non-booting phone, you'd have no way (that I know of) to get to the bootloader mode.
Broadcasted from Zeta Reticuli
I tried fastboot boot recovery.img but it says waiting for device and nothing happens.
https://pasteboard.co/HhVmOD9.png
Make sure your phone is in the bootloader mode and is being recognized by the pc. Run:
Code:
fastboot devices
and make sure it returns with 1 entry of the device along with the text 'fastboot'. Then the command should work.
Broadcasted from Zeta Reticuli
arunkumar413 said:
Hi Team,
I was able to unlock the bootloader on motg3 and do a twrp img. However when I ran the command
adb reboot recovery it doesn't boot into the recovery img and it just says no command on the phone screen. Please help.
Thanks,
Arun
Click to expand...
Click to collapse
Make sure you have installed proper Motorola drivers & Fastboot on you're PC / laptop,
You can get those files from this thread https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
After installing proper drivers goto this thread https://forum.xda-developers.com/2015-moto-g/orig-development/twrp-twrp-moto-g-2015-t3170537 download & flash latest twrp by given instructions by OP..
I just checked the usb drivers page but there aren't any usb drivers for Linux.
https://mobilesupport.lenovo.com/us/en/solution/MS88481
I tried the command sudo fastboot boot recovery.img and it returned there is no such file or directory. Should recovery file be on phone or on the laptop. Also should all these commands be run from a specific folder either on phone or system?
[email protected] ~ $ sudo fastboot boot recovery.img
cannot load 'recovery.img': No such file or directory
[email protected] ~ $
arunkumar413 said:
I just checked the usb drivers page but there aren't any usb drivers for Linux.
https://mobilesupport.lenovo.com/us/en/solution/MS88481
I tried the command sudo fastboot boot recovery.img and it returned there is no such file or directory. Should recovery file be on phone or on the laptop. Also should all these commands be run from a specific folder either on phone or system?
[email protected] ~ $ sudo fastboot boot recovery.img
cannot load 'recovery.img': No such file or directory
[email protected] ~ $
Click to expand...
Click to collapse
Yes, the terminal should be open to the directory containing the recovery.img file. For simplicity, place twrp into your home folder. The default location for most terminals is home, so no worries about directory now.
Just to be sure, type in :
Code:
ls
(LS lowercase)
Your file should be in the list. You are ready to flash now.
Try the fastboot boot command again.
As you're using GNU/Linux (guessed it early from your screenshots), drivers should not be a problem, at least for this device; unless you are running a minimal or highly customised distro like Gentoo or Arch.
Note: And yes, you'll need another copy of TWRP inside phone storage to actually flash into the device, the PC one is just used to boot temporarily into TWRP.
Broadcasted from Zeta Reticuli
To add more clarity. There are two files here:
1) recovery.img
2)twrp.img
I was able to get the twrp.img file but where do I get the recovery.img file?
Hi All,
Thanks for all the help. I'm now able to root into the device.
arunkumar413 said:
To add more clarity. There are two files here:
1) recovery.img
2)twrp.img
I was able to get the twrp.img file but where do I get the recovery.img file?
Click to expand...
Click to collapse
I apologize for confusing you. They are the one and same. Just rename the downloaded TWRP img file to twrp.img and copy it over to both home folder in pc and into phone.
Use fastboot boot command on pc to temporarily boot up twrp in phone, allow modifications by swiping, go to Install>Install Image (img) option on the bottom>select the twrp.img inside the phone and flash it to 'recovery' partition.
Now reboot>recovery. This time the twrp should be permanently flashed and working properly. You are done.
Edit: Didn't see your last post, glad that you worked it out
Broadcasted from Zeta Reticuli
arunkumar413 said:
To add more clarity. There are two files here:
1) recovery.img
2)twrp.img
I was able to get the twrp.img file but where do I get the recovery.img file?
Click to expand...
Click to collapse
There can be only one either recovery.img file or twrp.img.....as you are trying to replace your stock recovery by TWRP... And you need .img file for this.... Just check the name there should be just one if you have TWRP.img then there is no need for recovery.img file
Hi All,
After I was able to flash twrp and root into the phone I switched off the phone and turned on after couple of days. But now the display isn't turning on. However adb is able to detect the device and also I was able to access the file system through usb. Could you please help me troubleshoot the display issue?
arunkumar413 said:
Hi All,
After I was able to flash twrp and root into the phone I switched off the phone and turned on after couple of days. But now the display isn't turning on. However adb is able to detect the device and also I was able to access the file system through usb. Could you please help me troubleshoot the display issue?
Click to expand...
Click to collapse
Try rebooting into the recovery mode by:
Code:
adb reboot recovery
And doing a Cache/ART cleanup.
If the phone boots up (it should vibrate) but the screen doesn't light up (not even a blank dark grey screen), then I'm afraid the display is at fault.
How to root moto g3
I try to root my motor but network has gone
Then how I root

October security patches for LEO-DLXX

I've captured the ota file for the october security patch on my LEO-DLXX. Instructions for install follow.
0. Unlock Bootloader
1. Download https://drive.google.com/file/d/1TwtOBmz-01a2EjLFdFnbGi8pqOGEeOCa/view (not my file) and https://mega.nz/#!Cu5giA6A!BoflaUUy2DnhYFa1hO9_l-G83DYGCFSq6mwiYgenxDc and oreo-recovery.img from https://forum.xda-developers.com/watch-2/development/recovery-unofficial-twrp-3-1-0-0-touch-t3631364
2. Extract the SawShark.rar file into a new folder. Delete the two scripts as they do some weird stuff. Extract the sawshark.zip file into the same folder, and you will now have 3 .img files. Run the following commands to flash them:
Code:
fastboot flash boot boot.img
fastboot flash recovery oreo-recovery.img # TWRP
fastboot flash system system.img
Don't worry if you see something about "sparse header magic invalid number" or similar, flashing will continue anyway. When the flashing completes, reboot the device into recovery with the power button and the instructions on screen. Note that the display says "short press to select, long press to go to next item" however, its the other way round. Tap the power button until is shows reboot-recovery, then long-press to select.
3. TWRP will load. Make sure ADB is working and run
Code:
adb push update.zip /data/ota_package
adb reboot bootloader
fastboot flash recovery recovery.img # Stock Recovery
and reboot the device into recovery again.
4. The update should install. If it doesnt, probably you need /cache/recovery files there, but i dont have them any more.

Custom ROM for Panasonic Tab 8

I want a custom rom and how to root guide for panasonic tab 8 hd. There's an option to unlock bootloader in system settings. So it's easy to unlock it. I think I need to have microG as I have to use Whatsapp for my classes. I can provide you with the details of the device if required.
1. Activate USB debugging
2. Backup all your data.
3. Pull your boot.img and Vemata and save them in your external sdcard.
4. Install Magisk 22.1apk
5. Open it from home page and install the app.
6 now touch Magisk and chose force encryption.and enter
7. In popup dialogue tick selctand patch file and enter
8. Now chose the boot.img file you saved in the external sd card. Now the magisk will process it put the file in your internal sdcard in the download section.
9. Now save the magisk processed boot.ing on your desktop or in any folder and remember the location. It is advisable rename that with 2or 3 letters and paste it in th9/e ADB folder where you have installed the Platform files.
10. Now you open platform folder and open cmd inside the Platform tool. In the ensuing cmd window check for
adb devices.
Your device I'd will come to the next line. Then type
adb reboot bootloader
Now check
fastboot devices
your phone I'd will pop up.
Unlock bootloader:
Type fastboot flashing unlock
then click volume up bottom over.
Not you come again till the step 10.
Rooting process:
Now type
fastboot flash boot " the magisk processed, boot.img which you have renamed.
Now the patched boot.img will relace stock boot.img
Again come back and type
fast boot "-- disable-verification flash vbmeta " put your vbmeta file that earlier you have saved in the Platform folder.
that is all it is rooted.
please note that before starting the root activities you have to unlock your boot loader.
On your own you are doing. I take no responsibility.
by this process only I have rooted the phone. And with WWR MTK Tool and SPFT I have managed to get the stock firmware files. With native preloader. But flashing with this preloader needed patched boot.img file

Categories

Resources