yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Mo3bium:
you too? so Im not the only one? :D

yeah, I'm reading the instructions and I'm like ...... what? your kidding right?

Sooooo did you figure out where those locations are? would be nice to finish this mad duck hunt.

I have my cow files and fastboot folder set and my bootloader unlocked but I'm lost on those instructions.

that $h*tt might as well be Greek without a deeper explanation. so cheers man. :)

---------- Post added at 06:08 PM ---------- Previous post was at 05:56 PM ----------

I'm giving it another chance. I grabbed the RR rom because I wanted to optimize for gaming(dolphin baby!)

but if you ay that one is the best send me a link and ill be sure to grab it. also I'm using 2 new sd cards, one new 32gb Evo and one 64gb SanDisk. both have failed a total of 9 times in just this week. 0_o

so I ordered a little 32gb brand new one from Amazon to guarantee it isn't fake to test if they're both bad. :)

anyways I'm still confused on implementing happy cow. jk I'm delirious- no sleep.

I made another post to you somewhere here in the threads? about the file loc's for all of it.

the what, where when how. I have all the files my fastboot set up on my desktop

but the adb instructions don't make any sense as far as where folder locations like

ex:

adb push dirtycow /data/local/tmp

adb push recowvery-applypatch /data/local/tmp

adb push recowvery-app_process64 /data/local/tmp

adb push recowvery-run-as /data/local/tmp

do I place files in those folders? or are those folder locations in the phone?

not very specific. and I really don't want to be a PITA. - but I'm sure I'm getting there ;)

if this doesn't work I'm gonna break down and get a oneplus3. with a 128gb so f- that SD card.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
All you have to do is put the necessary files on your devices internal storage then run the auto recowvery script. Don't do it through adb. Just use the script.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Mo3bium:
cool.

so in fastboot, copy and paste all of it into my command prompt right?

or piece by piece as needed? I assume section by section correct?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
No plug your device in through usb debugging. Load the recovery.img and no-verity file onto your devices internal storage from windows then run the script.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Mo3bium:
okay got everything but.....

yeah got it that's good to know.

EDIT:

ok this headache is finally coming to an end. I ended up at GitHub grabbing the "raw" un-compiled files. <good grief.

so this wont give me the boot loop will it? I already had one of those this week.

I also noticed your avatar. It just so happens that I have a video short that I made in my graphic's class you would love to appropriate. I'm serious you've got to see it.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
No you have to downgrade to 20a using uppercut. Then use the auto recowvery script. Make sure to rename twrp.img to recovery.img before you transfer it to your devices internal storage.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] da_reeseboy:
Mo3bium, I just want to clarify to make sure you're on the right track - running recowvery against your phone needs to be done with the phone booted into android and usb debugging on. It sounds like you might be trying this with the phone booted into fastboot which will not work... all of the commands to flash recovery in fastboot were removed from fastboot on the G5.

I could be misunderstanding you, but I wanted to make sure you weren't making that little mistake.

With all of that said, this is the tutorial I used, which sounds like the one you've been working with too:

https://xdaforums.com/tmobile-lg-g5/development/root-h830-20a-nougat-lg-g5-hard-t3542496

It took me a few tries personally.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] bbqpanda:
confirm working

Hi Just want say thank you.

I downgrade to 20a, then follow your guide flash:

TWRP-3.2.1-0-h830

lineage-14.1-20180102-nightly-h830-signed

open_gapps-arm64-7.1-micro-20180118

Everything works great!

You have a nice day!:o
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
It took me a few tries as well but now I have it down to a science.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] pixelcookie11:
Thank you so much

Thank you sooooo much you are the best!!!!!!!
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] humnar:
I had a problem where I ran everything fine and it all worked except the reboot in to recovery would just reboot the system and I had no recovery console after that. after days of trying I found right when your supposed to type adb reboot recovery I instead just pulled the battery and used the buttons to enter the recovery console and there was twrp.

Something to try if you have the same problem i did.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] HonorCode:
Thanks,

Easy Recowvery didn't work for me either. I used your manual guide with all the files that came with Easy Recowvery. It worked. I installed TWRP 3.0.2-1, and I'm now running LineageOS.

Just one part that was a little confusing:

The part where you do the adb push needs to be done before you "adb shell". Since I was just following this guide linearly, I just opened another command window and pushed there so I didn't have to exit the shell.

All in all, Great guide.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] rocketrazr1999:
Finally!!! A working method!

After 2 days of hell, I tried this and finally got my phone working.Took forever to find out that you DONT go into Download Mode to run LGUP as every tutorial states. At ;east when youre going from H83020k back to 20a. Anyway, this was a nice breather after that nightmare, and before the drivers mess with rooting after. Thank you so much! All I did was copy/paste this whole tutorial and it went perfectly. And you wont lose TWRP with rebooting if you reboot by ADB, so dont worry.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] maxwintrobe:
Same here, got phone off eBay on 20h, used Uppercut with stock KDZ to get back to 20a, tried EasyRecowvery script (about 10+ times) with no success, then followed OP instruction and it worked.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jaredmac11:
For the uninitiated and dense (me)... please help.

I pulled up some old threads and dove headfirst into rooting. I attempted to run a rooted 10D TOT and got an error. My device was newer, yadda yadda, no worky.

I found a new old 20A kdz so Im back to square 0. If I want to get to Lineage 15.1, which I believe is Oreo, from my 20a kdz, which I believe is nougat... where exactly do I need to go? What is the name of the appropriate rooted Oreo kdz or TOT to update my phone to? And I apologize if my terminology is way off...
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] hendriansyah:
will the custom recovery survive an upgrade via LGUP??

hi guys, i managed to flawlessly done the procedure with desired result (downgrade from 30c (oreo) to 20a (nougat) with anti-rollback v1 in it, and flashed the recovery with the twrp). thanks a bunch for the OP.

Then one question popped up. will the custom recovery survive if, let's say i'm going back to oreo (30c) via LGUP?

thanks again :o
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SnowFuhrer:
I keep getting permission denied on the first 4 commands. Does anyone know a fix? I AM on 20a. :confused:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SnowFuhrer:
Not if you flash the kdz.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SnowFuhrer:
Managed to get to the first reboot. Then when I

getenforce

it shows enforcing. I ran these ADB commands off my phone as the computer was having problems. Anyone?

Edit: got that. Now I get unknown package when running

run-as exec ./recowvery-applypatch boot
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] hightech316:
I am new to the LG scene. Thanks for this easy walk through .

hoping to contribute soon!
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] h2five:
i'm stuck at this kindly help to go through

[IMG="screenshot"]https://i.ibb.co/Q64NFz5/Capture.png[/IMG]

i am doing this on LG D830-20o , Android Version 7.0. Bootloader unlocked
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] hightech316:
Make sure all packages are within ADB dir, or use full DIR when running , "run-as exec C:\ADB\recowvery-applypatch " ( If that is where is it located of course, change it around to work with yours )

What does "adb logcat" show ?

Perhaps check that USB Debugging enabled . ( I don't think you would of made it this far if it was not , still good to see )

Doesn't make a difference, But I use powershell. It has autocomplete and command history, making life easy.

I had moved all files required for this walk-through into the root of my ADB folder. Worked 1st time around on LG H-830 , Running 20A.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] h2five:
Thanks .. problem solved .. by downgrading. To 20a
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SnowFuhrer:
Ok, thanks I got it working now. Hardest phone to root that I have seen yet.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] hightech316:
All these commands can be made into a bash script / shell script to automate .

I believe it has and posted under easyrecvvery
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Mattzees:
Where can I find this EasyRecovery? I have an H830 with Oreo, and I can't install TWRP or do anything with it.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] sxotty:
Hey I downgraded from 30c to 20a.

h83020a is software version. This is hanging at the logcat step.

Is there something I need to do timing wise to make this work?

C:\H830>adb push dirtycow /data/local/tmp
dirtycow: 1 file pushed.

C:\H830>adb push recowvery-applypatch /data/local/tmp
recowvery-applypatch: 1 file pushed.

C:\H830>
C:\H830>adb push recowvery-app_process64 /data/local/tmp
recowvery-app_process64: 1 file pushed. 0.6 MB/s (10200 bytes in 0.016s)

C:\H830>adb push recowvery-run-as /data/local/tmp
recowvery-run-as: 1 file pushed. 0.6 MB/s (10192 bytes in 0.016s)

C:\H830>adb shell
h1:/ $ cd /data/local/tmp
h1:/data/local/tmp $ chmod 0777 *
h1:/data/local/tmp $ ./dirtycow /system/bin/applypatch recowvery-applypatch
warning: new file size (18472) and file old size (165144) differ

size 165144

[*] mmap 0x72d8cd3000
[*] exploit (patch)
[*] currently 0x72d8cd3000=10102464c457f
[*] madvise = 0x72d8cd3000 165144
[*] madvise = 0 1048576
[*] /proc/self/mem 1367343104 1048576
[*] exploited 0x72d8cd3000=10102464c457f
h1:/data/local/tmp $ ./dirtycow /system/bin/app_process64 recowvery-app_process64
warning: new file size (10200) and file old size (18600) differ

size 18600

[*] mmap 0x7e69ec8000
[*] exploit (patch)
[*] currently 0x7e69ec8000=10102464c457f
[*] madvise = 0x7e69ec8000 18600
[*] madvise = 0 1048576
[*] /proc/self/mem -1971322880 1048576
[*] exploited 0x7e69ec8000=10102464c457f
"Screen turns white and says LG"
h1:/data/local/tmp $ exit

"I did this on my second try b/c nothing happened the first time"
C:\H830>adb devices
List of devices attached
LGH8302866de87 device

C:\H830>adb logcat -s recowvery

Nothing happens at all after this? It just stays on the white LG screen for at least 6 minutes that I timed. Eventually I gave up and pulled the battery out. Suggestions?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] sxotty:
figured it out

Figured it out

https://xdaforums.com/showpost.php?p=78927719&postcount=1554

Old post below

-----------------

https://xdaforums.com/tmobile-lg-g5/how-to/guide-root-twrp-lg-g5-using-t3580264

Though it doesn't work. Someone there says something about antivirus. Maybe that is an issue. I dunno.

For me it said: files are missing download again

So I disable AV which might be risky, extracted again and ran again

Then it said "write permission failed"

I am nearing the point of giving up, but I really don't want to.

And after install a VM and trying in win7 I get the same result bleh so it has to be the phone.

Unlocked
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] PjLyTam:
$ cd /data/local/tmp

/system/bin/sh: $: not found
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Mattzees:
If you search my posts, a kind user posted the solution, which I reposted elsewhere. I don't know how to view my posts, or I'd link to it directly for you.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] frohro:
How did you get around the enforcing?

How did you get that? I have the same issue. It always says:

h1:/ $ getenforce
Enforcing

When I reboot recovery, I get this screen saying "Your device is corrupt. It cannot be trusted and will not boot." It does finally reboot, but in enforcing mode.

I tried a factory reset before everything, but nothing seems to change this.

Any suggestions?

Thanks,

Rob

---------- Post added at 04:49 AM ---------- Previous post was at 04:25 AM ----------

How did you get that? I have the same issue. It always says:

h1:/ $ getenforce
Enforcing

When I reboot recovery, I get this screen saying "Your device is corrupt. It cannot be trusted and will not boot." It does finally reboot, but in enforcing mode.

I tried a factory reset before everything, but nothing seems to change this.

Any suggestions?

Thanks,

Rob

Okay, I figured it out. You need to fastboot oem unlock first, before doing this. The author of this method tried the "easy" way first, and did that already. See this page.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SnowFuhrer:
I don't even remember how I fixed it. I think I was running adb from my phone via otg cable and when I switched to PC it worked. But I don't know.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] stephan6:
H83020A decryption unsuccessful

pls i need help. my h83020a have been stressing the hell out of me. i have been on this phone for a month now trying to root.

it gives me decryption unseccessful no matter what i do. pls i need serious help. thanks in advance
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] TheMadScientist:
By chance do you know if this method is still viable. I'm picking one up on a decent deal never had a T-mobile one only sprint and Verizon. At the time there was no root at all for them
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SnowFuhrer:
I did mine a couple months ago so it should still be good.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] TheMadScientist:
H

I got shafted ??? my device was Sim unlocked and working good. When I flashed the 10a it relocked the device. Which is no good to me.

Now I'm scared to unlock it that a factory reset or firmware or rom flash may undo it again.

I saw where someone listed a nearly Instant cheap service that I can do right from my pc tmobile claims they submitted a ticket even though I have no account with them. They claim
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SnowFuhrer:
Aww too bad. I got my g5 on a deal and have never had a sim card in it so didn't have any problems. Does sim unlock not have to do with imei? I don't know anything about it tbh
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] TheMadScientist:
Yea. I verified with tmobile even though no account. Told em I bought it from LG directly and it relocked. They are pushing it for whitelist within 3 days. Supposedly. Just checked in again and they verified its in progress. But T-mobile uses a on device app and server unlock Not code based like the rest of the fricking world. I got mine rooted and twrped nicely. Battery's about shot. But oh well. There's some nice ones online. If T-mobile don't unlock paid service is the only way ranging from a supposed 14$ upto 60

Either way I had several g2s g3s 4s and now 3 5s the g5 being my almost in most ways.

I will use it for something if not just a camera on manual mode and such. But I have a few tricks up my sleeve yet. Just caught me in between payday on bill week. Or I'd already paid to redo it ???
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] oliverqueen0301:
Fashing my lg g5 830 with twrp

Any time I start installing the LG-H83030c.ARB01.TMO.US.COMPLETE.FLASHABLE is shows the message checking MD5 and later shows no MD5 file found the process fails.

Can someone please help me?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] EEngineer:
I had the same problem on 20a, it was because my bootloader wasn't unlocked.

You need to first go into Developer Options and enable "Enable OEM Unlock".

Next use fastboot to unlock the bootloader. I followed the instructions here:

https://nerdschalk.com/unlock-bootloader-lg-g5/

WARNING - UNLOCKING YOUR BOOTLOADER WILL FACTORY RESET YOUR LG G5!!!

Since the G5 was just factory reset, you need to re-enable Developer Options & make changes. Enable "USB Debugging" and "Force allow apps on external". Disable "Automatic system updates" and disable "Verify apps over USB". Notice that "Enable OEM unlock" is now hard enabled & cannot be changed.

Next restart the OP root & TWRP install instructions from the beginning.

Next time I ran "adb logcat -s recowvery" I got no response. So I let it sit there for 2 minutes before hitting Ctrl-C, just like before. But when I got to

$ getenforce

it came back "Permissive" so it worked! I finished rooting & installing TWRP. Now I just need to figure out what ROM & kernel to install.

Hope this helps.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Aethera:
Anyone who has the issue of it hanging at the adb logcat -s recowvery step, try the following:

Try running logcat -s recowvery directly in an adb shell on the target device:

adb shell

logcat -s recowvery
[OnePlus 3 Questions & Answers] Djalaal:
I haven't had any software update for about 1.5 months. I was on Resurrect Remix ROM Nougat, firmware 3.2.6, and on TWRP 3.0.1 (or 3.0.0 I'm not too sure). Today I tried updating. Things went wrong. Here are my steps:

1. Wiped everything except internal storage.

2. Updated recovery to twrp-3.0.2-1.28 within recovery itself. Used the file given on the ROM thread https://xdaforums.com/oneplus-3/development/rom-resurrection-remix-m-t3399960?nocache=1.

3. TWRP couldn't decrypt my phone even with the right password.

4. Downgraded TWRP back to 3.0.1. Decryption worked.

5. Updated firmware & modem to version 4 within recovery. Used the files given on the same ROM thread.

6. Updated recovery again to twrp-3.0.2-1.28, this time via fastboot.

7. TWRP couldn't decrypt. Tried trwp 3.0.3 from the official twrp site as well. Same problem.

8. Downgraded TWRP back to 3.0.1. Recovery didn't even start. Phone freezes.

I have two questions. What is causing this problem? And second, any way I can use fastboot to downgrade firmware 3.2.6, so that I can at least access my internal storage and back it up. I got loads of data in there.
[OnePlus 3 Questions & Answers] Djalaal:
I have found a solution. Even without decrypting /data, you can still get into recovery (except you can't read your data partition). This is key. What I did is simply use recovery sideload to flash the old 3.2.6 firmware (apparently flashing works even without decryption), use fastboot to flash twrp 3.0.1, and backup all my data to the computer via mtp. Then I completely wiped everything, flashed the new firmware and recovery, and decryption worked.
[Android Q&A, Help & Troubleshooting] prakhar0x:
Hi,

I have seen people port touchwiz multiwindow (henceforth MW) from touchwiz roms of mid-level / high-level Samsung sets to low-end ones. Like there are ROMs for j7 2015 based on stock (which is NON-MW) that has all the MW features. I really want to learn how to do that.

I use MW a lot. It's not fair to bother busy developers demanding new releases when Samsung releases updates with security patches. I would like to do it myself.

So far i have discovered extra xml files in /system/etc/permissions folder and a multiwindow.jar in framework folder . But i dunno anything else that might have taken place within framework res and other jar files.

Could soneone be kind enough to show me the path to enlightenment, please.

Thanks and regards,

P. S. I tried contacting the developer, but he seems really occupied with something at the moment.
[Blade General] David02266:
Model - ZTE BLADE A310

After hard reset. email locoked. forgot email.
[Blade General] jiguan:
Do you mean reset in recovery? If you can access recovery by pressing power + vol up until the recovery page appear, then do factory reset, then reboot. . You should good to go and create new gmail account.
[Blade General] yurais:
looks like it is locked put by FRP

gotta find a way to bypass it, use google
[Wing, P4350 General] Voyager_MP:
Hi guys, I´m sure everyone cries for help here.

I got a Vodafone Herald (German)

I flashed wings 2.3 final.

After 20 min the updated finished with the message that the datatransmission was interupted. I did not touched the laptop and the phone during flashing.

So how do I get my phone back to life.

I downloaded the original flash rom from vodafone but it requires an Activesync connection. My phone remains in the start screen, sooo there is no activesync connection.

:o
[Wing, P4350 General] systematic:
put the phone into bootloader

flash the original from there
[Wing, P4350 General] ValdikSS:
and no activesync connection needed!

or try to flash via SD card
[Wing, P4350 General] ivanmmj:
http://xdaforums.com/showthread.php?t=345411
[Wing, P4350 General] Voyager_MP:
thx very mutch, it worked :rolleyes:
[OnePlus 3 Questions & Answers] atomicbuddha:
Hello XDA,

BACKGROUND

Last night I downloaded and installed the latest OxygenOS OTA (4.0.2) for Nougat 7.0 (stock). I noticed that the Messages (the actual name of app) app was different. It looks like the developers made some enhancements to the Messenger (actual name of the old app) app. I like the look of the new app and thought I'd give it a try. After the upgrade, the old Messenger app was still the default app. I noticed that the Messages app would only allow me to view my texts. In the Messages app, there was a prompt for me to change my default texting app from Messenger to Messages. This allowed me to send texts via the new app.

ISSUE

When sending a MMS message through the latest Messages app, the message is being transformed to SMS. Meaning, my texts get sent out individually to the recipients - even though my Messages app shows my text in a group when looking at it on my phone.

I tried to do some research on Google but could not find a solution. Any thoughts or suggestions would be greatly appreciated. Thanks in advance.

- James
[OnePlus 3 Questions & Answers] robogo1982:
Do you have your MMS APN installed in your phone? If not, add it manually or request it from your operator and reboot the phone.
[OnePlus 3 Questions & Answers] atomicbuddha:
Hmm, I would not have thought that the APN would have been reset. It was working prior to the OTA update. But anything is worth a try. I will look into this and get back to you.
[OnePlus 3 Questions & Answers] DroidJay123:
I have the same thing going on although not the MMS issue as all my apn settings remained unchanged. I am confused about why I now have the pre 4.0.2 Messenger app and now also have Messages since 4.0.2 update. Why is this and how does it get fixed so I only have one app for sms/mms.

Thanks all!
[OnePlus 3 Questions & Answers] atomicbuddha:
Jay, are you saying that you were able to use the latest Messages app and still able to send and receive MMS?

I could not get the new Messages app to send/receive MMS. I gave up and reverted back to the older Messenger app. I went into settings>apps>messages and force stopped the application. Then I disabled it. The old Messenger app works fine.

- James