New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Kitteh298
Old
(Last edited by Kitteh298; 27th February 2011 at 03:33 AM.)
#1  
Kitteh298's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 308
Join Date: Nov 2010
Location: Brooklyn Park, MN
Default How to adb rename? or other method?

I want to change the file extension, I had my brother do this through adb but I am not at all knowing of this stuff.

This is for the fully charged sound. - i tried root explorer but it doesnt work.

TW_Low_Battery.ogg and TW_Low_Battery.bak
to
TW_Battery_caution.ogg and TW_Battery_caution.bak

in /system/media/audio/ui
 
Kcarpenter
Old
#2  
Kcarpenter's Avatar
Senior Member
Thanks Meter 146
Posts: 3,347
Join Date: Nov 2009
Location: Clinton, TN
I think you can just move "adb mv /dir/file.old /dir/file.new"
Maybe substitute mv for cp...its been so long since I've done it.
Sent from my SPH-D700 using XDA App
-----------------
-HTC EVO LTE - Stock ATM
Google+: Karl Carpenter
FaceBook: http://www.facebook.com/kcarpenter5407
Twitter: @KCarpenter528
 
Kitteh298
Old
(Last edited by Kitteh298; 27th February 2011 at 03:34 AM.)
#3  
Kitteh298's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 308
Join Date: Nov 2010
Location: Brooklyn Park, MN
neither cp or mv worker under su and non-su

you probably left something out.
Overclocked Samsung Epic CM10 Stable + NS4G Modem
 
chinoto
Old
(Last edited by chinoto; 27th February 2011 at 03:45 AM.)
#4  
chinoto's Avatar
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Jan 2011
Could you please just ask me this stuff before making posts here? Are you just trying to increase your post count? Anyway here's the thing you wanted me to post for others to learn from.

EDIT: A community like this doesn't support odt?
Attached Files
File Type: doc rename.doc - [Click for QR Code] (13.5 KB, 339 views)
 
Kitteh298
Old
#5  
Kitteh298's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 308
Join Date: Nov 2010
Location: Brooklyn Park, MN
oh screw you stop being like that. my god man
Overclocked Samsung Epic CM10 Stable + NS4G Modem
 
bigmcq77
Old
#6  
Member
Thanks Meter 4
Posts: 50
Join Date: Sep 2010
Code:
adb shell
then
Code:
mv oldfile newfile
this renames oldfile to newfile
 
Kitteh298
Old
#7  
Kitteh298's Avatar
Senior Member - OP
Thanks Meter 17
Posts: 308
Join Date: Nov 2010
Location: Brooklyn Park, MN
That doesn't work. At least for me. Read the thread...

From My Samsung Epic Using TapaTalk.
Overclocked Samsung Epic CM10 Stable + NS4G Modem
 
Top Nurse
Old
#8  
Top Nurse's Avatar
Senior Member
Thanks Meter 55
Posts: 1,047
Join Date: Sep 2010
Location: Cocoa Beach, FL
Quote:
Originally Posted by Kitteh298 View Post
oh screw you stop being like that. my god man
I gather you and your brother don't get along to well?



Sent from my SPH-D700 using Tapatalk


 
chinoto
Old
#9  
chinoto's Avatar
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Jan 2011
Quote:
Originally Posted by bigmcq77 View Post
Code:
adb shell
then
Code:
mv oldfile newfile
this renames oldfile to newfile
Quote:
Originally Posted by Kitteh298 View Post
That doesn't work. At least for me. Read the thread...
Kcarpenter suggested essentially the same thing, the problem is that /system is by default mounted as readonly.
Quote:
Originally Posted by Top Nurse View Post
I gather you and your brother don't get along to well?
Eh, sometimes we can cooperate, other times he can't be reasoned with at all. Many of the questions he asks here, he ends up asking me, which annoys me because it wastes other people's time, so I post in his threads asking him to stop and sometimes provide a solution to the problem for other readers to see.
 
musclehead84
Old
#10  
musclehead84's Avatar
Senior Member
Thanks Meter 857
Posts: 4,367
Join Date: Nov 2010
Location: Falling Waters, WV
Thank you chinoto for that document

Sent from my Evo Killer!!!
"If you cant live large look big in the coffin"
Competitive powerlifter and member of Metal Militia Virginia Chapter! Currently ranked in the top 10!
Goals: Squat- 1,000-1,050 Bench 715-800 Deadlift- 650-715.


When my ass leaves the breaking floor,
Lifting weight of such amount
That no mortal eye can count,
All of sudden on top I soar
And Realize:
To happiness there's no such bind
As a PR that's left behind!
Squat! Squat! Squat!


XDA PORTAL POSTS

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more