[Q] Tell if a phone has been rooted - G2 Q&A, Help & Troubleshooting

I recently unrooted my phone by flashing the stock .tot rom (LS980). When I enter download mode it states unrooted. Is there any way to determine if the phone has been rooted prior?

No. That's the root check right there

Thanks for the reply.

Related

[Q] Please HELP!!! tmobile d80120a

I was running root with philz recovery on Beanstalk when I accidentally hit something while in recovery. My phone then started overlooking and I had no choice but to bring it back to stock VIA the lg flashtool web upgrade method. My phone booted up with the new 80120a firmware installed. Now I don't seem to be rooted anymore and I'm trying to VIA the flashtool load the d801c firmware and it doesn't seem to work. Even stranger is when I am in download mode it shows
B85
ROOTED
I want it like it was before can anyone help me please? Root checker shows no root access...
Soil3ntGr33n84 said:
I was running root with philz recovery on Beanstalk when I accidentally hit something while in recovery. My phone then started overlooking and I had no choice but to bring it back to stock VIA the lg flashtool web upgrade method. My phone booted up with the new 80120a firmware installed. Now I don't seem to be rooted anymore and I'm trying to VIA the flashtool load the d801c firmware and it doesn't seem to work. Even stranger is when I am in download mode it shows
B85
ROOTED
I want it like it was before can anyone help me please? Root checker shows no root access...
Click to expand...
Click to collapse
I assume you didnt used the KDZ file? It doesnt matter if youre rooted or not you can still downgrade from the flash tool.
gypsy214 said:
I assume you didnt used the KDZ file? It doesnt matter if youre rooted or not you can still downgrade from the flash tool.
Click to expand...
Click to collapse
I did use the kdz file... maybe you can post a kdz file that you personally have.because the one on storage cow doesn't work and the other one I downloaded didn't either

[Q] No Root Checker Tool (rctd) in 4.4.2 ?

Now that root for 4.4.2 is available I rooted and looked into the filesystem and processes and found that there seems to be no more root checker tool in 4.4.2.
ps | grep rctd shows no process with that name
in /persist there is no more rct.cfg
hidden menu (3845#*802#) LG RCT shows LG RCT Check disabled
download mode showed unrooted in 4.2.2. and showes rooted since I flashed the 4.4.2 kdz (d80220b-german-open) with LG Mobile Support Tool
Can anybody confirm these findings? Is there a new root checking mechanism?
Phone is a D802.A6DEWH running D80220b-EUR-XX
follow up with a detailed analysis
UPDATE
Another interesting find:
The reason why on 4.4.2 my phone showed ROOTED in download mode was obviously the absence of the root ckecker. To be more specific it was the absence of the two status files:
/persist/rct
/persist/rct.cfg
Luckily a had those saved back from 4.2.2 from an unrooted state and simply copied them over.
And guess what - now my phone shows UNROOTED in download mode though it really isn't.
If needed I can provide those two files. (pm me with your email)
follow up with a detailed analysis
i have 4.4.2 and it shows rooted in download mode
i used kdz file method
i dont care if it shows rooted or not because i know if i flash kdz file again without root then it will show unrooted.
we purchased this mobile and now its our, so dont want to cry over these stupid things when we can claim back warranty
If it's a 4.2.2 kdz it will, but if it's a 4.4.2 kdz and what I found is correct it won't.
Appart from that, I totally agree @mor_1228
Drachenminister said:
If it's a 4.2.2 kdz it will, but if it's a 4.4.2 kdz and what I found is correct it won't.
Appart from that, I totally agree @mor_1228
Click to expand...
Click to collapse
u can try it will show rooted
mor_1228 said:
u can try it will show rooted
Click to expand...
Click to collapse
I'm not sure if I understand exactly what you mean - when will it show rooted?
Drachenminister said:
I'm not sure if I understand exactly what you mean - when will it show rooted?
Click to expand...
Click to collapse
when u flash with kdz file and after factory reset then root ur device and then check
Drachenminister said:
UPDATE
Another interesting find:
The reason why on 4.4.2 my phone showed ROOTED in download mode was obviously the absence of the root ckecker. To be more specific it was the absence of the two status files:
/persist/rct
/persist/rct.cfg
Luckily a had those saved back from 4.2.2 from an unrooted state and simply copied them over.
And guess what - now my phone shows UNROOTED in download mode though it really isn't.
If needed I can provide those two files. (pm me with your email)
Click to expand...
Click to collapse
How to save those files from Unrooted state? I am on 4.4.2 and now it's Unrooted because I went the hard way.
Flashed 4.2.2 did a factory reset and took OTA Kitkat update and finally I have Unrooted in Download mode.
Are those files device specific that is will your files work on my D802?
[CLARIFICATION] and [CONCLUSION]
mor_1228 said:
when u flash with kdz file and after factory reset then root ur device and then check
Click to expand...
Click to collapse
I still sense a bit missunderstanding, so I try to clarify what I have found on my phone. (D802.A6DEWH)
The phone came with stock 4.2.2 (d80210d-EUR-XX)
Took the OTA to d80210e-EUR-XX (still 4.2.2)
As there was no rooting done whatsoever the phone showed UNROOTED in download mode
then I rooted only the adb shell by copying over the g2_security file from ioroot as described in the manual method.
As this doesn't trip the root checker phone still showed UNROOTED
I investigated the whole root checker tool stuff using that adb root shell and found out, that there's a process called rctd (root checker tool daemon) using two files:
/persist/rct and /persist/rct.cfg
/persist/rct is a binary file containing only 4 bytes:
Code:
40 42 0f 00
/persist/rct.cfg is a text file and in my case contained:
Code:
Not rooted
[g2:0197ec3553924872:4.16]
at this point I made a backup of those two files
then I remounted /system in rw mode knowing that this would probably trip the rct
after that /persist/rct.cfg contained something like
Code:
rooted
21.03.2014 19:56
remounted system read/write
[g2:0197ec3553924872:4.16]
and as expected download mode showed ROOTED
then I copied over a file named rct_security containing "forel.lee" as described here http://forum.xda-developers.com/showpost.php?p=45659334&postcount=21 and rebooted
After the reboot the rct_security was gone and download mode showed UNROOTED again
After that I upgraded to 4.4.2 by flashing a kdz for some d802 using the R&D Tool offline mode as described in method two here http://forum.xda-developers.com/showthread.php?t=2432476
Looking again into download mode it showed ROOTED although it clearly wasn't
I then thought that maybe that was because of the g2_security file still on the phone or maybe the fact that the rom was not made for exactly my device version or the fact that i had used R&D tool.
As I didn't have root then (not even in adb) I could not check the /persist/rct.cfg becaus I couldnt even ls /persist/
So when the update for my phone finally arived in normal LG Support Tool
I first flashed back to 4.2.2 using R&D offline and did a factory reset
download mode showed UNROOTED once more
Then again i updated to 4.4.2 (d80220b-EUR-XX), this time using stock LG Mobile Support tool (as I remember I didn't do a factory restet then)
looking into download mode showed ROOTED like after the first update to KitKat
still without root I couldn't investigate further.
Then root for 4.4.2 arived
Once rooted again I found that at least in my phone there was no process nor binary called "rctd" anymore and also no /persist/rct or /persist/rct.cfg
Then I copied over those two files from my backup from 4.2.2 and after that download mode finally shows UNROOTED once more (despite the fact that this time the phone really is fully rooted)
MY CONCLUSIONS ARE AS FOLLOWS
Download mode only looks into /persist/rct and /persist/rct.cfg and shows ROOTED or UNROOTED acordingly (and ROOTED if the files are missing)
Stock 4.2.2 has rctd so when you flash back a 4.2.2 kdz root is removed and /persist/rct and /persist/rct.cfg get created UNROOTED
Stock 4.4.2 has no rctd (at least when flashed through kdz) and by flashing 4.4.2 kdz /persist/rct and /persist/rct.cfg get erased -> ROOTED because files are missing)
Doing the OTA from 4.2.2 to 4.4.2 maybe just doesent touch the whole /persist partition and therefor leaves those two files the way they where thus stating UNROOTED in 4.4.2 if that has been the case in 4.2.2
If taking the OTA like flashing the kdz too has no rctd then rooting the phone after the OTA should still keep showing UNROOTED in download mode.
sanke1 said:
How to save those files from Unrooted state? I am on 4.4.2 and now it's Unrooted because I went the hard way.
Flashed 4.2.2 did a factory reset and took OTA Kitkat update and finally I have Unrooted in Download mode.
Are those files device specific that is will your files work on my D802?
Click to expand...
Click to collapse
I don't really know, there is a number in /persist/rct.cfg that could be related to a serial of some sort,
you would need to copy them when you're on 4.2.2 and you only have rooted adb shell (no full root)
but If I guess correctly doing the OTA like flashing the 4.4.2 kdz does not really have a root checker anymore and so rooting your phone now would still leave you with a download mode saying UNROOTED
read this post for more details http://forum.xda-developers.com/showpost.php?p=51580357&postcount=9
@Drachenminister, would those 2 files be phone specific? I'm on Verizon.
VZW LG G2 VS98024A
jesssiii said:
@Drachenminister, would those 2 files be phone specific? I'm on Verizon.
VZW LG G2 VS98024A
Click to expand...
Click to collapse
I'm not sure, you would have to try
Epic find OP. I think LG forgot to add those 2 files in their KDZ or it was done purposefully to discourage KDZ flashing.
But even if we factory reset on 4.4.2 it will trip the root flag which means it is a case of pure carelessness on LG's part.
But on plus side, I can be rooted and yet be UNROOTED just by copying over those 2 files.:good:
sanke1 said:
Epic find OP. I think LG forgot to add those 2 files in their KDZ or it was done purposefully to discourage KDZ flashing.
But even if we factory reset on 4.4.2 it will trip the root flag which means it is a case of pure carelessness on LG's part.
But on plus side, I can be rooted and yet be UNROOTED just by copying over those 2 files.:good:
Click to expand...
Click to collapse
I should have made that the title of the thread rooted but UNROOTED
so it worked for you as well - thanks for letting me know
If this works I'm going to root my phone big time
Sent from my LG-D802 using XDA Premium 4 mobile app
vPro97 said:
If this works I'm going to root my phone big time
Sent from my LG-D802 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
if it works for you as well please let me know the exact rom version you're on
Drachenminister said:
I should have made that the title of the thread rooted but UNROOTED
so it worked for you as well - thanks for letting me know
Click to expand...
Click to collapse
I haven't tried it yet. I will try in few days when I get time.
But I approve of your findings.
instead of so much pain i will simply flash my device with kdz before going to lg service center with unrooted
mor_1228 said:
instead of so much pain i will simply flash my device with kdz before going to lg service center with unrooted
Click to expand...
Click to collapse
How much pain is it to copy two files from A to B ???
I used IORoot25 on 4.4.2
Result: Rooted with SuperSu installed
Download mode: UNROOTED :highfive:
I made a backup of /persist/rct.cfg and rct too
My rct.cfg has different data. So it maybe related to IMEI or Serial Number or even based on Regional settings of ROM.

[Q] LG G2 100% Stock Firmware Bootloader and Recovery

Hi i was recently playing around with my phone and i rooted it installed custom recovery using autorec app and installed custom roms and now i want to revert back to 100% stock. If i use the .kdz unroot method will it bring my device to 100% stock? will it remove the loki and upgrade the bootloader to as it was before on kit kat? Because when i used autorec there was a warning that it will downgrade my bootloader so will the unroot method bring everything back to stock as it was when i took it out of the box? Any help would be greatly appreciated!!
hrangwala95 said:
Hi i was recently playing around with my phone and i rooted it installed custom recovery using autorec app and installed custom roms and now i want to revert back to 100% stock. If i use the .kdz unroot method will it bring my device to 100% stock? will it remove the loki and upgrade the bootloader to as it was before on kit kat? Because when i used autorec there was a warning that it will downgrade my bootloader so will the unroot method bring everything back to stock as it was when i took it out of the box? Any help would be greatly appreciated!!
Click to expand...
Click to collapse
Going back to stock + hard reset does what you want:
http://forum.xda-developers.com/showthread.php?t=2432476

Problem. Root after fashing a firmware via offline mode with .kdz file

Hi, i have a problem with my LG G2 D802, i use the method to flash a new firmware in my phone with the offline mode after of this my phone has been rooted i know that because in mode download put ROOTED in red color. I never rooted my phone and i check my root status via root checker and i am not root. So how is possible that?. I need help please.
Sorry for my bad english.
You should try flashing a 4.2.2 kdz and right after it just flash 4.4.2 (don't do a factory reset)
We all have the same situation. You did a factory reset after upgrade ?
bender_007 said:
You should try flashing a 4.2.2 kdz and right after it just flash 4.4.2 (don't do a factory reset)
We all have the same situation. You did a factory reset after upgrade ?
Click to expand...
Click to collapse
Nope. I only upgrade my LG G2 with code 6RO from 4.2.2 with ota to 4.4.2 v20b or c after i can't found more updates and then i flash v20d 6DE Open 16gb via offline mode after of that my phone is rooted.
I have other mate than have same problem. He have LG G2 of Orange and this company don't have v20d then i flashed his phone with v20c to v20d for get knock code and after of this rooted too.
I think than the problem is ota update and after flashing a rom.

Rooted with Towelroot - can't unroot

Hi
I rooted my stock D802 Int with Towelroot, installed SuperSU. All went fine. The phone was rooted.
Meanwhile, I tried to unroot using SuperSU and it unroots the system fine, but in download mode it still says ROOTED.
Then I tried flashing my kdz file (int D80220D) to put it to stock, using the method in LG G2 Stock Firmware (Go Back to Stock), and it flashed ok (fresh install with option CSE Flash), but the status in download mode still says ROOTED.
Can someone help?
I think you need to perform the tot method (not the kdz) to restore the unrooted flag in download mode.
Thanks! I'll search for that.
It's like downgrade with a tot firmware and then flash kdz, right?

Categories

Resources