Showing posts with label ADB. Show all posts
Showing posts with label ADB. Show all posts

Saturday, November 30, 2013

How to set a full screen Wallpaper on your Android device? [ROOT]

How to set a full screen Wallpaper on your Android device? [ROOT]

I have a rooted Android device running CM 10.2(Android 4.3.1). I wanted to have the Nexus 5 background without installing an applications to "set the wallpaper" or have it cropped by setting the wallpaper manually.



I have provided the Nexus 5 wallpaper above. Make sure to rename the wallpaper:

mv wallpaper.jpg wallpaper

Push the wallpaper to your device:

adb push wallpaper_info.xml /data/system/users/0
adb push wallpaper /data/system/users/0


Make sure your ADB shell is running root:

adb root
adb shell


Make sure the new files have the write permissions:

chmod 666 /data/system/users/0/wallpaper_info.xml
chmod 666 /data/system/users/0/wallpaper


Make sure the new files have the right ownership:

chown system:system /data/system/users/0/wallpaper_info.xml
chown system:system /data/system/users/0/wallpaper

Tuesday, November 26, 2013

How to Root your Google Glass?

How to Root your Google Glass?

You can simply root your Google Glass by flashing a different ROM and running a few commands!

Run these commands in your terminal:

adb reboot bootloader
fastboot oem unlock
fastboot flash boot boot.img
fastboot reboot
adb root


For more information, take a look here: https://developers.google.com/glass/tools-downloads/system.

How to Turn On Android Debug Mode for Google Glass?

How to Turn On Android Debug Mode for Google Glass?

For any developers or anyone that wants to simply "sideload" Android APKs to their Google Glass, this is the option for you!


Go to Settings on your Google Glass:



In Settings, navigate to Device info:



Tap the side of your Glass to toggle Debug mode on or off:



How to take Screenshots with Google Glass?

How to take Screenshots with Google Glass?

In order to take screenshots with Google Glass as of now is to simply do it via the command line with ADB!




Check out these two commands that can easily take care of this for you:

adb shell /system/bin/screencap -p /sdcard/FILE.png
adb pull /sdcard/FILE.png FILE.png

How to view your Google Glass or Android Device on your Computer?

How can you view your Google Glass or other Android Device on your own Computer?

You can view your Google Glass screen or Android device using the Android Screen Monitor!


Download the ".jar" file here:

https://code.google.com/p/android-screen-monitor/

Here is how to run the ".jar" file from Terminal:

java -jar asm.jar

Here is how it looks!




Saturday, March 16, 2013

How to run ADB on 64 bit systems

How to run 32-bit binaries on a 64-bit architecture

Most of the times on a fresh install of Ubuntu, it will be missing packages to be able to run 32-bit binaries.

To install them:

sudo apt-get install ia32-libs

Wednesday, October 26, 2011

How to setup ADB for Linux terminals

Run adb from terminal
Since the new Eclipse and Android SDK install I had to redo this:

Open your .bashrc, located in your /home/"user"/ and add this:

# Android tools 
export PATH=${PATH}:~/android-sdk-linux_x86/tools 
export PATH=${PATH}:~/android-sdk-linux_x86/platform-tools

Save the file, then in a terminal, type in "source" to refresh the terminal

http://forum.xda-developers.com/showthread.php?p=11823740