yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] jasonmerc:
I shouldn't need to, I just used your CV1 trees and all I did was replace the zImage. It should still be looking in the right place. I haven't actually switched over to my cv1plus trees yet

Also I looked into making separate trees but apparently according to the source code, the Plus still has a codename of CV1. As far as TWRP goes the normal CV1 twrp should work just fine. We might need a different tree later on for the ROM to get the extra LTE bands though. Even so it uses the same codename which should give a hint about the similarities of the devices

Maybe we should come up with our own codename instead. Cv1plus is kinda boring, maybe we can call it something cool like "Louisiana" or "Batman"
[Miscellaneous Android Development] armandop_:
is your source code like this?

root of source/device/lge/cv1
[Miscellaneous Android Development] armandop_:
Also make sure you are using the nougat version of twrp, don't use Oreo since it has not been tested on that
[Miscellaneous Android Development] jasonmerc:
Yes
[Miscellaneous Android Development] armandop_:
Make sure to use this tree; this is the one that I used

https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni/tree/twrp-7.1
[Miscellaneous Android Development] jasonmerc:
This is the exact one I tried before that was giving me problems. I'm trying a different way now, so hopefully this will work instead
[Miscellaneous Android Development] armandop_:
Cool, well im also gonna build it to see if I can get it to finish
[Miscellaneous Android Development] Laevatienn:
What's up with that LineageOS rom? I'd build from source however my laptop cannot handle the power of Ubuntu.
[Miscellaneous Android Development] armandop_:
My lineageOS tree currently isnt buildable; Got a recovery.img for Lg Aristo 2 plus owners to try out :)

https://drive.google.com/open?id=1nZBUpsmOvjzs1Cx7UrGnob2Qgu-woj3i
[Miscellaneous Android Development] jasonmerc:
Thanks for that. Couldn't figure it out myself for the life of me
[Miscellaneous Android Development] Laevatienn:
Ah I see. Hopefully it's able to be built for the MetroPCS varient. I'll try out that recovery image though.
[Miscellaneous Android Development] ricosuave88:
Any update on the lineageOS rom ?
[Miscellaneous Android Development] HampTheToker:
It's literally three posts up from yours.
[Miscellaneous Android Development] SteelH:
I have an aristo 2 plus , trying to determine if the aristo lm-x210 files are safe to flash for rooting/twrp on a 212(plus)...
[Miscellaneous Android Development] tecknight:
System Update out for Aristo 2

I recommend you turn OFF Automatic system updates in Developer Options..

Otherwise you will probably end up soft bricked.

(That is if you rooted your Aristo 2)
[Miscellaneous Android Development] armandop_:
New twrp update guys. I recommend updating to the new version to fix the time bug so your backups can be easily identifiable :)
[Miscellaneous Android Development] tecknight:
You are the man, Armando !!

BTW your Aristo 2 plus TWRP also works !!
[Miscellaneous Android Development] armandop_:
I got a lineage 14.1 build for LG Aristo 2 owners to test! https://xdaforums.com/android/development/rom-lineageos-14-1-t3825381

LG Aristo 2 Plus owners can try to flash, but not sure about the outcome of it. I have no idea if this build will boot or not so backup please.
[Miscellaneous Android Development] tecknight:
You bet I am flashing this. Making a complete backup first.
[Miscellaneous Android Development] tecknight:
Aristo 2 release 10J KDZ:

https://drive.google.com/open?id=1BhrhvK0_jorxNo9FLmld-So-338IhcDy
[Miscellaneous Android Development] IDontKnowMang:
It booted fine for you? What did you do to flash it?
[Miscellaneous Android Development] WhiteZeus223:
I need help

Hi first sorry bad english i need help because im stuck at the metropcs logo after editing the build.prop and i dont have a backup but i have root and twrp if someone can help me i will be very happy thanks.
[Miscellaneous Android Development] tecknight:
OK, that should be simple to fix.

Download this:

https://xdaforums.com/attachment.php?attachmentid=4590738&stc=1&d=1536341763

Extract the build.prop from the .zip and place it into the folder on your PC that contains the adb executable.

Boot your phone into TWRP and connect it to your PC with a USB cable.

On your PC, open a command prompt in the folder containing your adb executable and the the build.prop you extracted from the .zip.

Type:

adb push build.prop /system

and press ENTER.

You will see:

build.prop: 1 file pushed. 0.6 MB/s (12259 bytes in 0.020s)

Then reboot the phone and you should boot up normally
[Miscellaneous Android Development] WhiteZeus223:
Thank you so much i wont edit again my build.prop without a backup but i want to install xposed if safe to install with your tutorial ??
[Miscellaneous Android Development] tecknight:
Yes, it's safe. The only weird thing is that it never successfully installs the framework on the first boot.

It does install it on the second or third or fourth boot. You can actually look at the xposed log from the xposed installer and it says something like the framework is activating or something like that.

Also my tutorial now uses Magisk Manager to install xposed, which is A LOT faster than using TWRP. With TWRP I was waiting 10-15 minutes for the first boot to complete after the install and you STILL had to reboot several times before the framework showed as installed.
[Miscellaneous Android Development] HiGhDRo3o5:
If you download the xposed app and install thru the app version89 which is sdk25 it will install on first try.
[Miscellaneous Android Development] tecknight:
I don't know if you have an Aristo 2, but I can tell you that many Aristo 2 owners have tried and failed to install Xposed Framework SDK25 (systemless). I am not aware of any other Aristo 2 owner that has successfully installed it, but I expect there are.

I have successfully installed it probably 6 - 10 times using both TWRP and Magisk Manager, but not one of those times did it successfully install the framework on the first boot. After the first boot, I launch Xposed Installer and it reports that the framework is not installed. I then reboot the phone and after a boot or 2 or possibly 3, Xposed Installer then reports that the framework is installed.
[Miscellaneous Android Development] HampTheToker:
Have you had any luck installing overlays with substratum, techknight?
[Miscellaneous Android Development] WhiteZeus223:
Hi i need help to lock or relock the bootloader of my aristo 2 pls
[Miscellaneous Android Development] tecknight:
No luck with substratum at all, unfortunately,

---------- Post added at 08:34 AM ---------- Previous post was at 08:32 AM ----------

So you are trying to go back to stock ?
[Miscellaneous Android Development] guytalluto:
Themes

This phone having its own theme engine does have a few nice themes on Play Store you can download and apply. Using a rooted phone as well you can make other adjustments, and using your favorite launcher will help finish modifying the look. It would be nice if someone cracked the code for the theme engine on this phone and were to develop some nice looking themes. I do like using the teal Darkness or blue Darkness themes along with night mode on the phone. I think a lot of the fun with substratum was always breaking the phone and having to figure out how to fix it and change it. Between Nova Launcher a good theme and a rooted phone I found exposed did not offer anything additional so I completely uninstalled it.
[Miscellaneous Android Development] HampTheToker:
You sure about that? The attached screenshot is from my OnePlus 3T. Things like Magisk and Xposed are the reasons a lot of us found ourselves on XDA in the first place.
[Miscellaneous Android Development] guytalluto:
I have been rooting phones for 10 years, even before Google Android. I have used and installed xposed and all types of other kernels from the beginning of time. XDA is very helpful through the processes but is not solely for doing xposed and magisk. The trouble with the low-budget phone is memory and storage and being able to make the look and feel the way you want it personally. It is not necessary to add kernel bloatware and applications like magisk and xposed to do these modifications. All I am is trying to tell others that they can accomplish this without adding all the additional storage and memory usage. You can install root boot image and TWRP then Flash the binary with Super SU and install a root app remover to get rid of the bloatware. There are all kinds of techniques to dig deeper using a terminal and removing apps as well without having to install Xposed or magisk. I think the biggest problem we have today is Google eavesdropping on what we say while our phones are turned on and selling data all over the place with what they are finding on our phones or conversations. Not to be political, but the only President of the United States who ever resigned was because he was eavesdropping and lied about it, and now Google is doing it freelee.
[Miscellaneous Android Development] abdoulgaf:
how about Aristo 2 plus??? possible to root it with op method???
[Miscellaneous Android Development] tecknight:
Yes it is.

I even have an Aristo 2 plus patched boot image to use in my rooting procedure here:

Root your LG Aristo 2 or 2+, remove encryption/verity & install TWRP and Magisk
[Miscellaneous Android Development] abdoulgaf:
thanks bro i will try. another question it possible repacked an lg up backuped rom into a flashable rom or kdz?
[Miscellaneous Android Development] tecknight:
Looking for an Aristo 2 plus owner to pull system image

As you may know, Aristo 2 plus owners don't have the luxury of reflashing their phone to stock with a .kdz file when it has a problem.

Due to this, I am looking for a volunteer to provide me with some partition images from this phone, so we might have an option when someone's Aristo 2 plus has a corrupted partition.

In fact, someone is currently in that situation, so we are looking for a system image urgently.

I think it would also be a good idea to get images of other partitions as well. If we get all the partitions represented in an Aristo 2 .kdz file, we could restore an Aristo 2 plus as effectively as a kdz file does. It would be a longer and more tedious process,but we would at least have a way to restore a messed up phone.

Please PM me if you have an Aristo 2 plus and are willing to help. The process of pulling images is very simple. You might actually be saving your own phone.

Thanks

---------- Post added at 05:56 PM ---------- Previous post was at 05:52 PM ----------

It's funny that you ask that. Check my previous post, I am looking to do just that. If you would be willing to pull some images for me, I will work on just what you are asking about.
[Miscellaneous Android Development] abdoulgaf:
cool bro. i have made a backup before rooting the Phone. where can i upload it for you. but it is very huge backup(14,6gb)... i Will compress it before.
[Miscellaneous Android Development] tecknight:
Did you use LGUP DUMP option ?

I would prefer it on androidfilehost.com. Let me see if I can grant you upload rights
[Miscellaneous Android Development] abdoulgaf:
yeah
[Miscellaneous Android Development] tecknight:
It doesn't look like I can grant you upload rights.

Upload it to Mega.nz maybe ? You can get a free account there, if you don't have one already

I will move the files over to androidfilehost.

It's probably best to put each partition in a separate archive

I'm going to make a utility that will run from TWRP and flash all the partitions

I won't use all the partitions either. There are half a dozen partitions that contain unique properties of a given phone, like IMEI, phone number, SIMlock state, etc. I will not share any of those
[Miscellaneous Android Development] abdoulgaf:
okay but i compressed all partitions in One zip file. i Will upload it on Mega.nz and send you the link
[Miscellaneous Android Development] tecknight:
That's cool. Thank you !! All Aristo 2 Plus owners will owe you !!
[Miscellaneous Android Development] tecknight:
I imagine that will take some time to upload
[Miscellaneous Android Development] Sands207:
I can help as well. Let me know
[Miscellaneous Android Development] abdoulgaf:
hi bro. my connexion very slow in upload. but tomorrow i Will be ok
[Miscellaneous Android Development] abdoulgaf:
link send to you in MP.
[Miscellaneous Android Development] tecknight:
Thanks

Thanks for the response on the Aristo 2 Plus image request.

I had 2 generous individuals volunteer their time, so I now have a complete image of a stock Aristo 2 plus.

I am working on a .kdz less flashing solution for an Aristo 2 plus.

Since it will need write access to all partitions, it will require root, so I am setting it up to run under TWRP.

That means if you have an Aristo 2 plus, you will be better able to recover from any type of phone issues if you are rooted and running TWRP.

Consider this:

If you have an Aristo 2 and disaster befalls your phone, you can always run LG Bridge or LGUP and restore your phone to stock.

This will work whether or not your phone was rooted.

If you have an Aristo 2 plus and are not rooted, LG Bridge and LGUP are basically useless, short of using a hacked LGUP to crossflash the phone into an Aristo 2.

But if you have an Aristo 2 plus and have TWRP installed, you will soon have a way to restore your phone to stock.

I will be looking for Aristo 2 plus owners to test the flashing procedure in a few days.

Anyone with a broken Aristo 2 plus that has TWRP still installed will be given preference.
[Miscellaneous Android Development] hiroprotagonist:
At the moment i do have a t-mobile branded Aristo 2 plus which is stuck in twrp mode..

From what the original owner could tell me, it was purchased prerooted. Claims he went to bed, woke up to find it permanently stuck in twrp recovery mode. As you can guess, he has no backups and i can't even do a wipe.

Willing to use as guinea pig for any fixes you can come up with.
[Miscellaneous Android Development] tecknight:
You are just the guy I have been looking for !!!

I have a solution that should fix your phone completely.

Give me a few hours, I have to upload a big file.

Do you have a Windows PC and a MicroSD ?
[Miscellaneous Android Development] hiroprotagonist:
Yep! I do..

Model is X212TA
[Miscellaneous Android Development] tecknight:
OK, download these 2 files:

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

https://www.androidfilehost.com/?fid=11410932744536991486
[Miscellaneous Android Development] hiroprotagonist:
Downloading now.. I am guessing its a Firmware for LGUP?

---------- Post added at 09:28 AM ---------- Previous post was at 09:27 AM ----------

Downloading now.. I am guessing its a Firmware for LGUP?

edit: Scratch that. whats the next step?
[Miscellaneous Android Development] tecknight:
OK, extract those 2 .zips to your MicroSD.

They overlap each other, so you should end up with one folder called nokdz which has a few files in it,

It also should contain 3 folders: log, backup, and images.

log and backup s/b empty and images should confain a bunch of .img files.

Then move the MicroSD to your phone.

Do you have adb installed on your PC ?
[Miscellaneous Android Development] hiroprotagonist:
Yes, adb setup and all.. What commands do i need to run?
[Miscellaneous Android Development] tecknight:
connect phone to PC.

boot phone into TWRP

then on PC command prompt, type

adb shell

then

cd /external_sd/nokdz

then

sh nokdz.sh root.fp 0

that will run in test mode.

post your output here. if it looks good, we will run live.
[Miscellaneous Android Development] NonStickAtom785:
So your close to making a root method for all LG Aristo 2/2+ varients? That's amazing. I appreciate the work Tecknight!:laugh:
[Miscellaneous Android Development] deadtom082:
Hello

I have two aristo 2 phones that I have managed to get stuck in twrp. It sounds like you may have the answer to my problems. How can I get in line .

Thank you
[Miscellaneous Android Development] NonStickAtom785:
Hey I know I'm not the guy you were looking for but I can help. Which device do you have and what did you do to get it stuck in twrp. ex: it tried to update and then it got stuck recovery boot loop; you erased the system partition; You forgot a step in rooting;

I'm happy to help! Thanks for asking.
[Miscellaneous Android Development] tecknight:
Try this first:

Fix your LG Aristo 2 / 2 plus / K8 + that is stuck in TWRP

If that doesn't fix it, go here:

Restore some or all of your rooted LG Aristo 2 plus partitions to stock 10j firmware w/o LGUP

Aristo 2 or 2 plus ?
[Miscellaneous Android Development] Loganvp94:
Hi .. I have a LG LM-X212TA stuck in twrp recovery .. the phone was normal then it restarted and I am in bootlop twrp .. could you help me please .. regards :(
[Miscellaneous Android Development] tecknight:
OK, first click on the following link in RED.

It will take you to a post I have created.

Try the short procedure described in the post.

Reply your results back to this post, it is likely to resolve your problem.

If it does not, don't worry, there are several other procedures that might fix your phone.

Fix your LG Aristo 2 / 2 plus / K8 + that is stuck in TWRP
[Miscellaneous Android Development] hiroprotagonist:
It was the aristo 2 plus. Sadly I've been sick and the owner took the phone back....
[Miscellaneous Android Development] Loganvp94:
Hello .. friend you are great .. you are the best, after applying these commands I could solve and the phone has been able to turn on the normal system again .. thanks friend .. you are a hero: D .. Regards :victoria:
[Miscellaneous Android Development] tecknight:
Glad to hear it !!
[Miscellaneous Android Development] tecknight:
New Tutorial/Procedure

Happy Thanksgiving to all !

I have a new procedure here that I believe will end up being very useful not only to root an Aristo 2 or 2 plus, but also to recover from any issues or problems you might encounter.

It is a TWRP installable .zip that flashes stock images to all partitions that a firmware flash thru LGUP does, except for recovery.

It also flashes a patched boot image and a custom system image with full Magisk install(as system app) and some bloat removed.

The Aristo 2 image is based on 10K and the Aristo 2 plus is based on 10J.

Either image can be flashed on either phone, so you can change an Aristo 2 into a Aristo 2 plus or vice versa.

Install a custom pre-rooted ROM to your LG Aristo 2 or Aristo 2 plus using TWRP
[Miscellaneous Android Development] zamiel2112:
I am here to tell you that it does not work 100% of the time. I have rooted many phones but I have never seen this before and it does it everytime. See attached.Can someone help with this. I tried the other method too. It would not boot up as per step #16 or somewhere in the teens there where it tells you go back and repeat step 7. When i try to swipe to get in TWRP there is no screen response.

https://drive.google.com/open?id=1XRT667zqC-WjYfxQCWhR83TWPwgF0elt

It would not allow me to upload but please see link. Thanks in advance.
[Miscellaneous Android Development] IDontKnowMang:
I'm pretty rusty with the aristo at this point teck can probably help more than me at the moment. I do remember having that issue and it might be related to and incorrect version of that twrp. I think i have the one that worked for me on my google drive gibe me a minute
[Miscellaneous Android Development] tecknight:
OK, Anyone that has an Aristo 2 plus that boots to TWRP, but the touchscreen does not work, I recommend this:

a. Download Aristo 2 10K kdz image here:

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

b. Do this on your PC: Install LGUP Dual Mode(Dev/User) on your Windows PC

c. Set LGUP to Developer mode using SetDev at the end of step b.

d. Remove battery from phone, then replace it.

e. Connect USB cable to PC only. Hold volume + on phone while connecting other end of USB cable to phone. Phone will go into download mode.

f. Launch LGUP. Se;ect Partition DL option. Browse to 10k .kdz file you downloaded,then click Start.

g. Select All partitions, then click OK. your phone should now bootup as a stock Aristo 2.

h. Follow this procedure using the Aristo 2 plus .zip file.

Install a custom pre-rooted ROM to your LG Aristo 2 or Aristo 2 plus using TWRP

You should now be running Aristo 2 plus firmware and be rooted with TWRP installed and hopefully working.
[Miscellaneous Android Development] zamiel2112:
Not working. I followed this exactly and encountered the same issue. After I installed the 10k .kdz I went on to the next section where it instructs installing TWRP. Followed it exactly. For pics click the link I posted above. Same exact thing. What? Do I need a priest to install this thing? My 2 k20 pluses install everything easily. HELP.
[Miscellaneous Android Development] tecknight:
Wow, I was just looking at your pictures and I noticed you are on an Aristo 2.

I have only heard of this issue happening on a 2 plus before.

Let me ask you a couple of questions.

1. Does adb work at all from TWRP ?

2. Have you tried connecting a mouse to the phone using an OTG cable when in TWRP ?
[Miscellaneous Android Development] tecknight:
OK, I just tried something off the wall, but I think it might actually work for the TWRP no touchscreen, skewed screen.

I think it may be an incompatibility between the bootloader and the kernel.

If you ended up with the 10L bootloader and the 10K or earlier kernel, that may be causing this.

So I made a TWRP version using the 10L kernel'

See if it works on your phone.

TWRP with 10L kernel:

https://www.androidfilehost.com/?fid=11410963190603862817
[Miscellaneous Android Development] zamiel2112:
1. Nothing works from TWRP. It is frozen. I was able to unlock the bootloader no problem. and TWRP flashed fine. TWRP is frozen like you saw it. notice that it is almost half-way up the screen.

2.No I dont have the cable.
[Miscellaneous Android Development] tecknight:
Did you try flashing the new TWRP I posted ?

You can get into fastboot mode by powering the phone off then holding vol - while connecting a USB cable to your phone from your PC. then you can download the TWRP image and flash it using fastboot flash recovery <image file name>

also from fastboot, try these commands:

fastboot erase misc

and

fastboot erase fota

If you phone is stuck trying to apply a system update, those commands will free it up
[Miscellaneous Android Development] zamiel2112:
Okay. Awesome! Give me a few to implement this got to be @ work in 90 min. Cutting it close, but I love this stuff! Afew minutes later.. AWESOME dude!!! That is perfect. Also I failed to mention that i had just updated to 10L. Thanks so much again and again.
[Miscellaneous Android Development] tecknight:
So that TWRP worked or the fastboot erase commands worked ?
[Miscellaneous Android Development] zamiel2112:
I haven't done any fastboot commands yet. IAt the end of everything I try to install i get "failed to mount '/data' (no such device). I formatted data, factory reset, switched the order and it still fails to mount
[Miscellaneous Android Development] tecknight:
That's because your data partition is encrypted. You are getting these messages in TWRP ?

if you are in TWRP flash this script (it has specific code in it to de-encrypt your userdata and cache partitions)

if will also flash a boot image that will keep your partitions unencrypted

https://www.androidfilehost.com/?fid=11410963190603859162
[Miscellaneous Android Development] zamiel2112:
I flashed it and when it boots up and i swipe up to unlock - nothing but blackness even after rebooting

---------- Post added at 05:34 PM ---------- Previous post was at 05:26 PM ----------

when i tried the fastboot commands they failed: cannot erase this partition in unlocked state

---------- Post added at 05:50 PM ---------- Previous post was at 05:34 PM ----------

https://lh3.googleusercontent.com/-zEoMyO3AjjU/XAF3errOQDI/AAAAAAAAAAY/Fj6R6quKgiUUH3JPCdXv7PZ6toqGjkLyACK8BGAs/s512/2018-11-30.jpg

https://lh3.googleusercontent.com/-...PCdXv7PZ6toqGjkLyACK8BGAs/s512/2018-11-30.jpg