yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the JANUARY '21 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

: This update is large and necessitated downgrading to Open Gapps PICO in order to fully install to the system partition.

FYI

: for those of you building the rom for yourselves, the November and December updates, have been 'officially' merged in now. No changes of note to warrant another upload to the current rom download available at the link below.

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 @pigeons9 (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-20210110-UNOFFICIAL-peregrine.zip:

File on MEGA

mega.nz

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] Brotherofsun:
Correct file name: lineage-14.1-20210110-UNOFFICIAL-peregrine.zip

;-)
[Moto G 4G Android Development] sdembiske:
Deleted
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the FEBRUARY '21 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

: This update and the January '21 are both large and will likely require downgrading to Open Gapps PICO in order to fully install to the system partition.

FYI

: for those of you building the rom for yourselves, the January and February '21 updates, have not been 'officially' merged in yet.

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 @pigeons9 (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-20210206-UNOFFICIAL-peregrine.zip:

326.91 MB file on MEGA

mega.nz

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 of you wishing to update to the MARCH '21 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

: Recent updates are large and may require downgrading to Open Gapps PICO in order to fully install to the system partition.

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 @pigeons9 (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-20210304-UNOFFICIAL-peregrine.zip:

File on MEGA

mega.nz

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 of you wishing to update to the APRIL '21 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

: Recent updates are large and may require downgrading to Open Gapps PICO in order to fully install to the system partition.

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 @pigeons9 (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-20210407-UNOFFICIAL-peregrine.zip:

File on MEGA

mega.nz

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:
Nano just barely fits on mine. 79.3 MB free with stock dialer and Magisk 22.
[Moto G 4G Android Development] sdembiske:
I installed a Pico version from Jan. 10 and have 268 MB free in system. What I have noticed is that later versions of OpenGapps are larger in size, so one thing to do is check out older versions. There is also a new thread you could check out on XDA - BiTGApps.

You can remove system apps you don't need or want, move apps over to your SD card etc. Failing that you can try expanding your system partition with cache being the most likely place to get the additional storage from.
[Moto G 4G Android Development] Mogster2K:
Personally I wouldn't recommend using an old version of Gapps since some parts (like the DialerFramework) are only available in the Gapps package and can't be upgraded thru the Play Store.

If someone wants to make some space, they could exclude individual apps. For example, Google Search can be excluded by creating a file named "gapps-config.txt" that contains the text "Search" and placing it in the same folder as the Gapps package before flashing. See here for more info:

Advanced Features and Options

The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.

github.com
[Moto G 4G Android Development] sdembiske:
Google dialer framework can be installed with a Majisk module or as an apk from apk mirror which then allows the download and update of Google phone from Play Store.

You may also want to refer to this piece from OpenGapps: https://opengapps.org/blog/post/2016/05/13/google-dialer-for-all/ from May 13, 2016. It would appear your example may not be entirely relevant.
[Moto G 4G Android Development] Mogster2K:
Yes and no - that post refers to the Dialer app being available from the Play Store, not the framework.

TBH I'm not sure whether the framework is really needed. Maybe I'm just flashing it out of habit?
[Moto G 4G Android Development] franchips:
Newcomer to this "ROM" world, I would like first to thank you for all your work.

Thanks to sdembiske's tutorial, I've just finished to build my first unofficial ROM (with many warnings :unsure:) on a Linux Mint fresh OS.

It lasted:

- 3h30 on a 10 years old Athlon II X3 445 cpu + 8 GB DDR3 the first time;

- 2h30 the second time (thanks to ccache ?)

I didn't manage to build it with only 4 GB DDR2... I should spend more time trying different build options (JACK toolchain options are cryptic for me)

Now, I have to flash my Moto G 4G (never done it before !).

Question1 : does someone know how long will the 14.1 branch be maintained please ?

Thank you all.
[Moto G 4G Android Development] sdembiske:
The rom for this phone is no longer 'officially' maintained by LineageOS - it is up to contributing members to keep it updated. I took it on to post my builds based off the official for other members not able to build it for themselves or unwilling to. It will be maintained by me here for those individuals as long as the phone is still in use in our family and AOSP and Google security updates are made available for the 14.1 LineageOS version and are merged in by the LineageOS Gerrit contributors and verifiers and team members authorized the merge the updates in.
[Moto G 4G Android Development] franchips:
All right, I managed to flash the ROM I built and my smartphone is now far faster than before !

The only issue I encouter now is that I can not encrypt my phone data : when I click on the "encrypt the phone" button, the Android green robot appears and then the phone immediately reboots.

Many thanks
[Moto G 4G Android Development] Mogster2K:
First, congratulations! You've taken your first step into a larger world. ;)

Second, I don't know why it would fail to encrypt, but I do think that encrypting it would remove any speed gains. The CPU does not have hardware acceleration for encryption (it's just too old.)

Third, Look in the phone settings under "About phone". What date is listed under "Android security patch level"?
[Moto G 4G Android Development] sdembiske:
Are you using the TWRP versions listed in the Security update posts?

"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 @pigeons9 (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."
[Moto G 4G Android Development] franchips:
Hi Mogster2K, thank you for your reply and for your congratulations : the security patch date is April 5, 2021.

Hi sdembiske, thank you for your reply. You are right, I used the last twrp-3.5.2_9-0-peregrine.img... It seems that I missed the post refering to this.

So I will give up encryption because now my phone is running perfectly and I don't want to break anything.

Next step : May security updates ! I hope I will not make mistakes and erase data...
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the MAY '21 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

: Recent updates are large and may require downgrading to Open Gapps PICO in order to fully install to the system partition.

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 @pigeons9 (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-20210507-UNOFFICIAL-peregrine.zip:

File on MEGA

mega.nz

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] RogerH63:
Is there any benefit from installing latest peregrine LineageOS 14.1 / Android 7.x builds? Google has stopped supporting Android 7.x more than a year ago. Unfortunately I cannot upgrade to LineageOS 16.0 due to some stability issues (despite carefully following upgrade instructions).
[Moto G 4G Android Development] SirRGB:
Ofc there are benefits. Updated builds include latest security patch and therefore are more safe.

Note:

If you update to lineage os 16 be sure to format data as ext4.
[Moto G 4G Android Development] sdembiske:
While both LOS_14.1 & 16.0 have the latest Google and AOSP security updates and improvements, the 14.1 is based off the approved build files that were maintained "officially" by the Lineage team and are therefore inherently more stable. The 16.0 required substantially more modifications in order to get a working version suitable for daily use. It was never maintained 'officially' by the Lineage team and its demands on the processor are greater which can lead to more instability in some instances. Most issues will arise if a FULL clean flash is not done, i.e., if the Data partition is not formatted (Format > Yes) in addition to wiping the System, Cache and Dalvik cache partitions before flashing the rom.
[Moto G 4G Android Development] Mogster2K:
Security updates and bugfixes.
[Moto G 4G Android Development] sdembiske:
Addendum/Correction - IMPORTANT

:

It appears that some June security and OS updates for Android 7.1 have now been posted in LineageOS Gerrit (and by default for LineageOS 14.1).

(Google may now have finally ended support, unfortunately, for these and lower versions.)

Note

: This has now been confirmed. Google is no longer supporting Android 7.1 and lower versions. However, updates for 7.1 (Nougat) and 8.1 (Oreo) are very similar and the relevant ones from 8.1 have been cherry picked and incorporated for 7.1. So, for as long as 8.1 is continuing to be supported by Google, there will likely be some relevant security updates for this rom.

The only alternative now for this phone for Daily use that will still be receiving Google supported security and OS updates for now is the [ROM][UNOFFICIAL][9.0] LineageOS 16.0 [PEREGRINE] based on Android 9.0 (Pie) - check out the latest posts there for the most recent update downloads.
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the JUNE '21 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.

@Brotherofsun @IronTechmonkey @Mogster2K @phoenixmet - Sorry for any inconvenience, but member LR of LineageOS Gerrit posted security updates from Android 8.1 and higher versions that are relevant still for Android 7.1 versions. The updates for Nougat and Oreo are very similar and have been cherry picked for 7.1 (Nougat). As long as there are some updates forthcoming (probably until 8.1 is not supported by Google), I will try and continue to post them.

Note

: Recent updates are large and may require downgrading to Open Gapps PICO in order to fully install to the system partition.

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 @pigeons9 (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-20210615-UNOFFICIAL-peregrine.zip:

https://mega.nz/file/QXoUUTBJ#A9dWx4CvteuqkSsJNSnM39KZXDkDoiEyaoqSNOE6vao

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] IronTechmonkey:
No apology needed on my account. Although I'm now using other devices as dailies peregrine is arguably the most complete device among them (hardware and firmware) and I'm delighted that you've been sharing your work on it. I saw your previous note about the end of Google support and plan to update to the latest patched LOS 14 so at least I'll have that instead of the years old LOS build that's on it now. Thanks!
[Moto G 4G Android Development] ctznbck:
First of all, thank you very much for the support you give to our moto G 4G!

Unfortunately I have a recurring network problem. After having flashed the 20210615 ROM cleanly, the network worked fine for a few hours, but soon a network problem occurred. When I unlock the SIM it says "no service" and I can't get any network. If I put the SIM card in another phone I don't have this problem. I have already tried resetting the network settings, but this does not solve the problem. What else can I try? Am I the only one to get this problem ?

Thank you in advance for your help!
[Moto G 4G Android Development] sdembiske:
First thing, go to your network web site and search for their 'Access point names (APN'S) - note down all the specific info provided, in particular, MMSC, MMS proxy, MMS port, MCC, MNC, etc.

Then in your phone, go to Settings > Mobile network > Advanced > Access point names > click on your network that's listed - click on the 3 dot sub-menu at the top right of the screen and click 'Discard' - once that is done add an APN (+) back in and enter all the information in that you got from your network provider. Make sure you save it.

You may have a hardware issue if that doesn't help. I ran into a situation where I wasn't receiving text messages and doing the above solved it.
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the JULY '21 Security Patches (

Note

: the June security patched were the last to be merged in officially, this July update is missing two patches and has not been officially merged in), and I've uploaded one of my unofficial builds that is based off the official build files with most of the latest security patches added (refer to post # 1350 for further elucidation). I review and test these patches in LineageOS Gerrit when they're posted, before uploading for your personal use.

Note

: Recent updates are large and may require downgrading to Open Gapps PICO in order to fully install to the system partition.

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 @pigeons9 (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-20210711-UNOFFICIAL-peregrine.zip:

File on MEGA

mega.nz

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:
With respect to the July and later Google security patches for LineageOS 14.1, I quote from Kevin Haggerty who is responsible for LineageOS Gerrit 14.1 security patch merges.

"I'll review and merge the security-relevant changes, but I WILL NOT merge this or any later security string updates without the v8 vuln being fixed. We don't get to not address something and then claim we meet a patch level; we will not lie."

The patches in question:

Not Implemented: CVE: References: Type: Severity: Updated AOSP versions:

CVE-2021-0514 A-162604069 RCE High 8.1, 9, 10, 11

CVE-2021-0515 A-167389063 RCE High 8.1,9,10,11

have been merged in in LineageOS 15.1 and 16.0 etc.,

not

in 14.1

We may have finally reached the end of the line for any further Google security patch updates officially merged in for this rom. Members should consider moving to the Unofficial LineageOS 16.0 for Peregrine if keeping up one's security level totally up-to-date is a consideration. I am continuing to maintain it and post the latest security patches there.