[GSI][12] LineageOS 19.x GSI (A64B/64B)

What's your status on GAPPS and SafetyNet?

  • I use GAPPS and passed SafetyNet with Magisk, etc.

    Votes: 10 20.0%
  • I use GAPPS and can't pass SafetyNet - I probably need a VNDKLite or "secure" build

    Votes: 12 24.0%
  • I use GAPPS as-is and don't care about SafetyNet

    Votes: 7 14.0%
  • I don't use GAPPS at all

    Votes: 21 42.0%

  • Total voters
    50
  • Poll closed .
Search This thread

jianjianus

Member
Aug 15, 2022
43
2
使用 8 月安全补丁更新了所有变体。[在此处插入强制性备份和测试警告]

PHH 正在度过一个异常漫长的假期,在此期间他无法将新的更改合并到他的消息来源中。我冒昧地对 TrebleApp 进行了一些修复,即:
  • 需要 SU 的命令(例如 Securize、Restart SystemUI)现在在 PHH-SU 和 Magisk 上的工作更加一致
  • 当 Force FPS 检测到分辨率变化时自动重启 SystemUI,以修复明显的状态栏故障
  • 修复了一个长期存在的错误,该错误导致应用程序在 OnePlus 设备上启动后无法使用
A13 并没有像预期的那样本月问世……谷歌,我猜你就是你。
You post GSI and communication in that forum in China, I am from China, it is convenient to communicate in Chinese, my English is very poor
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,489
3,869
Beijing
You post GSI and communication in that forum in China, I am from China, it is convenient to communicate in Chinese, my English is very poor
I prioritize international audience for various reasons, one being that the Chinese enthusiast community doesn't appreciate PHH-based GSIs as well as I'd like to see; instead they prefer ported sGSIs, esp. OEM ones. It's not a matter of communication, as I've directly or indirectly advocated for PHH-based GSIs in CoolAPK, QQ, etc. - it's simply people aren't interested. Eventually I got discouraged and just let it be.
Feel free to PM me as a way of communicating in Chinese.

我优先面向全球用户,原因之一是国内对基于PHH的GSI接受度不高,而是更热衷各种移植的sGSI。我在酷安、QQ等都有直接或间接地宣传过基于PHH的GSI,并没什么用,大多数人就是不感兴趣。心累,不管了。
有事找我且一定要用中文的话,可以私信。
 
  • Like
Reactions: woofwoof75

jianjianus

Member
Aug 15, 2022
43
2
I prioritize international audience for various reasons, one being that the Chinese enthusiast community doesn't appreciate PHH-based GSIs as well as I'd like to see; instead they prefer ported sGSIs, esp. OEM ones. It's not a matter of communication, as I've directly or indirectly advocated for PHH-based GSIs in CoolAPK, QQ, etc. - it's simply people aren't interested. Eventually I got discouraged and just let it be.
Feel free to PM me as a way of communicating in Chinese.

我优先面向全球用户,原因之一是国内对基于PHH的GSI接受度不高,而是更热衷各种移植的sGSI。我在酷安、QQ等都有直接或间接地宣传过基于PHH的GSI,并没什么用,大多数人就是不感兴趣。心累,不管了。
有事找我且一定要用中文的话,可以私信。
thx
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,489
3,869
Beijing
Surprisingly Google launched Android 13 just now, but unsurprisingly they didn't release a GSI along with it (they usually only do so for Betas). Therefore, I'm once again bringing you some day-1 fun. However, unlike last year with S, this time it's just an almost vanilla build, with only the following changes:
  • Built as userdebug (has adb root)
  • Disabled EXT4 shared blocks (/system writeable, for poking around)
  • Multi-user enabled by default
Get it from SF: TP1A.220624.021.A1-aosp_arm64.img.xz.

Again, this build is merely an appetizer/demo - it's not a PHH-based GSI, doesn't contain the myriad of fixes, and won't get support or updates.
 

Attachments

  • Screenshot_20220816-083537.png
    Screenshot_20220816-083537.png
    134 KB · Views: 151
Surprisingly Google launched Android 13 just now, but unsurprisingly they didn't release a GSI along with it (they usually only do so for Betas). Therefore, I'm once again bringing you some day-1 fun. However, unlike last year with S, this time it's just an almost vanilla build, with only the following changes:
  • Built as userdebug (has adb root)
  • Disabled EXT4 shared blocks (/system writeable, for poking around)
  • Multi-user enabled by default
Get it from SF: TP1A.220624.021.A1-aosp_arm64.img.xz.

Again, this build is merely an appetizer/demo - it's not a PHH-based GSI, doesn't contain the myriad of fixes, and won't get support or updates.
 

Attachments

  • PXL_20220816_023437373.jpg
    PXL_20220816_023437373.jpg
    1 MB · Views: 283
  • PXL_20220816_023451279.jpg
    PXL_20220816_023451279.jpg
    1.2 MB · Views: 281
  • Like
Reactions: lucsol

jianjianus

Member
Aug 15, 2022
43
2
TP1A.220624.021.A1-aosp_arm64.img
Installed. Thanks


1:After locking the screen, the power button light screen lags, the black screen time is long, once the screen is bright pick up the phone and automatically black screen: (

2:There is no sound in the handset and no sound in the speakerphone when making a call, and the call is abnormal.
 

Attachments

  • Screenshot_20220816-191747[1].png
    Screenshot_20220816-191747[1].png
    89.9 KB · Views: 110
  • Screenshot_20220816-191758[1].png
    Screenshot_20220816-191758[1].png
    925.4 KB · Views: 112
  • Screenshot_20220816-191825[1].png
    Screenshot_20220816-191825[1].png
    135.7 KB · Views: 111
Last edited:
  • Like
Reactions: lucsol

Jakob18

Member
Jul 23, 2008
25
5
Xiaomi Mi 9
Hi thanks for your work.
I installed "lineage-19.1-20220814-UNOFFICIAL-arm64_bgS-vndklite" after "sas-creator-master" to securize the img but still some apps detect my tabet as rooted, like Netflix, Macdonalds, TAP and my bank app. Do you know a work around?
My tablet is an iPlay 30 T1012C
 

AndyYan

Recognized Contributor
Jan 30, 2012
4,489
3,869
Beijing
installed "lineage-19.1-20220814-UNOFFICIAL-arm64_bgS-vndklite" after "sas-creator-master" to securize the img but still some apps detect my tabet as rooted, like Netflix, Macdonalds, TAP and my bank app.
With the recent SN updates, there might not be a way to fool it anymore. Per my stance I didn't intend to provide support/guidance for GAPPS/SN anyway, so I wouldn't look into it further, and will leave it to y'all to figure out if there's a new way out.
 
Hello,

I would like to use this GSI-Rom with a GAPPS feature set analogous to OpenGapps Pico.
Unfortunately, the builds with GAPPS contain significantly more Google software than the OpenGapps Pico package.

What would be the best way to bring the GAPPS builds to the level of an OpenGapps Pico package in terms of feature set?

Unfortunately there is no custom recovery for my smartphone. So the direct installation of an OpenGapps package is unfortunately not possible.


And one more question:
What is the ideal procedure for an (OTA) update of this GSI when Magisk is installed (A/B-device)?
 
Last edited:

Tonijbl

New member
Aug 21, 2022
2
0
Hola buenas alquilen me puede ayudar a ubicar los archivos necesarios para mí teléfono es un Nokia g10, agradezco su ayuda
 

Attachments

  • Screenshot_20220820-212230.png
    Screenshot_20220820-212230.png
    206.7 KB · Views: 60

danthang

New member
Oct 18, 2019
1
0
i use ulefone power 13 . i comment your firmware is great. it's better than my phone's firmware. thank you very much
 

vassiliszacharis

Senior Member
Oct 6, 2020
62
0
Hello congrats for this best custom ROM. A question please, how can we make an update? I have the previous version. As I have tried OTA it shown that OTA update is not possible! How can you update?
 

Pervokur

Senior Member
Feb 15, 2022
192
52
I have also a memory leak in "system_server", i must restart my phone everyday to mitigate this issue
yeah swap pss is keep growing

surfaceflinger
TOTAL PSS: 251203 TOTAL RSS: 90084 TOTAL SWAP PSS: 167420

system_server
TOTAL PSS: 304156 TOTAL RSS: 194348 TOTAL SWAP PSS: 178257

increasing zram can prolong time before you need reboot
 

Aegis_Zerty

New member
Nov 26, 2021
3
0
what do you have here?

cat /sys/block/zram0/use_dedup
Bash:
┌─[[email protected]] - [~] - [2022-09-04 10:16:37]
└─[0] <> sudo cat /sys/block/zram0/use_dedup
cat: /sys/block/zram0/use_dedup: No such file or directory
┌─[[email protected]] - [~] - [2022-09-04 10:16:41]
└─[1] <> sudo ls -l /sys/block/zram0/
total 0
-r--r--r-- 1 root root 4096 Sep  4 10:16 alignment_offset
lrwxrwxrwx 1 root root    0 Sep  4 10:16 bdi -> ../../bdi/253:0
-r--r--r-- 1 root root 4096 Sep  4 10:16 capability
-rw-r--r-- 1 root root 4096 Sep  3 19:13 comp_algorithm
--w------- 1 root root 4096 Sep  4 10:16 compact
-r--r--r-- 1 root root 4096 Sep  4 10:16 compr_data_size
-r--r--r-- 1 root root 4096 Sep  4 10:16 dev
-r--r--r-- 1 root root 4096 Sep  4 10:16 discard_alignment
-rw-r--r-- 1 root root 4096 Sep  4 10:16 disksize
-r--r--r-- 1 root root 4096 Sep  4 10:16 ext_range
-r--r--r-- 1 root root 4096 Sep  4 10:16 failed_reads
-r--r--r-- 1 root root 4096 Sep  4 10:16 failed_writes
drwxr-xr-x 2 root root    0 Sep  4 10:16 holders
-r--r--r-- 1 root root 4096 Sep  4 10:16 inflight
-r--r--r-- 1 root root 4096 Sep  4 10:16 initstate
-r--r--r-- 1 root root 4096 Sep  4 10:16 invalid_io
-r--r--r-- 1 root root 4096 Sep  4 10:16 io_stat
-rw-r--r-- 1 root root 4096 Sep  4 10:16 max_comp_streams
-rw-r--r-- 1 root root 4096 Sep  4 10:16 mem_limit
-rw-r--r-- 1 root root 4096 Sep  4 10:16 mem_used_max
-r--r--r-- 1 root root 4096 Sep  4 10:16 mem_used_total
-r--r--r-- 1 root root 4096 Sep  3 19:14 mm_stat
-r--r--r-- 1 root root 4096 Sep  4 10:16 notify_free
-r--r--r-- 1 root root 4096 Sep  4 10:16 num_reads
-r--r--r-- 1 root root 4096 Sep  4 10:16 num_writes
-r--r--r-- 1 root root 4096 Sep  4 10:16 orig_data_size
drwxr-xr-x 2 root root    0 Sep  4 10:16 power
drwxr-xr-x 2 root root    0 Sep  4 10:16 queue
-r--r--r-- 1 root root 4096 Sep  4 10:16 range
-r--r--r-- 1 root root 4096 Sep  4 10:16 removable
--w------- 1 root root 4096 Sep  4 10:16 reset
-r--r--r-- 1 root root 4096 Sep  4 10:16 ro
-r--r--r-- 1 root root 4096 Sep  4 10:16 size
drwxr-xr-x 2 root root    0 Sep  4 10:16 slaves
-r--r--r-- 1 root root 4096 Sep  4 10:16 stat
lrwxrwxrwx 1 root root    0 Sep  4 10:16 subsystem -> ../../../../class/block
-rw-r--r-- 1 root root 4096 Sep  4 10:16 uevent
-r--r--r-- 1 root root 4096 Sep  4 10:16 zero_pages
 

Pervokur

Senior Member
Feb 15, 2022
192
52
Bash:
┌─[[email protected]] - [~] - [2022-09-04 10:16:37]
└─[0] <> sudo cat /sys/block/zram0/use_dedup
cat: /sys/block/zram0/use_dedup: No such file or directory
┌─[[email protected]] - [~] - [2022-09-04 10:16:41]
└─[1] <> sudo ls -l /sys/block/zram0/
total 0
-r--r--r-- 1 root root 4096 Sep  4 10:16 alignment_offset
lrwxrwxrwx 1 root root    0 Sep  4 10:16 bdi -> ../../bdi/253:0
-r--r--r-- 1 root root 4096 Sep  4 10:16 capability
-rw-r--r-- 1 root root 4096 Sep  3 19:13 comp_algorithm
--w------- 1 root root 4096 Sep  4 10:16 compact
-r--r--r-- 1 root root 4096 Sep  4 10:16 compr_data_size
-r--r--r-- 1 root root 4096 Sep  4 10:16 dev
-r--r--r-- 1 root root 4096 Sep  4 10:16 discard_alignment
-rw-r--r-- 1 root root 4096 Sep  4 10:16 disksize
-r--r--r-- 1 root root 4096 Sep  4 10:16 ext_range
-r--r--r-- 1 root root 4096 Sep  4 10:16 failed_reads
-r--r--r-- 1 root root 4096 Sep  4 10:16 failed_writes
drwxr-xr-x 2 root root    0 Sep  4 10:16 holders
-r--r--r-- 1 root root 4096 Sep  4 10:16 inflight
-r--r--r-- 1 root root 4096 Sep  4 10:16 initstate
-r--r--r-- 1 root root 4096 Sep  4 10:16 invalid_io
-r--r--r-- 1 root root 4096 Sep  4 10:16 io_stat
-rw-r--r-- 1 root root 4096 Sep  4 10:16 max_comp_streams
-rw-r--r-- 1 root root 4096 Sep  4 10:16 mem_limit
-rw-r--r-- 1 root root 4096 Sep  4 10:16 mem_used_max
-r--r--r-- 1 root root 4096 Sep  4 10:16 mem_used_total
-r--r--r-- 1 root root 4096 Sep  3 19:14 mm_stat
-r--r--r-- 1 root root 4096 Sep  4 10:16 notify_free
-r--r--r-- 1 root root 4096 Sep  4 10:16 num_reads
-r--r--r-- 1 root root 4096 Sep  4 10:16 num_writes
-r--r--r-- 1 root root 4096 Sep  4 10:16 orig_data_size
drwxr-xr-x 2 root root    0 Sep  4 10:16 power
drwxr-xr-x 2 root root    0 Sep  4 10:16 queue
-r--r--r-- 1 root root 4096 Sep  4 10:16 range
-r--r--r-- 1 root root 4096 Sep  4 10:16 removable
--w------- 1 root root 4096 Sep  4 10:16 reset
-r--r--r-- 1 root root 4096 Sep  4 10:16 ro
-r--r--r-- 1 root root 4096 Sep  4 10:16 size
drwxr-xr-x 2 root root    0 Sep  4 10:16 slaves
-r--r--r-- 1 root root 4096 Sep  4 10:16 stat
lrwxrwxrwx 1 root root    0 Sep  4 10:16 subsystem -> ../../../../class/block
-rw-r--r-- 1 root root 4096 Sep  4 10:16 uevent
-r--r--r-- 1 root root 4096 Sep  4 10:16 zero_pages
I flashed old kernel with CONFIG_ZRAM_DEDUP=y, so far no increase in zram size in memory, but swap pss is still growing.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Updated all variants with September security patches. [Insert obligatory backup-and-test warning here]

    LOS19 has passed its year mark and now enters low-effort maintenance mode.

    Unfortunately for all waiting out there, PHH isn't working on A13 yet (burnout, etc.), and neither am I (day job, etc.). If you feel thankful to PHH's work over the years and are looking forward to more, please show it by donating to him, perhaps via PayPal ([email protected]).
    2
    Instead of making GAPPS builds, why don't you try applying Sandboxed Play Services to LineageOS?
    Certainly not in 19.x, now that it's in low-effort maintenance mode. That's quite a bunch of changes in more than just FWB.
    Perhaps in 20.x if/when I do it, and not before ample testing.
    1
    does anyone have a memory leak in surfaceflinger?
    1
    Hello congrats for this best custom ROM. A question please, how can we make an update? I have the previous version. As I have tried OTA it shown that OTA update is not possible! How can you update?
    Just dirty flash on top. I don't recommend using this OTA anyway, and might simply not include it in LOS20 (if/when it comes).
  • 27
    640px-Lineage_OS_Logo.png


    Background:
    This is a natural continuation/extension of the LineageOS 18.x GSIs I've been making since 2020.
    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.

    Must-read:
    You are STRONGLY ADVISED to try PHH's AOSP of equivalent version FIRST and identify/report issues there, before moving onto other GSIs that are based on his work, including this one.
    If you do find bugs on this GSI and want to report, then you MUST try reproducing on AOSP, and ONLY proceed to report here when it's specific to this GSI. This filters out bugs common to all PHH-based GSIs, which you should let PHH know, not me. I might silently ignore your report if you skip this.


    Download:
    https://sourceforge.net/projects/andyyan-gsi/files/
    Compressed as .xz archives - extract first.

    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 these repos, where most things should be self-explanatory. Not the cleanest code, but should help if you need some clues.
    Donate?
    https://paypal.me/AndyCGYan
    13
    Reserved

    Notes:
    • I now have a rather taxing day job, and can't devote nearly as much time/effort into this as I did as a student.
    • Naturally, LOS19 is pretty early at this point, and many features are absent or don't work. Heck, I hacked in Gallery and LiveDisplay before LOS people even attempted, just because they're important to me.
    • GAPPS builds are offered as-is without guarantees. Read #10 for more.
    • /system is RO on regular builds and RW on VNDKLite builds. VNDKLite builds can be used on most non-VNDKLite devices as well.
    • Signature spoofing (MicroG) is supported, but only for priv-apps. This is a security consideration from PHH.
    • Magisk support should be on par with A11 (thanks @eremitein). The "abnormal state / unsupported SU" warning can be ignored. For devices that still don't play well with Magisk (e.g. kernel restrictions implemented by OEM), use PHH-SU instead. Install the app and you'll get root for apps.
    • I've picked a few commits from ProtonAOSP to fix global theming (thanks @kdrag0n), and also moved a few useful patches out from my personal build to public. I'm willing to deviate a bit from vanilla LOS to bring them to everyone. For even more personalized mods, check out this sample personal build side-by-side with the patches repo.
    • exfat SD cards still don't seem to work. Any help related to this would be appreciated.
    8
    Updated all variants with March security patches and in sync with PHH v410. [Insert obligatory backup-and-test warning here]

    Lots to say about this build...
    • Backup: We're entering Android 12L / LineageOS 19.1, and you should be alarmed to any major updates like this. Especially if you're a maniac like me who uses this daily, BACKUP EVERYTHING and BRACE FOR WIPE! Out of the 10 devices I flashed 19.x on, 2 of them was unable to update through a dirty flash, prompting me to wipe data. I was lucky that neither were critical, and my daily driver updated smoothly, but don't test your luck.
    • Change of variant names: see 18.1 post.
    • Broken stuff: 12L broke quite a bunch of my changes, as evident by how much I delayed this build to correct them, but even now there might still be ones lingering. Known is statusbar height might be f'd up for devices that have an overlay (Google inverted the definition, I already informed PHH of it), and SearchLauncher on GAPPS variants might be half-working.
    • OTA: This is also the first release to contain PHH's homemade OTA mechanism, implementation info here. Enter the Updater either from PHH Settings, or from Settings - System. However, some known caveats:
      • SourceForge could be stupidly slow when accessed through the Updater
      • No error detection or A/B fallback in case of failure
      • Magisk will NOT work anymore after you take such an OTA
      • Any data wipe will take you back to when you haven't taken any
    ...thus I strongly recommend you stick to the current flow and have a PC by you for updates.​
    7
    Initial builds are based on PHH v400.c and November security patches.
    Sigh, I don't really want to make a thread this early...

    BTW, 32-bit and A-only users, you should really move on.
    7
    Updated all variants with September security patches. [Insert obligatory backup-and-test warning here]

    LOS19 has passed its year mark and now enters low-effort maintenance mode.

    Unfortunately for all waiting out there, PHH isn't working on A13 yet (burnout, etc.), and neither am I (day job, etc.). If you feel thankful to PHH's work over the years and are looking forward to more, please show it by donating to him, perhaps via PayPal ([email protected]).