yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] tecknight:
Actually, LG Bridge only requires that you boot into Download Mode, while connecting your phone to an internet connected PC. Download mode is part of the bootloader, so if you are seeing anything display on your screen, you should be able to get into Download mode.

I had a similar problem about 2 weeks ago.

1. Launch LG Bridge on your PC.

2. Turn OFF your Phone

3. Connect one end of the USB cable to your phone

4. Press and hold Volume + on the phone. Connect the other end of USB cable to your PC while still pressing Vol +.

5. Download Mode should appear, and then change to Firmware Update

6. LG Bridge should now detect your phone and give you an option to update the firmware. It automatically will download the latest available firmware for your model. Once it restores your phone, you will have to re-root your phone, of course.
[Miscellaneous Android Development] tecknight:
Latest X210MA KDZ Released June 12th 2018

In case you have an Aristo 2 X210MA model and you wanted to update to the latest LG image using LGUP, here is rev 10i, released today (June 12, 2018) and the appropriate DLL to use with LGUP

X210MA10i_00_MPCS_US_OP_0601.kdz

https://drive.google.com/open?id=1WXsM1L1ue3yRGHOC1ajA3BIjNFyEEVK2

Common DLL for LGUP

https://drive.google.com/open?id=1fBQ7l3ITrx02kjOgxCmrOr8zZXMKGyYq

If you choose to use the DLL, copy it to:

C:\Program Files (x86)\LG Electronics\LGUP\model\common, replacing the old file

If you have no common folder within the model folder, create it and place the DLL into the folder.
[Miscellaneous Android Development] czarsuperstar@gmail.com:
I try lgup and I keep getting a full error. I am trying to find the LG aristo 2 dll file but no luck.
[Miscellaneous Android Development] tecknight:
I used the DLL file and the KDZ file from my post and I successfully upgraded to 10i firmware.

Did you download the DLL and copy it to:

C:\Program Files (x86)\LG Electronics\LGUP\model\common before launching LGUP ?

Also, did you select REFURBISH in LGUP ?

If you are using the DLL and copied it to the correct folder, I would recommend trying LG Bridge.
[Miscellaneous Android Development] czarsuperstar@gmail.com:
I will let you know. I am working on it now. My son messed up his phone and his mom forgot the email info so I am trying to bypass the frp but no luck
[Miscellaneous Android Development] czarsuperstar@gmail.com:
This is the error
[Miscellaneous Android Development] tecknight:
That's another thing I noticed. Before I upgraded to this firmware, my google account was on the phone. After I upgraded, my account was not on the phone, but FRP was not activated. I was able to add and google account I chose or none at all.

That's what makes me think it should essentially eliminate any existing FRP. I have seen this with several KDZ files on other phones as well.

---------- Post added at 10:32 AM ---------- Previous post was at 10:29 AM ----------

That error means you need to download this file:

https://drive.google.com/open?id=1fBQ7l3ITrx02kjOgxCmrOr8zZXMKGyYq

and place it in this folder:

C:\Program Files (x86)\LG Electronics\LGUP\model\common

If you do not have a folder named common in the model folder, then create it and place the LGUP_common.DLL into the folder.

Then run LGUP again.
[Miscellaneous Android Development] czarsuperstar@gmail.com:
I did put it in the folder. That's the file it's not recognizing.
[Miscellaneous Android Development] tecknight:
I just tried LGUP on my PC.

With LGUP_common.DLL in folder:

With DLL removed from folder:

I'm now getting Not found when I click on the DLL download link.

This link works:

https://drive.google.com/open?id=1fBQ7l3ITrx02kjOgxCmrOr8zZXMKGyYq

Maybe the DLL somehow got corrupted. Try downloading from the link above ?
[Miscellaneous Android Development] czarsuperstar@gmail.com:
I was putting it in the wrong folder thank you very much.
[Miscellaneous Android Development] czarsuperstar@gmail.com:
It is still frp locked.
[Miscellaneous Android Development] TewSlo:
http://lgaristo.com/lg-aristo-google-account-frp-bypass-2017/
[Miscellaneous Android Development] :
hey everytime i reboot, it goes into TWRP...

can i still be able to flash it back into LG Aristo 2 with TWRP on the screen?
[Miscellaneous Android Development] tecknight:
That means your boot image is bad.

You can restore your phone to stock using this procedure, even with a bad boot image:

Restore your Aristo 2 to the latest factory firmware using LG Bridge
[Miscellaneous Android Development] :
okay man

yeah on fastboot i accidently destroyed all data with command

fastboot -w

---------- Post added at 02:03 AM ---------- Previous post was at 01:50 AM ----------

oh my goshhh you saved my life.

you developers are most certainly reliable!! <3

---------- Post added at 02:03 AM ---------- Previous post was at 02:03 AM ----------

oh my goshhh you saved my life.

you developers are most certainly reliable!! <3

---------- Post added at 02:03 AM ---------- Previous post was at 02:03 AM ----------

oh my goshhh you saved my life.

you developers are most certainly reliable!! <3
[Miscellaneous Android Development] tecknight:
New rooted boot image to eliminate encrypted partition issues

I have been doing some research into why my /data and/or /cache partitions were suddenly not mounting in TWRP and why my Magisk was not retaining my setting when I unchecked Preserve Force Encryption.

I found out what was actually causing the problem and I was able to modify a Magisk rooted boot image in a way that should eliminate the possibility of an encrypted partition at all, once the image is flashed.

The problems were caused by the fstab.cv1 file in the stock boot image. The stock boot image used the forceencrypt option in the mounting of the userdata partition. That meant that any time the phone booted, if the /data partition was not already encrypted, it would generate an encryption key for it and encrypt it. If you would like to see the details, click to show them:

Stock fstab.cv1:

/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,discard,noatime,noauto_da_alloc,errors=continue wait,check,forceencrypt=/dev/block/bootdevice/by-name/encrypt

/devices/soc/7864900.sdhci/mmc_host* auto auto nosuid,nodev wait,encryptable=/dev/block/bootdevice/by-name/encrypt,voldmanaged=external_SD:auto

After no_verity_opt_encrypt script (TWRP)

/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,discard,noatime,noauto_da_alloc,errors=continue wait,check,encryptable=/dev/block/bootdevice/by-name/encrypt

/devices/soc/7864900.sdhci/mmc_host* auto auto nosuid,nodev wait,encryptable=/dev/block/bootdevice/by-name/encrypt,voldmanaged=external_SD:auto

within RB_M16_EVD.img (my modified image):

/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,discard,noatime,noauto_da_alloc,errors=continue wait,check

/devices/soc/7864900.sdhci/mmc_host* auto auto nosuid,nodev wait,voldmanaged=external_SD:auto

Magisk 16.0 patched (from Aristo 2 stock) boot image with:

KEEPVERITY=false,

KEEPFORCEENCRYPT=false &

modified fstab.cv1 to eliminate encryption:

Download RB_M16_EVD.img

Flash image from fastboot, TWRP or root shell

ie: dd if=RB_M16_EVD.img of=/dev/block/bootdevice/by-name/boot

The following procedure utilizes this new boot image while rooting an Aristo 2:

Root your LG Aristo 2, remove encryption/verity & install TWRP and Magisk
[Miscellaneous Android Development] TewSlo:
A lot of people tend to miss the part where it says X210[G] as in the STOCK software without update, if it's not working for you because you updated I can provide you with the appropriate rooted boot image.
[Miscellaneous Android Development] h720:
Hello,

I have a LG Aristo.

I was tried many times for install custom recovery like twrp.

But, always stuck at final step "sending 'recovery'...

This message shows forever.

I was tried many different twrp files but same result.

And reinstall LG driver and ADB driver too.

Also, change USB port and COM port too.

But no luck.

Thank you very much for your help.

*Sorry for bad English. :(

Command Log:

C:\adb>adb devices

List of devices attached

LGM210fe3eaa43 device

C:\adb>adb reboot bootloader

C:\adb>fastboot flash recovery recovery.img

target reported max download size of 262144000 bytes

sending 'recovery' (16376 KB)...
[Miscellaneous Android Development] TewSlo:
Excellent write-up, I'm going to further edit the post and put yours as the tutorial. Thank you!
[Miscellaneous Android Development] tecknight:
FYI,

I had a report of an issue from someone trying to root their Aristo 2--and I ended up doing some research and found out something important. What I found out is:

When fastboot wipes the userdata and cache partitions as a result of changing the flashing lock state.:

ie: fastboot flashing unlock or fastboot oem unlock from locked state

It formats both partitions as encrypted

This could be a real problem, so I changed my tutorial, adding 2 extra commands to the fastboot portion of the tutorial.

I added a

fastboot erase userdata

and

fastboot erase cache

these commands need to be run after the bootloader is unlocked and before rebooting out of fastboot.

However, since the procedure now explicitly erases the userdata and cache partitions and the boot image does not allow encryption, I was able to eliminate several steps from the TWRP portion of the tutorial.

All told, I was able to streamline the total process, eliminating 3 steps.

Here is the revised tutorial:

Root your LG Aristo 2, remove encryption/verity & install TWRP and Magisk
[Miscellaneous Android Development] :
You guys are awesome lol. Thanks :)
[Miscellaneous Android Development] tecknight:
New Tutorial

Install a specific .KDZ image to your Aristo 2 using LGUP
[Miscellaneous Android Development] tecknight:
New Tutorial:

Install LGUP Dual Mode(Dev/User) on your Windows PC

This is pretty cool. check out some of the Dev mode screens:
[Miscellaneous Android Development] ShadeFierce:
So, i have the LG Aristo 2 and i rooted using this method but never got to installing twrp. My phone died and i went to charge it but when it powered up it told me the phone needed to be locked so naturally i got on my laptop and began using adb to lock it back just to be greeted with and error message saying "Your device has failed safety check and will not boot." IT has been looping for the past hour and there is nothing i can do to my knowledge to revert the process. Please help.
[Miscellaneous Android Development] RandoSwift:
was doing this on my k8 2018 and got far enough and when I tried doing the power thing for the bootloader after flashing and it said it was like corrupted
[Miscellaneous Android Development] tecknight:
You have 3 options:

1. Re-Unlock the phone using fastboot. This will wipe your data, but you already wiped your data when you locked the phone. You will stay rooted this way.

1. Pull the battery.

2. Reinsert the battery.

3. Connect usb cable to PC only.

4. Hold Vol - on phone. While still holding Vol - connect cable to phone. Phone will go into bootloader mode (very small letters on screen). On PC, open command prompt in folder containing adb and fastboot binaries.

On PC type:

fastboot flashing unlock

then if you want to install twrp, download it here:

https://drive.google.com/file/d/1Gz5C9AZVilARyLIKm4bHy2BRWaFqkiMa/view?usp=drivesdk

and put file in same folder as fastboot.

then type:

fastboot flash recovery newtwrp.img

finally, type these 2 commands in fastboot to prevent your data and cache partitions from being encrypted:

fastboot erase userdata

and

fastboot erase cache

Now you are done. Type:

fastboot reboot

or

2. This will probably wipe your data, but is probably the easiest solution to your problem. You will lose root. Restore your phone to stock using LG Bridge:

Restore your Aristo 2 to the latest factory firmware using LG Bridge

or

3. This will not wipe your data, but you will lose root. Restore your boot partition only using LGUP developers mode.

Do this:

Install LGUP Dual Mode(Dev/User) on your Windows PC

Run SetDev to set LGUP to developers mode, then launch LGUP, select Partition DL, select the 10i KDZ file, click Start.

LGUP will display a big list of partitions. Check only the boot partition, then click OK
[Miscellaneous Android Development] RandoSwift:
Thx I managed to **** up my phone doing this rn
[Miscellaneous Android Development] tecknight:
It's nearly impossible to **** up your phone to where you can't restore it with LG Bridge.

Download mode is part of the bootloader and the Aristo 2 has all kinds of safeguards to protect the bootloader from being wiped. When you power up your phone, if anything appears on the screen, you should be able to get into download mode. If you can, you can restore your phone using LG Bridge.
[Miscellaneous Android Development] h00vey:
yo i need your help plz

yeah i totally missed that part i was able to install twrp but i cant get past the part of installation where it needs to update if you are available please lend me some of your time and give me advice.
[Miscellaneous Android Development] 7swild:
i am having so much trouble. ive been researched for 4 days. im stuck in trwp mode and no matter what i do i cant get back to my stock os and just boot the phone normally. please help!!!

---------- Post added at 06:12 AM ---------- Previous post was at 06:07 AM ----------

please help ive been researching for like 4 days. my aristo 2 is stuck in twrp mode no matter what i do. i tried to reboot the phone followed your steps perfectly but no matter what all i can do is navigate within twrp i cant get back to my stock rom and boot the phone regularly. PLEASE HELP!!!
[Miscellaneous Android Development] tecknight:
7swild,

Just do this:

Restore your LG phone to the latest factory firmware using LG Bridge
[Miscellaneous Android Development] 7swild:
what do i do if lg brigde wont recognize my phone?
[Miscellaneous Android Development] tecknight:
So your phone is going into "firmware update mode", but LG bridge does not see it ?

If so, download and install the LG usb drivers from here:

http://tool.cdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425
[Miscellaneous Android Development] 7swild:
i downloaded the drivers got the the firmware update screen and lg bridge still doesn't recognize that my phone is plugged. i swear i did every step right of the rooting process but obviously ive made mistakes. and now my aristo is a glorified twrp menu :( should i just give up lol
[Miscellaneous Android Development] tecknight:
OK, then try this.

If you can get into TWRP, download this:

https://xdaforums.com/attachment.php?attachmentid=4584167&stc=1&d=1535610699

open the .zip and extract the file rtboot.img.

copy the file rtboot.img to your phone either by MicroSD or use USB from windows if windows is seeing the phone.

Then in TWRP select Install then select Install Image, then browse to the rtboot.img file and select it, then where it says:

Select partition to flash image, select Boot.

Then swipe to confirm flash. When it's done, reboot system.

If that doesn't work then this definitely will:

Power down your phone. Plug a usb cable into your PC, but not your phone yet. Press and hold Vol - then connect the usb cable. Your phone will go into fastboot (bootloader) mode.

Now Go Here :

Root your LG Aristo 2 or 2+, remove encryption/verity & install TWRP and Magisk

and start on Step 8 and complete all the steps and you will have a rooted phone
[Miscellaneous Android Development] 7swild:
you my friend. are a SAINT. a thousand times THANKYOU :cool:
[Miscellaneous Android Development] tecknight:
Glad I could help.

Did just flashing the boot image fix it or did you have to follow the instructions from step 8 ?
[Miscellaneous Android Development] 7swild:
all i had to do was flash the boot.img

now i have to figure out how to use migisk so i can customize my notification bar and lock screen and this root will be completely worth it if you have any ideas please recommend some modules

and thank you once again
[Miscellaneous Android Development] tecknight:
Well, it sounds like you are talking about GravityBox(N), which is an Xposed Framework module.

GravityBox is a collection of many different tools. You can tweak the lock screen, status bar, nav bar, display, power menu, and so on. It is probably the definitive Xposed Framework module.

Xposed Framework can be installed on the Aristo 2, but it is very tricky to install.

As far as I know I am one of the only Aristo 2 owners to have Xposed Framework installed on their phone.

I have actually been working on a Tutorial for installing Xposed Framework on the Aristo 2.

If you want to install Xposed, you need to first confirm that Magisk is fully installed and happy.

Xposed is actually installed as a Magisk Module.

So you need to go to this Tutorial again:

Root your LG Aristo 2 or 2+, remove encryption/verity & install TWRP and Magisk

and start at Step 21 and assume that you have chosen Magisk 16.7 beta, which is the boot image you flashed.

That will confirm your Magisk is installed and working correctly.

I also recommend that you install this reboot app and grant it root privs:

Ad free root reboot app

This will allow you to easily reboot to TWRP or to the bootloader or download mode or whatever, but mostly for TWRP (Recovery)..

Magisk and Xposed Framework both should be installed using TWRP.

Once you have confirmed that your Magisk is installed and happy and you have a way to reboot to recovery, let me know and I will send you my alpha tutorial for installing Xposed on the Aristo 2
[Miscellaneous Android Development] HiGhDRo3o5:
Anyone been able to get snapchat working?
[Miscellaneous Android Development] tecknight:
OK guys, I have a new tutorial you may be interested in:

Install Xposed Framework on your Magisk rooted Aristo 2/2 +

It actually works quite well and installs quickly.
[Miscellaneous Android Development] tecknight:
Activate the Hidden Menu on your Aristo 2

All you have to do is bring up the dialer and type:

277634#*#

The menu has quite a few useful options from unlocking the APNs to activating your radio bands to enabling the diagnostic port
[Miscellaneous Android Development] tge101:
Would there be any reason not to have all the bands enabled?
[Miscellaneous Android Development] tecknight:
Well, based on this page:

https://www.phonearena.com/news/Che...on-T-Mobile-and-Sprint-use-in-the-USA_id77933

MetroPCS, who uses T-Mobiles network would have available bands:

2, 4, 12, 66, 71

If you enabled other bands, your phone might try to communicate using one of them and then timeout as it received no response, so it would probably be bad to enable a band your provider does not support.

I`m not sure what the default bands are on this phone, as it does not show them. If you check ANY band, then your selected bands override the default (whatever that is)

Update. I just selected the Engineering Mode on my phone.

It shows that I am currently on Band 4, just tap Next or Prev until you see LTE.
[Miscellaneous Android Development] NonStickAtom785:
So I found this thread useful. I would be willing to support the building of an Unofficial Lineage OS ROM. However we need to fix the little kinks and knots that prevent full access to root. As of now I can't really confirm that my phone is rooted because the SU Bianary is occupied. I'm gonna try flashing some of my init.d scripts to see if I can get any results.

PM if you have any more advice for our phone. It seems we need more support on it but for now I can at least start a devices tree on Git.hub.
[Miscellaneous Android Development] Rulo78:
Lg aristo 2

Hello can some one help me sharing the backed up rom of the lg aristo 2 ..i end up with not system img and i was hoping some one here would like to shared it with me please
[Miscellaneous Android Development] J4¢K§0Ω.$#!7:
Is there a way to do it without a computer on an lg aristo 2?
[Miscellaneous Android Development] tecknight:
No, you must have a PC. I guess technically you could do it with a rooted phone or tablet acting as the host for adb and fastboot and a weird cable between the two phones, but you really want a PC running Windows or Linux

---------- Post added at 11:42 PM ---------- Previous post was at 11:22 PM ----------

This is the Aristo 2 stock system image from the latest update (10k):

https://www.androidfilehost.com/?fid=11410932744536982085

You will have to have TWRP OR root or possibly fastboot to flash system in this form.

Here are the 2 possible methods to flash a raw system.img:

1. Boot into a rooted shell and flash the image using dd.

(the rooted shell can be either TWRP or your android system if you are rooted.)

A. boot into TWRP or Android system. Connect USB cable from PC to phone.

Extract system.img and place it into a folder accessible from phone.

From connected PC type:

adb shell

then possibly su if you are doing it from Android.

from # prompt, type:

dd if=/path.to/system.img of=/dev/block/bootdevice/by-name/system

then

sync

sync

or

2. Boot into bootloader (fastboot)

B. copy system.img to same folder where fastboot.exe is.

go to command prompt within that folder on connected PC.

Type this:

fastboot flashing unlock

(to make sure flashing is allowed)

then

fastboot flash system system.img
[Miscellaneous Android Development] camm44:
Hey I'm on here alotjust never post cuz I'm a terrible person. But I think aristo can install and run custom Rom and basicallyanything as long as the boot animation isn't changed I've booted all kinds of make shift things have like 50 modules in xposed have magisk and even have supersu 5 systemless with magisk tho there obviously is some functionality issues there. But no matter what I change the boot animation and fail . I've flashed like 5 rooms over each other the cv1s nethunter like every possible combo (it's funny cuz this is my calling service phone, literally doesn't work at least a third of day) I'm not a developer of any kinds have way too bad adhd which might be why I have like 3 post here and not 3000 but just saying if anyone has a way to test exactly what runs at beginning when it gets stuck on the animation part that would be cool.

Also I can share backup to guy earlier put on flash drivr if u have twrp
[Miscellaneous Android Development] lfc222222:
LM-X212TA Stock image

Can anyone share LM-X212TA .kdz file?

The image shared previously in this thread is for M210, it does not flash using LGUP on above device.

(also, LG Bridge does not connect despite attempts to fix connectivity, so stuck w/o stock image)
[Miscellaneous Android Development] camm44:
Hold on I'll upload to ny drive now

Actually I mean thats really specific. I have x210ma10k. It'll work if u have aristo 2 for either carrier plus or not

---------- Post added at 11:46 PM ---------- Previous post was at 11:14 PM ----------

https://drive.google.com/file/d/1pe1_PAh-OLSuMYdV_TDL41bJqd1csoDT/view?usp=drivesdk
[Miscellaneous Android Development] J4¢K§0Ω.$#!7:
Can you make a video of you doing this, i found it very comfusing to try to follow. Im not a developer, and im sure a lot of people arent developers they just want to use their phone to the fullest capasity. Seeing as king root, kingo root, twrp and many other things that could help you root that do not require a bunch of steps are not compatable with the lg aristo 2, i saw this thread it thought it was a life saver but its comfusing and i think it would be beneficial to make a video also there arent any videos on youtube of some one rooting an lg aristo 2 ( correct me if im wrong) so you will probably get a lot of views if you do.
[Miscellaneous Android Development] camm44:
Oh for!anyone who cares try this code in all lg tmbole phones *#546368#*---* dashes being ur phone model number here is 210. Way better than 277643#*#

Hey guy prior to me where are u confused at with root process I'll make a walk through if uts needed lol ive done it for this phone 30 times till I made backup