Download Latest Version lineage-22.2-20250621-UNOFFICIAL-gsi_arm64_vN.img.gz (1.1 GB)
Email in envelope

Get an email when there's a new version of Andy Yan's personal builds // GSI

Home / Migration
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-08-18 1.8 kB
migration.sh 2024-07-20 24.2 kB
Totals: 2 Items   26.0 kB 19

迁移方法 / Migration

中文

从未签名的版本升级(不擦数据)至已签名的版本,需先卸载已安装的IMS APK(org.codeaurora.ims或com.mediatek.ims.ImsApp)。

然后,在开机状态下运行迁移脚本。

  • 将脚本推送到设备:
adb push migration.sh /data/local/tmp/migration.sh
  • 运行脚本需要root权限的shell。如果你已安装了Magisk之类的第三方root,可以直接:
adb shell
su

如果没有,也可以打开系统自带的root调试(设置 - 系统 - 开发者选项 - Root身份的调试),然后:

adb root
adb shell
  • 实际运行脚本:
stop
sh /data/local/tmp/migration.sh official
  • 脚本提示“Done”后,按正常步骤,重启至fastbootd或recovery,刷入已签名的版本。

脚本和步骤基于LOS/wiki:https://wiki.lineageos.org/signing_builds

English

If you are moving from an "unsigned" unofficial build to a signed one, you need to first uninstall any existing IMS APKs (org.codeaurora.ims, com.mediatek.ims.ImsApp).

Then, run the migration script from within Android.

  • Push the script to the device:
adb push migration.sh /data/local/tmp/migration.sh
  • To run the script, a rooted shell is needed. If you've already installed a 3rd-party root solution (e.g. Magisk):
adb shell
su

Otherwise, enable built-in rooted debugging (Settings - System - Developer options - Rooted debugging), then:

adb root
adb shell
  • Actually run the script:
stop
sh /data/local/tmp/migration.sh official
  • After the script prompts "Done", reboot to fastbootd/recovery, and flash the signed build, per usual steps.

Script and steps are based on LOS/wiki: https://wiki.lineageos.org/signing_builds

Source: README.md, updated 2024-08-18