[Q] ADB?s - Fascinate Q&A, Help & Troubleshooting

ok so im tryin to use ADB to do some things , however i cant seem to get it to work. I have done all the steps and have the drivers and in the cmd when i type adb devices from my tools dir it recognizes my phone with its serial # and all. then, at least in what i know, when type su or try to pull a file from my phone i get a not recognized program error. any help with this would be appreciated.

EDIT***think i might have it all figured out. will report back.

spoke to soon lol. i can get su now. what im trying to do is pull the partion that has my boot logos. its in mnt file i think. im learning as i go. im trying to change it to something else. i know there is a way to do it. the links that everyone put up dont work for me tried them all. any help along the way would be appreciated

BDogg718 said:
spoke to soon lol. i can get su now. what im trying to do is pull the partion that has my boot logos. its in mnt file i think. im learning as i go. im trying to change it to something else. i know there is a way to do it. the links that everyone put up dont work for me tried them all. any help along the way would be appreciated
Click to expand...
Click to collapse
I would think the boot animation is /system/media/bootanimation.zip
# adb pull /system/media/bootanimation.zip .
to push it instead, run
# adb remount
first
and
# adb push animation.zip /system/media/bootanimation.zip

Related

[PRJ]HowTo: Remove/Replace T-Mobile BootUp Sound/Animation

Guys,
Don't know if this has been posted yet, but I figured I would throw it in here just in case (I searched around and didn't see anything - I know there's a thread out there on flashing a zip over the boot animation, but I saw nothing specific to the BootUp sound. Forgive me if I missed it). You can also manually replace the The MyTouch Boot Screen (the second one that loads with all the gaudy animations) in the same directory as listed below.
(Obligatory 'I'm not responsible for your phone exploding' notice)
Make sure you do your removing/pushing of files from your command prompt while in clockwork recovery - AFTER mounting the system.
In order to remove the uber-irritating T-mobile BootUp sound (must have root and have flashed SlideMEROOT2):
adb shell
cd /system/customize/resource
rm TMO_Bootup_sound.mp3
You can change this sound to something else as well - just rename your own file as named above. Same with the Boot Screen: just replace MyTouch_v8_Final.gif with a gif that is named the same.
To replace the file:
adb push [file location & name] /system/customize/resource
I pulled my gif from here: http://forum.xda-developers.com/showthread.php?t=567291
Nice find with the mp3, will give it a try in a bit.
Thankssss!
Awesome! Doing this tonight after I get done with the Fathers Day activities...
Awesome
It worked perfectly for me. I pulled a GIF of my "Stark Industries" boot animation that someone made for me on the G1 themes forum, and my 'Good evening Mr Stark, how may I assist you" boot sound I made from an Iron Man commercial. I feel like Tony Stark
And to go with it, a quick transformers boot theme. Just because I felt like making one for myself...
Sorry, forgot the desktop wallpaper to go with the transformers boot theme...
The tall one if for the lock screen.
Re: HowTo: Remove/Replace T-Mobile BootUp Sound/Animation
Can you post the stark industries mp3 . Thanks
Sent from my android device using tapatalk
Stark Industries
This is the link to the Stark Industries boot sound from the G1 forum.
http://forum.xda-developers.com/showpost.php?p=6538090&postcount=5
Re: HowTo: Remove/Replace T-Mobile BootUp Sound/Animation
Nice thanks
Sent from my android device using tapatalk
so if I wanted to use the Transformers one I would rename the sound file to "TMO_Bootup_sound" and the .gif to MyTouch_v8_Final to get it to work? and then push it out?
what about the wallpaper zip?do we just install them on the sd card?
Yep
@Ravenwulf yep thats exactly how you do it.
and the wall paper zip just gets put on the sd card right?
everytime I try the following commands it tells me it failed because it is a read only file
adb shell
cd /system/customize/resource
rm TMO_Bootup_sound.mp3
I'm working on a new kit for the transformers theme that also has the animation morph into the locked desktop, and re-timing the sound file.
And, it's done...
This kit needs you Android Mytouch Slide to be rooted.
Copy the files into your tools directory of your android-sdk and CD into it.
Then run the following commands:
adb push autobot.gif /system/customize/resource/MyTouch_v8_Final.gif
adb push transformers-hum.mp3 /system/customize/resource/TMO_Bootup_sound.mp3
Copy the following files to your SD card:
autobot-black.png
autobot-blue.png
autobot-lock.png
autobot-lockFF.png
The black and blue autobot images allow you two choices for backgrounds, while autobot-lock acts as a good lock screen. autobot-lockFF shows an example of how to edit the image to add a name to the bottom bar.
Click to expand...
Click to collapse
Hope this makes it simple enough to use.
(The changes are making the animation shift into the locked screen without text, and making the sound match the animation)
RavenWulf said:
and the wall paper zip just gets put on the sd card right?
everytime I try the following commands it tells me it failed because it is a read only file
adb shell
cd /system/customize/resource
rm TMO_Bootup_sound.mp3
Click to expand...
Click to collapse
That would mean your phone is not rooted. None of the startup animation kits can be used without a rooted phone. Root is what gives you write access.
I know what root is and my phone IS rooted. I was running Legend to Slide until the lack of KB lights was making me nuts (no offense eugene) and am now running SlideMEROOT2 with the Matrix bootloader animation. with the way you are showing the adb commands shouldn't the supplied files overwrite the stock images?
RavenWulf said:
I know what root is and my phone IS rooted. I was running Legend to Slide until the lack of KB lights was making me nuts (no offense eugene) and am now running SlideMEROOT2 with the Matrix bootloader animation. with the way you are showing the adb commands shouldn't the supplied files overwrite the stock images?
Click to expand...
Click to collapse
<frowns> Yes. I never had a problem overwriting even once. Works fine on mine.
You should never be denied write access if you are root. It's just not the way it works. I would advise you can -shell into the phone and delete them first, then add them, but now I'm worried about the way your phone's acting.
Foolish Frost said:
<frowns> Yes. I never had a problem overwriting even once. Works fine on mine.
You should never be denied write access if you are root. It's just not the way it works. I would advise you can -shell into the phone and delete them first, then add them, but now I'm worried about the way your phone's acting.
Click to expand...
Click to collapse
just a possible theory but is it possible that it isn't acting as it should because I am running one of the bootloader animations from here http://forum.xda-developers.com/showthread.php?t=705279
and maybe I need to re-flash SlideMEROOT2 and start fresh to get it to work... am a huge Transfan
RavenWulf said:
and the wall paper zip just gets put on the sd card right?
everytime I try the following commands it tells me it failed because it is a read only file
adb shell
cd /system/customize/resource
rm TMO_Bootup_sound.mp3
Click to expand...
Click to collapse
Raven, Where are you trying those commands from? Are you booting into stock recovery, then applying the update to get to get to clockwork and mounting the system?
jadambpharm said:
Raven, Where are you trying those commands from? Are you booting into stock recovery, then applying the update to get to get to clockwork and mounting the system?
Click to expand...
Click to collapse
straight from the command prompt : adb shell in command prompt
do we need to go into clockwork first? then use the commands Foolish Frost put in post #13
RavenWulf said:
straight from the command prompt : adb shell in command prompt
do we need to go into clockwork first? then use the commands Foolish Frost put in post #13
Click to expand...
Click to collapse
Yes, you do. The system has to be mounted and the only place you can do that from (at the moment) is clockwork. Get into there, mount, open up your command prompt and go from there
I'll update the original post w/ that info.

Little help with framework-res.apk

Im looking to take a go at some theme making / startup shows. Ive done some looking but I can't find a definitive guide on pulling the framework-res.apk. I have found some how-too on modifying the files contained inside but most assume you already have a pretty solid understanding of abd. Mine is basic so if someone was willing to right out the abd commands for pulling it, backing it up (im guessing just a right click and copy), and then putting the original / modified (if different) back in, it would be much appreciated.
Not much in the line of themes for the Streak so far, so although it take me a while, im willing to do some work.
Any help is appreciated.
Ok I have been looking around and since no one has provided any info/insight ill post what ive found here and perhaps "someone" could be kind enough to just verify.
Pulling "framework-res.apk":
adb pull /system/framework/framework-res.apk
Pushing "framework-res.apk":
adb shell remount rw
adb push framework-res.apk /system/framework/
I also found this code for remount (not sure which is more appropriate?):
adb shell mount -o rw /dev/block/mtdblock1 /system
Also has anyone tried using this:
http://forum.xda-developers.com/showthread.php?t=737526
i was looking to change the bootscreen and in the process i found 'rootexplorer' together with z4root working great. you can copy the files to sdcard (i use usb, but bluetooth or wifi works also) and from there to the system dir.
dell splash logo
you have themed the dell splash logo @ power on? Sweet! can you tell us where it is located?
maybe a short vid to see it in action.
Yes I cant wait do debrand my streak,
chrisrotolo said:
you have themed the dell splash logo @ power on? Sweet! can you tell us where it is located?
maybe a short vid to see it in action.
Yes I cant wait do debrand my streak,
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=859009
please dont hijack the poor man's thread lol
Ha, ha @da_jojo. I suppose that should be happy that sooomeone posted any reply in this thread. Im going to have a look at the boot animation you posted as that was something else id like to try tackling in the future as well. Although I have to admit I was a little bummed that no one could confirm my questions. Just keeping trying on my own I guess.
Sent from my Dell Streak using XDA App
brunswick000 said:
Ha, ha @da_jojo. I suppose that should be happy that sooomeone posted any reply in this thread. Im going to have a look at the boot animation you posted as that was something else id like to try tackling in the future as well. Although I have to admit I was a little bummed that no one could confirm my questions. Just keeping trying on my own I guess.
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
yeah same here.. information sharing is limited to helpdeskfunctionality nowadays lol
the method i used works great and doesnt require a pc to use. the adb commands should be fine i guess.remount the dir should do. im not to sure about the block remount. you can remount system in adb with :
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock6 /system
after some fiddling i found out that bootanimations installer for droid x works good.
You don't neccessarily need a knowledge of ADB to theme. You could just open up Steve's ROM, edit what you want and sign it again (each .zip inside the update.zip must be signed also).
Then you just flash it through recovery.
Meltus said:
You don't neccessarily need a knowledge of ADB to theme. You could just open up Steve's ROM, edit what you want and sign it again (each .zip inside the update.zip must be signed also).
Then you just flash it through recovery.
Click to expand...
Click to collapse
yu, but i think its more handy to just copy the file over with rootexplorer, for testing. the end-product can then be implented in the update if required , the way you describe it.
Ok sounds good. Ill give it a try tomorrow if I have some down time at work. Cant wait to get to work on something for this beast.

[Q] ADB, Odin & SuperOne Click

Any one out there that can help me understand the last part of Adb.
lol.
I learned how to use Odin and superoneclick.
Now I am on Adb.
I read all I can on Team Whiskeys and XDA website and other googled websites. I installed everything and did the My computer/system properties/advance/Enviroment Variables/Path entries.
I start ADB and then I do in command prompt "adb devices" and whoopie I see my phone.
NOW WHAT?
No body on the instructions or website that I have read goes past that.
How do I push down a Rom to overwrite the system with the new Rom I want to try?
Hope someone out in the Forum has really done this before and will post how they do it.
Need to find someone smart enough to finish the instructions.
Thanks,
CatfishKnight
with adb you can copy files to your sd card or system without ever having to mount your sd card to your phone. that's the main thing I use it for
for instance, I have a rom named Trigger_281.zip on my desktop, to push it I would do
Code:
adb push Trigger_281.zip /sdcard/Trigger_281.zip
you can also pull files by using "adb pull <location of file on phone>"
and so on.
Furthermore if you ever need shell access you can do "adb shell" and run unix commands from console instead of on the phone
birgertime said:
with adb you can copy files to your sd card or system without ever having to mount your sd card to your phone. that's the main thing I use it for
for instance, I have a rom named Trigger_281.zip on my desktop, to push it I would do
Code:
adb push Trigger_281.zip /sdcard/Trigger_281.zip
you can also pull files by using "adb pull <location of file on phone>"
and so on.
Furthermore if you ever need shell access you can do "adb shell" and run unix commands from console instead of on the phone
Click to expand...
Click to collapse
Thanks for showing me how to push to my phone. Now do I install it. In recovery mode as a zip? I thought adv installed it and I just rebooted and it was installed.
birgertime said:
with adb you can copy files to your sd card or system without ever having to mount your sd card to your phone. that's the main thing I use it for
for instance, I have a rom named Trigger_281.zip on my desktop, to push it I would do
Code:
adb push Trigger_281.zip /sdcard/Trigger_281.zip
you can also pull files by using "adb pull <location of file on phone>"
and so on.
Furthermore if you ever need shell access you can do "adb shell" and run unix commands from console instead of on the phone
Click to expand...
Click to collapse
Thanks for showing me how to push to my phone. Now do I install it. In recovery mode as a zip? I thought adb installed it and I just rebooted and it was installed.
It just moves the file to the phone. You have to flash the file yourself if it is a flashable.
You can push a .jpg file if you want, it doesn't matter, it only moves it.
And I think you're getting confused with the 'adb install' command. You can install NON-system APKs by doing that.
Code:
adb install someprogram.apk
birgertime said:
It just moves the file to the phone. You have to flash the file yourself if it is a flashable.
You can push a .jpg file if you want, it doesn't matter, it only moves it.
And I think you're getting confused with the 'adb install' command. You can install NON-system APKs by doing that.
Code:
adb install someprogram.apk
Click to expand...
Click to collapse
I guess I was confused on what ADB could do.
I thought it could push down a Rom and install it onto the phone.
Then I would disconnect it and reboot the phone and I would have the newer rom installed.
I didn't know that it only pushed the ROM onto the sdcard and then I would install the zip from the phone itself.
Finally I got an answer to my question.
LOL.
I have tried on the team whiskey site to and no one answered it. Also all the stuff I read on it really didn't tell me that either.
I really appreciate your answer in helping me understand it.
I am also using Trigger 2.8 like you. But you said you had Trigger2.8.1 saved??
I have only seen Trigger 2.8 today.
^ birgertime is the developer of Trigger. He is already cooking something new in the kitchen.
s15274n said:
^ birgertime is the developer of Trigger. He is already cooking something new in the kitchen.
Click to expand...
Click to collapse
Duhhh... I missed that... LOL. I am brain fried!!! I have installed Odin, SuperOneClick, and ADM. I have be learning all three but was having trouble with understanding what ADB could do. Been reading lots and lots about it all day. Whew. I am tired. Ever instruction got down to connecting and seeing your phone and then it would end there. Finally I got an answer from Birgertime. Thanks.
I have 4 different roms saved to my phone to switch between if I want too. But I love Trigger 2.8 with Overclock v2. Also I am seeing 9 sats out of 11 on my gps. With Overclock v2 and using CPUBoostPro I am right at 2000 with Quadrant.

Help with root and Mac - can't post to development section

I keep getting this error when I am trying to start the first command in terminal
Jays-Mac-Prolatform-tools experience$ ./adb push psneuter /data/local/
cannot stat 'psneuter': No such file or directory
I have all of the files downloaded. the file on my memory card. I have been trying this for a few nights now and I can't seem to figure it out. Any help would be appreciated! Coming from my incredible with CM7 Nightlies to a non rooted thunderbolt for 2 weeks now is killing me!
longjas said:
I keep getting this error when I am trying to start the first command in terminal
Jays-Mac-Prolatform-tools experience$ ./adb push psneuter /data/local/
cannot stat 'psneuter': No such file or directory
I have all of the files downloaded. the file on my memory card. I have been trying this for a few nights now and I can't seem to figure it out. Any help would be appreciated! Coming from my incredible with CM7 Nightlies to a non rooted thunderbolt for 2 weeks now is killing me!
Click to expand...
Click to collapse
I posted a pretty comprehensive walkthrough in the development section.
http://forum.xda-developers.com/showthread.php?t=1011623
I recommend you look through there first. now, what you've done wrong: The files don't go in your sd card, they need to be put in the platform tools folder.
Post in my thread if you have anymore trouble, or if it helps you.
I would post there but I dont have 10 posts yet.
I don't have all of the files on my memory card only the one where you change it to p5000 or whatever it's called the problem I'm having is when inam doing this
Now, navigate to your home folder and there is a text file there for you. Pretty neat, eh?
Now, we need to navigate to adb. Go to your android-sdk-mac_x86 folder, open it. Now, go back to terminal, type cd and drag the folder Platform-tools to the terminal window. You should see a green dot with a plus sign in it, that means you can add the folder to the terminal window. It should read something like this:
Code:
cd /Users/Your Computer's Name/Downloads/android-sdk-mac_x86/platform-tools
If you moved the android-sdk-mac_x86 folder (Like I did) after downloading it, it will only be slightly different. (My folder was in my home folder, so it just says /users/my computer/android-sdk-mac_x86/platform-tools)
Once you do this, you are ready to begin
Once I Follow these directions above I am getting thus error
Jays-Mac-Proplatform-tools experience$ ./adb push psneuter /data/local/
cannot stat 'psneuter': No such file or directory
I am at a loss. Please help!
bump. Need some help figuring this out. Been reading the the guide here http://forum.xda-developers.com/show....php?t=1011623 and I still can't figure this out. Any help would be appreciative
i used corey streeter's walkthrough over at androidcentral.com...it could not have possibly been easier if you follow directions exactly...there is a video too
laneharts said:
i used corey streeter's walkthrough over at androidcentral.com...it could not have possibly been easier if you follow directions exactly...there is a video too
Click to expand...
Click to collapse
thanks. Ive tried his method to but every time i get the same error with terminal. I thought i watched the video already but ill give that a try as well. Thanks for the reply
longjas said:
thanks. Ive tried his method to but every time i get the same error with terminal. I thought i watched the video already but ill give that a try as well. Thanks for the reply
Click to expand...
Click to collapse
Just to confirm, psneuter, busybox and misc.img go into your platform tools folder, not your sd card. You aren't actually pushing anything, and you're receiving that error because there is nothing to push. Now, if you put the files from the exploit folder into your platform tools folder, it will work.
Good luck man I hope you get it to work...It was my first time with rooting a phone and I didnt think it was too hard except for the time it took to get it all done
the error msg you are getting is because the files you are trying to push are not in the directory you think they are.
IISiDeK1CKII said:
Just to confirm, psneuter, busybox and misc.img go into your platform tools folder, not your sd card. You aren't actually pushing anything, and you're receiving that error because there is nothing to push. Now, if you put the files from the exploit folder into your platform tools folder, it will work.
Click to expand...
Click to collapse
perfect. Thanks! i think that will fix it. I appreciate your response
laneharts said:
Good luck man I hope you get it to work...It was my first time with rooting a phone and I didnt think it was too hard except for the time it took to get it all done
Click to expand...
Click to collapse
That's the weird thing. This is my 5th phone I have rooted. Droid 1, 2, X, Incredible and now Thunderbolt. I have used terminal and commands in all of them i think except for the X. I understand what to do I just kept getting that error. I think i will be able to get it now. thanks for posting
longjas said:
perfect. Thanks! i think that will fix it. I appreciate your response
Click to expand...
Click to collapse
This same thing happened to me first time I thought u were supposed to put the exploits onto ur sd card haha
Sent from my ADR6400L using XDA Premium App
wwjdd44 said:
the error msg you are getting is because the files you are trying to push are not in the directory you think they are.
Click to expand...
Click to collapse
THanks I think i will be able to get it now with the help of ISiDeK1CKII and the posts
IISiDeK1CKII said:
Just to confirm, psneuter, busybox and misc.img go into your platform tools folder, not your sd card. You aren't actually pushing anything, and you're receiving that error because there is nothing to push. Now, if you put the files from the exploit folder into your platform tools folder, it will work.
Click to expand...
Click to collapse
That did it! I am officially rooted and i am making my first back up with clockwork. Thanks so much!
I love the forums on xda! I finally have a rooted thunderbolt. Now to decide what rom to load! Hopefully cm7 comes out for the Thunderbolt soon. Loved that on my incredible.
I find myself in the same boat, terminal replies "no such directory"
q: I know that the OP's directions explicitly say to download Android SCK...revision 3 <-- has this changed to just the platform tools?
the reason I ask, I have all the files dl and in the folders that sidek1ck says to, but CANT complete Step 5. Setup terminal for ADB. I open up terminal, type the letters "cd", drag and drop the "platform tools" folder to no avail..."no such directory exists"
I simply CANNOT find where I am going wrong here
Please guide me, as this guide seems to work seemingly flawless for everyone else

[Q] can i install ruu files if im bricked?

hey everyone im trying to get an answer to unbrick my phone. it seems i either need to adb sideload or to install the ruu files for my phone. i have tired to use abd push and sideload to get the files over to my phone.but when i issue the command (images included) it just spits out all the information.. basically it doesn't send the file. i downloaded the sdk and i have the platform tools folder in the fastboot folder. i have changed cd to the directory and tried to send the files.. still no luck. the phone isn't deteted because i have removed htc sync. i think that's why its not seeing my device. but when it was able to detect my device, it still didn't work.
vividblu2020 said:
hey everyone im trying to get an answer to unbrick my phone. it seems i either need to adb sideload or to install the ruu files for my phone. i have tired to use abd push and sideload to get the files over to my phone.but when i issue the command (images included) it just spits out all the information.. basically it doesn't send the file. i downloaded the sdk and i have the platform tools folder in the fastboot folder. i have changed cd to the directory and tried to send the files.. still no luck. the phone isn't deteted because i have removed htc sync. i think that's why its not seeing my device. but when it was able to detect my device, it still didn't work.
Click to expand...
Click to collapse
Quit making new post's .. I'll help you in this one
http://forum.xda-developers.com/showthread.php?t=2608214
clsA said:
Quit making new post's .. I'll help you in this one
http://forum.xda-developers.com/showthread.php?t=2608214
Click to expand...
Click to collapse
im trying to get answers.. sorry man. i have been on the computer all day. i am bricked. i have installed the drivers.. ill try to do this agian

Categories

Resources