Anyone know how to change the alarm sound?
install es explorer on watch and tried to override/delete the Oxygen.ogg alarm sound but it doesnt work. Not even if root explorer is enabled. Watch is of course rooted. Also tried with twrp file manager but the /system/media/audio folder isnt there, just a bin folder.
127|[email protected]:/ # adb push "C:\LG G Watch Restore Tools\su.zip" /system/
adb push "C:\LG G Watch Restore Tools\su.zip" /system/
sh: adb: not found
127|[email protected]:/ #
Related
Long post but, hopefully an easy answer that someone can walk me through. I have fully rooted my EVO along with the NAND. I'm trying to move/install (?) Power Manager Pro into the /system/app folder to get full rights so it can turn GPS on/off. The website for the app says that I need to do the following:
After root is obtained you need to install the application into the /system/app directory so that it has enough permission to change the location settings. Open a Terminal Emulator app and execute the following command to copy the application to the sdcard (for the full version the name of the application is /data/app/com.acme.android.powermanagerpro.apk):
su
cp /data/app/com.acme.android.powermanager.apk /sdcard/PowerManager.apk
If you can't find the application in /data/app try /data/apps-private/
Then, un-install Power Manager from the device
Execute the following commands in the terminal emulator to remount the /system directory as read/write and to install the application into the /system/app directory:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/PowerManager.apk /system/app
If you prefer to use adb from your computer, execute these commands:
adb remount
adb shell cp /sdcard/PowerManager.apk /system/app
Several users have utilized root explorer from the Google marketplace to simplify this process.
I have Root Explorer so I would like to do it through there is possible, but I can't seem to get it to work without it getting a FC when it opens after trying to move it.
hmmm, it might be force closing because the system is not mounted as read/write. Never used the app before so I dont know. But you can search the market for terminal emulator and then follow the steps the showed above. It looks like it should work.
...or you could do it through adb shell if you are connected to your 'puter
Trying it in Terminal Emulator with no luck... Wondering if the path is right or if i need to change that? It says:
xport PATH=/data/local/bin:$PATH
$su
cp /data/app.acme.android.powermanagerpro.apk /sdcard/PowerManager.apk
cp: not found
the path seems right (I assume you mean export and not xport). I dont think you need anything special on the rom to access cp through terminal emulator...
Have you tried hooking it up to a computer and entering it through adb shell to see if that works?
So, Iv'e been trying to load a custom boot screen and sound onto my evo. I got the screen but I can't get the sound. Also I think I may have pushed multiple files into it. I have just started using ADB and I can understand most of the commands, I'm pretty familiar with cmd usage. Here's my question, I need to know how to view the files that are in /system/media and/or the files that are in /system/customize/resource. Then when I see what is in there I need to know how to remove it. I've been looking for this for the past hour, searching all over and still can't find it. Please any help would be appreciated.
Update:So I just tried something else and NOW it's booting to a black screen with no sound WTF AM I DOING WRONG!!!!!!!
What Rom are you running? I believe sound only works on Sense Roms. Not including Sense 2.0 (Couldn't get boot sound working on a sense 2.0 Rom) Also make sure your Volume is Turned on.
To view the files
adb shell
cd /system/media
ls
To replace the file you could just copy it
cp /sdcard/<SourceFileName> /system/media/<DestinationFileName>
Well I just rooted my Evo, first time rooter, and haven't flashed any roms or kernals yet, so I'm still running on the stock rom.
Thanks, but the command didn't work. I went into adb shell then typed cd /system/media and is said mount: /sbin/sh: cd: can't cd to /system/media
Hmm Not fimiliar with that message. Just tried it on my phone and it worked, and I am running stock rom. I wonder if Busy Box needs to be installed? This is what you should get.
C:\Program Files\Android\android-sdk-windows\platform-tools>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
# id
id
uid=2000(shell) gid=2000(shell) groups=1003(graphics),1004(input),1007(log),1009
(mount),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet)
# cd /system/media
cd /system/media
# ls
ls
audio
# cd audio
cd audio
# ls
ls
ringtones
notifications
alarms
ui
Just found the custom sound on my phone it's in /system/customize/resource
file is called SPC_animation_final.mp3
If you can't get ADB to Work Root explorer should allow you to copy a new sound to that location.
Omg thank you so much the file manager work perfectly and without the hassle of adb. Thank you thank you and thank you!!!!!!!!!
Hi All,
I'm trying to use the custom_backup_list.txt file to preserve my hosts file after a flash of a new nightly.
However, when i put /etc/hosts into custom_backup_list.txt it ignores it and deletes it anyway.
Also, if i use adb and type
adb pull /etc/hosts
or
adb pull /system/etc/hosts
or
adb remount
+ above
It doesn't see the hosts file, i get
"remote object '/etc/hosts' not a file or directory"
which makes me think im getting the path wrong.
If i use File expert and navigate to /etc/ the hosts file is there and populated with adfree updates.
So, what am i doing wrong here?
u have to populate the custom backup list in this way
Code:
etc/hosts
app/TheAppYouwant.apk
...
without the / at the beginnning of each line
about the adb command to save it on ur computer
Code:
adb remount [hit enter]
adb pull /system/etc/hosts C:\TheFolderYouWant\ [hit enter]
(this after 2 minutes searching on google)
andQlimax said:
u have to populate the custom backup list in this way
Code:
etc/hosts
app/TheAppYouwant.apk
...
without the / at the beginnning of each line
about the adb command to save it on ur computer
Code:
adb remount [hit enter]
adb pull /system/etc/hosts C:\TheFolderYouWant\ [hit enter]
(this after 2 minutes searching on google)
Click to expand...
Click to collapse
Well maybe you should have spent longer searching on Google because it doesn't work,, also if you checked my post above you would see i already tried adb pull /system/etc/hosts after adb remount.
In case your wondering , if you don't specify C:\TheFolderYouWant\ etc it assumes pwd (present working directory).
I can for instance pull custom_backup_list.txt from etc by specifying
adb pull /etc/custom_backup_list.txt
with no problem whatsoever, it seems to be specific to hosts.
Can i also ask how you know about
Code:
etc/hosts
app/TheAppYouwant.apk
...
I have other apps in the custom_backup_list.txt file that start /etc/ that are preserved fine which again points to a specific issue with hosts and hence why i think these two point may be connected.
I was trying to get Polaris Office set up and came across the following:
dave_t321 said:
Put PolarisOffice.apk, libpolarisoffice_Clipboard.so and libpolarisoffice.so in a folder and do this:
Code:
cd [your folder]
adb push PolarisOffice.apk /system/app
adb push libpolarisoffice_Clipboard.so /system/lib
adb push libpolarisoffice.so /system/lib
If you're using windows it might be a good idea to correct the permissions too:
Code:
adb shell
su
chmod 644 /system/app/PolarisOffice.apk
chmod 644 /system/lib/libpolarisoffice_Clipboard.so
chmod 644 /system/lib/libpolarisoffice.so
Click to expand...
Click to collapse
I'm a complete newbie to this stuff and don't known what me means when he says "
Code:
adb shell -> su -> etc..."
Can someone please explain this to me and tell me how I could correct the permissions? I'm already rooted and have the files installed in the correct places but it keeps giving me an error without the permissions corrected.
Not sure why you have to do these things to install Polaris Office...
He means in command line, you type those commands in
adb shell (run a shell in the phone)
su (ask for superuser permission)
and then the next 3 lines, which changes the permissions of those files.
Yeah, like martonikaj said: it's what you write in the command line or a terminal, or whatever you used to install the files to the correct paths. Each line is a command you write and execute.
If you have Root Explorer, or some other file manager that works with root and features permission change, you can do it on your phone:
1 Open the file manager.
2 Locate the file you want to change permissions for.
3 Change permissions to:
Owner: read + write
Group: read
Other: read
4 Repeat for all program files.
rlmaers said:
If you have Root Explorer, or some other file manager that works with root and features permission change, you can do it on your phone:
1 Open the file manager.
2 Locate the file you want to change permissions for.
3 Change permissions to:
Owner: read + write
Group: read
Other: read
4 Repeat for all program files.
Click to expand...
Click to collapse
I have root explorer and did this for all 3 files... still gives me the "unfortunately, polaris office has stopped working" everytime I open the app
Any ideas?
Currently my KF2 is running stock amazon OS (10.4.3), and I rooted the device following http://forum.xda-developers.com/showthread.php?t=2075959
I believe it has been rooted successfully, as I am able to use Titanium Backup and grant root access to ES File Explorer. I also downloaded some root checker app from google play store to double check if it has root privileges.
As I want to flash CM10.1 to my KF2, I have been following Hashcode's guide to install a 2nd bootloader http://forum.xda-developers.com/showthread.php?t=2100963. I am getting stuck with Step 3. I get the following error:
Code:
C:\kfu\tools>adb push stack /data/local/tmp/
failed to copy 'stack' to '/data/local/tmp//stack': Permission denied
elegant_universe said:
Currently my KF2 is running stock amazon OS (10.4.3), and I rooted the device following http://forum.xda-developers.com/showthread.php?t=2075959
I believe it has been rooted successfully, as I am able to use Titanium Backup and grant root access to ES File Explorer. I also downloaded some root checker app from google play store to double check if it has root privileges.
As I want to flash CM10.1 to my KF2, I have been following Hashcode's guide to install a 2nd bootloader http://forum.xda-developers.com/showthread.php?t=2100963. I am getting stuck with Step 3. I get the following error:
Code:
C:\kfu\tools>adb push stack /data/local/tmp/
failed to copy 'stack' to '/data/local/tmp//stack': Permission denied
Click to expand...
Click to collapse
Can you navigate to your '/data/local' directory and confirm that you do have a 'tmp' folder?
soupmagnet said:
enter...
Can you navigate to your '/data/local' directory and confirm that you do have a 'tmp' folder?
Click to expand...
Click to collapse
Using ES File Explorer, I can navigate to '/data/local' directory and I can see a 'tmp' folder.
Problem solved. Instead of using "adb push", I just place the file into '/data/local' manually. The rest of the steps went fine!
No data/local/tmp folder...
So i go into my ES file explorer and i go to my data folder and it shows that i have no local folder, i actually have no folders in this directory. how would i create a local/tmp folder so i can successfully S-OFF my phone?
There are folders in there, key thing is in order to see them you need root. Its weird like that, they might show up over and adb shell if you
Code:
adb shell
cd /data
ls
Or for a more formatted column listing use "ls -n", it will also display permissions of files and folders.
Sent from my Amazon Kindle Fire HD running CM10.1 Tablet UI using xda-developers app