So I bought a new LG g3 32gb D855 few days ago and rooted it then few days later noticed that it somehow
has 2gb ram (1840mb) instead of 3gb as should be in 32gb version (BTW somebody else have this issue??)
Long story short because it was rooted device the warranty was not valid anymore so in order to unroot it
I download a suitable .KDZ file from
and followed this guide(tnx hyelton!)
I was able to successfully unrooting the device BUT in the LG hidden menu (3845#*855#)
in the LG RCT it was saying it was rooted (and had a date stamp)
I was looking all over for away to reset the RCT but without any luck and then I saw this thread (tnx somboons!)
Where he was able to reset his RCT (ON A G2!) by editing the /persist/rct.cfg file and replacing the /persist/rct file
since I didn't had my original /persist/rct file I DIDN'T took the risk and didn't tried it.
Then I was lucky enough to run into this thread (tnx k0nane!)
explaining exactly how LG's RCT is working
basically after reading it I understood that RCT flag our rom as rooted if it finds one or more of these files
Realizing that one of these files are still exist on the device the solution was to find and delete them!
my RCT display result was
Rooting related file had been installed.
So basically what I did is connecting my G3 to my PC and starting to search what and where are the exact files
causing my device to be flagged as"rooted"
I discovered that the only file that exists from the list above is
adb shell rm -r /data/local/tmp/busybox
As I was expecting at the first boot after reflashing it was unable to find any of the "root relating" files and because of that it didn't flagged it as "rooted".
Hope I could help someone