Android Tweaks

Readme

Posted on Updated on

I would like to inform you all that any changes or modifications made on your device should be done under your own risk. I am not responsible for any damages made. Please read each and every procedure before proceeding.

The tweaking and other experiments explained in this blog has been done successfully in LG GT540 with custom cyanogenmod ROM. I will be posting only those tweaks which have been tested successfully in my device. 

So HAPPY TWEAKING and ROOTING if you DARE to … 🙂

Android Root Access

Posted on Updated on

Mystery behind the wifi ad-hoc patch!

Posted on Updated on

Before explaining the idea behind the patch let’s have a glance on few wireless networking basics.

Wireless networks are based on IEEE 802.11 standards and the wireless devices either operate in 2.4 or 5 Ghz bands. The 802.11 networks are operated in two modes BSS and IBSS.

In BSS all traffic passes through a master station known as Access Point (AP). If one station wants to communicate with other station the communication must first pass through the Access Point.

In IBSS there is no master station i.e. Access Point. The different wireless stations in the network communicate directly. This form of network is commonly known as Ad-Hoc network.

So in the patch file provided in the previous post modifies wpa_supplicant code to make ad-hoc networks appear as regular APs with a (*) prefix. It performs the following

-Removes  the [IBSS] flag from wifi scan results.

-pretends ad-hoc ssid with (*) prefix.

-sets mode 1 (ad-hoc) if the ssid is for IBSS

For more information on the modified source please check  the following link

http://szym.net/android/wpa_supplicant-ibss.patch

Problem Solved

Posted on Updated on

As discussed in the earlier post Android doesn’t support Adhoc wifi connection. But after searching few websites and forums I found the solution. There are two different versions “wpa_supplicant” files in android v0.5.x and v0.6.x. The pre-compiled versions are given below

wpa_supplicant(v0.5.x)

wpa_supplicant(v0.6.x)

Perform the following steps

1. Connect your device using USB

2. Type “adb shell wpa_supplicant -v“. This command is for checking the version of wpa_supplicant present in the device.

3. Download the appropriate version of the file from the links given above.

4. Extract the files and type the following command “adb push wpa_supplicant /system/bin/” 

5. This will overwrite the exixting wpa_supplicant file present in the device with the modified one.

6. Restart the device to make changes.

 

ALWAYS BACKUP YOUR DEVICE BEFORE MAKING ANY CHANGES

 

Android Ad-hoc Wifi support

Posted on Updated on

Today while going through few websites for the design of wifi chat application I came to know a fact related to android wifi connectivity. The WifiManager class present in android API ignores Ad-Hoc networks. Android only connects through direct Access Point. But the ad-hoc support can be enabled by

-making changes to android framework 

-configure “wpa_supplicant.conf” file present in  system/etc/wifi/ (Needs root access)

I am trying to figure out to make any changes without root access.

Rooting your phone with z4root app

Posted on Updated on

PLEASE BE AWARE WHAT YOU ARE ABOUT TO DO. I AM NOT RESPONSIBLE FOR ANY LOSS OR DAMAGE CAUSED DURING THE ROOTING PROCESS. CAREFULLY READ THE INSTRUCTIONS GIVEN.

Rooting is a process of unlocking manufacturers limitation imposed on the phone. Once rooted  you can push your device beyond the limits. You can install custom ROM’s, install themes, uninstall stock applications, tweak memory and CPU for maximum performance and lots more!!!

Here I am going to explain how to root your device using z4root application. 

1. Download the z4root.apk from the Android Tools page.

2.Plugin your device using USB and mount the SDcard.

3.Copy the apk file to your SDcard.

4.Install any file manager from android market to open the copied file from the sdcard. I would recommend to use AndExplorer application.

5.After installing the application open z4root

6.Once the application is opened you can find a button labeled “Root“. Click and you are done.

7.Reboot your phone.

Checkout this youtube video http://www.youtube.com/watch?v=SM1rBcYY620&feature=player_embedded