1.修改文件
init.rk30board.rc -- add
mkdir /data/lineageos_updates
chmod 0777 /data/lineageos_updates
chmod 0777 /data/lineageos_updates/update.zip
rk3399_Android10.mk
lineage.updater.uri=http://192.168.0.107/T103/ten.json \
ro.lineage.releasetype=nightly \
lineage.updater.allow_downgrading=true \
ro.lineage.build.version=10.1
ten.json
{
"response": [
{
"datetime": 1614042530,
"filename": "update.zip",
"id": "09490bce7eb8ec3b2fcdfcb2cfc23662",
"romtype": "nightly",
"size": 481154443,
"url": "http://192.168.0.107/T103/update.zip",
"version": "10.1"
}
]
}
Notice:
1.words erro
2.ten.json can't have any erro (url filename id size),md5sum update.zip