yashsingh1/xdaforums huggingface dataset:
[Android General] tecknight:
GotHeart,

I had 2 posts about encryption, the first one was about the default fstab.cv1 having forceencrypt on 2 lines. On that post I also included a boot image with a modified fstab.cv1 in the ramdisk image and also had a modified .magisk in the .backup folder containing:

KEEPVERITY=false

KEEPFORCEENCRYPT=false

Here is the image:

RB_M16_EVD.img --> Magisk 16 rooted boot image encrypt/verity disabled​

My second post was after I found out that fastboot was creating encrypted partitions whenever the flashing lock state was changed.

That prompted me to change my rooting process significantly, cuz the last thing you want is the phone trying to boot up with an encrypted partition, when the fstab is unable to decrypt it.

I haven't tried the beta Magisk yet, I figured we had enough stability issues without it.

Is it relatively stable ?

Status bar icons: I have Xposed SDK 25 and Gravitybox (N) installed and played with the Date/Time and color settings, but my icons are stock. You have to download Xposed in Magisk, but install it with TWRP. and reboot twice for it to become enabled.

BTW, The Aristo 2 specs state it only supports up to 32GB microSD, but I have a 128GB Samsung in mine and it works flawlessly.
[Android General] Abskurity:
Xposed is not an option for me because you either get xposed and a broken safetynet or passing safetynet without xposed. Yes i removed the Force Encrypt lines from the fstab. Everytime i reset my phone,as soon as i flashed TWRP somehow my data & cache were f2fs & unmountable. I was getting strange errors about unable to find crypto header as well. Anywho, i made your edits, then immediately fastboot flashed the modded 10i boot after kdz, then flashed twrp, then magisk. Also, i noticed if you don't let the phone boot fully at least 1 time, it will bootloop to twrp. Maybe i wasnt doing something correctly.

Also,ive had 0 issues with the 16.4 Beta of Magisk.
[Android General] tecknight:
Yes, the reason you were getting encrypted partitions was that when you do a fastboot flashing unlock or fastboot oem unlock, fastboot erases the data and cache partitions and reformats them as encrypted.

That's why my rooting procedure now has a fastboot erase userdata and fastboot erase cache after the unlock.

The fastboot reboot boots into the new boot image, which automatically formats userdata and cache as ext4, unencrypted.

That's why I was able to eliminate the format data and reboot recovery from the first boot into TWRP.

I will check out the Magisk 16.4 beta. Thanks.

Update: I modified the rooting procedure to allow the user to choose either Magisk 16 or 16.4 beta.
[Android General] TheDerekHarper:
Do you know where I can download the Firmware?
[Android General] tecknight:
Sorry, I haven't been able to find a .kdz file for that phone yet

Here is the user manual:

https://www.mylgphones.com/wp-content/uploads/2018/06/LM-X212TA_TMO_UG_Web_EN_V1.0_180330.pdf

Something else you might try.

Install this.

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

Set to Dev mode. Then run LGUP and select PHONESETTING.

Click Start and then load up your phone's settings.

There are a LOT of options in there that relate to carrier and such.

Maybe you can find a setting that will enable T-Mobile.

Once you load the settings, you can modify any settings you want to change, then click write to save your changes.
[Android General] RandoSwift:
This method worked, unlike brad's. Pretty easy to follow.
[Android General] tecknight:
Glad it worked for you... I have used it myself several times, so I know it works..
[Android General] SteelH:
Does this method and twrp/boot files work on an x212tal? (LG Aristo 2+ Tmobile) ?
[Android General] RandoSwift:
It might. It's not carrier specific because my us cellular k8 is rooted fine. You could always backup on a sd card and try it.
[Android General] tecknight:
Yes, they are the same hardware. I would be very surprised if this method did not work on the Aristo 2 plus.

Please post your results. If you run into any issues, post to this thread. I will help you through the process.
[Android General] tecknight:
If you pull me a copy of your boot image, I will modify it and Include the Aristo 2 plus rooted boot image in the tutorial. I will also check for any differences between the 2 boot images.

You can pull the boot image using the developer mode LGUP.

Instructions are here:

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

Once installed, run LGUP, select Dump, then check the boot partition.
[Android General] SteelH:
Dumping everything now.....
[Android General] tecknight:
Cool.. The DUMP option is great. How else are you gonna be able to get a complete image of any partition w/o having root ?
[Android General] SteelH:
aboot_COM10

boot_COM10

recovery_COM10
[Android General] tecknight:
Thanks!! I will get right to work on the boot image.
[Android General] tecknight:
Ariisto 2 plus patched boot image

OK, here is the Aristo 2 Plus patched boot image.

Patched for root by Magisk 16.7 beta (recommended, since it has a fix for an Aristo 2 bug)

Also removed rct service, encryption and verity.

File name: RB_M16.7_A2P_EVD.img

https://drive.google.com/open?id=1KtDUF6pjOAIq599-28PQeY8tefKikW7V

flash to boot partition with fastboot in step 12 of this procedure:

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

BTW, [MENTION=6775560]armandop_[/MENTION] made this TWRP for Aristo 2 plus. It hasn't been tested yet, but you could try it:

https://drive.google.com/open?id=1nZBUpsmOvjzs1Cx7UrGnob2Qgu-woj3i

I am pretty certain the TWRP for Aristo 2 will work anyway.

Everything else should work fine on your phone.

BTW, there is only a 4K difference between the 2 boot images. I haven't yet found any differences.
[Android General] SteelH:
Confirmed twrp works and I have root now on Aristo 2 +
[Android General] tecknight:
That's great !! I added the a2p boot image into the procedure.
[Android General] Hizraehl:
Hi

I have an lg aristo 2. I used the pre installed device unlock, only to find out i cant switch to 4g/3g but every other thing works. I tried unlocking again with the device unlock but all i get is "unlock failed" my phone is rooted and i have twrp flashed. Please i need all help i can get as i dont have enough cash to purchase an unlock. Thanks in advance
[Android General] tecknight:
"Pre-installed device unlock ?"

I am not sure what you are talking about.

None of my ROMs or procedures do any carrier unlocking.

Please be more specific regarding what you did to your phone and I will try to help.

Also, I need to know what image/ROM you are running.

You say you are rooted, but what firmware are you running ?

Thanks
[Android General] mr.beans1918@gmail.com:
Hsb
[Android General] Mor Hedroom:
Link for the 2+ Nougat 10K KDZ is 404

Hi tecknight,

I'm going to try rooting my Aristo 2+ (TMo, X212TAL) using the utilities in FWUL, and I'll report back with success or failure. However, in collecting the files I need, I've found that your link to the downgrade Nougat KDZ (https://lg-firmwares.com/downloads-file/17229/X212TA10k_00_TMO_US_OP_1003.kdz) gives me a 404 once I get through the captcha. I've found a couple other sources for the file, and after I compare their MD5s for at least a little safety, I'm going to use one of them.

Just wanted to say THANK YOU for your support of this device, and give you the info about your downgrade KDZ link. I'm hoping this all works out, as I need this to be up pretty soon. :D

I'll make sure to search and read before I report issues, and if it's ok, I can post about using FWUL if there are any pitfalls or differences, so it may open this up to more users who don't have immediate access to a Win10 machine.

Again, thank you! I really appreciate your time and efforts.
[Android General] tecknight:
Thanks for the update on the unavailability of several .kdz files on the lg-firmwares.com site.

I am very disappointed in them. The site used to be VERY reliable, but it now looks like they have totally abandoned any pretext of maintaining their firmware achives.

I am currently unable to download any Aristo 2 or Aristo 2 plus firmware images from their site.

However, I DO have the Aristo 2 plus 10k firmware image you are looking for.

10k Nougat firmware for the Aristo 2 plus (X212TA10k_00_TMO_US_OP_1003.kdz):

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

You can flash this firmware image to your phone using LGUP to downgrade your phone to Nougat.

Once the phone is running Nougat firmware, you will be able to use fastboot to install TWRP to your phone.

After that, you can use TWRP to install a rooted firmware image to your phone.

I would recommend the Lightning ROM, latest revision (rev 2).

I have updated the instructions for firmware downgrade, TWRP install and custom firmware install to include the new link for the Aristo 2 plus Nougat firmware. Instructions are here:

Install a pre-rooted ROM to your LG Aristo 2 / 2 + / Best root method​

As for FWUL, I have the latest version installed on my linux PC (running latest cinnamon xfce).

I do not see any rooting tools, only firmware extraction tools and partition backup/restore tools.

In fact, FWUL's hardware utilities, like the ones that identify the partitions and back them up or restore them are not working for me on cv1 devices. The tool that extracts the .img files from the .kdz files are working and the hardware utilities appear to work on higher end LG devices, like the V30 and up.

Yes, please post about your experiences using FWUL

One last thing.

I AM looking for the Aristo 2 plus 20g firmware image as it is not downloadable on the lg-firmwares.com site.

If I get my hands on a copy of this .kdz file (the latest .kdz file for the Aristo 2 plus), I will upgrade the lightning ROM for the Aristo 2 plus to the 20g kernel

File name is:

X212TA20g_00_TMO_US_OP_0426.kdz

If anyone has this file, please upload it somewhere and post or PM the link to me.

Thank you very much.

UPDATE: I complained loudly to lg-firmwares.com and they were able to restore the Aristo 2 plus 20g firmware.

I am currently downloading it and will utilize this firmware as the basis for a new Aristo 2 plus ROM release
[Android General] payers:
I have a lg phoenix 4 (LM-X210APM) from AT&T, but it is not updated because I'm from Venezuela, is there a method to force the updates of that phone?
[Android General] jaysmedley:
128 Gb cards

Teck,

What format is your 128Gb card set up for, NTFS, exFat, or formatted with another utility to FAT32?

Thanks for all your hard work!

Jim
[Android General] tecknight:
Jim,

Interesting note: The maximum MicroSD card supported by cv1 devices is very likely 2TB

I say this because my 128GB (or any 128GB) MicroSD is an sdxc addressed MicroSD and the sdxc standard supports MicroSD cards up to 2TB. Currently, the largest manufactured MicroSD is a 512GB SDXC card. That number will increase as the card manufactures develop new, more compact technologies.

The cv1 kernel supports only FAT16 and FAT32 on a physical MicroSD card.

The reasons for the very limited filesystem support is due to Microsoft owning the exFat and NTFS filesystems.

Microsoft will license the technology to phone vendors, but they charge steep royalties.

Because of this, the only phones that usually end up with NTFS and exFAT support are flagship devices, where an extra $20-$25 to the price of a phone is not a deal breaker.

However, I have created a flashable installer that will allow you use exFAT and NTFS formatted SDCard's on systems that have Magisk installed.

You can download the installer from the link in the post here:

https://xdaforums.com/showpost.php?p=79685879&postcount=375​

Be advised that this installer definitely allows you to format and use exFAT and NTFS mounted sdcards, it does have 2 issues:

1. The phone displays a notification about the sdcard being corrupt at boot time. You only need to clear the notification and it will not reappear until the next boot.

2. The mounted sdcard is not identified as an external SD by android. You may browse to and modify the contents, however.

To answer your question, it was a close call for me, as I use my MicroSD to hold numerous OS images that I mount using DriveDroid. Some of these OS images are larger than 4GB, so I could not host the extra large images on a FAT32 formatted MicroSD. I could host the large images on an exFAT or NTFS formatted MicroSD.

However, I found that the benefit of being able to host >4GB files did not outweigh the inability to use my external MicroSD in some apps due to issue #2 above.

I have decided for the time being to stick with FAT32.
[Android General] tecknight:
payers,

If you follow the steps in this tutorial:

Restore your LG phone to the latest factory firmware using LG Bridge

it should update your phone to the latest released STOCK (Not rooted) firmware.

Is that what you are looking to do ?
[Android General] LgPWN'd:
I need to downgrade mine and have the exact same model.

I can't find firmware to downgrade and can't get fastboot in Oreo
[Android General] Mor Hedroom:
Thanks for the links!

Hi TecKnight,

Thanks so much for your reply. I was able to get a copy of the stock Nougat for downgrading, but after looking around and fiddling with FWUL, I find that I spoke too soon about using it to flash .kdz files. :( You are absolutely correct in its limitations, and though it looks as though there may be people working on it, it looks like flashing functionality isn't there for LG devices in SALT. I will keep an eye on the deleopment of SALT, and if you want, I can let you know if/when it gains the ability to flash newer ROMS. Meanwhile, I'll have to travel a bit to get to an old system I keep Win 10 on, and do it that way. Oh well, ya win some, ya lose some, and here I am relying on the excellence of others' tech skills from free tools! There's absolutely NO way I could possibly complain about that - just gotta see what works.

So thank you, seriously, for all the work you're putting into these phones - it means a lot to folks like me who know just enough to hard brick a shiny new device, but not enough to make it sing. I look forward to seeing your work again, and you can bet I'll throw your ROM on this phone as soon as I can get it rooted.
[Android General] tecknight:
I would start here:

https://www.att.com/devicehowto/tut...tepbystep_KM1289428?make=LG&model=LGLMX210APM
[Android General] tecknight:
Unfortunately, as far as base flashing utilities for an unrooted LG phone, Windows is definitely king.

LG has packaged several of their secrets about how download mode works into the DLLs and other binaries of LGUP, which of course is only available as a Windows utility.

Incidentally, did you know that LGUP is actually only supposed to be available to carriers ?

It was leaked onto the internet several years ago, but LG has never released it to the public.

Further hacking of the LGUP binaries has enabled several additional features that were only supposed to be available to LG corporate technicians.

All my ROM flashers are based on how LGUP flashes a firmware image to a device for maximum stability.

Here is a detailed comparison between how LGUP flashes a .kdz file and how my ROM flasher does it:

https://docs.google.com/spreadsheets/d/1Kkb1ZIjv7O-G8BaVr-R07H30J63P2hAcpIDTKTZFOgU/edit?usp=sharing​
[Android General] TaZeR369:
I have a slight issue on (Tec's Lightning ROM for Aristo 2 plus beta 2) I understand theres no encryption by default but I can't turn on encryption for my phone at all, once I plug it in and press encrypt it just reboots the phone. So I'm wondering maybe it was removed altogether? If so is there a way to enable it because I need encryption its important to me. Thanks for your work on the rom.
[Android General] Recker01:
im stuck in the lineage os loading screen what can I do
[Android General] tecknight:
Yes, you are correct. I have essentially removed encryption altogether.

This is due to issues when initially booting up with the patched boot image.

However, I can try to restore the ability to encrypt with a boot image patch..

Give me a day or two and I will post a file for you to try.

Thanks.
[Android General] tecknight:
1. What kind of phone do you have ?

2. Do you have TWRP installed ?
[Android General] Recker01:
I have the LG Aristo 2

On metro pcs

I do have twrp installed and the system backed up.

The problem is that I cannot boot twrp at all.
[Android General] bowser001:
So I am running your Nougat 7.1.2 rooted ROM and every morning it boots into TWRP recovery. I do not want to run Android 8.1.0 I prefer to stay downgraded. I've tried the commands above typed them in correctly and still wake up to the TWRP recovery screen. And the only way to reboot to the system is to reflash the ROM again. Feel free to DM me as to I may be the only one wanting to stay downgraded(I think)
[Android General] tecknight:
Try this to boot to TWRP:

Booting to TWRP using phone keys

1. Shut the phone completely off by removing the battery.

2. Put the battery back in.

3. Hold down the vol - key.

4. While still holding down vol -, press and hold the power button.

5. Once you see the LG logo, quickly release then repress the power button.

6. You will see a factory data reset screen. Release all keys and buttons, then use the volume keys to highlight YES. If TWRP is installed, your data will not be reset.

7. Once YES is highlighted, press the power button to continue

8. You will see a second screen that says: Delete all user data and reset all settings ?

Use the volume keys to highlight YES, then press the power button to select. Once again, your data will not be reset if TWRP is installed.

9. A couple of LG screens will be quickly displayed, then TWRP will boot up, if TWRP is actually installed.

If you can get to TWRP, use it to flash one of my ROMs

If you still can't get to TWRP, try this:

Restore your LG phone to the latest factory firmware using LG Bridge
[Android General] tecknight:
Your problem is that your phone is automatically updating to 8.1, which is semi bricking your phone.

I have resolved this problem in my 8.1 ROMs, but not in the Nougat ROMs.

Which phone/ROM are you using ?

I will see if I might be able to kill software update on the ROM you are using.
[Android General] PsychoMcSatan:
I have the same issue as this person from Venezuela. I have a lg phoenix 4 (LM-X210APM) from AT&T, but the upgrade steps detailed on AT&T's site will only work if you are connected to an AT&T tower. It's a known issue with many AT&T-branded phones. Even upgrading with LG Bridge over USB fails as it needs the AT&T connection.

I have been scouring the net looking for custom ROMs or ways to bypass that check, but no luck so far for the LM-X210APM. Closest anyone has come was flashing TWRP from this thread, but touchscreen functionality is lost and could not be recovered even re-flashing stock.
[Android General] Josner:
I also have an LG Phoenix 4.

Following the steps that at & t indicates in its help pages does not work if you are in a country that has no connection to at & t and also if you no longer use that company.
[Android General] gael97:
What do you recommend as far as theming our aristo 2 phone?
[Android General] tecknight:
TWRP Flahable Nougat image for ATT LG Phoenix 4 from working phone

OK, I have the flashable .zip here:

RecoverATTLGPhoenix4.zip​

This is a TWRP flashable .zip created from the partition dump uploaded by @PsychoMcSatan

This partition dump was from a working ATT LG Phoenix 4 device running Nougat 7.1.2

This flashable .zip has a very limited audience.

It should only be flashed to Genuine ATT LG Phoenix 4 devices.

ANY other device, including other cv1 devices would be bricked if this image were flashed to it, due to the fact that ATT uses a unique hardware RSA key for this device
[Android General] KtownJeff:
full brick

[MENTION=2651082]tecknight[/MENTION]

Hello I have a sp200 boost mobile...it has a mt6750 processor...I used lgup to flash k8+ 2018 firmware....i couldn't figure out how to get fastboot access obviously because of the locked down boot loader..well, I was able to get temp root through shell and was able to root with magisk..limited root might I say still no system file access...well I screwed around and flashed a different aboot file using one of Rashr's root apps trying to bypass lgaf so i could possibly get into fastboot before I made a debrick image or a full system dump....now i'm completely bricked when i plug into pc with battery I get nothing...when I take battery out and plug in to PC it shows LG Modem(modem), Lg Modem(serial), and Lg Modem(phone) in windows devices and printers only momentarily then nothing...if i remove Lg drivers from my PC I get the mtk preloader for my device for only seconds as well...LGUP and LG Bridge will not recognize my device...Ive played around with SP Flash Tool and and I have 2 issues: 1)no scatterfile for my ROM which I thought I could compile using LG firmware extract and following another device scatter file to make mine with no such luck...the proper way is to use the media tec dump tool to create the scatter file which i cant do because It wont recognize my device either...2) I keep getting a Brom snd cmd err 0xc060003 error and Ive searched up and down for help with that..(a lot of garbage out there pertaining to media tec chips and devices...I need help I wave the white flag Ive spent almost two full weeks trying to fix this with more confusion than when I started...If anyone has any advice or knows anything or maybe a kick in the right direction please help...and honestly I can probably find the motherboard cheap if it comes down to it I just really like to learn how to do these things
[Android General] XeoNoX:
have a broken screen LG K8 (2018) | Unlocked model X210ULMG . I Am willing to test some things out. Any of this development work with this model? i see no specific mentions of this model.
[Android General] jkim204:
"8. Now type:

adb reboot bootloader

9. You should see some text in very small letters on your phone. You are now in bootloader or fastboot mode."

I have an SP200 turned to X210. The device has mediatek mt6750 processor. When I reboot bootloader I see no small letters and it just reboots normally.

Could anyone give me an advice?

Thank you.
[Android General] tecknight:
[MENTION=5814646]jkim204[/MENTION]

That's totally different hardware than the Qualcomm that is in the Aristo 2 family.

Does your phone have the Enable OEM unlock option under Developer Options and is it enabled ?

You can also try powering the phone completely down, then plug a USB cable into your PC.

Then hold the Vol - on the phone while connecting the USB cable to your phone.

This will automatically boot into the bootloader on many LG phones
[Android General] tecknight:
Is that the one with the Mediatek processor or is it Qualcomm ?
[Android General] jkim204:
Yes, I enabled the OEM unlock however it doesn't do anything when I hold the volume down button as I'm plugging the phone into USB. I even tried to go in to recovery(power+vol up) and then reboot to bootloader but it just boots to system .
[Android General] XeoNoX:
Qualcomm if i remember correctly
[Android General] Nick720:
Hello guys, i have a problem, when i send "fastboot flashing unlock" it is all ok, the command sent good,

so i type "fastboot erase userdata" but the cmd says: " ******** Did you mean to fastboot format this ext4 partition?

Erasing 'userdata' FAILED (remote: 'unknown command')

fastboot: error: Command failed "

The same happen if i want to erase cache.

How can I solve this?? pls help