Related
hey guys,
just curious if you could some how choose what you want to have in the theme and if you can mix themes, if so how? for example i installed epic unleashed 2.5 and i loved the battery indicator and i installed the 982dark theme for the droid 2 and it's great with a couple exceptions... personally I think i'm going back to the Kangerade Blue for the Droid2 but i still want the original battery indicator from the epic rom.
thanks
-Jim
As far as I know, we don't have this level of customizability on D2 as of now. However, we are starting to see this. Like this, for example:
http://www.xda-developers.com/forum/showthread.php?t=784855
I used to use a ROM for the old Touch CDMA that did in fact have this level of customizability - there was a thread that had pretty much every individual piece available to customize. But again, I haven't seen this for D2 yet.
damn... ok well hopefully we get there eventually... until then I'll just stick with the theme I overall like the best lol
I have this problem with themes too, and the solution is simple. Take the theme that you are going to install, open the zip, and just remove the apps, fonts, or framework you don't want altered.
For example, I despise the font changes alot of themes force on you. Makes my twitter streams unreadable, so I just open the zip, and delete the fonts folder. That way it won't override the stock fonts. I've never tried deleting individual files, but that method should work for icons as well.
Just open the framework.res (rename the .res to .zip or .rar if you have WINRAR installed, or just use the "open with or choose default program" option) goto the res folder, then drawable-hdpi and just delete the battery images from the folder before you install the theme.
An easy way to do this, is to make a copy of the zip first so you'll have a proper version of the theme to view. Open it up with winzip, WINRAR or whatever archiving tool you use on your computer. Then browse the files in thumbnail view to find the images you want to get rid of. Make a note of their file names, then open up the other zip, locate the files in question, right click, delete em.
I'm not quite understanding what you're saying Natty
For example, right now I'm using the Revolution Remix theme. If I unzip it, there are 2 folders: META-INF and system.
Under system there are 3 folders: app, fonts, and framework. In the framework file there are 2 .apk files (framework-res.apk and blur-res.apk) and the systems.jar file.
In the app folder there are all .apk files, and the font folders are all .ttf
I'm not seeing any pictures to be deleted, unless you mean to actually delete the respective app .apk files (for example, I dislike the Talk app icon and the Market app icon)
Edit:
So I guess you're supposed to just rename the .apk to .zip, but for some reason the files are not allowing me...Could these files be locked? (I don't know if that's a stupid question or not lol)
Edit #2:
So I got 7zip (yay for google), but when I go to open the .png files they don't want to open...an application opens to view them, but it just sits there saying "loading"
Natty_lite said:
I have this problem with themes too, and the solution is simple. Take the theme that you are going to install, open the zip, and just remove the apps, fonts, or framework you don't want altered.
For example, I despise the font changes alot of themes force on you. Makes my twitter streams unreadable, so I just open the zip, and delete the fonts folder. That way it won't override the stock fonts. I've never tried deleting individual files, but that method should work for icons as well.
Just open the framework.res (rename the .res to .zip or .rar if you have WINRAR installed, or just use the "open with or choose default program" option) goto the res folder, then drawable-hdpi and just delete the battery images from the folder before you install the theme.
An easy way to do this, is to make a copy of the zip first so you'll have a proper version of the theme to view. Open it up with winzip, WINRAR or whatever archiving tool you use on your computer. Then browse the files in thumbnail view to find the images you want to get rid of. Make a note of their file names, then open up the other zip, locate the files in question, right click, delete em.
Click to expand...
Click to collapse
I'm not sure if that would work for png files inside of framework-res.apk.... I would think that would cause a bootloop
It will work for the fonts folder and for any app you dont want to get altered in /system/app.
So just remove the app from the system/app folder? That's what I'm somewhat confused about.
DGalt11 said:
So just remove the app from the system/app folder? That's what I'm somewhat confused about.
Click to expand...
Click to collapse
If you dont want a themed app to overwrite your current app, then just delete the apk file from /system/app inside of the themed zip file. Or if you dont want a themed font to overwrite ur current font, then just delete the fonts folder inside of the themed zip file.
But deleting files from inside the framework-res.apk... I doubt that would work.
Any idea how to edit the Market? It's not under system/app.
Edit: Never mind, didn't know "market" was actually vending.
removing the png specifically will cause an issue however if you have another png that you would like you use you can just replace this and it will not overwrite then.
theecho said:
removing the png specifically will cause an issue however if you have another png that you would like you use you can just replace this and it will not overwrite then.
Click to expand...
Click to collapse
yeah that's what I did. just copy / replace.
DGalt11 said:
yeah that's what I did. just copy / replace.
Click to expand...
Click to collapse
So did the install go smoothly without the M logo freeze or bootloops? I hope so.
I'm Glad others came to pick up my pieces, lol. That's why this forum is so great. To summarize for those joining the party late, just take the .png's from another theme, and replace the unwanted images with those. Don't just delete them
It's working fine, no reboots or stuck in boot loop or anything. Didn't even need to wipe data / cache.
Now if I could just figure out a way to remove the font they used from just the browser and my apps and nothing else (b/c it looks really nice in the notification bar, the menus, on the widgets, etc. but makes reading email or reading stuff in the browser really difficult) I'd be golden.
So I started removing one font at a time, nothing changed.
So I removed the whole fonts folder, and still didn't get any change in the fonts in the theme.
Ideas?
Thats exactly why I got rid of it. What good is a font that you can't read? I'm not sure if you can just remove it from the statusbar specifically.
Remember, removing them prevents it from changing the fonts that are currently installed. So if they're already different, then they'll just stay that way when you install the edited version of the theme. You're gonna need to flash to the stock theme first, then flash to another theme (like the NexTheme for example) with all the edits that you made.
I see, so those files in the fonts folder aren't actually fonts. They're more like...where the fonts you want get stored. So you need to actually replace the file.
From what I've figured out, the majority of the fonts are derived from DroidSans. If you change that, you change most of the fonts including those in the apps, widgets, etc. So is there no way to specifically change a font in, lets say, apps vs. widgets? And what are all those other files in the fonts folder for
I have no idea. I just deleted the whole folder prior to installing to ensure I kept all stock fonts.
I've figured out all apk files are really just zip files, but why am I not able to unzip the framework-res.apk file, edit the images within, then save it again without causing my phone to hang on boot?
Is there some step I am missing? I've tried rezipping with normal compression, store only, and only photoshopping and resaving a single image within the apk and still it fails.
How are images edited and updated? What am I missing?
I use apkmanager myself for most theming. You might look into it
Sent from my SCH-I500 using XDA App
An apk is a zip, but it's a *signed* zip
Sent from my SCH-I500 using XDA App
Here is the way I do it. I use 7zip to do this and I think it is the only program that can do it.
The way you can do it is to extract the drawable-hdpi folder within the framework-res.apk then do all your edits and save them with the exact same file names. Then you can go back into your framework-res.apk and drag and drop the drawable-hdpi folder back in and it will over write the original ones. Now just hit the Up (like to move up a directory) button until you see the message "framework-res.apk has been changed. Update it in the archive?" then click yes. Now you can put it on your phone without force closing. If you were just editing framework-res and it was not within another .zip file then you won't get that message and that is fine.
APK Manager.
You can use extract/zip (2/3) for image-only edits, but you need to decompile/compile (9/11) to mess with xml files.
Do *not* sign system apks (like framework-res.apk). Do sign other apks.
Btw, this is in the wrong forum.
(Next step: learn about the update.zip packaging script. Remember to name it something besides update.zip afterwards, because on the Fascinate we're installing everything through Clockwork, which should be the only file actually called update.zip.)
s44 said:
APK Manager.
You can use extract/zip (2/3) for image-only edits, but you need to decompile/compile (9/11) to mess with xml files.
Do *not* sign system apks (like framework-res.apk). Do sign other apks.
Click to expand...
Click to collapse
Oooh! I didn't know this app made xml's editable. That opens up a whole new set of theming fun. I can't wait to release my new theme. It should be well received (I hope)
Btw, this is in the wrong forum.
Click to expand...
Click to collapse
I considered putting this in Themes, but this was a theme development question, so here it ended up. If the Theme and Development forums ever hook up and have a few drinks, then spawn a sub-forum, Theme Development, I assure you it would have been a much easier decision to make
Thanks everyone for helping me out. My last time playing with a phone is an old WinMo 5 device. Anroid seems limiting in it's own ways (no dedicated theme files (can't update without losing the apk theme), but much better for customizing for a 'look' of the OS.
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.
How do I disable the camera shutter sound?
I'm rooted, so I already went to /system/media/audio/ui and deleted cam_snap_0.ogg as well as camera_click.ogg. Usually, that does the trick - but not with this phone, it seems.
Do these files exist in multiple locations? Does the camera app have a different file in its own directory?
Haphim said:
How do I disable the camera shutter sound?
I'm rooted, so I already went to /system/media/audio/ui and deleted cam_snap_0.ogg as well as camera_click.ogg. Usually, that does the trick - but not with this phone, it seems.
Do these files exist in multiple locations? Does the camera app have a different file in its own directory?
Click to expand...
Click to collapse
The easiest way I've found was just to put the phone on silent. [emoji6]
Sent from my LG-H918 using Tapatalk
Pick_A_Name said:
The easiest way I've found was just to put the phone on silent. [emoji6]
Sent from my LG-H918 using Tapatalk
Click to expand...
Click to collapse
Well, sure, but there isn't always time, and you won't always remember to take the extra step. I'm looking for a more permanent solution.
I can always use another camera app, but at this point, I'm also curious to know if there's a way to do it for the stock app.
Overwrite the sound files using the attached file (after you unzip it).
As root go into /system/audio/ui, from here you may want to first backup the files on this list, in case you want to restore the ui sounds.
File List:
Code:
af_failure.ogg
af_success.ogg
cam_snap_0.ogg
cam_timer_1sec.ogg
cam_timer_last.ogg
camera_click.ogg
Camera_Timer.ogg
camstart.ogg
camstop.ogg
continuous_shot.ogg
shot_snap.ogg
shutter_mirror_down.ogg
shutter_mirror_up.ogg
wheel_effect.ogg
Overwrite each and every one of those with the attached, unzipped file, make sure their permissions are set to 0644, and it should be totally silenced. (I think all the files might be overkill, but it covers all the bases).,
Good luck
Deleting audio files won't work, they need to be replaced.
memnochlv said:
Overwrite the sound files using the attached file (after you unzip it).
As root go into /system/audio/ui, from here you may want to first backup the files on this list, in case you want to restore the ui sounds.
File List:
Code:
af_failure.ogg
af_success.ogg
cam_snap_0.ogg
cam_timer_1sec.ogg
cam_timer_last.ogg
camera_click.ogg
Camera_Timer.ogg
camstart.ogg
camstop.ogg
continuous_shot.ogg
shot_snap.ogg
shutter_mirror_down.ogg
shutter_mirror_up.ogg
wheel_effect.ogg
Overwrite each and every one of those with the attached, unzipped file, make sure their permissions are set to 0644, and it should be totally silenced. (I think all the files might be overkill, but it covers all the bases).,
Good luck
Click to expand...
Click to collapse
The attached zip only has 1 file in it?
Sent from my VS995 using XDA-Developers Legacy app
Can I replace the files?? I dont have root!
I grabbed all the files and listened to all of them, and for what it's worth, I don't think I heard any files that matched the sound I hear in the app itself. I'm thinking that the default Camera app may provide its own sound internally. If that's true, then the question becomes whether it's accessible as a file, and if so, where is it stored.
f_speed said:
Can I replace the files?? I dont have root!
Click to expand...
Click to collapse
No. Root is needed.
this was driving me nuts deleting all the files listed above and still had the camera shutter sounds.
so i followed this and copy the silence.ogg to create all those ogg files. move them to the phone. using rootbrowser, delete those same files from system/media/sound/ui then copy newly created files. close out the camera completely and reopen. this did it for me. thanks guys.
and yes you need root.
just goto my thread under themes and apps. I made a zip of every file you just paste into system and it'll be silent.
Sent from my LG-US996 using Tapatalk
csnv said:
this was driving me nuts deleting all the files listed above and still had the camera shutter sounds.
so i followed this and copy the silence.ogg to create all those ogg files. move them to the phone. using rootbrowser, delete those same files from system/media/sound/ui then copy newly created files. close out the camera completely and reopen. this did it for me. thanks guys.
and yes you need root.
Click to expand...
Click to collapse
I tried the same steps and failed. Didn't stop my camera shutter sound. But it stopped my TOUCH SOUND (play sound when you touch an item on the screen). And my boot animation sound too. In the meantime I found another way with an app called "mute" and running a profile in tasker everytime the camera app opens, it toggles the MUTE app. That works for me.
An app called mutecamera will do this WITHOUT root.
https://play.google.com/store/apps/details?id=com.gun0912.mutecamera&hl=en
Tested with H990DS and amazingly it worked. Have to give accessibility permission and there is an element of trust required here.
you get 15 free shots, after that you either pay or watch ads
But finally i find a non-root solution
Another alternative is to use Open camera. Remember to enable camera 2 api functionality and then you will see the option to disable shutter sound. You will of course be using open camera in this case.
But the first option allows to use your main camera. And that is the point. I only tested it with the main camera. I have no idea about other apps like whatsapp or facebook that may use the camera as i don't use those apps.
jayochs said:
just goto my thread under themes and apps. I made a zip of every file you just paste into system and it'll be silent.
Click to expand...
Click to collapse
Like he said, go to his thread and find the zip by stangdriver. Flash and profit
Thread in question
https://forum.xda-developers.com/v20/themes/mod-simple-flash-silent-camera-mod-v20-t3620050
What's it say, MUST BE ROOTED
What i posted does not need root
Hi all...
as I'm writing this, my MPM1 is on Stock ROM v334, rooted.
I notice that since few previous fw version at least, or maybe even since the first time the first MPM1 was out for sale, the sounds of the screen being locked and unlocked are still the same.
Is there a way to change them?
I mean it's not available now, and I know that this might be not easy either,..but since there are many experts on this xda forum, I wish that perhaps somebody could make a way/mod to do that?
That's all.
Apologize for my question that maybe is too noob.
Thank you verymuch.
I dont know exactly how to change the lock sounds but there is/should-be a way.
As your device stock-rooted, you can install Gravity box, so you can get wide range of customizations.
Jaheen said:
I dont know exactly how to change the lock sounds but there is/should-be a way.
As your device stock-rooted, you can install Gravity box, so you can get wide range of customizations.
Click to expand...
Click to collapse
GravityBox requires xposed! ?
---------- Post added at 04:26 AM ---------- Previous post was at 04:13 AM ----------
For the OP -
There are magisk modules like 1. Twilight core, Pixel 2 audio and boot animation.
which can help you such kinda stuff systemlessly, so less of a hassle and more options to choose from.
Another way is -
Using any root enabled file explorer, all you have to do is go to /system/media/audio/ui
Copy the whole folder as a backup first and then specifically for your lock sound; either you can add lock.ogg & unlock.ogg
or replace them with any sound that you want
in the same .ogg format.
For lock and unlock.
Also first try copying into that by adding rather than replacing and see if you can change those sounds after a reboot.
Of it that doesn't work, then replace those files and reboot.
Similarly you can also add various other sounds in system/media/audio as per your needs for custom notifications, alarms etc.
Edit - the 2nd way would modify /system partition which might trip safetynet.
akshmau5 said:
GravityBox requires xposed!
---------- Post added at 04:26 AM ---------- Previous post was at 04:13 AM ----------
For the OP -
There are magisk modules like 1. Twilight core, Pixel 2 audio and boot animation.
which can help you such kinda stuff systemlessly, so less of a hassle and more options to choose from.
Another way is -
Using any root enabled file explorer, all you have to do is go to /system/media/audio/ui
Copy the whole folder as a backup first and then specifically for your lock sound; either you can add lock.ogg & unlock.ogg
or replace them with any sound that you want
in the same .ogg format.
For lock and unlock.
Also first try copying into that by adding rather than replacing and see if you can change those sounds after a reboot.
Of it that doesn't work, then replace those files and reboot.
Similarly you can also add various other sounds in system/media/audio as per your needs for custom notifications, alarms etc.
Edit - the 2nd way would modify /system partition which might trip safetynet.
Click to expand...
Click to collapse
1. Do you mean "MidnightCore - twilight edition" module on magisk?
I tried to install that from magisk, but after install, reboot, nothing. Should be a new app icon on the homescreen, right?
But nothing. no icon. no nothing. Only on magisk it said that it has been installed, but nothing... seems like I did nothing.
So I uninstall the module from Magisk.
2. Then I tried the other method.
Using Root explorer I copy paste two .ogg sound files (renamed as lock.ogg and unlock.ogg) into that said folder after I renamed the original files. Then I changed the new files permissions into r-w-r-r (like the original files permission set). Then I rebooted the phone. Nothing hapenned. No Lock nor Unlock sound as I intended to. Infact I accidentally deleted and lost my two original files (the Asus' original lock.ogg and unlock.ogg files)...Would you send me that 2 original files please? I'll be really appreciate it.
Well I'd like to change them but if I failed, I prefer them than to have no sounds like now
3. Last try, I installed the XposedInstaller 3.1.5 apk in intention to try Gravity Box app module like Jaheen said above.
But then when I tried to install the Xposed framework, it said waiting for download...forever....so I lose my patient then I uninstalled the Xposed too.
Full of failed me this time
Pasarireng said:
1. Do you mean "MidnightCore - twilight edition" module on magisk?
I tried to install that from magisk, but after install, reboot, nothing. Should be a new app icon on the homescreen, right?
But nothing. no icon. no nothing. Only on magisk it said that it has been installed, but nothing... seems like I did nothing.
So I uninstall the module from Magisk.
2. Then I tried the other method.
Using Root explorer I copy paste two .ogg sound files (renamed as lock.ogg and unlock.ogg) into that said folder after I renamed the original files. Then I changed the new files permissions into r-w-r-r (like the original files permission set). Then I rebooted the phone. Nothing hapenned. No Lock nor Unlock sound as I intended to. Infact I accidentally deleted and lost my two original files (the Asus' original lock.ogg and unlock.ogg files)...Would you send me that 2 original files please? I'll be really appreciate it.
Well I'd like to change them but if I failed, I prefer them than to have no sounds like now
3. Last try, I installed the XposedInstaller 3.1.5 apk in intention to try Gravity Box app module like Jaheen said above.
But then when I tried to install the Xposed framework, it said waiting for download...forever....so I lose my patient then I uninstalled the Xposed too.
Full of failed me this time
Click to expand...
Click to collapse
1. You have to use terminal commands.
Go to their support thread.
Link - https://forum.xda-developers.com/apps/magisk/module-midnightcore-one-midnight-modules-t3762758
Download terminal app from playstore.
2. So umm.. I don't know why the new sounds don't work. Were they already in .ogg format?
I haven't done anything like changing the UI sounds so not sure, just added some sounds in ringtone and stuff. Sorry?. But mostly it's the same process.
3. You aren't able to download xposed framework from magisk??
Anyways don't bother because gravitybox can't change the lockscreen sounds.
akshmau5 said:
1. You have to use terminal commands.
Go to their support thread.
Link - https://forum.xda-developers.com/apps/magisk/module-midnightcore-one-midnight-modules-t3762758
Download terminal app from playstore.
2. So umm.. I don't know why the new sounds don't work. Were they already in .ogg format?
I haven't done anything like changing the UI sounds so not sure, just added some sounds in ringtone and stuff. Sorry?. But mostly it's the same process.
3. You aren't able to download xposed framework from magisk??
Anyways don't bother because gravitybox can't change the lockscreen sounds.
Click to expand...
Click to collapse
1. I did check the thread. But I don't understand the thread Original post. The guide there is too few for a noob like me.
2. already ogg. I convert it from mp3 to ogg on online convert service by audio.online-convert.com probably their convert method is not good for task like this (?) I don't know. Will try it again more carefully with my pc and more proper convert software later when I'm home and see what the result will become.
3. okay I don't really have a good feeling using xposed either. it's good if I can avoid it.
anyway thank you for the replies and files. the 2 original sounds work again as usual now with files from you.
will report back here later.