I posted this all int eh captive section >.< but thought I would put it here in case the other vibrant users would like to know this...
I found the hard way of change the startup sound and shutdown sound, which can be confusing, but i'll try to explain (this is after you have root)
1) went into Astro and copied the file from etc called PowerOn.wav to my SDcard as backup
2) found a wav file I wanted to change for power on and named it PowerOn.wav and stored it on the root of my SDcard
3) downloaded terminal emulator from market
4) when I launched, superuser permissions granted it SU access
5) type the command 'su root' (without the ' of course)
6) then type the command 'cp /sdcard/PowerOn.wav /etc/PowerOn.wav' and hit the enter key
This changed mine to a cooler "system activating" wav file I found...this was my way and it worked, but would much rather know the simpler version of How to grant Astro superuser permissions.
PS I used Audacity to convert my mp3 to wav and ogg files...in case anyone wants to know a free software
Shutdown Video:
I think you can change the shutdown video by adding custom PNG files in the /system/media/video/shutdown folder, but I haven't tested yet...i'm trying to figure out what I was going to do for the video (has to be 14 PNG files...or 14 of them all named the same thing).
I'll be testing soon and letting you know if this works.
EDIT: SUCCESS!!!
I was able to create 14 PNG images and copy them from my SDcard to the /system/media/video/shutdown folder and now I have a new shutdown video...anyone have a sight I could upload the new shutdown PNG files too? I have a couple different ones I created...really basic, but a little nicer than the T-mobile default one.
EDIT...AGAIN: And the new shutdown video
http://www.youtube.com/watch?v=t83uQZqAPDw
http://www.youtube.com/watch?v=lzPorxuJ6n4
Anchor reply for future information on this...possibly some shutdown videos
couldn't you just use root explorer and put the new wav file in the place of the old one with the same name? This is how I changed my boot animation. I'll try your way if mine doesn't work.
Thanks for this.
hey can you zip your shutdown file and give it to me without the sound? it looks badass, and the axura is pretty homo right now.
also are you sure this will work for vibrants?
my startup i changed from sdcard/system/media/...
Vibrant using simply honey 2.8
Im tryn to add a boot sound an cant figure it out please help there was no boot sound to begin with.. i made PowerOn.wav an tryed in system/etc and then tried media then ui nothings working am i naming this wrong or what Please help me out some on! pm me
Im helping some of my friends out because they didnt know how to change the unlock and lock sound, im sorry if there is already a post about it. first and formost i am not responsible for any damages done to your phone.
what you will need:
the sound of your choice (any kind of file)
ogg converter (google it and you will find it)
root explorer
and you must be rooted to do this!
1) convert the mp3s or mp4s etc to ogg file..
2) once finish rename the file as Unlock.ogg or Lock.ogg ( capital the U and the L)
3) put it in your sd card
4) open root explorer
5) find the file, hold it and copy the file
6)push the bac button and make sure it says "mount r/w"
7)go to "system"
8) go to "media"
9)go to "audio"
10) go to "ui"
paste it and a message about overwritting the sound and click yes
test it out... if i was able to help you please push the thanks button
any questions hit me up
This is cool! Did not know you could do this, now to get a tube TV off sound for the CRT animation lol
Haha I just finish doing counter strike sound.. holy shiit! And a pikachu sound.. kinda boring so I'm gonna change soon
Sent from my SPH-D700 using XDA App
Hey Guys an' Girls!
Anyway, so when I first learnt how to decompile, modify then recompile .apks I found it was a rather slow process and figured out a far faster way.I searched google and xda many times and couldn't find my method anywhere. So without further ado, let's go through an easy, simple, step by step guide on how to modify .apk files!
Step 1 - Getting the .apk
Firstly, of course, you will need to obtain the .apk file that you want to edit. There are two methods to do this:
a) If you have the recovery flashable zip for the rom you are currently on, simply open it up, navigate to the file you want to edit (in my case system -> app -> settings.apk) and drag the .apk file onto your desktop.
b) Using root browser or a similar app on your device, navigate to the .apk you wish to edit and copy it onto your sdcard. Then connect to your computer and copy the file from your phone to the computer.
Step 2 - Editing/Modifying your .apk
Now is the important part. Install Winrar by clicking the link. http://www.win-rar.com/download.html?&L=0 Then open the .apk by right clicking the file -> open with -> WinRar. Now you can look around the .apk file. Find a file inside the .apk you wish to edit. (In my case I'm going to navigate to res -> mipmap-hdpi -> ic_launcher_settings.png). Just drag the file from the .apk and edit to your liking.
NOTE: It is recommended never to completely take everything out of the .apk and then put it all back in. Just do one file at a time.
Then when your finished, select the old file in the .apk and press the delete button. Now drag in the new edited file into where you found it. Easy!
Step 3 - Putting the new .apk back where it belongs
Now of course, your going to have to put it back on your device to see the changes in effect, there's no point having it on your computer! There are two ways to go about this:
a) Open up your rom and navigate to the place where you took your .apk file from. Click on the old .apk file and press the delete button. Now drag your new edited .apk file into the zip. Then connect your device to your computer and drag the rom onto the sdcard and flash it via recovery. Now reboot the system and see your change/s in effect!
b) Copy your new .apk file from your computer to your device. Then, using Root browser or a similar app, navigate to the old .apk file and look at the permisions. (eg. RW--r--) Now delete the old file and replace with the new, but make sure to set the permissions the same as they were before. Now Simply reboot and see your change/s in effect!
NOTE: For some .apk files (eg. Framework-res.apk) there might be missing folders inside the .apk (eg. Values).
Just hit the thanks button, he doesn't bite your finger!
This is an easy way to edit the images only(icons,wallpaper,etc),not XML files,Smali's and such.I do this using the kitchen,easy way if you theme alot.
Diablo67 said:
This is an easy way to edit the images only(icons,wallpaper,etc),not XML files,Smali's and such.I do this using the kitchen,easy way if you theme alot.
Click to expand...
Click to collapse
You don't have to use this guide just for images. That was just the example. You can use it for almost any file inside an .apk. I was just saying that SOME folders aren't there.
Can you guide me to how do i keep same apps of diff versions.
i tried to modify a 3rd party app e.g whatsapp and when i tried installing i got an error which said "the app is not signed", may u kindly assist!
tendyfish said:
i tried to modify a 3rd party app e.g whatsapp and when i tried installing i got an error which said "the app is not signed", may u kindly assist!
Click to expand...
Click to collapse
You also have this tool
Easy Apk Dissassembler
http://forum.xda-developers.com/showthread.php?p=14049173
How do I use a flashable to get rid of .apks??? ₩
On the app I have here it returns 20 results that it scrapes from a website. I only want it to return 3 or 4. How do I get in there and change that value?
I want to change values on touchwiz launcher on my note 3, to use it in 440 dpi. When I use it there is so much margin on all sides, and I need to reduce. I need to add a new icon row as well. Can I do that just by modifying the app?
Sent from my GT-I9505 using Tapatalk
are the .xml files encrypted or something? when i try to edit them, it is a bunch of strange characters
Hi,
I would like to modify the tinychat.apk so that i can find how to change my device info/platform from android to something else, like pc or whatever. I dont want to be identified as using an android device. Is this possible?
Regards.
ksaul said:
are the .xml files encrypted or something? when i try to edit them, it is a bunch of strange characters
Click to expand...
Click to collapse
Yes, depending on what tool you use to decompile the apk files it may or may not decrypt them. I use apktool and it decrypts them just fine.
I think this method is no longer working for 4.3+
Modify JAR files
littlejoelgriffo said:
Hey Guys an' Girls!
Anyway, so when I first learnt how to decompile, modify then recompile .apks I found it was a rather slow process and figured out a far faster way.I searched google and xda many times and couldn't find my method anywhere. So without further ado, let's go through an easy, simple, step by step guide on how to modify .apk files!
Step 1 - Getting the .apk
Firstly, of course, you will need to obtain the .apk file that you want to edit. There are two methods to do this:
a) If you have the recovery flashable zip for the rom you are currently on, simply open it up, navigate to the file you want to edit (in my case system -> app -> settings.apk) and drag the .apk file onto your desktop.
b) Using root browser or a similar app on your device, navigate to the .apk you wish to edit and copy it onto your sdcard. Then connect to your computer and copy the file from your phone to the computer.
Step 2 - Editing/Modifying your .apk
Now is the important part. Install Winrar by clicking the link. http://www.win-rar.com/download.html?&L=0 Then open the .apk by right clicking the file -> open with -> WinRar. Now you can look around the .apk file. Find a file inside the .apk you wish to edit. (In my case I'm going to navigate to res -> mipmap-hdpi -> ic_launcher_settings.png). Just drag the file from the .apk and edit to your liking.
NOTE: It is recommended never to completely take everything out of the .apk and then put it all back in. Just do one file at a time.
Then when your finished, select the old file in the .apk and press the delete button. Now drag in the new edited file into where you found it. Easy!
Step 3 - Putting the new .apk back where it belongs
Now of course, your going to have to put it back on your device to see the changes in effect, there's no point having it on your computer! There are two ways to go about this:
a) Open up your rom and navigate to the place where you took your .apk file from. Click on the old .apk file and press the delete button. Now drag your new edited .apk file into the zip. Then connect your device to your computer and drag the rom onto the sdcard and flash it via recovery. Now reboot the system and see your change/s in effect!
b) Copy your new .apk file from your computer to your device. Then, using Root browser or a similar app, navigate to the old .apk file and look at the permisions. (eg. RW--r--) Now delete the old file and replace with the new, but make sure to set the permissions the same as they were before. Now Simply reboot and see your change/s in effect!
NOTE: For some .apk files (eg. Framework-res.apk) there might be missing folders inside the .apk (eg. Values).
Click to expand...
Click to collapse
That's very helpful thank you for sharing. Is there a way to modify JAR files the same way?
gilbertgk said:
That's very helpful thank you for sharing. Is there a way to modify JAR files the same way?
Click to expand...
Click to collapse
rename the jar to apk..after done,rename it back to jar
zamzameir said:
rename the jar to apk..after done,rename it back to jar
Click to expand...
Click to collapse
Can this work on my note 3 4.3 not rooted?
gilbertgk said:
Can this work on my note 3 4.3 not rooted?
Click to expand...
Click to collapse
idk..but you can try n report back
littlejoelgriffo said:
Hey Guys an' Girls!
Anyway, so when I first learnt how to decompile, modify then recompile .apks I found it was a rather slow process and figured out a far faster way.I searched google and xda many times and couldn't find my method anywhere. So without further ado, let's go through an easy, simple, step by step guide on how to modify .apk files!
Step 1 - Getting the .apk
Firstly, of course, you will need to obtain the .apk file that you want to edit. There are two methods to do this:
a) If you have the recovery flashable zip for the rom you are currently on, simply open it up, navigate to the file you want to edit (in my case system -> app -> settings.apk) and drag the .apk file onto your desktop.
b) Using root browser or a similar app on your device, navigate to the .apk you wish to edit and copy it onto your sdcard. Then connect to your computer and copy the file from your phone to the computer.
Step 2 - Editing/Modifying your .apk
Now is the important part. Install Winrar by clicking the link. http://www.win-rar.com/download.html?&L=0 Then open the .apk by right clicking the file -> open with -> WinRar. Now you can look around the .apk file. Find a file inside the .apk you wish to edit. (In my case I'm going to navigate to res -> mipmap-hdpi -> ic_launcher_settings.png). Just drag the file from the .apk and edit to your liking.
NOTE: It is recommended never to completely take everything out of the .apk and then put it all back in. Just do one file at a time.
Then when your finished, select the old file in the .apk and press the delete button. Now drag in the new edited file into where you found it. Easy!
Step 3 - Putting the new .apk back where it belongs
Now of course, your going to have to put it back on your device to see the changes in effect, there's no point having it on your computer! There are two ways to go about this:
a) Open up your rom and navigate to the place where you took your .apk file from. Click on the old .apk file and press the delete button. Now drag your new edited .apk file into the zip. Then connect your device to your computer and drag the rom onto the sdcard and flash it via recovery. Now reboot the system and see your change/s in effect!
b) Copy your new .apk file from your computer to your device. Then, using Root browser or a similar app, navigate to the old .apk file and look at the permisions. (eg. RW--r--) Now delete the old file and replace with the new, but make sure to set the permissions the same as they were before. Now Simply reboot and see your change/s in effect!
NOTE: For some .apk files (eg. Framework-res.apk) there might be missing folders inside the .apk (eg. Values).
Click to expand...
Click to collapse
Thnax for great guide but,my gopro app has a update and I have changed the icon on it but the app store dosent show me the update button. How to fix so I can update?
What do I need to change in an app to substitute it for another app?
OK so I've installed a new ROM and it comes with a kernel setting app preinstalled. This app has been integrated into the system settings portion of the ROM. I want to replace this kernel settings app with one of my choice but I want to be able to integrate it into the system settings like the original app is. I tried disguising the new app by changing the name of the app and .apk files but that didn't work. Closest I got was being able to convert my app to system app but even though I changed the name, the app, when installed goes back to it's original name. Or what permissions or files do I need to change to allow the integration of my app into the settings interface. Thanks ahead of time, it's appreciated.
I changed the file: /system/media/audio/ui/Dialer_new.ogg to another sound file
But my dialer pad still has the water drop sound.
I went through all the files in /system/media/audio/ui and replaced every sound file that has a water drop like sound and my dialer still has the water drop sound.
My Device : Rooted Galaxy S5 Virginmobile G900PVPU1ANE5
I used Root Explorer to do it.
Has anyone been able to change the sound?
..
It's pretty easy to change the dialer sound. You don't need to decompile SecContacts either. Open the archive with winrar, copy the ogg file to the raw folder, choose "store" as compression level. Put it back in system, priv-app, change permissions, reboot. Golden.
(I do want a different sound)
ffft - I did this and checked permissions - that does not work.
so I tried the way metalfan78 suggested - but
I have a SecContacts_Phone_FLAGSHIP_USA.apk AND a SecContacts_Phone_FLAGSHIP_USA.odex file
When I replace the file (touch_ripple.ogg) in raw (with a file of same name but different sound) and set compression as store - after I put SecContacts_Phone_FLAGSHIP_USA.apk (and set permissions) in the /system/piv-app dir
The Phone app crashes
I do not have just a SecContacts.apk file in /system/priv-app
Many people have a problem with this and don't know what to do.
I think the charging sound of the Sony Xperia Z2 is really annoying and useless. It makes the device feel cheap (at least for me).
So I explored some folders and files in my phone, and I finally found the fastest way to disable the sound.
Turns out there were some other sounds in there too!
Basically you need a rooted phone and a root explorer. I use Cheetah Mobile's File Manager but you can use anything you want.
Enable Root Exploring and then navigate to /system/media
You can see here that there is also the boot animation file.
Move on to /system/media/audio/ui
Find the ChargerPluggedIn.ogg file
Rename to ChargerPluggedIn.bak (basically you change the extension)
Reboot device, and there you go! You can also disable any other annoying sounds from there if you want.
Note: To restore any sound you disabled, rename it back to FILENAME.ogg or whatever the extension was, then reboot.