[GUIDE] Republic Wireless Moto X (XT1049) Root, Safestrap, TWRP, and Custom ROM

Search This thread

jbrukardt

Senior Member
Feb 25, 2013
103
35
Good evening all, after experimenting on my RW XT1049 MotoX a bit, I have successfully rooted, installed Safestrap (laymans term: dual boot), installed a custom ROM, and enabled full recovery on the phone. I also was able to UNDO all this for a return to complete stock.

All steps below are not condoned by republic wireless in any way, and are in violation of your agreement with them. You will immediately void your phones warranty, and your agreement with republic wireless. That said... we're tinkerers, its what we do. Dont blame me, republic wireless, or my dog for anything that bricks, breaks, or exploded. If nuclear war starts because of your actions, its not Republics fault.

All credit goes to Hashcode for safestrap, and jCase for root. All files are located in respective links out of respect for them. If you dont know how to use adb, this guide is not for you.


Now that all thats said, for those not familiar with Safestrap, it is a custom recovery for phones with a locked bootloader, it enables "dual booting" of your phone, meaning that you can keep the stock RW rom (which we now have a raw image of) in your stock ROM slot, but also create up to 4 additional ROM slots for multi booting. I personally have the stock slot which i leave completely alone, a daily custom ROM in slot 1, and an experimental ROM in slot 2.

Now, as to how to do this. You need to complete five steps

Do a complete stock restore of your device using RSDLITE
http://theunlockr.com/2013/11/09/unroot-moto-x-all-versions/
A) Root using RockMyMoto
http://forum.xda-developers.com/showthread.php?t=2509590
B) Install the Tmobile XT1053 Safestrap
http://rootzwiki.com/topic/104161-recovery-locked-safestrap-recovery-v365-2013-11-13/
C) Perform an immediate back up of your stock rom slot, and get it off your phone as a backup
D) Create as many ROM slots as you like
E) Install the stock ROM back to one of your new ROM slots (NOT STOCK SLOT) and tinker, modify, and mess with it until your hearts content, knowing that you cant brick the device anymore, and you will always have your stock ROM in the STOCK slot.

0) So you learn how, and can do it if you brick your device during this process, do a complete stock restore of your device using the stock image, and RSDlite. If you dont do this, and try to do any of the following steps on an existing cluttered stock rom, i offer no guarantees of any kind

A) Rooting


RockMyMoto is designed for MotoXs that have recieved the Camera update, patching PwnMyMoto. If you are unsure of your firmware, try PwnMyMoto first.

First step is to install Cydia Impactor, by Saurik. http://www.cydiaimpactor.com/ This is required. You will also need adb installed and working, and be comfortable with the command line. Your phone must be on the same network as your PC.

Figure out the ip address of your phone:


Quote:

adb shell getprop dhcp.wlan0.ipaddress
unzip RockMyMoto-{version}.zip and push the exploit and su to /sdcard/:



Quote:

adb push su /sdcard/
adb push RockMyMoto.jar /sdcard/
Run Impactor and select "# start telnetd as system on port 2222", then hit start.

Once the process is complete, run telnet:



Quote:

telnet {your phone's ipaddress} 2222
Run the exploit through telnet



Quote:

dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
The exploit will tell you to use adb to reboot:



Quote:

adb reboot
Run the exploit through telnet for the second time, it will reboot on it's own:



Quote:

dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
Run the exploit through telnet for the third time, it will not reboot:



Quote:

dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
Wait 0-60 seconds, for su to install, then install SuperSu from the market.

Enjoy!

B) Installing Safestrap

HOW DO I INSTALL SAFESTRAP?

  • Be Rooted (Look for PWNMYMOTO/RockMyMoto by JCase):
  • RockMyMoto: http://rootzwiki.com...-the-first-ota/
  • PwnMyMoto: http://rootzwiki.com...-miniultramaxx/
  • Make sure in "Settings" -> "Security" you have "Unknown Sources" checked
  • Download the Safestrap APK to your device
  • Find the APK using a Filemanager tool and open it on your device, then click "Install".
  • (If updating from an existing Safestrap you might be warned that this will over-write the existing installation. Click the "Yes" equivalent to this message.)
  • Once installed, open up the Safestrap application as you would any other app.
  • Reboot into the Write-Protect Off (recovery) Android OS via the safestrap app (if this doesnt show up, you may still be in Write-Protect-Off from the last reboot when you rooted)
  • Agree to the disclaimer that you won't try to sue me and hunt me down with a rifle if you manage to break your phone..
  • Then use the "Install Recovery" button. You should see the current version down in the lower left corner of the window. And the "Status:" should say "Installed" when you're done.
  • From there you can reboot and you *should* see a new splash screen during the boot up. While this is showing you can enter Safestrap Recovery using the [ menu ] button.
  • That's it for the installation! Read below for a brief overview of Safestrap Recovery v3.x



C) Backup, this is self explanatory. If you dont know how to do a TWRP backup, and you've gotten this far, im amazed nuclear war hasnt started

D) Creating Custom ROM slots

  • Reboot your phone, select recovery
  • Select boot options
  • Select ROM slot 1
  • What size of /data slot should I make? 1GB for testing, 2GB as a small daily ROM and 3GB for a decent heavy use daily ROM.
  • Let it finish
  • Return to Recovery main menu
  • choose restore
  • restore your recent backup to ROM Slot 1
  • Reboot
  • Congratulations, you now have a safestrapped device. Mess with your ROM to your hearts content.
 
Last edited by a moderator:

jumphour

Senior Member
Mar 10, 2011
154
30
CT
LOL oh sure.....I did the old ADB method. I haven't rooted anything in like 2 years. Took me forever. Wish I saw your post!

Oh, now that I have TB installed, should I freeze the update so I don't get KitKat until I have this all figured out? Not that it'll be a rush, since RW says "early 2014"....but I might as well if you think I should freeze it just in case.
 
Last edited:

travisn000

Senior Member
Oct 13, 2007
174
33
Does any of this allow for use of a SIM from a carrier other than Republic? I have a buddy looking for an occasional use phone that will be used both here in the US, but also when visiting family in Romania.. he would like to be able to use a romainian SIM while traveling.
 
Last edited:
  • Like
Reactions: jkwilsonj

bongostl

Senior Member
Apr 28, 2010
1,111
569
Great guide, but it probably should be in the General folder rather than the Original Development....I'm guessing an admin will move it!

Thanks for putting this together...I was just debating getting one of these!
 

EeyoreSyndrome

Senior Member
May 29, 2012
158
30
35
Republic as Sprint uses CDMA for cell-network. The SIM in these phones are for LTE connectivity for data only. And Republic service is for US residents only. (Tho if you travel, as long as you have WiFi everything is gravy, not sure how roaming over there would work though.)
 

kellison007

Member
Feb 13, 2012
26
6
Thank you for this guide. Would you be able to post/link the moto firmware for our device? The main person's site hosting all these are down.

Edit: Firmware Site is back up. Would be interested in what ROMs you've tried/works.
 
Last edited:

wbehuman

New member
Feb 14, 2011
4
0
Thank you for this guide. Would you be able to post/link the moto firmware for our device? The main person's site hosting all these are down.

Yeah, I couldn't get the link to work either. I did find a Republic Wireless download for the Moto X on their site, but I'm still not sure if it's the right one.
 
Last edited:

wbehuman

New member
Feb 14, 2011
4
0
What roms have your flashed?

Sent from my XT1049 using Tapatalk

I haven't flashed anything yet. I wanted to make sure that I would be able to complete the unroot method using RSD lite before I tried anything else. As far as I can tell, I've found the correct download for the Republic Moto x and I'm going to give it a shot. I'm definitely no expert and I have very limited knowledge about the details of WHY all this stuff works, but I've been successful in rooting and modifying many different phones and tablets (of varying degrees of difficulty) by just carefully and thoroughly studying instructions and forums and following the instructions. Any advice that I could get would be greatly appreciated
 

SubliminalME

Senior Member
Mar 23, 2011
384
71
Princeton
Nobody flashes roms on a moto x. A rooted device is not an unlocked device. A rooted locked device doesn't accept a non stock kernel. You can flash like 2 roms now and they are basically just cleaned up stock roms. Here's what you do with a rooted Moto x. You install xposed. You install gravity box. This let's you install a reboot menu, maybe change around some settings which stock roms don't let you, status bar stuff, for example. You install ad blocking software. That's pretty much it.

Think of the roms you've installed. They're basically roms that get rid of touchwiz or sense, and bring it closer to stock. We already have stock. Without a kernel, which requires an unlocked bootloader, there's no over clocking.





Sent from my XT1060 using Tapatalk
 

RobertsDF

Senior Member
Oct 19, 2009
330
36
I haven't flashed anything yet. I wanted to make sure that I would be able to complete the unroot method using RSD lite before I tried anything else. As far as I can tell, I've found the correct download for the Republic Moto x and I'm going to give it a shot. I'm definitely no expert and I have very limited knowledge about the details of WHY all this stuff works, but I've been successful in rooting and modifying many different phones and tablets (of varying degrees of difficulty) by just carefully and thoroughly studying instructions and forums and following the instructions. Any advice that I could get would be greatly appreciated
I've used the Republic Fxz to flash back to stock, it worked fine.


Sent from my XT1049 using Tapatalk
 
Last edited:
  • Like
Reactions: wbehuman

kellison007

Member
Feb 13, 2012
26
6
Nobody flashes roms on a moto x. A rooted device is not an unlocked device. A rooted locked device doesn't accept a non stock kernel. You can flash like 2 roms now and they are basically just cleaned up stock roms. Here's what you do with a rooted Moto x. You install xposed. You install gravity box. This let's you install a reboot menu, maybe change around some settings which stock roms don't let you, status bar stuff, for example. You install ad blocking software. That's pretty much it.

Think of the roms you've installed. They're basically roms that get rid of touchwiz or sense, and bring it closer to stock. We already have stock. Without a kernel, which requires an unlocked bootloader, there's no over clocking.

Sent from my XT1060 using Tapatalk

Thank you for clearing this up, very helpful. Was wondering if anyone had a rough list of which programs(visible or not) that are safe to remove after obtaining root. For example, using the un-install(system apps) feature in Titanium Backup.

Also, how much memory do you think the Stock Rom slot is taking. I feel just so low on memory when installing a certain number of apps. Wondering if I should ditch the custom rom slots and simply use the main stock-ROM. Just redo this guide's restore feature if I happen to f**k anything up. Any examples of what other are doing are much appreciated.
 

Victor Czar

Member
May 20, 2013
16
1
Irvine
My Thread

I'm creating a thread now about all the stuff you can do on the RW Moto X too, mind if I link your thread in there?

---------- Post added at 03:42 PM ---------- Previous post was at 03:38 PM ----------

Republic Wireless's Moto X has a locked bootloader so custom roms cant be flashed at the moment, and the Moto X only accepts roms signed by Republic as of now, which explains why you were able to flash stock.

What roms have your flashed?

Sent from my XT1049 using Tapatalk
 
  • Like
Reactions: davidricardo86

hovlandbr

New member
Dec 21, 2013
4
0
RW Safestrap Bootloop and a failed Restore

I'm creating a thread now about all the stuff you can do on the RW Moto X too, mind if I link your thread in there?

---------- Post added at 03:42 PM ---------- Previous post was at 03:38 PM ----------

Republic Wireless's Moto X has a locked bootloader so custom roms cant be flashed at the moment, and the Moto X only accepts roms signed by Republic as of now, which explains why you were able to flash stock.

I just tried to restore My RW after a bootloop happened on my safestrap image. It wouldn't allow me to get to safe straps boot screen. Tried the restore and ever other option on the fast boot screen. Finally I tried the unroot restore with the stock RW image. Followed the steps. It failed at step 7. Any advice?
 

kellison007

Member
Feb 13, 2012
26
6
I had the same problem you might to download fastboot and clear the cache or even user data(this will usually wipe everything). If all else fails you will probably need to start from scratch with the beginning of this guide.

Sent from my XT1049 using Tapatalk
 
  • Like
Reactions: hovlandbr

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Good evening all, after experimenting on my RW XT1049 MotoX a bit, I have successfully rooted, installed Safestrap (laymans term: dual boot), installed a custom ROM, and enabled full recovery on the phone. I also was able to UNDO all this for a return to complete stock.

    All steps below are not condoned by republic wireless in any way, and are in violation of your agreement with them. You will immediately void your phones warranty, and your agreement with republic wireless. That said... we're tinkerers, its what we do. Dont blame me, republic wireless, or my dog for anything that bricks, breaks, or exploded. If nuclear war starts because of your actions, its not Republics fault.

    All credit goes to Hashcode for safestrap, and jCase for root. All files are located in respective links out of respect for them. If you dont know how to use adb, this guide is not for you.


    Now that all thats said, for those not familiar with Safestrap, it is a custom recovery for phones with a locked bootloader, it enables "dual booting" of your phone, meaning that you can keep the stock RW rom (which we now have a raw image of) in your stock ROM slot, but also create up to 4 additional ROM slots for multi booting. I personally have the stock slot which i leave completely alone, a daily custom ROM in slot 1, and an experimental ROM in slot 2.

    Now, as to how to do this. You need to complete five steps

    Do a complete stock restore of your device using RSDLITE
    http://theunlockr.com/2013/11/09/unroot-moto-x-all-versions/
    A) Root using RockMyMoto
    http://forum.xda-developers.com/showthread.php?t=2509590
    B) Install the Tmobile XT1053 Safestrap
    http://rootzwiki.com/topic/104161-recovery-locked-safestrap-recovery-v365-2013-11-13/
    C) Perform an immediate back up of your stock rom slot, and get it off your phone as a backup
    D) Create as many ROM slots as you like
    E) Install the stock ROM back to one of your new ROM slots (NOT STOCK SLOT) and tinker, modify, and mess with it until your hearts content, knowing that you cant brick the device anymore, and you will always have your stock ROM in the STOCK slot.

    0) So you learn how, and can do it if you brick your device during this process, do a complete stock restore of your device using the stock image, and RSDlite. If you dont do this, and try to do any of the following steps on an existing cluttered stock rom, i offer no guarantees of any kind

    A) Rooting


    RockMyMoto is designed for MotoXs that have recieved the Camera update, patching PwnMyMoto. If you are unsure of your firmware, try PwnMyMoto first.

    First step is to install Cydia Impactor, by Saurik. http://www.cydiaimpactor.com/ This is required. You will also need adb installed and working, and be comfortable with the command line. Your phone must be on the same network as your PC.

    Figure out the ip address of your phone:


    Quote:

    adb shell getprop dhcp.wlan0.ipaddress
    unzip RockMyMoto-{version}.zip and push the exploit and su to /sdcard/:



    Quote:

    adb push su /sdcard/
    adb push RockMyMoto.jar /sdcard/
    Run Impactor and select "# start telnetd as system on port 2222", then hit start.

    Once the process is complete, run telnet:



    Quote:

    telnet {your phone's ipaddress} 2222
    Run the exploit through telnet



    Quote:

    dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
    The exploit will tell you to use adb to reboot:



    Quote:

    adb reboot
    Run the exploit through telnet for the second time, it will reboot on it's own:



    Quote:

    dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
    Run the exploit through telnet for the third time, it will not reboot:



    Quote:

    dalvikvm -cp /sdcard/RockMyMoto.jar RockMyMoto
    Wait 0-60 seconds, for su to install, then install SuperSu from the market.

    Enjoy!

    B) Installing Safestrap

    HOW DO I INSTALL SAFESTRAP?

    • Be Rooted (Look for PWNMYMOTO/RockMyMoto by JCase):
    • RockMyMoto: http://rootzwiki.com...-the-first-ota/
    • PwnMyMoto: http://rootzwiki.com...-miniultramaxx/
    • Make sure in "Settings" -> "Security" you have "Unknown Sources" checked
    • Download the Safestrap APK to your device
    • Find the APK using a Filemanager tool and open it on your device, then click "Install".
    • (If updating from an existing Safestrap you might be warned that this will over-write the existing installation. Click the "Yes" equivalent to this message.)
    • Once installed, open up the Safestrap application as you would any other app.
    • Reboot into the Write-Protect Off (recovery) Android OS via the safestrap app (if this doesnt show up, you may still be in Write-Protect-Off from the last reboot when you rooted)
    • Agree to the disclaimer that you won't try to sue me and hunt me down with a rifle if you manage to break your phone..
    • Then use the "Install Recovery" button. You should see the current version down in the lower left corner of the window. And the "Status:" should say "Installed" when you're done.
    • From there you can reboot and you *should* see a new splash screen during the boot up. While this is showing you can enter Safestrap Recovery using the [ menu ] button.
    • That's it for the installation! Read below for a brief overview of Safestrap Recovery v3.x



    C) Backup, this is self explanatory. If you dont know how to do a TWRP backup, and you've gotten this far, im amazed nuclear war hasnt started

    D) Creating Custom ROM slots

    • Reboot your phone, select recovery
    • Select boot options
    • Select ROM slot 1
    • What size of /data slot should I make? 1GB for testing, 2GB as a small daily ROM and 3GB for a decent heavy use daily ROM.
    • Let it finish
    • Return to Recovery main menu
    • choose restore
    • restore your recent backup to ROM Slot 1
    • Reboot
    • Congratulations, you now have a safestrapped device. Mess with your ROM to your hearts content.
    5
    It's WORKING!!!

    I did it. I now have an update.zip that you can flash from SafeStrap, keeping your recovery where it is at already.

    This means that if you f- something up, you can just sbf back to stock 4.2.2, root, safestrap, my update.zip, and then be back at rooted 4.4.2, with WP off.

    I have a road trip tomorrow, so I will be on my mobile, but in the mean time.

    Here is the update.zip

    http://www.leetnet.net/update_SafeStrap_4.4.2_RW.zip

    here is what I flashed after the update.zip

    Code:
    fastboot flash boot boot.img
    fastboot flash modem NON-HLOS.bin
    fastboot erase modemst1
    fastboot erase modemst2
    fastboot flash fsg fsg.mbn

    DO NOT FLASH RECOVERY!!! YOU WILL BRICK IT, OR WORSE NEVER BE ABLE TO FLASH 4.2.2 AGAIN!!!!

    and I flashed the SuperSu.zip (in SafeStrap) after the first boot.

    Real HOW TO guide to follow tomorrow evening (post 6 PM EST 5/1/14).
    3
    Apparently I cannot post links yet either. This is the second part of the media fire link:

    ?klfakn129tyf86v

    So enter Mediafire. Com /?klfakn129tyf86v

    Man that looks tacky... Happy downloading!
    3
    Please toss yours up if you dont mind :) ?

    I'm at work right now, but I will definitely post it later this evening when I get home.
    2
    where is the raw stock rom download?

    here's a link....it's in this list, alphabetically, in the carrier column. http://sbf.droid-developers.org/phone.php?device=0
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone