yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] tge101:
I think I need to get back to 100% vanilla and start over, but I'm not sure on how to do that.
[Miscellaneous Android Development] tecknight:
Is TWRP booting or is the stock recovery booting, or are you getting the no command message from adb when trying to reboot into recovery ?

By the way I had quite an adventure today trying to root / install TWRP on the 10i image.

TWRP was unable to mount OR properly format /data.

It ends up that /data was not only encrypted, but formatted as f2fs rather than ext4.

TWRP complained it was unable to load the encryption key and when I told TWRP to format data, it kept it as f2fs and encrypted. I was able to fix it only by brute force. I booted into TWRP then used adb to push parted to /sbin. I then shelled in and ran:

parted /dev/block/mmcblk0

Here is the output I got:

Partition Table: gpt

notice that userdata does not even show as formatted.

Anyway, I decided I needed to remove the encrypted partition by force, so I ran this command first:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/encrypt

This overwrites the existing encryption key with zeros, effectively removing the encryption.

I then reformatted userdata as ext4, as it should be:

mke2fs -t ext4 /dev/block/mmcblk0p61

I then rebooted back to recovery and TWRP was finally able to mount /data.

After that I was golden. Encryption has been off ever since

---------- Post added at 07:55 PM ---------- Previous post was at 07:09 PM ----------

It's a REAL pain to use the buttons to boot into recovery. I don't even try.

After flashing TWRP from fastboot, I just let the system boot up, then use:

adb reboot recovery

to go to TWRP
[Miscellaneous Android Development] tge101:
Now I got it to the point where it goes to TWRP, but it's kind of pointless to have with the issues. Right now I'm focused on trying to figure out what happened along the way where I can't charge without a reboot.
[Miscellaneous Android Development] tecknight:
You know there are actually 2 Magisk modules that affect charging.

I had one of them installed before and what it did was turn on and off the ability to charge at certain intervals. You should install one of them and see if it might fix your issue.
[Miscellaneous Android Development] IDontKnowMang:
What security version were you on when you did that? Was it stock or did you update?
[Miscellaneous Android Development] tecknight:
I updated to the latest release (10i) before having the problem.

Android Security patch is May 1, 2018.

It was when I was attempting to root it and install TWRP that I immediately started having problems.

Just remember, if TWRP keeps flashing messages about "unable to mount /data", you will probably need to do the same thing I did.

I even tried flashing the no-verity-opt-encrypt-6.0.zip to no avail.

When I booted to the system, Magisk had the Force Encrypt box checked.

Unchecking it had no effect, Magisk just ignored the unchecking.

Android was able to mount and access /data, but TWRP was clueless.

TWRP also claimed to be formatting /data when I asked it to, but when I booted to system, the data was still there.

The fix is actually pretty simple, once you know you have to do it.

You don't need parted to fix it, just these 2 commands:

dd if=/dev/zero of=/dev/block/bootdevice/by-name/encrypt

mke2fs -t ext4 /dev/block/mmcblk0p61

FYI: This is from the TWRP recovery log when I was getting the errors:
[Miscellaneous Android Development] tge101:
Yeah.... I can't flash any modules though.
[Miscellaneous Android Development] $UbconciousNavig@tor:
ok so i have the 10i update unlocked bootloader all the files for the twrp image i download keep saying corrupt disk image when i go to flash using cmd adb fastboot flash <.img file attached> i cant seem to upload myprop build to see if anyone can point me in the right direction to edit out the stock recovery fstabs an replace for my twrp.img id appreciate it this phone makes me wanna smash it soooo bad im soooo close almost hat twrp through the emulator that flashed but i ducked it up by not knowing that a factory reset after flashing twrp was recovery for twrp the tutorials are not very straight forward or maybe im not reading well between the lines enough to get it please struggling self taught learning tech illiterate dev trying to make it in this deep DEEP shark infested Android Twrp Root water

the twrp.img is one i got from the forum here just renamed i have so many of these files but all are disk image corrupt when going to flash or it says cant load .img
[Miscellaneous Android Development] IDontKnowMang:
Try this one https://drive.google.com/file/d/1Gz5C9AZVilARyLIKm4bHy2BRWaFqkiMa/view?usp=drivesdk
[Miscellaneous Android Development] tecknight:
Now, my phone refuses to charge no matter which charger/cable combination I use. I know the chargers and cables are good, but my phone says "not charging" no matter what I do. I have flashed back to stock 10i about a half dozen times, but it still won't charge. I am totally screwed if I can't find a solution to this.

It's now at 0% and won't even stay on.
[Miscellaneous Android Development] IDontKnowMang:
Just a thought off the top of my head have you tried reflashing just a boot.img
[Miscellaneous Android Development] tecknight:
You are never gonna believe this one. I tried everything and then what fixes it ?

I squeezed my phone and battery hard cuz I was pissed and suddenly the red not charging symbol changes to a white lightning bolt. It's been charging fine ever since. Maybe I should throw it against the wall next time ?

I was getting pretty desperate. The only other kdz I could find was the 10d image which was 5 versions back.

I was downloading it in preparation of flashing it.

I did figure out 1 odd fact. LG DID NOT want that battery to charge. It blocked charging when it was Off, when it was in the process of booting, in stock bootloader and recovery modes--There was only one mode where it would actually charge--Downloader mode. So the only way I could get any kind of charge on it, was to boot into Downloader mode and let it trickle charge off my USB
[Miscellaneous Android Development] IDontKnowMang:
Remind me to punch mine when I try to build again. This phone is weirdXD
[Miscellaneous Android Development] tge101:
Yeah mine will only accept a USB cable once per reboot. It's seriously driving me insane. I don't know if it's this update or what. That's why I wanted to go back to 100% out of the box and see if it still does it.
[Miscellaneous Android Development] tecknight:
My phone starting discharging again this AM. Just like it did before in Settings under Battery and Power Saving it said something like "Gathering Battery info, please wait.". It never did get that battery info.

However, I did a shutdown and it started charging again from OFF.

When I powered it back up it is charging again, but I am on the trail of what is causing this. I have full logcat and dmesg logs from when my phone wasn't charging at all. I am gonna get to the bottom of this. I shouldn't have to worry every time I plug my phone into a charger whether I just plunged my phone into a death spiral or not.
[Miscellaneous Android Development] tge101:
I guess I could pull some too. It doesn't even register the USB cable when it won't charge though. It's like I never plugged it in at all.
[Miscellaneous Android Development] tecknight:
Yes, if you could upload some logs, I will take a look at them.
[Miscellaneous Android Development] tge101:
Pm'ed you
[Miscellaneous Android Development] Laevatienn:
I was having a problem charging as well, luckily I found a smashed aristo 2 on the ground near the light rail with an intact battery, seems to have fixed the issue for the time being.
[Miscellaneous Android Development] tecknight:
Laevatienn,

Are you on the new 10i image as well ?

The charging issues appear to be specific to the 10i release.

I would personally advise anyone not running the 10i release to hold off upgrading to 10i.

FYI:

10h image is here:

https://lg-firmwares.com/downloads-...orth_america_x210ma10h_00_mpcs_us_op_0502_kdz
[Miscellaneous Android Development] Laevatienn:
I am, followed your TWRP commands when I flashed Magisk.

Since I found the battery two days ago things have been peachy, only drawback is battery drain when playing NFS or streaming.

I am thinking of flashing back to X210MA(G) though to improve battery life, L Speed has been a major help in the meantime however.

I can provide a sysdump if it's any help.
[Miscellaneous Android Development] $UbconciousNavig@tor:
Ok so I have to newtwrp.img now its saying can't load or can't read what am I doing wrong screen shots are with it if anybody has the time to like maybe throw together an awesome little quick tutorial that you know is a little detailed but not too much as to you know how I could do this with this specific phone in these specific files that were using on this thread I'm racking my brain on this all I want is root then TWRP
[Miscellaneous Android Development] tecknight:
OK, SN here is my quick and dirty tutorial:

Root your LG Aristo 2 from stock, remove forced encryption, and install TWRP and Magisk

1. Go to Settings->General->About Phone->Software Info. Click on Build Number 10 times. You have now enabled Developer Options

2. Go to Settings->Developer Options and Turn ON OEM Unlock

3. Shut down your phone.

4. Plug one end of a USB cable into your PC, but do not plug the other end into your phone yet.

5. Press and hold Vol - on the phone.

6. Connect the unconnected end of the USB cable to your phone while still holding Vol -.

7. Once you see some text in very small letters on your phone, release Vol -. You are now in fastboot mode.

8. On your PC, open a command prompt or power shell in the folder where your adb and fastboot executables reside. You should place the newtwrp.img and root_boot.img into this folder. If you need to download the files:

root_boot.img --> https://androidfilehost.com/?fid=673956719939818308

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

9. Type the following in command prompt or power shell:

fastboot devices

You should see:

xxxxxxxxxx fastboot

10. Type this:

fastboot oem unlock

fastboot will say this will wipe your data. Tell it to continue.

11. now that you are unlocked, flash the modified boot image:

fastboot flash boot root_boot.img

12. Now flash TWRP:

fastboot flash recovery newtwrp.img

13. Now reboot back to Android:

fastboot reboot

14. Once Android boots up, go to Settings->Developer options and make sure adb is enabled.

15. Now go back to the power shell session and type:

adb devices

You should see:

List of devices attached

xxxxxxxxxxxxx device

16. Before booting into TWRP, make sure to download these two files and copy them to your phone's Download folder:

Magisk-v16.0.zip --> https://github.com/topjohnwu/Magisk/releases/download/v16.0/Magisk-v16.0.zip

no-verity-opt-encrypt-6.0.zip --> https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-6.0.zip

17. Once those files are in place, go to your command prompt or power shell and type:

adb reboot recovery

Your phone will boot into TWRP for the first time.

18. Swipe to allow modifications.

19. If TWRP asks for a password, press the back key to get to the main TWRP screen.

20. Select WIPE then Format Data. Swipe to confirm.

21. Go back to main TWRP screen and select Reboot then Recovery

This should force an unencrypted data partition. TWRP will boot back up again.

22. Now select INSTALL, then browse into the Download folder and select the

no-verity-opt-encrypt-6.0.zip, then select Add more zips and select the Magisk-v16.0.zip.

23. Swipe to confirm flash. TWRP will change the boot image to allow data to be unencrypted and also will install Magisk on your system.

24. From the main TWRP screen, select Reboot then System.

Your phone will boot back into Android. Your phone is now rooted and has TWRP and Magisk installed.
[Miscellaneous Android Development] $UbconciousNavig@tor:
doing this now

thank u very much ill send pictures of the lil twrp

when i get it on there getting all files where they need to be now:fingers-crossed::fingers-crossed::fingers-crossed:

ok just woke up from much needed sleep this guide is prolly the best thing ever going at this right now
[Miscellaneous Android Development] $UbconciousNavig@tor:
but do it from stock

but follow this guide after i flash stock kdz in lg up using uppercut if my phone isnt reconized

an after the flash of stock an i plash with this guide do i pull battery out or factory reset to get to twrp recovery or after this guide once i turn phone on will it boot into twrp automatically

p.s i dont need no where near as mush help with samsung lg is rough.
[Miscellaneous Android Development] tecknight:
I don't really understand what you are asking.

I am going to try and guess.

Are you asking how to get to TWRP after following this guide ?

After following this guide your phone will:

continue to be recognized by LGUP and LG Bridge, in case you want to restore back to stock.

continue to boot to Android when you power it on.

However, it will boot to an Android where you have root access, so it is a simple matter to tell your phone to boot into TWRP.

I personally recommend installing any one of the many reboot apps that supports rebooting directly to recovery or bootloader from android. These apps require that you have root, but you will have root.

I use an ad free app called Quick Reboot, available here:

https://play.google.com/store/apps/details?id=com.antaresone.quickreboot&hl=en_US

All I have to do is touch the Quick Reboot icon and select reboot to recovery and I am booting to TWRP.

The next easiest way is in step 17.

You boot into Android normally, connect your phone to your PC and run the command:

adb reboot recovery from a command prompt or a power shell session.

There is a way to do it using the keys of your phone, but I have never had much success doing it that way.

If that is not what you are asking, please try to ask it another way,.

Thanks
[Miscellaneous Android Development] IDontKnowMang:
I just had the same issue. I flashed stock again and took it from the top. If you installed the newterp.zip go ahead and try flashing this from twrp it might get you back up and running https://drive.google.com/file/d/1BAO6Uz3gxhYW1PEt5UibEi51tayEj4eS/view?usp=drivesdk
[Miscellaneous Android Development] TheGlitch1727:
Hello, I've recently factory reset my phone after having some trouble installing applications after rooting and installing TWRP. However, after the reset was done. My phone just goes to TWRP and I cannot turn the phone back on from there. I've tried to flash the stock ROM through LGUP and LG Flash Tool 2014 with no luck, they just don't work for some odd reason. LGUP says something about needing the latest DLL and LGFT 2014 says "Connection to server failed" and doesn't do anything from there. I'm quite stressed about this as this is my only phone at the moment.
[Samsung Galaxy A3, A5, A7 (2017) Accessories] caiovinniciusbr:
Does A7 2017 have support for QI chargers? someone already use?
[Samsung Galaxy A3, A5, A7 (2017) Accessories] rashisp:
This phone doesn't have wireless charging.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] forkbomb444:
LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit our Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Issues

None?

To migrate from unofficial to official builds, use this zip

Instructions

More detailed instructions on the wiki

Download and install TWRP (download link below)

Download LineageOS and gapps

Boot into recovery

Install LineageOS and Gapps

Downloads

TWRP - https://lineageos.fun/a7y17lte/

Builds - https://download.lineageos.org/a7y17lte

Root - https://download.lineageos.org/extras (arm64)

Gapps - http://opengapps.org/ (7.1, arm64)

Reporting bugs

DO NOT Report bugs if you're running a custom kernel or you installed Xposed

Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)

If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)

If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log

Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

What is your--
LineageOS version:
LineageOS Download url:
Gapps version:

Did you--
wipe:
restore with titanium backup:
reboot after having the issue:

Are you using--
a task killer:
a non-stock kernel:
other modifications:

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Old builds

Thanks to raymanfx for all his work (on the "tricky bits") for the a5!

TWRP

2018-02-14

2018-02-14 Build 2 - fixed dualsim RIL and taking photos

This is based on the Samsung Nougat kernel. Make sure you're running a Nougat-based stock firmware before installing this!

XDA:DevDB Information

LineageOS 14.1 for a7y17lte, ROM for the Samsung Galaxy A Series 2017 A3, A5, A7

Contributors

forkbomb444, raymanfx

Source Code: https://github.com/fourkbomb/android_kernel_samsung_universal7880

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.x

Version Information

Status: Beta

Created 2018-02-14

Last Updated 2018-04-10
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] forkbomb444:
Reserved
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] moistcity:
Oh wow a real ROM for the A7 2017. HUGE thanks [MENTION=5405215]forkbomb444[/MENTION]

Before I begin to test this, can you confirm a few things?

Will this be updated regularly just as the A5 2017 gets updated? I understand if it takes a few more extra days to update it.

Are the current bugs the same as the A5 2017?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] forkbomb444:
It probably will be released roughly in-step with the A5, but maybe more/less often depending on how much spare time I have.

Bugs should be the same as the last A5 release (from yesterday). I haven't run into any at all so far.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] fipec:
Thank you very much for the work.

But little problem:

SIM card not detected.

photos do not store on the SD card or internally.

An idea ? solution?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] tka4enko.riuk:
Please add in the description current errors and bugs, as well as performance it will be very useful
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] fipec:
Bug screenshot
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Slash360:
Amazing work!

Thank you dude.!

But I have 2 problems:

Photos don't store on the SD card or internally, and 4G not work, only 3G.

A question, this rom have AOD?

---------- Post added 15th February 2018 at 12:05 AM ---------- Previous post was 14th February 2018 at 11:59 PM ----------

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

https://ibb.co/iNxrO7

This is one bug
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] forkbomb444:
RIL was broken on the dualsim variant. It will be fixed in the next build.

Photos will also be fixed in the next build
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] omegakun:
TWRP recovery Compiled as *.tar

I've follow the tutorial and works great. and i take your TWRP *.img and compiled as *.tar

TWRP 3.1.1-1

https://drive.google.com/file/d/1buC3B5gwIG8cpPTgY-ThupQfJuKtJGzI/view?usp=sharing
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] ermakovermakov7878:
In version 2018-02-14 Build 2 there are 4g running camera and both SIM cards!

Thank you for supporting our device!:good::good::o
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] freeforce:
Volte support please.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Slash360:
You can help me bro, install the second version but I still do not get 4G and the camera has not been fixed either
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] fipec:
In v2 dual sim and 4G are OK

taking photos is nok.

An idea ?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] D@nijel:
Myb camera hal not polished enough ^^
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] fipec:
Hello,

SMS acknowledgment does not work.

mms reception accused does not even exist in option.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] MauriArtZ:
I install the second Update and not fix the camera. With wipe maybe works? Sorry for my english im from Argentina :)
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Javed ali:
Hope we get official lineage os In the future. My best wishes with you keep development may god bless you
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] freeforce:
New update waiting.

Volte added please.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] moistcity:
Dude, chill. Stop the repetitive waiting post.
[MENTION=5405215]forkbomb444[/MENTION] says he will update the build in his free time. Posting won't make it faster.

There hasn't even been a new update build in the A5 2017 Lineage thread, so just wait for [MENTION=3463426]RaymanFX[/MENTION] for the new build and after a few days OP can fork it to the A7 2017.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Zadli:
Hey. I do not even know how to explain the problem. When you turn off the headphones when the call comes, but you did not answer it yet, the phone hangs, or the sound stops working at all, or when you listen to music, when the screen is off, and even when it's on, you pull out the headphones, it also hangs, please correct the firmware, or explain, maybe I'm dumb. And in advance I apologize for Google Translate.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] fipec:
same problem.

and during a call, if you press the power button to turn off the screen, it puts the call on hold.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] fipec:
[MENTION=5405215]forkbomb444[/MENTION] I have wipe and wipe and wipe... but the photo does not work.

An idea ?
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] Option58:
As you can see first LineageOS 15.1 build has recently been released for A5 2017 in this post.

I've created a little kernel patch so we can boot it on our A7 2017 as well.

You should flash this patch after each new rom update.

Bugs: Tested on my device. Should be the same as on A5.

https://www.androidfilehost.com/?w=files&flid=252254

If you run into any problems with TWRP, you can flash the latest 3.2.1-0 from here.

Note: This is not my work. I was only the one to compile this patch on my PC.

And because of that I wouldn't like to create a new thread. If there is an issue due to forum rules please let me know if I must.
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] moistcity:
It might not be worthy enough to create a new thread but it is worthy enough to be thanked so many people can see this when they go to this thread. Cheers! :victory:
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] McFy:
New attitude waiting

No Eta waiting

:)
[Samsung Galaxy A3, A5, A7 (2017) ROMs, Kernels, Re] tka4enko.riuk:
Friends who tried LOS 15.1? Can you send some screenshots? Please

It also does not charge in the off state