Repository navigation
Build custom full OTA package from Fastboot images #582
|
I just bought Nothing Phone (3) and I want to try this project with the latest version (Metroid_B4.0-260206-1135). However, Nothing didn't provide any full OTA package for this version. I searched for a while and found Nothing Archive provide full fastboot images which extracted and patched from the stock OTA packages. So how to build a custom OTA package using these Fastboot Images? |
Replies: 2 comments 8 replies
|
If you're running Linux, then the easiest way to do this is to use https://github.com/chenxiaolong/avbroot-inc-ota#apply-incremental-ota. It can take a full OTA and a incremental OTA and produce a new full OTA that you can use with avbroot. For the archive you linked, you would need to run this twice to apply both incremental OTAs. The downside is that this requires AOSP's Since fastboot images are available in your case, it is also possible to do this manually, which does not require Linux and does not require any other tools besides avbroot itself. You will need to download the incremental OTA and also the fastboot images. This requires the new avbroot 3.28.0 release.
|
|
BTW, I also tried the However, I got these error when patching the OTA package So what it happened? |
If you're running Linux, then the easiest way to do this is to use https://github.com/chenxiaolong/avbroot-inc-ota#apply-incremental-ota. It can take a full OTA and a incremental OTA and produce a new full OTA that you can use with avbroot. For the archive you linked, you would need to run this twice to apply both incremental OTAs.
The downside is that this requires AOSP's
delta_generatortool, which is painful to build from source. I've uploaded a prebuilt binary in the past here: #387 (comment)Since fastboot images are available in your case, it is also possible to do this manually, which does not require Linux and does not require any other tools besides avbroot itself. You will need…