Use the Bangkk zip for the device-specific vendor
Use the Fogos zip for the common vendor
git clone https://github.com/DumprX/DumprX
cd DumprX
./setup.shIf there no
setup.sh, make sure tools likelpunpack,payload-dumper-go, orpayload_dumper.pyare installed.
Inside the dumperx folder, run:
./dumper.sh link_to_fogosReplace link_to_fogos with the actual firmware URL (for example, from Lolinet).
After extraction is complete, rename the output folder for clarity:
mv out/fogos_dump fogos_dumpRun the dumper again, this time for the Bangkk firmware:
./dumper.sh https://mirrors.lolinet.com/firmware/lenomola/2023/bangkk/official/RETAIL/BANGKK_RETAIL_15_V1TC35H.88-16_subsidy-DEFAULT_regulatory-DEFAULT_cid50_CFC.xml.zipRename the output directory:
mv out/bangkk_dump bangkk_dumpGo to your Bangkk device tree folder and run:
./extract-files.py --only-target path/to/bangkk_dumpThis command extracts and generates the Bangkk-specific vendor blobs.
For the common blobs, run:
./extract-files.py --only-common path/to/fogos_dumpThis generates the common vendor blobs, shared across devices using the same SoC or hardware base.
The correct extraction order is:
- Extract device-specific vendor first (
--only-target) - Then extract common vendor (
--only-common)
This order ensures that extract-files.py organizes everything correctly and prevents conflicts between device-specific and shared blobs.
That's it! You now have both the device-specific and common vendor blobs ready to integrate into your ROM build tree.