Find Your Forum
  
Welcome, Guest. Please login or register.
Did you miss your activation email?

News: Do you like LG Xenon?
LG Xenon, LG Xenon phone  
Best Screen Protector for LG Xenon      Lowest Price on AT&T Phones
Pages: [1] 2 3 4
Print
Author Topic: Let the hacking BEGIN! (Filesystem access achieved!)  (Read 28706 times)
bhiga
Administrator
Hero Member
*****
Posts: 848


View Profile
« on: October 20, 2010, 01:05:05 PM »

With HUGE thanks to cambys007 and the others who volunteered to poke around, we now have a reliable method to write to the Xenon/GR500's internal filesystem!

This allows such things as:
1. Replacing the Java security policy file (rogers.pol, att.pol, etc) to allow unsigned Java applications access to phone functions.
2. Some future hacks/mods, like we've seen for the Vu.

But first, A WARNING:
Messing around in your phone's internal filesystem is NOT for the faint of heart.  You CAN screw things up pretty badly if you don't know what you're doing or you aren't careful.  You could definitely render your phone inoperable, unbootable or worse.  And your carrier or vendor will be UNLIKELY to help you, if they know the problem is caused by you messing around in the system.

ALWAYS back up important data before doing anything, and always back up the original versions of any files you change or replace.

Since this involves ejecting/inserting the MicroSD card a lot, you should back up your MicroSD card content before proceeding - or better, use a the smallest/cheapest MicroSD card you have when doing this.  There is a possibility your MicroSD card may get corrupt/unreadable/damaged!

What YOU do with YOUR phone is entirely YOUR responsibility.  By following the instructions, you must agree to be responsible for your own actions (there's far too little of this these days).

That said... ON TO THE FILESYSTEM!

This method has been confirmed to work on:
  • AT&T-branded GR500/Xenon, firmware 1.0o
Please report back with your phone's model and firmware if you have success or failure.

1. First, check to make sure this is likely to work.
  • Format an SD card for use in the phone
  • Insert the card into the phone.  Make sure the "Memory card is inserted. Default storage location is changed from device to memory card." message appears.
  • Tap OK.
  • Check the Set Default Storage >Bluetooth setting to verify it is set to Memory Card.
  • Eject the card from the phone.  Make sure the "Memory card is ejected.  Default storage location is changed from memory card to device." message appears.
  • Tap OK.

2. If the steps above failed, STOP NOW, this probably won't work on your phone.  Otherwise continue.

3. Now we need to create the files on the card to block the phone from relocating what we upload.
  • If you use the phone as a MicroSD reader, set the phone's USB Connection to Mass Storage mode then connect it to the computer via USB.  Otherwise insert the MicroSD card into your MicroSD card reader.
  • Create a Hidden, Read-Only file named Others on the MicroSD card root
  • Create a Hidden, Read-Only file named Other Files on the MicroSD card root
  • Safely Remove the MicroSD card and disconnect the phone USB if necessary.

4. Pair the phone to your computer via Bluetooth.
  • Establish a Bluetooth FTP connection to the phone.
    Note that we are exploiting a security loophole in the phone, so this may not work with all Bluetooth FTP clients.
    For Windows, the only known program that works is IVT BlueSoleil v2.7 or older.
    For Linux, use obexftp.
  • Navigate to ..\Media
    You should see a filesystem there.  If not, STOP - your Bluetooth FTP program doesn't support navigating "up and out" of the root or the phone's loophole has been closed.
  • Insert the MicroSD card in your phone.
  • Upload a test file to ..\Media
  • When the transfer is complete, eject the MicroSD card
  • Refresh the directory listing of ..\Media
    If you see your test file, you succeeded.

5. Going forward, the process you need to follow to upload files to the phone's filesystem via Bluetooth FTP is as follows:
  • Browse to directory you want to upload your file(s) to.
  • Insert the MicroSD card into your phone.
  • Upload the file(s).
  • Eject the MicroSD card from your phone.
  • If you have more files to upload, repeat the process.
  • Remember: The MicroSD card needs to be ejected while you navigate the phone's filesystem (otherwise you'll get the card's filesystem), but inserted when you upload files.

Known Limitations and Warnings
  • You can always delete files/folders, but there's no guarantee you'll be able to recreate those same files/folders.  
  • Replacing a file via Bluetooth FTP requires deleting the file, then uploading the replacement.  Sometimes you can simply overwrite and it'll work, but the overwrite process really deletes the file, then uploads its replacement.
  • SO ALWAYS MAKE SURE YOU CAN UPLOAD NEW FILES TO A LOCATION BEFORE YOU TRY TO DELETE OR REPLACE EXISTING FILES!
  • You can't browse more than 4 folders deep.
    For example, you can't get to \..\Media\Java\cert where the Java security policy files are.
  • You can get two folders deeper for folders under \Media by remembering that the "root" directory is really \Media.  So if you want to replace your Java security policy file in \..\Media\Java\cert browse to \Java\cert instead.
  • You may also be able to get deeper by alternating forward- and back-slashes in the folder path.  However, always test uploading a NEW file first to be sure you will be able to replace files.
  • BlueSoleil on Windows has a tendency to drop the connection or get confused if you go too far or deep in the directory tree.  Take things slowly, and close and restart BlueSoleil if it gets confused.  You might also need to reboot your phone from time to time.
« Last Edit: April 26, 2011, 04:53:09 PM by bhiga » Logged

--Brandon
LG GR500 Xenon: The Better Manual - get it here
Carrier: AT&T
Data cable: LG-DLC100
Platforms: XP Pro 32-bit, Windows 7 Pro 64-bit
Phone: LG Xenon (GR500) - Black
bhiga
Administrator
Hero Member
*****
Posts: 848


View Profile
« Reply #1 on: October 29, 2010, 12:38:58 AM »

Important additional note, especially for those who have moved on to a different phone and are just tinkering with the Xenon.

The Xenon doesn't behave WITHOUT a SIM inserted, and the Virtual SIM mode from the Engineering Menu doesn't seem to give you full capabilities.

The easy solution (if you don't have a SIM for another line) is to get an old SIM card and stick it in.  It'll give you a "SIM not provisioned" message but will boot normally, then you'll have the usual functionality, but obviously without access to the network. Smiley

Normally when you get a new phone, your carrier will give you the option of getting a new SIM card.  Say Yes, but tell them that you want to keep your old SIM for backup purposes (grabbing contacts off of it, for example).  Some carriers will also let you get a new SIM without a fee.
Logged

--Brandon
LG GR500 Xenon: The Better Manual - get it here
Carrier: AT&T
Data cable: LG-DLC100
Platforms: XP Pro 32-bit, Windows 7 Pro 64-bit
Phone: LG Xenon (GR500) - Black
Hayorti
Newbie
*
Posts: 24


View Profile Email
« Reply #2 on: November 01, 2010, 12:53:21 AM »

Ehhhhhhhhhhh!!!!!!!! Finally Cheesy

Sorry I've been away for a while (I wasn't doing much to begin with), but now that I'm back, this was a very warm welcome, to say the least. I'll be sure to drop by to grab any updates that I can, and fiddle with it as soon as I can buy a Bluetooth dongle for my PC Smiley

Thanks, everyone, for all your hard work. We, everyone that didn't work on the technical aspects of the project, really appreciate all that you guys have done. Especially you, bhiga, for all your hard work and determination Cheesy
Logged
bhiga
Administrator
Hero Member
*****
Posts: 848


View Profile
« Reply #3 on: November 01, 2010, 12:05:51 PM »

I very much appreciate all the efforts of all the others who volunteered at the risk of bricking their phones.

cambys007 was the one who finally came up with the novel idea.  I never thought of using the phone's own auto-redirection against it.  Very ironic - I love it, hehehe.  I like those kinds of things - that's why I liked Die by the Sword - you could hack off a monster's limb, then pick it up and club them with it.
Logged

--Brandon
LG GR500 Xenon: The Better Manual - get it here
Carrier: AT&T
Data cable: LG-DLC100
Platforms: XP Pro 32-bit, Windows 7 Pro 64-bit
Phone: LG Xenon (GR500) - Black
Hayorti
Newbie
*
Posts: 24


View Profile Email
« Reply #4 on: November 04, 2010, 05:55:47 PM »

I'm surprised no one else has replied to this thread. This is news this whole community has been anxious to hear for a looooongggg time. Either people are disinterested now, or there are gonna be some very happy posts coming our way when they finally check everything.

Bhiga, I'm sure you can send a mass message to all the members right? If so, you might as well, just let everyone know that there's something new in the forums and that they should come check it out. Inject some energy back into these forums so they're bustling like before. At least that way the people who worked on the Vu and other phones to do exactly what you guys have accomplished with the Xenon, can come and help us out a bit more now that we can actually use their experience and expertise.
Logged
bhiga
Administrator
Hero Member
*****
Posts: 848


View Profile
« Reply #5 on: November 04, 2010, 06:50:55 PM »

I'm more of a "guest" moderator, but I know it's possible on other forums.

Lots of views, not many replies.  I think a lot of folks have moved on to other/newer phones.  I know a couple of the folks who were in the initial hacking effort have.
Logged

--Brandon
LG GR500 Xenon: The Better Manual - get it here
Carrier: AT&T
Data cable: LG-DLC100
Platforms: XP Pro 32-bit, Windows 7 Pro 64-bit
Phone: LG Xenon (GR500) - Black
Syko
Newbie
*
Posts: 1


View Profile Email
« Reply #6 on: November 07, 2010, 11:16:16 PM »

Awesome!!! Ive been waiting for a reason to keep this phone around!
Logged
eddienil
Guest
« Reply #7 on: November 08, 2010, 01:04:25 PM »

Well, this is great news and I have until next May to upgrade my phone. I'm not much of a hacker so I'm just waiting to see what people can do with this! Great work people!
« Last Edit: November 18, 2010, 03:05:57 PM by eddienil » Logged
bhiga
Administrator
Hero Member
*****
Posts: 848


View Profile
« Reply #8 on: November 08, 2010, 06:49:53 PM »

I'm sticking around mainly because my wife has a Xenon.
Logged

--Brandon
LG GR500 Xenon: The Better Manual - get it here
Carrier: AT&T
Data cable: LG-DLC100
Platforms: XP Pro 32-bit, Windows 7 Pro 64-bit
Phone: LG Xenon (GR500) - Black
mitch_thepcman
Newbie
*
Posts: 1


View Profile
« Reply #9 on: November 08, 2010, 09:05:09 PM »

Quote

Bluetooth FTP clients.
For Windows, the only known program that works is IVT BlueSoleil v1.7 or older.
For Linux, use obexftp.

Where can I download IVT BlueSoleil?

Thanks
Logged
blkcrowe
Newbie
*
Posts: 1


View Profile Email
« Reply #10 on: November 11, 2010, 07:31:36 AM »

Just curious to know as I just saw a friends LG shine touch and the menu system/firmware looks pretty much the same as my xenon except with alot of updates that i would love to have on my xenon, anyone think its possible to use the shine touch firmware on the xenon.... keeping in mind my phone is already unlocked.
Logged
bhiga
Administrator
Hero Member
*****
Posts: 848


View Profile
« Reply #11 on: November 11, 2010, 12:55:23 PM »

BlueSoleil is a commerical app, but I can tell you that it's included with a number of inexpensive USB dongles like the Tiny USB 2.0 Bluetooth V2.0 EDR Dongle Wireless Adapter I bought off eBay from Eforcity.

The driver for that particular dongle is IVT2.7 (BlueSoleil 2.7 - which works too) for POTHXXXXAD09
Logged

--Brandon
LG GR500 Xenon: The Better Manual - get it here
Carrier: AT&T
Data cable: LG-DLC100
Platforms: XP Pro 32-bit, Windows 7 Pro 64-bit
Phone: LG Xenon (GR500) - Black
bhiga
Administrator
Hero Member
*****
Posts: 848


View Profile
« Reply #12 on: November 11, 2010, 12:58:43 PM »

@blkcrowe:
It seems most/all of the non-WinMo/Android LG phones use the same interface file types for the interfaces on their phones.  However, I have no clue whether those files are just interpreted stuff or actual binary files.

If they are binary files, then they may be hardware-specific, as the different phones run on different core platforms - for example, the Xenon is a Sony Ericsson platform, whereas the Vu is a different platform, even though they both use PAF and PMF files.

So, long story short, I don't know.  Maybe ask on the Vu forum, someone there likely knows whether the files are executable code or just interpreted stuff.
Logged

--Brandon
LG GR500 Xenon: The Better Manual - get it here
Carrier: AT&T
Data cable: LG-DLC100
Platforms: XP Pro 32-bit, Windows 7 Pro 64-bit
Phone: LG Xenon (GR500) - Black
txbdawk
Newbie
*
Posts: 5



View Profile
« Reply #13 on: November 16, 2010, 12:44:42 PM »

Well this looks like it should be excellent news for y'all techies!!  Although during my researching of another issue, I'm gathering that alot of folks have moved on to other newer, fancier phones. I know I don't dare try this and Im not sure why I would want to have/know this, lol.   

Im such a phoob! lol  Prolly not even saying/spelling that right.

I had my razor phone for almost 4 yrs and was very happy with it, since I only used it to make phone calls, didn't do much texting then and no browsing. Love the flip phone, smaller and not worrying about setting it off by touching anything, lol.  But finally one of the buttons quit working and the screen kept getting smaller and smaller (hehe!) sooooo I opted for a phone with a full keyboard and bigger screen.   I dont even like the touchscreen portion of this phone, lol.  Should have bought the non-touchscreen one. 

My contract is up in May, so you can bet this time, if I do decide to trade in, I will be doing a heck of alot more research first.  Hmm wonder if there is a flip phone with a full size key board and LARGE screen or at least LARGE fonts..... eyesight isnt like it once was, lol.
Logged
CubeXombi
Newbie
*
Posts: 1



View Profile Email
« Reply #14 on: November 17, 2010, 01:38:00 PM »

You mention using obexftp, As in
Quote
obexftp -b -c . -c Media -c Java -c cert -g rogers.pol

for example; I'd like to fetch and read my policy before overwriting it (not cure if the syntax is right or not)
I tried to get into the Media\Java folders but am stopped short (from root? ".") 

It could be that I'm just "doing it wrong" in which case I'm an idiot and I'll be happy with that; but it would be nice for someone to clarify.

/in this example I'm just trying to get into "Media"
Quote
ubuntu@ubuntu:~$ obexftp -b -c . -c Media
Scanning for (null) ...
Found: 64:99:5D:2D:F9:F4
Browsing 64:99:5D:2D:F9:F4 ...
Connecting..\done
Tried to connect for 566ms
Sending "."...|done
Sending "Media".../failed: Media
The operation failed with return code 68

also:
Wouldn't obextool allow for browsing as well, (in a gui no less), I'm not near my (usable) machine at the moment, but one would think this would be a little easier.

Update:
Got a little farther @ home

Quote
cubexombi@Xombi-Desktop:~$ obexftp -b -c . -l
Scanning for (null) ...
Found: 64:99:5D:2D:F9:F4
Browsing 64:99:5D:2D:F9:F4 ...
Connecting..\done
Tried to connect for 233ms
Sending "."...|done
Receiving "(null)".../<?xml version="1.0"?>
<!DOCTYPE folder-listing SYSTEM "obex-Folder-listing.dtd">
<folder-listing version="1.0">
<parent-folder />
<file name="Others" size="0" />
<file name="Other Files" size="0" />
<folder name="Games & Applications" />
</folder_listing>
done
Disconnecting..-done

Missing some folders is seems?



GR500FR (fido)
« Last Edit: November 17, 2010, 06:15:36 PM by CubeXombi » Logged
Pages: [1] 2 3 4
Print

Jump to:  

Got a new phone? Find the forum here





Galaxy S3 | Galaxy Note | Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Tech Support Forum | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC One | HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "mobile@vssupportqueue.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip