TWRP .img from phone? - Moto X Q&A

I've recently dumped my desktop. I'm using my company's laptop despite of being very restricted.
So... because of this, i can't use adb or moto x toolkit to install TWRP. I had it installed on my phone but somehow i've messed it up. I've an unlocked bootloader, and my phone is rooted. Now i have only the .img file and no way to install it. I've tested some apps from the store, but none of them work.
Any way to install TWRP .img file from the phone itself?

pintasmapila said:
I've recently dumped my desktop. I'm using my company's laptop despite of being very restricted.
So... because of this, i can't use adb or moto x toolkit to install TWRP. I had it installed on my phone but somehow i've messed it up. I've an unlocked bootloader, and my phone is rooted. Now i have only the .img file and no way to install it. I've tested some apps from the store, but none of them work.
Any way to install TWRP .img file from the phone itself?
Click to expand...
Click to collapse
Since you say you are already rooted, try FLASHIFY from the market. It should flash TWRP Recovery for you (assuming you are indeed rooted already).
Good Luck.

if you can install the moto device drivers on the PC, you can then try to download and unzip this -> http://mark.cdmaforums.com/X-STUFF/ADB-MFASTBOOT.zip and try mfastboot from there.

samwathegreat said:
Since you say you are already rooted, try FLASHIFY from the market. It should flash TWRP Recovery for you (assuming you are indeed rooted already).
Good Luck.
Click to expand...
Click to collapse
Thanks for your help. Tried it but it doesn't work.
KidJoe said:
if you can install the moto device drivers on the PC, you can then try to download and unzip this -> http://mark.cdmaforums.com/X-STUFF/ADB-MFASTBOOT.zip and try mfastboot from there.
Click to expand...
Click to collapse
I can't install drivers on a restricted pc. That's my main problem.

pintasmapila said:
Thanks for your help. Tried it but it doesn't work.
I can't install drivers on a restricted pc. That's my main problem.
Click to expand...
Click to collapse
Bummer.
No one has made a flashable zip for TWRP for Moto X yet....mostly because fastboot is so much easier. In the past (on other devices), you could often flash the recovery zip file from the bootloader - this would make fastboot unnecessary.
Since we don't have a flashable zip (only the .img), I can only suggest that you use a different computer that isn't restricted. Sorry, but it seems that will be your only option.
And lastly, when you DO find a computer that you're able to use, be sure to flash the recovery with 'mfastboot' and not the standard 'fastboot'.

samwathegreat said:
Bummer.
No one has made a flashable zip for TWRP for Moto X yet....mostly because fastboot is so much easier. In the past (on other devices), you could often flash the recovery zip file from the bootloader - this would make fastboot unnecessary.
Since we don't have a flashable zip (only the .img), I can only suggest that you use a different computer that isn't restricted. Sorry, but it seems that will be your only option.
And lastly, when you DO find a computer that you're able to use, be sure to flash the recovery with 'mfastboot' and not the standard 'fastboot'.
Click to expand...
Click to collapse
Yeah, i guess you're right.
Thanks man

Related

ktu84l UpDater

Your bootloader must be unlocked to use this. If your bootloader is not already unlocked, unlocking it will wipe your data and this method is not recommended.
This is a modified factory image that will not erase your user data or custom recovery. This can be used even if you’re rooted and with modified system files, xposed framework, or custom recovery. Once installed you will lose root, just flash supersu in your custom recovery. Xposed should still be on your device so just go into the app and re-install it. For any modified system files, you will have to re-modify those.
This is intended for those on the stock rom, rooted, and with a custom recovery. It’ll work if you have a custom rom but will put the stock system on.
I am not responsible for anything you do to your device so flash at your own risk. Always backup before doing any significant changes to your device. I would recommend off your device in case something happens
.
To use, download the modified factory image here https://mega.co.nz/#!AAATiKpI!PJbBgroM6PB7tTAs_TanCOrlzAeqBq0PEupNyvU72pEl Use 7-zip or winrar to extract the files.
Supersu by chainfire can be found here, CWM / TWRP / MobileODIN installable ZIP: http://download.chainfire.eu/supersu
Boot into the bootloader. From a cmd window opened where the flash-all file is just type flash-all. You can use shift, right click on the occam-ktu85l-Modified folder to open a command window in the correct folder. ADB/FASTBOOT must be intalled on your PC.
You can also just double click on the flash-all.bat
This is tested on a windows machine; however it should work on a Mac too, flash the flash-all.sh.
jd1639 said:
Your bootloader must be unlocked to use this. If your bootloader is not already unlocked, unlocking it will wipe your data and this method is not recommended.
This is a modified factory image that will not erase your user data or custom recovery. This can be used even if you’re rooted and with modified system files, xposed framework, or custom recovery. Once installed you will lose root, just flash supersu in your custom recovery. Xposed should still be on your device so just go into the app and re-install it. For any modified system files, you will have to re-modify those.
This is intended for those on the stock rom, rooted, and with a custom recovery. It’ll work if you have a custom rom but will put the stock system on.
I am not responsible for anything you do to your device so flash at your own risk. Always backup before doing any significant changes to your device. I would recommend off your device in case something happens
.
To use, download the modified factory image here http://d-h.st/Uql Use 7-zip or winrar to extract the files.
Mirror https://mega.co.nz/#!0Zoi3DoL!OXm5H6HBzwGd8PEPlNfTQphcSAoM4zN8MG5LX3YzK7g
Supersu by chainfire can be found here, CWM / TWRP / MobileODIN installable ZIP: http://download.chainfire.eu/supersu
Boot into the bootloader. From a cmd window opened where the flash-all file is just type flash-all. You can use shift, right click on the occam-ktu85l-Modified folder to open a command window in the correct folder.
You can also just double click on the flash-all.bat
This is tested on a windows machine; however it should work on a Mac too, flash the flash-all.sh.
Click to expand...
Click to collapse
folder image-occam-ktu84l.zip has recovery.img,this stock recovery?
pincher65 said:
folder image-occam-ktu84l.zip has recovery.img,this stock recovery?
Click to expand...
Click to collapse
Yes it's stock. Sorry about that it has been corrected
Sent from my Nexus 5 using XDA Free mobile app
i have error:
"archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt"
szakalq said:
i have error:
"archive does not contain 'android-info.txt'
archive does not contain 'android-product.txt'
error: update package has no android-info.txt or android-product.txt"
Click to expand...
Click to collapse
That's weird. Try this and please let me know if it works https://mega.co.nz/#!AAATiKpI!PJbBgroM6PB7tTAs_TanCOrlzAeqBq0PEupNyvU72pE
jd1639 said:
That's weird. Try this and please let me know if it works https://mega.co.nz/#!AAATiKpI!PJbBgroM6PB7tTAs_TanCOrlzAeqBq0PEupNyvU72pE
Click to expand...
Click to collapse
This worked for me! Thanks
Sent from my Nexus 4 using Tapatalk
jd1639 said:
That's weird. Try this and please let me know if it works https://mega.co.nz/#!AAATiKpI!PJbBgroM6PB7tTAs_TanCOrlzAeqBq0PEupNyvU72pE
Click to expand...
Click to collapse
Now everything is fine, thank you
i downloaded occam-ktu84l-MODIFIED , connected Nexus 4 on my ubuntu in fastboot and ran script flash-all.sh but nothing happens , just < waiting for device > is shown.
can i install this zip it from custom recovery?
mrYogii said:
i downloaded occam-ktu84l-MODIFIED , connected Nexus 4 on my ubuntu in fastboot and ran script flash-all.sh but nothing happens, just waiting for device is shown.
can i install this zip it from custom recovery?
Click to expand...
Click to collapse
install drivers adb/fastboot, enable usb debug?http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312
pincher65 said:
install drivers adb/fastboot, enable usb debug?http://forum.xda-developers.com/nexus-4/general/how-to-how-to-flash-factory-image-t2010312
Click to expand...
Click to collapse
all is set , adb devices gives device id
mrYogii said:
all is set , adb devices gives device id
Click to expand...
Click to collapse
adb? You needed fastboot mode
jd1639 said:
That's weird. Try this and please let me know if it works https://mega.co.nz/#!AAATiKpI!PJbBgroM6PB7tTAs_TanCOrlzAeqBq0PEupNyvU72pE
Click to expand...
Click to collapse
hi, this works for me also, thanks a lot, plz update OP for others also.
Flashed successful as well as new radio however flashing superuser though recovery does nothing... How to fix?
jd1639 said:
That's weird. Try this and please let me know if it works https://mega.co.nz/#!AAATiKpI!PJbBgroM6PB7tTAs_TanCOrlzAeqBq0PEupNyvU72pE
Click to expand...
Click to collapse
works great! thanks!
Worked great! all though i had to flash one-by-one cause i dont know how to use adb :cyclops:
my situation
Hello guys
I have tried to enter the adb commands into the command prompt but it says they are unrecognised and I dont know exactly why the adb will not fucntionhttp://forum.xda-developers.com/images/smilies/confused.gif. I think I may have disabled USB debuging by mistake before I had the bootloop.
BTW does this stock image work for the NEXUS 7 device
Gloftking said:
Hello guys
I have tried to enter the adb commands into the command prompt but it says they are unrecognised and I dont know exactly why the adb will not fucntionhttp://forum.xda-developers.com/images/smilies/confused.gif. I think I may have disabled USB debuging by mistake before I had the bootloop.
BTW does this stock image work for the NEXUS 7 device
Click to expand...
Click to collapse
First, it will not work on the n7. Just double click on the flash-all.bat file. Easier than entering any commands, they're fastboot commands by the way
Sent from my Nexus 5 using XDA Free mobile app
?
if it cannot work on the nexus 7 then for me there isnt much point. isnt there anything else that will be able to fix that
Gloftking said:
if it cannot work on the nexus 7 then for me there isnt much point. isnt there anything else that will be able to fix that
Click to expand...
Click to collapse
Then what are you doing in the n4 forum? Go to the n7 forum
Sent from my Nexus 5 using XDA Free mobile app
?
could you tell me were that is?

Revert to stock after MOFO Root

To revert completely back to stock
The rootjunkysdl website. http://rootjunkysdl.com/?device=Droid Turbo&folder=Firmware
It's in the firmware section for the Droid Turbo
Download it, unzip it, run the .bat file while in fastboot mode, wait for the magic.
kevinmr82 said:
To revert completely back to stock
The rootjunkysdl website. http://rootjunkysdl.com/?device=Droid Turbo&folder=Firmware
It's in the firmware section for the Droid Turbo
Download it, unzip it, run the .bat file while in fastboot mode, wait for the magic.
Click to expand...
Click to collapse
Thanks, what firmware does this flash? It shows "21.128-15" in the file name so I am just wondering. The latest is 21.44.12.quark_verizon.en.us.
21.21.15 The original firmware from the October, 2014 release
kevinmr82 said:
21.21.15 The original firmware from the October, 2014 release
Click to expand...
Click to collapse
Oh yeah, thanks! I just downloaded it and opened it up. This will flash literally everything from radios to the bootloader to system. Thanks now I have it just in case.
Edit: bootloader stays modified...
where can i find 21.44.12?
Edit: do i flash through rsdlite or mofo?
I have been unable to find that version myself. You don't use RSD or MOFO. After you unzip the file look for the .bat file. Put your phone in recovery mode and open the .bat file. It will flash on its own.
kevinmr82 said:
I have been unable to find that version myself. You don't use RSD or MOFO. After you unzip the file look for the .bat file. Put your phone in recovery mode and open the .bat file. It will flash on its own.
Click to expand...
Click to collapse
Thanks for the reply... I actually messed up my recovery file so I couldnt go that route... luckily it was easy as fastboot flash recovery recovery.img after getting the correct file
Is there any way to get an unrooted system.img to flash with mofo? I'm trying to 'unroot' my phone and keep the modifications I have made, so I can continue using the apps that don't allow me to use them when I'm rooted (Barclays Mobile Banking and Pingit)
That I'm unsure of, have you tried any of the root cloaking apps in the Play Store?
kevinmr82 said:
That I'm unsure of, have you tried any of the root cloaking apps in the Play Store?
Click to expand...
Click to collapse
Yes, they don't work. I tried removing su and superuser.apk, but still no luck. It won't probably work, but I'd like to try, see the differences between a rooted and an unrooted system.img, also see if these apps work on a 'flashed' system.img that is unrooted...
I'll keep trying to convert the system.img_sparsechunk* from the stock rom into a mofo flashable system.img... If I can't do it then I'll open a thread asking for a dd from an unrooted system partition

Help With Unrooting and Updating

I'm currently running an XT1095 rooted with custom recovery (TWRP) and xPosed on 4.4.4. I would like to update to 5.1, but can't seem to make any headway. There's so many different guides/advice on what to do and what not to do. I know I need to be back to fully stock 4.4.4 before I can accept the OTA update, but I don't have a backup, nor can I find through some searching, stock 4.4.4 recovery. Additionally, even with what I believe to be the correct drivers and files needed, Windows 7 does not detect that I have connected my device in fastboot mode through adb. Maybe I have the wrong files/drivers or am not using adb properly (I've never used adb)...
Is there a full system update in .zip form that I can flash right from recovery?
And I just realized that TWRP can install images. So does that mean I could download a full system image (such as stock 5.1) and flash it right in recovery without unrooting and unmodifying 4.4.4?
Is XT1095 the same thing as Developer Edition? If yes, then you can find the factory image here.
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images
From my understanding, yes, they are one in the same. And thanks for the link. I've requested access to 5.1, but like I said before, every time I've tried to even get the list of devices connected through adb, it never shows anything. Could I use the terminal within TWRP to run the commands?
I suggest u to use RSD to flash full image, because RSD is so easy and safe to update your phone better than adb .all u need is just download the full image and install Motorola Device Manager then install RSD.
squiddy20 said:
I've requested access to 5.1, but like I said before, every time I've tried to even get the list of devices connected through adb, it never shows anything. Could I use the terminal within TWRP to run the commands?
Click to expand...
Click to collapse
Sorry, I'm not sure about that
I usually use adb or reboot my phone into fastboot mode.

rsd lite firmware help

hello everyone so i messed up bad. need rsd lite firmware to flash if anyone can share. all i have now is the abiliy to get into bootloader mode. Any help would be appreciated.
mikelikesbikes said:
hello everyone so i messed up bad. need rsd lite firmware to flash if anyone can share. all i have now is the abiliy to get into bootloader mode. Any help would be appreciated.
Click to expand...
Click to collapse
All factory images can be found here: http://motofirmware.center/files/category/23-droid-turbo/
having trouble getting rsd to recognize my device in bootloader, anyone recommend some drivers i can try? windows 8.1
mikelikesbikes said:
having trouble getting rsd to recognize my device in bootloader, anyone recommend some drivers i can try? windows 8.1
Click to expand...
Click to collapse
Install Motorola Device Manager from Moto's website. That will give you the drivers you need.
My advice is don't use RSDlite. To get it to work, you have to edit the xml file in the firmware that you're trying to flash to remove all the other devices that it inexplicably also includes. All RSDlite does is automate the fastboot flashing process. A better way to do it, in my opinion, is to edit the .bat file that comes with the factory images and manually input the fastboot commands that you see there. If you want more detailed directions, see my post here: http://forum.xda-developers.com/droid-turbo/help/turbo-firmware-t3254185
tried your tutorial. now for some reason i cant get fastboot to recognize my device. device manager now says "fastboot quark S" with the little triangle beside it. fastboot devices isnt showing my device is connected,but it did before i tried manually flashing like in the post you linked me to. i dont get it
TheSt33v said:
Install Motorola Device Manager from Moto's website. That will give you the drivers you need.
My advice is don't use RSDlite. To get it to work, you have to edit the xml file in the firmware that you're trying to flash to remove all the other devices that it inexplicably also includes. All RSDlite does is automate the fastboot flashing process. A better way to do it, in my opinion, is to edit the .bat file that comes with the factory images and manually input the fastboot commands that you see there. If you want more detailed directions, see my post here: http://forum.xda-developers.com/droid-turbo/help/turbo-firmware-t3254185
Click to expand...
Click to collapse
what do you mean by editing the .bat file that comes with factory images?
mikelikesbikes said:
what do you mean by editing the .bat file that comes with factory images?
Click to expand...
Click to collapse
I mean right click on the .bat file that is included in the .zip file of the firmware that you're trying to flash and select "edit." This allows you to see the commands that the .bat file does when you double click on it.
But you don't have to worry about that, because I already outlined the necessary commands in the post that I gave you a link to.
TheSt33v said:
I mean right click on the .bat file that is included in the .zip file of the firmware that you're trying to flash and select "edit." This allows you to see the commands that the .bat file does when you double click on it.
But you don't have to worry about that, because I already outlined the necessary commands in the post that I gave you a link to.
Click to expand...
Click to collapse
any idea why fastboot doesnt see my device now? it did before, but I get the yellow triangle in device manager. I have installed every driver i can find... including motorola device manager and ran it several times. Was on mofo'd 4.4.4. and for some dumb reason thought i could flash the lollipop bootloader so now i am stuck with bootloader, recovery, but no os. any advice would be great.
OK, so i finally got fastboot to recognize my device again. Trying to download stock firmware from Rootjunky. Am i correct that I extract the zip into the fastboot folder then issue the commands? I am about to pull my hair out...
mikelikesbikes said:
any idea why fastboot doesnt see my device now? it did before, but I get the yellow triangle in device manager. I have installed every driver i can find... including motorola device manager and ran it several times. Was on mofo'd 4.4.4. and for some dumb reason thought i could flash the lollipop bootloader so now i am stuck with bootloader, recovery, but no os. any advice would be great.
OK, so i finally got fastboot to recognize my device again. Trying to download stock firmware from Rootjunky. Am i correct that I extract the zip into the fastboot folder then issue the commands? I am about to pull my hair out...
Click to expand...
Click to collapse
Yep. That should be all you have to do.

Nexus 6, Deleted System Partition- Cannot Recover

The system partition was deleted and the phone has TWRP. The mac recognizes the ADB device and the MTP. Tried toggling the MTP, no success. Currently android file transfer fails every time due to a missing MD5 file in the android 6.0.1 zip, although all that is being attempted is a drag and drop. ADB sideload says it has completed but no files appear on the phone to flash, or in the file explorer, and so does ADB push. Tried re-downloading the rom, rebooting the phone and everything else.
Any help is appreciated.
evan7899 said:
The system partition was deleted and the phone has TWRP. The mac recognizes the ADB device and the MTP. Tried toggling the MTP, no success. Currently android file transfer fails every time due to a missing MD5 file in the android 6.0.1 zip, although all that is being attempted is a drag and drop. ADB sideload says it has completed but no files appear on the phone to flash, or in the file explorer, and so does ADB push. Tried re-downloading the rom, rebooting the phone and everything else.
Any help is appreciated.
Click to expand...
Click to collapse
flash the factory image, reflash twrp, reflash your ROM and SuperSU.
simms22 said:
flash the factory image, reflash twrp, reflash your ROM and SuperSU.
Click to expand...
Click to collapse
That is what is being attempted. All data has been wiped from the phone and there is an issue getting the ROM and a new TWRP to the phone. The only available computer is a mac and Android File transfer keeps reporting a MD5 file error whenever the rom is tried to be moved over.
evan7899 said:
That is what is being attempted. All data has been wiped from the phone and there is an issue getting the ROM and a new TWRP to the phone. The only available computer is a mac and Android File transfer keeps reporting a MD5 file error whenever the rom is tried to be moved over.
Click to expand...
Click to collapse
thats not how you flash a factory image. you boot into the bootloader, and use fastboot to flash it, via your computer. you dont download it to your phone http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
simms22 said:
thats not how you flash a factory image. you boot into the bootloader, and use fastboot to flash it, via your computer. you dont download it to your phone http://forum.xda-developers.com/nexus-6/general/guide-flash-factory-images-nexus-6shamu-t2954008
Click to expand...
Click to collapse
The factory image is the .TGZ file? Or one in there. I am accustomed to just flashing zip files from TWRP on a OnePlus One but this is a friends Nexus 6 and in a very odd state.
evan7899 said:
The factory image is the .TGZ file? Or one in there. I am accustomed to just flashing zip files from TWRP on a OnePlus One but this is a friends Nexus 6 and in a very odd state.
Click to expand...
Click to collapse
yup, its a .tgz file. download it, "unzip" it, then flash each partition separately instead of all together using fastboot. its the only way to get everything back. then you can flash twrp after, and SuperSU.
simms22 said:
yup, its a .tgz file. download it, "unzip" it, then flash each partition separately instead of all together using fastboot. its the only way to get everything back. then you can flash twrp after, and SuperSU.
Click to expand...
Click to collapse
Sorry this is very simple but everything is going wrong...flashing the system.img exceeded partition limits. Do I rename files or just type them as is. Sorry many guides are contradicting and I'm very confused.
EDIT: The phone isnt being recognized by the computer in fastboot mode.
evan7899 said:
Sorry this is very simple but everything is going wrong...flashing the system.img exceeded partition limits. Do I rename files or just type them as is. Sorry many guides are contradicting and I'm very confused.
EDIT: The phone isnt being recognized by the computer in fastboot mode.
Click to expand...
Click to collapse
just type in the names, like system.img or boot.img.
and did you install the driver for adb.fastboot?
simms22 said:
just type in the names, like system.img or boot.img.
and did you install the driver for adb.fastboot?
Click to expand...
Click to collapse
This is on a mac and ADB was recognizing the device beforehand but fastboot is not. I am not sure if he has the fastboot drivers installed. I will check that
evan7899 said:
This is on a mac and ADB was recognizing the device beforehand but fastboot is not. I am not sure if he has the fastboot drivers installed. I will check that
Click to expand...
Click to collapse
honestly, I wouldn't know what you need on a Mac to get it working :angel:
simms22 said:
honestly, I wouldn't know what you need on a Mac to get it working :angel:
Click to expand...
Click to collapse
Yup thats my same issue. On my PC it could have been done easily but I'll keep trying. Thanks for all of the help!
evan7899 said:
Yup thats my same issue. On my PC it could have been done easily but I'll keep trying. Thanks for all of the help!
Click to expand...
Click to collapse
maybe this will help? http://htc-one.wonderhowto.com/how-...-mac-os-x-send-commands-your-htc-one-0151178/
You need to run sudo fastboot insertcomand on Mac. good luck.
simms22 said:
maybe this will help? http://htc-one.wonderhowto.com/how-...-mac-os-x-send-commands-your-htc-one-0151178/
Click to expand...
Click to collapse
Thanks but we have tired that. Due to distance this has all had to be over the phone which hasnt helped either. I will update this with how we got it working when we do.

Categories

Resources