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

[GSI][10] LineageOS 17.x GSI (all archs)

Should I build *vS variants (with PHH-SU)?

  • Build *vS (SU), replacing *vN (no SU)

    Votes: 6 33.3%
  • Build *vS alongside *vN

    Votes: 8 44.4%
  • Keep things as is

    Votes: 3 16.7%
  • Don't care

    Votes: 1 5.6%

  • Total voters
    18
  • Poll closed .
Search This thread

bomzhellino

Member
Nov 2, 2019
46
24
Greetings Andy! Thanks for the great quality ROM!
It would be very good if you could add a poweroff/reboot qs-tile. I believe that every ROM should have this. Hardware buttons are a weak point for some devices.
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,309
3,596
Beijing
Updated all variants with May security patches and in sync with PHH v216. [Insert obligatory backup-and-test warning here]

Incorporated some changes from @eremitein to deal with certain bootloop, deep sleep and hotspot issues, but since most of them are reverts of earlier commits by Google/LOS devs, it's possible that they might've been intended as fixes for some devices, and reverting them might break them again. Please keep this in mind, backup and test/observe accordingly.
 

danapk

Senior Member
Jan 2, 2014
89
35
Paraná
Updated all variants with May security patches and in sync with PHH v216. [Insert obligatory backup-and-test warning here]

Incorporated some changes from @eremitein to deal with certain bootloop, deep sleep and hotspot issues, but since most of them are reverts of earlier commits by Google/LOS devs, it's possible that they might've been intended as fixes for some devices, and reverting them might break them again. Please keep this in mind, backup and test/observe accordingly.
my phone is in bootloop and I can't charge off.
 
Last edited:

rulon332

New member
May 30, 2019
2
1
I have a problem, tried almost everything... I have xiaomi mi9se, tried install it using fastboot and recovery, I'm getting always bootloop (quack's gsi works fine) or I can't install gapps - getting error 64 => I'm using ARM64 android 10 nano.
Tried restarting to bootloader just after installing gsi img, resized system partition, mounted before installing gapps, always the same.
Any solutions?
 
  • Like
Reactions: danapk

Gilbot

Senior Member
Jul 29, 2010
606
114
Milpitas
Has there ever been a version with exFat support? It's literally the only thing i need that isn't working :(

Phh-Treble Android 10 has working exFat but a strange youtube video rotation issue
Lineage 17 has working Youtube video but no exFat

:( :( :(
 

ogghi

Senior Member
Jan 18, 2015
225
45
Hi there, I am trying to get the lineage-17.1-20200511-UNOFFICIAL-treble_arm64_bvN.img on my BV9800 Pro.
I managed to flash the img with fastboot. But it boot loops.

I can't flash any gapps or similar as the /system partition is only 1832MB in size.
How can I get proper partitioning here?

Thanks
ogghi
 

Reznor7

Senior Member
Apr 27, 2013
340
76
I'm having an issue with some games that install obb files to the internal memory. The Play Store downloads and copies them over, but at the final step, the obb files are deleted. It seems very random in nature. It happens with some games, but not others. It doesn't seem to depend on the obb file size either.
 

hyperion70

Senior Member
Dec 7, 2013
243
734
Tula
Hi there, I am trying to get the lineage-17.1-20200511-UNOFFICIAL-treble_arm64_bvN.img on my BV9800 Pro.
I managed to flash the img with fastboot. But it boot loops.

I can't flash any gapps or similar as the /system partition is only 1832MB in size.
How can I get proper partitioning here?

Thanks
ogghi

You can try to do this using TWRP.
Flash GSI -> backing up system partition -> Wipe /system -> restore system partition
Then you can flash opengapps.
Screenshot_2020-05-19-09-56-06.png
 
Last edited:

ogghi

Senior Member
Jan 18, 2015
225
45
Thanks for the help!
It worked partly:
Flashed LOS over fastboot.
Backed up /system. Wiped /system. Restored /system.
In recovery flash opengapps nano, Magisk 20.4.
Reboot -> Boot loops only!

Any idea why this could happen?
 

Betrayal92

Senior Member
Jul 6, 2016
114
68
Jujuy
Hi there, I am trying to get the lineage-17.1-20200511-UNOFFICIAL-treble_arm64_bvN.img on my BV9800 Pro.
I managed to flash the img with fastboot. But it boot loops.

I can't flash any gapps or similar as the /system partition is only 1832MB in size.
How can I get proper partitioning here?

Thanks
ogghi
Use treble check to make sure of the version for your phone, remember to use repair or resize on Advanced wipe, reboot to recovery and then flash gapps
 
Last edited:

hyperion70

Senior Member
Dec 7, 2013
243
734
Tula
Thanks for the help!
It worked partly:
Flashed LOS over fastboot.
Backed up /system. Wiped /system. Restored /system.
In recovery flash opengapps nano, Magisk 20.4.
Reboot -> Boot loops only!

Any idea why this could happen?

Your device contains Mediatek chip MT6771. The most likely reason may be in your ProjectConfig.mk (see vendor/data/misc/ProjectConfig.mk). If vendor switch on these two macros
Code:
MTK_MOBILE_MANAGEMENT = yes
MTK_PERMISSION_CONTROL = yes
then when installing GAPPs you will get a bootloop. The only solution in this case is to install BiTGApps.

:eek:
I think "resize..." would be a better choice.

If you select resize then this will delete all data including storage/emulated/0. It is necessary to flash GSI again and again.
 

ogghi

Senior Member
Jan 18, 2015
225
45
Your device contains Mediatek chip MT6771. The most likely reason may be in your ProjectConfig.mk (see vendor/data/misc/ProjectConfig.mk). If vendor switch on these two macros
Code:
MTK_MOBILE_MANAGEMENT = yes
MTK_PERMISSION_CONTROL = yes
then when installing GAPPs you will get a bootloop. The only solution in this case is to install BiTGApps.



If you select resize then this will delete all data including storage/emulated/0. It is necessary to flash GSI again and again.

Hi there, thanks for the detailed reply!
So I could try even w/o Gapps first to see?

The problem is now, it is my daily driver...and my old Xiaomi Mi5 backup phone has a battery life of half a day :|
So I need to see when I get to test this!

But, many thanks already!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 102
    640px-Lineage_OS_Logo.png


    Background:
    This is a natural continuation/extension of the LineageOS 16.0 GSIs I've been making since March 2019.
    If you clicked in here, I bet you know what LineageOS is already, but just to fill the blank:
    LineageOS is a free, community built, aftermarket firmware distribution of Android, 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. 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 Gerrit Code Review.

    Disclaimer:
    This is still mostly a LineageOS team / PHH @phhusson effort, credits to them and all associated for making all this possible.
    No flashing instructions will be offered. If you're here in this forum, you should know what you're doing.
    No guarantees that everything would work. This is a GSI, bugs are bound to happen.

    Download:
    https://sourceforge.net/projects/andyyan-gsi/files/
    Compressed as .xz archives - extract first.
    Vanilla except for these changes:
    • Modifications needed to make it build/boot/feature-complete, see below
    • Revived navbar layout tuning via sysui_nav_bar tunable
    • Disabled "vendor mismatch" warning on boot
    • Signature spoofing support from MicroG (preliminary patch for Android 10)
    • Default stretch-to-fullscreen (force apps to render in 18:9)

    Extra tip:
    If you have a relatively low-end device and experience UI stutters, try this simple build.prop trick (technically a debug property, so use at your own risk). Thanks @SnapTheRipper for bringing it up!

    Stuff on GitHub (builders-only):
    Since builders' stuff aren't really interesting to end users, I decided not to separately document the modifications needed in this post; instead just check out the scripts/patches, where most things should be self-explanatory: treble_build_los, treble_patches (PHH's treble_patches adjusted for LOS). Not the cleanest code, but should help if you need some clues.

    Donate?
    https://paypal.me/AndyCGYan
    32
    Reserved

    Couple of things to note:
    • Even on a device that runs Pie GSIs nicely, it's still possible to get broken media, camera, RIL or even flat-out no-boot on Android 10 ones. You are strongly advised to try PHH's AOSP first and identify/report issues there, before moving onto other GSIs that are based on his work. Please report bugs here only if it's specific to this GSI.
    • LineageOS 17.x has lost some features in the process of transitioning to Android 10, e.g. Privacy Guard and built-in SU.
    • If using Magisk on an A-only device, a modified Magisk is required.
    • exfat SD cards still don't seem to work. Any help related to this would be appreciated.
    • The feature "Re-enabled lockscreen shortcuts by default" has been dropped - not that it can't be done, but Google again made ugly changes to the lockscreen, and with the shortcuts turned on it looks asymmetric and adds to the ugliness. Lockscreen shortcuts themselves might still come back with a future upstream update, just like how it did in 16.0.
    • In the 16.0 GSIs I've included changes that allow for automatic front camera actions for Xiaomi Redmi K20 Pro, but these have to be reworked for Android 10, and I'm not interested in doing so (in fact I prefer manual controls). Consider these changes abandoned for now.
    18
    Updated all variants with July security patches and in sync with PHH v221. [Insert obligatory backup-and-test warning here]

    It's been a quiet month on both AOSP and PHH fronts...
    17
    Updated all variants with February security patches and in sync with PHH v212. [Insert obligatory backup-and-test warning here]

    All good and healthy here despite the coronavirus situation (naturally, I just stay indoors all day). Thanks for your concerns :)
    16
    Updated all variants in sync with PHH v208. [Insert obligatory backup-and-test warning here]
    Skipped r18 (December patch) for aforementioned instability.
    No more updates for the rest of 2019! (lol)

    BTW, here's a tip straight from PHH's TG channel, for those who are having trouble with GAPPS setup wizard:
    In ADB:
    adb shell settings put secure user_setup_complete 1
    adb shell settings put global device_provisioned 1
    This should skip the wizard entirely while also setting the proper flags.