Skip to content

Commit

Permalink
SGSI-build
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxindada committed Aug 31, 2020
1 parent b2a4d84 commit bc14b6b
Show file tree
Hide file tree
Showing 251 changed files with 306 additions and 2,229 deletions.
Empty file.
33 changes: 19 additions & 14 deletions 10.0/Patch样本/Patch1小新/META-INF/com/google/android/updater-script
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
ui_print("xiaoxindada SGSI Patch1 ZUI12 10.0");

ui_print("部分手机的rec不支持自动挂载vendor,请手动挂载后重新刷入");
ui_print("xiaoxindada SGSI Patch1 MIUI12 10.0");

run_program("/sbin/busybox", "mount", "/vendor");

package_extract_dir("vendor", "/vendor");

#etc
set_metadata_recursive("/vendor/etc", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:vendor_configs_file:s0");

#bin/hw
set_metadata("/vendor/bin/hw/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_wifi_hostapd_default_exec:s0");
set_metadata("/vendor/bin/hw/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_wifi_supplicant_default_exec:s0");

set_metadata("/vendor/bin/hw/[email protected]_64", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_fido_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_ifaa_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/hw/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");

#bin
set_metadata("/vendor/bin/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/fidoca", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/vsimd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/xiaomi_extend_cmd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");
set_metadata("/vendor/bin/[email protected]", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hal_allocator_default_exec:s0");

#overlay
set_metadata_recursive("/vendor/overlay", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:vendor_overlay_file:s0");

#lib&lib64
set_metadata_recursive("/vendor/lib", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:same_process_hal_file:s0");

set_metadata_recursive("/vendor/lib64", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:same_process_hal_file:s0");
set_metadata_recursive("/vendor/overlay", "uid", 0, "gid", 0, "fmode", 0644, "capabilities", 0x0, "selabel", "u:object_r:vendor_overlay_file:s0");
set_metadata("/vendor/overlay", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:vendor_overlay_file:s0");

ui_print("Installation complete!");
Binary file modified 10.0/Patch样本/Patch1小新/vendor/app/CneApp/CneApp.apk
100755 → 100644
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified 10.0/Patch样本/Patch1小新/vendor/app/IWlanService/IWlanService.apk
100755 → 100644
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified 10.0/Patch样本/Patch1小新/vendor/app/TimeService/TimeService.apk
100755 → 100644
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added 10.0/Patch样本/Patch1小新/vendor/bin/fidoca
Binary file not shown.
Binary file not shown.
Binary file modified 10.0/Patch样本/Patch1小新/vendor/bin/hw/hostapd
100755 → 100644
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified 10.0/Patch样本/Patch1小新/vendor/bin/hw/wpa_supplicant
100755 → 100644
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added 10.0/Patch样本/Patch1小新/vendor/bin/vsimd
Binary file not shown.
Empty file.

This file was deleted.

Empty file modified 10.0/Patch样本/Patch1小新/vendor/etc/hostapd/hostapd.accept
100755 → 100644
Empty file.
Empty file modified 10.0/Patch样本/Patch1小新/vendor/etc/hostapd/hostapd.deny
100755 → 100644
Empty file.
Loading

0 comments on commit bc14b6b

Please sign in to comment.