yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Pain Free IT:
Thank you. I got it flashed. It is still stuck on the screen where the LG logo rolls to a stop.
[Miscellaneous Android Development] NonStickAtom785:
Refer to this quote. I'm going to do the same thing. I got one of the rom's to boot up. However it was the a2p variant.

[url]https://xdaforums.com/showpost.php?p=78629496&postcount=225[/URL]

You could also try wiping the system partition and data. Then installing it fresh again.
[Miscellaneous Android Development] Pain Free IT:
So I tried that, unfortunately it's still stuck after the rolling animation comes to a stop.

I deleted the 'dr' directory from /external_sd/, and re-ran disrec.zip from before. I'm assuming it's the same version, and program as the one you linked to, but the link is dead last I checked. I attached the latest copy of the 'dr' directory here.
[Miscellaneous Android Development] NonStickAtom785:
Okay it's saying mixed,errors which means there's an issue with the partition. I wrote a method for a possible workaround on another thread. It has extra info on it such as the adb and fastboot fixes but skip down to the part about installing Oreo. Also install the 10K .kdz and 10K TWRP first. This might help the system work completely.

https://xdaforums.com/showpost.php?p=78647811&postcount=244
[Miscellaneous Android Development] Pain Free IT:
Thanks, I didn't get a chance to try this.

So after loading TecsA2rootedOreoROMV5.zip with the TWRP (TWRP4cv1WithOreoKernel.img) the phone was able to be detected by LG Bridge, and LGUP. LGUP showed it as X212TA10f. LG Bridge was able to push the latest update to it. So the busted phone is now working fine.

Since the broken one is working, I took the other phone (previously no issues), and updated it to the cv1 TWRP (above), and then used TWRP to install TecsA2rootedOreoROMV5.zip, the same as the previously busted phone. It exhibited the same behavior; custom boot animating (LG K8), then the LG logo rolling to a stop, and not going past that, so I ran disrec.zip on it, and attached is its logs, in case they help you guys.

I am updating the currently busted phone with LG Bridge, so I'm good to go. Thanks for you help, guys!
[Miscellaneous Android Development] NonStickAtom785:
Have you tried any of the other ROM's yet? I got one of the ROM's to boot up and then I was able to install the device specific one that wasn't previously booting up. I guess it corrected the device but I havn't been able to get the error again. Even after reverting back to the 10K TWRP.

My suggestion: Download all the version of Tec'sRootedOreo ROM, including the Aristo 2 and 2+. Try installing every single varient of the ROM until one boots up. But don't delete the system everytime. Dirty flash them individually on top of each other.
[Miscellaneous Android Development] krzee:
fastboot oem unlock
...
(bootloader) Device already : unlocked!
OKAY [ 0.002s]
finished. total time: 0.003s

fastboot flash recovery recovery.img
target reported max download size of 262144000 bytes
sending 'recovery' (17128 KB)...
OKAY [ 0.544s]
writing 'recovery'...
FAILED (remote: unknown command)
finished. total time: 0.569s

any ideas how to get twrp to flash to this aristo2 with unlocked bootloader? the normal commands dont seem to want to work
[Miscellaneous Android Development] armandop_:
Can you send me a picture of twrp when it asks for a password?
[Miscellaneous Android Development] tge101:
I'll have to wait until I'm home. I can't figure out how to screenshot in TWRP.
[Miscellaneous Android Development] armandop_:
Usually you can just click cancel when it asks for the password. You can then flash anything to system
[Miscellaneous Android Development] tge101:
Nothing is mounted. If I try to navigate, all the folders are empty.
[Miscellaneous Android Development] armandop_:
Sounds like your phone is encrypted. You can switch to sdcard and install zips from there if you don't want to wipe /data
[Miscellaneous Android Development] tge101:
I never set it up to be.
[Miscellaneous Android Development] TewSlo:
It is set to be encrypted from stock, what I recommend doing is using titanium backup and backing up all of your user data and applications. Then decrypt the phone following the instructions and we flash recovery and boot. Then you should be all set
[Miscellaneous Android Development] tge101:
But how am I decrypting it without the password?
[Miscellaneous Android Development] TewSlo:
You need to use TWRP and click Wipe>Format Data and type yes. Once you do that, hit back Reboot>Recovery.

Once that is done flash the decrypt zip and then the root_boot.img. Then your phone will be decrypted.
[Miscellaneous Android Development] tge101:
If you look back at the first comments in the thread, I did that the first time and it reverted now. I'm going to have to go back to stock to apply this update that won't go away anyways.
[Miscellaneous Android Development] TewSlo:
lgup/uppercut do not work, you will have to use lg bridge. You can also use lg firmware extractor to pull out all of the. Bin files and convert them to images if you so choose

---------- Post added at 09:52 PM ---------- Previous post was at 09:49 PM ----------

There must be some issue with what you are doing, the boot image is on the latest update, and in order to update LG software it has to be unmodified, if you go into software update mode it will say modified or unmodified. So you will have to use LG Bridge to recover a stock image and then update I didn't think it needed to be said to update the software before performing any of this
[Miscellaneous Android Development] IDontKnowMang:
FOR ANYONE THAT GOT CONFUSED AS I DID AND RAN INTO THE "ENCRYPTION UNSUCCESSFUL" SCREEN

if youre still stuck on that screen and cant boot the phone use LGUP to flash back to stock with a kdz file

what i had done originally is follow this thread to obtain root: https://xdaforums.com/android/development/lg-aristo-2-root-t3746425

this method will work 100% to obtain root.

to install twrp after you get root this is what you should do to avoid the encryption unsuccessful screen:

1. Make sure your bootloader is unlocked

2. Download twrp.img from below

3. Boot phone into fastboot mode using "adb reboot bootloader" without quotations

4. Flash using "fastboot flash recovery twrp.img" without quotations

now for step number 5 instead of taking out the battery and rebooting to recovery manually just type "fastboot reboot"

your phone will boot up normally and it will say "sd card mounted" you dont need to flash no verify or magisk because if you use the root method in the first link you will already have them both.

make sure that when your phone reboots after using fastboot to reboot you update magisk and uncheck the "preserve force encryption" option. your phone should now work normally with twrp installed
[Miscellaneous Android Development] IDontKnowMang:
if anyone is still following this thread im currently working on porting lineage os 15 to the aristo 2. if all goes well ill be making a thread tonight or tomorrow morning
[Miscellaneous Android Development] TewSlo:
I'll be sure to make a backup now and get my Aristo 2 ready for testing! Thank you for your efforts
[Miscellaneous Android Development] tge101:
Would LOS have WiFi calling and VoLTE?
[Miscellaneous Android Development] IDontKnowMang:
I'm still working on this, I'll let you guys know if you want to test when it's ready. I've been busy with work and haven't had a lot of time to work on it.
[Miscellaneous Android Development] IDontKnowMang:
Almost done guys sorry I work ALOT. I should have it up and running today and I'll get a flashable zip ready
[Miscellaneous Android Development] ToolBoyNIN:
Guinea Pig

I'd be willing to act as a guinea pig for that Lineage test build, but I work and need my phone during work. I AM off this coming Friday and Saturday (20th + 21st) and can test all day fri. + sat. I reeaallly would like a custom ROM for this lowly phone. Something basic to have a bit more memory and less useless apps and unneeded framework. Would really like xposed on here. If you have something ready by this weekend to test, I'm a willing candidate! Thanks for being the one to go through the trouble of building one for this phone, IDontKnowMang.
[Miscellaneous Android Development] teknoweanie:
It most likely wouldn't have volte or native wifi calling.
[Miscellaneous Android Development] tge101:
I didn't think so. That really sucks.
[Miscellaneous Android Development] biglou7778:
Please help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I have been trying for WEEKS to root my LG Aristo 2 on Metro PCS. I have read EVERY thread, post or whatever and still I get "FAILED (remote: unknown command)" I was able to unlock the phone. But now Im stuck. I'm so frustrated
[Miscellaneous Android Development] NonStickAtom785:
Downgrade your firmware to the LMX210MA.

https://lg-firmwares.com/lg-lmx210ma-firmwares/#tab=firmwares
[Miscellaneous Android Development] gragen:
what about X210MA20d with this software version

can downgrade?
[Miscellaneous Android Development] killerb255:
You can only downgrade with an X210MA10l or lower kdz file. X210MA20-anything is Oreo, which locks fastboot commands. You must downgrade to Nougat.

EDIT: Use X210MA10j or earlier if possible. 10k or 10l may cause screen shift shenanigans.
[Miscellaneous Android Development] killerb255:
Does this address the touchscreen issues involved with LG Aristo 2s with factory-installed 10k firmware?
[Miscellaneous Android Development] tecknight:
The ROM installation assumes a functional TWRP, but there are ways around it if you have the shifted screen issue, which is caused by a kernel incompatibility.

I don't know if this ROM would fix the issue, but if you were beta testing it for me, I could possibly fix your issue. I have more than half a dozen different TWRP images (using different kernels) that could fix your issue
[Miscellaneous Android Development] killerb255:
I've used NonStickAtom785's TWRP-3.2.3.0-cv1.img--which does NOT have the screen shift issue--to flash some of your ROMs as well as his, and all have had the screen shift issue.

Sure, I can beta test for you, since I have two LG Aristo 2s with "10k" version labels under the battery cover (which have the issue) as well as six Aristo 2s that have version labels ranging from "10d" to "10j" (these do not have the issue).
[Miscellaneous Android Development] IDontKnowMang:
I don't mind testing it for you. I know my aristo has root and functional twrp.
[Miscellaneous Android Development] tecknight:
Tecs Lightning ROM for Aristo 2 plus (T-Mobile)

Tecs Lightning ROM for Aristo 2 plus (T-Mobile)

Disclaimer:

This ROM should run really fast, since I basically made the same changes in creating this ROM that I made for the Aristo 2 Lightning ROM.

However, I don't own an Aristo 2 plus, so I have not been able to test this. I recommend you do a TWRP backup of boot and system images before installing this. That way you can do a quick TWRP restore in the event of any issues.

I would also greatly appreciate any feedback from anyone installing this. ROM.

Features of this ROM:

1. This ROM is based on Aristo 2 plus V20e Oreo firmware, the latest firmware available for the Aristo 2 plus.

2. Encryption has been disabled and will be eliminated if it exists on the target phone.

3. LG's resource hogging Root Checking Tool has been removed from the boot image and disabled in the system image.

4. The boot image has been rooted using the latest systemless Magisk release.

5. Numerous unneeded system and priveleged apps, which are normally not removable, have been removed, freeing up a great deal of space on the phone and significantly reducing processor overhead. This makes the phone run faster and respond more quickly.

6. LG's system update has been deauthorized by changes in the system image. This means there is no chance a system update will brick your phone or undo the changes made by this ROM.

7. The full screen "Code Red" bootup splash screen has been eliminated. In it's place is a much less noticeable and smaller text message in small yellow letters.

Aristo 2 plus Lightning ROM beta 1 ​

Install this .zip if you want to restore the full screen Code Red dialog:

Restore Raw Resources​

---------- Post added at 02:34 AM ---------- Previous post was at 02:12 AM ----------

OK, well this is my new ROM for the Aristo 2, based on LG's latest Oreo firmware, V20g

I have to tell you, I think this is the best ROM I have made to date.

It runs like greased lightning.

I suspect it is a combination of disabling the Root Checking Tool and my hugely successful debloating quest, but it just screams.

It's extremely responsive and feels like the shackles have been removed.

It's not only fast, but also VERY stable, as it runs only system code specifically created for the Aristo 2 by LG.

It just runs a lot less of it now

I'm still working on a few more bells and whistles, but I am really loving this image so far.

Tec's rooted Aristo 2 lightning ROM, based on firmware V20g rev 1:

Download Lightning ROM for Aristo 2​

​
[Miscellaneous Android Development] IDontKnowMang:
Got myself encryption locked, I'll mess with it later today and I'll flash this bad boy.
[Miscellaneous Android Development] tecknight:
If you are encrypted, the installer will remove your encryption by wiping the encryption key and re-formatting your encrypted partitions. Worst case you end up with a blank data partition, as if you had done a factory reset.

But you don't have to worry about encryption any more.

This ROM is immune to system updates as well, as the certification keys have been, well, misplaced.
[Miscellaneous Android Development] guytalluto:
which addtl apps did you get to remove in version 2? I will try to remove them in terminal using Magisk debloater module. One flaw I seem to have in the LR v1 is my LG backup does not give me a restore option so I can reload past messages.
[Miscellaneous Android Development] tecknight:
Sorry, I removed a lot of stuff and I don't have a list unfortunately.

Actually, I intended to remove LG Backup completely, as it is redundant.

There are at least 2 other ways to backup your phone.

TWRP is the best way (IMO), but you can also use adb backup..

But if there is something or things you want to put back, just let me know what it is, and I will pull it from the stock image and post it in a zip..

As far as the Google apps are concerned, you can simply download them from the play store and they will install as user apps which can now be uninstalled if you like.
[Miscellaneous Android Development] guytalluto:
Thanks for all of you help. I had wanted to pull in old messages or sd card images from past LG backups. I will try LGsync when I get time tonight or this weekend; not sure if will read LGBackup format. Otherwise, if you can post LGBackup zip - it might come in handy. Thank you again.
[Miscellaneous Android Development] tecknight:
No problem.

I have attached a .zip file LGBackup.zip.

Download it here:

https://xdaforums.com/attachment.php?attachmentid=4773064&stc=1&d=1559920453

Install it with TWRP.

It restores LG Backup (Now called LG Mobile switch) to working.

I tested it on my phone. I am able to backup and restore
[Miscellaneous Android Development] IDontKnowMang:
Flash was clean and it runs really smooth but for some reason magisk just won't work for me. Just force closes over and over on me. Should I re flash it in twrp?
[Miscellaneous Android Development] tecknight:
Try uninstalling Magisk Manager, then browse to the Download folder, then to the RootApps folder and install the Magisk Manager apk file.

If it still crashes, then install it thru TWRP.
[Miscellaneous Android Development] guytalluto:
Wondering if anyone has tried Substratum on this rooted skinny rom yet. Themes in LG is cool, but Substratum had some excellent layers. Note to all......do not try logging onto your gmail account with a TOR browser. Google made me change my password and had to reset my Android as well. The very security that I was trying to achieve is not acceptable to Google or any .gov sites.

Update- Substratum working fine - even on top of LG thems. Using BigBlu and will try Transparent as well soon.
[Miscellaneous Android Development] MeThisGuy:
current uptime of 319:00:54, still going strong. nice work!
[Miscellaneous Android Development] 343 I'm not guilty spark:
Can't boot into TWRP

Trying to boot into twrp won't work for me, doing it in adb just brings up 'No Command'

and doing it in wipe device just wipes it normally.
[Miscellaneous Android Development] HIDE NOW:
Question

Do I need a PC to install the twrp? Cause I don't have one.
[Miscellaneous Android Development] TaZeR369:
I'm a bit confused on which recovery is the latest and proper working one, there is the one recommended in Tecknights guide to the Aristo 2 called twrpcv1oreokernel (MD5: ea8399701ffb25a4f6d3de469e4b9ffc) then theres this one from this thread with the github device tree now missing (MD5: 9711f2a87396a8687559fb684beb13b8) with a half megabyte difference in size between the two and then another 16.5mb one from another Aristo 2 rom thread (MD5: e2f3c2218103dbc7fb00984f21932d24), can anyone check these out and verify which is which?
[Miscellaneous Android Development] tecknight:
If you have an Aristo 2 or 2 plus, I recommend this TWRP image:

TWRP4cv1WithOreoKernel.img

https://www.androidfilehost.com/?fid=4349826312261724770​

---------- Post added at 11:27 PM ---------- Previous post was at 11:25 PM ----------

Yes you do in fact need a PC to install TWRP the first time.
[Miscellaneous Android Development] DempFoogola:
Tried flashing to my LG Aristo 2 but it just says "failed remote unknown command". I've unlocked the bootloader and have oem and usb debugging on. What's the problem?
[Miscellaneous Android Development] IDontKnowMang:
What is it you were flashing?
[Miscellaneous Android Development] tecknight:
Toolboy,

You can install Xposed framework on your rooted Aristo 2.

However, you cannot use the universal installer or install Xposed directly from Magisk Manager.

Try installing Xposed this way:

1. Launch Magisk Manager and select Downloads.

2. Scroll down and select Xposed Framework (SDK 25)

3. Download (don't install) the .zip.

4. Reboot to recovery (TWRP)

5. Select Install.

6. Make sure Internal storage is selected. Browse into the MagiskManager folder and select the Xposed Framework (SDK 25)-systemless.zip file

7. Swipe to install.

8. Clear Dalvik cache and reboot.

9. System will take much longer than usual to boot, due to rebuilding of Dalvik cache.

10. Download and install Xposed installer from:

https://xdaforums.com/attachment.php?attachmentid=4393082&d=1516301692

11. Launch Xposed installer. If Xposed installer indicates Xposed framework is NOT installed, then reboot system one more time.

Xposed framework is now installed.
[Miscellaneous Android Development] ToolBoyNIN:
I used the sdk 25 installer from their website about a month ago and I got a bootloop. Used the kdz, tried off a fresh root and got a bootloop, again. So, I just assumed xposed wouldn't work for this phone, yet.

Also.... **** the recaptcha.... ****ing bull****.

EDIT: used your method to the 't' and it worked. Granted it took 8 minutes in LG logo screen and I was about to pull battery and restore backup. For those reading, yea, it took 8 minutes on LG logo screen to boot up, then to the "Android is starting" part. Thanks, tecknight.
[Miscellaneous Android Development] IDontKnowMang:
It's proving to be pretty difficult without any base ROMs to work with
[Miscellaneous Android Development] ToolBoyNIN:
All good. Take your time (in between work and all), we can wait as long as we need to. Again, thanks for being the one who is trying to port a custom ROM, here.
[Miscellaneous Android Development] IDontKnowMang:
Also anyone with twrp already installed are you able to mount sd? I've been having an issue with that
[Miscellaneous Android Development] tecknight:
Yes, it does take a long time to boot after wiping the Dalvik cache, but it is necessary after installing Xposed framework. Glad it worked for you !!

---------- Post added at 12:29 PM ---------- Previous post was at 12:28 PM ----------

Yes, I can mount SD just fine. Only problem I have seen in TWRP is it does not set the date and time correctly. Mine shows January 4th or something.
[Miscellaneous Android Development] ToolBoyNIN:
Well, I installed it, then when I got into rom I installed latest apk, rebooted, said framework wasn't installed, 'meh, it'll come around', installed Gravitybox and XBlast, rebooted. Same message. Updated in app to version 89, rebooted, worked. Went into Gravitybox and enabled power menu options and kill process with back button, rebooted, stuck on boot logo. Restored. Here I am. Going to try again, later. Got work at 5pm. If I have to restore again, I won't have time while working. Also, it usually took less than 6 minutes on first boot. This one took almost 10. First time it wasn't an exaggeration, LOL. Thanks, though!
[Miscellaneous Android Development] IDontKnowMang:
Maybe I just need to format it I'll see when I get home
[Miscellaneous Android Development] tecknight:
Toolboy,

I have been using Gravitybox (N) for several weeks and haven't had any problems.

I have several tweaks enabled and they appear to be working fine.

However, I can't seem to find the option you are referring to.

I have a Power Tweaks section in Gravitybox, but I don't see an option to kill process with back button there.
[Miscellaneous Android Development] ToolBoyNIN:
That option is in Navigation Keys tweaks (hardware and software).
[Miscellaneous Android Development] tecknight:
I have a Navigation keys actions

I found it there and enabled Kill foreground app on the back key.

It worked immediately. When I pressed back from that screen, it killed Gravitybox

One thing I would suggest is to install Magisk SELinux Manager in Magisk and set SELinux to permissive.

SELinux may be causing the problems you are having.

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

This device (Xiomi Redmi 4A) has the same CPU and GPU as the Arista 2.

Qualcomm MSM8917 Snapdragon 425

CPU	Quad-core 1.4 GHz Cortex-A53

GPU	Adreno 308

It even has the exact same display resolution and camera resolution as the Aristo 2:

Display	720 x 1280 pixels, 5.0 inches (~296 ppi pixel density)

Rear Camera	13 MP, f/2.2, autofocus, LED flash

Front Camera	5 MP, f/2.2

LineageOS 14.1 for Redmi 4A was just released a week ago and supports VOLTE and WiFi calling.

Full source is here:

https://github.com/LineageOS-R4A

Release and notes are here:

https://xdaforums.com/redmi-4a/development/rom-lineageos-14-1-redmi-4a-t3701237

Let me know if you need some help, I have done custom ROMs before.
[Miscellaneous Android Development] IDontKnowMang:
Sweet man that is super helpful appreciate it
[Miscellaneous Android Development] tecknight:
No problem. I am checking out the source. It looks like it even has the same WiFi, GPS, Radio and Bluetooth chip as the Aristo 2.
[Miscellaneous Android Development] IDontKnowMang:
cookin up a stock rom in the kitchen lets see if we can get it ported over

---------- Post added at 05:40 PM ---------- Previous post was at 04:50 PM ----------

nevermind
[Miscellaneous Android Development] tecknight:
Any luck ?
[Miscellaneous Android Development] IDontKnowMang:
It was building just fine my screen locked after a bit and now I'm looped my computer not my phone XD
[Miscellaneous Android Development] tecknight:
Did you try a make clean after the lockup ?
[Miscellaneous Android Development] IDontKnowMang:
Yeah i tried. I'm getting keys not found in user library
[Miscellaneous Android Development] tecknight:
Have you generated a release key ?
[Miscellaneous Android Development] IDontKnowMang:
I can't even get to login anymore I don't know what happened to it I'll have to fix it tomorrow when I find my usb
[Miscellaneous Android Development] IDontKnowMang:
I'm gonna rerun the rom after work:svetius:
[Miscellaneous Android Development] TewSlo:
I can't wait to test it out
[Miscellaneous Android Development] teknoweanie:
Glad you were able to get your computer back to normal. Just make sure to not let it near any nuclear launch codes for a little while. :)