LineageOS 15 mako (nexus4) rom

roland3939

Member
Jan 7, 2016
37
68
28
Code:
*** Disclaimer ***

This is provided free of charge and does not come with a warranty.
If your device fails to comply with your standards of what you consider functioning, I am not liable.
You do so at your own risk and take the responsibility upon yourself.
Introduction

Since official builds have been dropped, looking for an easy solution to keep updated by latest security patches and other updates from LOS-15.1.
Follow these steps

Installation instructions
  • A) download this latest mako lineage-15.1 ROM ( signed using own release-keys; to be flashed in TWRP)
  • B) migrating official LOS-15.1 release-keys to this ROM's release-keys by script provided
    ( to be done only once before flashing first time this ROM in TWRP, can be done fully in reverse also )
    I also put a brief text file "Using script migration.txt" for explanation there.

Flashing Instruction
1. Backup all your data before you start ( I never needed my backups, all went smooth :eek:
2. Migrate keys by script. ( to be done only once before flashing first time this ROM)
3. Flash the ROM.
4. Reboot.


Result

all Apps and App-data are preserved ( including calling history, SMS, . . .; no need to reinstall Apps or to wipe /data partition )
as easy and smooth as to update an official mako lineage-15.1 ( except step B)
Downloads:

ROM: drive.google.com
ROM second source for downloading: androidfilehost.com
Sources:

Migration script: migration_RZ.sh
(Please see brief text file "Using script migration.txt" for explanation there.)

Credits:
- LineageOS team.
- @voron00 for his great work.
- If I forgot someone, please tell me.

Source Code: https://github.com/LineageOS

XDA:DevDB Information
[UNOFFICIAL][LOS-15.1] [MAKO], ROM for the Google Nexus 4

Contributors
roland3939
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Based On: LineageOS-15.1

Version Information
Status:
Stable
Current Stable Version: lineage-15.1-20201112-UNOFFICIAL-mako-signed.zip
Stable Release Date: 2019-07-13

Created 2019-07-13
Last Updated 2020-12-12
 

Attachments

Last edited:

Crongar

Member
Jul 14, 2019
8
0
0
Thank you very much for this ROM.

How long do you plan to support updating this ROM? As fas as I understand, OTA updates will be disabled when switching?!
 

roland3939

Member
Jan 7, 2016
37
68
28
Thank you very much for this ROM.

How long do you plan to support updating this ROM? As fas as I understand, OTA updates will be disabled when switching?!
my goal is to keep this ROM updated until EOL of LOS-15.1 or EOL of my MAKO-device (depending on which one will come earlier :)

This ROM (and its updates) cannot be installed using the LOS-15.1 system's updater app ( I didn't modify the URL defined by the updater_server_url resource )
you have to do these few steps manually:

Flashing Instruction when switching from OFFICIAL ROM LOS-15.1
1. Backup all your data before you start ( I never needed my backups, all went smooth :)
1 a. download ROM ( zip-file) to the device or do adb push ROM ( zip-file) (which ever is more convenient to you)
2. Migrate keys by script. ( to be done only once before flashing very first time this ROM )
3. Boot to TWRP recovery
3 a. Flash the this ROM ( latest build)
4. Reboot to System

have fun
 
  • Like
Reactions: ze7zez

roland3939

Member
Jan 7, 2016
37
68
28
  • Like
Reactions: ze7zez

next4

Member
Jul 31, 2019
6
1
0
Thx for the instructions! But how do I technically do step "2. Migrate keys by script" ?
I managed to install LOS one year ago on my nexus4 but have no glue how to run a script on my mobile device.
Sorry for asking stupid questions !?!
 

roland3939

Member
Jan 7, 2016
37
68
28
Thx for the instructions! But how do I technically do step "2. Migrate keys by script" ?
I managed to install LOS one year ago on my nexus4 but have no glue how to run a script on my mobile device.
Sorry for asking stupid questions !?!
step "2. Migrate keys by script" is explained here ( to be found in the ROM's download folder):
Using script migration.txt
for any further questions, please ask
 
  • Like
Reactions: ze7zez

next4

Member
Jul 31, 2019
6
1
0
thx again for sharing, maintaining and providing the data and your knowledge. :good:
at the moment i am doing the backup. afterwards i will follow the txt for migrating the script.
as far as i can tell, you provided the unofficial ROM and uploaded it to google drive but where will the unofficial updates be found in the future?

---------- Post added at 12:46 PM ---------- Previous post was at 12:21 PM ----------

:victory:
everything went smooth. security updates 5.july 2019 !THXroland3939!
 

roland3939

Member
Jan 7, 2016
37
68
28
(---cut---)
as far as i can tell, you provided the unofficial ROM and uploaded it to google drive but where will the unofficial updates be found in the future?

---------- Post added at 12:46 PM ---------- Previous post was at 12:21 PM ----------

:victory:
everything went smooth. security updates 5.july 2019 !THXroland3939!
thanks for your feedback
I'm going to share next updates of this ROM ( incl. security patches August 2019) using the same google drive folder.
hold on! :)
 
  • Like
Reactions: ze7zez

thacoon

New member
Sep 17, 2019
2
0
0
Hi,

first I want to thank you for providing this. You saved my phone :eek: because my self build let me stuck at the Google screen.

I followed the instructions from the official guide for mako. The first time the command source build/envsetup.sh && breakfast mako did not succeed as expected. I then connected my phone to my pc that had the latest official LineageOS build installed, it was already a few weeks old as it was already no longer official maintained. I rerun the command and it finished successful and proceeded with the guide. However, when sideloading my self built image I got stuck at the Google screen.

Do you have any idea what may have gone wrong?

How have you extracted the proprietary blobs? Is it enough to run source build/envsetup.sh && breakfast mako or do I need to extract the propriety blobs in an extra step as the command finishes successful when the phone is connected.
 

roland3939

Member
Jan 7, 2016
37
68
28
(---cut---)

How have you extracted the proprietary blobs? Is it enough to run source build/envsetup.sh && breakfast mako or do I need to extract the propriety blobs in an extra step as the command finishes successful when the phone is connected.
hi,

proprietary blobs are extracted by running the extract-files.sh script while Nexus 4 device is connected to your computer with ADB and root enabled:
Code:
./extract-files.sh
did this step succeed without errors ?
check if all files listed in "~/android/lineage/device/lge/mako/proprietary-blobs.txt" are to be found in sub-folders of "~/android/lineage/vendor/lge/mako/proprietary/vendor/"
 
  • Like
Reactions: ze7zez

thacoon

New member
Sep 17, 2019
2
0
0
hi,

proprietary blobs are extracted by running the extract-files.sh script while Nexus 4 device is connected to your computer with ADB and root enabled:
Code:
./extract-files.sh
did this step succeed without errors ?
check if all files listed in "~/android/lineage/device/lge/mako/proprietary-blobs.txt" are to be found in sub-folders of "~/android/lineage/vendor/lge/mako/proprietary/vendor/"
There were not files, I now run
Code:
./extract-files.sh
and it extracted the files. I wonder why
Code:
 source build/envsetup.sh && breakfast mako
succeeded as soon as my phone was connected although there were no vendor files. That's why I assumed that it run
Code:
./extract-files.sh
automatically. However, if I have some time I'll redo the build and check if it now works.

Thanks for helping :good:
 

nyrel

New member
Sep 18, 2019
2
0
0
1st time flashing

My nexus 4 device isn't working anymore. I can't get to settings and it keeps popping up an error of 'Google play store service has stopped working" in unending loop. I tried to do a factory reset but it says, "no command" or something like that. Well all that doesn't matter. Wondering if you could point me to instruction for flashing this for the 1st time? Can I still follow the ones from the old lineage website or go the current site and just follow some from another phone?

Just found this, can I use these instructions for this package ? lineageosroms.com/nexus-4-mako/

Thanks in advance for the help,
 
Last edited:

roland3939

Member
Jan 7, 2016
37
68
28
My nexus 4 device isn't working anymore. I can't get to settings and it keeps popping up an error of 'Google play store service has stopped working" in unending loop. I tried to do a factory reset but it says, "no command" or something like that. Well all that doesn't matter. Wondering if you could point me to instruction for flashing this for the 1st time? Can I still follow the ones from the old lineage website or go the current site and just follow some from another phone?

Just found this, can I use these instructions for this package ? lineageosroms.com/nexus-4-mako/

Thanks in advance for the help,
hi,

for first time (clean !) flashing this rom lineage-15.1-20190906-UNOFFICIAL-mako-signed,
the instructions you mentioned are fully OK
or follow these instructions https://wiki.lineageos.org/devices/mako/install, whichever is more convenient to you
note: you don't have to migrate keys by script ( as you already did a full wipe of data, cache and system partitions )
 
  • Like
Reactions: ze7zez