Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.94 KB | None | 0 0
  1. C:\Users\sonya\Desktop\New folder (3)>adb push META-INF/com/google/android/update-binary common magisk_inject boot.img /data/local/tmp
  2. adb: error: cannot stat 'boot.img': No such file or directoryed. 6.1 MB/s (31869887 bytes in 4.979s)
  3.  
  4. C:\Users\sonya\Desktop\New folder (3)>adb shell "cd /data/local/tmp/magisk_inject; mv ../common/* .; chmod 755 *; sh ../update-binary indep boot_patch.sh ../boot.img; mv ../bin/busybox busybox"
  5. /data/local/tmp/boot.img does not exist!
  6.  
  7. C:\Users\sonya\Desktop\New folder (3)>adb push META-INF/com/google/android/update-binary common magisk_inject boot.img /data/local/tmp
  8. [ ?] /data/local/tmp/boot.img
  9.  
  10. C:\Users\sonya\Desktop\New folder (3)>adb shell "cd /data/local/tmp/magisk_inject; mv ../common/* .; chmod 755 *; sh ../update-binary indep boot_patch.sh ../boot.img; mv ../bin/busybox busybox"
  11. - Unpacking boot image
  12. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  13.  
  14. Parsing boot image: [/data/local/tmp/boot.img]
  15.  
  16. KERNEL [12987890] @ 0x00008000
  17. RAMDISK [10305810] @ 0x01000000
  18. SECOND [0] @ 0x00f00000
  19. DTB [0] @ 0x00000100
  20. PAGESIZE [4096]
  21. OS_VERSION [7.1.1]
  22. PATCH_LEVEL [2017-06]
  23. NAME []
  24. CMDLINE [console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc1b0000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 androidboot.hab.csv=0 androidboot.hab.product=nash androidboot.hab.cid=50 buildvariant=user veritykeyid=id:b640f6ee9102b88daa3450b13ef25fc9eb143d63]
  25. COMPRESSION [gzip]
  26.  
  27. Decompressing to [ramdisk.cpio]
  28.  
  29. - Checking ramdisk status
  30. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  31.  
  32. Loading cpio: [ramdisk.cpio]
  33.  
  34. - Stock boot image detected!
  35. - Backing up stock boot image
  36. 45514+1 records in
  37. 45514+1 records out
  38. 23303398 bytes (22.2MB) copied, 0.147119 seconds, 151.1MB/s
  39. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  40.  
  41. Compressing to [stock_boot_697d28a3889827aafdded588b262a6cd6bef163b.img.gz]
  42.  
  43. - Patching ramdisk
  44. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  45.  
  46. Loading cpio: [ramdisk.cpio]
  47.  
  48. Remove pattern [,verify] in [fstab.qcom]
  49. Remove pattern [,verify] in [fstab.qcom]
  50. Replace [forceencrypt] with [encryptable] in [fstab.qcom]
  51. Inject new line [import /init.magisk.rc] in [init.rc]
  52.  
  53. Dump cpio: [ramdisk.cpio]
  54.  
  55. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  56.  
  57. Loading cpio: [ramdisk.cpio]
  58.  
  59. Extracting [sepolicy] to [sepolicy]
  60.  
  61. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  62.  
  63. Loading cpio: [ramdisk.cpio]
  64.  
  65. Add entry [sepolicy] (0644)
  66.  
  67. Dump cpio: [ramdisk.cpio]
  68.  
  69. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  70.  
  71. Loading cpio: [ramdisk.cpio]
  72.  
  73. Add entry [init.magisk.rc] (0750)
  74.  
  75. Dump cpio: [ramdisk.cpio]
  76.  
  77. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  78.  
  79. Loading cpio: [ramdisk.cpio]
  80.  
  81. Add entry [sbin/magisk] (0755)
  82.  
  83. Dump cpio: [ramdisk.cpio]
  84.  
  85. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  86.  
  87. Loading cpio: [ramdisk.cpio]
  88.  
  89. Loading cpio: [ramdisk.cpio.orig]
  90.  
  91. Backup mismatch entry: [fstab.qcom] -> [.backup/fstab.qcom]
  92. Record new entry: [init.magisk.rc] -> [.backup/.rmlist]
  93. Backup mismatch entry: [init.rc] -> [.backup/init.rc]
  94. Record new entry: [sbin/magisk] -> [.backup/.rmlist]
  95. Backup mismatch entry: [sepolicy] -> [.backup/sepolicy]
  96.  
  97. Dump cpio: [ramdisk.cpio]
  98.  
  99. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  100.  
  101. - Repacking boot image
  102. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  103.  
  104. Parsing boot image: [/data/local/tmp/boot.img]
  105.  
  106. KERNEL [12987890] @ 0x00008000
  107. RAMDISK [10305810] @ 0x01000000
  108. SECOND [0] @ 0x00f00000
  109. DTB [0] @ 0x00000100
  110. PAGESIZE [4096]
  111. OS_VERSION [7.1.1]
  112. PATCH_LEVEL [2017-06]
  113. NAME []
  114. CMDLINE [console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc1b0000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 androidboot.hab.csv=0 androidboot.hab.product=nash androidboot.hab.cid=50 buildvariant=user veritykeyid=id:b640f6ee9102b88daa3450b13ef25fc9eb143d63]
  115. COMPRESSION [gzip]
  116.  
  117. Repack to boot image: [new-boot.img]
  118.  
  119. Compressing to [ramdisk.cpio.gz]
  120.  
  121. KERNEL [12987890] @ 0x00008000
  122. RAMDISK [10488749] @ 0x01000000
  123. SECOND [0] @ 0x00f00000
  124. DTB [0] @ 0x00000100
  125. PAGESIZE [4096]
  126. OS_VERSION [7.1.1]
  127. PATCH_LEVEL [2017-06]
  128. NAME []
  129. CMDLINE [console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 earlycon=msm_serial_dm,0xc1b0000 androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=2048 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3 androidboot.hab.csv=0 androidboot.hab.product=nash androidboot.hab.cid=50 buildvariant=user veritykeyid=id:b640f6ee9102b88daa3450b13ef25fc9eb143d63]
  130. COMPRESSION [gzip]
  131.  
  132. MagiskBoot v13.6(1360) (by topjohnwu) - Boot Image Modification Tool
  133.  
  134. Cleaning up...
  135.  
  136. C:\Users\sonya\Desktop\New folder (3)>adb pull /data/local/tmp/magisk_inject/new-boot.img
  137. [100%] /data/local/tmp/magisk_inject/new-boot.img
  138.  
  139. C:\Users\sonya\Desktop\New folder (3)>adb shell "cd /data/local/tmp; rm -rf *.img magisk_inject/*.img update-binary bin common"
  140.  
  141. C:\Users\sonya\Desktop\New folder (3)>adb reboot bootloader
  142.  
  143. C:\Users\sonya\Desktop\New folder (3)>fastboot flash boot "C:\Users\sonya\Desktop\New folder (3)\new-boot.img"
  144. target reported max download size of 536870912 bytes
  145. sending 'boot_a' (22932 KB)...
  146. OKAY [ 0.702s]
  147. writing 'boot_a'...
  148. OKAY [ 0.299s]
  149. finished. total time: 1.012s
  150.  
  151. C:\Users\sonya\Desktop\New folder (3)>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement