Posts Tagged ‘hero’

How To Push A File To Your Android Device (CDMA HTC Hero)

!! UPDATE !!

Well I have not played around with the android SDK for some time but I was the other day and it seems that “adb tool” has moved in the sdk. :( So a few of the step here will be a little bit off.

So please use this as nothing more than a learning tool!

If you look in side the the tool folder in the SDK there is a file called adb_has_moved.txt is it says this,

The adb tool has moved to platform-tools/

If you don't see this directory in your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools"

Please also update your PATH environment variable to include the platform-tools/ directory, so you can execute adb from any location."

But the main steps are just the same, If I get time and a reason I will make an update to this post. 
If you have any questions please feel free to ask.

 

 


For those out there that are just starting out I think it is a good idea to go over some of the basics first. If you are in the know about what is going on and what you need you can skip this. I am working with a HTC Hero but things should not change to much for other Android devices.

Also for this I will be updating the camera on my phone. So I will be pushing the camera.apk. You will be able to use these steps for any thing.

Q: What is pushing a file?
A: Think of there being two parts of memory in your phone. 1 bing the SD card and the other being the internal memory. Moving things to the SD card as easy but moving files to the main system memory is not as easy. That is where pushing files comes in to play. It is using command prompt (CMD) to tell your computer to take a files from your computer and move it to your phones main memory.

Q: Why would I do it this way?
A: Well there are a few ways to get this done but this seems to be the best way to move just the files you want and nothing else. Say you have just one image you want to change and dont really want to mess with anything else. Well with this you are able to move over just that one image and not have to worry with making an update zip.

Q: Can I harm my phone?
A: Yes! Anytime you are messing with the main files there is a chance that things can go wrong and I would say do a back up of your phone files.

Now that I hope I have answered some questions lets get to what you need to do first.

First you will need to make sure that you have the most current version of the
Android SDK installed on to your PC. You can get that HERE and to make things easy install to the root of your hard drive.

Where To Install Android SDK On A Windows PC

Next you will need to make sure your device is rooted. Now this I really cant be much help with seeing that there are so many android devices out and I can not know what you have. But a good place to start is by going over to XDA and searching around.
Link To XDA
XDA is a forum with a lot of great devs that put a lot of time in to making our Android devices so great!

Now to what you will need.
1)Android device
2)Cable to plug the device in to your PC
3)File you wish to push

Step 1:
Plug your device in to Your PC using the cable.
Make sure you have any sync programs turned off and do not mount your sd card.

Step 2:
Open command Prompt on your PC.
For Vista and Windows 7 just open the start menu and type in CMD in the search area and press enter.

You should get something that looks like this.
What CMD Command Promt Looks Like

Step 3:
Type in to the Command Prompt

cd C:\android-sdk-windows\tools

Step 4:
Type in to the Command Prompt

adb remount

Now In step 3 and 4 you are just telling Command Prompt to change directory (cd = change directory) and start running an sdk tool.

Step 5:
Type in to the Command Prompt

adb push C:\Users\Chaos67731\Desktop\Camera.apk /system/app/

Now how this works, It is telling the SDK tool to take the file that is on your PC (C:\Users\Chaos67731\Desktop\Camera.apk) and move it to your phone (/system/app/)

You should end up with something like this.
You should end up with something like this

Step 6:
Unplug your phone and reboot it.
Well you will not need to reboot all the time it is just good practice to do so. Just to make sure it reloads all the files that have changed.

Here is all the Code that will be typed in.

adb remount
adb shell
adb push [Path To File You Want To Push] [Path To Where You Want To Push The File]

You can also pull a file by changing

adb push [Path To File You Want To Push] [Path To Where You Want To Push The File]

To


adb pull

Now if you just want to see something cool type in

cd C:\android-sdk-windows\tools
adb remount
adb shell
logcat

This will run what is called “logcat” and this is just showing you what is going on with your phone. So turn it on and watch things go as you start programs.

If you have any questions feel free to ask and hope this helps out!

Sprint HTC Hero not getting Android 2.2

Well looks like the CDMA Hero’s life might be coming to an end. Sprint said in there blog today that they would not be updating the moment or Hero to 2.2

Sprints Twitter Post

As a HTC Hero being my main phone I for one think this is BS! I have been using a Palm Pre For the past few days and moved back to the Hero after I got word 2.2 was out for the world to play with. First I was hoping that the great devs at XDA would be working on something (they are, and have done great work so far! :) ) but I really wanted HTC & Sprint to get this working. Just to make it a little more clean and easy for people who are just starting out to work with.

I for one will be updating to 2.2 as soon as there is a good day to day ROM out! As I seen it the Hero is a great phone and I love how it feels in my hand so I will not be upgrading anytime soon. Even if the EVO is a better phone it is far to big and I like having hard buttons.

You can find good ROMs for your Hero at XDA .

If you have a Hero and have never been then you are missing out on what your phone should be.

I will be posting a blog as soon as I get the chance about the difference’s between the HTC Hero and the Palm Pre.

Return top