yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] BROKEN1981:
so i just wanted to say thank for for the very noobie step by step guide. im soooo use to odion and adb flash commands.

just 1 thing i had trouble with was trying to push magisk and twrp over. I rooted by pushing magisk over with otg but no twrp on recovery. then i saw it said it was on download mode. from dl mode i just flashed twrp to recovery.
[LG V20 Guides, News, & Discussion] kish9046:
So i assume you have both TWRP and root now?..... And can i ask which version r u in now....ARB0 or 1
[LG V20 Guides, News, & Discussion] BROKEN1981:
Abr1 yes I am rooted with twrp.

As I said, the commands to push magisk and twrp to sd did not work. I used usb otg in twrp to push magisk, but forgot to put twrp to flash as well.

I forgot that twrp had replaced download mode, so I was going a bit nuts trying to figure out how to get twrp to recovery. Lolol

Now I'm on latest update with rtcd removed thanks to the op who hosted it on xda as a flashable zip.
[LG V20 Guides, News, & Discussion] tenkensword:
Hi guys, sadly I'm at the last step and got stuck.

I did everything, and managed to get to the part where you WIPE de data using TWRP, Mount, but when I go and type

adb push Magisk...

adb push h18...

I get an error saying that Cannot stat : No such file or directory

I'm unable to figure out what I'm doing wrong

Any idea?
[LG V20 Guides, News, & Discussion] kish9046:
As you are in twrp, you can manually flash magisk zip and twrp recovery.....
[LG V20 Guides, News, & Discussion] BROKEN1981:
Download magisk and twrp here https://androidfilehost.com/?fid=746010030569963731

While you are in the last step, in mount, select otg USB. You can push it to SD card and manual flash.

If you booted to system without magisk and flashing twrp, power off the phone, hold volume up, put in the USB, connect to PC. This will put you in twrp since download mode is replaced by twrp.

Now you can flash both files.
[LG V20 Guides, News, & Discussion] oldgamer31:
My phone is full stock, just got it two days ago, so I wouldn't think it stayed rooted after a full format.

As for alpha rom 7.0, can't find it anywhere.
[LG V20 Guides, News, & Discussion] Libraplum:
Scorpio76r's method worked for me . just don't forget to wipe both caches before reboot. And make sure you are on the latest twrp by Phoenix. Other twrps have not worked for me using this method. I think it is 3.2.1. Hope this works for you.
[LG V20 Guides, News, & Discussion] scorpio76r:
what is your current software version that you are running right now?
[LG V20 Guides, News, & Discussion] oldgamer31:
10p. used to be 10r.
[LG V20 Guides, News, & Discussion] scorpio76r:
You just have to follow kish's thread here or runningnak3d thread and, you should be good to go with root and, all. Just back up data or start from scratch like I did Both threads are very accurate and, close to zero chance of bricking your H918.
[LG V20 Guides, News, & Discussion] oldgamer31:
I see now that they discontinued the alpha rom and it's nowhere to be found, is there any way I can get that? or that's impossible?

also I'll go to kish's thread and/or runningnak3d.
[LG V20 Guides, News, & Discussion] Libraplum:
And if you run into any difficulties like I did, use AutoPrime's Uppercut Tool and re- flash the 10p kdz file even though you are already on kdz 10p and follow this thread.
[LG V20 Guides, News, & Discussion] oldgamer31:
And one final question and I know it's in the thread if I find it, but me and google don't get along no matter how much I try: how do I root with magisk since it's the way to go? because I did lost root as soon as I formatted the phone.
[LG V20 Guides, News, & Discussion] scorpio76r:
download the magisk zip found here in Xda. The 16.0 will be the best option. Flash through twrp, double check in twrp to be sure that the system is mounted . Lastly I suggest that you wipe both caches before and, after flash and, you should be good. I was.
[LG V20 Guides, News, & Discussion] oldgamer31:
And that's all folks! I thank you all very much! now I'm going to sleep, good night everyone!
[LG V20 Guides, News, & Discussion] kish9046:
[MENTION=7200067]scorpio76r[/MENTION] have you found a solution to your mount system partition? just wanted to know about the progress....
[LG V20 Guides, News, & Discussion] kish9046:
You are welcome.... do let us know if you need any help further..... thanks scorpio and libra for fishing him out.... :cowboy:

Cheers
[LG V20 Guides, News, & Discussion] scorpio76r:
No, I haven't. I have tried everything suggested and, mentioned. I am just hoping that if someone else has this issue that they could share the solution. Thank you for the follow up.
[LG V20 Guides, News, & Discussion] kish9046:
Hope you find a solution for this soon.... when you find one, do post here..... have a great day scorp....

Cheers
[LG V20 Guides, News, & Discussion] runningnak3d:
Have you tried formatting your cache partition from adb?

While in TWRP:

adb shell

umount /cache

mkfs.ext4 /dev/block/bootdevice/by-name/cache

mount /cache

It that throws an error, paste it here.

-- Brian
[LG V20 Guides, News, & Discussion] scorpio76r:
Thanks Brian, that is something that I haven't tried yet. I have managed to back nanoids up to external sd card only. Can't mount internal storage. I will try this as soon as I get a chance to. I appreciate you and everyone's help.
[LG V20 Guides, News, & Discussion] runningnak3d:
Cache doesn't get formated when you do a wipe, and TWRP only offers a wipe.

I am guessing you had a typo the first time you rooted, and extra data was copied into the cache partition and made it invalid.

Let me know how it goes.

Also, if you don't have access to a PC, you can run those commands from the terminal in TWRP. Advanced -> Terminal

-- Brian
[LG V20 Guides, News, & Discussion] tswb:
i just woundering if u guys can enable otg usb or need to enable it...
[LG V20 Guides, News, & Discussion] FeNo2:
Git repository

[MENTION=3167089]runningnak3d[/MENTION]

I completely understand you abandoning Github, but I'm about to receive a V20 tomorrow and I've read thru this whole thread and didn't see anything about an alternate repository to pull from. I have a bunch of my own repositories there but just haven't had time to deal with it yet.

Did I miss something somewhere? Any suggestions/info?

Really appreciate all the time and effort you've spent to help everyone here!
[LG V20 Guides, News, & Discussion] Libraplum:
Edit
[LG V20 Guides, News, & Discussion] Libraplum:
Hello guys. When I tried to format cache partition from adb via Twrp terminal.

i got the following error after typing adb shell:

sh: adb: not found

can someone help me out id really appreciate it... Thanks again guys.
[LG V20 Guides, News, & Discussion] scorpio76r:
I'm currently looking into this and, hopefully can come up with a solution soon.
[LG V20 Guides, News, & Discussion] scorpio76r:
Hello, this is what I got when I went into twrp and,
[LG V20 Guides, News, & Discussion] runningnak3d:
Terminal IS the shell. You only type adb shell if you are trying to get to the shell from your PC. You are really new to Android aren't ya?

-- Brian
[LG V20 Guides, News, & Discussion] scorpio76r:
Not new exactly, I am at work and received that picture from Libraplum76 who did that because she has the same issue. I did enter it correctly myself while at work via twrp and, received the same error, which is not found
[LG V20 Guides, News, & Discussion] runningnak3d:
I moved to GitLab.

-- Brian

---------- Post added at 04:59 AM ---------- Previous post was at 04:44 AM ----------

You must have adb installed on your PC. It doesn't come with Windows. If you are trying from TWRP terminal, and typing the commands on your phone, then skip the adb shell command.

-- Brian
[LG V20 Guides, News, & Discussion] scorpio76r:
from the phone when I type unmount/cache it's saying giving that error in the picture. It's like the cache doesn't exist. As far as the pc goes adb is installed and, I just checked in with her and, she's getting the same errors as well. Thanks for your help but, I'm feeling that this is probably unfixable. Going all the way back to stock then using your root method doesn't even fix it.
[LG V20 Guides, News, & Discussion] runningnak3d:
It is umount not unmount, and there is a space between umount and /cache

-- Brian
[LG V20 Guides, News, & Discussion] scorpio76r:
I will try this when I get off work later this morning. Thanks again
[LG V20 Guides, News, & Discussion] runningnak3d:
Now with "screenshot goodness".... I am doing this from my PC. If you are going to do it from the terminal on TWRP, IGNORE any commands that start with adb. adb stands for Android Debug Bridge. It is a utility that allows you to get to a shell on your phone from your PC so that you don't have to sit there and type on a tiny keyboard (and a lot of other things). For the purpose of this, we only care about the shell, and you can also get to that from Advanced -> Terminal in TWRP itself.

Remember, only type adb commands if you are ON A PC with adb installed. Otherwise ignore those commands and type the rest of the commands in terminal on TWRP.

From Terminal type the commands AFTER the # sign. I will highlight in RED BOLD what needs to be typed. Anything else is just output! If you mess up, you will just get an error.

[B]adb reboot recovery[/B]
[B]adb shell[/B]
~ # [COLOR="red"][B]df -h[/B][/COLOR]
Filesystem Size Used Available Use% Mounted on
tmpfs 1.8G 156.0K 1.8G 0% /dev
tmpfs 1.8G 24.0K 1.8G 0% /tmp
/dev/block/sda20 51.3G 16.6G 34.6G 32% /data
/dev/block/sda20 51.3G 16.6G 34.6G 32% /sdcard
/dev/block/sda19 1.2G 2.0M 1.1G 0% /cache
~ #

Notice both /cache and /data are mounted. First we are going to deal with /data/dalvik-cache. If the output that you get differs, then stop, and let me know what you get by posting a screenshot, or copy / paste like I am doing....

~ # [COLOR="red"][B]cd /data/dalvik-cache/[/B][/COLOR]
/data/dalvik-cache # [COLOR="red"][B]ls[/B][/COLOR]
arm arm64
/data/dalvik-cache # [COLOR="red"][B]rm -rf arm/* arm64/*[/B][/COLOR]

That would take care of Dalvik.

Now for cache:

/data/dalvik-cache # [COLOR="red"][B]cd[/B][/COLOR]
~ # [COLOR="red"][B]umount /cache[/B][/COLOR]
~ # [COLOR="red"][B]mkfs.ext2 /dev/block/bootdevice/by-name/cache[/B][/COLOR]
~ # [COLOR="red"][B]mount /cache[/B][/COLOR]

If you can complete all of those steps, then your Dalvik cache and your cache partition will be back to a sane state.

If you get an error any where along the way, check for SPACING and SPELLING. If you are sure you have typed it correctly, post the error.

-- Brian
[LG V20 Guides, News, & Discussion] Libraplum:
[MENTION=3167089]runningnak3d[/MENTION] thank you for providing these steps. I've followed every step to the T and afterwards I rebooted my phone. But when I went into twrp and check off the Dalvick cache and Internal Storage then fix repair, I receive Invalid Partition Selection error. Also I'm unable to mount internal storage.
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=8669827]Libraplum76[/MENTION] Have you been able to use your phone at all? If you have any data on your phone back it up.

Open terminal in TWRP and type:

umount /data

umount /sdcard

You may get errors when you type those -- that is fine if they are already unmounted, then:

mkfs.ext2 /dev/block/bootdevice/by-name/userdata

That WILL wipe your phone. If you get an error, I need to see a screen shot of the error.

-- Brian
[LG V20 Guides, News, & Discussion] Libraplum:
[MENTION=3167089]runningnak3d[/MENTION]...Thank you I will try this when I get home. Yes I am able to use my phone, just trying to resolve this problem. Quick question. Will this help with mounting system? will this also solve my mount internal storage problem?
[LG V20 Guides, News, & Discussion] runningnak3d:
It will help with internal storage, what is your problem mounting system?

-- Brian
[LG V20 Guides, News, & Discussion] scorpio76r:
[MENTION=3167089]runningnak3d[/MENTION], your entries that you gave run smoothly, no problems there. I have to give it to you, your deep and, are going to be a recognized developer quickly. My problem seems to be very deep. Even after everything no errors, multiple tries... The delvic cache and internal kick back a red "invalid partition selection" in twrp when I hit the repair/fix button in there. I also have to mount system whenever I go in too. Lastly, I can't mount internal storage. I think that something got broken on plums device and mine. It cool because I'm still able to back up and flash a nanoid. No big deal.
[LG V20 Guides, News, & Discussion] runningnak3d:
[MENTION=7200067]scorpio76r[/MENTION] I don't suppose you live in Florida? I would love to see your phone and figure out what is wrong, but I am out of ideas without being able to try some things I would really not risk having you try.

I will keep thinking on this though.

-- Brian

---------- Post added at 08:32 PM ---------- Previous post was at 08:32 PM ----------

[/COLOR [MENTION=7200067]scorpio76r[/MENTION] I don't suppose you live in Florida? I would love to see your phone and figure out what is wrong, but I am out of ideas without being able to try some things I would really not risk having you try.

I will keep thinking on this though.

-- Brian
[LG V20 Guides, News, & Discussion] scorpio76r:
Thank you. I appreciate. I'm in Pennsylvania sorry to say.
[LG V20 Guides, News, & Discussion] FeNo2:
Brian, thanks again for all your effort. After I get paid next week I'll be sending you a donation.

A couple quick questions for anyone that knows. I was able to successfully get this method to work, but....

I'm on 10q and there's a pending OTA update, is it safe to allow it to install?

I also get this screen everytime I boot, is there any way to bypass it/make it go away?

[IMG="Screenshot"]https://s22.postimg.cc/n8ed05f75/IMG_20180725_181608.jpg[/IMG]
[LG V20 Guides, News, & Discussion] cnjax:
You shouldn't take an Ota as it will cause a bootloop. And there's no way to get rid of the screen other than re-lock the bootloader and go back to stock
[LG V20 Guides, News, & Discussion] BROKEN1981:
https://xdaforums.com/v20/development/rom-h91810q-stock-rom-twrp-flashable-zip-t3681312

Flash 10U

never lock your bootloader
[LG V20 Guides, News, & Discussion] scorpio76r:
Hello guys, I just wanted to ask a question. Can native call record be enabled?
[LG V20 Guides, News, & Discussion] runningnak3d:
Maybe .. I haven't tried on the H918 .. only the H910, but go the easy route and install ACR from the play store.
[LG V20 Guides, News, & Discussion] scorpio76r:
Thanks for quick response. Native is better, I will just be patient. I'm not a fan of any of the play store recording apps.
[LG V20 Guides, News, & Discussion] kish9046:
Hi Brian... hope all are well..off topic.

. i believe you are working with oreo

for our device lately... Is there any possibility of continuing root with h918 oreo?.... i know its way too early to ask that... but was just eager to know about your progress so far...Thank you
[LG V20 Guides, News, & Discussion] runningnak3d:
All models will be able to KEEP root. The H918 will be the easiest, since we just flash all firmware except recovery and laf and can even use the stock Oreo kernel till we get a custom Oreo kernel.

However, we can't *easily* use Oreo from any other model, so we have to wait till our build drops.

As for rooting an H918 that is ON Oreo (as in someone upgrades before rooting, or buys a phone that was upgraded), I won't know till I have the KDZ in my hands.

-- Brian
[LG V20 Guides, News, & Discussion] Dontblameda1:
Hello, thank you very much for this step by step guide. I got all the way until step2.sh and then the encryption thing came so i followed others advice and did the wipe in the twrp menu and then tried again. No encryption thingy came up. I have one problem though. I Can't install apps from the play store i get a error code 963 and I cant even install apks. When i try to install an apk it says app not installed. I really don't know what to do and i'm a noob when it comes to android. If you can help me out i'd really appreciate it! Thank you so Much!
[LG V20 Guides, News, & Discussion] kish9046:
Try clearing playstore app data and cache.... if it doesn't work uninstall updates of your playstore and try again...
[LG V20 Guides, News, & Discussion] Dontblameda1:
Hello, I did clear it, also cleared google play services as well. I would try to uninstall updates but the odd thing is that I don't see the option. Only Force stop and Disable. Hopefully I can solve this soon, if not whats the quickest option to go back to stock and original versions just in case I can't solve it?

also when i did step two I got a message on the terminal saying

"Making sure recovery sticks

rm: can't remove '/system/recovery-from-boot.p': No such file or directory

"
[LG V20 Guides, News, & Discussion] scorpio76r:
Try flashing the alpha rom.
[LG V20 Guides, News, & Discussion] Dontblameda1:
damn. i shouldn't have done this being a noob. I don't even know how to do that.
[LG V20 Guides, News, & Discussion] kish9046:
I too use debloated latest stock based alpha rom and haven't faced any issues so far....
[LG V20 Guides, News, & Discussion] Dontblameda1:
may you help me with doing this? I would really appreciate it. I'm super stuck right now.
[LG V20 Guides, News, & Discussion] kish9046:
Its completely okay to ask nooby questions here...

just follow this link to install alpha rom...

https://xdaforums.com/v20/development/rom-vs995-alpha-rom-v1-1-t3709727

its just like flashing any other custom rom... i suggest you select mk2000 kernel when flashing....

download h918 rom zip... full format within twrp... flash alpha rom... while flashing within twrp, the rom would open an aroma installer where you can customize the rom as per your needs... just follow the procedure mentioned in the rom thread correctly and make sure you flash h918 model
[LG V20 Guides, News, & Discussion] scorpio76r:
I agree with Kish's suggestion of the mk 2000 kernel.
[LG V20 Guides, News, & Discussion] Dontblameda1:
the thing is I don't know how to flash things. where do i start the flash process? previously I just used step2.sh so I didnt have to flash.

If i did want to go back to everything stock how would it be done?
[LG V20 Guides, News, & Discussion] scorpio76r:
inbox me your contact info and, I will call you and I will help you.
[LG V20 Guides, News, & Discussion] Dontblameda1:
done. thank you so much
[LG V20 Guides, News, & Discussion] cnjax:
If you don't know what you're doing you should stop modifying things on your phone and start reading and learning stuff first, this is how you end up with a brick. Instead you come here expecting to be spoon ? fed
[LG V20 Guides, News, & Discussion] scorpio76r:
He's good to go now, I just got off the phone with him. He basically did a wipe and, didn't have a rom. I instructed him to download the alpha rom via another device to an external micro SD card and, install that way. I helped him best as I could and, I'm sure that he may report back his success.
[LG V20 Guides, News, & Discussion] kish9046:
Thanks for helping him out scorp... :cowboy:
[LG V20 Guides, News, & Discussion] scorpio76r:
No problem and, thank you for all of your help.
[LG V20 Guides, News, & Discussion] scorpio76r:
[MENTION=9336863]Dontblameda1[/MENTION],here you go bro. https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445https://androidfilehost.com/?fid=746163614322262727

---------- Post added at 03:20 PM ---------- Previous post was at 02:51 PM ----------

https://androidfilehost.com/?fid=746163614322262727, this is the twrp that I'm currently running.
[LG V20 Guides, News, & Discussion] Dontblameda1:
downloaded it, give me a call when you can.
[LG V20 Guides, News, & Discussion] Dontblameda1:
[MENTION=7941717]kish9046[/MENTION] [MENTION=7200067]scorpio76r[/MENTION] okay guys, so after getting off the phone with scorpio of me trying to flash an older version of twrp because others had a problem with installing alpha with my version of twrp. It did not let me flash an older version of twrp. although alpha was installing fine until the end, i needed a different version of twrp. . :crying: so now when I boot to recovery it "No OS installed. Are you sure you wish to reboot?" The good thing is I am still in TWRP so I think the next steps will be to install a system.img file to get it back?
[LG V20 Guides, News, & Discussion] kish9046:
you should flash a custom rom before and root before booting into system... What twrp version u have currently?...
[LG V20 Guides, News, & Discussion] kish9046:
dont boot to system yet....if you still have the alpha zip... format again within twrp... flash the rom zip... root using magisk and flash the latest twrp recovery by phoenix and boot.... then check if you are able to mount system in twrp

.. if you are able boot successfully i would stongly suggest you take a nandroid backup within twrp and save it in a otg pendrive or a sd card...
[LG V20 Guides, News, & Discussion] Dontblameda1:
3.2.1-3 .... I tried to rollback to 3.2.1, it said image flash successful, but when i reboot to recovery it doesn't change. it stays on 3.2.1-3.

should i try to flash this rom since no OS? https://xdaforums.com/v20/development/h918-stock-deodex-debloat-t3499423

---------- Post added at 06:47 PM ---------- Previous post was at 06:42 PM ----------

The alpha flash is not working. at the end it says

-will be set to permissive on boot

set_perm: some changes failed

On the alpha thread one person said it was because of the twrp version. i tried alpha 2.9 and the new 3.0
[LG V20 Guides, News, & Discussion] kish9046:
try flashing this... and REMEMBER to root before booting

https://xdaforums.com/v20/development/rom-h91810q-stock-rom-twrp-flashable-zip-t3681312
[LG V20 Guides, News, & Discussion] Dontblameda1:
I tried it im getting a zip file is corrupt on the ROM when I try to install it. I will try to re download the zip and see if that is the problem.
[LG V20 Guides, News, & Discussion] kish9046:
try downloading in a otg pen drive and flash in twrp
[LG V20 Guides, News, & Discussion] Dontblameda1:
So I used a different kernel for the alpha ROM rather than the Mk2k and it worked. Installed Magisk and everything and its now booted up!

what steps should I take now that im booted? should I go back into TWRP and back it up?

[MENTION=7200067]scorpio76r[/MENTION]
[LG V20 Guides, News, & Discussion] BROKEN1981:
Backing up is always a good thing.
[LG V20 Guides, News, & Discussion] kish9046:
Good to hear that you have your phone up and running now...

Yes fist take a twrp backup and also check post #2 for further tweaks...
[LG V20 Guides, News, & Discussion] BROKEN1981:
Heheh you quoted the wrong guy
[LG V20 Guides, News, & Discussion] kish9046:
My bad... :D [MENTION=9336863]Dontblameda1[/MENTION]
[LG V20 Guides, News, & Discussion] Dontblameda1:
will do. thank u! I ran into ap roblem though. I rebooted the phone and it was booting up like normal. the alpha omega screen booting up and everything. Then once the phone is about to actually start up and go to the lock screen. the screen just stays black. The screen is lit though, so the phone is on. Do you think I should just wait and see if it works? I took out the battery and tried a couple of times too. Or do you think I should re flash alpha omega?

Edit: Nvm I had to leave it waiting for a while to boot because I installed xposed through magisk and it needed some time for the boot.