ringtone extraction help.... - Hero CDMA Q&A, Help & Troubleshooting

is there a way to get the ringtone package from CM6.0?

To copy them to C:\ using adb enter this:
Code:
adb remount
adb pull /system/media/audio/ringtones /ringtones
Or just download the attached zip

Related

Accidentally Deleted font folder

well one my friend have problem with his HTC Tattoo while he was trying to delete a font from font folder he accidentally deleted the FONT FOLDER now his phone is not working...
is there anyway to fix this problem ?
I suppose that usb connection works, so he can push them to device via adb.
Here is the fonts folder.
Or he can use Android commander: http://forum.xda-developers.com/showthread.php?t=628138 to push them in system with an easier way.
can u pls explain how i can do it via ADB ?
Sorry, I'm not a linux expert and I don't know exactly which commands you must give. For this I suggested Android commander, cause you can drag & drop the folder to device's system folder like you do in windows file explorer.
You can also push the folder along with files with the Android SDK... It's easier as it is GUI based...
rre_za said:
can u pls explain how i can do it via ADB ?
Click to expand...
Click to collapse
1. Unpack the zip file into a folder
2. Connect Tattoo via USB, start recovery, open a terminal and type adb start-server
3. cd into the fontfolder: cd fontfolder
3. PATH\TO\adb push . /system/fonts (please note the DOT!!!! sign)
You're done.
What prob with my tattoo?
I used root1click tool
And I installed Enable Market >>>>> My phone's rooted
but when I try to push font in /system/fonts
ADB say : Permission Denied
Please Help
You need to remount the filesystem with the read-write permission.
Before typing "PATH\TO\adb push . /system/fonts" you need to execute "PATH\TO\adb remount"
I tried
adb remount
adb say:
remount failed: operation not permitted
what prob?
If you type
adb shell
Do you see a # or a $ ? (if you see a $ something has gone wrong with the root)
I believe you cannot remount via adb with stock (didn't try)...install Root Explorer and then try to remount from phone side (there is a button on the upper side saying: Mount RW)
Else do it manually and open adb shell and type:
1. su
2. insmod /data/local/bin/tattoo-hack.ko
3. mount -o rw,remount /dev/block/mtdblock5 /data
4. mount -o rw,remount /dev/block/mtdblock3 /system

[Q]How to move file from PC to Phone using adb

I have a september 2 copy of my nv_data.bin and nv_data.bin.md5 on my computer and I would like to move it to my phones EFS directory, can anyone teach me the syntax to do so ?
Firstly, make sure you make a backup of the original files using Root Explorer or similar....
Open CMD promt (as admin if Vista or W7).
Cd to the Tools dir were you installed ADB...
e.g. cd androidsdk/tools
Then type:
ADB Shell Stop
Press Enter
You should see a msg about Deamon Starting...
Then type:
adb push FILENAME /DIR/DIR
/DIR/DIR Replace with the path the files need to goto on the phone....
Once copied type:
ADB shell start
Press Enter.
Hope that make sense.

How do I copy folder into system using ADB?

As stated in this thread, http://forum.xda-developers.com/showthread.php?t=787163.
I am new to ADB so I need some instructions.
adb shell
su
busybox mount -o remount,rw /system
I did all this. So what's next?
bump, help me please.
You can use adb push to copy
If you have already remounted system partition in read-write mode then, you can use
adb push folderonpc/filetocopy /system/folderonmobile to copy files on mobile.
However, you cannot use wild cards like * to copy all the files in one go. You have to copy one by one. You can use batch file to automate it.
Copying Files to or from an Emulator/Device Instance
You can use the adb commands pull and push to copy files to and from an emulator/device instance's data file. Unlike the install command, which only copies an .apk file to a specific location, the pull and push commands let you copy arbitrary directories and files to any location in an emulator/device instance.
To copy a file or directory (recursively) from the emulator or device, use
Code:
adb pull <remote> <local>
To copy a file or directory (recursively) to the emulator or device, use
Code:
adb push <local> <remote>
In the commands, <local> and <remote> refer to the paths to the target files/directory on your development machine (local) and on the emulator/device instance (remote).
Here's an example:
Code:
adb push foo.txt /sdcard/foo.txt
Taken from developer.android.com

Onemsomic's ICS 3.1RC no GPS lock!

I wanted to ask this in the actual thread but 10 post limit...
Anyway,
I can't get any GPS lock on my I9000, Onemsomic's ICS RC3.1, JVU modem.
I tried changing the NetworkLocation.apk by following this post http://forum.xda-developers.com/showthread.php?p=21351809#post21351809
but since I have absolutely no idea how to use ADB I couldn't do the "change mode to 0644" step.
Someone help a noob?
Thanks.
Well, first off, download the *.apk provided in that post and place it on the sdcard.
adb is a command line tool, so you must insert those commands on a terminal emulator (maybe you got one installed, if not, download one from the market, I can recommend "Android Terminal Emulator").
So, open your terminal emulator and go to the directory where you placed your *.apk. this example has been wrote with the *.apk in the sdcard folder:
Code:
su
cd /mnt/sdcard
adb start-server
adb remount
adb push NetworkLocation.apk /system/app/NetworkLocation.apk
adb chmod 0644 /system/app/NetworkLocation.apk
adb reboot
Note: I wrote this example following my common sense, so I'm not completely sure if this will work!
Cheers!
AurosGamma said:
Well, first off, download the *.apk provided in that post and place it on the sdcard.
adb is a command line tool, so you must insert those commands on a terminal emulator (maybe you got one installed, if not, download one from the market, I can recommend "Android Terminal Emulator").
So, open your terminal emulator and go to the directory where you placed your *.apk. this example has been wrote with the *.apk in the sdcard folder:
Code:
su
cd /mnt/sdcard
adb start-server
adb remount
adb push NetworkLocation.apk /system/app/NetworkLocation.apk
adb chmod 0644 /system/app/NetworkLocation.apk
adb reboot
Note: I wrote this example following my common sense, so I'm not completely sure if this will work!
Cheers!
Click to expand...
Click to collapse
I get a "device not found" error after adb remount. What should I do?
hadar.shamir said:
I get a "device not found" error after adb remount. What should I do?
Click to expand...
Click to collapse
Well I have been looking here and there, and I found that adb doesn't work directly on the phone, you must use adb from your pc. So, this is what you should do from now on:
Install Java SDK
Install Android SDK
Turn on "USB Debugging" in your SGS settings
Connect the Device to the PC
And finally, use the following commands (from the PC):
Code:
// Go to the folder where you put the *.apk
cd C:\users\exampleuser\Documents\ // or /home/exampleuser/Documents/ if you're using linux
adb start-server
adb remount
adb push NetworkLocation.apk /system/app/NetworkLocation.apk
adb chmod 0644 /system/app/NetworkLocation.apk
adb reboot
Note:
The text after the double-slash ( // ), must not be written in the console, they are just comments
You need to install the SDK's because there it is where the adb tool (and tools needed by adb) is found, so, good luck!

[Q] custom notification sounds

Enjoying my galaxy gear but a bit upset that there isn't an easy way to add custom ringtone sounds or notification sounds to the smartwatch. Has anyone figured out a way to add custom sounds to the gear for notifications? Would love to be able to do this myself. Thanks in advance!
yes, there is a way...but unfortunately it requires the device to be rooted first
you can push any custom ringtones using adb commands
adb remount
adb push *.ogg /system/media/audio/alarms/
adb push *.ogg /system/media/audio/notifications/
adb push *.ogg /system/media/audio/ringtones/
adb push *.ogg /system/media/audio/ui
adb remount didnt work for me, i couldn't run adb as root in a production build. i also needed to remount / & /system as rw
so what i did:
mount -ro remount,rw /
mount -ro remount,rw /system
mkdir /tmp1 (temp staging folder)
then push my files to the /tmp1 dir:
adb push filename.ogg /tmp1
(using wildcard on adb command line didnt work for me)
then in a root shell
cp /tmp1/* /system/media/audio/notifications etc whatever dir you want.
to copy all ogg files to the folder.
once you've copied all the files, type in reboot in a shell and the ringtone & notification list in settings will update. viola!
and remember, if you want your ringtone to loop: use your favourite tag editor (I used foobar2000 on Windows), add a tag/field called “ANDROID_LOOP”, and set it to “true”.
without this tag it will not loop.

Categories

Resources