Giter Club home page Giter Club logo

getprops's Introduction

GetProps

get your pif custom! (google pixel images)

About other custom images

  • now we have zenfone images and pixel images
  • other images will be added soon.

Others Brand

  • [✅] Xiaomi (the add more devices)
  • [✅] Google Pixel (completed)
  • [✅] Asus Zenfone (the add more devices)
  • [❌] Samsung (not added yet)

add other brands

Usage (Local)

Instructions

Requirements (preferably)

  • Linux
  1. Install packages dos2unix python3 python3-pip
apt install dos2unix python3 python3-pip
  1. Install protobuf
pip install --upgrade pip
pip3 install -Iv protobuf==3.20.3
  1. Make executable all script, run:
chmod +x *.sh
  1. Download last ota device_name, run:
./download_last_ota_build.sh device_name
  1. Extract Image and build.prop, run:
./extract_images.sh
  1. Get your custom_pif.json
./gen_custom_pif.sh json your_build.prop

Usage (Actions)

here

Credits

How to contribute

  1. clone this repository by forking
  2. add other brands in api/brand
    • maintain the standard of brand_devices.json
  3. test locally with flask (assuming that everything is in order.)
  4. (not yet) enable your fork's CI and do a test
  5. Lastly send your PR's and I will check.

getprops's People

Contributors

whyakari avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

getprops's Issues

Help with Command

Issue: When running the "./gen_custom_pif.sh json your_build.prop" command, the script claims that "No build.prop files found in script directory".

What build.prop should this be pointed to? See image for attempts to use the system.prop and module.prop in the extracted_images folder.

Attempted to use the ./extracted_images that is indicated by "Saved to".

Screenshot_20231205-075306_JuiceSSH

Issue building build.prop

Getting this error when running 'extract_images.sh'

plex@media:~/git/getProps$ ./extract_images.sh
Extracting images from archives...
Processing "oriole-ota-up1a.231105.003.a1-b7136f15.zip"
Extraction time: 12 seconds

Extracting/Dumping images from "extracted_archive_images"...
Processing "oriole-ota-up1a.231105.003.a1-b7136f15.bin"
Dumping "product.img"...
Dumping "system.img"...
Dumping "system_ext.img"...
Dumping "vendor.img"...
Extraction time: 143 seconds

Extracting images and directories...
Processing "oriole-ota-up1a.231105.003.a1-b7136f15"
Extracting "oriole-ota-up1a.231105.003.a1-b7136f15/product.img"
Extracting "oriole-ota-up1a.231105.003.a1-b7136f15/vendor.img"
Extracting "oriole-ota-up1a.231105.003.a1-b7136f15/system.img"
Extracting "oriole-ota-up1a.231105.003.a1-b7136f15/system_ext.img"
Extraction time: 47 seconds

Building props...
"ro.build.id" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.build.version.security_patch" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.build.date.utc" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.product.model" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.product.brand" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.product.name" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.product.manufacturer" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.build.product" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.build.fingerprint" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.product.board" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.build.tem.date" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.product.device" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
"ro.product.carrier" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/product/etc/build.prop"
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
File ./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/build.prop does not exist
"ro.product.model" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/system/build.prop"
"ro.product.brand" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/system/build.prop"
"ro.product.name" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/system/build.prop"
"ro.product.manufacturer" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/system/build.prop"
"ro.build.fingerprint" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/system/build.prop"
"ro.product.board" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/system/build.prop"
"ro.build.tem.date" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/system/build.prop"
"ro.product.device" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/system/build.prop"
"ro.product.carrier" not found in "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/extracted/system/system/build.prop"
[] () Prop
[] () Prop
Saved to "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/system.prop"
Saved to "./extracted_images/oriole-ota-up1a.231105.003.a1-b7136f15/module.prop"

The module.prop does not exist.

system.prop contains the following:

##
# Beautiful Pixel Props
#
# group t.me/MoeKernelDiscussion
# channel t.me/MoeKernel
# ----- By @whyakari -----
##

# begin common build properties
ro.build.id=UP1A.231105.003.A1
ro.build.version.security_patch=2023-11-01
ro.build.date.utc=1698354681
ro.build.product=oriole

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.