Monday 19 October 2015

Root Checker Tool (RCT) Analysis



Hey guys,

So there are some on the H810 G4 that are having trouble updating to AT&T's 10o software after having rooted 10i. Based on some old forums for the G2, we have a hunch that it comes down to a flag in /persist/rct, which is nothing more than a set of 4 Hex keys. I am wondering resetting this key to look like an unrooted phone will get us past the failure during the OTA where it stops due to root suspected (error 0x1123004, around 5% through the OTA).

If you are reading this and happen to be unrooted, would you mind posting in the comments the values in your /persist/rct? Maybe there is a common set of keys that stand for "unrooted".

The file is hidden to non-root people, so getting the file is a little tricky. Basically, follow the steps in Part 1 (aka Step 1) of http://forum.xda-developers.com/g4/g...-root-t3180586, but replace Step 9 with the following command, instead of the one it tells you to go get:


Quote:









dd if=/dev/block/mmcblk0 bs=8192 skip=18432 count=4096 of=/data/media/0/persist.img




Note that all you are doing here is backing up the /persist partition to your sd. Once done, you can mount the .img in Linux and extract /persist/rct. Open with a hex editor and paste the 4 keys below (but first, can someone provide any opinions on if this hex key is unique to our device? Would it be unsecure to post it here?).

If you don't have Linux, I am sure there is an app out there to let you mount the .img in Windows.

Alternatively, the LG G2 also had a loop hole where you could add a file called "RCT_security" to /sdcard with the value "forel.lee" in it. This would somehow tell rctd (the rct daemon) that you were unrooted. I am going to try this but am not holding my breath.

Let me know what you guys think!

Sent from my LG-H810 using Tapatalk



No comments:

Post a Comment