Skip to content

Commit

Permalink
miuicamera: Split miui camera apk
Browse files Browse the repository at this point in the history
  • Loading branch information
rayavanindra committed Aug 17, 2024
1 parent 7fa4971 commit 21c30a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MiuiCamera.apk
3 changes: 3 additions & 0 deletions extract-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ function blob_fixup() {
system/lib64/libcamera_algoup_jni.xiaomi.so|system/lib64/libcamera_mianode_jni.xiaomi.so)
"${PATCHELF}" --add-needed "libgui_shim_miuicamera.so" "${2}"
;;
system/priv-app/MiuiCamera/MiuiCamera.apk)
split --bytes=49M -d "$2" "$2".part
;;
esac
}

Expand Down
2 changes: 2 additions & 0 deletions vendorsetup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Merge MiuiCamera App
cat vendor/xiaomi/miuicamera/common/proprietary/system/priv-app/MiuiCamera/MiuiCamera.apk.part* > vendor/xiaomi/miuicamera/common/proprietary/system/priv-app/MiuiCamera/MiuiCamera.apk

0 comments on commit 21c30a7

Please sign in to comment.