背景:
阅读新闻

树莓派输入LineageOS手顺

  作者: 今日评论: [字体: ]
0.使用BigBaiCai等恢复sd卡空间

1.安装
下载img
https://konstakang.com/devices/rpi4/LineageOS17.1-ATV/

balenaEtcher或者Win32DiskImager将[ lineage-17.1-20200813-UNOFFICIAL-KonstaKANG-rpi4.img ]输入到sd中
烧录后把sd卡插入树莓派,开机启动即可

2.安装后相关设置
开启在开发者选项
Settings -> Device Preferences -> About -> Click ‘Build number’ several times.

在开发者选项中
   开启 Advanced reboot (好像没有用)
      Settings -> Device preferences -> About -> Restart -> Recovery进入不到recovery,还是会进入安卓系统
   开启 root access
   开启 本地终端 
   设置 不锁定屏幕


3.进入recovery/twrp系统
Local terminal下,执行以下命令重启进入recovery
su
rpi4-recovery.sh   (该脚本为系统内置,不需要安装)
显示"Done,reboot device!"后,输入↓
reboot


4.twrp下刷包
4.1 sd卡容量patch
因为img文件是7g卡制作,使用大于8g的卡,可能系统空间显示有问题,刷入以下img可解决
lineage-17.1-rpi-resize.zip -> https://androidfilehost.com/?fid=8889791610682901036
插入存放zip文件的usb到树莓派上,
D:\OneDrive - jpfocus.com\_工控机和树莓派\_TV for_raspberry\2.lineage-17.1-rpi-resize-sdcard.zip
主页面 > Install > Select Storage > USB-OTG > 选中 Reboot after installation complete > 执行刷包


4.2谷歌apps
下载 Google apps
Platform:ARM
Android:10.0
Variant:tvstock
https://opengapps.org/?arch=arm&api=10.0&variant=tvstock
主页面 > Install > Select Storage > USB-OTG > 选中 Reboot after installation complete > 执行刷包
D:\OneDrive - jpfocus.com\_工控机和树莓派\_TV for_raspberry\3.open_gapps-arm-10.0-tvstock-20201010.zip
刷入后wipe下,恢复到出厂设置
wipe后需要重新设置第2步的相关设置

4.3
使用twrp中高级功能>文件管理
吧es文件管理器 拷贝到sd卡download文件夹(市场中的文件管理器大部分都不支持otg usb)
注意使用free版本的最新版,旧版本可能有问题
"D:\OneDrive - jpfocus.com\_工控机和树莓派\_TV for_raspberry\app\esExplorer-free-only-this-ver-support.apk"
然后随便在市场里找个文件浏览器安装es app.

5.从recovery/twrp系统返回到安卓tv
再twrp中重启还是会回到twrp系统,无法进入安卓系统
重新回到系统需要执行以下文件刷包
"D:\OneDrive - jpfocus.com\_工控机和树莓派\_TV for_raspberry\1.lineage-17.1-rpi-recovery2boot.zip"
来源:
录入日期:[2020/12/02 18:36:00]
收藏 推荐 打印 | 录入:mikebai | 阅读:
文章评论      
正在加载评论列表...
评论表单加载中...