yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G6 Guides, News, & Discussion] bernardobas:
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).
[T-Mobile LG G6 Guides, News, & Discussion] bernardobas:
Reserved
[T-Mobile LG G6 Guides, News, & Discussion] e20140:
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.
[T-Mobile LG G6 Guides, News, & Discussion] bernardobas:
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!
[T-Mobile LG G6 Guides, News, & Discussion] zolotiyeruki:
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!
[T-Mobile LG G6 Guides, News, & Discussion] bernardobas:
Yeah, it works @zolotiyeruki

Check the vídeo in the first post for more details with the whole procedure.
[T-Mobile LG G6 Guides, News, & Discussion] AmbientMix:
Anyone else get an antivirus warning for the su98.apk?

My AV indicates it has a trojan in it - Trojan:Script/Ulthar.A!ml
[T-Mobile LG G6 Guides, News, & Discussion] AmbientMix:
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.)
[T-Mobile LG G6 Guides, News, & Discussion] bernardobas:
Exactly.
[T-Mobile LG G6 Guides, News, & Discussion] jsjames7715:
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?
[T-Mobile LG G6 Guides, News, & Discussion] bernardobas:
Download latest Magisk APK, rename it to ZIP and flash it through TWRP.
[T-Mobile LG G6 Guides, News, & Discussion] MediumDuty:
Hi had to return to stock H87211h_00_0406.kdz as TWRP froze on me but now SU98 wont install it says "installing" then "install failure". Google Play Protect has a "turn on" option so guessing its off. Any ideas?

Edit under settings/general/ google servises/ security/ play protect it reads ... Harmful app removed SU98 , This app is fake etc etc but play protect is showing as off??

Edit, edit, My fault didnt understand and still dont that we have to revert back to the 220g rom... How come when all data is wiped flashing one rom can affect another flashed rom?

Anyway still got problems here if anyone would be kind enough to look

H872 same problems with different roms

Currently running Lineage 21 but had the same problems with other Lineage rom basically the option to select 3G or 4G has gone and I know have this: I can receive texts but cant make calls not sure if I can receive them, call and SMS...

xdaforums.com
[Samsung Galaxy S7 Questions and Answers] developer215:
Hello guys - my phone died a week ago - won't go past the S7 logo screen The repair shop has changed the battery but to no avail, and also told me that it died because I'd uninstalled a Samsung app -the uninstall can fry a chip apparently????

I have upgraded now, to an S20, but I'd like the data off the old phone (I'd not done backups - yes yes I know) - so is there any way of getting the data off. I can open the phone and mess with it to infinitum as it's now been replaced by my S20.

Thanks.
[Samsung Galaxy S7 Questions and Answers] djibe89:
Hi, does Download mode works ?

If so, you can follow my tutorial

https://xdaforums.com/t/guide-tutorial-howto-samsung-galaxy-s7-herolte-stock-to-android-10.4201187/

Flash TWRP, Nandroid Backup, explore Internal memory from PC.

Keep us informed
[Xiaomi Poco F1 Questions & Answers] anizah81:
Hi, I am unable to unlock my mi account I am stuck in update software in unlock tool as it is failed to update. Pls help.
[Touch Diamond, MDA Compact IV General] dineshh:
Hi

IN HKLM/ Manila I've exported the weather cities key as reg file to my internal storage.

Similarly HKCU/manila i've exported launcher key.

But I'm unable to restore/ import the keys in the handset after new ROM Install. I'm using PHM Reg editor.

Can anybody resolve and provide a solution?
[Touch Diamond, MDA Compact IV General] kareeem:
Are you getting an error of some sort or do the changes just not go into effect? Remember, after importing anything to the registry, you should power cycle the device.
[Touch Diamond, MDA Compact IV General] dineshh:
No error

No error, just the reg file is not recognized by reg editor and the import tab is disabled
[Touch Diamond, MDA Compact IV General] kareeem:
Did you try cycling the device? Try Resco Registry and see if it does the job (you can get the trial to do this).
[Touch Diamond, MDA Compact IV General] dineshh:
rESCO REGEDIT

Could you pls provide cab for resco regedit I don,t want full explorer
[Xiaomi Mi 8 Accessories] FelipeG550:
This is a thread where we can post / ask for accessories that are in some way compatible with the Xiaomi Mi 8

For example, a screen protector that's not made for the Mi 8, but it fits well on it.
[SuperR Kitchen] SuperR.:
With the release of v3.2.1.0, there are many improvements to the Linux version of the kitchen compared to the native Windows version. WSL2 on Windows 10 is the perfect way to run the Linux kitchen on Windows. Installation takes a few more steps, but it will be worth it.

Below you will find a basic guide to get the kitchen running on WSL2. This guide will work with Ubuntu/Debian variants. Other variants will need to adjust the dependencies command for your chosen distro. I will update this post as needed.

Requirements: Donate kitchen, 64-bit Windows 10 (version 1903 or higher).

STEP 1:

Install WSL2 on Windows 10.

How to Install WSL 2 on Windows 10 (Updated) - OMG! Ubuntu

If you want to try out the improved Windows Subsystem for Linux 2 (aka WSL 2) in the latest Windows versions here's how — I cover everything you need to

www.omgubuntu.co.uk

or the official Microsoft documentation

Install WSL

Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.

docs.microsoft.com

STEP 1 B (Optional):

Now that WSL is installed, you can move it to a different drive if you want. Some people might want WSL on the Windows D:\ drive for example. Here is how:

Close your WSL terminal.

Open cmd.exe, powershell, or Windows terminal

wsl.exe -l -v
NAME STATE VERSION
* Ubuntu Running 2

The first command will show you the distro name you need to use in the following commands. "Ubuntu" in this example, but yours may be named differently.

wsl.exe --export Ubuntu C:\WSL_backup.tar
wsl.exe --unregister Ubuntu
wsl.exe --import Ubuntu D:\wsl C:\WSL_backup.tar

STEP 2:

Open WSL2 terminal and install dependencies

sudo apt-get update
sudo apt-get install unzip default-jre

Do not close the WSL2 terminal. Leave it open until the end of the guide :)

STEP 3:

Download the kitchen into your WSL2 home directory.

First we need to create a "kitchen" directory and find the path to it from Windows so you know where to save the kitchen zip.

In the WSL2 terminal, do the following:

mkdir -p kitchen
cd kitchen
explorer.exe .

IMPORTANT! Do not forget the dot (.) at the end of the last command.

At this point, Windows explorer should have opened to the new "kitchen" directory you created in the terminal. Take note of this location. This is where we want to download and install the kitchen.

Time to head over to the kitchen downloads page and grab the latest Linux version zip. Save to the "kitchen" directory we found earlier.

STEP 4:

Extract the kitchen.

Back in WSL2 terminal, run the following (replace v3.2.1.0 with the version you are installing)

unzip SuperRs-Kitchen_Linux-64_v3.2.1.0.zip

IMPORTANT! Do not extract the kitchen using windows tools or you will have issues.

STEP 5:

Run the kitchen.

./superr

RUNNING THE KITCHEN LATER:

Run the kitchen after closing WSL2.

Open WSL2 terminal and run the following:

/path/to/kitchen/superr
[SuperR Kitchen] dr.ketan:
Small tips to find Home directory for newbie

1.win 10 must be updated firt to Latest (at least 1903 or up) to install WSL2

2.Find home directory

Once Install ubuntu - Open it from start menu - and type and run

explorer.exe .

This will open home directory in windo explorer.
[SuperR Kitchen] ishay_shlomo:
I install WSL2, but how I open the kitchen
[SuperR Kitchen] SuperR.:
Great, you finished STEP 1 in the guide. Now move on to STEP 2 :)
[SuperR Kitchen] mrsmileisgod:
Its showing "platform not supported" how do we fix that ?
[SuperR Kitchen] SuperR.:
As mentioned in the thread title, this guide is for the donate kitchen. The free kitchen does not work in WSL.

edit: I added donate kitchen to the requirements in the OP to make this more clear.

edit2: I added text to free kitchen OP stating it will not work in WSL.
[SuperR Kitchen] mrsmileisgod:
oh my bad...i didn't see that
[SuperR Kitchen] xingkong futur:
View attachment 5171147why？？？

This prompt appears after running and the previous steps have been completed
[SuperR Kitchen] SuperR.:
As stated in the screenshot you sent, you are running the kitchen as root and you should not be. Your terminal is actually running as root so anything you do there is done as root. Run WSL2 terminal as a normal user and then run the kitchen.
[SuperR Kitchen] Tulsadiver:
I'm not knowlegable about this sort of thing but I can't get jre installed.

View attachment 5178975
[SuperR Kitchen] SuperR.:
That is odd. Maybe try apt instead of apt-get:

sudo apt install default-jre

Otherwise, maybe try Ubuntu 18.04 instead. I have not tested 20.04.
[SuperR Kitchen] Tulsadiver:
That didn't work either. I'll try 18.04
[SuperR Kitchen] Tulsadiver:
sudo apt install default-jre didn't work. I installed 18.04 but got same error. apt-get update worked. Now I get a permission error when running the kitchen. I have v3.2.1.1 installed.

Edit: tried v3.2.1.0 also. Same result.

View attachment 5179335
[SuperR Kitchen] SuperR.:
How did you unpack the kitchen zip? Did you follow the instruction in step 4 above? It sounds like you used a Windows tool to unpack the zip, and this will cause permission issues.

edit: According to my server log, it appears you are running WSL1, not WSL2.

edit2: you should remove the space from your project name. The kitchen does not allow this so you must have created the project directory manually. I am not sure if this will cause problems, but it certainly could.
[SuperR Kitchen] Tulsadiver:
I used ubunto to unzip as per instructions, installed WSL2 and tried step 3 to set WSL2 as default. tried step 5 to change from WSL1 to WSL2 and it indicated "no such distribution". I also tried removing the space to no avail. I've probably hosed everything at this point...
[SuperR Kitchen] SuperR.:
According to Microsoft official WSL2 documentation, you need to meet these Windows requirements:

For x64 systems: Version 1903 or higher, with Build 18362 or higher.

For ARM64 systems: Version 2004 or higher, with Build 19041 or higher.

Builds lower than 18362 do not support WSL 2.

Does your system meet these requiements?
[SuperR Kitchen] Tulsadiver:
Version 1909

build 18363-1198

Edit: If I have ubuntu 18.04 installed, what do I put here?

wsl.exe --set-version Ubuntu 2
[SuperR Kitchen] SuperR.:
In that case, it seems like a problem with Windows or WSL2. Surely there are other people in the world that are having trouble upgrading to WSL2. Maybe a google search on the topic would help.
[SuperR Kitchen] dr.ketan:
wsl --set-version ubuntu-18.04 2
[SuperR Kitchen] Tulsadiver:
It's just me. I started over from scratch, used Ubuntu 20.04, updated it first thing, then proceeded and it worked.

It's doing the same thing my other kitchen was doing since v3.2.1.0 on Pixel image's. It crashes like it doesn't work but when you restart it, the individual images have been extracted but you have to extract those in a separate step.

v3.2.0.9 worked fine. I have a windows version but not a linux one.
[SuperR Kitchen] SuperR.:
I am glad you got the install sorted out finally :)

Regarding the kitchen issue you mentioned, I was not able to reproduce it when extracting sunfish-rq1a.210105.002-factory-0d4aed85.zip.

Could you please post in the kitchen thread specifically how to reproduce the issue? This thread is meant for WSL2 installation :)

edit: Just in case, make sure you have mount extract enabled. Misc Tools > Extract Options > Mount extract. It should be enabled by default in WSL2 after a fresh kitchen install.
[SuperR Kitchen] The_Eniac:
Can you help me?

when I write unzip SuperRs-Kitchen_Linux-64_v3.2.1.3.zip I get this

error: cannot open zipfile [ SuperRs-Kitchen_Linux-64_v3.2.1.3.zip ]

Permission denied

unzip: cannot find or open SuperRs-Kitchen_Linux-64_v3.2.1.3.zip, SuperRs-Kitchen_Linux-64_v3.2.1.3.zip.or SuperRs-Kitchen_Linux-64_v3.2.1.3.zip..

The zip is in the home folder inside Kitchen's folder. But it seems don't recognize it
[SuperR Kitchen] SuperR.:
The only thing I can think of is that your terminal is not in the kitchen directory with the zip. Make sure you cd /path/to/kitchen before using the unzip command. To be sure you are in the right directory, you can type ls. This will list the contents of the directory your terminal is in. If you see the kitchen zip file in this list, you are ready to unzip.
[SuperR Kitchen] jrkruse:
Quick question when I unpack a boot or recovery image and want to manually edit something in the folder it creates for example recoveryimg folder I dont have permissions too modify anything within that recoveryimg folder
[SuperR Kitchen] SuperR.:
This directory is owned by root to keep the permissions correct for the rebuild. If you want to edit the contents, you would need to do it as root.

One option is to use a terminal text editor such as nano. I am not sure if nano is installed by default in WSL, but you could easily install it with sudo apt-get install nano. You can open the file as root with nano using sudo nano /path/to/your/file

Another option (PROBABLY NOT A GOOD IDEA AT ALL) is to change ownership of the directory so you can access it as a normal user. The reason this is almost certainly a bad idea, is when the boot/recovery.img is repacked the ownership may be wrong and it might fail to boot. I have not tested this, so it also could be ok lol. Warning issued :) To change ownership, sudo chown -R username:username /path/to/recoveryimg. After this it will be owned by your user and you should be able to edit all the files inside.

edit: I should also mention that they are working on support for GUI (graphical user interface) apps in WSL. Hopefully some time in the near future we will be able to install and run apps like gedit :)
[SuperR Kitchen] jrkruse:
Both methods worked fine
[SuperR Kitchen] kosmos-2011:
not launched from / Home directory. may have windows error when granting permissions and slow work

why am i getting this error
[SuperR Kitchen] SuperR.:
It is not an error, it is information and you can continue if you want. However, if you install the kitchen outside of the WSL environment, reading and writing to your hard drive will be slow. You may also get Windows permission errors when accessing files.

edit: If you want to run the kitchen on a different hard drive or partition, take a look at the new "Step 1 B" in the first post of this thread. It explains how to move WSL to a different drive.
[SuperR Kitchen] Xannytech:
Hi SuperR,

i have many project folders in my Win10 Kitchen i can move them to the new wsl kitchen folder or i have to restart them from scratch?

I'm asking because i have my kitchen active on win10 and if i reset my PC auth i cannot go back.
[SuperR Kitchen] SuperR.:
There may be some issues copying kitchen projects over from Windows to WSL. The file permissions and symlinks are handled differently and will likely cause a problem when building img files. Additionally, Windows does not handle case sensitive files in the same directory (file.txt vs FILE.txt) so the Windows kitchen renames these files for storage.

Some good news, normally the native Windows kitchen and WSL kitchen can both be run on the same PC. Try it before you reset your PC auth. If you have authorization issues, message me privately and we can get it sorted out :)
[SuperR Kitchen] Xannytech:
Thanks i'll PM you shortly ;)
[SuperR Kitchen] SuperR.:
I put together a bash script to help with the Windows to WSL migration.

You will need to modify the first variable in the script, "win_kitchen_dir", to add the path to your Windows kitchen. The example in the script will show you how Windows C:\ drive should be used as a path in WSL.

After this, you should put the script in the fully installed WSL main kitchen directory and run it from there:

cd /home/username/Kitchen
./migrate.sh

Basically it copies img files and META-INF directories from all Windows projects into WSL projects, and unpacks all img files using the kitchen CLI.

There are some helpful comments in the script as well in case you intend on expanding it.

I hope it helps :)
[SuperR Kitchen] agabey_42:
Hello. I installed wsl2 ubuntu. I'm running ubuntu. explorer.exe . works fine as root. The explorer opens and I copied the kitchen.zip file here. I opened the zip file. When I try to run the application it gives an error.

The kitchen should not be run as root

Press "q" to Quit, or "r" to Restart

but I switch to the user I created. but explorer.exe . doesn't work.

explorer.exe: command not found

Could you please help me? How can I run the explorer.exe . command? what should I do?
[SuperR Kitchen] SuperR.:
This is really a question for Microsoft. However, I believe your problem is that you are running Windows as Administrator.
[SuperR Kitchen] spartan197089@gmail.com:
Thank you sir,is a great his support and help.. but for me is better to do it directly from ubuntu...is more easy..😂😂😂😂😂 God bless you stay safe and vigilant SF
[SuperR Kitchen] agabey_42:
Yes. I tried it with user administrator. It worked smoothly. but windows user account has administrator privileges. but the explorer.exe . command does not work in wsl.

It is interesting that the local account with administrator privilege does not run commands in wsl. I'm looking for a solution to this situation. I am waiting for help from friends who have suggestions.
[SuperR Kitchen] agabey_42:
I am having trouble with commands with ubuntu 20.04 LTS. Other than ubuntu 20.04 LTS, which linux would you recommend?
[SuperR Kitchen] agabey_42:
I installed ubuntu and not ubuntu-20.04 LTS and the problem was resolved.
[SuperR Kitchen] agabey_42:
What compression level should I choose when creating a new.dat.br file? Which is the most suitable option?
[SuperR Kitchen] spartan197089@gmail.com:
Open the kitchen using it::: ./superr
[SuperR Kitchen] agabey_42:
hi friends. The size of the virtual disk created by wsl2 becomes very large over time. What should I do to reduce the size of the virtual disk?
[SuperR Kitchen] SuperR.:
The first post in this thread has "STEP 1 B (Optional)" which shows you how to move your WSL disk to another drive. This will also reclaim disk space on your WSL2 drive.

See this for additional options.
[SuperR Kitchen] agabey_42:
Thank you very much for your reply. When I move the wsl2 disk to another drive, administrator and command errors occur. For example, the command explorer.exe . cannot be executed.
[SuperR Kitchen] agabey_42:
The diskpart method was successful. vhdx disk size reduced successfully.
[SuperR Kitchen] Tulsadiver:
I installed a SSD on my laptop and had to redo everything. Now I have done something stupid when installing ubuntu. It will only open as root. Do you know where I went wrong or know how I can fix it?
[SuperR Kitchen] SuperR.:
I am not completely sure, but I believe you are running Windows as Administrator and maybe this makes Ubuntu run as root. See this post on how to change users in WSL.
[SuperR Kitchen] Tulsadiver:
I'm not sure what I did but I uninstalled 20.04 and installed 18.04 and it works. I appreciate your response, sir.
[SuperR Kitchen] spartan197089@gmail.com:
Sir i can use THis script on Ubuntu?
[SuperR Kitchen] spartan197089@gmail.com:
Sir i can use this scrip on o Ubuntu?
[SuperR Kitchen] spartan197089@gmail.com:
I have some troubles with files on windows,if I want to use this on ubuntu the product compiled don't working...all files support and backup are created or generated on windows...