FORUMS
Remove All Ads from XDA

[Recovery] Unofficial TWRP 3.x (on Omni base) - peregrine

1,022 posts
Thanks Meter: 503
 
By Darkshado, Senior Member on 7th July 2014, 03:11 AM
Post Reply Email Thread
2016-09-25 Update:

_that has had an official 3.x build for some time now, built on top of a CM-based tree.
My device and kernel trees build TWRP 3.x on top of an Omni 6.0 codebase, see below for more instructions. I won't be posting images for the foreseeable future, I do not have time to provide any support or troubleshooting these days.

2015-04-08 Update:

Somcom3X has a few recent builds in this thread.

2014-08-18 Update:

Somcom3X has posted a new build here.

2014-08-06 Update:

I'm currently quite busy IRL and haven't had time to update my build in the last while. I don't expect to until sometime in September. However I will keep on checking in here on a regular basis to update the OP as needed.
@Somcom3X and @shabbypenguin have made more recent builds which have been reported as working well.
@meekrawb has packaged Somcom3X's build and mine in flashable zip files in this post.

---------------------------------------------------------------
Here's my current TWRP build tree for the Moto G LTE "peregrine".

Features:
  • TWRP 3.x
  • Boots.
  • Works with the external microSD card and USB OTG.

Known issues:
  • Build tree needs work so that falcon, peregrine, condor and titan can coexist easily. Well, this is still true, but far enough down the list that I don't expect it to happen.
  • Some microSD cards have been reported to work on the Motorola stock ROM and not with this recovery. Not much can be done about it unless those with the issue provide meaningful data for myself and others to look at. Device Tree Blobs (DTB) have been updated, shouldn't be an issue anymore.
  • Likely more to come, this has not been tested extensively.

Local manifest

(The info below is actually split over several files in my setup.)

Code:
<manifest>

  <!-- You can also use SSH with ssh://git@github.com/ instead of HTTPS -->
  <remote name="DonkeyCoyote" fetch="https://github.com/DonkeyCoyote/" review="gerrit.omnirom.org"/>
  <remote name="louisrousseau" fetch="https://github.com/louisrousseau/" review="gerrit.omnirom.org"/>
  <remote name="motorola" fetch="https://github.com/MotorolaMobilityLLC/" review="gerrit.omnirom.org"/>

  <!-- Motorola Moto G LTE (peregrine) -->
  <!-- Roomservice takes care of the other entries -->
  <project path="device/moto/peregrine" name="android_device_moto_peregrine" remote="louisrousseau" revision="android-6.0"/>

</manifest>
Short build instructions:
  1. Setup a working OmniROM build system.
  2. Add repos to local manifests
  3. repo sync
  4. lunch omni_peregrine-userdebug
  5. make -j8 recoveryimage
  6. adb reboot bootloader
  7. cd omnirom/out/target/product/peregrine
  8. mfastboot flash recovery recovery.img

Changelog:

See my commits on GitHub and refer to TWRP's for the rest.
One significant change since the last update: I'm using my own kernel build forked from Motorola.

2014-07-16 18:45
  • Changed kernel remote from OmniROM to @shabbypenguin's, at least until the Omni team pulls in the new Motorola kernel release.
  • Minor changes

Thanks
The entire TWRP team for their work, and in particular to @Dees_Troy and @cybojenix for their assistance.

Enjoy,

Darkshado
The Following 44 Users Say Thank You to Darkshado For This Useful Post: [ View ] Gift Darkshado Ad-Free
 
 
7th July 2014, 03:16 AM |#2  
Darkshado's Avatar
OP Senior Member
Montréal
Thanks Meter: 503
 
Donate to Me
More
(Reserved post, just in case)
The Following User Says Thank You to Darkshado For This Useful Post: [ View ] Gift Darkshado Ad-Free
7th July 2014, 03:57 AM |#3  
NWKENT's Avatar
Senior Member
Flag Tryon, North Carolina
Thanks Meter: 740
 
More
Thanks for your work on this..a donation is certainly awaiting..


Sent by my Motorola Droid XYBoard MZ617-32 10.1_ICS 4.04
7th July 2014, 04:12 AM |#4  
Darkshado's Avatar
OP Senior Member
Montréal
Thanks Meter: 503
 
Donate to Me
More
@NWKENT I just uploaded a working version.

(Thanks! I'll have to look into the donation stuff, will put up a link once that's done...)
The Following 2 Users Say Thank You to Darkshado For This Useful Post: [ View ] Gift Darkshado Ad-Free
7th July 2014, 04:15 AM |#5  
Member
Thanks Meter: 12
 
More
Great work! I assume backups work or will we have to wait for a later build?
7th July 2014, 04:37 AM |#6  
Darkshado's Avatar
OP Senior Member
Montréal
Thanks Meter: 503
 
Donate to Me
More
I've made some backups, haven't needed to restore yet. I tried to be exhaustive in terms of the partitions you could backup.
7th July 2014, 05:37 AM |#7  
NWKENT's Avatar
Senior Member
Flag Tryon, North Carolina
Thanks Meter: 740
 
More
Quote:
Originally Posted by Darkshado

@NWKENT I just uploaded a working version.

(Thanks! I'll have to look into the donation stuff, will put up a link once that's done...)

Thank you friend..please post a donation link..I will gladly contribute..


Sent by my Motorola Droid XYBoard MZ617-32 10.1_ICS 4.04

---------- Post added at 11:37 PM ---------- Previous post was at 10:40 PM ----------

Report: v201407062144

Flashed with no problems..
(Install) option works perfectly..to install SuperSU for Root..
Vibrate and screen saver works great..
No SDCard recognized
No OTG-USB recognized
File Manager seems to work
Will boot into recovery from home screen with XPosed..
Will boot to recovery from bootloader..
EDIT: Backup have NOT completed due to lack of free space..

Hope this helps the Dev.

Sent from my 4.4.3_21.23.4
(Unlocked) XT1045 Moto G 4G LTE
http://waynekent.com/page6.html
The Following User Says Thank You to NWKENT For This Useful Post: [ View ] Gift NWKENT Ad-Free
7th July 2014, 05:57 AM |#8  
Darkshado's Avatar
OP Senior Member
Montréal
Thanks Meter: 503
 
Donate to Me
More
I'm busy with something else at the moment, could you try the same things with mfastboot boot instead? If not I will look into this soon.
7th July 2014, 06:07 AM |#9  
NWKENT's Avatar
Senior Member
Flag Tryon, North Carolina
Thanks Meter: 740
 
More
Quote:
Originally Posted by Darkshado

I've made some backups, haven't needed to restore yet. I tried to be exhaustive in terms of the partitions you could backup.

First try..my backup attempt failed..musta done something wrong myself..I have used TWRP for awhile now (about 1 year)..and have many backups on my other devices..I will try again..lol

EDIT: Backup fail because my device didn't have enuff free space, not your fault..mine only..lol

I will work on freeing up some space and try again..what would be "swell" is if we can choose the SDCard to back up to..and I realize once, if ever that issue is resolved, then we could backup to SDCard like SafeStrap..

Sent from my:
(Jaocagomex debloated)
4.4_19.6.3 (Unlocked)
XT1080M Droid Maxx #2
http://waynekent.com/page6.html

---------- Post added at 12:07 AM ---------- Previous post was at 12:03 AM ----------

Quote:
Originally Posted by Darkshado

I'm busy with something else at the moment, could you try the same things with mfastboot boot instead? If not I will look into this soon.

I used mfastboot to flash your version..

Sent from my:
(Jaocagomex debloated)
4.4_19.6.3 (Unlocked)
XT1080M Droid Maxx #2
http://waynekent.com/page6.html
7th July 2014, 06:59 AM |#10  
Member
Thanks Meter: 12
 
More
Backup and restore worked fine.

The OP needs to be updated

Features:

TWRP 2.7.0.1

should be 2.7.1.0
The Following 3 Users Say Thank You to Triggeh For This Useful Post: [ View ] Gift Triggeh Ad-Free
7th July 2014, 04:07 PM |#11  
Senior Member
Flag SJC
Thanks Meter: 133
 
More
Looks great, was able to back up boot/system/data to my SD card. Could not flash it, got a mismatched partition size error (I have an XT1045). Boots OK though.

I also noticed there was not an option to back up the recovery partition, like on some other TWRP's I've used.

Awesome start !
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