yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] sdembiske:
Congratulations on doing your own.

As long as you used the official sites for downloading all, you shouldn't have any issues. Anything that was working as it should on the last Feb Official build, should still be working the same way, no extra bugs, etc., on your own build.

Note

: (Corrected) TWRP version for Encryption:

[MENTION=9586498]florstat[/MENTION] [MENTION=5119654]IronTechmonkey[/MENTION] [MENTION=4878287]_that[/MENTION] [MENTION=7855978]pigeons9[/MENTION]

As a suggestion

: Try using twrp-3.1.0-0-peregrine

or

twrp-3.1.1-0-peregrine for your encryption issues - it seemed to be working with decryption for a number of users, when the later version(s?) weren't. I tested twrp-3.1.0-0 - it works!

Requires Full Clean Flash when installing rom for 1st time from an unofficial build or encrypting for first time, i.e., wipe System, Cache, Dalvik Cache and importantly,

format

Data (first, make sure you back up your data and on your SD card. i.e., photos, videos, etc.) - install OpenGapps after rom install and reboot - when finished setting-up, Encrypt Phone.
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the AUGUST '19 Security Patches, I've uploaded one of my unofficial builds that is based off the official build files with the latest security patches added (refer to post # 1243 for further elucidation). I review and test these patches in LineageOS Gerrit when they're posted, before uploading for your personal use.

Note

: Requires

Full Clean Flash

when installing rom for 1st time from an unofficial build

or

encrypting for first time - in TWRP wipe Cache, Dalvik cache, System and importantly

format

Data > Yes before flashing the appropriate Open Gapps - reboot, encrypt if desired, then in TWRP install preferred root (latest Magisk version recommended) and Xposed, if desired as well.

Important

: Do a nandroid backup first, including your data - copy any data/media files (e.g., photos, videos etc.), on your SD card over to your PC.

If you're coming from one of the unofficial updates I uploaded previously, I recommend you do a regular clean flash (wipe Cache, Dalvik cache & System), re-install Open Gapps, preferred root & Xposed (if required).

Re:

Encryption issues

- use twrp-3.1.0-0-peregrine

or

twrp-3.1.1-0-peregrine. I've tested them and they work.

Download Link for lineage-14.1-20190805-UNOFFICIAL-peregrine.zip:

https://mega.nz/#!oLZXFaYb!CjDTNxxGcyslusjZBYZtguqM0FD3e1URBuaxjxjRC6Q

Important

: After you flash this new build, unpair all your BT devices (headsets, keyboards, etc.) and try to pair them again. Needed to be done whenever there are committed changes/patches that are Bluetooth related.

I do, however, continue to recommend you learn to build it yourselves: refer to post # 1210 for the full build instructions.
[Moto G 4G Android Development] sdembiske:
Improve your battery consumption: a few things to try, in the event you haven't done them already:

- In your phone's Settings > Security & Privacy > Trust > Privacy guard -- when in Privacy Guard click on the 3 vertical dot menu at top right of the screen > Advanced > horizontal scroll over to 'Device' and turn off the Keep Awake setting in Google Play Services & Google Services Framework and on all your User apps that you do not need to be active at all times - also turn off, i.e., ignore Start at Boot & Run in background on those User apps that you do not need instant access to on boot-up etc. There is no impact to their functioning when you need to actually use them.

- Install Amplify, Greenify and Power Nap (net.jzhang.powernap) - refer to: Extreme Battery Life Thread. All require Xposed (to maximize the benefits and to further enhance battery performance).

- In Greenify, in settings make sure you have enabled 'Aggressive Doze (experimental)' and turned on 'Automatic hibernation'.

- In Power Nap > Endurance Mode - allow 'Amplify' to be active in standby (Greenify is automatically allowed).

- In the Google app itself, go to ... more > Settings > Google Assistant > click on the 'Assistant' tab and scroll down to 'Phone', click on that and turn off 'Google Assistant' when it's not needed.

- Install these two Magisk modules: EnableDozeGMS-TWRP-by-otonieru.zip in TWRP and Greenify4Magisk - download and put on your SD card from these links: [MAGISK 16][Battery Saver][6.0+] ENABLE DOZE on Google Play Services and Greenify4Magisk. EnableDozeGMS will optimize the battery for Google Play Services, one of the highest draining apps. Ignore the Magisk 16 in the thread title, it will install and work on the latest Magisk version. Greenify4Magisk will "make Greenify work as a rom-integrated (privileged) app systemlessly (also known as Boost Mode), so you'll achieve the best hibernating performance".

- Use a plain dark (black is best) static wallpaper on both lockscreen and system.

- Use a dark Folder background and Dark themes on any apps that provide the option.
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the SEPTEMBER '19 Security Patches, I've uploaded one of my unofficial builds that is based off the official build files with the latest security patches added (refer to post # 1243 for further elucidation). I review and test these patches in LineageOS Gerrit when they're posted, before uploading for your personal use.

Note

: Requires

Full Clean Flash

when installing rom for 1st time from an unofficial build

or

encrypting for first time - in TWRP wipe Cache, Dalvik cache, System and importantly

format

Data > Yes before flashing the appropriate Open Gapps - reboot, encrypt if desired, then in TWRP install preferred root (latest Magisk version recommended) and Xposed, if desired as well.

Important

: Do a nandroid backup first, including your data - copy any data/media files (e.g., photos, videos etc.), on your SD card over to your PC.

If you're coming from one of the unofficial updates I uploaded previously, I recommend you do a regular clean flash (wipe Cache, Dalvik cache & System), re-install Open Gapps, preferred root & Xposed (if required).

Re:

Encryption issues

- use twrp-3.1.0-0-peregrine

or

twrp-3.1.1-0-peregrine. I've tested them and they work.

Download Link for lineage-14.1-20190905-UNOFFICIAL-peregrine.zip:

https://mega.nz/#!wLpSwSia!1YMKJA-C_Q7zqN7pZt460aXjwydQ77hpgNkyn4oYnxU

I do, however, continue to recommend you learn to build it yourselves: refer to post # 1210 for the full build instructions.
[Moto G 4G Android Development] pigeons9:
Unfortunately my foolish self managed to fry the headphone jack on my Moto G, so I recently picked up a new phone. While tinkering with it I believe I figured out the failed encryption issue on my peregrine. My data folder was formatted as F2FS. I came across a number of threads of fixes for encryption issues by resizing the partition. F2FS apparently does not allow resizing, so in TWRP (latest version) I formatted my data dir to ext4 and afterwards hit the 'Resize Filesystem' button. Encryption was successful afterwards. The new phone was already formatted as ext4, so I believe it was just a matter of hitting the resize button.
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the OCTOBER '19 Security Patches, I've uploaded one of my unofficial builds that is based off the official build files with the latest security patches added (refer to post # 1243 for further elucidation). I review and test these patches in LineageOS Gerrit when they're posted, before uploading for your personal use.

Note

: Requires

Full Clean Flash

when installing rom for 1st time from an unofficial build

or

encrypting for first time - in TWRP wipe Cache, Dalvik cache, System and importantly

format

Data > Yes before flashing the appropriate Open Gapps - reboot, encrypt if desired, then in TWRP install preferred root (latest Magisk version recommended) and Xposed, if desired as well.

Important

: Do a nandroid backup first, including your data - copy any data/media files (e.g., photos, videos etc.), on your SD card over to your PC.

If you're coming from one of the unofficial updates I uploaded previously, I recommend you do a regular clean flash (wipe Cache, Dalvik cache & System), re-install Open Gapps, preferred root & Xposed (if required).

Re:

Encryption issues

- use twrp-3.1.0-0-peregrine

or

twrp-3.1.1-0-peregrine. I've tested them and they work.

Note

: Refer to post # 1274 by [MENTION=7855978]pigeons9[/MENTION] (and remember to hit the Thanks button at the bottom of his post if it helps) for a possible solution to solving encryption issues with newer TWRP versions.

Download Link for lineage-14.1-20191005-UNOFFICIAL-peregrine.zip:

https://mega.nz/#!kTQmWAbL!xX0jBud2kE-2HBCNDtdUQ2M_JBo2kd7WbtnrAjX8Gx4

I do, however, continue to recommend you learn to build it yourselves: refer to post # 1210 for the full build instructions.
[Moto G 4G Android Development] Mogster2K:
Is the Lineage repo no longer getting security patches? Just synched it today, but version_defaults still says "PLATFORM_SECURITY_PATCH := 2019-09-05".
[Moto G 4G Android Development] sdembiske:
The October patch hasn't been 'officially' merged in yet, so when you repo-sync you will still show the Sept. security patch. Not sure what the delay is but I suspect that somebody just hasn't taken the time to do it, perhaps because 15.1 and 16.0 are taking precedence . It has been uploaded into LineageOS Gerrit and reviewed by 6 members but until one of the approved members with merge privileges undertakes to do it, it remains in suspension.

Note

(addendum): I've asked the owner of the Gerrit patch uploads to put a push on with getting it merged in.

If you're willing to do a little extra, you could repopick the topic from LineageOS Gerrit and install the patches that way as that is what most of the reviewers do. Doing it this way, you can get them as soon as they are posted up, normally around the 5th to 7th of each month and when they're later merged in, you will not have to uninstall them as you might have to by adding the patches manually.

If you are interested, PM me and I will provide the information on how to do it initially. If you run into issues you can contact the owner of the post to help you overcome any issues you might run into.
[Moto G 4G Android Development] sdembiske:
[MENTION=4148780]Mogster2K[/MENTION]

The October security patches have now been 'officially' merged in, so, if you are building your own 14.1 rom, when you repo-sync again you'll have them now.
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the NOVEMBER '19 Security Patches, I've uploaded one of my unofficial builds that is based off the official build files with the latest security patches added (refer to post # 1243 for further elucidation). I review and test these patches in LineageOS Gerrit when they're posted, before uploading for your personal use.

Note

: Requires

Full Clean Flash

when installing rom for 1st time from an unofficial build

or

encrypting for first time - in TWRP wipe Cache, Dalvik cache, System and importantly

format

Data > Yes before flashing the appropriate Open Gapps - reboot, encrypt if desired, then in TWRP install preferred root (latest Magisk version recommended) and Xposed, if desired as well.

Important

: Do a nandroid backup first, including your data - copy any data/media files (e.g., photos, videos etc.), on your SD card over to your PC.

If you're coming from one of the unofficial updates I uploaded previously, I recommend you do a regular clean flash (wipe Cache, Dalvik cache & System), re-install Open Gapps, preferred root & Xposed (if required).

Re:

Encryption issues

- use twrp-3.1.0-0-peregrine

or

twrp-3.1.1-0-peregrine. I've tested them and they work.

Note

: Refer to post # 1274 by [MENTION=7855978]pigeons9[/MENTION] (and remember to hit the Thanks button at the bottom of his post if it helps) for a possible solution to solving encryption issues with newer TWRP versions.

Download Link for lineage-14.1-20191109-UNOFFICIAL-peregrine.zip:

https://mega.nz/#!EWZVUQbD!drtaSBhDWKsM7rTlMg2jVXE4ohMohK6MC98aYDRXMQM

I do, however, continue to recommend you learn to build it yourselves: refer to post # 1210 for the full build instructions.
[Moto G 4G Android Development] techhead0:
Thank you for posting this!!! I was trying to build last night but was running into issues. I haven't built for this device since 2018, but I still have the build environment up. The last ROM I built was for peregrine, but it wasn't working. Adding revision="cm-14.1" to my roomservice entries got things working.
[Moto G 4G Android Development] Mogster2K:
[MENTION=6302635]sdembiske[/MENTION] I decide to try using repopick since not all of the November changes have been merged (this is the page we're supposed to use, right?) but I ran into some errors. I picked the first one okay:

$ repopick -r 264159
Applying change number 264159...
--> Subject: "manifest: Track our own iptables"
--> Project path: android
--> Change number: 264159 (Patch Set 1)
['git fetch github', u'refs/changes/59/264159/1']
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 3 (delta 1), reused 1 (delta 1), pack-reused 2
Unpacking objects: 100% (3/3), done.
From git://github.com/LineageOS/android
* branch refs/changes/59/264159/1 -> FETCH_HEAD
[detached HEAD 8a985e6] manifest: Track our own iptables
Author: syphyr <syphyr@gmail.com>
Date: Mon Nov 11 03:02:19 2019 +0100
1 file changed, 1 insertion(+), 1 deletion(-)

but the others failed for some reason:

$ repopick -r 2641160
Change 2641160 not found, skipping
$ repopick -r 2641161
Change 2641161 not found, skipping
$ repopick -r -t n-iptables
Applying change number 264159...
Skipping 264159 - already picked in android as HEAD~0
Applying change number 264160...
ERROR: For 264160, could not determine the project path for project LineageOS/android_external_iptables

I'm not sure what to do next.
[Moto G 4G Android Development] sdembiske:
Normally when that happens, there is a change (another repopick) that is required before the particular repopick you're having issues with can be implemented. So, in the Search bar on the LOS Gerrit page you're on, clear what's there and enter that particular change # that's an issue, i.e., 264160 in this case. When you're on that number's repopick page, look over to the right and in this particular case because the issue you're having is to determine the project path, it is indicating it is most likely a manifest issue, in particular in the default.xml file (.repo > manifests > default.xml) where a change is required before you can implement, for example, 264160. Look down at the bottom line under Same Topic (may have to Show More before you will see it) and you will see on the last line there manifest: Track our own iptables - click on that line to go to it's page. Go down to Download and copy the Cherry Pick line - then go to .repo > manifests, open a command prompt there and paste the cherry pick line in and enter it. That change will be implemented - then enter in another command prompt there: git reset --hard to see if there are any uncommitted changes. Then repopick the original topic again:

note

- when you're entering a repopick topic where multiple repopicks are being entered, use the following command: repopick -t with the the topic number, i.e., repopick -t n-iptables

When you run into issues such as the one you have, you may want to first contact the author of the original repopick topic where you run into issues, to get some help solving. I have found most of them very willing to point you in the right direction.
[Moto G 4G Android Development] Pupet_Master:
Gave me error 7 to flash the build with latest patches
[Moto G 4G Android Development] Pupet_Master:
Anyone has the last Oficial build upload somewhere, please?
[Moto G 4G Android Development] sdembiske:
Error 7 arises when, as a rule, you are trying to flash an incompatible rom version to your phone. As

you are the only member that has reported this

, the issue might have arisen for one of two or 3 reasons:

1. Your rom download is or has become corrected.

1. Your TWRP version is incorrect, corrupted, etc.

2. You're phone model is incompatible with the rom version, i.e., it's not a 'peregrine'.

If your sure that all the points above do not apply in your situation, the first thing I would do is re-download the rom and do a full clean flash in the event a data corruption occurred somewhere along the line in your phone beforehand. If you're sure about your phone model being a 'peregrine', you could try removing the 'assert' line in the rom but it shouldn't be necessary as I suspect the issue resides elsewhere.

If you want the last 'official' rom, one of the members posted the link some posts/pages ago ...
[Moto G 4G Android Development] Pupet_Master:
Yea sadly, my phone radio is dead, it know my SIM is inserted but i made EVERY WIPE, fastboot flash radio again, installed even stock Android 5.1 and it still has no signal (out of no where that happen too).

I guess i'll need to finally recycle the Moto G
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the DECEMBER '19 Security Patches, I've uploaded one of my unofficial builds that is based off the official build files with the latest security patches added (refer to post # 1243 for further elucidation). I review and test these patches in LineageOS Gerrit when they're posted, before uploading for your personal use.

Note

: Requires

Full Clean Flash

when installing rom for 1st time from an unofficial build

or

encrypting for first time - in TWRP wipe Cache, Dalvik cache, System and importantly

format

Data > Yes before flashing the appropriate Open Gapps - reboot, encrypt if desired, then in TWRP install preferred root (latest Magisk version recommended) and Xposed, if desired as well.

Important

: Do a nandroid backup first, including your data - copy any data/media files (e.g., photos, videos etc.), on your SD card over to your PC.

If you're coming from one of the unofficial updates I uploaded previously, I recommend you do a regular clean flash (wipe Cache, Dalvik cache & System), re-install Open Gapps, preferred root & Xposed (if required).

Re:

Encryption issues

- use twrp-3.1.0-0-peregrine

or

twrp-3.1.1-0-peregrine. I've tested them and they work.

Note

: Refer to post # 1274 by [MENTION=7855978]pigeons9[/MENTION] (and remember to hit the Thanks button at the bottom of his post if it helps) for a possible solution to solving encryption issues with newer TWRP versions.

Download Link for lineage-14.1-20191208-UNOFFICIAL-peregrine.zip:

New

Link: https://mega.nz/#!xeBj2IZR!H_Ekk9aLSu8Kf-ME2N88ldp4DmUTE5bkir8ydfYXauU

I do, however, continue to recommend you learn to build it yourselves: refer to post # 1210 for the full build instructions.
[Moto G 4G Android Development] sdembiske:
[MENTION=6920705]Brotherofsun[/MENTION] [MENTION=5119654]IronTechmonkey[/MENTION] [MENTION=5252269]josehbermudez[/MENTION] [MENTION=8784415]MaCianz[/MENTION] [MENTION=6286310]mizi_[/MENTION] [MENTION=6270363]PenguinDada[/MENTION]

and any other members who downloaded the December security patch updated rom but didn't hit the Thanks button (good reason to remember to do it, eh?).

IMPORTANT:

Please NOTE: The link for the December upload of the December security patch has been removed temporarily as one of the patches pushed through from AOSP on further testing by some reviewers has been found to create crashes on some social media sites, e.g., Facebook and some others - the particular problematic AOSP patch has been abandoned by the originator of the LineageOS Gerrit security patch upload - new builds are running now - check back later - ran into an unrelated issue (3 build fails - hope I have found the issue now). You will have to re-download the rom again if this affects you - I apologize for any inconvenience to you.

S.
[Moto G 4G Android Development] sdembiske:
[MENTION=6920705]Brotherofsun[/MENTION] [MENTION=5119654]IronTechmonkey[/MENTION] [MENTION=5252269]josehbermudez[/MENTION] [MENTION=8784415]MaCianz[/MENTION] [MENTION=6286310]mizi_[/MENTION] [MENTION=6270363]PenguinDada[/MENTION] [MENTION=9727366]jwieland[/MENTION] [MENTION=5560205]NAZY1983[/MENTION]

New link for the upload of the December security patch is ready now in post # 1287

I apologize for the delay and any inconvenience to you.

S.
[Moto G 4G Android Development] MaCianz:
Thanks for keeping this rom updated:good:
[Moto G 4G Android Development] jwieland:
I'm unable to download from https://mega.nz/#!xeBj2IZR!H_Ekk9aLSu8Kf-ME2N88ldp4DmUTE5bkir8ydfYXauU -- all I is a messages in red at the top of the window that says, "Temporary error, retrying." Has anyone else been able to download it?
[Moto G 4G Android Development] sdembiske:
Just tested it - got the same error - may be a MegaSync system site upgrade - will check again tomorrow and check into it further.

---------- Post added at 02:50 AM ---------- Previous post was at 02:25 AM ----------

Looks like an encryption key issue developed somewhere along the line - just re-copied the link with the encryption key embedded from their site and re-posted it. Should be good to go now.

Thanks,

S.
[Moto G 4G Android Development] jwieland:
Yep, it works now. Thanks!
[Moto G 4G Android Development] jwieland:
I'm getting "Updater process ended with signal: 7

I'd downloaded about 7 hours ago successfully, so I tried to download it again, and I'm getting that "Temporary error, retrying. again. Sign.
[Moto G 4G Android Development] jwieland:
It was my own doing. Since I'd installed the Nov, build, I'd updated TWRP to 3.3.1-0. I went back to 3.2.3-0, and now the Dec. build will install. I couldn't install the Nov. build with 3.3.1-0 either.
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the JANUARY '20 Security Patches, I've uploaded one of my unofficial builds that is based off the official build files with the latest security patches added (refer to post # 1243 for further elucidation). I review and test these patches in LineageOS Gerrit when they're posted, before uploading for your personal use.

Note

: Requires

Full Clean Flash

when installing rom for 1st time from an official build

or

encrypting for first time - in TWRP wipe Cache, Dalvik cache, System and importantly

format

Data > Yes before flashing the appropriate Open Gapps - reboot, encrypt if desired, then in TWRP install preferred root (latest Magisk version recommended) and Xposed, if desired as well.

Important

: Do a nandroid backup first, including your data - copy any data/media files (e.g., photos, videos etc.), on your SD card over to your PC.

If you're coming from one of the unofficial updates I uploaded previously, I recommend you do a regular clean flash (wipe Cache, Dalvik cache & System), re-install Open Gapps, preferred root & Xposed (if required).

Re:

Encryption issues

- use twrp-3.1.0-0-peregrine

or

twrp-3.1.1-0-peregrine. I've tested them and they work.

Note

: Refer to post # 1274 by [MENTION=7855978]pigeons9[/MENTION] (and remember to hit the Thanks button at the bottom of his post if it helps) for a possible solution to solving encryption issues with newer TWRP versions.

Download Link for lineage-14.1-20200109-UNOFFICIAL-peregrine.zip:

Link

: https://mega.nz/#!hf4VnCqJ!oul8qYNtptPWnyt9bCFOMGmahmeHBQhtCZJvlJGEf8Y

I do, however, continue to recommend you learn to build it yourselves: refer to post # 1210 for the full build instructions.
[Moto G 4G Android Development] sdembiske:
For those members that have been downloading and using the unofficial builds I've been posting in this thread, check out my latest LineageOS 16.0 unofficial build in post # 231 in the [ROM][UNOFFICIAL][9.0] LineageOS 16.0 [PEREGRINE] thread.

You may be pleasantly surprised with the improvements in the rom from the last build that was posted by the author of the thread.

Note

however: Encryption is not working fully at this stage

No worries if it's not for you, I will maintain this one as well as the 16.0 one as long as I can.