jump to navigation

WORKED: Automated APPS to SD (EASY!!!!) Март 18, 2009

Posted by russenreaktor in g1.
add a comment

«1. Must have a rooted phone
2. Must have two partitions on the sd card (fat32 for everything, and ext2 for «expanding» the phone’s memory).
3. Must have Android SDK installed (so that adb will work)

Ok.. So I got sick of all the commands running back and forth. I found that I’m wiping my phone several times testing out new things and didn’t want to continuously put in all these commands to get the apps to sd thing to work.

Therefore, I created a file to automatically do it for me!!! I just run this file with the usb connected to the phone, and let it run all the commands.

I’ve attached a file «tmp.zip». Download this file and extract it to your c:

The folder it extracts NEEDS to be at c:/tmp

After extracting, navigate to the folder and double click on «appsToSD1.bat». Follow the instructions and you’ll be on your way.
» forum.xda-developers.com

It worked for me…. …but Im not sure if ext2 patitioon should be primary
http://forum.xda-developers.com/show…58#post3483058

…I made it primary and it worked…

$ df
/dev: 49520K total, 0K used, 49520K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/system: 69120K total, 66180K used, 2940K available (block size 4096)
/system/modules: 1532K total, 1532K used, 0K available (block size 4096)
/system/xbin: 3172K total, 3172K used, 0K available (block size 4096)
/system/sd: 1033712K total, 5116K used, 1028596K available (block size 4096)
/data: 76544K total, 21760K used, 54784K available (block size 4096)
/cache: 69120K total, 1160K used, 67960K available (block size 4096)
/sdcard: 6172916K total, 588568K used, 5584348K available (block size 4096)

sdcard – 6GB
sd – 1GB

$ mount
rootfs on / type rootfs (ro)
tmpfs on /dev type tmpfs (rw,mode=755)
devpts on /dev/pts type devpts (rw,mode=600)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /sqlite_stmt_journals type tmpfs (rw,size=4096k)
/dev/block/mtdblock3 on /system type yaffs2 (ro)
/dev/block/loop0 on /system/modules type cramfs (ro)
/dev/block/loop1 on /system/xbin type cramfs (ro)
/dev/mmcblk0p2 on /system/sd type ext2 (rw,noatime,nodiratime,errors=continue)
/dev/block/mtdblock5 on /data type yaffs2 (rw,nosuid,nodev)
/dev/block/mtdblock4 on /cache type yaffs2 (rw,nosuid,nodev)
/dev/block/mmcblk0p1 on /sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1000, fmask=0711,dmask=0700,codepage=cp437,iocharset=iso 8859-1,utf8)

$ cd /data
$ ls -al
ls: can’t open ‘.’: Permission denied
$ su
# ls -al
drwxrwx–x 1 1000 1000 2048 Oct 5 07:41 .
drwxr-xr-x 12 0 0 0 Mar 18 17:31 ..
drwxrwxrwx 1 1000 1000 2048 Oct 5 07:41 anr
lrwxrwxrwx 1 0 0 14 Mar 18 17:30 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Mar 18 17:30 app-private -> /system/sd/app-private
drwxrwx–x 1 1000 1000 2048 Oct 5 07:41 dalvik-cache
drwxrwx–x 1 1000 1000 2048 Oct 5 07:41 data
drwxrwx–x 1 2000 2000 2048 Oct 5 07:41 local
drwxrwx— 1 0 0 2048 Oct 5 07:41 lost+found
drwxrwx–t 1 1000 9998 2048 Oct 5 07:41 misc
drwx—— 1 0 0 2048 Oct 5 07:41 property
drwxrwxr-x 1 1000 1000 2048 Oct 5 07:41 system
drwxr-xr-x 1 1000 1000 2048 Mar 15 12:15 tombstones
#

WORKED: How to register the G1 without a sim or data plan Март 14, 2009

Posted by russenreaktor in g1.
add a comment

«When you start up the phone without a sim card, it goes into a locked screen that says «no sim card found», and you can’t even get into the registration app. So the first step is to get around that screen. You have to connect to your phone with adb shell and get root access, and then type the following command:
sqlite3 /data/data/com.android.providers.settings/databases/settings.db «INSERT INTO system (name, value) VALUES (‘device_provisioned’, 1);»

And then reboot the phone. When it starts up again it will go into the registration screen instead of the locked «no sim card» screen.

This assumes that you have the sqlite3 binary on your phone. This binary is provided in RC30 v1.2. Alternatively, you could manually copy the binary to your phone with adb push, or put it on the sdcard and copy it to your phone. I can post a copy of just the sqlite3 binary if needed.

———–

The second step is to enable and configure wifi, so that the registration process can connect to the google servers. In an adb shell session, type the following command:

am start -a android.intent.action.MAIN -n com.android.settings/.Settings

This doesn’t have to have root access to work. It works fine with the «shell» user that adb on non-modded phones runs as.

That command will bring up the settings page on your phone. From there, you can enable wifi and connect to your wifi network, and then proceed with registration as per normal» forum.xda-developers.com

Auto Rotate for the Android Browser Март 10, 2009

Posted by russenreaktor in g1.
add a comment

«Installation Instructions (you must have root access):

* Download the updated Browser.apk
* Run the following from the command prompt to back up your current Browser file to your sdcard and install the new one:
o adb remount
o adb pull /system/app/Browser.apk BrowserBackup.apk
o adb push BrowserBackup.apk /sdcard
o adb shell rm /system/app/Browser.odex
o adb push Browser.apk /system/app» koushikdutta.com

WORKED: Rooting your G1 Март 10, 2009

Posted by russenreaktor in addictive, android, g1.
add a comment

«On RC29 phones and lower, anything you type into your keyboard is also being run in a hidden console with root permissions. More information regarding that at the bottom of this post. But, to get root access, do the following:

Instructions:

1. Download recovery.img and copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone’s SD card).
2. Download the Hard SPL and copy the zip file to the SD card.
3. All files must be on the root of your SD card.
4. Restart your phone. Wait for your phone to start up fully and show the home screen.

5. After your phone starts up, at the home screen, hit the enter key twice, then type «telnetd» and hit enter again. (Yes, it will start up a contact search, don’t worry. Just type it.)
6. Download an Android «Telnet» application from the Market and connect to localhost.
7. If you connect successfully, you will have a root prompt «#».
8. Type the following into Telnet (these commands will give you root access easier in the future):
* mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
* cd sdcard
* flash_image recovery recovery.img
* cat recovery.img > /system/recovery.img

Now you have root!» forum.xda-developers.com

Why should you root your Dream/G1? Март 10, 2009

Posted by russenreaktor in g1.
add a comment

» * You can install a full Linux distribution, like Debian.
* You can run applications that require root, like Screenshot and Auto Rotate your Browser and or any other application.
* You can install the latest Android build directly from the Android source tree.
* Customize your boot image.
* Create full backups of the state of your phone.
* Create custom ROMs.
* Install Applications to your SD Card to save space.
* Use your phone as a tether to connect your computer/laptop to the internet.
* Turn your phone into a wireless router that provides internet access.

Well, hopefully one of those reasons convinced you to get root access on your phone!» forum.xda-developers.com

HOW TO: downgrade, root and upgrade ANY G1/Dream (even Continental European) Март 10, 2009

Posted by russenreaktor in g1.
add a comment

«Requirements:
- Micro SD card formated FAT32 (128 MB to 2 GB), Sandisc cards may not work (but worked for me).
and
- Connected Windows Mobile device (application unlocked)

SD Card:
- Format recommended
Code:

format F: /FS:FAT32 /A:4096

(Replace F: with your SD card reader drive letter.)

TESTED, WORKING
1. Insret SD card to WM device and connect it do desktop. WM has to be application unlocked.
2. Download QMAT (http://revskills.de/pages/download.html)
3. Start QMAT and select Hardware Forensics -> Generate HTC Goldcard
4. Select Dream from the list of devices, Click «Get SD Card Serial from WINCE Device» and then «Save Goldcard Image to WINCE SD».
5. Copy DREAIMG.NBH to the root of sd (UK – RC7 recommended for our DREA110)
6. Power off the G1, put the card inside, hold camera button and press power button
7. Press power button to start flashing
8. To apply HardSPL, root & upgrade: http://forum.xda-developers.com/showthread.php?t=442480
9. You don’t need the GoldCard any more (HardSPL fixes it, you should be able to flash any image now). So format the SD once again or borrow to a friend to downgrade his G1. » forum.xda-developers.com

G1 test post Февраль 22, 2009

Posted by russenreaktor in g1.
add a comment

Hallo world

How to decompile .dex file on Android Февраль 15, 2009

Posted by russenreaktor in g1.
add a comment

«1 How to find the Contacts App file on Google Android
2 How to find the Contacts App’s classes.dex on Google Android
3 How to dump the Contacts App’s classes
4 How to decompile the dumped file» zeaster.blogspot.com

How to Install Non-Market .apk Apps on Google Android G1 Phone Февраль 14, 2009

Posted by russenreaktor in g1.
add a comment

«How to Install .Apk Apps on Google Android G1 Phone

1. Install and open the Apps Installer application from the Android Market.

2. This opens a view showing *.apk application names in the sdcard root directory.(note, if no AppNames are listed you have no .apk files in the root directory of the SDCard)

3. Touch the app name to initiate installation of the app.

4. The app is now installed
How to Non-Market .Apk Application on Google Android G1 Phone

1. Download and install Google Android SDK.

2. Now type adb in a command shell will display all the options, adb.exe is SDK tool used to install applications and interface with the device.

3. Now Connect Your G1 Phone to your computer using USB cable. You need to install Drivers for this. Download Android USB drivers from here. This driver is required for adb to interface with an android G1 phone using USB cable.

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

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

6. Download the Application installer .apk file to a local folder on your computer, Now type below command at command shell to install app.

adb install

The above guide is only application for windows XP users and Windows Vista users wont be able to use it, since android sdk for windows vista is not available.» blogsdna.com

Installing the latest Android SDK Февраль 14, 2009

Posted by russenreaktor in g1.
add a comment

«This page describes how to install the Android 1.1 SDK, Release 1, and set up your development environment. If you haven’t downloaded the SDK yet, you can so so from the Download page.» developer.android.com