Skip to content

Instantly share code, notes, and snippets.

@KireinaHoro
Last active October 6, 2018 06:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KireinaHoro/debd82613039e5a0183650efbb4bd2f6 to your computer and use it in GitHub Desktop.
Save KireinaHoro/debd82613039e5a0183650efbb4bd2f6 to your computer and use it in GitHub Desktop.
DPT-RP1 boot.img diff
diff --git a/orig/boot.img b/new/boot.img
index cdcfca4..15a594e 100644
Binary files a/orig/boot.img and b/new/boot.img differ
diff --git a/orig/bootimg.cfg b/new/bootimg.cfg
index 42eaa62..fc7b66f 100644
--- a/orig/bootimg.cfg
+++ b/new/bootimg.cfg
@@ -5,5 +5,5 @@ ramdiskaddr = 0x11000000
secondaddr = 0x10f00000
tagsaddr = 0x10000100
name =
-cmdline =
-id = 0x5d1697c5,0x858be591,0xb44bda83,0xa87cab5d,0x01035b00,0x00000000,0x00000000,0x00000000
+cmdline = androidboot.selinux=permissive
+id = 0x00000166,0x47f4e455,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x00000000
diff --git a/orig/initrd.img b/new/initrd.img
index 7c699d3..2e59cd8 100644
Binary files a/orig/initrd.img and b/new/initrd.img differ
diff --git a/orig/rootfs/default.prop b/new/rootfs/default.prop
index 8c941a8..1b8f90e 100644
--- a/orig/rootfs/default.prop
+++ b/new/rootfs/default.prop
@@ -1,11 +1,11 @@
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
-ro.secure=1
+ro.secure=0
ro.allow.mock.location=0
-ro.debuggable=0
+ro.debuggable=1
ro.zygote=zygote32
-persist.sys.usb.config=acm,hid
+persist.sys.usb.config=acm,hid,adb
persist.sys.usb.enabled=true
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
diff --git a/new/rootfs/sbin/adbd b/new/rootfs/sbin/adbd
new file mode 100755
index 0000000..c8682de
Binary files /dev/null and b/new/rootfs/sbin/adbd differ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment