[ROM-EXPERIMENT][FASTBOOT][Clamor's repartition] LineageOS 18.1 Android GO with GMS

Search This thread

voron00

Senior Member
Mar 8, 2011
330
1,041
Google Nexus 4
LeEco Le Pro3
HTML:
#include "std_disclaimer.h"
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Here is something i wanted to try for a long time. A full package of GMS (Google Mobile Services) Android GO for Nexus 4.
This package includes all Android GO apps that come preinstalled on those phones plus some extra apps that only come with 2GB phones.
Other than that, everyting is the same as in regular LineageOS builds.
Only for Clamor's repartition (needs a /vendor partition).

IMPORTANT: You need to repartiton your device using Clamor's repartitioning script from HERE

Works:
- WiFi
- Bluetooth
- RIL
- Camera
- GPS
- Sensors
- Audio
- NFC

Doesn't work:
- L1 Widevine DRM
- Slimport

Flashing Instruction:
1. Backup all your data (Important).
2. Install fastboot. Here is a guide if you need: https://www.xda-developers.com/install-adb-windows-macos-linux/
3. Download ROM. Reboot phone to fastboot mode. Connect your phone to computer.
4. Open your command line or terminal, cd to directory where you put the ROM.
5. Perform a following command to flash the ROM:


fastboot -w -S 512M update image-mako-lineage-18.1-go-20220801-UNOFFICIAL-fastboot-signed.zip

WARNING: This will wipe all user data from phone but it is required if you flashing it first time.
For further updates wiping data is not required and you can remove -w from command line so it'll be:


fastboot -S 512M update image-mako-lineage-18.1-go-20220801-UNOFFICIAL-fastboot-signed.zip

Phone will reboot automatically. After first setup give phone some time to update all preinstalled Google apps.

Download: https://drive.google.com/drive/folders/1H3VHwpaRmv43styxZBRU1M9dLEin-UdC

Sources:

Device: https://github.com/voron00/android_device_lge_mako
Kernel: https://github.com/voron00/android_kernel_lge_mako
Vendor: https://github.com/voron00/proprietary_vendor_lge

Credits:
- LineageOS team.
- Google.
- @Ziyan for his great work on camera and other things.
- @Clamor repartitioning script.
- If i forgot someone, please tell me.

Contributors
voron00

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

elchmartin

Senior Member
Oct 17, 2014
177
56
Duesseldorf
Google Nexus 4
Nexus 7
awesome. after handling clamors repartitioning, it seems to have installed fine so far, first boot takes its time of course :D

Now it booted and is updating the Apps. Appears to work and feels rather fluent for a recent OS.

i'm really curious about it... so thank you very much!
 
Last edited:
  • Like
Reactions: ze7zez

AraldoL

Senior Member
Is a wipe also needed if I come from your latest June 18.1 Go from here? There was no update for some time over there so I'm interested in this one but am NOT willing to wipe again. There were too many versions I jumped in and after some time abandoned getting updates. No longer interested in setting up the phone from scratch 2-3 times a year.
 

voron00

Senior Member
Mar 8, 2011
330
1,041
Google Nexus 4
LeEco Le Pro3
Is a wipe also needed if I come from your latest June 18.1 Go from here? There was no update for some time over there so I'm interested in this one but am NOT willing to wipe again. There were too many versions I jumped in and after some time abandoned getting updates. No longer interested in setting up the phone from scratch 2-3 times a year.
It's not abandoned, i just need to find some time to actually build it. Maybe even today.
 
  • Like
Reactions: AraldoL

mcgyver83

Senior Member
Jun 12, 2012
83
7
I tried to download the build linked in #1 but GDrive says the file is in the owner trash.
 

mcgyver83

Senior Member
Jun 12, 2012
83
7
I tried to flash via fastboot the last image but I have this issue:

Code:
fastboot -S 512M update image-mako-lineage-18.1-go-20220831-UNOFFICIAL-fastboot-signed.zip
--------------------------------------------
Bootloader Version...: MAKOZ30f
Baseband Version.....: M9615A-CEFWMAZM-2.0.1701.07
Serial Number........: xxxxx (fake number added by me)
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product'                                 OKAY [  0.002s]
Snapshot cancel                                    FAILED (remote: 'unknown command')
fastboot: error: Command failed



Model: MMC 016G92 (sd/mmc)
Disk /dev/block/mmcblk0: 15.8GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name      Flags
 1      524kB   67.6MB  67.1MB  fat16        modem
 2      67.6MB  68.2MB  524kB                sbl1
 3      68.2MB  68.7MB  524kB                sbl2
 4      68.7MB  70.8MB  2097kB               sbl3
 5      70.8MB  71.3MB  524kB                tz
 6      71.3MB  94.4MB  23.1MB               boot
 7      94.4MB  117MB   23.1MB               recovery
 8      117MB   118MB   799kB                m9kefs1
 9      118MB   119MB   799kB                m9kefs2
10      119MB   120MB   799kB                m9kefs3
11      120MB   121MB   524kB                rpm
12      121MB   121MB   524kB                aboot
13      121MB   122MB   524kB                sbl2b
14      122MB   124MB   2097kB               sbl3b
15      124MB   124MB   524kB                abootb
16      124MB   125MB   524kB                rpmb
17      125MB   125MB   524kB                tzb
18      125MB   126MB   524kB                metadata
19      126MB   143MB   16.8MB               misc
20      143MB   159MB   16.8MB  ext4         persist
21      159MB   1732MB  1573MB  ext4         system
22      1732MB  1994MB  262MB   ext4         vendor
23      1994MB  2099MB  105MB   ext4         cache
26      2099MB  15.8GB  13.7GB  ext4         userdata
24      15.8GB  15.8GB  524kB                DDR
25      15.8GB  15.8GB  507kB                grow
 
Last edited:

voron00

Senior Member
Mar 8, 2011
330
1,041
Google Nexus 4
LeEco Le Pro3
I tried to flash via fastboot the last image but I have this issue:

Code:
fastboot -S 512M update image-mako-lineage-18.1-go-20220831-UNOFFICIAL-fastboot-signed.zip
--------------------------------------------
Bootloader Version...: MAKOZ30f
Baseband Version.....: M9615A-CEFWMAZM-2.0.1701.07
Serial Number........: xxxxx (fake number added by me)
--------------------------------------------
extracting android-info.txt (0 MB) to RAM...
Checking 'product'                                 OKAY [  0.002s]
Snapshot cancel                                    FAILED (remote: 'unknown command')
fastboot: error: Command failed
Try with latest fastboot version from here: https://developer.android.com/studio/releases/platform-tools
 

Hahayes7

New member
Oct 1, 2022
2
0
Tried to flash:

Code:
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
failed to allocate 1472467416 bytes
error: update package missing system.img

Any fix?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    HTML:
    #include "std_disclaimer.h"
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    Here is something i wanted to try for a long time. A full package of GMS (Google Mobile Services) Android GO for Nexus 4.
    This package includes all Android GO apps that come preinstalled on those phones plus some extra apps that only come with 2GB phones.
    Other than that, everyting is the same as in regular LineageOS builds.
    Only for Clamor's repartition (needs a /vendor partition).

    IMPORTANT: You need to repartiton your device using Clamor's repartitioning script from HERE

    Works:
    - WiFi
    - Bluetooth
    - RIL
    - Camera
    - GPS
    - Sensors
    - Audio
    - NFC

    Doesn't work:
    - L1 Widevine DRM
    - Slimport

    Flashing Instruction:
    1. Backup all your data (Important).
    2. Install fastboot. Here is a guide if you need: https://www.xda-developers.com/install-adb-windows-macos-linux/
    3. Download ROM. Reboot phone to fastboot mode. Connect your phone to computer.
    4. Open your command line or terminal, cd to directory where you put the ROM.
    5. Perform a following command to flash the ROM:


    fastboot -w -S 512M update image-mako-lineage-18.1-go-20220801-UNOFFICIAL-fastboot-signed.zip

    WARNING: This will wipe all user data from phone but it is required if you flashing it first time.
    For further updates wiping data is not required and you can remove -w from command line so it'll be:


    fastboot -S 512M update image-mako-lineage-18.1-go-20220801-UNOFFICIAL-fastboot-signed.zip

    Phone will reboot automatically. After first setup give phone some time to update all preinstalled Google apps.

    Download: https://drive.google.com/drive/folders/1H3VHwpaRmv43styxZBRU1M9dLEin-UdC

    Sources:

    Device: https://github.com/voron00/android_device_lge_mako
    Kernel: https://github.com/voron00/android_kernel_lge_mako
    Vendor: https://github.com/voron00/proprietary_vendor_lge

    Credits:
    - LineageOS team.
    - Google.
    - @Ziyan for his great work on camera and other things.
    - @Clamor repartitioning script.
    - If i forgot someone, please tell me.

    Contributors
    voron00

    Source Code: https://github.com/LineageOS
    2
    I tried to flash via fastboot the last image but I have this issue:

    Code:
    fastboot -S 512M update image-mako-lineage-18.1-go-20220831-UNOFFICIAL-fastboot-signed.zip
    --------------------------------------------
    Bootloader Version...: MAKOZ30f
    Baseband Version.....: M9615A-CEFWMAZM-2.0.1701.07
    Serial Number........: xxxxx (fake number added by me)
    --------------------------------------------
    extracting android-info.txt (0 MB) to RAM...
    Checking 'product'                                 OKAY [  0.002s]
    Snapshot cancel                                    FAILED (remote: 'unknown command')
    fastboot: error: Command failed
    Try with latest fastboot version from here: https://developer.android.com/studio/releases/platform-tools
    1
    awesome. after handling clamors repartitioning, it seems to have installed fine so far, first boot takes its time of course :D

    Now it booted and is updating the Apps. Appears to work and feels rather fluent for a recent OS.

    i'm really curious about it... so thank you very much!
    1
    Is a wipe also needed if I come from your latest June 18.1 Go from here? There was no update for some time over there so I'm interested in this one but am NOT willing to wipe again. There were too many versions I jumped in and after some time abandoned getting updates. No longer interested in setting up the phone from scratch 2-3 times a year.
    It's not abandoned, i just need to find some time to actually build it. Maybe even today.
    1
    I tried to download the build linked in #1 but GDrive says the file is in the owner trash.