yashsingh1/xdaforums huggingface dataset:
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the currently posted SEPTEMBER '21 Security Patches (

Note

: the June security patches were the last to be merged in officially, this September [including August] update is missing two patches from July and has not been officially merged in - the security patch level has to therefore legitimately show June '21 still for now). I've uploaded one of my unofficial builds here that is based off the official build files with most of the latest security patches added (refer to post # 1350 for further elucidation).

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-20210930-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 currently posted OCTOBER '21 Security Patches (

Note

: the June security patches were the last to be merged in officially, this update is missing two patches from July and has not been officially merged in - the security patch level has to therefore legitimately show June '21 still for now). I've uploaded one of my unofficial builds here that is based off the official build files with most of the latest security patches added (refer to post # 1350 for further elucidation).

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-202110-09-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 currently posted NOVEMBER '21 Security Patches (

Note

: the June security patches were the last to be merged in officially, this update is missing two patches from July and has not been officially merged in - the security patch level has to therefore legitimately show June '21 still for now). I've uploaded one of my unofficial builds here that is based off the official build files with most of the latest security patches added (refer to post # 1350 for further elucidation).

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-202111-04 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 currently posted DECEMBER '21 Security Patches (

Note

: the June security patches were the last to be merged in officially, this update is missing two patches from July and has not been officially merged in - the security patch level has to therefore legitimately show June '21 still for now). I've uploaded one of my unofficial builds here that is based off the official build files with the latest available relevant security patches added (refer to post # 1350 for further elucidation).

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-202112-08 UNOFFICIAL-peregrine.zip:

https://mega.nz/file/hGoWBQbY#qidEi1K7gpFB4etN7UkXBi1ijsZ-YnT6hvNhsdR6Rug

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] franchips:
Dear all, I need your help.

After several months of perfect operation, the other night my phone went off while I was on a WhatsApp call (the battery was discharged).

I plugged in my charger and waited a few minutes before trying to restart my phone.

Since then, every time I try to boot my phone it gets stuck on the LineageOS boot logo running indefinitely.

What I can do right now : after pressing Volume Down + Power, I can enter in "AP Fastboot Flash Mode" and with a USB cable between my phone and my computer, I can detect my phone using "fastboot devices" command from my laptop.

In your opinion, what are my options now ? How could I manage to boot my LineageOS again please ?

Thank you for your help.
[Moto G 4G Android Development] SirRGB:
Worst case: format data

Will erase all data, but will probably boot up.

But first try reflashing lineage...
[Moto G 4G Android Development] sdembiske:
If you have a TWRP backup and can access Recovery, wipe cache, Dalvik cache, System and importantly, Format Data > Yes. Then restore your TWRP backup. Recovery can be accessed through fastboot:

command

- fastboot reboot recovery

if you cannot do it using the button sequences.

This highlights the importance of having a current TWRP backup.

Note: Your battery may have reached end of life and can contribute to this issue. It can be replaced fairly easily, even though it is self-contained. I have done it and it is not difficult (google it).
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the currently posted JANUARY '22 Security Patches. (

Note

: the June security patches were the last to be merged in officially, this update is missing two patches from July and has not been officially merged in - the security patch level has to therefore legitimately show June '21 still for now). Additionally, this update ONLY includes

one

security patch. Relevant security patches to this rom version are getting fewer and fewer. Members should therefore give serious consideration to moving up to LineageOS 16.0 for somewhat better security.

I've uploaded one of my unofficial builds here that is based off the original official build files with the latest available relevant security patches added (refer to post # 1350 for further elucidation).

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-202201-20 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:
How much slower is Lineage 16?
[Moto G 4G Android Development] sdembiske:
A bit slower on some heavy loading apps but still not too bad - needs a bit of time to settle in after flashing but very useable for a daily driver. I'll be uploading the Jan. '22 security updated rom fairly soon (next day or so).
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the latest posted JANUARY '22 Security Patches - i.e.,

2nd upload

: includes

3 additional security updates

. (

Note

: the June security patches were the last to be merged in officially, this new update is still missing two patches from July and has not been officially merged in - the security patch level has to therefore legitimately show June '21 still for now).

New Download Link for lineage-14.1-202201-20 UNOFFICIAL-peregrine.zip:

File on MEGA

mega.nz

The original January '22 post has been updated with the new download link.
[Moto G 4G Android Development] please_boot:
Huge thanks for maintaining these older Nougat builds. Installed without a hitch. Having a lot of fun messing around with custom ROMs for the first time.
[Moto G 4G Android Development] sdembiske:
Thank you, I'm glad you're enjoying it.

PS

: Please learn to use the 'Like' button (bottom left of the post when you're logged in). It's an XDA courtesy when members try to help you or have provided roms for you to download.
[Moto G 4G Android Development] Mogster2K:
Well, that sucks. I'd offer to send you mine, but shipping from Hawaii is likely to be prohibitive.

I tried rolling my own before, but I could never figure out how cherry-picking works. Too many errors.
[Moto G 4G Android Development] sdembiske:
Please note the updated Magisk app bug fix I've added in the post above (# 1,336). Credit to @aoleary
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the currently posted MAY '22 Security Patches. (

Note

: the June security patches were the last to be merged in officially, this update is missing two patches from July and has not been officially merged in - the security patch level has to therefore legitimately show June '21 still for now). Relevant security patches for this rom version are getting fewer and fewer (only 1 for this upload). Members should therefore give serious consideration to moving up to LineageOS 16.0 for somewhat better security.

I've uploaded one of my unofficial builds here that is based off the original official build files with the latest available relevant security patches added (refer to post # 1350 for further elucidation).

*

Weird Magisk bug is occurring

(reported by other members on different roms and phones as well):

After flashing the patched boot image, on reboot if you open the Magisk app it will indicate it has to do more to install on the device. If you tell it to go ahead the issue will just keep recurring. It appears something is being retained in the Magisk app cache that isn't properly removed on the reboot after flashing the patched image.

Best way to fix

:

After installing (regular clean flash) the latest LineageOS rom and Open Gapps while in TWRP, reboot to recovery and install the Magisk app as a zip (simply remove the .apk extension and add the .zip extension, i.e., for example, Magisk-v24.3.apk changes to Magisk-v24.3.zip). On system reboot, do not open the Magisk app, reboot the system again and then the app can be opened without the issue recurring.

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-202205-12 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:
Mega says it no longer available :-/
[Moto G 4G Android Development] sdembiske:
Thanks for letting me know - appreciate it. Must have accidentally deleted it when getting rid of some old uploads. Link should be good to go now.
[Moto G 4G Android Development] sdembiske:
For those of you wishing to update to the currently posted JUNE '22 Security Patches. (

Note

: the June '21 security patches were the last to be merged in officially, this update is missing two patches from July '21 and has not been officially merged in - the security patch level has to therefore legitimately show June '21 still for now). Relevant security patches for this rom version are getting fewer and fewer. Members should therefore give some consideration to moving up to LineageOS 16.0 for somewhat better security.

I've uploaded one of my unofficial builds here that is based off the original official build files with the latest available relevant security patches added (refer to post # 1350 for further elucidation).

*

Weird Magisk bug has been occurring

(reported by other members on different roms and phones as well):

After flashing the patched boot image, on reboot if you open the Magisk app it will indicate it has to do more to install on the device. If you tell it to go ahead the issue will just keep recurring. It appears something is being retained in the Magisk app cache that isn't properly removed on the reboot after flashing the patched image.

Best way to fix

:

After installing (regular clean flash) the latest LineageOS rom and Open Gapps while in TWRP, reboot to recovery and install the Magisk app as a zip (simply remove the .apk extension and add the .zip extension, i.e., for example, Magisk-v24.3.apk changes to Magisk-v24.3.zip). On system reboot, do not open the Magisk app, reboot the system again and then the app can be opened without the issue recurring.

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 (Magisk) & 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-202206-09 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 currently posted AUGUST '22 Security Patches. (

Note

: the June '21 security patches were the last to be merged in officially, this update is missing two patches from July '21 and has not been officially merged in - the security patch level has to therefore legitimately show June '21 still for now). Relevant security patches for this rom version are getting fewer and fewer. Members should therefore give some consideration to moving up to LineageOS 16.0 for somewhat better security.

I've uploaded one of my unofficial builds here that is based off the original official build files with the latest available relevant security patches added (refer to post # 1350 for further elucidation).

Best way to install latest Magisk:

After installing (regular clean flash) the latest LineageOS rom and Open Gapps while in TWRP, reboot to recovery and install the Magisk app as a zip (simply remove the .apk extension and add the .zip extension, i.e., for example, Magisk-v25.2.apk changes to Magisk-v25.2.zip).

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 (Magisk) & 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-202207-11 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 instruction
[Moto G 4G Android Development] chillinfart:
Is normal to don't get OTG support from these roms? No response when i use USB cable to PC (but adb works) nor OTG adapters. Also i am wanting something to calibrate the touchscreen, found a dead zone not present using the same touch in TWRP, i'm suspecting this is a calibration issue.

Also, if after flashing you get an error trying to use the internal storage, check in TWRP if the Data partition is ext3/4 instead of f2fs. I found this difference after upgrading from stock to LOS 14.1
[Moto G 4G Android Development] sdembiske:
OTG support is both hardware and software dependent - GSM Arena specs indicate that this phone is OTG compatible as does the USB OTG Checker app (free on Play Store). Assuming you are rooted, try enabling 'Android debugging' in Developer Options if you haven't done so already and see if that helps. Ensure you have a proper OTG cable - a normal USB cable is not an OTG cable in the strictest sense.

Failing that, it may not have been implemented in the original LOS 14.1 rom build which these builds are based on. As you are the only member that has brought this up, you may want to try building the rom yourself and seeing if you can implement it for your personal use.

With respect to screen calibration, there are a number of apps on Google Play Store - just search 'Screen Calibration" on Play Store.

Keep in mind that 'custom' roms are almost never perfect for all users for all requirements.