yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] jilebi:
Sure. At a high level, init is the very first process started by the kernel, after kernel boots up. As such, not only does it start as root, but it also starts pretty much everything other process in android. It has access to a large number of security contexts under selinux, which is the main stumbling block for our devices, since technically we have root but cannot do anything with that root. Most importantly, init is always on, working in the background in an infinite loop, ready to start new processes.

So the trick is to identify a portion of init at the binary level, which is part if the loop, patch it with a payload to disable selinux, then overwrite the original init with patched init with dirty cow, wait for it to reloop, have selinux disabled, and then get root which can do a lot. Hope that is helpful.
[Android Q&A, Help & Troubleshooting] jilebi:
Thanks! I was aware of lg released sources for k371, but they are primarily kernel sources. It is different from firmware ROM, which I have not found yet.
[Android Q&A, Help & Troubleshooting] jilebi:
You need to be very careful, before doing this. You could brick your phone if you flash such a ROM. Most phones have secureboot, which will check signature of ROM. If you flash your unsigned vanilla ROM, then it may refuse to boot resulting in brick. Please do not believe that one can get root easily through such methods with a locked bootloader. Hence, all the efforts on unlocking bootloader to disable secureboot to prevent such bricking, which in turn requires fastboot access, which in turn may be possible through wiping the laf partition, which in turn requires at least temp root! It is a bit complex, but doable. Hope that clarifies.
[Android Q&A, Help & Troubleshooting] Sands207:
That's kinda where we have been at and trying to find holes init and selinux policy I have a replacement for this phone I bought a few when we first all started cracking away but this is maddening lol I really appreciate all of your help, temp root seems like the only way to start
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
I can't remember over the past 30 pages, does anyone have a copy of the init binary? I'll take a look at it. I don't think I'd find anything, but I'd be willing to take a shot.
[Android Q&A, Help & Troubleshooting] Android_JT:
Thanks for the explanation and helping the rest of us understand!
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
So there are a lot of vulnerabilities that Google patched a few days ago. So far, it doesn't look like any technical details have been published - likely so Google can get all the affected phones patched. It looks like a good number of the vulnerabilities can result in privilege escalation. It might just be a matter of time!
[Android Q&A, Help & Troubleshooting] Sands207:
I tried copying mine out last night but ran into permissions issues (surprisingly ?) *nevermind found an easier way to pull it via adb, I've just been using ES on my phone to upload files to my drive but if I can pull it and it helps I'll post them as long as I have a way.
[Android Q&A, Help & Troubleshooting] Sands207:
I managed to pull /system/ using

adb pull /system/

I'm uploading the files now. This may help those that need them. I have a slow connection so it may take a bit. :) here is /system/ https://mega.nz/#F!3kYABRob!pyO8iS08Ll3AeHRvfbMyRg
[Android Q&A, Help & Troubleshooting] Android_JT:
Thanks for uploading the 2.5 GB file!
[Android Q&A, Help & Troubleshooting] Sands207:
I can zip it if that's easier just figured if anyone needs to cherry pick uploading the zip now ?
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Thank you for posting this. No idea what I'm looking for but I'll poke around and see if I find anything interesting.

Well who does that?
[Android Q&A, Help & Troubleshooting] Sands207:
The zip for that is uploading now to the same spot it's much smaller. I almost have the vanilla rom compiled I just keep facing this error every time I try to

make -j4

build/core/base_rules.mk:157: *** external/aac: MODULE.TARGET.STATIC_LIBRARIES.libFraunhoferAAC already defined by android/external/aac. Stop.

#### make failed to build some targets (01:24 (mm:ss)) ####

Kinda stumped on this but im guessing I have an extra external folder thrown in the mix somehow, anyone have any ideas?

*edit* I'll try replacing and matching the modules from the LG source code to the aosp source or vice versa and see if that will work ?
[Android Q&A, Help & Troubleshooting] Sands207:
Could this help us possibly? https://www.exploit-db.com/exploits/39340/
[Android Q&A, Help & Troubleshooting] MadsMann:
I think those exploits are old but this is one thing we have to definitely overcome.. DM-Verify. Until we have an unlocked bootloader which will let us have a permanent root we won't be able to have a rw system partition.
[Android Q&A, Help & Troubleshooting] BlakeIverson24:
THANK YOU

Thank you guys so much for the hard work you are putting in to make permanent root possible on the Tribute HD. If the files needed end up charging money to download i will definitely pay with no problem. Thanks again.
[Android Q&A, Help & Troubleshooting] kdm6389:
I want to know current status like do we have

root,

GSM unlocked,

Or

AOSP/CMx.x

---------- Post added at 06:04 AM ---------- Previous post was at 05:55 AM ----------

So cute phone, but without root, I can't replace phone app, LG backup
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
No to all of the above. Sands207 has been leading the charge on all of this. Follow his posts to find out whats going on.
[Android Q&A, Help & Troubleshooting] Nitro Lopez:
tried the new king root 5.0.2 but it failed. just an fyi. thanks for all the work, hope root is found eventually.
[Android Q&A, Help & Troubleshooting] anand96999:
has anyone tried chainfire systemless root

has anyone tried chainfire systemless root

Systemless Root Android 6.0 Marshmallow

chainfire SuperSU root
[Android Q&A, Help & Troubleshooting] kdm6389:
Unable to root, add new apn, access phone info page
[Android Q&A, Help & Troubleshooting] kdm6389:
unable to add even custom apn, tied everything ...
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Do you have the MSL? If you're able to register the phone on RingPlus or FreedomPop they give you the MSL... If either of those two providers are still having free activations, it's worth a shot, right?

Thank you for trying. Curious, do you know the difference between King and Kingo root?
[Android Q&A, Help & Troubleshooting] jrk190:
Bummer, I was going to try it when I got home.
[Android Q&A, Help & Troubleshooting] -n0cturne-:
Can't use chainfires systemless supersu, as we still need to have root access in order to use it (as it is basically just an app to moderate root permissions to other apps).

If kingroot actually ran, but failed - that is a promising sign. That at least means that they have an exploit that works with our SoC and Android version, as otherwise it would just not run and add a device request. Too bad they don't share, though..
[Android Q&A, Help & Troubleshooting] Android_JT:
I just sent a message to the KingRoot team to see if the LG Tribute HD will be supported by their root process in the near future.

Not sure if they will respond or if it's even possible. Figured it wouldn't hurt to ask. Will update this thread if the team responds.
[Android Q&A, Help & Troubleshooting] Sands207:
If you guys could post here https://xdaforums.com/showthread.php?t=1660354&page=541#post70629237 and suggest LG Tribute HD LGLS676 or LGELS676 we might be able to catch enough attention to get our own forum which would greatly help at this point ?
[Android Q&A, Help & Troubleshooting] dannylolz4:
I'm new to LGs so forgive me if this seems like a dumb idea. But, would the supercid work on our phones like the Htcs? Just a question
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
I'm wondering if KingRoot does work for similar phones, such as the Phoenix 2, which has the same SoC and same Android version. The carrier specific code might be whats holding them back...
[Android Q&A, Help & Troubleshooting] Sands207:
Just wanted to chime in and let you guys know that I successfully compiled and built the MM kernel for our device build last night and after 3 failed build setups because of my flaky slow internet connection, one computer crash that cost me 6 years worth of work with other devices and starting fresh and getting past all the make errors and two months later after buying this phone which I finally understand why I got in the first place, the vanilla rom is compiling correctly and should be finished baking later today. I don't know exactly what or if anything can be done with the builds I compiled and will be putting up but I'll post links so I can keep track of my work and in case I grab another rootable phone to use in the meantime, I want you guys to do what you can with it to make this phone as good as you can WHEN we can. I have done what I can up this point and once I know for sure the process is right and working I'll post a tutorial on building LG source on Linux because this was different than the others for me and worth the experience ? Just chiming in... If anything just hoping to help provide a little bit for us to work with and I'm also continuing to look at the different exploits available as much as possible. Everyone here is devoted to the cause in one way or another and not giving up. We have a pretty strong crowd going ? back to building for me?
[Android Q&A, Help & Troubleshooting] Sands207:
Also this exploit was posted overnight, might it help us? https://github.com/hyln9/VIKIROOT/blob/master/README.md
[Android Q&A, Help & Troubleshooting] MadsMann:
Looks promising once they have e 32 bit support. Looks like it's only supporting 64 bit arch for now.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Is there a discussion board for this? I only see one thread here and it seems pretty empty.
[Android Q&A, Help & Troubleshooting] Sands207:
Just this one http://xdaforums.com/android/software-hacking/universal-temporal-root-tool-dirtycow-t3542013/pages it may be worth contacting the dev as he is looking for testers ? *edit* dev contacted.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
I'm surprised this isn't a bigger deal. I can't imagine the Tribute HD is the only phone where DirtyCow is hindered by SELinux. I would've expected an exploit that bypasses SELinux protections would be a bigger deal. Even if it is just to refute the dev's claims.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
It looks like that his exploit cannot work on 32bit SELinux builds :\
[Android Q&A, Help & Troubleshooting] Sands207:
I know, it was a thought anyway ?kinda grabbing at straws now
[Android Q&A, Help & Troubleshooting] Sands207:
when you say unlocked do you mean you now have root access?
[Android Q&A, Help & Troubleshooting] kdm6389:
Not happy! Looks like we never able to root this device.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
It's likely he means SIM unlocked.
[Android Q&A, Help & Troubleshooting] BlakeIverson24:
Im with you man. Seriously debating of i should sell this phone nd get a stylo. Had one but i bricked it trying to root. I hear the stylo has easy root method now.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Honest question, are there any 'mature' phones (+6 months old) that are simply unable to be rooted? This phone was just announced back in October. With the amount of handsets using the Tribute HD/Style X nameplates, there is definitely a market for the Chinese studios to target. Hopefully it's just a matter of time before they can release an APK for us.

It might just be waiting for the details of exploits to be made public. Google patched a good number a week or two back. It usually is about 90 days for those to be made public.

Can you describe that process? I hate to think of paying someone so that I can be able to use my device the way I want to, but if there isn't a root method soon, I won't have much of a choice. Do they guarantee their work?
[Android Q&A, Help & Troubleshooting] kdm6389:
Lg has locked it perfectly.
[Android Q&A, Help & Troubleshooting] BlakeIverson24:
Yea after visiting the site mentioned im motivated to get my bricked stylo fixed, unlocked then rooted. The tribute is a d*mn good phone bt if it cant be rooted within the next 2wks im done with mine.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Do you have the Boost Mobile Tribute HD variant? I'm curious how they would unlock the SIM slot remotely without the carrier doing anything.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Since you either use them a lot or perhaps run the place, what is the process? How do they perform a remote network unlock without using the carrier?
[Android Q&A, Help & Troubleshooting] mrsurge:
So are you able to use your ls676 on a GSM network? Does LTE work? PhoneArena says it supports FDD LTE bands 2, 4, and 5 and those are all bands supported on AT&T. It looks good on paper but I would like to know if it works and how your service is.
[Android Q&A, Help & Troubleshooting] zswielder:
Unlocking was always possible/available via 3rd party services... This thread is talking about rooting.
[Android Q&A, Help & Troubleshooting] kdm6389:
Looks fake.
[Android Q&A, Help & Troubleshooting] Android_JT:
How much was the GSM SIM unlock?
[Android Q&A, Help & Troubleshooting] Android_JT:
That's a reasonable price. That's good information for users on our thread here if they don't want to wait for a root.

Could your provide a link for their services?
[Android Q&A, Help & Troubleshooting] BlakeIverson24:
:angel:

Yup and my patience has run out lol. Im getting my Stylo fixed once i get my tax return then its goodbye Tribute HD. LG is A Holes for locking this phone up so much. I will definitely do my research when looking for a new phone once im tired of my Stylo.
[Android Q&A, Help & Troubleshooting] Sands207:
im picking up another phone in a week too. i like this phone but looks like we are at a brick wall. I do know one thing it wont be an lg lol
[Android Q&A, Help & Troubleshooting] BlakeIverson24:
Good for you. The Tribute HD is the last LG phone i'll ever purchase. They know rooting is protocol nowadays and they do this....
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
I checked GSMZambia and it looks like they've reduced the price to under $11. I hate not having full root, but $11 is cheaper than buying a new phone.

It's at the point where I can't argue with the sim unlock. It is looking like RingPlus is increasingly close to shutting down (they aren't allowing new activations), and I'll need somewhere to go...
[Android Q&A, Help & Troubleshooting] Android_JT:
Could you report the details of the SIM unlock process from GSM Zambia?
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
I haven't done it yet. I was kinda hoping someone else would bite first. Haha.

If I end up going through with it, I'll let you know how it goes.
[Android Q&A, Help & Troubleshooting] MadsMann:
Picked up an Boost HTC A9 on Amazon for 159 ... Decent specs and a development community.
[Android Q&A, Help & Troubleshooting] Android_JT:
Thanks! If anyone else does the GSM SIM unlock, please share the details too. That would help vet this unlock provider.
[Android Q&A, Help & Troubleshooting] bakerd62:
http://opensource.lge.com/osSch/list?types=NAME&search=ls676

I came across this, I have no idea if anyone has posted it already but I'm downloading it right now to see if I can get anything out of it. It seems promising, 6 hour download on 3g lol
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Yeah, unfortunately that is old news at this point. Necessary to make a build, but without being able to achieve root/unlock the bootloader, it doesn't get us very far. :/
[Android Q&A, Help & Troubleshooting] BlakeIverson24:
Really appreciate it man. I looked into it and looks like you got a good deal. Heard its about the same as the iPhone 6S. I want a screen as big as the stylo. If this phone has that nd i somehow fully brick my stylo i will most likely get this phone.
[Android Q&A, Help & Troubleshooting] BlakeIverson24:
Ok i have done pretty good research on the HTC One A9 nd its the next phone im purchasing. I would recommend anyone else that has the funds, to do so. Easy root method nd has a good development community. Im done with this thread so thanks again MadsMann nd good luck getting root guys.
[Android Q&A, Help & Troubleshooting] dannylolz4:
Anyone wanna try and tackle this one? Could it be true?

http://ift.tt/2je8py4
[Android Q&A, Help & Troubleshooting] Android_JT:
Anybody have any idea which american GSM carriers the LG Tribute supports? Additionally, is there LTE support?

Would help any members here if they choose to pay the $11 for the SIM unlock.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
All of them. You'll be missing 2 out of 4 LTE bands on AT&T and a T-Mobile 3g band but otherwise you're set.

https://www.frequencycheck.com/compatibility/GKV8hxB/lg-ls676-tribute-hd-td-lte/united-states
[Android Q&A, Help & Troubleshooting] Snigglez:
Oh dear. Just bought this fone...what to do. Trying to keep the thread alive. There is a solution to every problem...think Pooh...think....
[Android Q&A, Help & Troubleshooting] Sands207:
has anyone tried srsroot? they claim to be able to gain root. is it a scam?
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
I don't know if I'd trust my phone afterwards...
[Android Q&A, Help & Troubleshooting] desilynn79:
Last i checked the srsroot doesnt work...
[Android Q&A, Help & Troubleshooting] jamoosh:
Will buying sim unlocking service work to unlock a Tribute HD that doesn't pass FED check for CDMA MVNOs?
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
No. Purchasing a SIM unlock will only allow the phone to be used on GSM networks such as AT&T, T-Mobile, and their resellers.
[Android Q&A, Help & Troubleshooting] dannylolz4:
I broke down and tried it. It acted like it worked, claimed to install super user and my phone restarted but when checked with root checker it didn't work.
[Android Q&A, Help & Troubleshooting] wesgreen:
Will buying a sim unlocking service to unlock GSM service, on a Tribute HD that already does pass FED check for CDMA MVNOs, affect the capability to use CDMA service?
[Android Q&A, Help & Troubleshooting] Android_JT:
The GSM SIM unlock shouldn't affect FED check. Once your phone has been registered on sprint's database, it should always be valid. At least that's my personal knowledge on the matter.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Did you end up doing the GSM Zambia unlock? I was wondering how that turned out.
[Android Q&A, Help & Troubleshooting] Android_JT:
Lol. I was waiting to see if you would do it first so I could get a review.
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Well, I'll try it then... Only $11, right?
[Android Q&A, Help & Troubleshooting] Android_JT:
You, sir, are my hero now. :)
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Well they have been paid. Hopefully I'll have good news to report...
[Android Q&A, Help & Troubleshooting] wesgreen:
So you should then be able to use cdma service for calls and gsm for data, in one and the same device, right?
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
I don't believe so. Usually, phones have two distinct modes of operation: CDMA mode and GSM mode. Only one mode can be operational at one time.
[Android Q&A, Help & Troubleshooting] gldbnd:
thats true
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
So bad news. GSM Zambia requires people to use TeamViewer when purchasing network sim unlock for sprint and boost devices. Unfortunately, that didn't work for me. They issued a prompt refund. If I ever buy a pure GSM phone (that requires a code, not an app) they might be on my radar again.

Edit, the next best way forward might be to register this on Ting (if your devices clear FED), and hope that the ISU also implements a DSU :(
[Android Q&A, Help & Troubleshooting] kdm6389:
Yes, the phone support LTE, at least one of band 3/5/40.
[Android Q&A, Help & Troubleshooting] pfoneguy1:
LG Tribute HD (LS 676) root?

Where is a mod to delete all this god forsaken Unlock crap that has nothing to do with Rooting this device?

How can you possibly conflate a DSU/ISU unlock, be it Sprint or some shady unlock service, with Rooting this device?
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
Thank you for your input to the discussion.
[Android Q&A, Help & Troubleshooting] desilynn79:
has there been anymore progress to the rooting of this device.. and i agree all this unlocking stuff needs to be redirected to another thread... this thread was intened for root, not sim unlock...

just saying..
[Android Q&A, Help & Troubleshooting] rockinmusicgv:
No. No progress has been made, which is why the conversation drifted into how to unlock the device. Obviously, if root was possible there would be no need to discuss how to unlock the device.
[Android Q&A, Help & Troubleshooting] Android_JT:
Unfortunately, root has been frustratingly challenging. Personally, I don't mind the GSM SIM unlock talk as it's just knowledge sharing. It's slightly off topic, but at least the option is put forth for users that need a GSM SIM unlock. The original desire for root in my case was to open up the phone for other carriers.

Looks like there are sellers on eBay willing to do the unlock too, but the requirement is that you have to ship your phone to them to perform the unlock physically. The remote unlock is also another option if the person accepts the risk/convenience of someone connecting to your computer remotely to perform the unlock.
[Android Q&A, Help & Troubleshooting] Android_JT:
With Ringplus collapsing as I write this, the GSM SIM unlock is more important than ever.

Anyone plan on sim unlocking?
[Android Q&A, Help & Troubleshooting] xxxviom:
Just unlocked it with guy from GSMZambia. http://gsmzambia.com No cheating. As described. GSM works, able to add APN. Unfortunately missing UMTS (3G) Band 1 (2100) in LS676 for my country... Only EDGE possible. Used Teamviewer. You see everything he do at your desktop.

---------- Post added at 05:06 PM ---------- Previous post was at 04:57 PM ----------

Anybody knows service codes to enter engineer menu?

---------- Post added at 05:09 PM ---------- Previous post was at 05:06 PM ----------

Frequency	LTE Bands 2/4/5/12/25/26/41; GSM 850/900/1800/1900 MHz; UMTS Bands 2/4/5; CDMA Bands 0/1/10

Technology	LTE, CDMA, GSM, UMTS

Data Transmission	LTE, UMTS, HSPA+, HSDPA, 1xRTT, EVDO, EVDO Rev A, GSM

---------- Post added at 05:15 PM ---------- Previous post was at 05:09 PM ----------

P.S. According to what I saw - he uses GCPROKEY...

---------- Post added at 05:39 PM ---------- Previous post was at 05:15 PM ----------

Found by myself :)

##33284#. Debug/Service Mode

##3282# Data Mode
[Android Q&A, Help & Troubleshooting] kdm6389:
I doubt

This http://gsmzambia.com is post-pay or pre-pay

---------- Post added at 04:31 PM ---------- Previous post was at 04:28 PM ----------

But I will try the code, but I am outofstation. So, it will be little(20days) delay.
[Android Q&A, Help & Troubleshooting] mcduffy:
Not sure if this is helpful but unlocking success with $158 GcProKey dongle is reported here:

forum.gsmhosting.com/vbb/f922/lg-ls676-apn-unlock-done-done-best-gcpro-key-2156947/