Script FlashFirmware (simple and safe method to flash firmware) - Moto X Android Development

{
"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"
}
Well, assemble this script for those who want to install a firmware easily and safely, without having to edit anything at all they will be able to change the firmware without problems. This method is widely used in other devices such as the Motorola Razr HD and others.
This installs the firmware cleanly, save your files on your pc previously.
Requirements:
* Drivers Motorola - Link
* Script FlashFirmware - Link
* Firmware - Link
Method:
Download everything you need
install drivers
Unzip the firmware
Unzip the contents of the [email protected] evogp folder inside the folder of the firmware previously decompressed (staying in the same folder the firmware and script files)
Start the device in fastboot (power off, hold power and volume +)
Connect to usb
Run FlashFirmware.bat
​

Just used this to flash stock 4.4 to my ATT Moto X. Worked without any issues or fiddling. Thanks!!!

This works with all Moto X versions/carriers?

I see the 4.2 for each carrier is more then likely the first firmware shipped on? Is it because of bricking while getting camera update? Really interested on the rate of who had flashed back to 4.2 successfully.
Sent From My Ghost/XT1055/USC, UL BL, Rooted on 4.4 KitKat.

gokart2 said:
This works with all Moto X versions/carriers?
Click to expand...
Click to collapse
yes, all versions

core720 said:
yes, all versions
Click to expand...
Click to collapse
But there's no T Mobile carrier listed on the firmware page...
Sent from my XT1053 using Tapatalk 2

Look under Retail US.
Android 4.4
Blur_Version.140.44.3.ghost_row.Retail.en.US

Wow. This was too easy. Thank you very much!

core720 said:
Well, assemble this script for those who want to install a firmware easily and safely, without having to edit anything at all they will be able to change the firmware without problems. This method is widely used in other devices such as the Motorola Razr HD and others.
This installs the firmware cleanly, save your files on your pc previously.
Requirements:
* Drivers Motorola - Link
* Script FlashFirmware - Link
* Firmware - Link
Method:
Download everything you need
install drivers
Unzip the firmware
Unzip the contents of the [email protected] evogp folder inside the folder of the firmware previously decompressed (staying in the same folder the firmware and script files)
Start the device in fastboot (power off, hold power and volume +)
Connect to usb
Run FlashFirmware.bat
​
Click to expand...
Click to collapse
How is this any different than the script that Motorola provides? Seems to be a duplication of their work.

Related

Major problem

Hello, XDA community,
I would like to get some suggestions and help on how to fix my old i5500 device.
This phone is rooted, used long time ago, so not sure which CM version is installed, but I'm sure it's GB.
Couple days ago I've turned my phone ON, and it got bootloop.
Since I don't know how to enter the recovery mode using keys, I've tried flash firmware/ other roms using Odin.
Problem is - my computer says, that:
''USB device not recognized
The last USB device you connected to this computer malfunctioned and Windows does not recognise it.''
I can turn my phone to download mode (using the button combination) , but nothing more.
Could anyone help me on how to fix this issue. I would really appreciated.
Do you have the drivers installed?
I can provide you all the files you need.
Sent from my GT-I5500 [OmniROM 4.4.2]
Vagelis1608 said:
Do you have the drivers installed?
I can provide you all the files you need.
Sent from my GT-I5500 [OmniROM 4.4.2]
Click to expand...
Click to collapse
I've installed the Kies, and it installed somekinda of drivers with it. If they're not the same as you got - I would like to get them, thank you.
I turn my phone to download mode, open the odin, put both on same usb, and then get that error. Eh, annoying.
Yes, I'd like to get those files.
1. Download this file (.zip): https://dl.dropboxusercontent.com/u/101339159/Samsung.zip
2. Unzip the file. In it you will find (the only) working version (for our G5), the proper ops file, the drivers (in a .zip file), CWM 6.0.1.2 (.tar) and CWM 6.0.4.5 (.tar).
3. Unzip SAMSUNG_USB_Driver_for_mobile_phones.zip
4. Install the drivers from the above file
5. Open ODIN
6. Select "One Package" option
7. Load the .ops file & CWM .tar (6.0.1.2 for android <4.3 / <CM10.2 ----- 6.0.4.5 for android 4.4+ / CM11+)
{
"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"
}
8. Boot your deivce into download mode
9. Connect your device via USB (& wait until it shows up in ODIN)
10. Click the "Start" button
Βαγγέλη είσαι πρώτος.
Vagelis thank you very much. I was in trouble from yesterday
theod123 said:
Βαγγέλη είσαι πρώτος.
Vagelis thank you very much. I was in trouble from yesterday
Click to expand...
Click to collapse
No problem.
Nice to see someone else from Greece on the G5 forums
Sent from my LG G2 Mini using XDA Labs

[Guide-Tool] Clear Download Recovery (Unroot)

Disclaimer:
Code:
You will be doing everything at your own risk.
Only you will be held responsible if you end up damaging or bricking your device.
About this guide
This is a quick and easy guide to get rid of the ROOTED status in download mode on G2 devices.
By doing this, you will return to the factory look of download mode with it showing UNROOTED.
Special Note
I have only tested this on my LG-D802. I do NOT know if this works on other G2 devices.
Therefore, please report back whether it works for you so I can add your device to the OP.
Requirements
LG USB Drivers (Easy to find & install - Google is your friend)
Your G2 must be rooted to use this.
USB Debugging must be enabled in Developers Options.
A software to extract the attached .zip file.
Notepad++
Instructions
Connect your G2 to your PC using MTP. At this point, USB debugging is not necessary. If phone is not recognized, then install/reinstall USB drivers.
Now head into PC - right click on your phone and hit properties. Copy this line as shown in this screenshot:
{
"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"
}
Download the attached .zip and extract the content to anywhere you like.
Open rct.cfg using Notepad++. Now delete SERIAL because here you shall paste the serial number of your phone which you copied earlier.
You must now enable USB Debugging in Developers Options. It does not matter if you had it enabled earlier or not.
Cant find Developers Options? Enter Settings - General - About Phone - Software Information - hit buildnumber 7 times and go back to Settings menu.
Open the file named install from the extracted .zip and give it root access on your phone.
Done. Download mode will now show UNROOTED.
OPTIONAL: You can now flash KDZ/TOT file if you want to fully return to stock. The status in download mode will remain unrooted after flashing a stock firmware.
Credits
@Drachenminister - check out his thread
Reserved for FAQ and more.
Deleted
LOL this was very easy and it works like a charm. I am on CloudyG3 and download mode shows unrooted

No Wifi No Data on AOSP roms READ THIS BEFORE POSTING!!!

You need three things besides your phone:
You lost data/wifi when flashing a CM UPDATE, this is your fault for not reading the threads, The FIX IS BELOW, in simple, plain english, easy to understand. DON'T MAKE ME DRAW PICTURES
1) Android SDK
https://developer.an.../sdk/index.html
Download it and install it. I'll only describe it for Windows OS.
2) The correct ROM
https://download.cya.../?device=enrc2b
or from my CM-12.1/AOSP threads
Download it and open it with WinRAR or Winzip or just unpack the whole thing. Directly in the root folder you'll see a file called boot.img
3) USB Cable connection between the phone and your PC
Connect the device to your PC. On your phone go to settings and enable USB debugging.
Now you are ready to flash the boot image.
a) copy the boot.img to the same folder as fastboot
if you downloaded the package from above, you'll see a folder structure that is a bit overwhelming. Navigate to
C:\adt-bundle-windows-x86-20140702\sdk\platform-tools
and copy the file called boot.img from the ROM there.
B) open up the terminal
click on start and enter cmd.exe
enter the folder with
cd /
cd C:\adt-bundle-windows-x86-20140702\sdk\platform-tools
c) start the flashing
Now type:
adb reboot bootloader
or alternatively, restart your phone manually and press the buttons Power and Volume down until you see a white menu screen.
Now type:
fastboot devices
and you should see your phone
d) flash the boot.img
type:
fastboot flash boot boot.img
That's it, 3G and WiFi should work now. A more extensive How-To can be found here:
http://wiki.cyanogen...l_CM_for_enrc2b
Taken from my thread of the same title from the CM forums
http://forum.cyanogenmod.org/topic/101207-no-wifi-no-data-read-this/
IF YOU CANNOT FOLLOW THOSE SIMPLE INSTRUCTIONS GIVE UP NOW
Hi @Lloir,
as far as i can see you have removed the aosp5.1 thread, right? that means no work from you for one x+ anymore?
now i also see that there is no one x+ in your signature...
mmm...bad news...
is it just because of the newbies and there stupdi questions? the best way to get rid of them is to ingore them!!!
.
el-Loko said:
Hi @Lloir,
as far as i can see you have removed the aosp5.1 thread, right? that means no work from you for one x+ anymore?
now i also see that there is no one x+ in your signature...
mmm...bad news...
.
Click to expand...
Click to collapse
My X+ is dead and I'm now mostly working on Huawei devices.
shhh....ititit :'(
.
{
"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"
}

			
				
Hey,@ Lloir
Ive tried this for my stock ROM that ive reverted to after having cyanogenmod 11, but it didnt work, I used the same boot.img from the firmware.zip. it did work successfully when reverting to cyanogen after it didn't work though.
What have I missed?
Any help would be appreciated.

[TOOL][OP2] TOOL ALL IN ONE (Drivers|Unlock|TWRP|Factory Image|Stock Recovery)

This is the OnePlus 2's TOOL ALL IN ONE Discussion Thread more info and download go to the Original Thread
TOOL ALL IN ONE
{
"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"
}
ADVANCED OPTIONS
FUNCTIONS
Install Drivers
Install Drivers
Unlock Bootloader
Lock Bootloader (use carefully)
Flash TWRP Recovery
Flash Stock Recovery
Flash Stock Factory Image
Automatic ROOT
Install APKs
Uninstall APKs
Take a Screenshot
Take a Screen Reocrd
Flash Partitions
Erase All Data (This function can decrypt the phone)
Reboot Phone
Update the Tool to latest version
Update Adb and Fastboot to latest version
Set Adb and Fastboot priviliges in system wide
Install Zip directly from PC (Required TWRP on phone)(These functions work perfectly on my pc but i have perfect adb drivers on my pc and perfect TWRP on my phone)
Flash Fastboot ROM
Delete downloaded files
ADB File Manager
DEVICE LIST
If you want you can send a request to add a new device here:
New Device Request Form
Device List
DOWNLOAD
Original Thread
DONATE LINK
If you want to support the project please consider making a donation, thanks.
​
I am on Colt_Os Oreo 8.0 and wanted to return it in complete stock with stock recovery. Kindly advise what files do I need or the application will self download the required files?
rocker86 said:
I am on Colt_Os Oreo 8.0 and wanted to return it in complete stock with stock recovery. Kindly advise what files do I need or the application will self download the required files?
Click to expand...
Click to collapse
The tool will give you a link to download the rom that you can then flash with the tool, i decide to dont automatic download the full rom because is too large
mauronofrio said:
The tool will give you a link to download the rom that you can then flash with the tool, i decide to dont automatic download the full rom because is too large
Click to expand...
Click to collapse
Thanks.. and what about stock recovery. Kindly tell me steps to achieve complete stock.
rocker86 said:
Thanks.. and what about stock recovery. Kindly tell me steps to achieve complete stock.
Click to expand...
Click to collapse
I dont remember, but i think the stock recovery is already included in the fastboot rom, but if you flash it and then you don't see the stock recovery you can flash it with this tool

Bricked Realme 3 Pro while rooting the phone using Magisk

Hi, I accidentally bricked my phone (Realme 3 Pro - Indian Version) while trying to root the device using Magisk. Now the (boot/recovery) files are corrupt and after following so many fixes I've also completely wiped the system files. I would like to know if anyone can share a step by step guide with all the correct file types that need to be downloaded and all the commands that are required for a windows 10 PC with the latest Platform-tools already installed. Also if there is any way if it can be fixed by using Android studios?
Also, please note: Bootloader is unlocked but it's not showing Bootloader versions and baseband version in FastBoot mode.
summerdayboys said:
Hi, I accidentally bricked my phone (Realme 3 Pro - Indian Version) while trying to root the device using Magisk. Now the (boot/recovery) files are corrupt and after following so many fixes I've also completely wiped the system files. I would like to know if anyone can share a step by step guide with all the correct file types that need to be downloaded and all the commands that are required for a windows 10 PC with the latest Platform-tools already installed. Also if there is any way if it can be fixed by using Android studios?
Also, please note: Bootloader is unlocked but it's not showing Bootloader versions and baseband version in FastBoot mode.
Click to expand...
Click to collapse
Code:
[img]https://1drv.ms/u/s!AtkDhaww0Q5WgolNbkQ7ftMhLNitAQ?e=4XFjzY[/img]
{
"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"
}
summerdayboys said:
Hi, I accidentally bricked my phone (Realme 3 Pro - Indian Version) while trying to root the device using Magisk. Now the (boot/recovery) files are corrupt and after following so many fixes I've also completely wiped the system files. I would like to know if anyone can share a step by step guide with all the correct file types that need to be downloaded and all the commands that are required for a windows 10 PC with the latest Platform-tools already installed. Also if there is any way if it can be fixed by using Android studios?
Also, please note: Bootloader is unlocked but it's not showing Bootloader versions and baseband version in FastBoot mode.
Click to expand...
Click to collapse
Have u tried installing the twrp flashable file of color os6 that is available.
Last time when i was stuck on system destroyed message i used that twrp flashable file and it worked.. Try that
Ezio553 said:
Have u tried installing the twrp flashable file of color os6 that is available.
Last time when i was stuck on system destroyed message i used that twrp flashable file and it worked.. Try that
Click to expand...
Click to collapse
Hey, I resolved it by flashing vbmeta file.

Categories

Resources