Looks like mmcblk0p4 is getting copied at boot
So I am stepping through the script for getting temp root and SuperCID, and this is what I am finding:
Temp root is being obtained (I get a # when in the shell)
The file CID is getting copied to the flash successfully and then pulled to the local computer using the following commands:
adb shell "dd if=/dev/block/mmcblk0p4 of=/sdcard/cid"
adb pull /sdcard/cid
I have verified that the CID file gets successfully copied
The CID file is then copied presumably so you can restore it if needed. The CID is then modified using the hexalter.exe command.
dir mmcblk0p4.original > NUL 2>&1
if NOT %errorlevel%==0 copy cid mmcblk0p4.original
hexalter cid 0x214=0x31,0x31,0x31,0x31,0x31,0x31,0x31,0x31 > NUL
The file is then put back on the flash and copied to the original location
adb push cid /sdcard/
adb shell "dd if=/sdcard/cid of=/dev/block/mmcblk0p4"
All of this seems fine up to this point. When I reboot the phone these changes are lost. I am pretty sure this method no longer works, but the thread for [Script] Automated Unlock/SuperCID/Temp-Root scripts for Windows and Linux
is locked, so it appears there is no way to ask the developer or note the problem.
Unless someone sees something I have missed it looks like another method is needed for these phones.