Friday, November 28, 2008

Introducing G1 Central, GrandCentral Dialer App for The G1!

OMG Im so glade I got a google G1 phone, now I can make free calls
with grandcentral with the G1 Central Dialer!

G1 + Myfaves + GrandCentral # = free calling

Keep in mind Grand Central does not allow invites at this time so you will be unable to make a new account for now, the best thing to do is set a google alert to find out when they open up to the public

G1 Central is an application for Android-based phones which allows you
to place calls to any number from your GrandCentral number. It
supports both Dialer mode as well as reading from your Contact list.

Version 1.01 is in the App Market, but there is updates and svn access here:
http://evancharlton.com/projects/g1central


2008-11-26 1:03 G1 Central version 1.0.3 Fixed a very minor usability issue.
SHA1: 156ed6d2d1da433642e11d8c5970aefa502cfd61 MD5: 94d779225d8de410ab624d0cdfc94239
2008-11-25 17:02 G1 Central version 1.0.2 Fixed the bug with multiple calls in a row crashing the application.
SHA1: 33bd0b2befc1b1262837144c8b9594b94e718c16 MD5: 6bd76184301b9e17c3f074d9bf08d63f
2008-11-24 23:12 G1 Central version 1.0.1 Fixed a very minor bug with the Contact list
SHA1: e28bfbd0ad1f9730bedc4d3f2b699203ae1cb821 MD5: e69417ba96cf45d21087787718478a6c
2008-11-24 22:38 G1 Central version 1.0.0
SHA1: ccdb9d873623d87f8cd8c32fdead89268352c2ac MD5: 1017b6e9e2d1826b4048aa8c7fd377a4

Thursday, November 27, 2008

Tuesday, November 25, 2008

OperaMini 4.2 Beta Hits The Android Platform!

cnet:
Opera Mini 4.2 beta, a test version released for Java phones just two weeks ago, on Monday became the first third-party browser available for Google Android.
Opera Mini 4.2 on Android

Opera Mini 4.2 is the first browsing alternative for Google's Android mobile operating system.

(Credit: Opera Software)

Opera Mini for Android, which was previewed in April, includes most of the familiar Mini 4.2 features: zooming, saving, bookmarking, and searching for in-line text has stayed intact, as has syncing via Opera Link and swapping skins.

We couldn't make the video playback workaround that debuted on other Java phones work in this build, though T-Mobile's USA's G1 phone does support video playback (see our review on TuneWiki.) We hear that Opera will address this issue when the mobile browser comes out of beta.

What's distinctive and commendable of the Android-optimized build: fast speeds over T-Mobile's 3G network, a very crisp display, and quality that approaches the iPhone when it comes to viewing a zoomed-out Web page, thanks to both screen size and image clarity. The G1's two menu keys also enhance the experience, making Opera Mini's controls easy to access and navigate.

Google Android was low-hanging fruit for Opera. It would have been better, of course, if the browser had been available when the G1 began selling, but of all third-party developers, Opera still managed to bring its free browser first to Android's market--and a very able version at that.

We're hoping that Opera will port its more robust Mobile version to Android next, and as always, that Opera will release a version that lets users type directly into a text field without pulling up an intermediary screen.

Saturday, November 22, 2008

New: RC30 Mod v1.2 Firmware

JesusFreke has not updated his famous RC30 update to include a ton of new features, check em out:

The primary new features in this version are
- adb shell now works in recovery mode
- a real su (instead of the setuid copy of sh in the last version)
- lots of new goodies in /system/xbin and /system/modules

Other things that have changed from v1.1
- This version has a kernel compiled by Saurik, with more core stuff "turned on", to support more modules (Specifically, /dev/mem and /dev/kmem are available now)
- new features in init
- support for mounting to loop devices
- move flag for mount
- mknod that can wait for a device
- chdir, chroot, usleep, include, trigger
- Changed the init.rc so that it will include /system/init.rc and /data/init.rc, so you can easily add new startup stuff, without having to rebuild/reflash boot.img
- Changed the boot-up recovery flash to look for a file at /data/recovery.img instead of /system/recovery.img, and also to delete recovery.img after a successful flash
- changed the "mount" symlink to be busybox's mount instead of toolbox's mount
- added an /etc/fstab file that busybox's mount can use, that lists the standard system partitions.
- changed the fingerprint back to the official RC30 fingerprint (don't want to let google know you're using a modified build)
- using a newer version of busybox
- moved busybox from /system/bin to /system/xbin


Note: A big thanks to Saurik (the "debian on Android" guy ) for all the changes to init and the kernel, as well as the modules in /system/modules. He also tweaked and recompiled a newer version of busybox. He recently posted his own update that I shamelessly stole this stuff from (with his permission )


It also includes the changes that were made in v1.0 and v1.1. namely
- set ro.secure=0, ro.debugable=1, and persist.service.adb.enable=1 in /default.prop, to enable adb to run as root
- Added the ability to mount to a loop in init
- Mount /system/xbin/xbin.cramfs into /system/xbin in init.rc
- Looks for a recovery image to flash at /data/recovery.img instead of /system/recovery.img, and deletes the recovery image after a successful flash
- added back in the telnetd command from RC29

Download Here or Here

you must have the modified recovery image to do this update:
http://forum.xda-developers.com/showthread.php?t=443713

Howto Install:
rename update_TC4-RC30_full_xda-dev_v1.2.zip to update.zip, place this file on your sdcard, reboot by pressing the call button then menu then the off button, holding them all in.
Enter Recovery mode
  1. reboot your phone with the Boot Modifier home+power (hold home, press power, keep holding home)
  2. press alt+s on the keyboard to apply the update.zip file (or press alt+l then alt+s to see details during the update)

Wednesday, November 19, 2008

New: "Neocore" App hits the App Market with Stunning OpenGL-ES GFX

RyeBrye:
Qualcomm has posted an application on the Android market that showcases the OpenGL-ES capabilities of a phone… Screenshots don’t do it justice, but since I like taking screenshots of android stuff, I will post them anyway.

None of the games currently look this good, and I can only imagine that once a game comes out that does use OpenGL ES, it wont be free. This app does provide a good preview of what kind of graphics we can expect on these phones - and they are every bit as impressive as the graphics that I’ve seen on other platforms.

Although I only got 24.5 FPS - one of the engineers inside of Google mentioned that: “this benchmark made us discover an issue with our GL stack… our graphics guy said we could almost double that number with the proper fixes”

So… Bring on the FPS, baby!



Thursday, November 13, 2008

Wednesday, November 12, 2008

Conversation with Meebo Developer

Back on November 10th I sent an email to the Meebo IM Developer for the Android G1 platform, here is the response I recieved!

Great work with meebo on the android, do you plan on adding features? Also when should I expect a new release? If you need a beta tester let me know
Thanks,
Kyle


Hey! Yes we plan on adding new features, and hope to have a new
release every few weeks. We don't have a way for people to beta test
right now, but we'll let you know if we set something up. Also, we
just released a new version to the market. The changes are:
* Stays connected longer (still not perfect, but we're working on
making it better, please bear with us)
* Lets you close IM windows
* Notifications are more specific
* Phone numbers, email addresses and links in the IM window are clickable

There are many features we're planning on adding. These are the ones
we'll be working on over the next few weeks:
* Ability to set your away message
* Ability to set your buddy icon
* Saving account information and auto-sign on
* Configuration of sounds/vibrate when receiving an IM
* Adding/removing/blocking people on your buddy list
* Viewing other people's entire away message

Howto: Stream .mp3's with your Android G1 browser!

Ok I just got done with the Gmail Mp3 tutorial. As a test I wanted to see if the Android G1 Browser would download mp3's to my suprise it actually streams the mp3's
Try it out:
Click here within your G1 Browser

Howto: Download Mp3's with your Gmail App

Well I got allot of mp3's stored in my gmail account, I simply sent mp3's to myself. Anyways you are able to "Preview" MP3 files from your gmail account, but not "Save As" with the gmail app.

If you want to get around this you need to download one of the terminal apps like Terminal Emulator in the market. Once Downloaded start it up and type:
cd /cache
Now list the files
ls -l
Now you will see a file named downloadfile.mpga which is your mp3 file.

Now lets copy it to the cd card:
cat downloadfile.mpga >/sdcard/music/mysong.mp3

Now thats all you gotta do, if you download multiple mp3's they will be named like downloadfile-1.mpga, downloadfile-2.mpga.. etc

(edit) Ha well found that their is a playmp3 command on the g1 and I simply issued:

playmp3 /cache/downloadfile.mpga and it plays for 20-30 secs from the command line

Howto: Encode Video for the Android G1 with Avidemux using Windows/Ubuntu/Linux/MacOSX

Well I searched all over for a solution on encoding video on the G1, everything I ran across was for the windows platform which I really dont care for any more since im a Ubuntu Guru, see ubuntu-unleashed.com
Within a debian/ubuntu distro simply:
apt-get install avidemux
Or For other linux distro's, Windows, MacOSX click here for Avidemux for your specific os

Open any video you want to encode for you G1 Via "Open"

Video Configuration:
Anyways Install Avidemux, then click on the video dropdown on the left and select MPEG-4 ASP (lavc)
Then Click Configure->Encoding Mode->Single Pass - Bitrate
Enter in any bitrate up to 384 to be safe, then click ok.
Now click Filters->MPlayer Resize->Double Click on it->
Width:480
Height:270
Click Ok, then close.

Audio Configuration:
Ok I heard that mp3/lame worked but i tried and it failed with the "Video Player" app, so what works is this:
Click Audio->AAC (FAAC)
Configure->Bitrate 96

Now Click Format->MP4

Click Save and specify a name.mp4 for your video, then once its done encoding, plug in your G1 via USB and transfer the video to your G1, I made a folder called "Videos", the name doesn't matter.

Anyways I hope this works for you, I would suggest downloading a sample xvid video and experimenting, let me know how things go!

Tuesday, November 11, 2008

Howto: Tether your Android G1 phone with iptables (no proxy needed)

First grab the iptables binary for you G1:
Download Here
Then push the binary to your android G1 device:
./adb push iptables /data/local/iptables
Now lets mount /system read/write and copy iptables to /system/bin/iptables
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /data/local/iptables >/system/bin/iptables
chmod 4755 /system/bin/iptables


Now Disable wifi menu->settings->Wireless Control's Then Uncheck wifi

Either use ./adb Shell or telnet or Terminal Emulator to issue these commands, it is preferrable to use a telnet shell or ./adb with the SDK because you can copy/paste faster:

insmod /system/lib/modules/wlan.ko

wlan_loader -f /system/etc/wifi/Fw1251r1c.bin -e /proc/calibration -i /system/etc/wifi/tiwlan.ini

cd /data/local/tmp
wpa_supplicant -f -Dtiwlan0 -itiwlan0 -c/data/misc/wifi/wpa_supplicant.conf &

sleep 5
ifconfig tiwlan0 192.168.2.30 netmask 255.255.255.0
ifconfig tiwlan0 up

We just used a static ip, so make sure to change your ip to a ip in your lan:

Now lets enable/configure ip forwarding
iptables -I FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -I FORWARD -s 192.168.2.0/24 -j ACCEPT
iptables -P FORWARD DROP

iptables -t nat -I POSTROUTING -s 192.168.2.0/24 -j MASQUERADE

echo 1 > /proc/sys/net/ipv4/ip_forward

Monday, November 10, 2008

Howto: Prevent Future OTA Updates on Your Android G1

First Get r00t
Then Follow these directions
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Then move the otakeys.zip file which prevents the update:
mv /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.nothankyou
That one line will move the otakeys to a location the updater can't
check for it - and once the OTA update is downloaded, it will be unable
to apply.

Howto: Install the Latest Mod RC30 Update!

Well Google/T-Mobile is sending out a brand new RC30 update and you will be screwed out of root access if you install it, here is step by step directions to keep your r00t access to your G1:

First
…. You need to install a google android usb driver so you can use the adb program. (It lets you push and pull files to/from the phone, and you can open up a shell with it to).

(you dont need to do this if your in linux)

Download the driver file (http://dl.google.com/android/android_usb_windows.zip) and
unzip it to the desktop.

On ur G1… Go menu > Settings > Applications > Development then enable the
USB debugging button.

Then connect your Android device via USB. When the Found New Hardware Wizard
appears, you'll be asked if you'd like Windows Update to search for software,
select No, not this time and click Next. Select Install from a list or specified location
and click Next. Select Search for the best driver in these locations. Browse and
select the unzipped file (android usb windows.zip). Click Finish.



Second…. Setting up the SDK

Go to http://code.google.com/android/download_list.html and download the
SDK

Make a folder called SDK on the desktop

Unzip the files to the folder SDK

Open your command prompt (Windows Key and R)

Type “cmd” (Without the quotations)

Then “cd sdk”

Next “cd tools”

Now type “adb devices

After that it should say some thing like… List of devices attached HT845GZ21370
Device. If u see this abd sees your device.


Third…. Writing JesusFreke’s Recovery image

Download the zip file from this thread... http://forum.xda-developers.com/showthread.php?t=443041)

Unzip the files to the SDK tools folder

Now, in the command window, type
"adb push recovery_testkeys.img /data/local/recovery.img"
(This will copy the recovery image files to the phone)


Fourth…. Get Root working on ur G1

Download the Android Telnet Client from the Market or get it here…
http://www.koushikdutta.com/2008/11/...et-client.html

Turn on your phone's WiFi. This gives your phone an IP you can reach it at.

Restart your phone

Once restarted type telnetd at the home screen and press enter – Yes….. it will
start up a Contact search, do not worry about this, just type “telnetd” and press
enter (the enter button on the keypad).

Now press connect to localhost……. (You now have root!)

Now put in this command….
“mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system”

Then “cd /system”

Then “cat /data/local/recovery.img > recovery.img”

Finally “flash_image recovery recovery.img” (Your Recovery Image is no writen)

*To make sure your Recovery Image was written…. Reboot your phone in Recovery
mode and press Alt+L. At the top it should say "using test keys" If so its written. Go
ahead and Reboot your phone by pressing the Home and Back buttons.*

Fifth…Apply JesusFreke’s modified RC30

Go here http://rapidshare.com/files/162035634/update-RC30-fullupdate-modified-testkeys-v1.1.zip and Download the ZIP

Now once the ZIP is downloaded rename it to “UPDATE”

Put it on the storage card

Last but not least Reboot you phone in recovery

Press Alt+L (to turn on text)

Press Alt+S (to update)

And Bam you have yourself a modded RC30 G1 !!!!!!!!

Complements to usmc2k for writing this howto

Sunday, November 9, 2008

Friendfeed Iphone and Real-Time Works in the g1 Browser

I love friendfeed, as you see I have an embeded widget on the sidebar of my site, im so glade I can keep up with friendfeed via the iphone interface and also view the realtime ajax feed, here is how:

Open these links within your browser, bookmark them for future use:
Friendfeed iphone iface

Friendfeed Realtime feed

Howto: Internet Relay Chat (IRC) Client On your Android G1 phone!

w00t just figured this out, now we don't have to wait for a android g1 irc client, just head over to www.mibbit.com and login to any irc network from there! Or you can Bookmark this post with your g1 for a better optimized client for your g1 screen!

Saturday, November 8, 2008

Friday, November 7, 2008

Howto: Prevent OTA Update for the G1 Phone to retain Root access


OTA updates are all cryptographically signed to prevent you from spoofing the update and installing something on your phone that you shouldn't. Ironically, this signature checking makes it relatively easy for you to prevent OTA updates from being applied once you have gotten root access on your phone.

To prevent OTA updates, you can simply move the otakeys.zip file from the expected location to another location on your device.

mv /system/etc/security/otacerts.zip /system/etc/security/otacerts.zip.nothankyou

That one line will move the otakeys to a location the updater can't check for it - and once the OTA update is downloaded, it will be unable to apply.

Note, however, the OTA update will say "failed" and then immediately restart downloading it once the signature check fails - so this fix is less than ideal but will at least prevent you from waking up one day to a phone that doesn't love you as much as it did the day before.

It should also be noted that the "recovery mode" of the phone does NOT use the otakeys.zip to check for the signature - currently it uses a compiled-in list of signatures to check for - so moving the otakeys.zip has no effect at all on doing an SD Card update.


Original content for this was originally found here

Thursday, November 6, 2008

Tether Your Android G1 to Your Laptop or PC with Tetherbot

This is an experimental SOCKS proxy and Port Bouncer that should allow you to connect your laptop to the internet using the internet connection (EDGE, 3G or Wifi) of your T-Mobile G1 Cellphone.

Installation

Read the bit above about no warranty again. This shouldn't damage your phone, but if it does, it's your own fault!

  • Install the app on your android phone, by clicking here (from your phone browser of course)
    You might have to change your settings to permit apps that don't come from the Google Market by going to your home screen and choosing MENU > Settings > Applications > Unknown Sources.
  • Turn USB debugging on on your phone
    On your G1 go to the home screen, press MENU > Settings > Applications > Development, then enable USB debugging.
  • Follow the instructions here to install the Android driver - you'll need to do this on Windows & Linux but apparently not on the Mac.
  • Download and install the Android SDK for your computer platform. Alternatively if you are on Windows and don't want a 100 meg download, just get the ADB utility from here
  • Plug your phone into your computer

Using the Socks Proxy

The SOCKS proxy will let you connect things like firefox to the internet

  • Choose Tetherbot from your phone's menu
  • Press the "Start Socks" button on your phone
  • Move to the directory that has the adb utility, using inside the Sdk Tools folder and run
    Windows: adb forward tcp:1080 tcp:1080
    Linux/Mac: ./adb forward tcp:1080 tcp:1080
  • Now you should have a socks proxy running on port 1080 that you can use to configure firefox
  • Set your firefox proxy : Options > Advanced > Network > Manual Proxy Configuration
    Socks Proxy: localhost
    Port: 1080
    Leave the others blank
  • Remember to disable your proxy settings in firefox if you want to stop using your phone.

Using the Port Bouncer

The port bouncer will let you connect to a single port on a remote host. This works well if you need to establish an SSH tunnel to your home machine.

This should work for TCP only vpns (openvpn can be configured in this mode) but it wont work for Microsoft PPTP (because it's GRE based) or most typical openvpn setups (because they are UDP based).

  • Choose Tetherbot from your phone's menu
  • Enter the hostname of the server you wish to connect to on your phone
  • Enter the port you wish to use
  • Press the "Start Tunnel" button on your phone
  • Move to the directory that has the adb utility, using inside the Sdk Tools folder and run
    Windows: adb forward tcp:4444 localabstract:Tunnel
    Linux/Mac: ./adb forward tcp:4444 localabstract:Tunnel
  • Now you should have a tunnel connecting from port 4444 on your local host to the port on the host of your choice
  • To establish an ssh connection, type something like
    ssh -p 4444 user@localhost
    and you should be routed through to the server in question

Howto: Install Non-Market (.apk) Apps on your Android G1

Steps:

1. Download and install the Google Android SDK. The tool you need is adb.exe. Just typing adb in a command shell will display all the options. I'm not going to cover adb in detail, it's the SDK tool you use to install applications and interface with the device.

http://code.google.com/android/intro/installing.html

2. Download the USB driver for Windows. You need it for adb to inteface with an actual device using the included USB cable. Install it later after connecting the G1 to your computer using the USB cable.

http://dl.google.com/android/android_usb_windows.zip

3. Go to Settings/SD card & phone storage and disable Use for USB storage. You can enable it again later after you installed your third-party application.

4. Go to Settings/Application settings and enable Unknown sources.

5. Connect the G1 to your computer using the USB cable and install the driver you downloaded in step 2. After installing the driver you should see ADB Inteface in Windows Device Manager.

6. If you made it this far, download the APK file to a local folder on your computer, something like C:\MyAPKs will work fine and install it using ADB. The command would be adb install c:\myapks\ and that's about it.

Android G1 iTunes Remote Control

The Digital Audio Control Protocol (DACP) was recently introduced by Apple, and is built into all recent iTunes™ versions. DACP is the protocol used by the Remote app on the iPhone/iPod Touch to remote control your desktop or laptop iTunes player.

DACP is similar to the well-known DAAP, using Bonjour MDNS to find libraries, then using HTTP requests with binary responses to transfer data. After a few days in front of packet dumps, I have most of DACP decoded.

With the protocol now reverse engineered, I wrote an Android client in about a week. Now you can remote control your iTunes from your new Android phone when it arrives later this year. This works out of the box without installing any extra software on your PC or Mac. Here's a quick video in action on the emulator:

Android iTunes Remote Control from Jeffrey Sharkey on Vimeo.

The Android app uses the MjDNS Java library for all Bonjour handshaking, and the icon is a mashup of several icons from the Tango Desktop Project. Here are some still screenshots:




If you're interested in jumping right in, here's an APK ready to install. Also, the full source has been released under a GPLv3 license, and you can grab it from Subversion on Google Code:

MobiLogger - Mobile Blogging tool for your Android G1


MobiLogger is a mobile blogging tool for the Android platform. It's main design principles are:

* Do one thing (mobile blogging) and do it well
* No matter where your blog is hosted, it'll be editable with MobiLogger
* Simpler is better

Basically, you just install MobiLogger, configure your blog(s) to MobiLogger and start writing. Currently, MobiLogger is in it's first public release so don't expect it to do eveything. But it's constantly improving!


Release 2008.2 feature highlights:

* Supported blog interfaces or services:
o Blogger/Blogspot
o Wordpress weblogs
o Metaweblog api (Drupal and various other CMSs)
o LiveJournal
* Basic yet capable rich text editing features
* Save entries locally and post when connected
* Easy to use

Download to your phone from here

MobiLogger Readme
Follow the project and submit bug reports here

Howto: Install Android Apps(.apk) Via your Android G1 Browser

Here is a nice Youtube Video that shows you how to download/install non-market apps on your G1:

ConnectBot SSH (Secure Shell) client for your G1


ConnectBot is a Secure Shell program for the Android platform. Its ultimate goal is to create a secure connection through which you can use a shell on a remote machine and transfer files back and forth to your phone.

Available in Android Market

The latest stable version of ConnectBot is available in the Android Market. If you want to run the development versions, you can follow these quick steps to getting ConnectBot working on your new G1 Android phone:

1. Enable outside-of-Market applications. Go into Settings, Applications, and enable the "Unknown sources" option.

2. Uninstall any old versions. Go into Settings, Applications, Manage Applications. Look through the list for ConnectBot and uninstall if it's there. or From from your desktop console, type ./adb -d uninstall org.connectbot

3. Install the new version. Open your G1 browser to this page and download one of the APKs shown on the right. Tap on the download when it's done and follow the instructions to install the app. or From your desktop console, download an APK and type ./adb -d install [filename].apk

Here is the current development version as of the date of this post

For Developer Updates/Bug reports check here

Some Command Line Apps for your Android G1

Here are some statically linked android apps for your Android G1 that work in the command line once you get root access.

If you dont already have root access click here

Once root and your /system is writable via the instructions on the above link you can download these files to your /system directory

Bash Borne Again Shell
BusyBox Busy Box
GdbServer
SSH Client
SSH Server

Make sure you then chmod the files once in /system:
chmod 4755

MultiReader - PDF and Word Viewer for Your Android G1

*update* HTC's Pdf Viewer and HTC QuickOffice is added to dudeoflife's latest roms which is much better than any other pdf viewer, more info on flashing roms can be found here

This application can read for you Word, PDF, text document (more formats to come : RTF format currently in dev.) Once TTS (text to speach) will be available on Android, I wil enable speach in the application

Why use MultiReader ?
- Can be used in cars/plain/plane to prepare for business presentation,...
- Can be used in assimilating information, ie. foreign languages, training techniques.
- Can be used in place of lengthy books.
- Can be used in public transportation. Instead of wasting your time, you could learn something. Without bringing big, heavy books / reading on small PDA screens.
- Can be used simultaneously with routine household tasks, such as cooking.
- Can be used to review for an exam.

In general : Use it as you would read a book.

Download Here with your G1

Wednesday, November 5, 2008

Root your Android G1 Phone and install Busybox on it!

As you seen before this post I have managed to gain root on the G1 phone, in the mean time their has been easier steps on getting root, and installing busybox...

Here are the steps you can take:

1. Download and install a terminal emulator on your phone. (Click here for Term.apk)
2. Make sure your phone is not connected to your PC and open up the Terminal Emulator and run 'telnetd'
3. Now telnet into your phone from your PC (run 'netstat' in the terminal emulator to get the phone's IP)
4. In the telnet terminal you are now root!

5. (optional) To permanently enable root access you can create an "su" command in /system/bin (Warning: creating su on your system could make you vulnerable to malicious software. You could name it something besides su, but you could still be vulnerable):

mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cd /system/bin
cat sh > su
chmod 4755 su

Now you can fire up the Terminal Emulator and run "su" to be root.

Now once that is all done download http://www.billrocks.org/android_libs/bin/busybox to the sdcard, then do:

cat /sdcard/busybox >/system/bin/busybox

chmod 4755 /system/bin/busybox, now you can execute hundreds of busybox commands like a full linux shell!



Tuesday, November 4, 2008

Howto: Get ROOT on your Android G1 and Telnet to your phone!

Grab pTerminal from the market, reboot your phone, open pterminal quickly, cd to /system/bin/
then enter telnetd 2 or 3 times, then type telnet "your phone ip"

Take a look:
kyle@ion:~$ telnet 192.168.0.88
Trying 192.168.0.88...
Connected to 192.168.0.88.
Escape character is '^]'.
# id
uid=0(root) gid=0(root)
# cd proc
# cat version
Linux version 2.6.25-01843-gfea26b0 (android-build@apa27.mtv.corp.google.com) (gcc version 4.2.1) #6 PREEMPT Mon Oct 6 14:13:36 PDT 2008

Howto: Get Command Line on your G1, kill processes and more!

First grab pTerminal via the app market, then run "ps" without the quotes, then you can issue the standard kill command like so:
kill 797

Note: 797 is a test process identifier, so you'll need to see the pid with the ps command.

So far I have been able to use these commands:
# cd /system/bin
# ls
rmdir
dmesg
renice
dumpcrash
rm
reboot
printenv
dd
ps
date
notify
cmp
netstat
chmod
mv
cat
mount
wipe
mkdosfs
watchprops
mkdir
wpa_supplicant
wpa_cli
wlan_loader
toolbox
telnetd
vmstat
system_server
svc
surfaceflinger
ssltest
lsmod
sh
servicemanager
service
sdutil
sdptool
rild
umount
radiooptions
qemud
pm
playmp3
ls
ping
netcfg
mountd
monkey
mediaserver
logwrapper
top
logcat
linker
itr
installd
log
input
htclogkernel
hostapd_cli
hostapd
hcid
hciattach
sync
flash_image
fillup
dvz
dumpsys
ln
dumpstate
dhcpcd
dexopt
debuggerd
debug_tool
dbus-daemon
stop
dalvikvm
app_process
am
akmd
kill
start
ioctl
smd
insmod
sleep
iftop
setprop
ifconfig
setconsole
id
sendevent
hd
schedtop
getprop
route
getevent
rmmod
df

Monday, November 3, 2008

Android J2ME MIDP RUNNER (Beta V1.2) is Officially OUT

Now you can run Opera Mini on your G1! w00t, not only that but you will be able to run jmirc a j2me irc client.

Either open the App Market and find j2me runner or download here

Developers site here

Howto: Tether Your G1 to your PC or laptop


What is this?

Updated howto: here

This is a HIGHLY EXPERIMENTAL proxy application that should allow you to browse the web via a USB connected T-Mobile G1.

Use at your own risk!

This does seem to be pretty slow when relaying the EDGE data network, however i think T-Mobile are having issues in my neighborhood tonight. I've done most of my testing on Wifi. There's no 3G network here yet, but there's no reason why it won't work.

What is this not?

It's not really a "tethering" app. Right now it only allows web access, you can't use it as a general purpose internet tool

I do think I can use this approach to tunnel SSH and maybe VPN traffic - so if you have your own server somewhere then it could come in pretty handy

Ok, I've read all the caveats above

Really..?

Yes... where do i start

  • Install the app on your android phone, by clicking here (from your phone browser of course)
    You might have to change your settings to permit apps that don't come from the Google Market by going to your home screen and choosing MENU > Settings > Applications > Unknown Sources.
  • Turn USB debugging on on your phone
    On your G1 go to the home screen, press MENU > Settings > Applications > Development, then enable USB debugging.
  • Follow the instructions here to install the Android driver - you'll need to do this on Windows & Linux but apparently not on the Mac.
  • Download and install the Android SDK for your computer platform. Alternatively if you are on Windows and don't want a 100 meg download, just get the ADB utility from here
  • Plug your phone into your computer
  • Choose Proxy App from your phone's menu
  • Press the "Start Proxy" button on your phone
  • Move to the directory that has the adb utility, using inside the Sdk Tools folder and run
    Windows: adb forward tcp:8080 localabstract:Proxy
    Linux/Mac: ./adb forward tcp:8080 localabstract:Proxy
  • Now you should have a proxy server running on port 8080 of your own computer that will relay the information over the Android Debug Bridge to the Proxy App which will relay it on to the internet.
  • Set your firefox proxy : Options > Advanced > Network > Manual Proxy Configuration
    HTTP Proxy: localhost
    Port: 8080
    Leave the others blank
  • Enjoy the slow slow EDGE network, or let me know if you have glorious fast 3g coverage!
  • Remember to disable your proxy settings in firefox if you want to stop using your phone.