I didn't see any threads about changing the default boot screen so I thought I'd make a short one, as the process is a little different from other Android phones.
First of all, you'll need root and adb
Next, you'll need a custom animation. The below threads have some good ones that will work with the Aria:
forum.xda-developers.com/showthread.php?t=623960
forum.xda-developers.com/showthread.php?t=697527
(Whatever you use you'll need to rename it to "bootanimation.zip")
Copy your custom bootanimation to the root of your C: drive. (C:\bootanimation.zip)
The default bootanimation.zip is located in /system/media
Put your device into recovery by issuing:
adb reboot recovery
Once recovery loads:
adb shell
mount /system
rm /system/media/bootanimation.zip
exit
Now that the old bootanimation is deleted, you can push your new one
adb push C:\bootanimation.zip /system/media
And that's it. Reboot your device and you'll see the animation that you just loaded
probably a stupid question, how do i push? still a n00b to droid, but not Linux, Blackberry, iPhone, WinMo.
there is a boot animation thread. the only thing we dont have is how to change splash screen. (htc logo green and white background)
gh0stshell said:
probably a stupid question, how do i push? still a n00b to droid, but not Linux, Blackberry, iPhone, WinMo.
Click to expand...
Click to collapse
You will need to use ADB which is part of the Android SDK. It can be found at:
http://developer.android.com/sdk/index.html
There are many threads on XDA that explain it's use, as well as help files online.
Related
Hi,
After reading this thread and learning that you CAN replace HTC's apps with stock Android ones, I have started messing around to see what other apps I can / should change. I'll use this thread as kind of a log, so if I mess things up I can come back and see where I went wrong. Fellow noobs can surely use it too!
I am using SDK in Ubuntu, but the procedure should be pretty similar in Windows.
First, follow the Unlockr's method to root your phone.
Download a stock Android rom and extract its /system/apps folder inside /sdk/tools. I named the folder "Apps-stock
Check if Ubuntu recognises your phone:
Code:
./fastboot devices
Load the recovery image and mount the system:
Code:
./fastboot boot cm-hero-recovery.img
./adb shell mount /system
Replacing HTC's calendar:
Code:
./adb shell rm /system/app/Calendar.apk
./adb shell rm /system/app/Calendar.odex
./adb push Apps-stock/Calendar.apk /system/app/
I'll edit the thread, add details as I go on
Nice one!
Please keep us informed!
Thanks for this thread.
Post moved to a more appropriate topic :
http://forum.xda-developers.com/showthread.php?p=4477971#post4477971
Thanks for setting this thread up!
Firstly, you should probably say in the first post that everyone should do a Nandroid backup first - it's saved my bacon. Might be an idea to link to the files, too?
Second, I've got a problem trying to run this method. I removed the original calendar.apk and .odex without any problems, and copied the new one over, but on rebooting, it wasn't in the list of applications anywhere. I browsed there in Astro and opened the file, which gave me an option to install it - which then gave an error of "Calendar could not be installed on this device".
I'm running the MoDaCo 2.1 custom ROM and using the calendar.apk from this thread.
Thanks for your time!
fastboot
can you tell me where this fastboot command is located? I am using Ubuntu too, but can not find fastboot. What is it for by the way?
dragonflyFZX said:
can you tell me where this fastboot command is located? I am using Ubuntu too, but can not find fastboot. What is it for by the way?
Click to expand...
Click to collapse
fastboot and adb are executables you get from the Android SDK - see here.
This thread does require your phone to be rooted, though, which would require you to have already used adb at least once....
frandavid100 said:
........
Replacing HTC's calendar:
Code:
./adb shell rm /system/app/Calendar.apk
./adb shell rm /system/app/Calendar.odex
./adb push Apps-stock/Calendar.apk /system/app/
I'll edit the thread, add details as I go on
Click to expand...
Click to collapse
how about simply replacing those files using a file explorer (like linda)? possible, or would that screw up my system?
I searched around and couldn't get a clear answer. I'm a noob at anything command prompt/terminal related.
I was screwing around with adb last night after figuring out that I can remove program .apks with the rm <com.whatever.program> command. I got a little trigger happy and removed things that I don't use, just to test it out. I made a nandroid backup before I started. The phone runs fine, but now the Market won't download anything. It just sits on the Starting download... screen.
One of the .apks I removed was GmailProvider.apk. Whether this is the problem or not, I'd like to reinstall it for practice. I can always nand restore later.
So my question is... How can I use adb push to reinstall an apk?
I tried:
Code:
adb push C:\GmailProvider.apk
adb install C:\GmailProvider.apk
adb install C:\GmailProvider.apk \system\app
And about every variation of the 3, in and out of the adb shell.
It didn't work, and I'm at a loss to do anything else. So does anyone have any suggestions?
EDIT: I think my "\" should be "/". I got this
Code:
BusyBox v1.15.2 <2009-12-02 TIME EST> multi-call binary
Usage: install [-cdDsp] [-o USER] [-g GRP] [-m MODE] [source] dest|directory
Copy files and set attributes
Options:
Then some usage stuff here.
Then I looked at the command prompt and made a face like .
Suggestions?
It might help to say that I'm using EvilEris 2.0.1, Windows 7.
Just reflash your ROM after doing a titanium backup. Easiest fix.
try this after putting GmailProvider.apk in your sdk\tools dir:
Code:
adb remount
adb push GmailProvider.apk /system/app
remount marks the system directory as read/write
silverramsrt said:
try this after putting GmailProvider.apk in your sdk\tools dir:
Code:
adb remount
adb push GmailProvider.apk /system/app
remount marks the system directory as read/write
Click to expand...
Click to collapse
Beat me to it. ADB is powerful and pretty cool if you know some good commands, but you can really mess up your phone if you know what I mean. Not mess up like brick (unless you really try) but more like phone won't load gmail now, phone won't get past the htc screen. As long as you have a nandroid backup you SHOULD be fine, the push, pull and rm commands are really the first step of rom building. If you know what files you pushed and rm'd you can make your dream rom.
CPCookieMan said:
Beat me to it. ADB is powerful and pretty cool if you know some good commands, but you can really mess up your phone if you know what I mean. Not mess up like brick (unless you really try) but more like phone won't load gmail now, phone won't get past the htc screen. As long as you have a nandroid backup you SHOULD be fine, the push, pull and rm commands are really the first step of rom building. If you know what files you pushed and rm'd you can make your dream rom.[/QUOTE
i am installing htc facebook.apk on a rom that has had all the Bloat removed.do i need to do something after i have pushed a apk file into system/app?? i have tried rebooting the phone and the program isnt there,ive tried going in the phone with root explorer and tried installing while having it in r/w and r/o and still cant get it to install.im not sure what im doing wrong.any help is apreciated
Click to expand...
Click to collapse
i am installing htc facebook.apk on a rom that has had all the Bloat removed.do i need to do something after i have pushed a apk file into system/app?? i have tried rebooting the phone and the program isnt there,ive tried going in the phone with root explorer and tried installing while having it in r/w and r/o and still cant get it to install.im not sure what im doing wrong.any help is apreciated
Click to expand...
Click to collapse
You do not have to do anything after an adb push.
What rom? Some roms have been modified to the point some htc apps will not work. Addionally a copy of the htcfacebook.apk from an eris build may not work on a sprint based or g1 based roms do to signature variations
Sent from my Eris using XDA App
zach.xtr said:
You do not have to do anything after an adb push.
What rom? Some roms have been modified to the point some htc apps will not work. Addionally a copy of the htcfacebook.apk from an eris build may not work on a sprint based or g1 based roms do to signature variations
Sent from my Eris using XDA App
Click to expand...
Click to collapse
im running xtrom 3.0.......i just went ahead and installed the social app flash and deleted what the ones i dont uses,but thanks for the help anyways.i was looking into pushing friendstream into it but found out its only works in sprint base builds
i have a htc wildifire, which has been rooted and installed with openfire rom. But i would like to install a custom boot animator, after reading posts i have realised that you have to gain adb access to your phone if im right?
i dont understand what is meany by that, i know how to access recovery, but how can i gain access to my phones system so im eligible to change the boot animator?
any suggestions are much apreciated.
same problem , you need to use root explorer , or this one ,adb, i download root explorer but dont now how to run it and try adb but it was difficult to me (adb,java,eclipse) ??????
ive tried using root explorer, but it dosent allow me to replace the bootanimation.zip.
i have not yet tried, adb could anyone link me to how adb works?
thanks
Ninja10 said:
ive tried using root explorer, but it dosent allow me to replace the bootanimation.zip.
i have not yet tried, adb could anyone link me to how adb works?
thanks
Click to expand...
Click to collapse
dl a bootanimation.zip file you want to use
place it into your android sdk tools folder (im assuming you have the android sdk installed)
e.g. mine is C:/android-sdk_r06-windows/android-sdk-windows/tools (yours would be different obviously if you installed it somewhere else)
reboot phone into recovery (well i do anyway)
run a command prompt
CD to your tools directory
type adb remount
type adb push bootanimation.zip /data/local/bootanimation.zip
type adb reboot
Ever since I got S-OFF on my G1, I set up a custom splash image. Here's how to do this on the G2.
Info:
The G2 stores the splash image on the /dev/block/mmcblk0p19 partition. By default, this is a white image with green letters spelling 'htc' in the center of the screen.
Prerequisite:
Install and get familiar with the Android SDK see Android SDK | Android Developers also [HOW-TO] ADB for Dummies(How-To Learner's Guide) G1 Android Development
Unlock your T-Mobile G2 / HTC Desire-Z / HTC Vision see [GUIDE] Perma-root and flash ENG HBOOT
Install FFmpeg
Windows:
Extract the ffmpeg.exe file from the bin folder in ffmpeg-r25512.7z
- or Shortcut - get the getsplash.zip from gariak
Install the adb (Android Composite ADB Interface) and fastboot (Android Bootloader Interface) drivers from the android-sdk-windows\usb_driver folder
Mac:
Might find this ffmpeg guide helpful - An easy install of the ffmpeg command line tool - Mac OS X Hints
Backup: (Optional)
To get the current image from the phone, execute this from a root shell:
Code:
dd if=/dev/block/mmcblk0p19 of=/mnt/sdcard/splash.img
On your computer, you can turn this into a PNG using ffmpeg from the command line:
Code:
ffmpeg -f rawvideo -pix_fmt rgb565 -s 480x800 -i splash.img -f image2 splash.png
Flash:
You can set the splash by converting an image you want to a 480x800 resolution PNG file, then use ffmpeg to convert it to raw565 format using the command line:
Code:
ffmpeg -i new_splash.png -f rawvideo -pix_fmt rgb565 new_splash.img
Then with an unlocked (S-OFF) bootloader, flash the new_splash.img file to your phone:
Code:
adb reboot bootloader
fastboot flash splash1 new_splash.img
fastboot reboot
OR you can flash from a terminal window on your phone. Be very careful with this method and triple check that you typed everything correctly so you do not accidentally brick your phone:
Code:
dd if=/mnt/sdcard/splash.img of=/dev/block/mmcblk0p19
References:
Android/HTC/Vision/LinuxAnalysis – TJworld
[Request] MyTouch splash screen?
[TOOL] [Linux / OSX] Splash Screen creator / flasher
gravis86
gariak
An easy install of the ffmpeg command line tool - Mac OS X Hints
wilnotdie
very nice, but what about instead of dd the partition you just use fastboot flash and direct it at the splash partition. but idk, i'm a newb
Using dd is to retrieve the existing boot splash, for those that would like to be able to revert later on, or just for general knowledge.
My cmd sits at "< waiting for device >" - the device is in fastboot and if I reboot the phone I am able to "adb shell" successfully. Any hints? S-OFF and perma-root are done.
EDIT: Nevermind, I got it-needed to install fastboot driver.
Does this replace the HTC logo, T-Mobile G2 logo, or both?
joebobjoe said:
Does this replace the HTC logo, T-Mobile G2 logo, or both?
Click to expand...
Click to collapse
Just the HTC logo.+
How bout replacing the G2 logo?
Any way we can replace the ugly Tmobile G2 splash picture?
If you are using windows, you might have to manually install the fastboot driver the first time you connect it.
Open your device manager without the phone plugged in. Boot to fastboot mode (VOL_D+POWER, then POWER to select fastboot) on your phone. Plug in the phone and watch device manager to see if it finds 'Android Bootloader Interface' or something similar ('HTC Bootloader' is an older driver, but still works). It should show up as USB\VID_0BB4&PID_0FFF if you look at its device id.
If the device is detected as USB\VID_0BB4&PID_0C94, then it's in HBOOT mode, you need to select FASTBOOT from the HBOOT menu (using VOL_U or VOL_D, then POWER to select).
Ive been using a custom bootanimation.zip for weeks. Just push one for another 800x480 device to /data/local/bootanimation.zip
ffff00 said:
Ive been using a custom bootanimation.zip for weeks. Just push one for another 800x480 device to /data/local/bootanimation.zip
Click to expand...
Click to collapse
Is there a howto or anything on how to properly do this?
Greenarcher707 said:
How bout replacing the G2 logo?
Click to expand...
Click to collapse
SRed13 said:
Any way we can replace the ugly Tmobile G2 splash picture?
Click to expand...
Click to collapse
Yes, just push the bootanimation.zip to your sdcard
Code:
adb push bootanimation.zip /mnt/sdcard/bootanimation.zip
then mount the system rw from root terminal on the phone and copy the file
Code:
su
mount -o remount,rw /dev/block/mmcblk0p25 /system
cp /mnt/sdcard/bootanimation.zip /system/media/bootanimation.zip
and then reboot.
If you want to revert to the original bootanimation.zip, you can extract it from the release ROM.
Any way to apply the Nexus One/Cyanogen splash animation on the G2?
TL24 said:
Any way to apply the Nexus One/Cyanogen splash animation on the G2?
Click to expand...
Click to collapse
If someone knows which partition it is stored in, I can dd it. I have CM 6.1 installed on my N1.
TL24 said:
Any way to apply the Nexus One/Cyanogen splash animation on the G2?
Click to expand...
Click to collapse
cparekh said:
If someone knows which partition it is stored in, I can dd it. I have CM 6.1 installed on my N1.
Click to expand...
Click to collapse
The original N1 splash can be found in this post.
The CyanogenMod boot animation can be pulled from the latest nightly. Look in system/media/ for bootanimation.zip and follow the previous post how to apply it to the G2.
tehtide said:
Is there a howto or anything on how to properly do this?
Click to expand...
Click to collapse
Google is your friend.
reukiodo said:
The original N1 splash can be found in this post.
The CyanogenMod boot animation can be pulled from the latest nightly. Look in system/media/ for bootanimation.zip and follow the previous post how to apply it to the G2.
Click to expand...
Click to collapse
Nice, what about the bootanimation for the following??:
Anyone have this one?
TL24 said:
Nice, what about the bootanimation for the following??:
Anyone have this one?
Click to expand...
Click to collapse
That is the CM5 boot animation. You can find it in the Nexus One download section on cyanogenmod.com website.
reukiodo said:
That is the CM5 boot animation. You can find it in the Nexus One download section on cyanogenmod.com website.
Click to expand...
Click to collapse
YOU sir, are THE man! Thanks bro! haha
Hi,
I used Unrevoked's one-click Mac .app to root my Aria. I can boot into Recovery fine, but perhaps pertinently (perhaps not) there's a weird loop I can't get out of: (bottom of post at http://forum.xda-developers.com/showthread.php?t=829439)
Anyways, I installed CM6.1-Liberty afterwards using ROM Manager. Now I would like to delete the News and Weather application, but I'm finding it difficult:
I've tried with the Super Manager application, a ROOT manager. It has SuperUser permissions, it tried to mount /system as R/W when I navigate to it, but when I rename the .apk file, the file retains its old name.
I've also tried booting into Recovery, mounting /system from the Partitions menu, then using the Terminal Emulator to do 'mv /system/app/blah.apk /system/app/blah.apk.bak.' But mv complains that the directory is not empty! (are .apk's even considered directories?)
Is something messed up with my ROM? Anything else I can try?
With the phone in recovery and /system mounted, using terminal try navigating to the actual /system/app folder and then removing the .apk. Not sure if its the same as windows, which is the rm command.
rm application.apk
Sent from my cm6.1 Aria using XDA App
It worked! Booted into Recovery, mounted /system, connected via USB, opened up an adb shell, and was able to move the desired apk.
I tested this moving HtcLockScreen.apk on my Liberated ROM. Will try to move the News & Weather application on the CM ROM too, but I don't see why it wouldn't work.
Thanks!!!
All good. Thank you so much.
I've gotta wonder now: what is it about Recovery that lets you do this? I can't find much (if any) hard info on Recovery online, or hboot/fastboot for that matter. It's a little annoying having to power down my phone to adb stuff around, then powering back up.
ninestraycats said:
All good. Thank you so much.
I've gotta wonder now: what is it about Recovery that lets you do this? I can't find much (if any) hard info on Recovery online, or hboot/fastboot for that matter. It's a little annoying having to power down my phone to adb stuff around, then powering back up.
Click to expand...
Click to collapse
I think it had to do with the fact that the aria is an s-on device (don't quote me on that). Whatever it is, the system can't be modified while android is running on the aria, so you have to boot into recovery to do it.
Sent from my cm6.1 Aria using XDA App
CallMeAria said:
I think it had to do with the fact that the aria is an s-on device (don't quote me on that). Whatever it is, the system can't be modified while android is running on the aria, so you have to boot into recovery to do it.
Sent from my cm6.1 Aria using XDA App
Click to expand...
Click to collapse
Not quite... You can put Titanium Backup into "Chuck Norris" mode and it will let you delete some system apps. Another easy way to achieve the same is to unzip the ROM, delete the .apk and .odex files you do not want, rezip it and re-flash. Bingo... the stuff you do not want is gone. You need to know what you are deleting though, some stuff is used by the system and other apps.
For anyone else whos wondering how to delete a non-uninstallable apk this is how I usually do it on windows (should be the same on mac too.)
- boot into recovery
-open new command promp
-adb shell mount /system
-adb shell rm -r /sysytem/app/apkname.apk
done and done, note letter case matters in apk name.
U can also extract the rom on ur computer and delete the .apks u don't want
Sent from my Liberty using XDA App