FORUMS
Remove All Ads from XDA

[KitKat] [Lollipop] Root XT1039/XT1040 CF-Auto-Root Peregrine By Chainfire

6,132 posts
Thanks Meter: 3,321
 
By TheFixItMan, Senior Member on 16th November 2014, 03:59 PM
Post Reply Email Thread
CF-Auto-Root Peregrine by Chainfire

I asked chainfire to provide us with a supporting root programme to root the Moto G 4G edition XT1039/XT1040 Peregrine

This will root the Moto G XT1039/XT1040 on KitKat or Lollipop


Instructions
Copy file to pc
Connect phone to PC via USB
Put phone in fastboot mode
Unzip all the files in zip
Run the script depending on what
operating system you are using
Restart phone once done

Optional step
Open the supersu app and update the binary (normal method not recovery)


Download
Chainfires CF-Auto-Root site Here


Notes
You need an unlocked bootloader
You need to unlock your bootloader via the Motorola website before using this!
If you have already unlocked your bootloader in the past it will not format data
This version should do all Peregrine models but use at your own risk



All credit goes to chainfire for making the package
Main CF-Auto-Root XDA thread Here
Main CF-Auto-Root Site Here
The Following 31 Users Say Thank You to TheFixItMan For This Useful Post: [ View ] Gift TheFixItMan Ad-Free
 
 
17th November 2014, 06:10 AM |#2  
Bazilli's Avatar
Senior Member
Flag Oulu
Thanks Meter: 265
 
More
Nice work, thanks!
17th November 2014, 09:15 AM |#3  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,321
 
More
Quote:
Originally Posted by mooms

Thanks you marcussmith2626 (and to Chainfire of course) I have seen the CF AutoRoot the other day and was thinking that the one for XT1003 would surely work for the XT1039/1040/1042/1045, but having one specially made for ours is better.

One thing to know: the recovery is not flashed, only booted (command used is fastboot boot), so no change is made to the (custom) recovery, which is good.

I have already rooted my XT1039 so I do not need to use this but I will use it next time I flash my phone.

I don't know if Chainfire will regularly update these images to update superSU binary, but updating it from Playstore is very easy anyway

Copying quote from the other thread I accidentally double posted to bring everything here
20th December 2014, 01:14 PM |#4  
Mitsch79's Avatar
Senior Member
Thanks Meter: 55
 
More
Quote:
Originally Posted by marcussmith2626

Notes
You need an unlocked bootloader
If you havent previously unlocked your bootloader it will format data as it runs the unlock bootloader command

So this means, we do not need the motorola-website to get an unlock code? CF-Root will unlock
the bootloader on its own? Meaning Motorola can never know that the bootloader was unlocked,
if we lock it again?

Greetz
20th December 2014, 01:16 PM |#5  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,321
 
More
Quote:
Originally Posted by Mitsch79

So this means, we do not need the motorola-website to get an unlock code? CF-Root will unlock
the bootloader on its own? Meaning Motorola can never know that the bootloader was unlocked,
if we lock it again?

Greetz

No you need to unlock the phone via the Motorola website if you have never unlocked the bootloader before

It means if you have relocked the bootloader since you unlocked it then it will unlock it again
The Following 2 Users Say Thank You to TheFixItMan For This Useful Post: [ View ] Gift TheFixItMan Ad-Free
28th December 2014, 02:03 PM |#6  
Senior Member
Flag Nijmegen
Thanks Meter: 17
 
More
WIll I be able to update OTA to Lollipop (when it comes available), with this applied?

/EDIT:
I think I have an answer to above question:
To be able to sideload the OTA I will:
1) download and extract the 5.0 factory image
2) fastboot flash boot boot.img
3) fastboot flash system system.img
4) adb sideload The5_0_1OTA.zip

Anyone can confirm this?
I know I will lose root again after following above steps.
28th December 2014, 10:22 PM |#7  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,321
 
More
Quote:
Originally Posted by bas-r

WIll I be able to update OTA to Lollipop (when it comes available), with this applied?

/EDIT:
I think I have an answer to above question:
To be able to sideload the OTA I will:
1) download and extract the 5.0 factory image
2) fastboot flash boot boot.img
3) fastboot flash system system.img
4) adb sideload The5_0_1OTA.zip

Anyone can confirm this?
I know I will lose root again after following above steps.

Only time will tell if you can update whilst rooted

If you change any apps in system it's unlikely you will be able to
It doesn't change the recovery so you will still have stock recovery

There is an unroot feature in the supersu app but I don't know if this is enough to fully unroot

If all else fails you can always flash stock 4.4.4 and then update
29th May 2015, 04:23 PM |#8  
Senior Member
Thanks Meter: 4
 
More
How to get pass < Waiting for device>
How do you get past the <waiting for device> screen on a mac. I can't seem to overcome that part.

UPDATE:
I've since move on to using a PC instead of a Mac. But now I get:

booting...
FAILED <remote failure>

I also tried unlocking through the motorola website and it tells me I cannot unlock device. Is this normal?
29th May 2015, 08:24 PM |#9  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,321
 
More
Quote:
Originally Posted by DKCN

How do you get past the <waiting for device> screen on a mac. I can't seem to overcome that part.

UPDATE:
I've since move on to using a PC instead of a Mac. But now I get:

booting...
FAILED <remote failure>

I also tried unlocking through the motorola website and it tells me I cannot unlock device. Is this normal?

You need to unlock your bootloader via the Motorola website before you can use this

Some models on certain carriers cannot be unlocked - see Motorola website for details on unlocking bootloader and if your device can be unlocked
6th June 2015, 01:28 AM |#10  
TheFixItMan's Avatar
OP Senior Member
Flag London
Thanks Meter: 3,321
 
More
Tested on official lollipop for XT1039 23.21.17.peregrine_retgb.retgball.en.GB.retgb and roots it fine
Apps optimize on restart and may restart twice - just wait till its finished booting
6th June 2015, 12:24 PM |#11  
dog121's Avatar
Senior Member
Flag london
Thanks Meter: 484
 
More
Quote:
Originally Posted by TheFixItMan

Tested on official lollipop for XT1039 23.21.17.peregrine_retgb.retgball.en.GB.retgb and roots it fine
Apps optimize on restart and may restart twice - just wait till its finished booting

Can I ask have you a copy of this original lollipop firmware... Or a link... Thanks??
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes