• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[DISCONTINUED][ROM][UNOFFICIAL][RIVER]Lineage OS 16.0

Search This thread

SyberHexen

Senior Member
https%3A%2F%2Fi.imgur.com%2F2okPze5.png

Code:
/*
 * 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,
 */

About:
LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Introduction:
This is the unofficial Lineage OS thread for the Motorola G7, codename river.

We support all the T-Mobile, International, and Project Fi variants, as their bootloaders are unlockable, while we can't support the Verizon and AT&T variants, as their bootloaders are permanently locked.


ROM:
lineage-16.0-20191001-UNOFFICIAL-river.zip
Stock Firmware:
Official Firmware
Recovery:
Unofficial TWRP
Copy Partitions: (To setup slot_b)
copypartitions.zip
(courtesy of @filipepferraz)
Open GApps:
http://opengapps.org

Preparation for A/B Roms:
01. Download TWRP and the Firmware for your variant from the links above.
02. Remove your google account under Settings > Accounts then factory reset your device as FRP is enforced.
03. Unlock your bootloader Instructions here.
04. Flash your factory firmware image on slot_A
  • Hold power + Volume down untill you reach bootloader (fastboot mode)
  • In your extracted firmware folder open a terminal and flash your firmware files with these commands.
  • NOTE-1: This last step installs vendor.img to slot_b as well.
05. Use terminal to boot latest twrp.img "fastboot boot twrp.img"
06. ## Take a backup of EFS, Persist1, Persist2 then store this on your computer in a safe place!! ##
07. While on Slot_A Flash copypartitions.zip (This step only needs to be completed Once only after updating from stock factory firmwares.)
08. While in TWRP choose Reboot > bootloader

09. Now you're ready for ROM Steps below

ROM - Installation:
01. Download the ROM, TWRP and GApps from the links above.
02. Use terminal to boot latest twrp.img "fastboot boot twrp.img"
03. Flash ROM.zip + TWRP_Installer.zip
04. Reboot > Recovery
05. Install Gapps + Magisk (if you choose)
06. Reboot > System

Updating (AKA 'dirty flash'):
01. Download the updated ROM
02. fasboot boot twrp.img
03. Install ROM.zip + TWRP_Installer
04. Reboot > Recovery
05. flash gapps + Magisk (if you choose)
06. Reboot > System

Notes:
Any time your internal storage aka "Userdata" is from a stock install you must use 'fastboot -w' to erase it before using ROMS

XDA:DevDB Information
Lineage OS 16.0, ROM for the Moto G7, ROM for the Moto G7

Contributors
SyberHexen, erfanoabdi, LineageOS Team
Source Code:
[url]https://github.com/LineageOS[/URL]
android_kernel_motorola_msm8953
android_device_motorola_river_prebuiltvendor

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
ROM Firmware Required: Stock Vendor.img

Version Information
Status: Testing

Created 2019-08-19
Last Updated 2019-10-01
 
Last edited:

SyberHexen

Senior Member
Release Notes:
(09/17/2019)
Device:-
* Adoptable Storage Support
* Added support HBM support for all known panels
(fixes non boot with certain screen suppliers)

Kernel:-
* Upstream Kernel [4.9.112] --> [4.9.165]

(09/08/2019)
* Included Patch for Magisk Support
* Different IMS/Telephony Implementation
(which should allow calls on VoLTE)
* LiveDisplay Adjustments
 
Last edited:

cvbrt

Senior Member
Jan 19, 2015
56
22
Can you share .repo/local_manifests/roomservice.xml that you use to build the rom?
I'd like to build too.
Thanks.
Great work.
 
  • Like
Reactions: steven360

zenful

Senior Member
Feb 12, 2016
69
23
Irrelevant reply, mostly due to error in OP thread;

In the first paragraph of the About it says this LineageOS is for Android Oreo (8.0) while at the bottom it is claimed for Android Pie (9.0)

Will be installing soon for better feedback, but just thought you'd like to be aware of that.

Also, would this include the Security Patch of the most recent official release or is that something not to concern myself over with LineageOS releases?
 

SyberHexen

Senior Member
Irrelevant reply, mostly due to error in OP thread;

In the first paragraph of the About it says this LineageOS is for Android Oreo (8.0) while at the bottom it is claimed for Android Pie (9.0)

Will be installing soon for better feedback, but just thought you'd like to be aware of that.

Also, would this include the Security Patch of the most recent official release or is that something not to concern myself over with LineageOS releases?

Gotta love xda thanks for letting me know that xda reverted all my corrections to the main post over night.

So it's android 9.0 built with latest sources
 

A lightning

New member
Dec 21, 2015
3
0
Hi, I apologize if this isn't the best place to post this, but I get an error when following installation instructions. While flashing stock firmware to slot A, I run the command `fastboot flash partition gpt.bin` and get the following output:

Code:
fastboot: core/libsparse/sparse.cpp:131: int write_all_blocks(struct sparse_file *, struct output_file *): Assertion `pad >= 0' failed.
zsh: abort (core dumped)  fastboot flash partition gpt.bin

I tried googling for the error, but wasn't able to come up with a clear idea of what to do to fix it. If anyone can point me in the right direction, I'd really appreciate the help. Thanks a lot.
 

SyberHexen

Senior Member
Hi, I apologize if this isn't the best place to post this, but I get an error when following installation instructions. While flashing stock firmware to slot A, I run the command `fastboot flash partition gpt.bin` and get the following output:



I tried googling for the error, but wasn't able to come up with a clear idea of what to do to fix it. If anyone can point me in the right direction, I'd really appreciate the help. Thanks a lot.

Try updating adb drivers or using different version
 

JoelWindroid

New member
Aug 24, 2019
1
1
x77zMC6p1s7yLYTKVs79fzxp4nqbwCg2xVgk6hyUzFzLcEVpj5zXhAeddvezCZf55NOI_uwKW94243UXK0dZPVDc5eZHiDuLopRMirbxGqt8KB5_Wz4kiYEZ2BUq3aK16FEQzYUvYgXvQ3SmxIF2LnetwmqwmgaBQUno-Nb5BQanG1tGseQgcu8fm3CEJbqOaQfVNUO9lnR2Jsd_egnx8cpDmH7x6NjKAijgHPZiP_JYUakwuaAXzwpbmrp5J0matAz5_KrngzxJr7_oF_pXkpt579yXGS3yYTeqY58D4R0o8ssUngLRWGRzhQNcBEmRoDNnw6tTD3ICp0kCYMaB9nQAEGIEbEFJCkJjnTW9AkcHvaoJpZoxMKrNjvKxi9B4a8enXM-XtmOCGUHo-xP_ZXGbI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fmrBzdiqNNzZUudJCubXAycsI8spd1HBwaHkYg8QWePz6gIZXNy529WiJXUx8RhZSth5sW2wDvHVdkaEs6fTxecOI2-SC5GBrN-aDuEIxOUwZ1dgWzW0-v8cRDA5Y0dF4yQV0C-RuPOFONguG9r2OEVG8FeezV_9Qah7uBgQQckl5tWGs6Ybun0jNulo5wntYuIUO-9EmNTWa-cvr5emjuoJ2y-i-VwK9CTrHsBJ_0f2S9gz88yBgFygFC_BfoJP22Cuvkg1lchS7H2d2hH6Yew=w318-h667-no


Cam Work!!! I can Capture Images and Record Video :)
Google Gapps - OpenGapps ARM64 Work Fine!!! :)
Magisk Not Work :( But the addonsu arm64 for lineage os 16 work!!! :) :good:
 
Last edited:
  • Like
Reactions: steven360

A lightning

New member
Dec 21, 2015
3
0
Try updating adb drivers or using different version

I'm using the latest Android platform tools on Linux. I should have included this in my first message, but this is a Project Fi phone. I tried both builds in the Fi folder of the lolinet link in the OP, and both had the same problem. The model numbers on these do match my phone. (XT1962-1) I'm really struggling to find an explanation for my error message anywhere online.

Code:
fastboot: core/libsparse/sparse.cpp:131: int write_all_blocks(struct sparse_file *, struct output_file *): Assertion `pad >= 0' failed.
zsh: abort (core dumped)  fastboot flash partition gpt.bin
 

ptn107

Senior Member
Feb 10, 2012
252
123
I'm using the latest Android platform tools on Linux. I should have included this in my first message, but this is a Project Fi phone. I tried both builds in the Fi folder of the lolinet link in the OP, and both had the same problem. The model numbers on these do match my phone. (XT1962-1) I'm really struggling to find an explanation for my error message anywhere online.

Code:
fastboot: core/libsparse/sparse.cpp:131: int write_all_blocks(struct sparse_file *, struct output_file *): Assertion `pad >= 0' failed.
zsh: abort (core dumped)  fastboot flash partition gpt.bin

Post result of
Code:
fastboot --version
adb --version
 

A lightning

New member
Dec 21, 2015
3
0
Post result of
Code:
fastboot --version
adb --version

Code:
1% fastboot --version
fastboot version 29.0.2-ArchLinux
Installed as /usr/bin/fastboot

% adb --version
Android Debug Bridge version 1.0.41
Version 29.0.2-ArchLinux
Installed as /usr/bin/adb

In addition to my Linux distro's package, I also tried downloading platform-tools with Android sdkmanager and got the same errors,
 

maybeme2

Senior Member
Aug 28, 2015
2,211
667
I've used lineageos 14 in the past but it's been a while.

What advantages does lineageos 16 bring compared to Moto's pie?
 

SyberHexen

Senior Member
I'm using the latest Android platform tools on Linux. I should have included this in my first message, but this is a Project Fi phone. I tried both builds in the Fi folder of the lolinet link in the OP, and both had the same problem. The model numbers on these do match my phone. (XT1962-1) I'm really struggling to find an explanation for my error message anywhere online.

I'm on FI with the same model.

Have you tried using older fastboot drivers or a different USB-c /USB port?
 

Hell-Razor

Senior Member
Jan 21, 2011
333
26
I sent the OP a pm asking if they would like any help or if they are willing to link us github information so we can start building and improving this for the River device.

Waiting to hear something back
 
  • Like
Reactions: AZGeek

Hell-Razor

Senior Member
Jan 21, 2011
333
26
Thats not a guarantee its all the work he has done. He may still be pulling from multiple gits in a script. I would much rather talk to the op and check before trying to jump through loops that could easily be there.

EDIT: I sound like a **** there, I dont mean to be. I am just not great at this stuff so it may be nice to get a little help.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    https%3A%2F%2Fi.imgur.com%2F2okPze5.png

    Code:
    /*
     * 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,
     */

    About:
    LineageOS is a free, community built, aftermarket firmware distribution of Android 9 (Pie), which is designed to increase performance and reliability over stock Android for your device.

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Introduction:
    This is the unofficial Lineage OS thread for the Motorola G7, codename river.

    We support all the T-Mobile, International, and Project Fi variants, as their bootloaders are unlockable, while we can't support the Verizon and AT&T variants, as their bootloaders are permanently locked.


    ROM:
    lineage-16.0-20191001-UNOFFICIAL-river.zip
    Stock Firmware:
    Official Firmware
    Recovery:
    Unofficial TWRP
    Copy Partitions: (To setup slot_b)
    copypartitions.zip
    (courtesy of @filipepferraz)
    Open GApps:
    http://opengapps.org

    Preparation for A/B Roms:
    01. Download TWRP and the Firmware for your variant from the links above.
    02. Remove your google account under Settings > Accounts then factory reset your device as FRP is enforced.
    03. Unlock your bootloader Instructions here.
    04. Flash your factory firmware image on slot_A
    • Hold power + Volume down untill you reach bootloader (fastboot mode)
    • In your extracted firmware folder open a terminal and flash your firmware files with these commands.
    • NOTE-1: This last step installs vendor.img to slot_b as well.
    05. Use terminal to boot latest twrp.img "fastboot boot twrp.img"
    06. ## Take a backup of EFS, Persist1, Persist2 then store this on your computer in a safe place!! ##
    07. While on Slot_A Flash copypartitions.zip (This step only needs to be completed Once only after updating from stock factory firmwares.)
    08. While in TWRP choose Reboot > bootloader

    09. Now you're ready for ROM Steps below

    ROM - Installation:
    01. Download the ROM, TWRP and GApps from the links above.
    02. Use terminal to boot latest twrp.img "fastboot boot twrp.img"
    03. Flash ROM.zip + TWRP_Installer.zip
    04. Reboot > Recovery
    05. Install Gapps + Magisk (if you choose)
    06. Reboot > System

    Updating (AKA 'dirty flash'):
    01. Download the updated ROM
    02. fasboot boot twrp.img
    03. Install ROM.zip + TWRP_Installer
    04. Reboot > Recovery
    05. flash gapps + Magisk (if you choose)
    06. Reboot > System

    Notes:
    Any time your internal storage aka "Userdata" is from a stock install you must use 'fastboot -w' to erase it before using ROMS

    XDA:DevDB Information
    Lineage OS 16.0, ROM for the Moto G7, ROM for the Moto G7

    Contributors
    SyberHexen, erfanoabdi, LineageOS Team
    Source Code:
    [url]https://github.com/LineageOS[/URL]
    android_kernel_motorola_msm8953
    android_device_motorola_river_prebuiltvendor

    ROM OS Version: 9.x Pie
    ROM Kernel: Linux 4.x
    ROM Firmware Required: Stock Vendor.img

    Version Information
    Status: Testing

    Created 2019-08-19
    Last Updated 2019-10-01
    5
    BUGS
    ====
    1. Mobile Data can be intermittent (potentially carrier specific)
    2. LiveDisplay: Default mode causes screen inversion
    - Please Switch under Settings > Display > LiveDisplay > Color Profile > To Hal_Native/Standard
    5
    Release Notes:
    (09/17/2019)
    Device:-
    * Adoptable Storage Support
    * Added support HBM support for all known panels
    (fixes non boot with certain screen suppliers)

    Kernel:-
    * Upstream Kernel [4.9.112] --> [4.9.165]

    (09/08/2019)
    * Included Patch for Magisk Support
    * Different IMS/Telephony Implementation
    (which should allow calls on VoLTE)
    * LiveDisplay Adjustments
    5
    Irrelevant reply, mostly due to error in OP thread;

    In the first paragraph of the About it says this LineageOS is for Android Oreo (8.0) while at the bottom it is claimed for Android Pie (9.0)

    Will be installing soon for better feedback, but just thought you'd like to be aware of that.

    Also, would this include the Security Patch of the most recent official release or is that something not to concern myself over with LineageOS releases?

    Gotta love xda thanks for letting me know that xda reverted all my corrections to the main post over night.

    So it's android 9.0 built with latest sources
    4
    ##### LineageOS 16.0 Unofficial Build #####

    Moto G7 (river) Update:- 24-09-2019
    Changelog:-
    Device:-
    * Fix BT Headset audio regarding sound playback

    Kernel:-
    * Upstream Kernel [4.9.165] --> [4.9.180]

    Download Link:-
    * https://www.androidfilehost.com/?fid=1899786940962592987