Git Product home page Git Product logo

uka's Introduction

Unpacker Kitchen for Android (UKA)

Unpacking, assembling and converting system(vendor){.img}{.new.dat}{.new.dat.br}, mounting raw.images, gluing the system.img divided into parts into a single image (from the firmware for Qfil), unpacking payload.bin, repackaging boot(recovery).img, extracting file_contexts from boot.img, and converting file_contexts.bin right on the phone!

Using terminal emulator. Enter this commands:

su

then

menu

And you will see the main menu. Image alt

uka's People

Contributors

blackeangel avatar n-x-t avatar

Stargazers

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

Watchers

 avatar  avatar

uka's Issues

some files could not be found

Error using AIK-mobile unpackimg :

./unpackimg.sh: /data/local/binary/ker_ver[13]: /system/bin/python31: No such file or directory

Error using AIK-mobile repackimg :

/data/local/binary/m_menu[6499]: ./repackimg.sh: No such file or directory
mv: can't rename './image-new.img': No such file or directory

The file is already in my directory but can still be found

Screenshot_20230910-215559
Screenshot_20230910-220105

Problem with Unpack

When I try to unpack the br file, I encounter this error
no such file or directory
I took pictures of the entire process. Please solve this problem.
Screenshot_2023-03-17-22-12-33-679_com termux-edit
Screenshot_2023-03-17-22-13-08-686_com termux-edit
Screenshot_2023-03-17-22-15-42-504_bin mt plus-edit
Screenshot_2023-03-17-22-13-30-179_com termux-edit

OR

Screenshot_2023-03-17-22-15-07-885_com termux-edit
Screenshot_2023-03-17-22-13-53-593_com termux-edit
Screenshot_2023-03-17-22-14-18-256_com termux-edit

KSU compatibility

Is it possible to add kernelSU compatibility in the future releases ? V5.22 module flashed fine but nothing happens upon entering menu command in rooted termux.

termux
ksu

Calling the wrong python version

Using the 5.22 fixes version

bin/easy_install:python39 /data/local/python39/usr/bin/easy_install "$@"
install.sh:#unzip -p "$ZIPFILE" "python39.tar.xz" |tar xJ -C /data/local >/dev/null
local/binary/a_atr: read ab && aa=$(python39 $binary_dir/atrib.py "$ab")
local/binary/a_atr: read ac && bb=$(python39 $binary_dir/atrib.py "$ac")
local/binary/ker_ver: #python39 "$dir_ver"/bin_system/find_gz.py "$file" "1f8b08"
local/binary/m_menu: #python39 /data/local/binary/bin_oppo_decrypt/ofp_mtk_decrypt.py "$file" "$m_name" 1> log.txt
local/binary/m_menu: #python39 /data/local/binary/bin_oppo_decrypt/ofp_qc_decrypt.py "$file" /"$ofp_dir"/"$m_name" 1>> log.txt
local/binary/rem_key: #offset_avb="$(python39 /data/local/binary/bin_system/find_avb0.py "$file" "41564230" | busybox head -1)"
local/binary/unpack_img: #python39 /data/local/binary/bin_system/find_avb.py "$file_avb" "41564230000000" "$dir_avb"

Edit trying too make it easier too read

Multiple same specifications with Unpack_img

First of all, your tools have helped me a lot. Thank you so much!

test environment:
UKA_5.27 version, Owner : Android 10 and FLYME 9, ROM : Android 10 and system as root

error :
Multiple same specifications error occurs when \local\binary\bin_system\imgextractor1.py is called

local\binary\unpack_img:Number of lines of code 376

    #echo
    echo ".....$unpacking ${file}..."

    python31 $binary_dir/bin_system/imgextractor1.py "$file" "$PWD"

    #python31 /data/local/binary/bin_system/imgextractor1.py "$file" "$PWD"

My temporary solution

python31 $binary_dir/bin_system/imgextractor1.py  -i "$file"  -o "$PWD"

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.