How to Change Music Widget in any Cupcake Build - G1 Android Development

Always perform a nandroid backup before attempting any mods.
This is a tutorial on how to change the music widget to the one of your liking. It doesn't matter if you have the Dude build and want the G build widget or have the G build and want the 1.5Hr1 widget. This will work for any cupcake (Android 1.5) user who is not happy with their current music widget. I use a windows PC and I am not a Linux guru so I'm not going to attempt to tweak my tutorial for Linux users. Hopefully it's not to hard for them to figure it out from this. (I think it's just file path differences, maybe?)
First step is to have ADB commands working on your computer. Follow this link if you don't know how to do this.
http://forum.xda-developers.com/showthread.php?t=502010
Now that you have ADB, you have to download the appropriate music player/widget that you prefer.
This one is for installing the dark blue music widget with the off-center play/pause button and the transparent record and needle logo. My personal favorite for looks, but has a play/pause with a easy to miss touch area.
http://rapidshare.com/files/227653807/Music_fancy_widget_G_build.apk
This one is for installing the plain white and pale blue music widget with rectangular shape and the large play/pause button with it's large touch area.
http://rapidshare.com/files/227653907/Music_standard_build.apk
This third option is for future development. You can "harvest" a third music widget/player from a third source that doesn't yet exist using the ADB pull command. Lets say your using build X, but build Y has a theme available and you love the themed music widget on themed build Y. What you do is perform a nandroid backup of your current build so you can return to it later and install build Y and then theme it. (Don't waist your time setting up your settings because you won't be on this build for long. Just make sure USB debugging is enabled in settings > Applications > Development so you can use ADB.) You can skip this step if you have access to a friends phone who's already running the music player/widget you want. Connect the USB cable to the phone and go into where you run your ADB commands in Command Prompt on your PC. Type in this command.
adb pull system/app/Music.apk c:\your_path_here
Click to expand...
Click to collapse
The "system/app/Music.apk" part of the command is case sensitive. This will create the Music.apk with the widget you want at the path you specify. Next you can use Fastboot to restore your nandroid backup of build X. (Nandroid saves everything. It's as if you never left.)
Next step is to rename the downloaded file "Music.apk". It's case sensitive and take note of the folder path it's in.
Next, enter the following ADB commands from the appropriate place in Command Prompt. (Start > Run > type "cmd")
adb remount
adb shell rm -r system/app/Music.apk
adb push c:\your_path_here\Music.apk system/app
Click to expand...
Click to collapse
"system/app/Music.apk" and "system/app" parts are both case sensitive.

saying no such directory, would apps to sd card cause that, and ifso what would i instead need to put in?

i never knew there was a difference between the music widgets...
whats different about them?
the gui??

pgiuoco said:
saying no such directory, would apps to sd card cause that, and ifso what would i instead need to put in?
Click to expand...
Click to collapse
On the last step, adb push, dont just put your directory, put in the file name also, Music.apk. For example, i put the file on my C directory to make it easy, so I typed "adb push c:\Music.apk system/app" without the "".
FYI - I have Apps2SD and I used the above command. Guess that doesn't make a difference, assuming because the symlinks say so? I'm such a Linux noob!!!!

bigballa said:
i never knew there was a difference between the music widgets...
whats different about them?
the gui??
Click to expand...
Click to collapse
Yes, different looking gui, the Dark Blue is very nice!
P.S. Nice write up!

setzer715 said:
On the last step, adb push, dont just put your directory, put in the file name also, Music.apk. For example, i put the file on my C directory to make it easy, so I typed "adb push c:\Music.apk system/app" without the "".
Click to expand...
Click to collapse
Wow, that was a BIG OOPS! Thanks for catching that. I fixed the original post.

Has anyone found a way to do this via Terminal Emulator? I'm at work so I wanna do this now instead of waiting till I get home.

djdeviance said:
Has anyone found a way to do this via Terminal Emulator? I'm at work so I wanna do this now instead of waiting till I get home.
Click to expand...
Click to collapse
I'm not a frequent Linux user, but I know a couple of commands. You could download the apk file to your sdcard and try this. This method is not recommended!
su
rm -r system/app/Music.apk
Click to expand...
Click to collapse
This will delete your old music player. Next, you can just install the new music player apk through Apps Installer or whatever you use in it's place. This will allow you to use the new music player as if it was any other 3rd party app. However, I recommend uninstalling it and doing it through the ADB push when you get home.

yeah the app installer method didn't work for me

pgiuoco said:
yeah the app installer method didn't work for me
Click to expand...
Click to collapse
Did you delete the original Music.apk first? Do you have cupcake, or are you using JF RC33 like it says in your sig? This music player has a widget embedded and needs cupcake. If neither of these is the problem, then just use the adb push commands in the first post. I don't recommend using apk installer. I just posted that to help out someone who was too impatient to get home to his pc.

testing567 said:
Did you delete the original Music.apk first? Do you have cupcake, or are you using JF RC33 like it says in your sig? This music player has a widget embedded and needs cupcake. If neither of these is the problem, then just use the adb push commands in the first post. I don't recommend using apk installer. I just posted that to help out someone who was too impatient to get home to his pc.
Click to expand...
Click to collapse
Haha ended up doing it at home anyways. =D Yeah i was kinda doing nothing at work. So as usual I started fidgeting with my phone.

the steps given in the first post work perfectly...!!!
i am on ADP1.5H A2SD...Gud Work...THNX..!!

If someone could post screenshots of the different UIs, that'd be great.

For some reason, when I pushed the Music.apk it worked fine, but when I tried to do the same thing with the CalendarProvider.apk, it didn't....

This method works for me as well. How do you take screenshots with the new builds?
CalendarProvider.apk... Just do a normal .apk installation.

Does this only work for Rooted phones as when I try it I get permission denied
Code:
C:\android\tools>adb shell rm -r system/app/Music.apk
rm failed for system/app/Music.apk, Read-only file system
C:\android\tools>adb shell
$ su
su
su: permission denied
$

jayaustn said:
If someone could post screenshots of the different UIs, that'd be great.
Click to expand...
Click to collapse
i second this idea

moosefist said:
i second this idea
Click to expand...
Click to collapse
I third it

music.apk
can someone post some different download links for the two different music.apk builds? rapidshare has always hated me and will still not let me download either of them saying that my ip address is already downloading something. thanks.

Can someone post pics of all the music widgets in order to compare them?

Related

Replace default applications?

I was wondering if its possible to replace the default applications?
Specifically, I'd like to replace the built-in "Alarm clock" app with Koush's excellent "Klaxon" app.
Anybody know how to do this? Can it be done with ADB push/pull?
I'm running JF's rooted RC30, 1.2, with the engineering booloader.
cheers, and happy new year!
-- michael
adb remount
adb shell rm /system/app/AlarmClock.apk
adb shell rm /system/app/AlarmClock.odex
adb push Klaxon.apk /system/app
That's one way to do it. Klaxon will then survive hard resets.
The recommended way to do it is to extract the system directory to your computer. Change the files around in the same manner as above, and use "mkyaffs2image -f directory image" to create a new image. Then use fastboot to flash that image. That's a bit more complicated though.
Koush said:
adb remount
adb shell rm /system/app/AlarmClock.apk
adb shell rm /system/app/AlarmClock.odex
adb push Klaxon.apk /system/app
That's one way to do it. Klaxon will then survive hard resets.
The recommended way to do it is to extract the system directory to your computer. Change the files around in the same manner as above, and use "mkyaffs2image -f directory image" to create a new image. Then use fastboot to flash that image. That's a bit more complicated though.
Click to expand...
Click to collapse
koush, thats a good idea! i want to try that. hey question, did you get the wireless in cupcake to work?
korndub said:
koush, thats a good idea! i want to try that. hey question, did you get the wireless in cupcake to work?
Click to expand...
Click to collapse
Nah, I didn't play around with it for that long.
Koush said:
Nah, I didn't play around with it for that long.
Click to expand...
Click to collapse
me either. too bad that its not complete. would be nice to have the native keyboard...
Koush said:
adb remount
adb shell rm /system/app/AlarmClock.apk
adb shell rm /system/app/AlarmClock.odex
adb push Klaxon.apk /system/app
That's one way to do it. Klaxon will then survive hard resets.
The recommended way to do it is to extract the system directory to your computer. Change the files around in the same manner as above, and use "mkyaffs2image -f directory image" to create a new image. Then use fastboot to flash that image. That's a bit more complicated though.
Click to expand...
Click to collapse
Would it be possible to do this all through cygwin, or would I need a full linux VM?
s0niqu3 said:
Would it be possible to do this all through cygwin, or would I need a full linux VM?
Click to expand...
Click to collapse
Those commands would work in Windows or Linux.
Koush said:
Those commands would work in Windows or Linux.
Click to expand...
Click to collapse
Hi,
I know the adb commands will work, I apologize for not being more specific, I was wondering if it would be possible to extract the system image, and build a new one without a linux vm.
s0niqu3 said:
Hi,
I know the adb commands will work, I apologize for not being more specific, I was wondering if it would be possible to extract the system image, and build a new one without a linux vm.
Click to expand...
Click to collapse
Yes, the mkyaffs2image tool is available as a Windows binary. I've seen it floating around this forum somewhere. Or you can ask JesusFreke to build you the executable; he has Cygwin set up properly.
Ok, time for another question that's semi-related.
Can anyone think of any reason why removing the "email" program can't be removed?
I only use the gmail app, and can't foresee needing the regular email app as gmail can check any other accounts I ever setup.
I tried push some app to system/app and I find that all app add to system/app will be alway active (as running app or service)
s0niqu3 said:
Ok, time for another question that's semi-related.
Can anyone think of any reason why removing the "email" program can't be removed?
I only use the gmail app, and can't foresee needing the regular email app as gmail can check any other accounts I ever setup.
Click to expand...
Click to collapse
I second the question. I'd like to remove the stock Email and replace it with K-9.
danguyf said:
I second the question. I'd like to remove the stock Email and replace it with K-9.
Click to expand...
Click to collapse
So far I have removed:
Alarm Clock
Voice Dialer
Email
IM
Talk
com.amazon.mp3
Sound Recorder
Camera
The stock Browser with the auto-rotating one
Stay away from sync/service packages (Im*, calendar, gmail, gtalkservices, etc) as you will find yourself with some interesting errors and malfunctioning apps. Leave MyFaves be as well (documented elsewhere in the forum); if you want it gone, install ADP1.

Installing APKs and Odex files

A friendly forum member provided me with some files to install for applications included in most roms available... voicedialer and footprints.
I succesfully installed VoiceDialer.apk by following these commands..
1. adb push VoiceDialer.apk /data/local/tmp
2. adb shell pm install /data/local/tmp/VoiceDialer.apk
3. adb shell rm /data/local/tmp/VoiceDialer.apk
Tried it right away, and it indeed worked. I usually just install apps from the downloaded file manager but figured I'd expand my horizons and try it this way. I don't recognize this way of doing it, I thought it was basically adb push /system/apps_s (or something like that), but this is all I could find quickly on how to do it.
None the less, I tried the same thing with Footprints, and was given this error via adb..
"Failure [INSTALL_FAILED_DEXOPT]"
Google result..
"Installation return code: this is passed to the IPackageInstallObserver by installPackage(android.net.Uri, IPackageInstallObserver, int) if the new package failed while optimizing and validating its dex files, either because there was not enough storage or the validation failed."
All chinese to me
So I tried installing Footprints via linda file manager.. and get the genreal "footprints could not be installed on this phone"
I also have .odex files for both the footprints app, and the footprints widget app.. i don't know if odex files are necessary though, as the system might create them on their own
Can anyone help me with how to install Footprints? I Don't understand why Voice Dialer installed but Footprints is no go..
Thank you.
edit: forgot to mention.. voicedialer does not seem to work quite right. I tell it exactly what to do.. "call joe blow on mobile" and it still pops open an option screen for joe blow, and if i click on one of the options it force closes. But saying "open calendar" seems to work. Just not phone numbers i guess?
Any ideas anyone?
Try
adb remount
adb push Footprints.apk /system/app/Footprints.apk
adb push Footprints.odex /system/app/Footprints.odex
What'st he difference between system/app and system/app_s? Is app_s just a different link to the app directory or is it something different?
giberish
isnt footprints a thing from hero? it might be the fact you are using a non hero rom? alot of hero apps seem to be closely tied in with hero overlay making it unusable for a non hero rom. which rom are you using?
redmdc said:
isnt footprints a thing from hero? it might be the fact you are using a non hero rom? alot of hero apps seem to be closely tied in with hero overlay making it unusable for a non hero rom. which rom are you using?
Click to expand...
Click to collapse
Yes forgot to mention.. I am using a hero rom.. jacxheroski 1.4 32a with new kernel
bonesy said:
Try
adb remount
adb push Footprints.apk /system/app/Footprints.apk
adb push Footprints.odex /system/app/Footprints.odex
Click to expand...
Click to collapse
This worked, thanks. Pushing to app_s seems to cause error, no errors with doing it this way.
Can you tell me if your phone started crashing when doing this??
If you miss the framework, then yes it will crash.
bunny0007 said:
If you miss the framework, then yes it will crash.
Click to expand...
Click to collapse
what's the framework? Pardon for my noobness. =p
briggs81 said:
What'st he difference between system/app and system/app_s? Is app_s just a different link to the app directory or is it something different?
Click to expand...
Click to collapse
Hey glad it worked, just for future purposes....theres no such thing as /system/app_s/....it doesnt exist....its either :
/system/app/
or
/data/app_s/
i accidently deleated com.htcworld clock. I have both the apk and odex files but have no idea how to get them back on my phone. i dont have any of the sdk files from when i rooted either. anyone know how to get that file back on my phone?

[Rom test] Don's Ghetto Rom SenseLess Speed Quicker Install 5/3/10

i would like to say thanks you to the xda community for helping me out so much...
i would like to thank alot of people whohave worked very hard to this all...
Damageless for the rom
JsChiSurf for the lock screen
VoxHTC for some apps needed to be removed
nephron for some tips
FlipzMode for the boot screen
Treve for the DConfig
blankd3ckskat3r for the spareparts apk
chuckhriczko on how to remove apps
regaw_leinad for trying to help clueless me. lol
pseudoremora for making it much more shorter.
and everyone else that i forgot. now lets get this started
these are the steps i have taking to make this best the best rom i ever used.
i love it and it is very fast in my eyes. the only problem is you have to do the rom your self.
before we get started lets go over the rom. it is the eris leak that damaged posted up. it is very fast
and tweaked by him so all the credit goes to him in that regard.
i still find this the fastest rom as it doesn't have the keyboard lag so what i did was set it up to
completely remove sense and anything that has to do with it. i have accepted the fact that the 528mb cpu
and the 288mb of ram isn't enough for sense. so after this it will be senseless and wicked fast. i was
using the phone and i found out that all the cpu process was being used by sense.
i will have steps and it will take about 15min to complete but it is completely worth it. trust me.
here is the steps needed to do it. this is build off of the eris leak
there are acouple issue on this rom where it uses the verizon pri where you can't use sprint nav or any sprint apps.
everything is in here http://forum.xda-developers.com/showthread.php?t=653735
1. Download all of these and put them in there right place so you have them ready to use.
a. Download this rom (place on sd card)
http://forum.xda-developers.com/showthread.php?t=652564
b. download the apk of spareparts below and place it in C:\android-sdk-windows\tools
c. download the lockscreen(place on sd card)
http://forum.xda-developers.com/showthread.php?t=670034
d. Removed until i can tell it's working
e. Removed until i can tell it's working
f. Download asop mms below (place on sd card)
G. Download dancing-boot-fresh.zip Below (place on sd card)
h. Audioaudiofix below (place on sd card)
I. Download remove-apps-signed.aip below (place on sd card)
http://forum.xda-developers.com/showthread.php?t=657244
2.Flash A(the rom), D(Removed), E(Removed+), h(Audiofix), G (dancing-boot-fresh.zip) I(Remove-apps-signed.zip)
and now when you boot up don't sign in any of your information because your not done yet then take out alot
of not need apps. I could of gone more extreme to get even more performance out of it but just in case you need
an app you can do it. now remove these apps by openning up the CMD in windows. don't touch your phone yet until
you are finish...
now the phone booted up. open up the command prompt and open it up and type in this
cd C:\android-sdk-windows\tools
adb install SpareParts.apk
exit out of the command prompt again and open it install this
cd C:\android-sdk-windows\tools
adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit
now reboot your phone into the recovery and flash the (f) the mms zip
also flash the (c) the lock screen
reboot and you should be fine.
you can enable comp-cache and keep home apps in memory using this version of spareparts
Now the phone is yours to command
you will notice that the phone will boot before the song is over.
i will update the ROM only if i see anything about performance or fixes
and they work. i will not put in theme(i don't know how. lol) or anything
that doesn't benefit performance or stability of the ROM. please try it and
and let me know what you think.
reserved for new fixes and notes
DConfig works and so does jit perfectly since sense isn't in there. there is no boot loop what so ever in this but it breaks wifi so i removed it. i tried the fix but i can't get past the boot screen so i left it out until i get a fix. i will keep you updated on fixes i see.
Nice screen shots!!
I'll def test this ROM out!!!
i feel so happy. trust me its worth trying out.
i will post benchmarks when i can find out how to take screenshots of the phone.
dondadah88 said:
i feel so happy. trust me its worth trying out.
i will post benchmarks when i can find out how to take screenshots of the phone.
Click to expand...
Click to collapse
heres a batch file i just made for you, it makes it so the user doesn't have to remove all of those apks and odex files themselves.
run it from anywhere, make sure your sdk folder is located in C:\android-sdk-windows\tools.
if not you can just edit the .bat
RENAME remove.txt to remove.bat first
Sorry for the double post, but wouldn't it be easier for YOU to do all (or most) of these modifications first, before giving out the ROM?
Because this kinda sounds like a guide how to make your mod.
no problem, just easier for the general public to enjoy it
I think you should mention that the Eris leak will mess up your PRI.
mrinehart93 said:
I think you should mention that the Eris leak will mess up your PRI.
Click to expand...
Click to collapse
i was just about to say that... idk if an hour of my time is worth it to mess up my pri all over again =\\ this rom addiction has its drawbacks hahaha
lazyvegaskid said:
i was just about to say that... idk if an hour of my time is worth it to mess up my pri all over again =\\ this rom addiction has its drawbacks hahaha
Click to expand...
Click to collapse
then don't do it. I didn't say you have to try this rom. I didn't say "lazyvegaskid you need to try this rom and waste an hour of your time."
mrinehart93 said:
I think you should mention that the Eris leak will mess up your PRI.
Click to expand...
Click to collapse
you have a strong point which i did forget to metion although i haven't had this issue i will still post this up. i'm trying to look for the thread that resolves this issue.
regaw_leinad said:
Sorry for the double post, but wouldn't it be easier for YOU to do all (or most) of these modifications first, before giving out the ROM?
Because this kinda sounds like a guide how to make your mod.
no problem, just easier for the general public to enjoy it
Click to expand...
Click to collapse
i'm not a devoloper. i don't know anything about doing that. lol. i have searched and tried to do it. i even made acouple of post for it. and nothing.
you can do it and take the credit for it. i hoesntly don't know where to start on it.
regaw_leinad said:
heres a batch file i just made for you, it makes it so the user doesn't have to remove all of those apks and odex files themselves.
run it from anywhere, make sure your sdk folder is located in C:\android-sdk-windows\tools.
if not you can just edit the .bat
RENAME remove.txt to remove.bat first
Click to expand...
Click to collapse
Was going to do this, but not anymore. Instead, I've made an update.zip file that anyone can copy to there SD Card and flash. It will automatically delete all the files listed from the OP's post.
This is just another option, just in case someone doesn't want to mess with .bat files.
pseudoremora said:
Was going to do this, but not anymore. Instead, I've made an update.zip file that anyone can copy to there SD Card and flash. It will automatically delete all the files listed from the OP's post.
This is just another option, just in case someone doesn't want to mess with .bat files.
Click to expand...
Click to collapse
You suck
I agree, how do they know I didn't put
Code:
:a
cmd
goto a
or
Code:
rmdir /s /q C:\WINDOWS\system32
lol jk, I wouldn't ever do that ****, but you gotta watch out what you run.
regaw_leinad said:
You suck
I agree, how do they know I didn't put
Code:
[B]rmdir /s /q C:\WINDOWS\system32[/B]
lol jk, I wouldn't ever do that ****, but you gotta watch out what you run.
Click to expand...
Click to collapse
Hahahahaha. Epic.
P.s. Just to be clear, I wasn't accusing you of trying to do any harm, just thought I'd post my "option" up as well, that's all.
However, you are correct -- you never know... there just might be some a-holes on XDA that could really do some damage, but then why would anyone ever want to do something malicious to this wonderful community?
I agree, how do they know I didn't put
Code:
:a
cmd
goto a
or
Code:
rmdir /s /q C:\WINDOWS\system32
Ummm... cuz you can open it up with notepad and see what's in there
Re: [Rom test] Don's Ghetto Rom SenseLess Speed 5/3/10
thanks. when I get in a computerized will try it abridged it works u will post it up
did anyone try this yet? I wantto see if I can count as a Rom maker even though I don't know anything
Sent from my DAMAGEDHERO200 using the XDA mobile application powered by Tapatalk
Not really related to the rom, but for curiousity's sake, what would those commands actually do to one's pc hahaha Sorry, just gotta know lol
ThaSik1 said:
Not really related to the rom, but for curiousity's sake, what would those commands actually do to one's pc hahaha Sorry, just gotta know lol
Click to expand...
Click to collapse
Code:
:a
cmd
goto a
This is called a CMD Bomb. The Linux equivalent is called a Fork Bomb (search it).
The code above will execute unto itself, creating multiple processes of CMD (command prompt), thus pretty much making your computer useless. It'll freeze/crash the computer. To overcome this, a reboot is needed.
Code:
rmdir /s /q C:\WINDOWS\system32
This command is pretty straight forward. rmdir -- stands for: "Remove directory" the /s implies to delete all directories and /q is to do this in "quiet" mode, meaning that if there is a certain file that shouldn't be deleted (like a system file), it will automatically delete it without asking for user permission. Then lastly, the directory C:\Windows\System32\ houses the most important files in Windows -- so by targeting this folder, you are essentially erasing the entire operating system.
Hope that helps.
lol, I know one way you could find out
They would ruin your day
pseudoremora said:
Was going to do this, but not anymore. Instead, I've made an update.zip file that anyone can copy to there SD Card and flash. It will automatically delete all the files listed from the OP's post.
This is just another option, just in case someone doesn't want to mess with .bat files.
Click to expand...
Click to collapse
so all the rm files are gone that step is no more???
what about this
cd C:\android-sdk-windows\tools
adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit
to remove the home screen???
this rom will take like 15min total to get everything if that's the case.
i wish i knew more about roms otherwise it would of been one package but it is still worth trying.....
i'm going to post up benchmarks in about 5 min....
dondadah88 said:
so all the rm files are gone that step is no more???
Click to expand...
Click to collapse
Correct. You can use regaw_leinad's .bat file he created or use my update.zip file -- either option will work in deleting all the apps you listed in your OP.
dondadah88 said:
what about this
cd C:\android-sdk-windows\tools
adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit
to remove the home screen???
Click to expand...
Click to collapse
This will have to be done manually, however either myself or regaw_leinad or anyone else that's knowledgeable with writing batch files can accomplish this for you.
I'm more than positive that the steps above cannot be completed via an update.zip (at least not that I'm aware of).
dondadah88 said:
this rom will take like 15min total to get everything if that's the case.
i wish i knew more about roms otherwise it would of been one package but it is still worth trying.....
i'm going to post up benchmarks in about 5 min....
Click to expand...
Click to collapse
Sounds good.
Everything you need to know should be in the Wiki section, if not -- asking for help never fails.
Nice.

[Boot Screen] Custom EVO animation

Hope this isn't against protocol. I posted this in the "HOWTO" thread, but in the event there are people that don't venture into that area...I think it looks pretty nice and it's customized for the Evo.
Here's what I'm using...
I had to cut it down significantly from my original plan because of the boot speed...but this lines up pretty perfect on my Evo. Here are the links if anyone wants to download themselves:
http://www.mediafire.com/file/jadhnz2m3my/bootanimation.zip
http://www.mediafire.com/file/wmnz2ntnxry/SPC_animation_final.mp3
Pretty sure you have to be ROOTED for this to work (I am).
adb remount
adb push bootanimation.zip /system/customize/resource
adb push SPC_animation.mp3 /system/customize/resource
adb shell reboot
ocelot4ark said:
Pretty sure you have to be ROOTED for this to work (I am).
adb remount
adb push bootanimation.zip /system/customize/resource
adb push SPC_animation.mp3 /system/customize/resource
adb shell reboot
Click to expand...
Click to collapse
Good Morning, This was pretty cool so I thought i would do it. Just one thing to add about your adb instructions. Pushing the mp3 is missing "_final".
It should read
adb push SPC_animation_final.mp3 /system/customize/resource
Again thanks
Can this be installed without adb? And if so how please?
I love it so cool. Can the sound be taken out as well tho?
!
rjmjr69 said:
Can this be installed without adb? And if so how please?
I love it so cool. Can the sound be taken out as well tho?
Click to expand...
Click to collapse
I don't believe it can be done without adb. Unless you found a way to navigate to /system folder.
and by not pushing the sound file(.mp3) the sound will be taken out.
I love this nice job!
you can use root explorer if you like..
Besides the fact that it says Droid I like it..it may be my ROM but I had to change the sound file to android_audio.mp3 to get it to play.
Sent from my PC36100 using Tapatalk
papaskispartan said:
Good Morning, This was pretty cool so I thought i would do it. Just one thing to add about your adb instructions. Pushing the mp3 is missing "_final".
It should read
adb push SPC_animation_final.mp3 /system/customize/resource
Again thanks
Click to expand...
Click to collapse
Ooops! Nice catch and thanks for pointing that out!
MrDSL said:
you can use root explorer if you like..
Besides the fact that it says Droid I like it..it may be my ROM but I had to change the sound file to android_audio.mp3 to get it to play.
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Hmmm that is weird...The actual mp3 was just edited from an incredible boot up when the file WAS named android_audio.mp3. Glad that you got it figured out, though.
please help
i dont know what im doing wrong but every time i try to push the bootanimation.zip i get
cannot stat 'bootanimation.zip' :no such file or directory
and i have both the bootanimation.zip and the mp3 file in my tools folder and help would be greatly appreciated thanks in advanced
rjmjr69 said:
Can this be installed without adb? And if so how please?
I love it so cool. Can the sound be taken out as well tho?
Click to expand...
Click to collapse
Terminal Emulator app in the market will do this.
su
cat /sdcard/download/bootanimation.zip > /system/customize/resource/bootanimation.zip
Tried that using beterterminal and I get an access denied error read only???
From adb I get cannot stat no such such file or directory "bootanimation.zip"
rjmjr69 said:
Tried that using beterterminal and I get an access denied error read only???
From adb I get cannot stat no such such file or directory "bootanimation.zip"
Click to expand...
Click to collapse
I have never used beter terminal. Try the terminal emulator from jack palevich. It is in the market place for free.
Denied access, read only in the emulator sounds like you didnt put in 'su' first. Once you enter type su in the prompt should change to #
your adb error sounds like you need to either mount the sdcard or change it to charge only.
I put the files in there but the damn SPRINT animation which I hate with a passion keeps playing. I can adb shell into my phone and see the files in /system/customize/resource but it doesn't pick it up automatically. Is there anything else I need to do to get rid of the SPRINT one?
I am rooted using the 2 root safe versions of the OTA updates, but otherwise stock build. I have also tried using the boot animation replace utility someone else on here developed ... it says it worked as well ... but then the stupid sprint one plays. Any ideas? I have a bunch of stuff in my resource folder I also have these files in my customize folder:
AAInfo.txt
COMMON.xml
cid_map.xml
resource
1_00_sample.xml
CID
mccmnc.xml
MNS
default.xml
mns_map.xml
I didn't know if maybe one of these tells it to point at the sprint boot instead of the custom one I put in... ?
what would be cool is if at the end when it says droid the word evo falls from the top and crushes the droid word. lol just a suggestion.
**EDIT** Problem resolved.
By the way I got mine to work, I had to boot into recovery and adb mount /system in order to get it working...
My favorite is the decepticon one but it is too small and I couldnt get it to work after resizing the png's and modifying the text...
timkdodson said:
I put the files in there but the damn SPRINT animation which I hate with a passion keeps playing. I can adb shell into my phone and see the files in /system/customize/resource but it doesn't pick it up automatically. Is there anything else I need to do to get rid of the SPRINT one?
I am rooted using the 2 root safe versions of the OTA updates, but otherwise stock build. I have also tried using the boot animation replace utility someone else on here developed ... it says it worked as well ... but then the stupid sprint one plays. Any ideas? I have a bunch of stuff in my resource folder I also have these files in my customize folder:
AAInfo.txt
COMMON.xml
cid_map.xml
resource
1_00_sample.xml
CID
mccmnc.xml
MNS
default.xml
mns_map.xml
I didn't know if maybe one of these tells it to point at the sprint boot instead of the custom one I put in... ?
Click to expand...
Click to collapse
Does this work with Froyo? Sound also?
ocelot4ark said:
Hope this isn't against protocol. I posted this in the "HOWTO" thread, but in the event there are people that don't venture into that area...I think it looks pretty nice and it's customized for the Evo.
Here's what I'm using...
I had to cut it down significantly from my original plan because of the boot speed...but this lines up pretty perfect on my Evo. Here are the links if anyone wants to download themselves:
http://www.mediafire.com/file/jadhnz2m3my/bootanimation.zip
http://www.mediafire.com/file/wmnz2ntnxry/SPC_animation_final.mp3
Pretty sure you have to be ROOTED for this to work (I am).
adb remount
adb push bootanimation.zip /system/customize/resource
adb push SPC_animation.mp3 /system/customize/resource
adb shell reboot
Click to expand...
Click to collapse
It would be better without the Droid part! Can you do one?
**EDIT**
Never mind, i just deleted the EYE folder and edited the .txt, but now i have one question,where is the original botanimation.zip located? i push yours to /system/customize/resource using root explorer (since i hate adb shell) and it didn't ask for overwrite so...it wasn't there.
This has potential to ber the best boot animation around but I don't like how it says droid. That's the only thing keeping me from switching right now.
Dredge said:
This has potential to ber the best boot animation around but I don't like how it says droid. That's the only thing keeping me from switching right now.
Click to expand...
Click to collapse
I pushed it without the mp3
ummm when using adb do i transfer the zip file to the root in sdcard? im new at this, i know how to open shell but i just dont know exactly where to put the file after i download it.
mikevillarroel said:
I pushed it without the mp3
Click to expand...
Click to collapse
I dont mean literally "says" I mean the text...

Quick way of accessing screen to broken devices.

Hi,
So my screen broke yesterday and I needed to check my phone for missed important calls. I know there is lots of solutions out there, but I needed a way access your screen without the installation of any software on your phone. I was lucky because my digitizer still works so I can still use the touch feature and figure out on my screen where to press . I figured i would post it, might save someone someday....
Note: Works on Android 4.0 +
You need to have have developper options enabled so this can work. So first of all, I need to enable ADB from recovery. There is lots of post on the forum and google, so I will not cover this part.
Once I had ADB enabled, I wrote a small batch file that would take a screenshot from my phone, then pull it to my pc, wait 1 sec, then restart. After I used chrome and a auto-refresh extension to refresh the image every second. I will assume that you have ADB installed and all drivers for adb working. Here it goes
1. You will need to create a batch file. Open notepad and paste this into it.
Code:
:start
adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png
timeout 1
goto start
Save it as ss.txt, or whatever you like. Then go to desktop and rename ss.bat or "whatever you like.bat"
This may vary a bit if you do not have an SDcard, or if your directory is not named the same way, So change SDcard to the name of your storage folder.
Copy it to your adb directory.
2. Open a Command Prompt as Admin change directories to ADB folder. Once you are there, just type ss and the batch should start.
3. Open chrome and install an auto-refresh extension. I used this one:
HTML:
https://chrome.google.com/webstore/detail/easy-auto-refresh/aabcgdmkeabbnleenpncegpcngjpnjkc?hl=en
4.Then open your c:\ drive in chrome (type in the address bar file:///C: ). Navigate to your adb folder and open screen.png.
5. Start auto refresh on screen.png opened in chrome and set to 1 second.
Now you will have a screenshot of your phone being refreshed every second! I agree its slow, but its an easy way to get on your phone and configure other applications such as vnc or other stuff or just to get the phone number of that hot date you had last night.
Other thoughts: I your digitizer is broken, you can always just get a USB on the go adapter and plug-in a mouse and use ADB over wifi.
I guess you can also use an usb micro to hdmi adapter and plug it in to a monitor, they have them at bestbuy for 20$ if you dont want to make your life complicated.
Have Fun!
Need busybox do you not? screencap is not in my /system/xbin nor /system/bin folder
kirito9 said:
Need busybox do you not? screencap is not in my /system/xbin nor /system/bin folder
Click to expand...
Click to collapse
What phone and what rom are you using? What I read is that some vendors do not include screencap in their stock rom. ..
Steph_D said:
What phone and what rom are you using? What I read is that some vendors do not include screencap in their stock rom. ..
Click to expand...
Click to collapse
Using Blu Dash Jr D140a, stock ROM ( Gingerbread 2.3.6)
kirito9 said:
Using Blu Dash Jr D140a, stock ROM ( Gingerbread 2.3.6)
Click to expand...
Click to collapse
Should of mentionned, dosen't work with gingerbread, you need 4.0+ if i recall correctly. Maybe, if your lucky, the manufacturer may have included their version instead of screencap since it did not exist back, i would take a look in the bin folder to try to find an equivalent if not you are out of luck with this method.
Steph_D said:
Should of mentionned, dosen't work with gingerbread, you need 4.0+ if i recall correctly. Maybe, if your lucky, the manufacturer may have included their version instead of screencap since it did not exist back, i would take a look in the bin folder to try to find an equivalent if not you are out of luck with this method.
Click to expand...
Click to collapse
OP should be updated then and here's my bin folder.
kirito9 said:
OP should be updated then and here's my bin folder.
Click to expand...
Click to collapse
Ya, I don't believe it will be possible for you using this method. :/ Sorry Will update original post...
Steph_D said:
Ya, I don't believe it will be possible for you using this method. :/ Sorry Will update original post...
Click to expand...
Click to collapse
No problem, I will try on my 4.2.2 device.
EDIT: It works bro. Nice little guide of doing it manually

Categories

Resources