yashsingh1/xdaforums huggingface dataset:
[LG Revolution] kalvinl:
I know there has been an effort to get into the bootloader through adb, maybe you should try using the quickboot app to see if it offers different results. Not likely but worth a shot
[LG Revolution] majorpay:
Interesting. I saw what that other person saw when they tried to do an adb reboot recovery. I've not played with it. Maybe it's time.
[LG Revolution] majorpay:
I found the supposed system dump from before the device was released. If you want to check it out, you'll see it appropriately named on my ftp site. I did extract it using 7zip and it extracted without a hitch, but I didn't really take a look at it (still at work).

Edit: This is from the original source of all the supposed leaks, so if this doesn't have what you want, none of the copycat sites are going to have it either.
[LG Revolution] majorpay:
Disregard....
[LG Revolution] thecubed:
From what I heard, it was just a /system dump also.. what I really need is the entire phone dumped... and possibly an explanation of what I'm looking at.

As far as accessing the bootloader through ADB goes, I think we're as far as we're going to get for a while on this one. From what I've seen from the p1 and p2 dumps, there's no fastboot support or any user-facing menus we can get to, unless one of the other partitions that we can't access holds more secrets.

Here's a thought... can we make a .kdz (LG's firmware update file) using their download tool?
[LG Revolution] majorpay:
Yeah, I realized my mistake there.

How would we make it using their tool?
[LG Revolution] thecubed:
I'm not entirely sure, but I wonder if there's LG dump tools around that would work with the phone put into "download mode".

Another (hopefully not true) thought is that it might be like the Samsung phones, where access to special functions of the bootloader are enabled by a special "jig" connected to the USB port, consisting of a resistor attached to some of the pins.

Either way, this is unnecessarily complex for LG to have put all this together just for this phone, when the Optimus series operate completely different. Then again, this is one of LG's first Snapdragon phones, isn't it?
[LG Revolution] majorpay:
Yeah, and they said on the phone "we expect big things from this phone" indicating it was their pride and joy.

Here's a clue though: Don't let Microsoft pee on your product if you're really proud of it :D
[LG Revolution] majorpay:
This is how they do it....

Reading some more stuff about LG Android phones. May have a few more leads, but I'm guessing (as usual), even with these leads, we are still missing recovery. There was an interesting step missing (actually a few according to what I'm reading) that LG failed to tell us in using our tool, but good old XDA comes through again. I'll try the missing procedures some time tonight and report back.

That tool has been used to unbrick other phones as well. There is also another tool that was built (by LG) for flashing. This may not be the first LG to be weird like this one, but who the heck has owned an LG before this one (I wasn't familiar with their Android line at all before this one.)?
[LG Revolution] thecubed:
Hmm, I just had an idea.

Possibly not a good idea, but an idea nonetheless.

I was comparing the mmcblk0p9 (boot.img) and mmcblk0p14 (recovery.img) with the custom recovery.img birdman sent me...

I think I may have figured out why the custom recovery doesn't work-- the headers are slightly different.

Example:

mmcblk0p14.img

00000000 41 4E 44 52 4F 49 44 21 AC 66 38 00 00 80 20 00

mmcblk0p9.img

00000000 41 4E 44 52 4F 49 44 21 AC 66 38 00 00 80 20 00

[b]custom_recovery.img[/b]

00000000 41 4E 44 52 4F 49 44 21 AC 66 38 00 00 80 [b]00 10[/b]

I wonder if the base address is incorrect...

I still need to decipher the boot.img format (link to format) to see what item those two bytes translate to, but if it's the load address, I could see why the device wouldn't boot after pushing the custom recovery.

As far as what I've read, making custom boot.img for the Nexus One required a special boot address also, and the Nexus One is a snapdragon based phone too... so I wonder if I'm on to something here...

EDIT: Yep, looks like both the kernel and ramdisk load address are wrong on the custom recovery.img. This might not be so bad after all :)
[LG Revolution] majorpay:
Good deal. Hopefully this means something special is about to happen :D

Here is what I was talking about:

http://xdaforums.com/showthread.php?t=883314

http://xdaforums.com/showthread.php?t=865479

http://xdaforums.com/showthread.php?t=883314

http://xdaforums.com/showthread.php?t=844483

This is all from the p500. One big difference that I noticed was that their partitions were MTD, but they were using custom firmware tools custom created on their PCs (and from LG) to upload their original or custom firmware, which makes me believe they likely had a weird configuration as well with their stock bootloader.

Also of particular interest is they showed how to download your firmware by using this (modified for this example):

http://csmg.lgmobile.com:9002/csmg/b2c/client/ezlooks_model_list.jsp?model=VS910

then using the return to fill in this:

http://csmg.lgmobile.com:9002/swdata/WEBSW/VS910/XXXXX/V10a_00/V10A_00.kdz

The bottom line is that the firmware and recognition for our phone just flat out isn't available from LG.

Lastly, they are using the same kernel as us (they used the LG tool to upgrade their phones to it).
[LG Revolution] majorpay:
sry- can't read tonight... I swear I'm going delirious from lack of sleep...
[LG Revolution] thecubed:
:) it's even easier than all that.

Well, I can safely say that I think I may have found a way to make custom recoveries :)

I just need to wrap my brain around that .c file I posted earlier.

Short version: the base image address birdman used was incorrect. right now i'm trying to decompile recovery, then put it back together exactly using the mkbootimg tools. once I can do that, I will make a modified ramdisk.

seems LG wasn't doing any funny business at all...
[LG Revolution] majorpay:
Very nice. Well, in that case, I guess we can guinea pig it up shortly here!

Sorry, I'm not keeping up as well anymore. Insomnia over the past few nights is catching up with me. Which c file? Are you talking about the header file you just posted?
[LG Revolution] thecubed:
Yep, I'm working on using the android tool "mkbootimg" along with "split_bootimg.pl" to first split the mmcblk0p14.img into the kernel and ramdisk separately.

Then after I do that, I use mkbootimage to recombine the two into a new .img file, and hex comparing the two files. Once I get the two headers to match up, I know I've found the base address for sure.

If the base address is incorrect, the phone won't even be able to load the kernel into RAM and execute it, hence why birdman's phone got stuck on the bootloader.

Now, there's no safe way to test this, honestly.. but once I get the header correct, if anyone wants to risk it, i'll post it here.
[LG Revolution] majorpay:
If you really really feel good about, I'll give it a go later, but go ahead and check whatever you can and double check :D

It's going to be a one stab deal.

You may want to pick someone if multiples volunteer and give them EXACT directions. We don't need the entire forum bricking their phones.

I guess the worst that can happen is we have to explain to Verizon that our phone mysteriously broke :D
[LG Revolution] thecubed:
Trust me, I'm not going to release anything unless I'm SUPER sure that it's safe.

Basically, I'm trying to make an exact copy of our current recovery. Once I can do that, I think we'll be good to go.

But, to be safe, I'll do the testing over PM just to be sure nobody kills their phone unnecessarily :)
[LG Revolution] thecubed:
DONE!

I managed to disassemble the .img file, and put it back together successfully.

ATTENTION ROM GUYS!

Any .img file you create from mkbootimg MUST have a base load address of 0x00200000.

Here's the details of the offsets for kernel and etc:

kernel:
0x00208000

ramdisk:
0x01200000

second:
0x01100000

tags:
0x00200100

The files produced are EXACTLY the same. Which is great news, meaning provided there's nothing signed, we now have a way to generate hopefully working boot images.

The next thing for me to figure out is why the dumps from the phone are padded with 0xFF rather than 0x00.

My thought is that to push the image to the phone the process would be as follows:

DO NOT run this, this is just me thinking in code...
cat /dev/zero > /dev/block/mmcblk0p14
(should fill up the p14 with zeroes to remove old recovery)
cat /sdcard/recovery.img > /dev/block/mmcblk0p14
(will copy over the new recovery)

but the only thing I'm wondering is what is supposed to write all the 0xFF padding to the image....

maybe that's what "flash_image" is for..

anyway, I'm excited!
[LG Revolution] MXFrodo195:
I've been watching you guys do this. And some day i need to figure out how you guys come up with this stuff!! I'm excited though!
[LG Revolution] thecubed:
Very very very close :)

tyler@themachine:~/projects/phones/lg/revolution/recovery-testing/$ md5sum new-recovery.img mmcblk0p14.img
0df0ee2ccf359945d8f0029a2ffa29cd new-recovery.img
0df0ee2ccf359945d8f0029a2ffa29cd mmcblk0p14.img

I've successfully figured out how to rebuild the entire recovery image from scratch.

I've even got it scripted :) yay!

The last few secret commands turned out to be:

# Make the recovery.img
mkbootimg --cmdline 'console=ttyMSM1 androidboot.hardware=qcom' --kernel recovery-kernel --ramdisk recovery-ramdisk.gz --base 0x00200000 -o recovery.img
# Make padding file, full of 0xFF
tr "\000" "\377" < /dev/zero | dd ibs=1k count=12288 of=recovery-final.img
# Add the two files together
dd if=recovery.img of=recovery-final.img conv=notrunc

after you've got your ramdisk and kernel split.

Now to make a build environment for creating ramdisks...
[LG Revolution] clabr20:
I'm ready and willing.
[LG Revolution] thecubed:
Okay, I have a recovery image ready, but the only thing different is that it has ADB enabled. It is not a clockwork recovery image, and when activated, it will factory reset your device, but it will have ADB enabled while doing so.

Are you sure you're okay with:

a) the possibility of bricking; and

b) the fact that if it does work, your phone will be restored to factory conditions

If you are, my next question is: do you have a PC handy with ADB access to the phone currently?

If you answer 'yes' to those questions, meet me on IRC (irc.freenode.net) in #lgrevolution . I'm IOMonster over there. (Don't have an IRC client? just go to http://webchat.freenode.net , set a nickname and the channel and you're good to go!)

Thanks for your willingness to give this a try!
[LG Revolution] majorpay:
Sorry, I was out, but am back now. Any news as far as testing? Was there any takers that met up with you for testing?
[LG Revolution] thecubed:
Yep, i'm working with clabr20 on IRC now.. join in on irc.freenode.net on #lgrevolution if you'd like.
[LG Revolution] lazarus2297:
I am basically of no help but my revo should be here today and I have been following this thread hitting refresh for the last couple hours waiting to see if u guys are gonna get this going. So u have at least one more fan cheering u on :-)
[LG Revolution] thecubed:
We're waiting for clabr20 to get his phone re-rooted-- his power went out, so we're just waiting now.

I'll post here as soon as we know what happens...
[LG Revolution] gimpcell:
I cannot find the channel. This is turning out to be a fiesta.
[LG Revolution] thecubed:
Channel is #lgrevolution on irc.freenode.net
[LG Revolution] thecubed:
Well, our tester has gone MIA... we might have to pick up tomorrow.

Summary of events: nothing has happened so far. I've still got the custom recovery image ready for any testers who aren't afraid of bricking their phone...
[LG Revolution] leemsami:
i went to the website and put my info in. I'm lost. i put in my name and #lgrevolution....... i must be missing a step. give me the instuctions in dummy mode because I'm willing to be a test dummy. i can give u my work number to walk me through it later if u like.
[LG Revolution] gimpcell:
Same problems here. I have successfully logged into my other channels on different severs. I'm using Android IRC on phone and Xchat on Suse. :-(
[LG Revolution] majorpay:
I have had issues with IRC on freenode from my phone. It doesn't seem to want to connect (SASL security issue). I am, however, able to connect just fine using a browser.
[LG Revolution] majorpay:
OK, I finally figured this out. For those of you confused about how to connect to freenode on your Android device, the only client (that I'm aware of) that will work with Android 2.2 is AndChat.

BUT...

If you want to use AndChat, you must first register yourself on the server. Freenode does not allow mobile connections without registration (hence the SASL error).

The steps to register are as follows:

1. Log in (on a physically connected device) via webchat.freenode.net (put your username, put #lgrevolution for the channel, fill in the human verification, and join).

2. Type /nick <your username>

3. type /msg nickserv register <a password you want> <your email>

4. check your e-mail and follow the instructions for confirming your e-mail address.

Once you are registered, use AndChat to connect. The IRC server is chat.us.freenode.net. Put in your username/nickname and the password you chose, and voila - FreeNode access from your phone.
[LG Revolution] Carbon_Rink:
SO whats the word.. ready to see if it worked or not! Were there any tests at all?
[LG Revolution] majorpay:
The designated tester had dropped connection and never came back as of 12am MT (appx. 1 hour later). I had to drop off at that time, and cubed said we'd pick up later today, but I know he stayed on later, so he might have some more insight when he shows up today.
[LG Revolution] bwhxeon:
If my plans change tonight, I'll be the guinea pig. 4g issues have me thinking I'm going to return the phone anyways and wait a little longer for better phones to come out. If this works or fails it works in my favor :)
[LG Revolution] majorpay:
Good deal, just let us know if you're available after the first appearance by cubed today. Sucks to lose another person on this phone, but I can understand. I don't think I'm going anywhere personally as I've been pretty happy with it (then again, we don't get 4g at all where I am). I figure they will work out the kinks with their 4g eventually, but the biggest issue for me on not waiting was the impending tier data plan Verizon has in store for us all. I'd rather prolong that for another two years (actually, I'd rather prolong it for the rest of my life :D)
[LG Revolution] Squiz0329:
I'm ready to rock this instant if cubed is available? I have to go to work in a few hours though.
[LG Revolution] bwhxeon:
yah I know same reason I jumped on the 4g bandwagon, but I wouldn't be surpised if they just announced the tiered plan just to get people onto these phones. Technically though if we upgrade to another 4g phone the next time around we should be able to keep our unlimited data right?
[LG Revolution] majorpay:
A topic for a dedicated thread, but the answer is *maybe.* If you make the cutoff in renewal prior to their release of the new tiered plan, you will be safe for two years (and only two years). After your contract expires, you are fair game, and they will push you into the tiered plan. As far as whether this is speculation, absolutely not. The CEO and CTF both confirmed that this will happen. If they don't make good on their word, it would be bad for the company (funny, keeping a bad promise is looked down upon, but we aren't the interest, the investors are).

If we are to believe the preliminary speculation on how they will model the plans, we would look at AT&T. The speculation right now is that we would get something similar: like 200Mb for $25, and 4Gb for $50. No one with a smartphone will be able to live on the 200Mb plan (4G or 3G), and that's what they're counting on. Anyone who does e-mail and surfs the web might be able to live on the 4Gb plan. So they get to increase their rates from your usual $30 to $50 and call you a "power user." But those of you that are TRULY power users and go above that 4GB, they are going to try to up that around $80. And this isn't a cap, it's an imaginary limit. They will be more than happy to charge you a $1 or more per every Mb you go over, and you'll get the surprise in the mail :D

So, if this goes into place and stays that way, I, for one, may not take the raping next contract period and will opt out of a smartphone all together. The likelihood of them ever going back on a plan that puts more money in their wallet? L-O-L. Not unless we leave in droves, and with a lack of competition, they're banking that wont happen.

The only reason they haven't implemented tier yet is because they want to steal some of AT&T's customers when the iPhone 5 comes out before they hit everyone in the back of the head with the fact that their money-vac is going to suck as bad as AT&T (call it short-term incentive to switch).

Edit: They don't call us smartphone users "power users," they call our devices "luxury devices," and as such we should pay "luxury rates." ;)
[LG Revolution] bwhxeon:
are they going to try and do this with the hotspot devices as well? Either way makes me think I'm right and they announced it right before these devices came out to get them out the door and once tiered pricing comes into effect people will want the dualcore phones and be forced to take tiered pricing to get them. Only way around that is to pay retail for those devices later and renew now.
[LG Revolution] majorpay:
There has been no firm word on the Mobile HotSpots (AFAIK). It actually looks like it's a better way to go. If it truly is a better way to go, and you start seeing individuals switching at any kind of a loss of revenue to the major carriers (translate: getting the same for less money), you can guarantee that both AT&T and Verizon will *fix* that.

You are right that the only way to take advantage for the current consumer is to renew now (or within the next month or two) and buy the device out of pocket. I'd check into the dual core devices as well. From what cubed had told me, the Atrix sucked bad (in every way, shape, and form). So like you, I was initially tempted to hold out for the Bionic, but it would suck if I held out and it was as big of a turd as the Atrix (but I'm biased... I like my Revo).
[LG Revolution] bwhxeon:
never really bothered reading anything about the atrix, whats the problem with it? I'm assuming your refering to the bootloader? The only other device I looked into was the optimus 2x. Seems like the smart move is to get a galaxy s2 from the UK and carrier unlock it.
[LG Revolution] majorpay:
I can't speak from experience, but cubed referenced it as all being a gimmick-

The laptop port sucked (slow, buggy), the screen wasn't great, the build was cheap, the boot-loader was locked, etc - he can give you more of the specifics.

The kick in the pants for us is that the Bionic is essentially a replica with LESS RAM and no fingerprint reader (nerfed) :eek:
[Motorola Droid X2] adrian1185:
delete thread
[Eee Pad Transformer General] Android-hotness:
Hi,

after going to PRIMORDIAL! v3.1 rom from Prime.1.3.r2, my VPN stops working. I can establish using "VPN Connection" but when I try to RDP to any of my server at work it times out. If I downgrade and go back to Prime.1.3.r2 VPN works fine.

Doe anyone have a work around for this? I really want to be on 3.1, but need needs VPN working. Thank you in advance.
[HTC Flyer, EVO View 4G] i00:
Has anyone managed to install another RUU (other than ones for their region) with a gold card?

I tried but it failed... (may be the type of card I used)

Thanks

Kris
[HTC Flyer, EVO View 4G] i00:
Has anyone got SuperOneClick working to root their device?

Thanks

Kris
[HTC Flyer, EVO View 4G] Dubee24:
I tried it last night it wouldn't work
[HTC Flyer, EVO View 4G] Shigster:
All root methods were patched in Gingerbread...

I do know that unrevoked team is working on a new way to root all devices with one program..we just have to wait and see
[HTC Inspire 4G] slayaman22232:
On my home wifi network i get about 20 mbs down and 6 up on my laptop. But on the speedtest app on my inspire i get about 9 megs down and 6 up. And on data i usually get about 3 down and 1.5 up. But for some reason web pages load faster on data than on wifi for me. Do you think this because of the rom or something else? Does this happen to any of you? Oh btw im running rmix 3d 1.0 and i use the stock android browser.
[HTC Inspire 4G] Carlrobling:
I will say the wifi in your laptop is generally gonna have better reception then your phone. i ran a test on wifi from my phone and laptop. The phone had 9 mb/s down and 4 mb/s up. the laptop had 13 mb/s down and 4 mb/s up. On data during the day i almost always get 1.5 mb/s down and 1.2 mb/s down. As for web browsing alot of things could play into that. Low ram could play a part in that. Along with other small things. I am also running rcmix 3d 1.2. You may want to upgrade to the latest version. To be honest I wouldn't be to concerned.
[HTC Inspire 4G] zuriken:
Is there a "WiFi performance" slider for the Inspire? Thinking back to the Windows Mobile based Tilt 1 which had a "WiFi speed vs battery life" slider. :P
[HTC Inspire 4G] slayaman22232:
Thanks for the reply and im planning on upgraging to 1.2 but i already have this one set up so good that i dont want to upgrade. But i just find it really weird how my wifi is so much faster than data but pages load slower on my wifi. Anyways thanks.
[HTC Inspire 4G] Simba501:
Yeah, for the stock rom. Whether or not it exists in other roms is dependent on its developer.

Open wifi, hit menu, then advanced (or something like that). I don't remember exactly where it was since I haven't been stock in a while. But the option is there, something to the effect of "Best Wifi Performance"...
[HTC Inspire 4G] g3ismeee:
I believe the toggle you are talking about

is under Settings>Power Saver on the stock rom. I don't see anything under Settings>Wireless and networks>. If there is actually a "slider" I would be interested to find it as I am still running stock.
[HTC Inspire 4G] zuriken:
Oh yeah, there it is! Thank you kindly. :D
[HTC Inspire 4G] Simba501:
Open the actual wifi menu....the menu where you can see available networks. Then hit menu, then advanced, and I think it's there. It's a checkbox that's called "best wifi performance" or something of the like.

Sent from my Inspire 4G
[HTC Inspire 4G] g3ismeee:
Yup! Thanks!

It's a toggle, "Best Wi-Fi Performance. May consume more power." I hadn't ran across that. Thanks yous :-). I have now checked it because usually when I am on Wi-Fi I am also plugged in. I also have profiles to toggle my Wi-Fi on and off, so YTF not? Thanks for the tip! Now I'm wondering if the network will still beat my home 54Mbps Wi-Fi, which it has been. I shall find out :-).
[HTC Inspire 4G] g3ismeee:
And the initial answer is...

No appreciable difference between the two. Best I've ever achieved is 6.0 down on my home Wi-Fi vs. 7.6 down from a known good tower. I'm still getting 6.0 in my tests with the above toggle switched on. If it changes will update...maybe the performance will be more consistent, vs. best speed achieved. My Wi-Fi speed test have been somewhat variable.
[HTC Inspire 4G] vibhma:
I belive this setting is ROM specific !!. I don't have any "best wifi performance" in my current ROM TPGB20110518.
[HTC Inspire 4G] g3ismeee:
It is...

...and he said that. Stock ROM has it.
[HTC Inspire 4G] slayaman22232:
So does rcmix 3d 1.0
[HTC Inspire 4G] -Kevlar-:
my wifi is pegged out now...
[HTC Inspire 4G] g3ismeee:
yeah. but maybe the variability goes away some with the switch on I dunno. Can't hurt since I'm usually plugged in or plugging in often with WiFi mostly at home and work.
[Samsung Infuse 4G] bella92108:
So it seems like the first time stuck so it restarted, now it's stuck at partition. I selected the PIT and the PDA stock file, but it's just sitting there ... I'm on the phone + PC logo.

Am I totally screwed? What to do?