Posts

Showing posts with the label Android

How I killed my Android phone and brought it back to life using ADB

Yesterday, I rebooted my rooted Android phone, the Lonovo P770, and I could not get the keyboard to work because the Language & Input settings kept crashing. I tried to do a factory reset but forgot that I uninstalled some of the Lenovo's stock apps including the stock launcher and keyboard. So, after the reset finished, the phone was useless because I could not open any apps. Basically, I couldn't do anything with my phone except for the settings app. But as a Linux user (proudly face :D) I wondered there is any way to install and configure my phone from a computer. And here it is: The Android's ADB ADB allows me to do a lot of things with my Android phone from a computer including install apps (apk packages) and apply some settings (for example: change keyboard, set language...). Here are the steps: 1. Install adb utilities in Ubuntu 14.10 (or 14.04) $ sudo apt-get install android-tools-adb android-tools-fastboot 2. Setup driver for my phone (Lenovo P770) ...

Android - How to see saved wifi password

In Android, to see the saved password of all the wifi networks: 1. Install a root browser such as ROM Toolbox Lite' s root browser (you may need to root your phone to be able to use this tool) 2. Using root browser navigate to /data/misc/wifi/ . You will see a file name wpa_supplicant.conf . All the wifi networks's information are stored in this file. 3. Open that file with a text editor in your phone. And you will see something like: network={     ssis="MyWifiNetwork"     psk="MyWifiP@ssword"     key_mgmt=WPA-PSK     sim_slot="-1"     imsi="none"     pcsc="none"     priority=6 } The value "MyWifiP@ssword" of "psk" key is the password you need, in plain text.

Xubuntu - Remotely lock/unlock your monitor using an Android phone

Image
Today, I looked for a way to lock a Xubuntu machine remotely, and after a while of googling, I figured out this method: 1. I created 2 alias command to lock and unlock the monitor's screen (xscreensaver) in /home/myuser/.bash_aliases : alias lock='export DISPLAY=:0.0; xflock4;' alias unlock='export DISPLAY=:0.0; kill -9 "$(pidof xscreensaver)"; xscreensaver -no-splash &' 2. Install JuiceSSH (a ssh client) app in my Android phone: https://play.google.com/store/apps/details?id=com.sonelli.juicessh&hl=en 3. From my Android , connect to the Xubuntu machine via SSH with username ' myuser ', and then: To lock the screen, type this in my phone terminal: $ lock And unlock the screen with: $ unlock It's just fascinating! Feel like a hacker!!! \m/\m/\m/

Android - How to change proxy

Image
At the yesterday Barcamp Saigon event, I's trying to connect to the wireless network. They said that I have to change the proxy settings of the network device (my phone). They also gave me the instructions how to modify the proxy of my phone. But, they're only about iPhone, iPad, Windows... and It sucks! I use Android. I didn't know how to change the proxy settings of my little Android back then. But, now I figured it out:

Android - Remote control your Computer with RemoteDroid

Image
I've just found a great Android app which make my touch phone become a keyboard and mouse to control my Ubuntu PC. It's is RemoteDroid. * Firstly, download and run the server app on your machine:  http://remotedroid.net/

Android - Host your Linux images with DriveDroid

Yeah, It's true. You can host your Linux images (Ubuntu, Xubuntu, debian, fedora...) in your Android devices and boot from it. Now with DriveDroid , You don't need any dedicated USB drive or CDs/DVDs which are in a special format (FAT...) to be able to boot from. Everything you need to do are some super simple steps: 1. Install DriveDroid from the Google Play market:  https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en 2. Download any Linux Image you want. I recently host the Xubuntu in my Android phone with DriveDroid ( http://xubuntu.org/ ). And then copy the image to /storage/sdcard0/Download/images . 3. On your Android phone, turn on DriveDroid, select the image to let your phone host the file over USB. 4. Restart your computer (make sure that you've set up to boot from USB as the first priority) 5. Enjoy Note: You can host many Linux images on your phone with DriveDroid .

I've rooted my Android phone

Today, after a while, I decided to root my Lenovo p770 which is running Android v4.1.1. I followed the guide from the xda forum:  http://forum.xda-developers.com/showthread.php?t=2220275 Here are some issues I faced along the way: 1. At step 4a (Guide for rooting your phone (using CWM) and Google Apps (optionally) , install the   Root_by_javum.zip file : When booting to CWM, I saw the menu "apply zip from sdcard" instead of " “install zip from sdcard ", and the menus are in yellow or brown color. After awhile re-tried the 3rd step of the guide ( 3) Guide for Winflash recovery flashing, including CWM (Clockwork Mod Recovery)  ), I finally saw the corrected menu ("install zip from sdcard", and the menus are in blue color ) 2. Step 4b, install Google play: Have to start the 3rd step again. 3. After my phone had been rooted, all of apps stopped working: - I forgot to adjust the correct date/time settings. After set the right date and time, e...

Vine for Android

Yeahooo, A couple days ago, Twitter announced and released the Android version of Vine, a 6-seconds blog app. I'm trying it now!!! It's so funny!!!! \m/\m/\m/ Here are some of my short-clips: