Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,702 Members 54,185 Now Online
XDA Developers Android and Mobile Development Forum

[TOT] Reset RCT (root check tool)

Tip us?
 
AriHell
Old
#1  
Junior Member - OP
Thanks Meter 14
Posts: 17
Join Date: Sep 2011
Default [TOT] Reset RCT (root check tool)

Hey guys,
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
csmg.lgmobile.com:9002/csmg/b2c/client/auth_model_check2.jsp?esn=[YOUR_IMEI]

and followed this guide(tnx hyelton!)
http://forum.xda-developers.com/show....php?t=2785089

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!)
http://forum.xda-developers.com/show....php?t=2715114

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!)
http://forum.xda-developers.com/show...26&postcount=2

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

Quote:
/system/[bin,sbin,xbin]/su
/sbin/su
/data/local/tmp/su
/system/app/[s,S]uper[u,U]ser.apk,
/data/data/com.noshufou.android.su
/data/local/tmp/[s,S]uper[u,U]ser.apk
/system/[bin,xbin]/busybox
/data/local/tmp/busybox
right after the first boot after reflashing your device (and then it also stamp that date in the rct.cfg)

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

Quote:
Rooted

Rooting related file had been installed.
>busybox
(soz don't have a screenshot)

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
Quote:
/data/local/tmp/busybox
then I was able to delete it with the following command

Quote:
adb shell rm -r /data/local/tmp/busybox
after it was successfully deleted I reflashed the device again and WHOLA! it was fully unrooted!



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
The Following 12 Users Say Thank You to AriHell For This Useful Post: [ Click to Expand ]
 
aleandre1974
Old
#2  
Junior Member
Thanks Meter 5
Posts: 23
Join Date: Aug 2011
Thank you very much for that, I didn't even know LG had such counter. Now, I am surprised you say your warranty was void after rooting your device. Do you know it for a fact, or is it an assumption ? I live in Europe, and unless proven otherwise any hardware related issue should be covered by the legal warranty (2 years here), unless LG thinks that your rooting of the device may have led to the issue, of course.
 
lossah
Old
#3  
Senior Member
Thanks Meter 43
Posts: 248
Join Date: Jul 2014
I just flashed a new rom and it showed not rooted. via LG flash tool.
 
AriHell
Old
#4  
Junior Member - OP
Thanks Meter 14
Posts: 17
Join Date: Sep 2011
Lucky u ☺ in my case some busybox files left in the system after reflashing 😕
 
PjotrFias
Old
#5  
PjotrFias's Avatar
Senior Member
Thanks Meter 51
Posts: 161
Join Date: Aug 2010
When you were unrooting, did you use Normal or CSE flash?
 
AriHell
Old
#6  
Junior Member - OP
Thanks Meter 14
Posts: 17
Join Date: Sep 2011
Normal. I preferred to find a solution before trying CSE flash
 
radeonxt
Old
#7  
radeonxt's Avatar
Senior Member
Thanks Meter 271
Posts: 818
Join Date: Jan 2008
good job.
thanks.
The FATHER'S message to his disciples - Leave my elevator alone!
 
Pilz
Old
(Last edited by Pilz; 25th August 2014 at 02:32 PM.)
#8  
Pilz's Avatar
Senior Member
Thanks Meter 207
Posts: 846
Join Date: Dec 2013
Location: Central Vortex
Edit: this was really helpful I'm unrooting my G3 when I get home so I can post it up for sale. Now time to root my F460

iPhone 3GS
iPad 1
iPhone 4
Samsung Galaxy S3 (Blue)
Kindle Fire
Samsung Note 3 (Black)
LG G-Pad 8.3 (White)
LG G3 F400S (Black)

Lg G3 D850 (Black)
LG G3 F460S (Gold)
Nexus 7 (2013) (Black)
 
AriHell
Old
#9  
Junior Member - OP
Thanks Meter 14
Posts: 17
Join Date: Sep 2011
U can try the "restore" option in the lg pc suit
 
Pilz
Old
#10  
Pilz's Avatar
Senior Member
Thanks Meter 207
Posts: 846
Join Date: Dec 2013
Location: Central Vortex
Quote:
Originally Posted by AriHell View Post
U can try the "restore" option in the lg pc suit
I'll also give that a try, I'm not new to bricking my phone, but I'd rather avoid it if I can. It's usually a pain to fix, but I'd rather risk a brick and be able to root than have no root.

iPhone 3GS
iPad 1
iPhone 4
Samsung Galaxy S3 (Blue)
Kindle Fire
Samsung Note 3 (Black)
LG G-Pad 8.3 (White)
LG G3 F400S (Black)

Lg G3 D850 (Black)
LG G3 F460S (Gold)
Nexus 7 (2013) (Black)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes