mobile-nixos / autoport

GNU General Public License v3.0
13 stars 0 forks source link

Extract CAF version info #8

Open samueldr opened 3 years ago

samueldr commented 3 years ago

Extracting this information from a ROM dump would be useful as extra facts gathering.


It seems that for some dumps ver_info.txt has the information.

This can be useful to "rebase" OEM changes to the kernel on top of the official CAF sources.

https://git.rip/dumps/asus/asus_x01bd/-/blob/d20f50c89ce90f88a4f18457892176c8678de648/modem/verinfo/ver_info.txt

        "apps": "LA.UM.8.2.r1-04300-sdm660.0-1", 

https://git.rip/dumps/razer/aura/-/blob/aura-user-9-P-MR1-RC003-RZR-190305-3110-release-keys/modem/verinfo/ver_info.txt

        "apps": "LA.UM.7.3.r1-06600-sdm845.0-2", 

Some have it in a prop ro.vendor.build.version.qcom mainly, or similar

https://git.rip/dumps/motorola/chef_sprout/-/blob/user-10-QPT30.61-18-16-4306fb-release-keys/vendor/build.prop#L78

ro.vendor.build.version.qcom=LA.UM.8.2.r1-04300-sdm660.0

No other obvious sources (at this moment)

https://www.google.com/search?&q=site%3Agit.rip%2Fdumps+%22LA.UM%22+-inurl%3Aver_info.txt+-inurl%3Abuild.prop+-inurl%3Aprop.default&oq=site%3Agit.rip%2Fdumps+%22LA.UM%22+-inurl%3Aver_info.txt+-inurl%3Abuild.prop+-inurl%3Aprop.default

See also: https://github.com/NixOS/mobile-nixos/issues/218