REVIGOR

Jorge's Tech Blog

Blog

view:  full / summary

Install Incompatible .apk's On your Android Device

Posted on March 18, 2013 at 6:35 PM Comments comments (1)

 

Need to download that app but get frustrated that it's incompatible with your phone? Today, it'll be possible.

Your Android Device must be have root access, you'll need to download ES File Explorer from the Play Store.

After downloading the required app, open it, head to settings by pressing the Menu Button, scroll all the way down and tap Root settings, mark Root Explorer and grant it Super User permissions after being asked to do so, also check Up to Root and Mount File System.

Now exit the app's settings and head to /system/build.prop and open it with a text editing tool.

Open build.prop and you locate 

 

ro.product.model = %YourDevice%

ro.product.manufacturer = %YourDevice%

Change these values to Nexus S and samsung. They should look like this:

 

ro.product.model = Nexus S

ro.product.manufacturer = samsung

Press the Menu button, and save the file.

After that, go to "Manage Applications" under your device's settings, locate Google Play Store and clear data and cache, then restart your device.

 


 

Host A Minecraft Server From An Android Device/Linux

Posted on March 18, 2013 at 5:30 PM Comments comments (0)

Wondered if you could host a Minecraft Server away from home? Or from a mobile device? Well, here, it is possible, what you'll need is to install the Linux Operating System onto an Android Device, you can do this by downloading the following app: 

https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid&hl=en

I recommend installing the small Image of Ubuntu 12

 

Requirments:

*A rooted device[ (Optional) (See http://goo.gl/7w27g) ]

*Java 6+ (Installed in this tutorial)

*1024MB Free RAM (Very Recommended)

*Dual-core proccessor or better (Overclocking may improve performance, See http://goo.gl/PrU5D)

After installing Linux on your Android device, you'll run whichever Linux OS you installed from the app, and then head to the terminal app and window Ubuntu is running on.

Steps (Typing these commands into terminal):

1. Start by checking the requirments and making sure your system is up to date by running the command “sudo apt-get update”

2. Get the required packages by running the following command: “sudo apt-get install openjdk-6-jre screen”

3. Create the a new directory for Minecraft: “sudo mkdir /home/minecraft”

4. Navigate to the new directory: “cd /home/minecraft”

6. Download minecraft server: “sudo wget https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft_server.jar”;

7. Run the minecraft server with the following command: “sudo java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui”

8. This should start your minecraft server! To stop the server just type “stop”

Server files should be located on /data/local/mnt/home/minecraft if on Ubuntu 12

Ubuntu is not limited to this, many other things can be done.


A Portable Webserver

Posted on March 16, 2013 at 10:10 PM Comments comments (0)

With a webserver, you can access files away from home, share them to family & friends, build your own services, or simply host a small website. If you own any device running Google's Android OS, you can host a webserver easily.

1. Downloading the required software

The first step is to obtain an app from Google's Play Store that can do what we are heading to.

Go to the Play Store on your Android device, and get a webserver app, the app I'm going to use is Fun2Code's PAW Server for Android, which can be found here: 

https://play.google.com/store/apps/details?id=de.fun2code.android.pawserver&hl=en

2. Accessing your server

After downloading the webserver app, you'll want to open it. You'll see this:

    

Now tap on the big button, after that, you'll see your internal IP listed below the button. Now, open up your browser on a computer and head to the address listed on your Android device, it'll ask for login credentials, the default Username and Password are admin and paw, these can be later changed through the Server Settings on your device. After logging in, you'll see your device's stats listed in the site. On the left side bar, you'll find information about your device, but, you can also access your device's file through the Media section, so you can access your files from another device. This page can only be seen if you're conected on the network the webserver is hosted in, in order to view these from another hotspot, you should refer to: 

http://portforward.com/routers.htm

3. Creating a website

If creating a website is what got you attracted to hosting a webserver, you can do this easily by modifying the index.xhtml file on your device's files, head to the settings of your PAW Webserver app, tap on PAW Home, then set the directory where your webserver's files will be stored at on your Android device. Now head to the directory you set your webserver's files to be at, preferably using a file explorer app such as:

 

https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en

You'll find 6 folders inside the /paw/ folder, head to html, you'll find a file called index.xhtml, that file contains the information to be displayed on the webserver, of course, this can be changed to whatever you want, you can create an HTML website from scrap, if you have HTML knowledge, use a website builder software, such as WebPlus, can be found here:

 

http://www.serif.com/web-design-software/

or, get a quick web template from: 

http://www.freewebsitetemplates.com/

Whichever option you choose,you should replace the index.xhtml file with that of yours, after finally, you can refresh your webserver, and see your job, if you want for others to see your site, you'll need to port  forward your IP to port 8080

http://portforward.com/routers.htm



Rss_feed