[Q] How to wipe / (root directory) - G2 Q&A, Help & Troubleshooting

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

Michalko5896 said:
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
Click to expand...
Click to collapse
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.

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

jake.the.cake said:
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
Click to expand...
Click to collapse
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:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

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

jake.the.cake said:
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
Click to expand...
Click to collapse
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.

Related

Help with error flashing system

Hi all, well I think I have all but fubarred my 16gb shield tv. I unlocked bootloader, installed twrp and rooted, all was working fine. Then I decided to flash the full android rom that is on the forum . before doing so, i used twrp and made a backup. I installed the full android rom, although it seemed to work fine, i was not crazy about it and decided to go back to the original OS, so I booted up in twrp and went to the restore function, there were no backups to restore , I guess when I installed the system img for the full android it erased my backup somehow. anyway, moving right along, I next went to nvidia website and downloaded the restore image for the 16gb shield tv, i booted in to bootloader and was following the instructions to restore the shield. all seems to go fine until I try to flash the system img, then I get the error "invalid sparse file format at unknown block 0000" it tries to continue but fails, afterwards the system will not boot at all, I can get back to twrp recovery an flash the full android rom just fine, but am not able to flash back the original os without that error. any suggestions would be greatly appreciated, as I am stuck at this point as what to attempt next. thanks
Here is an image of the error I get, I am no longer able to write to the system partition,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
cdsn99 said:
Here is an image of the error I get, I am no longer able to write to the system partition
Click to expand...
Click to collapse
Just going to go out on limb here, but are you sure the downloaded image isn't corrupted? You could try to download it again, if available do a MD5 hash check to verify it downloaded correctly and then retry flashing it.
d-dragon said:
Just going to go out on limb here, but are you sure the downloaded image isn't corrupted? You could try to download it again, if available do a MD5 hash check to verify it downloaded correctly and then retry flashing it.
Click to expand...
Click to collapse
thanks d-dragon, I re downloaded the image from nvidia and was able to successfully flash it, thanks for the reply and help
Glad to hear my suggestion helped you out Enjoy the shield!
Sent from my Nexus 5 using Tapatalk
send the link
cdsn99 said:
thanks d-dragon, I re downloaded the image from nvidia and was able to successfully flash it, thanks for the reply and help
Click to expand...
Click to collapse
can send the link for stock rom
ahm3336 said:
can send the link for stock rom
Click to expand...
Click to collapse
https://developer.nvidia.com/gameworksdownload

lg g2 bricked

hello, i just tried to flash cloudyg2 3.3 and i have bricked my d802 16gb. i had stock lp and had rooted and installed twrp did the wipes (no internal), got the right lp bootstack and used the right settings, so i really dont know what went wrong.
the symptom is that lg logo show for a fraction of a second and then a washed out gray on top of screen that fades away slowly. also while connected in pc it reads like many many drives.
on the bright side i can enter recovery/download modes. in my original attempt i used the bumbed sign, on my tries to fix it i also used the loki one, same deal.
seems like i have no recovery file, i thought i did it with one of the programs i installed, but since i am newbie seems like i misunderstood. so no recovery file
any help?
solution found:
1.Download the latest TWRP from blastagator here.
2.Flash it with your current recovery, reboot into that new recovery.
3.Download SRKG2 rom (by somboons) here.
4.This rom is a full stock rom with some debloat and custom camera. Wipe /system/ /cache/ /dalvik-cache/ /data/ and flash it (choose any options, it's not important since you'll be only installing this rom because it also upgrades other partitions to a lollipop supported version.
5.Boot into the rom and reboot into recovery again. (If you are unable to boot or the boot is taking too long like 10 minutes, shut down, go to recovery again and perform a factory reset, the one that makes you type 'yes' in the keyboard and you should be fine).
6.Download CloudyG2 3.1 and wipe /system/ /cache/ /dalvik-cache/ /data/ again.
7.Flash the rom choosing the correct version of your phone (among other preferences) in the aroma installer.
8.Boot and enjoy!
i cant post link of the solution cause i am new, but many thanks to him. i still dont understand what went wrong, but my hypothesis is that i shouldnt install the lp bootloader since i was in lp anyway.
i hope it helps anyone with similar problem.
cheers
you are in qhsusb bulk 9006 souse srktool to unbrick
---------- Post added at 07:22 AM ---------- Previous post was at 07:20 AM ----------
that becuase wrong bootleader u must use bump kk bootleader then reboot recovery and flash rom
Can not change lte to 3g can someone please...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LG-D800 using Tapatalk

Custom Recovery?

Are there any custom recoveries out there for our s7 edge t mobile? I have it rooted now but are there any recoveries? I have been searching and had no luck.
Nope
Sent from my SM-G935T using XDA Premium 4 mobile app
No there arent. To flash stuff you need to download flashfire from the play store. It works just like twrp but it's a app. When you want to flash something you will select the plus sign in the bottom right corner and select zip. It's super easy to use
Thought i had found a recovery for some odd reason, and it was def. Exynos twrp. There a way to flash the stock recovery img? Im thinking of flashing through flashfire but im afraid after flashing it actually wouldnt wipe since there seems to be no recovery, only a download mode menu, whilst saying recovery booting.
tony_28wl said:
Thought i had found a recovery for some odd reason, and it was def. Exynos twrp. There a way to flash the stock recovery img? Im thinking of flashing through flashfire but im afraid after flashing it actually wouldnt wipe since there seems to be no recovery, only a download mode menu, whilst saying recovery booting.
Click to expand...
Click to collapse
I personally haven't tried but if you want to risk bricking go for it. If it's any comfort, I doubt anything will happen. Worse case scenario is that it installs, you trip Knox and unable to mount the system partition and won't be able to boot it up. But even then... Odin should still be possible. But again... I wouldn't risk it. I'm fairly sure that it's been tried. There is a QC version of the recovery somewhere that never worked via Odin back in June or so.
I personally was the first to attempt flashing twrp via flashfire. it will not work. DM-Verity kicks in and will not allow it to load. you get a BRIEF flicker of twrp loading up and it loads the failed integrity check. the good news was i was able to flash the stock files and got it loading again with no KNOX trip or errors.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Phone possibly soft-bricked, ways to recover without wiping data?

Hey strangers,
Does anyone got any ideas about recovering this phone wihtout wiping it's data? It's supposed to have ADB enabled, but it won't boot to OS.
Video:
I would prefer to get to backup it, but recovery is unacessable and Download mode most likely works but it's not 100% sure.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Have you tried flashing a custom recovery ??
TWRP tar through Odin.
See TWRP THREAD in development.
JJEgan said:
Have you tried flashing a custom recovery ??
TWRP tar through Odin.
See TWRP THREAD in development.
Click to expand...
Click to collapse
Haven't yet, but should I be able to just fix the bootloader and it should work? If yes, how should it be done? Backup first though, probably.
Bootloaders in the bootloader and modem threads.
I have flashed the OS fully to the phone, but now it's in a bootloop trying to go to recovery which for some reason does not work neither does flashing TWRP as it stil won't boot to the recovery.
Does anyone happen to have a PIT file for this device?
Exact model: SM-N9005 (International version)
samip537FIN said:
I have flashed the OS fully to the phone, but now it's in a bootloop trying to go to recovery which for some reason does not work neither does flashing TWRP as it stil won't boot to the recovery.
Does anyone happen to have a PIT file for this device?
Exact model: SM-N9005 (International version)
Click to expand...
Click to collapse
See links in this post https://forum.xda-developers.com/showthread.php?t=2494245&p=75176609
Sent from my OnePlus3T using XDA Labs
BillGoss said:
See links in this post https://forum.xda-developers.com/showthread.php?t=2494245&p=75176609
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Nope didin't help at least the same pit file as the one user reported as working, but started a thread on sammobile forums.
EDIT: I were able to boot to OS once, but don't know how. This is really wierd behavior.

How to completely Unroot OP 6T?

Hello everyone i bought oneplus 6t few days ago and rooted it but unfortuntely there is an app which is not working due to root and i need to use it. so i decided to uninstall root and flashed stock rom via local upgrade and relocked the bootloader. But that app is still showing root error. I downloaded root check from play store and it is saying root access is not properly installed. showing some applet source installed (Toybox). Any help would be appreciated of how to remove it. i am attaching the screenshot.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Flash your phone with msm download tool.
Ziauddin_Sameer said:
Flash your phone with msm download tool.
Click to expand...
Click to collapse
I think all he needs to do is to reflash a full new stock rom, maybe wiping the devices if needed. MsmTool will work too but it will wipe everything including internal sd-card storage.
Also he should have tried to use magisk hide and change magisk manager package name to hide root from most apps. .Some look for unlocked bootloader but magisk should hide that as well. I can use all my apps with root still.
DaOldMan said:
I think all he needs to do is to reflash a full new stock rom, maybe wiping the devices if needed. MsmTool will work too but it will wipe everything including internal sd-card storage.
Also he should have tried to use magisk hide and change magisk manager package name to hide root from most apps. .Some look for unlocked bootloader but magisk should hide that as well. I can use all my apps with root still.
Click to expand...
Click to collapse
He relocked the bootloader. So if he wants what he said he must flash with msm . Yeah he must have to backup his data. But there is no option without wiping i think cause if he wants to unlock his bootloader it will also wipe storage.
Ziauddin_Sameer said:
He relocked the bootloader. So if he wants what he said he must flash with msm . Yeah he must have to backup his data. But there is no option without wiping i think cause if he wants to unlock his bootloader it will also wipe storage.
Click to expand...
Click to collapse
Correct. Didn't see he relocked the bootloader. I think that wiped his phone already. He can't flash a rom then, only msmtool.
Sent from my ONEPLUS A6013 using Tapatalk

Categories

Resources