Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Extract Lineage OS APKs from Latest Zip files and upload to Github Releases.

License

Notifications You must be signed in to change notification settings

tprasadtp/lineageos-apk-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LineageOS APKs

build build

Development

  • AFAIK there is no API provided by LineageOS team, so currently the project uses bs4 to parse download page
  • APKs are released on tprasadtp/los-xx-apks repositories to deal with multiple devices.

Build

  • Create a python virtual environment & activate it
  • Install dependencies
    make install
  • Set device codename name. See https://download.lineageos.org/ for codenames.
    export DEVICE=coral
  • Download, Verify and extract payload.bin
    make build-payload
  • Check that images are extractd to build/$DEVICE
  • Mount desired image and check path of required APKs
  • Update data/transfer-$DEVICE.json to match you image and APKs. For some targets, predefined transfer.json is available.
  • Define Image name (Without extensions or path)
    export APK_IMG=product
  • Mount image and copy APKs (Requires root)
    make apks

About

Extract Lineage OS APKs from Latest Zip files and upload to Github Releases.

Topics

Resources

License

Stars

Watchers

Forks