yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] pitou21:
Re

Ok prof ! I'se a good article :

"If you feel brave, and always at your own risk, what you should do to fix your bricked hermes with screwed radio is this:

1) Put your Hermes in bootloader mode

2) Disable USB connections in ActiveSync

3) Open mtty.exe and select USB port, then connect.

4) Hit enter twice, you will see the "USB>" prompt.

5) Type the following commands (do not copy paste!!!):

Code:

set 1e 1

erase a0040000 c80000

erase a0cc0000 c80000

erase a1940000 640000

set 1e 06) Reset your phone and put it back in bootloader mode

But 1 question :

How i can find a topic to make a rom without activsync

Thanks
[Java for Android App Development] cp2-software:
Need help, I'd like to stop another Apps Service. For example, TuneIn has a service I want to stop. I'm trying this approach, but it does not work:

Intent stopIntent = context.getPackageManager().getLaunchIntentForPackage("tunein.player");

//stopIntent.setPackage("tunein.player");

Boolean res = context.stopService(stopIntent);

I know its doable because this App can do it: Service Killer: package: jp.imxs.skr.servicekiller

Does anyone know the correct way to accomplish this?

..cp2
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] countercharge:
I cut my regular sim card down by hand with an xacto knife and a template I downloaded. It fit, but now its stuck. At least the phone works. Any ideas about how to get it out? I tried tweezers, but they won't fit under it to get a grip.
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] DocHoliday77:
I just use anything with a slight edge. Screw driver, razor, paper clip.... just push it out from the top. (This is what I do on an actual micro sim, but mine was always difficult to get out too)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Kansas_32:
It actually happened to me once with my old Galaxy S. I put a MicroSIM into the regular sim spot and it stuck after one of the metals. I pull it with a paper clip, but I broke one of the metal pieces that touches the sim card. Be careful when you take it out.
[Sprint LG G2] itsnoahyo:
Soooo I'm on CM11 M8 right now and I want to go back to a stock LG ROM (never thought I'd be saying that). I had to downgrade to zv8 to get cm to work, is there anything special I have to do going back? This is my 5th android device and like the 10th that I've rooted/tinkered with, and I've never seen such convoluted methods involved with flashing/OTAs etc. And I thought rooting my T-Mobile G2 (HTC desire z/vision/whatever) was a process. So yeah I just thought I'd ask before I flash this stock rooted zip. I've had to TOT this phone twice already and I don't feel like going through all that again.
[Sprint LG G2] jcwxguy:
Flash the stock VC rom (or VA), which ever you want, and then in the SAME session, flash the VC (or VA) radio. (DONT FORGET TO WIPE EVERYTHING

EXCEPT

INTERNAL )
[Sprint LG G2] itsnoahyo:
Haha my first TOT redo was because I wiped internal like a dummy. Thanks though. I wasn't sure.
[Sprint LG G2] LilDemon124:
If you dont mind me asking, is the cm11m8 rom android L? If so where did you get it?
[Sprint LG G2] jcwxguy:
nope, its kitkat
[Verizon HTC One (M8)] Quadrider10:
whats up guys?

so ive been playing around with sleep mode on my M8, but really cant notice a difference when its enabled or disabled. ive tried the "auto" setting and ive also tried setting a time of sleep from 1:00am-11:59pm. Very occasionally i see it shut off wifi, but never mobile data... whats up with this? do you guys even use it?
[Verizon HTC One (M8)] Quadrider10:
Anyone?
[AT&T LG G3] Pure+:
Its done
[AT&T LG G3] Pure+:
Pledge List

(In order of date pledged)

Pledges​
[AT&T LG G3] Pure+:
Total Amount Pledged

AT&T - $2253

Verizon - $3205

Tips - $45

CURRENT TOTAL IF UNLOCKED TODAY - $5503​

Last update 09/03/2014 @ 06:33:13 p.m. CST, Tips vary by speed of unlock, I will try to adjust the amount as dates expire​

​
[AT&T LG G3] Pure+:
Reserved 3

and one more because you never know ;)
[AT&T LG G3] Jibe@:
Looking good man, should probably change the build number to the AT&T build tho.

Put me down for $10 as well.
[AT&T LG G3] Pure+:
Haha yeah I know but my phone is dead and I'm not at my computer. I'll change it when my phone charges up.

Sent from my vR:M8
[AT&T LG G3] BAM1789:
I pledged on the other page, fingers crossed guys!!
[AT&T LG G3] Jibe@:
I think its just a matter of time really. I don't have the ability to do it, and from what I understand OEMs are making it harder and harder to accomplish, but I still have faith it will get done.

Has there been a device that has proven unable to be unlocked yet? I can't think of any.
[AT&T LG G3] BAM1789:
Note 3, GS5 currently. Though both have safestrap, but thats meh..
[AT&T LG G3] corythug:
Some take a look long time for true unlocking, like the HOX. Due for an upgrade, using my nexus 5 off contract ATM. Was debating looking into the g3 but honestly this thread even having to exist reminded me why I stopped getting phones from att after my HOX. looks like an awesome phone though and I wish you guys luck getting a full unlock quickly!
[AT&T LG G3] Jibe@:
I'm just hoping we can eventually get CM on the G3.
[AT&T LG G3] BAM1789:
I loved my G2 with CM. Wish I wouldn't have gotten rid of that phone for the Note 3.
[AT&T LG G3] Jibe@:
Yeah I kind of feel the same way about my N5. I really has that phone set up the way I wanted it, with awesome performance. I just really hates fighting with the battery life on it tho.

I still enjoy the G3 a lot tho. Its a great phone as well, just not built with the enthusiast in mind I guess.
[AT&T LG G3] Pure+:
So... Feelin a little nooby here, but I can't match this build number "VRU1ANCG" with anything I can find. Only able to match the software build number.

Sent from my LG G3
[AT&T LG G3] bdjam2:
I'll put $10 toward it.
[AT&T LG G3] Pure+:
Alright guys. $50 in total pledges ain't bad for the first few hours. List is officially going. I'll try to keep it updated as well and often as I can. Thanks guys! Keep it up!

Sent from my LG G3
[AT&T LG G3] rjvecchio:
Pledge

I'll put $20 on for a full bootloader unlock, none of this safestrap crap though

Edit: throw me in for a $20 tip if completed by August 5th
[AT&T LG G3] redrider54:
I'm down for $20 if it happens to be a bootloader unlock only.
[AT&T LG G3] npenree:
I'm in for $20 for a bootloader unlock.
[AT&T LG G3] _Infamous_:
I'm down for $10
[AT&T LG G3] Sinterion:
msm_8960 unified all are unlocked

Sent from my Carbonized Atrix HD
[AT&T LG G3] rjvecchio:
Then I stand corrected, I thought people were using safestrap for Motorola
[AT&T LG G3] objektive_1:
Is this a good thing?

https://www.codeaurora.org/projects...agaddr-when-loading-device-tree-cve-2014-0974
[AT&T LG G3] Gater2011:
$10 here
[AT&T LG G3] Pure+:
Can't really say. I think a dev or some one with a better understanding of how the process works would have to comment on that.

Fingers crossed tho.

Sent from my LG G3
[AT&T LG G3] JDBarlow:
$20 here ???
[AT&T LG G3] vibsOveebs:
Question?

What if we use loki's aboot.bin on G3?

Or can we edit the aboot.bin by recompiling it and then recompiling the .TOT file and then using KDZ to flash it?

Am I carzy or what,..?

If I read up correctly in his blog, aboot.bun runs the bootoader and everything on it.

It's a .bin file compiled in ARM assembly what if we edit it or maybe take the one from G2?

Wish I knew which devs were working on it so we could help, but there is a slight chance no devs might be on it.
[AT&T LG G3] Pure+:
All I can say is that with the crazy amount of these phones that LG is selling there are almost certainly some devs working on it. Its simply a matter of time. Well... Time and money I suppose.

Sent from my LG G3
[AT&T LG G3] thecubed:
Don't fret, people. We're working on it. #busy #hardatwork #chillax

Seriously though - we are indeed working on it. Myself, [MENTION=2684188]autoprime[/MENTION] , [MENTION=3878912]th3g1z[/MENTION] , and [MENTION=2413393]Shelnutt2[/MENTION] are working on it...

I'm fairly confident we can get a fully working unlock going (not Loki or a bypass) once we all have time. Right now the biggest problem is finding time where we're all on IRC and have a solid few hours to dedicate to working on this.

We've found some *very* interesting things in the last few days though. I'd go so far as to say this is (outside of the bootloader) one of the more easily modifiable phones we've worked on in the LG series.

All this is to say, yes. We fully intend on collecting this bounty and splitting it X ways with everyone who helped.

#letsdoit
[AT&T LG G3] PlayfulGod:
Have a tot and lg tools handy. ;)
[AT&T LG G3] blaker13:
Amount of phones sold.....how many have been returned? I'm on my third in the first month.I really want to love this phone but there are so MANY problems with it. Might try out the s5 while I wait for the unlock...lol
[AT&T LG G3] Pure+:
Sounds like you guys may be on track to meet quite a few of those "tips".... At any rate thanks for the update. Very much appreciated.

Sent from my LG G3
[AT&T LG G3] Skizzy034:
Wait for the LG Stylus. Looks pretty cool. After the G2 and G3, I'm on the LG bandwagon for the foreseeable future. I tried going back to Samsung after the G2 using the S5 and it lasted a day lol. I returned it and bought the G3 on launch day.
[AT&T LG G3] blaker13:
Just so frustrating that a top of the line cell phone comes with so many problems off the bat. Headphone/aux crap, syncing issues, Bluetooth issues, touch sensitivity issues FULL of att crap you can't take off unless you root. I can't go back to Samsung either. What companies should do is hire devs from here to make a good OS.
[AT&T LG G3] Skizzy034:
A lot of first time adopters get phones with issues. The next batches in a few months with new hw revisions will have a lot of the problems fixed most likely.
[AT&T LG G3] revolt1:
So is this for the Verizon version of it too
[AT&T LG G3] Pure+:
They probably won't know until They get closer to a exploit being done. At that point they'll be able to determine whether it'll work for both or not. But regardless of that, the general consensus among the members here is that it will.

Sent from my LG G3
[AT&T LG G3] autoprime:
1 method will cover all remaining locked G3's
[AT&T LG G3] Skizzy034:
Makes me kinda wish I stuck with the AT&T version..
[AT&T LG G3] akakai:
He said one unlock method will work for all versions of the G3. Including the version you are on. Assuming you are locked.
[AT&T LG G3] paniro187:
20 here
[AT&T LG G3] samg77:
08/06/2014 @ 12:24pm even in every time zone in the US hasn't taken place yet. This has to be a typo. Sorry I havn't updated my thread in a couple days my daughter was in the hospital. Current total between both carriers is $2640.00.
[AT&T LG G3] Skizzy034:
I'm on the T-Mobile G3 using ATT.
[AT&T LG G3] Pure+:
Lol yeah it was. When your up at midnight after waking up at 3 am the previous morning you tend to start overlooking the little details. I'll get that fixed tho. Thanks for the heads up. And I'll have to do a recount. You must've had some more pledges since I last checked yesterday.

Edit: Sorry to hear about your daughter. I hope it wasn't anything to serious and I hope she makes a full and quick recovery. Best wishes to you and your family right now.

Sent from my LG G3
[AT&T LG G3] roughneckboren:
Good to hear from you guys! That sounds like some good news! Don't be shy around here. We love to hear about the whole process of how things are coming. I'm sure you guys are kicking this bootloaders butt.
[AT&T LG G3] thecubed:
While I'd love to detail every little bit publicly (ask autoprime, he knows I love to chat more than I should), that'd do more harm than good. I'm perfectly happy teasing though ;)
[AT&T LG G3] roughneckboren:
You're breaking my heart here...:p

Naw man just an update every now and then is good to hear. You could tell me details all day and it would be over my head. Its just good to hear about progress. People get nervous when devs go quiet and I'm sure it's the same the other way around. I switched to lg from Samsung and you guys are making it worth it.
[AT&T LG G3] thecubed:
I'll just put it this way - we've found literally a treasure trove of information about our lovely G3 - more information than we actually know what to do with. So for right now, we're picking through it to see what's useful and what's not. The biggest issue is that we've tracked the unlock down, however currently we're unsure as to what part of the phone actually tells the bootloader that it's unlocked or not. We've got our suspicions, however trying to find what part of a giant application writes 1 bit to memory is a bit complex, especially when we're very sure that LG named it something inconspicuous to throw us off.

We actually had found something that made us all rather giddy the other day, however either we don't properly understand what that switch is doing (it says enable, but it appears to disable.. if that makes sense) or the switch doesn't actually do anything.

That's as detailed as I can get without spoiling anything though. Rest assured, we *will* have this phone unlocked, it's not even a question. I didn't spend $600 on this phone because I was less than sure of that.
[AT&T LG G3] Mistertac:
That's great news man, and just to confirm what I think AutoPrime was saying earlier, this SHOULD apply to all G3's ? I'm on Verizon lol

- Sent From My G3

---------- Post added at 10:35 AM ---------- Previous post was at 10:23 AM ----------

Suppose that actually doesn't need answering as I just re read AutoPrimes answer above and Yea.... No other way to take that lol thanks for your updates

- Sent From My G3
[AT&T LG G3] Pure+:
That's the best news I've heard all year. Lol. Glad to hear it's coming along so well and thank you for that incredible update. I can't stand how coy some devs are about even just giving updates saying as little as "we are working in it". Anyways, thanks for being active and very informative with us. I know everyone appreciates it.

Sent from my LG G3
[AT&T LG G3] huskerkate:
suh-weet!! i'm sure i'll do a bunch of flashing, almost out of habit since i've been doing so for years. but, with this device, "custom" roms aren't that big of a deal to me - i mainly just want to be able to "upgrade" to 4.4.4 and 5 L stock without waiting on LG and the carriers to push the updates. and for that purpose, this is outstanding news!
[AT&T LG G3] Skizzy034:
Do you use Linux distros like back track and Metasploit to find vulnerabilities?
[AT&T LG G3] thecubed:
Nope, those are more for network service vulnerability detection and exploit. We use tools like IDA Pro and hex editors to inspect the phone's actual low-level boot code, break it down from machine code into ARM Assembly (basic operations like add, subtract, compare, branch). From there we inspect it further to see if there's any obvious loopholes in the code, and more frequently just to figure out how the application works normally.

I'm not an expert by any means at using IDA, in fact I'm rather n00b at it - [MENTION=2413393]Shelnutt2[/MENTION] is *much* better than I am at it, however we all have a firm grasp on the end goal we're looking for - so identifying code that we can leverage to unlock the bootloader is fairly obvious.

The problem we face is multiple though: when an application gets run through a compiler, it doens't (usually) retain it's function names. So a function that LG might have conveniently named "unlock_bootloader" ends up getting named "sub_3EFFC" in IDA. From there it's up to us to take a look at the code and determine if the function does anything useful for us. This process takes a *long* time, especially with only ~3 sets of eyes on the code.

We've happened to find some super awesome information recently that should assist us with this process, however there's still a lot of trial and error. We know what the bootloader expects to see in order for it to be 'unlocked', but now we need to work from the other side and say "what on this phone's boot stack writes a single '1' to this region of memory"... there happens to be a *lot* of code in the boot stack. For reference, the boot stack alone is about 8MB of code when compiled, and around 60MB of source code. This post itself is (as of this sentence) around 2000 bytes. There's a lot of code.

We'll try to keep everyone updated as we have more information, but I want to set a few things right here:

1. YES. YES, this will apply to ALL G3 variants. I've said this quite a few times, but everyone keeps asking.

2. No, we will not have this done today, tomorrow, or even this weekend (we're all busy this weekend, no phone haxing unless something changes)

3. There is no 3rd bullet point!

Anyway, thanks guys for being patient!
[AT&T LG G3] Skizzy034:
I'll take a look also and see what I can find. It'll give ya another pairs of eyes.
[AT&T LG G3] sjavvaji:
put me down for $6...seems like a CM11/CM12 might finally be a possibility for the phone...many thanks to [MENTION=2684188]autoprime[/MENTION] , [MENTION=3878912]th3g1z[/MENTION] , [MENTION=2413393]Shelnutt2[/MENTION] , and [MENTION=1157052]thecubed[/MENTION] in advance for making this possible!!!
[AT&T LG G3] vibsOveebs:
IDA

I was looking at IDA tools + decompiler version and trying the aboot.bin. That's what I've been trying all along. Problem is I can't read Assembly :P glad to see I was on the right tracks. Clicking random buttons on IDA wasn't very useful
[AT&T LG G3] spdwiz18:
Same boat... Not sure what I'm looking at. But there are alot of pretty lines connecting the bootloader partitions.
[AT&T LG G3] thecubed:
We've already analyzed aboot, and we know our attack vector. So, luckily we don't need to bother with aboot much more in IDA - now we're looking at other parts of the phone to determine what puts our magic value in the magic location. A good help with this is the SBL headers in each of the partitions- they tell us what parts of RAM they're loaded in to and from there we can guesstimate where the application will store it's values in.

Example (with completely made up numbers, since hell no am I gonna do all the hexmath to make this make 100% sense!):

RPM may get loaded by PBL into 0x8000 (as indicated by it's header)

RPM's size is 0x1000 bytes (as indicated by it's header)

RPM will then use RAM in 0x8000 + 0x1000 + [padding?]

SBL1 gets loaded into ram at 0xC000, and it's size is 0x9000 bytes

So, if for instance aboot looks for the unlock code at 0xA100, we have a pretty good guess that RPM is responsible for putting that value in RAM because it's within it's range.

That's just a *very* generic example, but it's similar to what our process is so far. We've already narrowed it down already, but I can't give everything away on XDA - some of y'all might end up learning IDA and beating us to it ;)
[AT&T LG G3] vibsOveebs:
Extracted version of stock AT&T ROM

So I took the .TOT file and used some of the old dev tools to extract it. All those who wanna help or might need these files for any reason I put them on mega. Basically now you don't have to pull each file using ADB

All those who can help please do:

https://mega.co.nz/#F!JUZEQLrK!48ytojixkRVIfermPmmPoA

These include the files thecubed (IOMonster) is talking about (RPM.bin/SB1.bin etc)

(Doesn't include system cash or user data files)
[AT&T LG G3] PlayfulGod:
Dude all thats been extracted and available. ;)
[AT&T LG G3] vibsOveebs:
Didn't know that

I usually just do things on my own. Well for people who don't know that and still want quick access they can use it
[AT&T LG G3] thecubed:
No problem :) We've had all the partitions available on [MENTION=2684188]autoprime[/MENTION] 's Codefire account for a while: http://downloads.codefi.re/autoprime/LG/LG_G3/D850/stock_partitions/10D

I'm going to see if I can make some progress on this tonight.
[AT&T LG G3] sikalb:
how do i add to the bounty?
[AT&T LG G3] JDBarlow:
Just state how much you want to donate and the devs will contact us after task has been completed ?
[AT&T LG G3] sikalb:
thank you sir.

put me down for $20.

thanks to the devs for puttin in all the hard work. cant wait to start flashing!
[AT&T LG G3] JDBarlow:
Most welcome sir. I can't wait either [emoji122]
[AT&T LG G3] FreeDee:
I should've grabbed some popcorn while catching up on this thread. Awesome, thanks for all the updates. Can't wait to flash my G3 either! :)
[AT&T LG G3] codyvance:
I'm in for 75 if it works for Verizon
[AT&T LG G3] thecubed:
Ok, wore my brain out for the night.

I've misread some of the decompiled code and spent tonight coming up with some new observations about the bootloader. It's still unlockable for sure, but the memory addresses I had come up with were incorrect.

For a snippet of what I've been looking over, see here: http://pastebin.com/e0jYNbam

You can see how it's easy to get quickly confused with what you're looking at... I need to sit down with a fresh brain (and caffiene) and inspect the full dump again. As you can see, it's doable. The question is *how*. We might have the answer in hand right now with another thing we're working on, though. :)
[AT&T LG G3] Pure+:
A page or two back either [MENTION=1157052]thecubed[/MENTION] or [MENTION=2684188]autoprime[/MENTION] said that it will work for all G3 variants with locked BL. So everyone but Tmo because they shipped theirs unlocked.

Sent from my LG G3
[AT&T LG G3] codyvance:
Yeah I read that post, just put to be safe :)
[AT&T LG G3] phonehead6720:
I'm in for $10, can't wait for this, thanks guys for the hard work!
[AT&T LG G3] spdwiz18:
If you don't mind, what decompiler plug in are you using with IDA? All I have is IDA and no decompiler and machine code. :(
[AT&T LG G3] sjavvaji:
Those comments make it seem like you an unlock is just begging to be found :highfive:. Out of curiosity, what is the exploit actually going to look like? Are we talking about a sideloadable apk, some sort of adb program, or a flashing with LG flashtool?
[AT&T LG G3] thecubed:
Magic, most likely. I suspect some fairy dust will be involved, as well as unicorn horns. ;)

We haven't even gotten the unlock working yet - we have no idea how the app will look when we're done.
[AT&T LG G3] Mistertac:
I haven't used fairy dust since my RAZR so I'm looking forward to that
[AT&T LG G3] Pure+:
Interesting article I found. Not sure it well affect us at all, but it might. http://www.droid-life.com/2014/08/07/moto-x-bootloader-unlock-qualcomm/

Sent from my LG G3
[AT&T LG G3] Skizzy034:
He wrote up the results in July. Most likely everything will be patched by now. He's one of the devs that let's the manufacturers know of the exploits before he ever releases them. He gives them a head start to patch it before he releases, if he ever decides to. There are a few other devs who do the same.
[AT&T LG G3] objektive_1:
Interesting little article. Might be useful idk.

http://www.droid-life.com/2014/08/07/moto-x-bootloader-unlock-qualcomm/
[AT&T LG G3] spdwiz18:
Slightly off topic question?

Who does he work for? Meaning does he get paid to find and tell. Obviously bring a dev doesn't mean you're out to help the dev community. Just kind of sucks.
[AT&T LG G3] 3's&7's:
Is this a liability concern on the part of the devs? As in OEM rep(s) are members here and watching?

(This is my first time being an early adopter (and the device not having any major flaws besides a locked bootloader, lol), donating, and participating as an observer to a unlock in progress and curious on this.)
[AT&T LG G3] Skizzy034:
No clue.
[AT&T LG G3] thecubed:
Of course OEMs are watching these threads. We have to be careful what we say here because a) there are companies that profiteer off our hard work (making 'unlock boxes' and etc), and b) the OEMs themselves are watching and getting free security advice from just listening to us talk.
[AT&T LG G3] Pure+:
I couldn't tell you. Skizzy might be able to answer this one. He's way more knowledgeable on the topic than I. This was just a random article I ran across.

Sent from my LG G3
[AT&T LG G3] autoprime:
http://www.azimuthsecurity.com

yes his job is to break/secure/report.