Nov
01
Filed Under (LG Xenon) by lg-phones on 01-11-2010

This tutorial helps you write to the LG Xenon/GR500’s internal filesystem!

Source: http://www.lg-xenon.com/lg-xenon-modifications/let-the-hacking-begin!/msg4495/#msg4495

Credit: bhiga

The LG Xenon hacking allows such things as: LG-Xenon info

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 LG 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 v1.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.

LG Cell Phone – Related Posts

Comments

MrARM on 15 May, 2014 at 2:48 pm #

May You Upload a copy of bulesoleil 1.7?
i cant find anything for it


Post a Comment
Name:
Email:
Website:
Comments: