Yeah, I have the exact boot/recovery.img from the phone itself. Both work perfectly. But trying to get TWRP to work but keeps getting overwritten with stock recovery. This is the result from the stock boot/recovery:Do you have a regular (known good) boot image?
Get imgutil.exe (from my sig).
Code:C:\>imgutil.exe good_boot.img /v C:\>imgutil.exe recovery.img /v
Code:
PS F:\bootrecoveryOG> .\imgutil.exe boot.img /v
Header2: 1,660 (0000067C)
Kernel: 13,620,992 (00CFD700) @ 80008000
Stub: 13,620,933 (00CFD6C5)
Ramdisk: 880,207 (000D6E4F) @ 81000000
DTB: 2,235,141 (00221B05)
Padding: 16,814,080 (01009000)
Command: console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom androidboot.memcg=true user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 vmalloc=300M androidboot.usbconfigfs=true cgroup.memory=nokmem,nosocket loop.max_part=7 buildvariant=user
PS F:\bootrecoveryOG> .\imgutil.exe recovery.img /v
Header2: 1,660 (0000067C)
Kernel: 13,620,992 (00CFD700) @ 80008000
Stub: 13,620,933 (00CFD6C5)
Ramdisk: 7,383,094 (0070A836) @ 81000000
Recovery: 844,828 (000CE41C)
DTB: 2,235,141 (00221B05)
Padding: 27,086,848 (019D5000)
Command: console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom androidboot.memcg=true user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 vmalloc=300M androidboot.usbconfigfs=true cgroup.memory=nokmem,nosocket loop.max_part=7 buildvariant=user
Result from one of the test TWRP images:
Code:
PS C:\Users\user\Desktop> .\imgutil.exe recoverytest.img /v
Header2: 1,660 (0000067C)
Kernel: 13,620,992 (00CFD700) @ 80008000
Stub: 13,620,933 (00CFD6C5)
Ramdisk: 6,119,612 (005D60BC) @ 81000000
Recovery: 844,828 (000CE41C)
DTB: 2,235,141 (00221B05)
Padding: 845,824 (000CE800)
Command: console=ttyMSM0,115200,n8 androidboot.console=ttyMSM0 androidboot.hardware=qcom androidboot.memcg=true user_debug=30 msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78B0000 vmalloc=300M androidboot.usbconfigfs=true cgroup.memory=nokmem,nosocket loop.max_part=7 androidboot.selinux=permissive buildvariant=user buildvariant=eng
Last edited: