[Q] How to wipe / (root directory)

Michalko5896

Senior Member
Jun 16, 2014
472
115
0
Hello, i have LG G2 with TWRP recovery and im asking how to wipe root directory of phone because i have there files from twrp and superuser and i wanna send my phone to RMA.. Full wipe (/system, /data, /cache, /sdcard) will not wipe /.. Ty for answers
 

simon_lefisch

Senior Member
Dec 8, 2010
1,459
396
0
Hello, i have LG G2 with TWRP recovery and im asking how to wipe root directory of phone because i have there files from twrp and superuser and i wanna send my phone to RMA.. Full wipe (/system, /data, /cache, /sdcard) will not wipe /.. Ty for answers
Follow this thread to restore your phone to stock.

http://forum.xda-developers.com/showthread.php?p=45293512

This will wipe everything (including internal SD card) and return your phone to the same state as if you were pulling it out of the box for the first time.
 

simon_lefisch

Senior Member
Dec 8, 2010
1,459
396
0
Not exactly... After this method the phone status remains "rooted" when booted in download mode. Couple of users reported this problem...
Edit: here's the fix http://forum.xda-developers.com/showthread.php?p=52991286
That tool does not unroot your phone. All it does it trip the root flag so when you boot into download mode it says unrooted. It is meant to be used so that if you take your phone into your carriers store and an associated wants to check if its rooted, it will say its unrooted when the associate puts it in download mode, but it is in fact still rooted. This DOES NOT unroot the phone.

See attached screen shot:

 
Last edited:

simon_lefisch

Senior Member
Dec 8, 2010
1,459
396
0
Sure. But after you flash kdz file with flashtool the phone isn't rooted anyway, although in DLM it states "rooted"...
As I undrstand it, somehow after you flash kitkat kdz it misses some files and status "rooted" appears in DLM. Explained here: http://forum.xda-developers.com/showthread.php?t=2703501

Tapatalk na LgG2
Interesting. I never had that happen when I used it. I'll keep an eye on this thread in case something's happens. Thanks for sharing.