G33K-TRICKS - Your source to Tips and Tricks : android
Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Thursday, March 9, 2017

[SOLVED] WIFI not working after replacing /editing /modifying the wpa_supplicant.conf file



How to solve WIFI not working if WPA_supplicant.conf is modified or changed.

I ran into the problem one day when I was just playing around my Android phone's wpa_supplicant.conf file.
I happily rooted my phone and went to /data/misc/wifi folder and edited the file using root explorer and saved it. Till this point it was all looking so easy. I rebooted my phone and was surprised.
My Wifi was not switching On at all after replacing the wpa_supplicant.conf file.
Tried many things but did not solve the issue. Was thinking to factory reset my phone.
Somehow I found the solution to WIFI not working.

The reason was, when we edit the wpa_supplicant.conf file while saving the ownership to file changes as we will be editing the file as a root.

You can see from the screenshot, the ownername and ownergroup are changed to "root" instead they should be "wifi"

The solution to wifi not working is,
$ adb root
$ adb -d shell

# cd /data/misc/wifi
# chown system.wifi wpa_supplicant.conf
# reboot


Hope you find this useful.


Thursday, November 17, 2016

How to Run JAVA games with Android Phones



Like everyone else, I to had a question boggling me, whether I can run JAVA games/ app from my Android phones.
The Answer to it is Yes!!!
Yes, you can run the old JAR apps on your android phones using the utility explained below.


Netmite App Runner

You can download the app from PlayStore

Below are the features for Netmite App Runner

  • Among the famous apps to run Java games  & apps  (J2ME/MIDP – jar/jad) app on Android Phones
  • It is integrated with Browser-Browse any j2me site, click to run any jad/jar file.
  • You can immediately port your existing Java apps (jar/jad) to Android WITHOUT source code.
  • App is having integrated File explorer to load the java apps

Using JBED 

1. We need to Root your Android Phone. Rooting now a days is very easy.

2. Download JBED

3. Download lib jbedvm

4. Using ES Explorer, enable root access by going to the Settings.

5. Browse system/lib using the explorer. and copy and paste the lib jbeddm to it.

6. Launch JBED. And, you can normally install any java games on your Android.


Using PhoneME 

1. Install and use phoneMe.

2. Download the "phoneMe Feature" APK from internet and install on your phone.
http://davy.preuveneers.be/phoneme/?q=node/10

3. Also download and install OpenIntents File Manager

4. Download JADGen on PC and create a JAD file for any JAR file using the JADGen.

5. Now, copy both JAD and the respective JAR file into the same folder on your phone.

6. Open the phoneME app and run the game

Using JBLEND 

1. Download the JBlend archive file and extract the contents.

2. Copy the files on your phone.

3. Install the Root Explorer application.

4. Open Root Explorer and tap the "r/w" button in the upper corner. Copy the following files to the destination specified:
ibDxDrmJava.so – /system/lib
libjbmidpdy.so – /system/lib
libjbmidp.so – /system/lib
javax.obex.jar – /system/framework
MetaMidpPlayer.apk – /system/app
MidpPlayer.apk – /system/app

5.Copy the JAR files that you want to run to your phone.

6.Use JBlend to select the files to run them. 

Check Out the Latest Posts

Recent Posts Widget