Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Here is the twrp method -
First of all what u need is -
1) A Unlock Moto x [How To Unlock Please Follow The Steps ] -http://www.phonearena.com/news/How-to-unlock-the-bootloader-on-Motorola-phones-Moto-X-Moto-G_id53876
2) Twrp Recovery - http://twrp.me/devices/motorolamotox2013.html
How To Install Twrp I used Fastboot method to flash twrp , First of all you needed adb drivers, You can use - http://forum.xda-developers.com/google-nexus-5/development/adb-fb-apx-driver-universal-naked-t2513339
Or http://www.koushikdutta.com/post/universal-adb-driver
After Installing Adb Drivers, Open Cmd And Change Destination to Platform Tools
Code:
fastboot flash recovery twrp.img
fastboot reboot
3) Lollipop Backup - https://mega.co.nz/#!zMZ2mCLQ!tOcVdbj4uaIEKvhVR320RXRyr3HklXS4Cq3NtbrMFkM Thanks To @proxuser
OR
https://drive.google.com/file/d/0B3EDzuzDCakzY25JYVY3UldCbGs/view?usp=sharing Thanks To Me
LATEST LOLLIPOP BACKUP [12/5/15] - https://mega.co.nz/#!TIo10LqT!6Sw6fm7y0ODp4Xf4qgoCSvy0Ix-oQGsAF-9xQGOoWQE Thanks to @proxuser
Now, After downloading the lollipop backup extract the zip
Now Go to file Exlporer Then Go to TWRP Folder Make A Folder Inside it and Rename Its As BACKUPS , Now Go Inside It And Make A New Folder And Rename As According to Your Moto x Serial No. , How To Know U r Moto X Serial No. - Go to Settings and tap About phone, Tap Status. Scroll to view "Serial number". And Rename It with your serial no.
Then Paste the lollipop Backup Inside It Now It will Look Like This -
Now , 1) Switch Off The Cell Now Press The Power On + Volume Down Button
2) Fastboot Menu Will Appear Then To Move Down Press Volume Down And Go to Recovery Option
3) Press Volume Up To select Then Twrp Recovery Will Come Now , Wipe Data,System , Cache And Dalvik Cache
4) Choose The Restore And Swipe It To Install
This Is How I Flashed 5.1 On My XT1052 Without Updating Bootloader
Last edited: