Root, flash recovery and custom ROMs. Only for LG G6 H872 (20g original firmware) - T-Mobile LG G6 Guides, News, & Discussion

This is a much easier way to flash a new recovery and custom roms. Besides using a PC / USB cable for unlocking the bootloader, all the process can be done straight from your device.
IMPORTANT: This procedure is only valid for LG G6 H872. Other G6 variants will end up bricked. All partitions will be wiped, this means that all the files needed must be saved to your external SD. It’s been tested with 20g firmware.
Prerequisites:
LG G6 device with original Oreo 20g firmware and fully charged
External SD card
Download and install su98.apk, Root Checker and Flashify
Download this specific TWRP version and save it to your external SD
Download Magisk and save it to your external SD
(Optional) Download latest TWRP to flash A10+ custom roms and save it to your external SD
0. Backup everything
1. Unlock your bootloader, otherwise you will brick your device. You can follow this guide.
2. Disable Google Play Protect (from PlayStore) or you won't be able to go on with the next step
3. Install su98.apk, open it and tap INSTALL NOW (leave the checkbox blank)
4. Install Root Checker and open it to verify that your device is rooted
5. Install Flashify and open it to flash TWRP (recovery_h872_20180813-1.img)
6. Turn off the phone (at this point, if the phone boots to Android you will have to start over from step 3).
7. Reboot into recovery (press and hold Volume Down and Power buttons together for a few seconds. When the LG logo appears, release the Power button while keep pressing the Volume Down and then press the Power button once more. Once you see a white screen, use Volume keys to choose "Yes" and Power button to select the option, you will have to press “Yes” twice).
8. Once in TWRP (be patient, takes some time to load) a “decrypt data” legend will appear. Press cancel. Then swype to allow system modifications. After that, go to Wipe / Format data and confirm by typing yes.
You are now able to flash any Stock ZIP (not KDZ). If this is your choice, remember to flash Magisk after flashing the ROM. If you want to flash any other custom ROM, jump to the next step.
9. Still in TWRP, flash Magisk to keep your device rooted
10. Flash the latest TWRP. Go to reboot options and tap Recovery
11. Once in the new TWRP, wipe system, data, dalvik, cache
12. Flash Rom + Gapps + Magisk and reboot to system
VIDEOS
Unlock bootloader LG G6 - H872
Root LG G6 - H872 without PC
Special thanks to Man Stevo for sharing this!!

LG G6 H872 back to stock Oreo 20g
IMPORTANT: All partitions will be wiped, this means that you must backup everything otherwise you’ll lose everything stored in the phone.
Prerequisites:
LG G6 device fully charged
USB cable
LG Mobile driver installed
Patched LG UP installed in the right folder (otherwise your device will not be recognized)
LG G6 H872 latest Oreo firmware (20g)
0. Backup everything.
1. We are going to flash this using the patched LG UP. Place the files in C:\Program Files (x86)\LG Electronics\LGUP. You can't just unzip it anywhere and run it, it will not find the model file.
2. Boot to download mode (power off your Phone. Plug one end of the USB cable to PC and while holding the Volume Up button connect the other end of the cable to your device. Release the Volume button once the device boots into Download Mode. To exit the Download Mode, press and hold the Power button until the device reboots)
3. Open LG UP and wait until the device model is recognized. Then choose partition DL
4. Pick the H872 20g KDZ and click start / ok
5. You’ll now get a list of partitions to flash, check them all and click start / ok
6. You may get a warning about additional modified partitions. Ignore it, and click ok
7. When the process is finished, the device will reboot
If the progress bar reached 100% and the device got stuck in the pink bootanimation, follow these steps:
Unplug the device and turn it off by holding Volume Down + Power (keep holding them down until it turns off)
Once the device is off, press and hold Volume Down and Power buttons together for a few seconds. When the LG logo appears, release the Power button while keep pressing the Volume Down and then press the Power button once more. Once you see a white screen, use Volume keys to choose "Yes" and Power button to select the option, you will have to press “Yes” twice.
The phone will now restore factory defaults and reboot to system
IMPORTANT
In case camera crashes when opening or you get an IMS error, you'll have to flash H87211h_00_0406.kdz (same procedure as above from step 0 to 7, just changing step 4 where you need to pick H872 11h KDZ), reboot to system (until you finish the initial wizard) and then flash H87220g_00_1228.kdz (again, same procedure from step 0 to 7).

Reserved

Works like a charm. Thanks
FYI, Going back to full working stock need to return to Android 7 firmware 1st (H87211h_00_0406.kdz); otherwise, you will get camera and IMS error.
Questions:
Does SkyHawk Recovery support stock firmware as TWRP can't backup and restore stock properly.

e20140 said:
Works like a charm. Thanks
FYI, Going back to full working stock need to return to Android 7 firmware 1st (H87211h_00_0406.kdz); otherwise, you will get camera and IMS error.
Questions:
Does SkyHawk Recovery support stock firmware as TWRP can't backup and restore stock properly.
Click to expand...
Click to collapse
Worked here when getting back straight to stock 20g, but good to know for those with issues.
I didn't test any custom recovery to backup stock, so I don't know about that.
Thanks for reporting!

Has anyone else used this recently? I cannot get the phone to boot to recovery at step 7. I've tried:
1) press vol- and pwr until the LG logo appears, release power, and press it once more
2) same as 1) above, but pressing power button multiple times to get through the "your phone can't be checked for security stuff" warning
Both times, it just boots straight to Android.
EDIT: Using adb reboot recovery worked!

Yeah, it works @zolotiyeruki
Check the vídeo in the first post for more details with the whole procedure.

Anyone else get an antivirus warning for the su98.apk?
My AV indicates it has a trojan in it - Trojan:Script/Ulthar.A!ml

AmbientMix said:
Anyone else get an antivirus warning for the su98.apk?
My AV indicates it has a trojan in it - Trojan:Script/Ulthar.A!ml
Click to expand...
Click to collapse
To follow up on this, I believe it's flagged because it is the exploit to get root that is seeing.
So it seems it's getting recognized by the anti-virus correctly and it's the desired functionality of the .apk.
(Anyone feel free to chime in to correct this if it's inaccurate.)

AmbientMix said:
To follow up on this, I believe it's flagged because it is the exploit to get root that is seeing.
So it seems it's getting recognized by the anti-virus correctly and it's the desired functionality of the .apk.
(Anyone feel free to chime in to correct this if it's inaccurate.)
Click to expand...
Click to collapse
Exactly.

hello Magisk no longer provides a downloadable zip to flash with twrp. that and for some reason i cant seem to get twrp to stick after flashing ive followed the instructions as exactly except for not installing magisk via twrp. i tried to install magisk via the manager after flashing twrp the first time and wiping data after that i am givin the option to reboot to system which i tried first and was not able to boot back into twrp. after doing everything from step 1 to finish all over i tried staying to flash the latest twrp before returning to system but seeing as how i dont have any gapps or roms or a flashable zip for magisk i just rebooted to system after flashing and still could not return to twrp..... i need help how do i get twrp to stick around after reboot, and how am i supposed to install magisk properly without the flashable zip? i seem to need a copy of my current boot.img so i can patch it with magisk and flash it with fastboot, how do i do this?

jsjames7715 said:
hello Magisk no longer provides a downloadable zip to flash with twrp. that and for some reason i cant seem to get twrp to stick after flashing ive followed the instructions as exactly except for not installing magisk via twrp. i tried to install magisk via the manager after flashing twrp the first time and wiping data after that i am givin the option to reboot to system which i tried first and was not able to boot back into twrp. after doing everything from step 1 to finish all over i tried staying to flash the latest twrp before returning to system but seeing as how i dont have any gapps or roms or a flashable zip for magisk i just rebooted to system after flashing and still could not return to twrp..... i need help how do i get twrp to stick around after reboot, and how am i supposed to install magisk properly without the flashable zip? i seem to need a copy of my current boot.img so i can patch it with magisk and flash it with fastboot, how do i do this?
Click to expand...
Click to collapse
Download latest Magisk APK, rename it to ZIP and flash it through TWRP.

Related

Bricked D802 - Download mode OK but NO recovery

Hi there,
1. Rooted my phone using ioroot
2. Installed TWRP using AutoRec
3. Rebooted into Recovery
4. Mistakenly wiped everything from my phone using TWRP
5. Pushed CM13 and GApps to my phone using ADB
6. Tried to installed both simultaneously using the TWRP queue option (CM13 first in the queue)
7. Phone rebooted, LG Logo displayed and went to constant black screen after 1 second
8. Can not access recovery mode anymore
9. ADB doesn't recognize the phone anymore
10. I still can access Download Mode using the Vol Up button and plugging the phone to PC using USB cable.
11. Can not install stock ROM using LG Flash Tool. It crashes when reading phone information
12. However the LG Support Tool seems can recognize my phone with Software Version: D80230C and it seems that the "Upgrade Recovery" button works in "Options" menu of it (but canceled it as it downloads 1.6 GB ROM).
So:
1. Seems that I have wiped recovery from my phone
2. Download Mode accessible
3. ADB unusable
Any possibility to push TWRP to my phone without ADB but with Download Mode?
It's new year holidays in Iran and there's no repair center open here.
Heya,
Got in a really huge pickle myself yesterday by installing a bootstack, plus I wiped everything as well. Lost the recovery and LG logo showed for a sec when booting. Fortunately I got it to work again and I'm sure you can too.
So here's what you do:
1. (may not be necessary) Check if your phone is in fastboot mode after the 1 sec boot logo and also if you connect your phone with the PC will you see a lot of partitions. If yes then get yourself the handy tool called SRKTool. Open it up, choose "4" to go to fixing options, then choose "5" to unbrick and choose your model. Next just look at what they write you.
2. Get yourself a "LGD802AT-00-V10b.....tot" tot file which you can find in the forum.
3. Watch the video explaining how the process works and also download the required files mentioned in the video description "https://www.youtube.com/watch?v=wJtcPNklrfw".
4. After following the video you will hopefully have a working phone with android 4.2.2.
5. The rest is up to you; flash a KDZ Lollipop ROM and using SRKTool to root and put TWRP to use that or flash CM13.
To sum it up, there is a way out of this problem.
Good luck!

S5Neo-Root: Missing custom recovery menu

Hi guys,
first of all i may apologize for my school-engl. and let you know i am really new in the world of roots.
My goal was to flash magisk in the custom recovery mode of twrp. So after about 3h research i flashed twrp with odin, everything worked like described in my intructions (cant post links here yet, it was from android gadgethacks) and root checker confirmed the root.
Now in all the instructions i have read, i am told to reboot in the recovery mode and see the new modificated "custom recovery"-menu where i can flash the magisk.zip in the intall-section.
I dont. Its rebooting in the original recovery mode, where i havent the possibility to flash anything, right?
In my desperation i tried to flash it in the intall section of twrp manager but that didnt work. Magisk Manager doesnt confirm that magisk is installed.
someone here has experience with that missing twrp-recovery-menu or another idea how i could install magisk on my rooted s5neo? Thanks in advance
Bombadadil said:
someone here has experience with that missing twrp-recovery-menu or another idea how i could install magisk on my rooted s5neo? Thanks in advance
Click to expand...
Click to collapse
I'm new to root as well, but I just rooted my own S5 Neo (which is why I saw your post while searching for information), so I'm a couple of weeks ahead of you.
I'm a little unclear why after flashing TWRP you say the root check confirmed root. My understanding is that TWRP alone won't root the phone.
You may have already figured this out, but here's what I needed to do to install TWRP and Magisk. The issue for me was that auto-reboot from ODIN was allowing the phone to clear TWRP before it was installed. I'm not sure what your issue is, but there is one possibility I note below.
My successful procedure follows (ask for clarification if I gloss over something you don't understand). Others should feel free to correct any mistakes I write, since I'm no expert and I'm writing from memory:
1) Download the Magisk ZIP to your phone, so it will be available when needed.
2) Ensure your phone is set for OEM Unlock (via the Settings/Developer Options setting menu, which is only shown after you activate it by going to Settings/About Phone/Software Information and tapping Build number 7 times).
3) Download the TWRP *.img.tar file to your PC. Make sure it was made for your model phone.
4) Start ODIN on your PC, and use the AP button to load the TWRP *.img.tar file. Wait for ODIN to finish checking it.
5) In ODIN's Options tab, unselect "auto reboot", so your phone won't reboot when done.
6) Turn off your phone, then boot into Download mode (vol_down+home+power button) and confirm with vol_up button.
7) Now connect the phone to the PC with a USB cable and confirm that the "Added!" message shows in ODIN.
8) Click Start in ODIN to flash TWRP to your phone. Wait for the top left to show a green PASS message.
9) At this point, your phone is connected and still in Download mode. Detach the cable and hold Vol_down+power until your phone shuts off (maybe 10-20 sec).
10) Boot into Recovery mode (vol_up+home+power). The phone should now be installing TWRP. Wait until it finishes and then shows something.
11) My memory here is fuzzy. I don't recall whether TWRP immediately shows now, or if the phone boots normally, or it asks you whether to boot or shutdown, so here are five possible routes:
11a) If the phone shows the TWRP window, go to step 12. I think this is what should happen.
11b) If the phone shuts off, boot into Recovery mode again. This should now be TWRP, so go to 12.
11c) If the phone boots normally, shut it off and boot into Recovery mode. This should now be TWRP, so go to 12.
11d) If the phone asks you what to do, select power off and then boot into Recovery mode. This should now be TWRP, so go to 12.
11e) If booting into Recovery doesn't show TWRP, then something is not quite right with my instructions, or how you followed them, so come back here with the results.
12) Here's where your issue may be. TWRP is installed temporarily by default, and restarting the phone will overwrite it. During this temporary time, you can immediately flash a Zip, then reboot and get your original stock recovery back. You may have restarted the phone without realizing this, which then overwrote TWRP. So you need to decide whether your want it temporarily to flash Magisk, or keep it permanent for other uses (like making Nandroid backups). To make the choice, TWRP asks you whether your want to "Keep Read Only" mode (temporary) or not (permanent).
13) If TWRP is temporary, you need to install Magisk now before rebooting. If it's permanent, you can reboot and do it later. In the TWRP menu, tap Install. Navigate to the location where you placed the Magisk ZIP. If you don't see it, look at the lower right button. If it says "Install Image", it should be showing available Zips. If it says "Install Zip", then it's showing images, so tap it to show Zips.
14) Select the Magisk Zip and it should be installed. Go back to the main TWRP menus and tap Reboot, then System to restart your phone.
15) Look in your Apps for the Magisk Manager. It should have been installed from the Zip. Open it and check that "Installed Version" has a green check. That should be it.

Samsung J7 Pro Soft Brick after Oreo 8.1 update (no root)

Hi everyone...
Two days ago, and a few hours after installing the 8.1 update, my mom's J7 touchscreen was unresponsive, including the power button. It ran out of battery, and after I restarted it this morning, it goes to recovery mode after it tries installing system update and the No command screen is displayed.
I've searched on the web for hours and hours for solutions but none of them have worked, most probably because it requires the phone to be connected to the PC, and my PC (Windows 10) isn't even seeing the phone via USB (can't use ODIN nor ADB). BTW, the debug option most probably wasn't turned on prior to soft brick.
Phone Info:
SM-J730G J730GDXS5BRK1
No root
Error on recovery screen (the SD card has been taken out):
======================================
#fail to open recovery_cause(No such file or directory)#
#Reboot Recovery Cause is [UNKNOWN]#
No Support SINGLE-SKU
File-Based OTA
Supported API: 3
E:unknown volume for path [/odm]
E:unknown volume for path [/vendor]
E:unknown volume for path [/odm]
E:unknown volume for path [/vendor]
# MANUAL MODE v1.0.0#
Successfully verified dmverity hash tree
=======================================
Additional info: As I've mentioned, the power button isn't responsive, so I press the volume down button to choose the recovery options. I've tried all recovery options except for:
Wipe data / factory reset, as the phone data isn't backed up (mom doesn't want to lose the personal data as much as possible)
Apply update from ADB
Apply update from SD card
All other options are looping back to the recovery screen after installing system update screen.
Lastly, in recovery, there's an option at the bottom that states "Lacking storage booting". I'm sure that would mean something to someone reading this that would help solve the issue.
An OS downgrade or same 8.1 fix is preferred, as long as the phone data is intact. Any and all help would be much appreciated.
Try "Emergency Software Recovery" feature in Samsung Smart Switch for PC.
It could be a hardware issue as well. Clean your USB charging port with a brush and a drop of alcohol. Then dry with a hair drier.
Good evening, have you tried installing the latest version of the firmware by odin?
If not, try this.
probably its touch stopped working after the update because it was not original (already it has been changed) or it can be other cases ..
if you still can not install the newest firmware downloaded from the sammobile site you can do the second procedure.
Such you will find in this same forum.
In it you use the pc miracle box application and downgrade to 7.1.
this is the title of the post.
follow all procedures.
and it will be all right.
Fix Touch does not work on Samsung J7 Pro (J730G, J730GM) when updating Android 8.1
https://forum.xda-developers.com/ga...ix-touch-samsung-j7-pro-j730g-j730gm-t3850177
PS: Putting it into download mode: Turn the device on by holding the volume down buttons + Home + Power
Thank you. I've tried 3 times now as I am getting stuck at II. Flash TWRP and fix rom. After I flash the nougat rom via TWRP, phone reboots and the logos keep on looping. Either I am doing something wrong or I'm missing a step, or the zip is not working for my mom's phone.
Marius.Banderas said:
Thank you. I've tried 3 times now as I am getting stuck at II. Flash TWRP and fix rom. After I flash the nougat rom via TWRP, phone reboots and the logos keep on looping. Either I am doing something wrong or I'm missing a step, or the zip is not working for my mom's phone.
Click to expand...
Click to collapse
Then when you get to step II open the twrp and go into settings and uncheck the prompt option to install supersu if it is checked. whenever you do something in twrp uncheck this option. I do not know if this will be your problem but this always happens to me, if not clear at the time of restart the cell phone is in the loop screen exactly because of this option.
Cloud1245 said:
Then when you get to step II open the twrp and go into settings and uncheck the prompt option to install supersu if it is checked. whenever you do something in twrp uncheck this option. I do not know if this will be your problem but this always happens to me, if not clear at the time of restart the cell phone is in the loop screen exactly because of this option.
Click to expand...
Click to collapse
Checked TWRP Settings and there's no option / tickbox for supersu. I think one thing that I'm doing wrong is that I'm formatting data in TWRP during the wipe process instead of just sliding it to restore factory settings. I will try again later today after work.
Also, one thing I've noticed after flashing TWRP is that I have to enter recovery mode twice - the first time, it goes to the No command error screen then goes to stock recovery. Only after a reboot in the stock recovery would the phone enter TWRP recovery.
Marius.Banderas said:
Checked TWRP Settings and there's no option / tickbox for supersu. I think one thing that I'm doing wrong is that I'm formatting data in TWRP during the wipe process instead of just sliding it to restore factory settings. I will try again later today after work.
Also, one thing I've noticed after flashing TWRP is that I have to enter recovery mode twice - the first time, it goes to the No command error screen then goes to stock recovery. Only after a reboot in the stock recovery would the phone enter TWRP recovery.
Click to expand...
Click to collapse
Just one more thing. In tutorials on how to install twrp. when you enter twrp the first thing you should do is format the data. then install the rmm state prenormal and bypass files and only then install magisk or a custom rom.
---------- Post added at 11:10 PM ---------- Previous post was at 11:05 PM ----------
Cloud1245 said:
Just one more thing. In tutorials on how to install twrp. when you enter twrp the first thing you should do is format the data. then install the rmm state prenormal and bypass files and only then install magisk or a custom rom.
Click to expand...
Click to collapse
https://youtu.be/UOACi_sUDQY
do only steps 1, 4, 5, 6, 7, and 8 of the video description.
Will be all right!
Marius.Banderas said:
Thank you. I've tried 3 times now as I am getting stuck at II. Flash TWRP and fix rom. After I flash the nougat rom via TWRP, phone reboots and the logos keep on looping. Either I am doing something wrong or I'm missing a step, or the zip is not working for my mom's phone.
Click to expand...
Click to collapse
Before trying to flash TWRP, first flash a full stock firmware and make sure your can at least boot all the way up to the main screen.
Once that works, only then try to flash any custom recovery or custom rom.
Same prob
I've just faced the same problem a few days after my update as well. Did you figure out how to get it back to normal? Thank you!
uz91 said:
I've just faced the same problem a few days after my update as well. Did you figure out how to get it back to normal? Thank you!
Click to expand...
Click to collapse
that is a drk error
you can modification the stock firmware with 7z program
1. open your stock firmware go to AP file
2. click rename than erase the (.md5)
3. extarct the file
4. find (system) file
5. make a (.tar) file with (7z) program with the that system file
6. flash
7. done

desperate dummy needs help

Hi,
OxygenOS 9.0.11 rooted with Magisk 18.0, no mods, stock recovery
I got a notification for Magisk 18.1 and installed it with Magisk manager
Now my device stucked at: press power key to pause boot
Can push any key, nothing helps to boot
Any help is appriciated
Thanks
old_man
Was able to go to Fast Boot mode, press power key,
message: press power key to pause boot, after some seconds, the screen goes black
What to do?
old_man
Fastboot flash TWRP, once in TWRP flash the TWRP installer, reboot TWRP and flash Magisk zip file.
Download files in advance and you should be able to get back.
Thanks,
will try and report back
old_man
lol this will happen to more than one person since happened to me too.
unfortunately i'm on stock recovery and at work, so tried to wipe data and cache on recovery but didn't work.
since i already did a full wipe i will just use the tool to get back to stock lol, oh well, thats easier right now since i have all the files on my computer.

Samsung Galaxy Tab A 8.0 (2019) with S Pen LTE (SM-P205) ROOT ACHIEVED / Howto

So here are my experiences with rooting the Samsung Galaxy Tab A 8.0 (2019) with S Pen (SM-P205)
First of all i am not responsible for any damages or data loss of your devices. So be aware that you could brick your device!
I tested this on a Samsung Galaxy Tab A with SPEN LTE SM-205. The procedure should be the same for the SM-P200 as this procedure is a general Samsug procedure for 2019 Devices.
But since i dont have one. I cant test this.
As no twrp recovery exists for this device be very carefull!
Before you begin make a backup of your internal storage as it gets deleted several times during this procedure!!!!
Therefore it could be handy to also use a sdcard(wont get deleted) for copying files to/from the device.
But it can also be done without. This howto is based on the magisk manual from topjohnwu.
https://topjohnwu.github.io/Magisk/install.html (Samsung System-as-root Section)
Tools needed:
Firmware of your device
Odin3_v3.13.1 Link thanks to Life Companion
Magisk Manager Link thanks to topjohnwu
Samfirm (deprecated but works) Link thanks to zxz0O0
1. Do a software update to the newest version of the firmware.
At the time writing this is P205DXU2ASH2 for my Samsung Galaxy Tab A with SPen LTE (SM-P205)
2. Find out what firmware your device is using and also what's is the region / CSC of your device.
To do that go to settings/About Tablet/Software Information/
Baseband version:
e.g. P205DXU2ASH2
Next Step scroll down to "Service providewr SW ver." and look at your CSC in the last line:
eg. XME/XME/XME -> CSC is XME (Malaysia)
3. Now its time to download the correspondending firnmware for your device. Use SamFirm Tool to download your firmware (Check "Auto". Type in your Model (SM-P205 and your CSC) and download or download it
from the usual Samsung Firmware Download Pages
(eg. SamMobile.com etc)
4. Unzip the downloaded Firwmare with 7zip
5. You will now have 5 Files beginning with their names: AP,BL,CP,CSC and HOME_CSC
These are ODIN flashable files.
6. Download and install the current magisk manager to our device. Also copy the AP File to your devices internal memory or sdcard. Best method for copying is using adb.
Start magisk and click on install. Press a second time install and choose "Select and Patch a File" Choose your copied AP file. Magisk will now patch the image and inject itself.
The patched file can now be found in your Download directory of your internal memory. Its name is magisk_patched.tar. Copy it over to your PC. Again best method is using adb for copying.
7. Bootloader Unlocking:
Quote from the magisk documentation from topjohnwu:
"
Unlocking Bootloader
Normally I wouldn’t provide instructions for this, but since things had changed drastically from previous Samsung devices, and there are some caveats, I figure this would be helpful.
Allow bootloader unlocking in Developer options → OEM unlocking
Reboot your device to download mode. Either use adb reboot download, or use the key combo for your device.
"
Click to expand...
Click to collapse
Download Mode Key Combo: Vol + and Vol -
"
Long press volume up to unlock the bootloader. This will wipe your data and automatically reboot.
Just when you think the bootloader is unlocked, it is actually not! Samsung introduced VaultKeeper, meaning the bootloader will reject any unofficial partitions before VaultKeeper explicitly allows it.
Go through the initial setup. Skip through all the steps since data will be wiped again later when we are installing Magisk. Connect the device to internet in the setup!
Enable developer options, and confirm that the OEM unlocking option exists and grayed out! The VaultKeeper service will unleash the bootloader after it confirms that the user has the OEM unlocking option
enabled.
Your bootloader now accepts unofficial images in download mode.
"
Click to expand...
Click to collapse
8. Next step will be flashing the patched image to your device. We will use 3 of the files from the original stock firmware files you downloaded except for the AP File.
But first click on Options and disable Auto Reboot! After that click on BL and choose correspondending File beginning with BL from the unziped original stock firmwarefiles you downloaded.
For the AP file we will choose the patched magisk image magisk_patched.tar we copied over from our device. For CP and CSC choose the CP and HOME_CSC files. USERDATA will not be used.
9. So now its time to flash your device. First connect the device to the PC. Without connection it will not get into download mode. Boot your device in download mode by first turning it off.
Turn it on by pressing the power button and if it turns on immediately press Vol + and Vol - after relasing the power button and hold it until you see the Download Mode Screen.
If you dont't get it try the fellowing: Turn on the device with power button. Hold Vol - and Power and wait about 7 secs until the display turn black. Imidiantly press Vol Vol + and Vol - and hold until you see the download mode
screen. Press Vol+ to activate Download Mode.
Back in Odin its now time to flash your device.
Press all finger and begin flashing by pressing "Start".
The flash process is finshed as you see the a green "Pass" in the left upper corner.
10. As of now you have to boot into recovery everytime to start your device into a rooted system. Be aware of this and avoid booting the device without pressing the key combination for the recovery. This must be
done everytime you turn it on or after every reboot of the device. If you forget this the device will boot into a non rooted system and samsungs security could make your device unusuable and you
have to flash the device again and losing all data.
So now press Vol - and Power for about 7 secs to reboot the device. Immediately press Vol + and Power. Hold it and wait until you see the stock recovery. It will
possibly show Ereasing data and reboot after that. Press again Vol + and Power and hold it until you will now see the recovery menu. Select Wipe data/factory reset with the Vol + and Vol - Buttons and confirm
with the power button.
After that reboot the device and press the recovery key combo again but now release it shortly after you see the Samsung Logo a second time. Wait until it is booted and do the initial
setup. Install Magisk Manager again.
When you start it it should show a message that it should have to do some further setups and will reboot the device.
Confirm that and wait until it reboots as you now have to press the key combo for booting
into recovery again. Release it as the Samsung Logo comes up a second time. So you see. This is a important step pressing this key combo.
11. So after the reboot your device should now be rooted. Check that by starting magisk manager.
Again this tutorial is based on the magisk documentation. So all credits go to topjohnwu.
flushb
Amazing! Thanks for this detailed info! Finally a way to Root our Tab!
Will follow your instructions, try it on mine (Hong Kong LTE) and give feedback.
Thanks again
VeEuzUKY said:
Amazing! Thanks for this detailed info! Finally a way to Root our Tab!
Will follow your instructions, try it on mine (Hong Kong LTE) and give feedback.
Thanks again
Click to expand...
Click to collapse
Any update yet?
Thank you for the directions! I was able to root my SM-P200 (Korean Version). I did have to do step 7 (Unlock Bootloader) before step 6 (Patching the AP file with Magisk) for it to flash properly.
Mine stuck at "Download Mode" once flashed T_T
I followed all your steps but mine got stuck on "download mode" once flashed and restarted..How to solve it?
What option do i need to tick or untick during injecting magisk (i ticked all 3s including "recovery mode")? and during flashing with odin (i ticked only F. Reset Time)...
Can you share your "magisked" version of ap.tar?
i'm also using xme lte version of sm-p205...
Resolved
Thanks, solved the problem...All i did is extracting the .tar and recompress it using 7zip...Just ensure the compress one is in the same setup...and the 2nd screen of samsung (powered bt knoxx, same with the 1st screen,release the recovery key immediately once 2nd screen popped up) is the one after the "warning of boatloader with power symbol at the bottom" not the "samsung" only logo...Thanks people..Appreciate the post...
This is great - thanks
Bit of a shame we have to reboot via recovery or else risk loosing all our data. Any way around this? I suppose we would need TWRP for this device to flash RMM zip. And TWRP is probably unlikely considering this is a relatively uncommon device
Edit:
In accidentally starting without going via recovery it would seem I've now got KG prenormal. Can't flash the magisk patched AP. Only stock. So that's back where I am. Anyone have any advice on how I can root now? seems now to be undoable
debatingrooster said:
This is great - thanks
Bit of a shame we have to reboot via recovery or else risk loosing all our data. Any way around this? I suppose we would need TWRP for this device to flash RMM zip. And TWRP is probably unlikely considering this is a relatively uncommon device
Edit:
In accidentally starting without going via recovery it would seem I've now got KG prenormal. Can't flash the magisk patched AP. Only stock. So that's back where I am. Anyone have any advice on how I can root now? seems now to be undoable
Click to expand...
Click to collapse
Hi,
do you still see the oem unlock in delevoper settings? Normaly you have to put in a sim card, turn on mobile data and wait for 7 days until you can retry rooting.
flushb
P.S: I already compiled a kernel that boots but i dont think i am able to build a working twrp recovery because i am not a developer. Samsung did finaly release the current kernel sources.
P.P.S: I have made a magisk dual speaker module if someone is in need i can upload it.
flushback666 said:
Hi,
do you still see the oem unlock in delevoper settings? Normaly you have to put in a sim card, turn on mobile data and wait for 7 days until you can retry rooting.
flushb
P.S: I already compiled a kernel that boots but i dont think i am able to build a working twrp recovery because i am not a developer. Samsung did finaly release the current kernel sources.
P.P.S: I have made a magisk dual speaker module if someone is in need i can upload it.
Click to expand...
Click to collapse
Thanks for that - I think I'll just have to wait a little while. I'm using the wifi version so no sim for me. can still unlock bootloader ok, just can't flash magisk patched tar.
Well done on the kernel, hopefully TWRP appears for this device, it's a great little tablet.
I tried to have a go building TWRP using this guide (https://github.com/TwrpBuilder/twrpbuilder_tree_generator/wiki). But had some errors in compiling, though I'm not a developer so I'm not too sure about solving them. But when I've got time and motivation I'd love to learn more about development!
Halp
Mine got failed and its stuck on recovery.img Pls some help me via team viewer (
flushback666 said:
So here are my experiences with rooting the Samsung Galaxy Tab A 8.0 (2019) with S Pen (SM-P205)
First of all i am not responsible for any damages or data loss of your devices. So be aware that you could brick your device!
I tested this on a Samsung Galaxy Tab A with SPEN LTE SM-205. The procedure should be the same for the SM-P200 as this procedure is a general Samsug procedure for 2019 Devices.
But since i dont have one. I cant test this.
As no twrp recovery exists for this device be very carefull!
Before you begin make a backup of your internal storage as it gets deleted several times during this procedure!!!!
Therefore it could be handy to also use a sdcard(wont get deleted) for copying files to/from the device.
But it can also be done without. This howto is based on the magisk manual from topjohnwu.
https://topjohnwu.github.io/Magisk/install.html (Samsung System-as-root Section)
Tools needed:
Firmware of your device
Odin3_v3.13.1 Link thanks to Life Companion
Magisk Manager Link thanks to topjohnwu
Samfirm (deprecated but works) Link thanks to zxz0O0
1. Do a software update to the newest version of the firmware.
At the time writing this is P205DXU2ASH2 for my Samsung Galaxy Tab A with SPen LTE (SM-P205)
2. Find out what firmware your device is using and also what's is the region / CSC of your device.
To do that go to settings/About Tablet/Software Information/
Baseband version:
e.g. P205DXU2ASH2
Next Step scroll down to "Service providewr SW ver." and look at your CSC in the last line:
eg. XME/XME/XME -> CSC is XME (Malaysia)
3. Now its time to download the correspondending firnmware for your device. Use SamFirm Tool to download your firmware (Check "Auto". Type in your Model (SM-P205 and your CSC) and download or download it
from the usual Samsung Firmware Download Pages
(eg. SamMobile.com etc)
4. Unzip the downloaded Firwmare with 7zip
5. You will now have 5 Files beginning with their names: AP,BL,CP,CSC and HOME_CSC
These are ODIN flashable files.
6. Download and install the current magisk manager to our device. Also copy the AP File to your devices internal memory or sdcard. Best method for copying is using adb.
Start magisk and click on install. Press a second time install and choose "Select and Patch a File" Choose your copied AP file. Magisk will now patch the image and inject itself.
The patched file can now be found in your Download directory of your internal memory. Its name is magisk_patched.tar. Copy it over to your PC. Again best method is using adb for copying.
7. Bootloader Unlocking:
Quote from the magisk documentation from topjohnwu:
Download Mode Key Combo: Vol + and Vol -
8. Next step will be flashing the patched image to your device. We will use 3 of the files from the original stock firmware files you downloaded except for the AP File.
But first click on Options and disable Auto Reboot! After that click on BL and choose correspondending File beginning with BL from the unziped original stock firmwarefiles you downloaded.
For the AP file we will choose the patched magisk image magisk_patched.tar we copied over from our device. For CP and CSC choose the CP and HOME_CSC files. USERDATA will not be used.
9. So now its time to flash your device. First connect the device to the PC. Without connection it will not get into download mode. Boot your device in download mode by first turning it off.
Turn it on by pressing the power button and if it turns on immediately press Vol + and Vol - after relasing the power button and hold it until you see the Download Mode Screen.
If you dont't get it try the fellowing: Turn on the device with power button. Hold Vol - and Power and wait about 7 secs until the display turn black. Imidiantly press Vol Vol + and Vol - and hold until you see the download mode
screen. Press Vol+ to activate Download Mode.
Back in Odin its now time to flash your device.
Press all finger and begin flashing by pressing "Start".
The flash process is finshed as you see the a green "Pass" in the left upper corner.
10. As of now you have to boot into recovery everytime to start your device into a rooted system. Be aware of this and avoid booting the device without pressing the key combination for the recovery. This must be
done everytime you turn it on or after every reboot of the device. If you forget this the device will boot into a non rooted system and samsungs security could make your device unusuable and you
have to flash the device again and losing all data.
So now press Vol - and Power for about 7 secs to reboot the device. Immediately press Vol + and Power. Hold it and wait until you see the stock recovery. It will
possibly show Ereasing data and reboot after that. Press again Vol + and Power and hold it until you will now see the recovery menu. Select Wipe data/factory reset with the Vol + and Vol - Buttons and confirm
with the power button.
After that reboot the device and press the recovery key combo again but now release it shortly after you see the Samsung Logo a second time. Wait until it is booted and do the initial
setup. Install Magisk Manager again.
When you start it it should show a message that it should have to do some further setups and will reboot the device.
Confirm that and wait until it reboots as you now have to press the key combo for booting
into recovery again. Release it as the Samsung Logo comes up a second time. So you see. This is a important step pressing this key combo.
11. So after the reboot your device should now be rooted. Check that by starting magisk manager.
Again this tutorial is based on the magisk documentation. So all credits go to topjohnwu.
flushb
Click to expand...
Click to collapse
i got it to root thanks , but i try to uninstall app system and will got bootloop what's wrong ???
Naruiki said:
i got it to root thanks , but i try to uninstall app system and will got bootloop what's wrong ???
Click to expand...
Click to collapse
The reason you get a bootloop is because even though the bootloader is unlocked and you've rooted the tablet, all of Samsung's security stuff is still enabled, so when you go tampering with the /system partition, it triggers the security and ultimately results in a bootloop. Unfortunately, there is currently no way to disable Samsung's security measures without a custom recovery, and even then you have to flash a NoKnox script to disable Knox, a multi-disabler to disable all of the other stuff, and then a custom kernel to completely wipe all of it out. Root is a good first step, but we are far from finished with this device. I'm currently working on TWRP, but from there who knows?
EagerestWolf said:
The reason you get a bootloop is because even though the bootloader is unlocked and you've rooted the tablet, all of Samsung's security stuff is still enabled, so when you go tampering with the /system partition, it triggers the security and ultimately results in a bootloop. Unfortunately, there is currently no way to disable Samsung's security measures without a custom recovery, and even then you have to flash a NoKnox script to disable Knox, a multi-disabler to disable all of the other stuff, and then a custom kernel to completely wipe all of it out. Root is a good first step, but we are far from finished with this device. I'm currently working on TWRP, but from there who knows?
Click to expand...
Click to collapse
Thanks for The response
Btw, Yesterday I made a mistake when I rebooted my device and then bootloop, then I tried to fiddle with it myself without using a computer, and I was successful fix bootloop without a computer but all data is lost as new ,but with the circumstances rooting
---------- Post added at 06:36 AM ---------- Previous post was at 06:31 AM ----------
Info: can't install xposed ,
i already try and get bootloop
Magisk update
flushback666 said:
So here are my experiences with rooting the Samsung Galaxy Tab A 8.0 (2019) with S Pen (SM-P205)
First of all i am not responsible for any damages or data loss of your devices. So be aware that you could brick your device!
I tested this on a Samsung Galaxy Tab A with SPEN LTE SM-205. The procedure should be the same for the SM-P200 as this procedure is a general Samsug procedure for 2019 Devices.
But since i dont have one. I cant test this.
As no twrp recovery exists for this device be very carefull!
Before you begin make a backup of your internal storage as it gets deleted several times during this procedure!!!!
Therefore it could be handy to also use a sdcard(wont get deleted) for copying files to/from the device.
But it can also be done without. This howto is based on the magisk manual from topjohnwu.
https://topjohnwu.github.io/Magisk/install.html (Samsung System-as-root Section)
Tools needed:
Firmware of your device
Odin3_v3.13.1 Link thanks to Life Companion
Magisk Manager Link thanks to topjohnwu
Samfirm (deprecated but works) Link thanks to zxz0O0
1. Do a software update to the newest version of the firmware.
At the time writing this is P205DXU2ASH2 for my Samsung Galaxy Tab A with SPen LTE (SM-P205)
2. Find out what firmware your device is using and also what's is the region / CSC of your device.
To do that go to settings/About Tablet/Software Information/
Baseband version:
e.g. P205DXU2ASH2
Next Step scroll down to "Service providewr SW ver." and look at your CSC in the last line:
eg. XME/XME/XME -> CSC is XME (Malaysia)
3. Now its time to download the correspondending firnmware for your device. Use SamFirm Tool to download your firmware (Check "Auto". Type in your Model (SM-P205 and your CSC) and download or download it
from the usual Samsung Firmware Download Pages
(eg. SamMobile.com etc)
4. Unzip the downloaded Firwmare with 7zip
5. You will now have 5 Files beginning with their names: AP,BL,CP,CSC and HOME_CSC
These are ODIN flashable files.
6. Download and install the current magisk manager to our device. Also copy the AP File to your devices internal memory or sdcard. Best method for copying is using adb.
Start magisk and click on install. Press a second time install and choose "Select and Patch a File" Choose your copied AP file. Magisk will now patch the image and inject itself.
The patched file can now be found in your Download directory of your internal memory. Its name is magisk_patched.tar. Copy it over to your PC. Again best method is using adb for copying.
7. Bootloader Unlocking:
Quote from the magisk documentation from topjohnwu:
Download Mode Key Combo: Vol + and Vol -
8. Next step will be flashing the patched image to your device. We will use 3 of the files from the original stock firmware files you downloaded except for the AP File.
But first click on Options and disable Auto Reboot! After that click on BL and choose correspondending File beginning with BL from the unziped original stock firmwarefiles you downloaded.
For the AP file we will choose the patched magisk image magisk_patched.tar we copied over from our device. For CP and CSC choose the CP and HOME_CSC files. USERDATA will not be used.
9. So now its time to flash your device. First connect the device to the PC. Without connection it will not get into download mode. Boot your device in download mode by first turning it off.
Turn it on by pressing the power button and if it turns on immediately press Vol + and Vol - after relasing the power button and hold it until you see the Download Mode Screen.
If you dont't get it try the fellowing: Turn on the device with power button. Hold Vol - and Power and wait about 7 secs until the display turn black. Imidiantly press Vol Vol + and Vol - and hold until you see the download mode
screen. Press Vol+ to activate Download Mode.
Back in Odin its now time to flash your device.
Press all finger and begin flashing by pressing "Start".
The flash process is finshed as you see the a green "Pass" in the left upper corner.
10. As of now you have to boot into recovery everytime to start your device into a rooted system. Be aware of this and avoid booting the device without pressing the key combination for the recovery. This must be
done everytime you turn it on or after every reboot of the device. If you forget this the device will boot into a non rooted system and samsungs security could make your device unusuable and you
have to flash the device again and losing all data.
So now press Vol - and Power for about 7 secs to reboot the device. Immediately press Vol + and Power. Hold it and wait until you see the stock recovery. It will
possibly show Ereasing data and reboot after that. Press again Vol + and Power and hold it until you will now see the recovery menu. Select Wipe data/factory reset with the Vol + and Vol - Buttons and confirm
with the power button.
After that reboot the device and press the recovery key combo again but now release it shortly after you see the Samsung Logo a second time. Wait until it is booted and do the initial
setup. Install Magisk Manager again.
When you start it it should show a message that it should have to do some further setups and will reboot the device.
Confirm that and wait until it reboots as you now have to press the key combo for booting
into recovery again. Release it as the Samsung Logo comes up a second time. So you see. This is a important step pressing this key combo.
11. So after the reboot your device should now be rooted. Check that by starting magisk manager.
Again this tutorial is based on the magisk documentation. So all credits go to topjohnwu.
flushb
Click to expand...
Click to collapse
Magisk requires renewal, is it okay if it's updated ??
Does bootloop not occur ??
I am looking forward for a twrp and a Lineage for this tablet so hard...you cant imagine....
Pls keep on trying
Thx for the root manual
Root ------> speed up tablet
Has anyone who has achieved root used an app like kernel adiutor to improve performance and how did it go? How did affect battery life?
Naruiki said:
i got it to root thanks , but i try to uninstall app system and will got bootloop what's wrong ???
Click to expand...
Click to collapse
I have shared my detail experience at https://forum.xda-developers.com/galaxy-tab-a/help/root-roms-2019-tab-8-0-sm-p200-5-t3933089/page2
can i update magisk through magisk manager ??
hi,
thx for the comprehensive instruction.
I have successfully rooting my sm-p205
I have 2 questions if u pls help me :
1. I want root my sm-p205 because I want to use tincore keymapper. but although now I have successfully rooted it, it seems that I have to set the selinux to permissive.
I have tried all I've found, from using selinuxmodechanger, selinuxswitch, or even using terminal with su 0 setenforce 0, and all not working. that selinux still enforcing.
can u pls help me how to change the selinux ?
2. if I couldnt change the selinux, than it's no use for me to still on root. Is there anyway to go back to original stock firmware and unroot ? because I read on the last instruction of magisk that I may not flash it again with usual ap file that it may make it brick ?
thx
Any update on a lineage build for this? I would love to have adaptive storage work on this tablet - the adb shell version fails for me corrupting the sd.

Categories

Resources