0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Googlebookのリカバリイメージを入手したので、分解して中身見た(1.とりあえずsuper.imgを展開して、中身見た)

0
Posted at

環境

Ubuntu26.04 LTS で作業

#リカバリイメージの取得

↑ここからGooglebookのbinイメージを落とす

展開

7zipで展開すると、

0.userdata.img      18.vendor_boot_a.img  27.desktop_security_persist.img
1.KERN-A.img        19.vendor_boot_b.img  28.desktop_security_storage.img
10.EFI-SYSTEM.img   2.super.img           29.frp_persist.img
11.boot_a.img       20.pvmfw_a.img        3.KERN-B.img
12.boot_b.img       21.pvmfw_b.img        4.ROOT-B.img
13.vbmeta_a.img     22.misc.img           5.KERN-C.img
14.vbmeta_b.img     23.RWFW-A.img         6.ROOT-C.img
15.metadata.img     24.RWFW-B.img         7.OEM.img
16.init_boot_a.img  25.recovery_a.img     8.ota_recovery_a.img
17.init_boot_b.img  26.recovery_b.img     9.ota_recovery_b.img

lpunpackでsuper.imgを展開する
↓これ使った

zipを展開して作業ディレクトリに置く

./android-lptools/lpunpack 2.super.img

結果

product_a.img  system_b.img       system_ext_a.img  vendor_b.img
product_b.img  system_dlkm_a.img  system_ext_b.img  vendor_dlkm_a.img
system_a.img   system_dlkm_b.img  vendor_a.img      vendor_dlkm_b.img

おまけ

2.super.img内のsystem_a.imgをマウントすると、

adb_keys        data_mirror      odm                     sys
apex            debug_ramdisk    odm_dlkm                system
bin             dev              oem                     system_dlkm
bootstrap-apex  etc              postinstall             system_ext
bugreports      init             proc                    tmp
cache           init.environ.rc  product                 vendor
config          linkerconfig     sdcard                  vendor_dlkm
d               metadata         second_stage_resources
data            mnt              storage

があり、system/media/bootanimation.zip
があったので、ffmpegとか使ってブートアニメーションできた。
動画↓

自分でやりたい人はaiとか使ったら行けると思う。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?