yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G6 Guides, News, & Discussion] autoprime:
not a bad idea.. it's a great way to get multiple phones in a year. the only thing keeping me from hopping on JOD is that I'd probably regret giving the phones back.. never know when you need to revisit an old phone to test something. But doing something like JOD may be the only way I can get multiple phones.. we shall see when it comes time to pay off my G5 :confused:

I don't even use these phones as my main device.. they never leave my desk and often never even have a sim card put in them. So if I could get my hands on just a board.. or broken phone or something that'd be most ideal for my situation. But.. we can't always get what we want now can we? :crying:
[T-Mobile LG G6 Guides, News, & Discussion] ariesgeek:
Yeah, I ran into some of the same error message. Check out the thread for Issue #7. (Sorry, too "new" to post a link, but it's here: https://github.com/Lekensteyn/lglaf/issues/7 ) This provides some clues as to how to possibly go about getting the right keys. I will mess around with this tomorrow.

I also noticed something about the HELO command. The protocol documentation states that arg1 is the protocol version and states, "(resp must match req.)" without further details being provided. As the documentation states, lglaf is sending a value of 0x01000001 (\1\0\0\1), but the response does not match. The response that is being sent back by the device is (little-endian) 0x01000005 (\5\0\0\1). Yet, neither the lglaf utility nor the device balk, as noted by the ability to subsequently run '!INFO GPRO \x08\x0b\0\0' and/or '!CTRL RSET'

Also, the second argument is minimum version. The device is sending a response that indicates the minimum version is 0x10000001 (\1\0\0\10). It would appear that the device is saying its minimum version is higher than our version, which is 0x01000001.

And again, not sure if it means anything at all since it does seem to be working, but for science, at least:

host to 2.2.2 (request): HELO version 0x01000001

0000 48 45 4c 4f [COLOR="Blue"][B]01[/B] 00 00 01[/COLOR] 00 00 00 00 00 00 00 00 HELO............
0010 00 00 00 00 00 00 00 00 5c b1 00 00 b7 ba b3 b0 ........\.......

2.2.3 to host (response): HELO version 0x01000005 min version 0x10000001

0000 48 45 4c 4f [COLOR="DarkOrange"][B]05[/B] 00 00 01[/COLOR] [COLOR="Red"]01 00 00 [B]10[/B][/COLOR] 00 00 80 00 HELO............
0010 02 00 00 00 00 00 00 00 9e 3c 00 00 b7 ba b3 b0 .........<......
[T-Mobile LG G6 Guides, News, & Discussion] Honestly Annoying:
I have the KILO commands here... this is the work of [MENTION=3614528]FluffyMittens[/MENTION] and our findings by using a serial port sniffer while running a word generator that sent different commands through a serial connection.

KILOCENT (this is the handshake, cleaned up)

4B 49 4C 4F 43 45 4E 54 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 BE E3 7B 00 00 BE B4 BE B6 BE B3 BE B0

RAW HEXIDECIMAL

0x4B 0x49 0x4C 0x4F 0x43 0x45 0x4E 0x54 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 (insert byte) 0xE3 0x7B 0x00 0x00 (insert byte) 0xB4
(insert byte) 0xB6 (insert byte) 0xB3 (insert byte) 0xB0

KILOMETR (cleaned up)

4B 49 4C 4F 4D 45 54 52 00 00 00 00 02 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 BE B4 BE B6 BE B3 BE B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

RAW HEXIDECIMAL

0x4B 0x49 0x4C 0x4F 0x4D 0x45 0x54 0x52 0x00 0x00 0x00 0x00 0x02 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00 (insert byte) 0xB4 (insert byte) 0xB6 (insert byte) 0xB3 (insert byte) 0xB0
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

KILOGRAM (key)

dqoev)ohnsWu\\bk`oiicmZ_lpqe\\ealp

I don't exactly know how to use these. I know that these are supposed to be "secret" but since the LG scene has gone down recently here they are. Hopefully this helps, if anyone needs anything more I have some more commands as well.
[T-Mobile LG G6 Guides, News, & Discussion] hendusoone:
So... I tried lglaf.py with that new kilogram key, but it didn't work. Then, I went back and took another stab at updating the version with --unlock to be compatible with python 3. I was a bit more successful this time, and it is able to complete the handshake and execute commands (like ls) without erroring out. It's using the old key - the new one you provided errors out. I don't know of a safe way to test writing data to the G6, so I will leave that to someone a bit more experienced.

I have attached my updated lglaf.py to this post. Extract it to your lglaf directory overwriting the existing lglaf.py. If you don't have lglaf yet, get it here first: https://github.com/Lekensteyn/lglaf

Requirements:

Install python3, then run: pip install pycryptodomex

Once that's done, you should be able to execute commands like this:

python lglaf.py --unlock --debug -c "!EXEC ls -l /system/\0"

Note that partitions.py is not working.
[T-Mobile LG G6 Guides, News, & Discussion] Honestly Annoying:
Can it run any other commands besides "ls"? Try out "id" and "whoami"
[T-Mobile LG G6 Guides, News, & Discussion] hendusoone:
id and whoami do not work. Both give this response:

Hello, I am LAF. Nice to meet you.

But, ps works.
[T-Mobile LG G6 Guides, News, & Discussion] Honestly Annoying:
Okay, so we are at the same point with the G5 then. Someone who owns the device is going to have to crack the encryption with a serial port sniffer
[T-Mobile LG G6 Guides, News, & Discussion] hendusoone:
And that is way beyond my abilities. Guess I'm going back to observing/tinkering. If anyone thinks of something to try, I'm happy to give it a shot.
[T-Mobile LG G6 Guides, News, & Discussion] ariesgeek:
Well, I got ls to work. By doing a full /system/bin/ls. But that's it. ls and ps. When I run a ps, which by the way, I cannot provide arguments... my parent process appears to be /sbin/lafd.... So there's that.

More to come. I'm tired.
[T-Mobile LG G6 Guides, News, & Discussion] Honestly Annoying:
Wow, seems like the LG scene might have another developer on board! This is all extremely good work, and while you always get the users who just want answers right away this is very valuable information for the new protocol. Please do not let anyone bug you with just wanting more information, this is a great start!

Hit me up on Skype if you find some time, I might purchase a G6 with a bad IMEI or just the board as autoprime mentioned and tinker around with this device ;)
[T-Mobile LG G6 Guides, News, & Discussion] ariesgeek:
Aww shucks, thank you. :) As with anything we do here, my work was quite minimal, I just took what others have done and tried to do something with it. Hopefully the little bit that I've added might be noticed by a smart pair of eyes who will catch something that my amateur eyes glossed over.

Something I didn't mention, though... Like I said, I'm a network guy, so it's a given that I am always running Wireshark when doing things like this. I haven't scrubbed them yet, but I do have captures of all USB communication to and from the phone during my limited testing time. I would be happy to provide the raw dumps privately if anybody needs, or snippets publicly. Of course, I'd be willing to get captures of specifics as well.

Moving on.... Anyone have any ideas on where to look next?
[T-Mobile LG G6 Guides, News, & Discussion] MicroMod777:
Yes. Pixel 2! :))))
[T-Mobile LG G6 Guides, News, & Discussion] Honestly Annoying:
Take your Pixel circlejerk somewhere else... phone looks like a piece of garbage
[T-Mobile LG G6 Guides, News, & Discussion] mingkee:
If all Android can root no more, I will move to iPhone.
[T-Mobile LG G6 Guides, News, & Discussion] Josh McGrath:
I hope it doesn't come to that, but I believe HTC said they will always support the dev community..unlike the mess LG has done us
[T-Mobile LG G6 Guides, News, & Discussion] FluffyMittens:
I probably wouldn't openly post the keys. Gives an easy giveaway of progress if they want to plug any holes before or soon after any release of a tool.

The KILO commands are much more involved and accounted for most of the time I spent on the tool itself.

This was a forced realization from a good man I was talking to. You know who you are if/when you read this.
[T-Mobile LG G6 Guides, News, & Discussion] FCORivers:
You better buy an old iPhone cause there's no jailbreak as of now for ios10.3.2.
[T-Mobile LG G6 Guides, News, & Discussion] mingkee:
Android devices won't be better than iPhone if they're locked down like this. Not to mention iPhone has way better support.
[T-Mobile LG G6 Guides, News, & Discussion] zathus:
With all due respect that's a ridiculous statement. You're essentially comparing one company too dozens. Is the pixel locked down? Oneplus? As far as support, better support than who? Samsung, HTC, Google, OnePlus, Lenovo, Nokia , BlackBerry..to mention a few.
[T-Mobile LG G6 Guides, News, & Discussion] mingkee:
Just wait until Google blocks Play Store access on all rooted devices. The dread and doom of Android is coming.
[T-Mobile LG G6 Guides, News, & Discussion] zathus:
Understand rooted and the desire to root is very Fringe. It very well could be but it won't effect their bottom line. I think it's crazy we don't have full access to our phones. But not enough people care. Or worse, even know too care.
[T-Mobile LG G6 Guides, News, & Discussion] Josh McGrath:
Come to think about it, why would LG want to keep their devices unrooted on the TMobile g6 but not lock the bootloader?
[T-Mobile LG G6 Guides, News, & Discussion] brossovitch:
So are we totally screwed out of having control of our devices? This is the first Android device since the Cupcake days that I've not had rooted!

Oh well at least it's amazing anyway..
[T-Mobile LG G6 Guides, News, & Discussion] johndc7:
There was a thread a couple days ago about testing something but ig that didn't work.

Hopefully we will hear something soon.
[T-Mobile LG G6 Guides, News, & Discussion] frap129:
I don't own a G6, just browsing the forums and want to see if i can help. Does the getenforce command work? if it does, try running "setenforce 0". This will (temporarily) put SELinux into permissive mode, which would aid in rooting. If you can setenforce 0, then it should be as simple as manually installing an su binary
[T-Mobile LG G6 Guides, News, & Discussion] pantmunu:
[MENTION=5051294]frap129[/MENTION] the TMobile bersion of the LG G6 is bootloader unlockable. As far as I know. If what you posted(I don't know anything about any of those codes lol) will get us a step closer to root, I'll be more than happy to be a tester. If anything goes wrong, I have a op3t as my secondary so I'll just use that and get the phone replaced.
[T-Mobile LG G6 Guides, News, & Discussion] Ducter:
When I've went for permissive in the past, I've always had to call su prior to setenforce, I'll try on my wife's phone when she gets in this evening for the heck of it, worth a shot.

Edit- I get command not found.
[T-Mobile LG G6 Guides, News, & Discussion] pantmunu:
Well I'm pretty sure in order to use setenforce command you need to run it from or as root user. Correct me if I'm wrong.
[T-Mobile LG G6 Guides, News, & Discussion] Ducter:
That's exactly what I said but thought worth a try anyways, that was also my findings as noted by the edit I did previously.
[T-Mobile LG G6 Guides, News, & Discussion] stoner007:
Oh, all your post are black magic for me :).

I dont know if my post can help you, but on LG G4 is the way, how run TWRP on locked phones: https://xdaforums.com/g4/development/locked-twrpinfish-locked-g4-devices-t3573048
[T-Mobile LG G6 Guides, News, & Discussion] mattlowry:
this requires root which is what we need. we have an unlockable bootloader but no root yet
[T-Mobile LG G6 Guides, News, & Discussion] stoner007:
Sorry, i didnot notice that root is required for TWRP in Fish.
[T-Mobile LG G6 Guides, News, & Discussion] The_Anomalist:
Over at the zte zmax pro official root thread they were able to change the selinux to permissive and that phone is more locked down than this phone will ever be. Go check it out maybe something they did could help us here
[T-Mobile LG G6 Guides, News, & Discussion] The_Anomalist:
I tried to fastboot flash the twrp.img but it said unknown partition, the fastboot commands show "fastboot flash partition" is it possible to get the recovery partition from the H870 model and flash it on our device so we can flash the recovery?
[T-Mobile LG G6 Guides, News, & Discussion] nima0003:
Even if we got the h870 recovery partition nothing would change, and there still wouldn't even be a way to flash it to begin with unfortunately.
[T-Mobile LG G6 Guides, News, & Discussion] brossovitch:
What command are people typically trying?

"fastboot flash recovery twrp.img" or "fastboot flash recovery twrp.img" ?

I kinda wanna mess with it a little bit when i get a chance soon.
[T-Mobile LG G6 Guides, News, & Discussion] thjubeck:
We don't have fastboot we are looking for a backdoor in laf mode that exist in order to flash it.
[T-Mobile LG G6 Guides, News, & Discussion] brossovitch:
Yes I Know all of that is known. I even tried finding the specific version of Lg Up in my collection to no avail.

In any case this device is pretty good even without root. Hopefully the v30 will also be. I'll know soon.
[T-Mobile LG G6 Guides, News, & Discussion] thjubeck:
Never got to ask but think I saw your post about that. What is special about that particular version?
[T-Mobile LG G6 Guides, News, & Discussion] brossovitch:
Dunno. They said its the special version LG uses to flash phones.
[T-Mobile LG G6 Guides, News, & Discussion] thjubeck:
Just so you know dmesg works as well which is kinda helpful in seeing what your commands do. Also after you unlock use the send_command tool to do commands as it sends better.
[T-Mobile LG G6 Guides, News, & Discussion] mattlowry:
i have tried kingroot previously but not recently
[T-Mobile LG G6 Guides, News, & Discussion] wolfgart:
any progress to achieve User Root, guys ?

Temporaly root too could be useful ...
[T-Mobile LG G6 Guides, News, & Discussion] Josh McGrath:
I'm a little confused on this above. "The goal is to get around dm verity with an unlocked bootloader.".

So I assume youre using a locked boot model? Or haven't oem unlock yet?
[T-Mobile LG G6 Guides, News, & Discussion] Rollerz70:
About 90%of that post wasnt by me. What I wrote started below the lines----------------

At thee time I wasnt sure how to put quote someones else's post. I actually started a new thread with a quote from another's post that might give us a idea or 2.
[T-Mobile LG G6 Guides, News, & Discussion] thjubeck:
So with the regular LG flash tool you can write a lot of partitions but be careful have bricked my phone (us992) doing this and it's now stuck in fastboot. It's a G5 but concept should work for all other lg phones.
[T-Mobile LG G6 Guides, News, & Discussion] Josh McGrath:
How did you brick it? And were you using a tot or kdz?
[T-Mobile LG G6 Guides, News, & Discussion] thjubeck:
Flashing .img partitions long story can jump the pins and get the board in the real emergency mode but don't have the tool to flash it and download mode skips and goes to fastboot
[T-Mobile LG G6 Guides, News, & Discussion] Josh McGrath:
Ah gotta. Have you tried QFIL? (With an i) that's qualcomms tool supposedly. Or is that what you were using? I can't get anything to work on the v30 with those tools, for one I can't find the xml partition table or the ms8996 firehose anywhere . Plus I am not comfortable opening the v30 being it's water tight
[T-Mobile LG G6 Guides, News, & Discussion] thjubeck:
That's what I was trying to use. I found a guide on generating the files but it will not work on the G5.
[T-Mobile LG G6 Guides, News, & Discussion] Josh McGrath:
Can you share the files, or a link to where you found these?
[T-Mobile LG G6 Guides, News, & Discussion] thjubeck:
I tested a lot of this and some of it seems like it could work depending on the device and some of it sounds sketchy but not personally had any of this to work for me. Some of the reason this info doesn't work on the G5 is because of the security included into the files for the G5 but hopefully we can get enough people together to finally get it working. If we can get it working on one of the locked bootloaders then it should be able to be taken across several devices given the fact that the same style firmware is used on the G5,G6, V30 as far as I can tell.

https://androidforums.com/threads/guide-how-to-create-partition-xml-gpt.1125433/

http://www.aryk.tech/2016/12/how-to-convert-kdz-files-to-img-and-bin.html

http://www.aryk.tech/2016/12/how-to-create-msimagembn-file-flashable.html

http://kernel-develop.blogspot.com/2012/04/how-to-build-emmc-flash-programmer.html

http://kernel-develop.blogspot.com/2012/05/how-to-generate-8660msimagembn.html

https://www.youtube.com/watch?v=BmAuzbG9re4

https://xdaforums.com/windows-10-mobile/create-rawprogram0-xml-ffu-file-extract-t3385201

http://www.aryk.tech/2016/12/how-to-flash-qualcomm-device-with-qpst-qfil.html

https://git.linaro.org/landing-teams/working/qualcomm/db-boot-tools.git

https://www.leakite.com/2016/06/revised-how-to-unbrick-qualcomm-android.html
[T-Mobile LG G6 Guides, News, & Discussion] SuperPerfection:
Would this be helpful?

https://xdaforums.com/v20/how-to/laf-download-mode-how-root-t3676011/page89

Update:

To clarify a way has been found:

We just need a working twrp image for the LG G6 Tmobile.
[T-Mobile LG G6 Guides, News, & Discussion] runningnak3d:
Yes, this will work on the H872, but you need a TWRP build that you are pretty confident will boot. If someone wants to be brave and try the US997 TWRP build, then you can use this as is: lafsploit.

If no one wants to be brave, I will work on a TWRP build that I KNOW will boot when I have the time.

-- Brian
[T-Mobile LG G6 Guides, News, & Discussion] SuperPerfection:
Flippy125 may have a twrp honed version for the H872, im checking over there see if there is a link:

https://xdaforums.com/tmobile-g6/how-to/wip-tmous-lg-g6-twrp-root-mega-thread-t3584115
[Samsung Gear S2] killarneygetaway:
Hi There,

About a week ago, there was an update to the Gear S-Plugin on my phone. I installed this update and all of a sudden when I received a call on my phone, the name would be displayed on my watch. GREAT. I've been wanting this feature. Then I started to notice that my watch was constantly disconnecting/reconnecting to my phone. I've been playing around with settings for the past week trying to get it to work. Today, I bit the bullet and decided to re-install all software. I reset the watch to factory and uninstalled all related software and started from scratch. Not 10 minutes after I finished, my watch disconnected again. It spends more time being disconnected than connected. Am I the only one experiencing this issue? For the past year and a half since I got the watch, it is been working flawlessly. Nothing has changed on my phone other than app updates.

Any thoughts or suggestions as to what to try next would be greatly appreciated.

Thank you,

Jason...
[OnePlus 3T Questions & Answers] noushadpottippara:
When i open cpu control apps like 3c cpu manager and rom toolbox pro, the maximum frequency is set to 1.59 Mhz by default and i can't increase it. When i increase it, it again comes to 1.59. Any solution?

Using oneplus 3t
[OnePlus 3T Questions & Answers] ast00:
Overclocking depends on the kernel. If you are using the stock ROM and stock kernel, don't even hope.

If you have a supported kernel (not likely), use Kernel Adiutor. Much more up to date.
[OnePlus 3T Questions & Answers] pitrus-:
Also there's core control which will interfere as to make sure your CPU doesn't melt into a beautiful pile of liquid metal ?
[OnePlus 3T Questions & Answers] fricy81:
As far as I know you shouldn't overclock your CPU, there may be some design problems with it, and becomes unstable. Sultanxda investigated the problem back in December, and it looks like even the stock rom must use some tricks (aggressive thermal throttling?) to reach maximum spec. frequency. Overclocking on custom roms lead to crashes.
[OnePlus 3T Questions & Answers] jayzer01:
Radioactive kernel for los based roms by [MENTION=5044876]acuicultor[/MENTION] has overclock. I use it and love it. Great sot, 7-9 hours easy, less if I game. I actually have the large cores underclocked to 2. though so that may help a little with my sot but it shouldn't affect it much at all
[OnePlus 3T Questions & Answers] exaflare:
That is normal although the max frequency of the little cluster is 2.15Ghz as advertised by Qualcomm for Snapdragon 821.

According XDA review of oneplus 3T dated November 2016 https://www.xda-developers.com/oneplus-3t-xda-review-what-has-changed-and-by-how-much/ the Little cluster was clocking to 1.6Ghz (round off) as opposed to 2.15Ghz which is its maximum clockrate, it is safe to say that oneplus intentionally did that in order to save more battery.

Btw im using custom kernel ElementalX kernel based on Oxygen OS 4.1.1 and even I set the little cluster to its maximum 2.15Ghz it always reverts to 1.6Ghz.

As you can see OnePlus 3T is still blazing fast even the little cluster is a bit downclocked.

https://youtu.be/otwED6s3rCQ

Oneplus 3T manage to beat LG G6 which is a 2017 device

https://youtu.be/8JoPC8UsE0w
[OnePlus 3T Questions & Answers] jayzer01:
Radioactive kernel stays at 2.188Ghz for the little cluster for me even after reboot if I set it that way. I prefer 1.6Ghz, I like my insane sot. The big cluster oc at 2.419Ghz does not stay though, it automatically reverts back to 2.3Ghz. But I actually prefer to set it uc at 2.15Ghz. Still blazing fast.

EDIT: Using exkm aswell
[OnePlus 3T Questions & Answers] jayzer01:
OC more than possible
[Galaxy A3, A5, A7, A8, A9 Q&A, Help & Troubleshoot] ruffled1234:
Hi

Xda and everybody:)

I am newbie and noob at this...

today need to know anything about how modify on model Sm-a800i? Which custom,kernel or else.. should be working

And how change selinux permissive on android mm 6.0

If someone know let's tell me or gimme that.. Hopeful anyone can help me

Thanks you..

(Sorry about English language)

user

Model SM-A800i

Android MM 6.0
[Android Q&A, Help & Troubleshooting] rishabhgodofwar:
Is it possible?
[Android Apps and Games] freestudio:
➣ QR Code & BarCode Scanner can scan barcodes on products, or DataMatrix and QR Codes containing URLs, contact info, etc…

➣ Scan multiple barcode formats and QR Code to automatic decode their contents

➣ QR Code & BarCode Scanner can scan and read all QR Code or Barcode types include text, URLs, ISBN, email, contacts information, calendar events... and much more with a single click using your smartphone camera.

➣ After decoding, you will be redirected to webpage links, books review, multimedia, contact and calendar online information, etc...

➣ You can create your QR Code very fast and share them with your friends through apps, social networks, email, text messages, save sdcard…

➣ The app allows you to share contacts, apps, text and bookmarks in a QR Code

[IMG="QR Code"]http://i.imgur.com/LdE3Rasl.jpg[/IMG]

Download Google Play
[Android Apps and Games] freestudio:
Thank you very much. Require internet permission need search google
[Android Apps and Games] Joebeurg:
Why does it need Device & App History permission ?

The browser bookmark permission ??
[Android Apps and Games] greatpakhtoon:
qr code scanner - barcode scan - Apps on Google Play

Fast QR master & barcode scanner app that supports all barcodes & QR formats!

play.google.com

check this without internet connection
[8525, TyTN, MDA Vario II, JasJam ROM Development] artisticcheese:
Hi,

Can you please install free acbPowerMeter (http://www.acbpocketsoft.com/Products/acbPowerMeter/acbPowerMeter-Overview-2.html) which is free. Enable bluetooth, turn off the phone and let it run for 10 mins or so with no calls, data etc. Please check average mA used and post results here so we have some data at hand to compare different ROMs and power consumption.

My case

1.54.07.00 --> power consumption was between 50-60 mA

1.48.00.10 --> power consumption was between 15-25 mA

Again this was with bluetooth on and no data, incoming or outgoing calls, screen is off for 10 mins or so.