[ROM][US997] Stock 21c TWRP Flashable ZIP - LG G6 ROMs, Kernels, Recoveries, & Other Developme

Thought this post should reside here instead of the G6 guides forum. Original post below + mirrors.
https://forum.xda-developers.com/lg-g6/how-to/us997-21c-twrp-flashable-zip-t3871783
aNGERY said:
Typical disclaimer, etc etc.
You nuke your phone, I'm not paying for it
Thanks to @zefie for converting the kdz to a zip.
The zip
The anti-root removal
I flashed the zip in TWRP, rebooted to the OS, and was unrooted.
Reboot into the bootloader, and flashed TWRP.
Rebooted into recovery, flashed the lucye anti root removal, then rebooted into recovery again, and flashed Magisk.
Phone has been fine since Thursday.
Click to expand...
Click to collapse
FYI: The zip comes with the recovery image removed so you don't have to worry about reflashing or losing TWRP.
Additional MEGA mirrors:
21C ROM
Anti-root removal

Thanks.
Just curious why someone would want to remove root?
Matt.
Sent from my LG-H870 using Tapatalk

matthew33 said:
Thanks.
Just curious why someone would want to remove root?
Matt.
Sent from my LG-H870 using Tapatalk
Click to expand...
Click to collapse
The anti-root removal will ALLOW you to root.
After flashing, you'll have to reinstall Magisk as well.

Anti root removes root checker?

xollen said:
Anti root removes root checker?
Click to expand...
Click to collapse
That's what I assume since I have no issues with root using Magisk.

xollen said:
Anti root removes root checker?
Click to expand...
Click to collapse
Anti-root REMOVAL removes root checker.
Rctd is anti-root. Lucye is anti-root removal; it removes rctd.
Really, this is not that hard.

Curious if you plan to do a zip for 21d? Thanks!

rdy105 said:
Curious if you plan to do a zip for 21d? Thanks!
Click to expand...
Click to collapse
I'd love to, if I knew how. That would either have to be @zefie or @aNGERY.

Related

Cancel software update

I downloaded a software update before I learned that it could break the root and TWRP. I haven't installed it yet, but now I want to delete it. There is a permanent notification icon that prompts me to install the update. Does anybody have any advice?
It cannot break TWRP.
Sent from my HTC One using Tapatalk 4 Beta
Toaster Strudels said:
It cannot break TWRP.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
So it only breaks the root?
I don't even think it will do that. If it breaks root, you're about a single flash of a SuperUser ZIP away. Go for it.
Sent from my HTC One using Tapatalk 4 Beta
Toaster Strudels said:
I don't even think it will do that. If it breaks root, you're about a single flash of a SuperUser ZIP away. Go for it.
Sent from my HTC One using Tapatalk 4 Beta
Click to expand...
Click to collapse
I suppose TWRP's message (can't post links, but the page is titled "Official Updates and TWRP") is true only for other updates then. I pressed install now, and it brought me to TWRP. Do you know the file path of the installation file, or is there a workaround for this?
you need stock recovery or you wouldn't even be able to update anyways. TWRP will not allow the update to be installed
crzykiller said:
you need stock recovery or you wouldn't even be able to update anyways. TWRP will not allow the update to be installed
Click to expand...
Click to collapse
So if I can't install the update, is there any way that I can delete it and end the prompt for installation?
I don't understand why you don't want the update.
If you flash stock recovery, install the OTA and reinstall root, you're done. It only might temporarily break root, you can still go back using exactly the same methid you used before.

Remove root

I have been using custom roms since the last few years but never without root.
I need to use my phone at work via AirWatch and it doesn't allow root.
Most of the features and tweaks in custom roms don't necessarily need root as they are baked into the system.
What are my options if I want to use Chroma / Pure Nexus? Both of them are pre-rooted.
The only feature that I would miss is custom color profiles. As far as my knowledge goes, the only way to implement it without root is adding it to ramdisk as it relies on sysfs files.
suku_patel_22 said:
I have been using custom roms since the last few years but never without root.
I need to use my phone at work via AirWatch and it doesn't allow root.
Most of the features and tweaks in custom roms don't necessarily need root as they are baked into the system.
What are my options if I want to use Chroma / Pure Nexus? Both of them are pre-rooted.
The only feature that I would miss is custom color profiles. As far as my knowledge goes, the only way to implement it without root is adding it to ramdisk as it relies on sysfs files.
Click to expand...
Click to collapse
no options. to remove root completely, yoj have to flash a factory img
simms22 said:
no options. to remove root completely, yoj have to flash a factory img
Click to expand...
Click to collapse
How effective is SuperSU's inbuilt remove root function?
Are you saying no custom ROM for me?
suku_patel_22 said:
How effective is SuperSU's inbuilt remove root function?
Are you saying no custom ROM for me?
Click to expand...
Click to collapse
If we could change/add system files (as a custom rom does) without root, no one would have to root
suku_patel_22 said:
How effective is SuperSU's inbuilt remove root function?
Are you saying no custom ROM for me?
Click to expand...
Click to collapse
im saying if you need to be unrooted, flashing a factory img will be the only way. you can do it the way explained in SuperSU, and you wont have root. but apps that detect root will still think youre rooted.
---------- Post added at 12:02 PM ---------- Previous post was at 12:00 PM ----------
gee2012 said:
If we could change/add system files (as a custom rom does) without root, no one would have to root
Click to expand...
Click to collapse
sure, you can run any custom rom or kernel without root. but you wont be able to change settings or anything like that, since those apps need root to work.
suku_patel_22 said:
I have been using custom roms since the last few years but never without root.
I need to use my phone at work via AirWatch and it doesn't allow root.
Most of the features and tweaks in custom roms don't necessarily need root as they are baked into the system.
What are my options if I want to use Chroma / Pure Nexus? Both of them are pre-rooted.
The only feature that I would miss is custom color profiles. As far as my knowledge goes, the only way to implement it without root is adding it to ramdisk as it relies on sysfs files.
Click to expand...
Click to collapse
You should be able to find a custom ROM without root. If not, you should be able to remove the root files from your custom ROM. (That said, I'm not sure what pre-installed apps would be impacted, as some of them may require root.)
As for AirWatch working properly, it would depend on what it looks for to check for root -- if it doesn't find what it's looking for on your custom ROM, then it should work.
gee2012 said:
If we could change/add system files (as a custom rom does) without root, no one would have to root
Click to expand...
Click to collapse
You can always make modifications while booted in recovery or with an insecure kernel... all without having root...
I will try removing the SuperSU zip from within the ROM before flashing.
suku_patel_22 said:
I will try removing the SuperSU zip from within the ROM before flashing.
Click to expand...
Click to collapse
cool, let us kmow how it goes
Deleting the SuperSU folder in the ROM and the one flashing was all good, but was unable to install AirWatch.
Sigh!! Back to stock..
suku_patel_22 said:
Deleting the SuperSU folder in the ROM and the one flashing was all good, but was unable to install AirWatch.
Sigh!! Back to stock..
Click to expand...
Click to collapse
thats what i tried to tell ya :silly:
suku_patel_22 said:
Deleting the SuperSU folder in the ROM and the one flashing was all good, but was unable to install AirWatch.
Sigh!! Back to stock..
Click to expand...
Click to collapse
Deleting the SuperSU folder does not remove root. You need to remove ALL the root files.
Sent from my Nexus 6 using Tapatalk

OJ7 root.

After reading dozens of threads I'm at a loss.
1. Can I root?
2. If I root, is my phone still going to work? Or will it become the latest victim of my Beowolf.
Odin twrp then install unikernel inside twrp. Will trip Knox so Samsung pay won't work anymore.
tyrone1 said:
Odin twrp then install unikernel inside twrp. Will trip Knox so Samsung pay won't work anymore.
Click to expand...
Click to collapse
Ok thanks. Not concerned with Sam pay. Citibank and Wells aren't supported.
It works with Citibank cards
stncldtex said:
After reading dozens of threads I'm at a loss.
1. Can I root?
2. If I root, is my phone still going to work? Or will it become the latest victim of my Beowolf.
Click to expand...
Click to collapse
I finally found a routine and the right files needed to successfully acquire root, twrp, and custom ROM. Although, the only custom ROM Iv'e been able to boot and setup with all T-Mobile services intact and even the finger print security feature working, is the "OZOP_EDGE_v11_DOJ7.zip, thanks to stangdriver44".
Just remember you should back up the EFS and backup the phone using Samsung smart switch. If you need help, pm me. Id lay out the exact steps I took to get root originally and what it took to get out of a bricked phone, and finally to root and install a custom ROM.
I will type up what I did later today or tomorrow and post it in case anyone does the same thing to gets bootloops and bricks.
I have to attend to other chores now before I go back to work tomorrow, since I spent every evening for the last week and all day and night yesterday, trying to bring this phone out of brick.
chevy383surfing
tyrone1 said:
It works with Citibank cards
Click to expand...
Click to collapse
Sorry Capital One not Citi.
stncldtex said:
After reading dozens of threads I'm at a loss.
1. Can I root?
2. If I root, is my phone still going to work? Or will it become the latest victim of my Beowolf.
Click to expand...
Click to collapse
chainfire's systemless root BETA v2.61 works flawlessly: http://forum.xda-developers.com/showpost.php?p=64161125&postcount=3
pm me.
Id like to know the steps you took to root your s6. pm me whenever possible. Thanks.
chevy383surfing said:
I finally found a routine and the right files needed to successfully acquire root, twrp, and custom ROM. Although, the only custom ROM Iv'e been able to boot and setup with all T-Mobile services intact and even the finger print security feature working, is the "OZOP_EDGE_v11_DOJ7.zip, thanks to stangdriver44".
Just remember you should back up the EFS and backup the phone using Samsung smart switch. If you need help, pm me. Id lay out the exact steps I took to get root originally and what it took to get out of a bricked phone, and finally to root and install a custom ROM.
I will type up what I did later today or tomorrow and post it in case anyone does the same thing to gets bootloops and bricks.
I have to attend to other chores now before I go back to work tomorrow, since I spent every evening for the last week and all day and night yesterday, trying to bring this phone out of brick.
chevy383surfing
Click to expand...
Click to collapse
andrey1186 said:
Id like to know the steps you took to root your s6. pm me whenever possible. Thanks.
Click to expand...
Click to collapse
I will get a write up of the steps. I'll pm you tomorrow afternoon. I planned to do it tonight, but I have a case of the Mondays!
muniz_ri said:
chainfire's systemless root BETA v2.61 works flawlessly: http://forum.xda-developers.com/showpost.php?p=64161125&postcount=3
Click to expand...
Click to collapse
How do you flash it?
stncldtex said:
How do you flash it?
Click to expand...
Click to collapse
Install twrp on stock oj7 then flash supersu v2.61 in twrp. that's it.
muniz_ri said:
chainfire's systemless root BETA v2.61 works flawlessly: http://forum.xda-developers.com/showpost.php?p=64161125&postcount=3
Click to expand...
Click to collapse
Does this trip KNOX?
chip.hughes said:
Does this trip KNOX?
Click to expand...
Click to collapse
of course
stncldtex said:
How do you flash it?
Click to expand...
Click to collapse
You'd have to setup Cygwin software to make the zip an 'Odin flashable .tar.md5 type file', which I have not had time to play with, in order to flash supersu zip files onto the samsung phones.
I am working on a worksheet right now explaining what I had to do to install 5.1.1 firmware and root the phone. I am still looking back to remember exactly how I unlocked the bootloader. I did have to use an android terminal to map out the twrp recovery manual on the phone itself. I do know it would wise for anyone interested in this to backup the EFS before anything. I had to download a specific windows DOS software that does it in a couple seconds and stores it on your computer. It works for a number of other phones as well. Also need to download the newest Odin 3.10.7 software in order to work with 5.1.1 firmware without any problems. Also need to do a backup of whole phone with samsung smart switch "takes place of Kies software now". When I get home tonight I will get names and locations of everything and inform everyone. If you download the wrong DOJ7 software or firmware you'll mess up your device. It took me a week to find the right software downloads related to 5.1.1 in order to make everything work right. And I did everything within 15 minutes. Once I figured out the routine.
Once you update to 5.1.1 I know of no way to downgrade.
I do recommend going over to serio22's post -[Firmware][Bootloader & Modems][Odin] - G920T - DOJ7-
And download DOJ7 BL and DOJ7 modem and G920TUVU3DOJ7 (firmware). Download Chainfire's latest beta super su.
You can just flash unikernel to get root.
Possibly any of the other kernels too
stncldtex said:
After reading dozens of threads I'm at a loss.
1. Can I root?
2. If I root, is my phone still going to work? Or will it become the latest victim of my Beowolf.
Click to expand...
Click to collapse
Yes you can root .. by flashing unikernel .. and phone will still be working ...
Tried flashing Uni through Odin with no luck. I get this in Odin.
Get PIT for mapping.
Write operation failed.
Any idea's?
stncldtex said:
Tried flashing Uni through Odin with no luck. I get this in Odin.
Get PIT for mapping.
Write operation failed.
Any idea's?
Click to expand...
Click to collapse
I recommend you root with the latest Supersu beta v2.62-3 zip. It will patch the stock kernel which was designed for your specific build unlike the unikernel. Just flash via twrp.
muniz_ri said:
I recommend you root with the latest Supersu beta v2.62-3 zip. It will patch the stock kernel which was designed for your specific build unlike the unikernel. Just flash via twrp.
Click to expand...
Click to collapse
TWRP gives off the same error.
stncldtex said:
TWRP gives off the same error.
Click to expand...
Click to collapse
More accurately trying to Odin TWRP.

Is it possible to root a Nexus 6 with Android Marshmallow?

Hi, I've always used Android with root, however I remember I read that Android 6.0 was too secure to allow root so I haven't tried yet, at this moment, is there a way to root it? I would appreciate the help, thanks!
several ways from manual to toolkit (the later is not recommended by many)
just read the stickies and search
Sent from my GT-N7000 using Tapatalk
Wugfresh's Toolkit is the one to beat.
Sent from my VS980 4G using Tapatalk
Learn how to manually do it so if something goes wrong you can retrace steps and hopefully fix it
Sent from my iPhone using Tapatalk
Wugs +1
Thank you all; I did some research before asking, maybe it was not enough because I could not find clear guide on how to do it manually, I've always used Chainfire's root method, which i kind of automatic. Thanks!
@saman0suke1
Your last message is unclear. Have you rooted?
As you say, Chainfire has done a really good job of automating root. Boot into TWRP, flash SuperSU 2.66, done.
dahawthorne said:
@saman0suke1
Your last message is unclear. Have you rooted?
As you say, Chainfire has done a really good job of automating root. Boot into TWRP, flash SuperSU 2.66, done.
Click to expand...
Click to collapse
you also need to flash a custom kernel, unless chainfire fixed that.
simms22 said:
you also need to flash a custom kernel, unless chainfire fixed that.
Click to expand...
Click to collapse
Fixed in 2.60 and higher. Systemless root. 2.66 is the current version.
TonikJDK said:
Fixed in 2.60 and higher. Systemless root. 2.66 is the current version.
Click to expand...
Click to collapse
So, easiest choice right now is Boot into TWRP, flash SuperSU 2.66? Thanks!
Correct.

Question Lost Root Access

Just recently checked and my phone no longer has root access. I'm not sure what happened as the boot.img is still there. I checked the version of my device and it updated itself automatically from 13.0.6 to 13.0.7. I am just wondering if it's because my phone updated to a different version that I lost root access.. or if it's something else. I've disabled the auto-update, but is there a way to get my root access back without having to reinstall everything from a clean slate? I'm very new to rooting so I don't understand much.
Can someone tell me why I lost root access, how to prevent it, and how to reinstall root without losing all my data? Here are the specs for my phone:
Xiaomi MIUI Global 13.0.7 Stable
Android Ver 12
I used this guide to root my phone previously:
WhalePC said:
Just recently checked and my phone no longer has root access. I'm not sure what happened as the boot.img is still there. I checked the version of my device and it updated itself automatically from 13.0.6 to 13.0.7. I am just wondering if it's because my phone updated to a different version that I lost root access.. or if it's something else. I've disabled the auto-update, but is there a way to get my root access back without having to reinstall everything from a clean slate? I'm very new to rooting so I don't understand much.
Can someone tell me why I lost root access, how to prevent it, and how to reinstall root without losing all my data? Here are the specs for my phone:
Xiaomi MIUI Global 13.0.7 Stable
Android Ver 12
I used this guide to root my phone previously:
Click to expand...
Click to collapse
The update replaced the modified boot.img.
You need to repatch the boot.img.
NOSS8 said:
The update replaced the modified boot.img.
You need to repatch the boot.img.
Click to expand...
Click to collapse
How do I do that and is there a way to prevent it from happening?
WhalePC said:
How do I do that and is there a way to prevent it from happening?
Click to expand...
Click to collapse
Do not update
NOSS8 said:
Do not update
Click to expand...
Click to collapse
Yeah learnt my lesson, have now disabled auto-update. How do I repatch boot.img?
WhalePC said:
Yeah learnt my lesson, have now disabled auto-update. How do I repatch boot.img?
Click to expand...
Click to collapse
Same method you have already used, just in case:
https://forum.xda-developers.com/t/root-xiaomi-11t-pro-on-latest-miui-13-working.4450535/
Root does not delete the data.
Wait so which steps do I change to repatch? Do I just follow the steps again to get a new boot.img then patch that one in Magisk?
WhalePC said:
Wait so which steps do I change to repatch? Do I just follow the steps again to get a new boot.img then patch that one in Magisk?
Click to expand...
Click to collapse
Exactly.
NOSS8 said:
Exactly.
Click to expand...
Click to collapse
Hold up will I have to reinstall everything on my phone if I do this? I kind of deleted my old ROM folder on my PC
WhalePC said:
Hold up will I have to reinstall everything on my phone if I do this? I kind of deleted my old ROM folder on my PC
Click to expand...
Click to collapse
You must get the boot.img from the currently installed rom and patch it.
NOSS8 said:
You must get the boot.img from the currently installed rom and patch it.
Click to expand...
Click to collapse
Okay managed to get my phone rooted again. Thanks for the help, I feel pretty dumb when it was that easy. Anyways to prevent from losing root again, do I just disable auto-update android version?
WhalePC said:
Okay managed to get my phone rooted again. Thanks for the help, I feel pretty dumb when it was that easy. Anyways to prevent from losing root again, do I just disable auto-update android version?
Click to expand...
Click to collapse
Now that you know how to do it and given the time it takes, leave the updates, important for security and proper functioning.

Categories

Resources