Question LOCKSCREEN OGG FILE LOCATION - Google Pixel 6 Pro

Hello I have been trying to look for the lockscreen.ogg file location. It has seemed to changed in Android 12 if I'm not mistaken. It was located in System/Media/UI but it seems that is no longer even there with Android 12. Does anyone have any idea where this is? Thank you!

Try system/product/media

Ronny220 said:
Try system/product/media
Click to expand...
Click to collapse
That is exactly the spot I was looking for. For some reason I cant get root explorer to mount R/W to overwrite the old file. Root Explorer does have SU access as well. Any ideas?

stalls said:
That is exactly the spot I was looking for. For some reason I cant get root explorer to mount R/W to overwrite the old file. Root Explorer does have SU access as well. Any ideas?
Click to expand...
Click to collapse
There are one or more Magisk Modules that will make it appear for all intents and purposes that you've overwritten or changed a file. It will do what you need. Because root is systemless, you can't (and shouldn't want to) actually change or delete any system files for real. I don't know the name(s) of the Magisk Modules that will do that, as I haven't had a need, but many users in this section have suggested others use such modules to do something similar to what you want to do.

running "settings list global" on adb shell gave me this location "lock_sound=/product/media/audio/ui/Lock.ogg" I was gonna check on root explorer but forgot im not rooted right now but hopefully that is it.

I just am trying to change the sound when locking the phone.

stalls said:
I just am trying to change the sound when locking the phone.
Click to expand...
Click to collapse
Can you rename the stock file to lock.oggbak and then paste the new sound in obviously with the name lock.ogg?

Thebear j koss said:
Can you rename the stock file to lock.oggbak and then paste the new sound in obviously with the name lock.ogg?
Click to expand...
Click to collapse
You can not because root explorer is not able to switch to r/w. But I tried anyways and failed

stalls said:
You can not because root explorer is not able to switch to r/w. But I tried anyways and failed
Click to expand...
Click to collapse
you have to create a magisk module yourself and replace the file, with the one you want.
google around for a template of a simple magisk module, recreate the directory inside the magisk module where the file you want to replace sits on the phone (system/product/media/audio/ui), drop the new sound file there, zip the magisk module template and flash via magisk manager and do a reboot.
dynamic partitions donĀ“t allow for r/w mounting. replacing the file systemlessly via magisk during bootup is the only way.

Related

[Q] Cant edit or delete instal-recover.sh

I am trying to use clock work mod to instal custom rom.... I am running the latest ics release rooted and unlock...
you need to download root explorer
then go to "/etc"
then click "Mount R/W" on the top of the screen,
and then delete install-recovery.sh
What is the question?
If you ARE rooted you need to install a file manager (Ex. Root Explorer), set R/W and either delete or Rename the file. Suggest you simply rename by adding a .bak to the end of it.
Once this is complete flash the recovery image through fastboot.
BTW .. you could have posted this in the Clockwork thread and the instructions I gave above are already there.
Edit: LOL ... I must type too slow. In 7 minutes you got three identical answers.
Need to be 100% rooted n a root explorer
Sent from my A100 using Tapatalk 2 Beta-5
Sorry
I have been a way a while, I have tried all that you guys have suggested but it wont let me change permissions on it. It says that it gives root permission but not able to edit the file or permissions to it. any help??
Alias_D said:
I have been a way a while, I have tried all that you guys have suggested but it wont let me change permissions on it. It says that it gives root permission but not able to edit the file or permissions to it. any help??
Click to expand...
Click to collapse
Make sure you mount the system as r/w.

How do I set /system as Rw?

I keep trying to edit build.prop on my 5x as I've done on previous devices in the past. Going through file explorers setting it to Rw doesn't actually change it. Does anyone know how to actually set it as rw so it can be modified? I'm trying to add eis, if anyone else has tried.
Thanks!
Atemi1337 said:
I keep trying to edit build.prop on my 5x as I've done on previous devices in the past. Going through file explorers setting it to Rw doesn't actually change it. Does anyone know how to actually set it as rw so it can be modified? I'm trying to add eis, if anyone else has tried.
Thanks!
Click to expand...
Click to collapse
are you sure you are properly rooted? what method did you use?
do other root apps work as intended, which file explorers are you talking about, are you on stock?
just asking, since there are root procedures around through which you funnily enough end up with a r/o rooted device. also the more relevant information you give, the easier it is to help.
Broken303 said:
are you sure you are properly rooted? what method did you use?
do other root apps work as intended, which file explorers are you talking about, are you on stock?
just asking, since there are root procedures around through which you funnily enough end up with a r/o rooted device. also the more relevant information you give, the easier it is to help.
Click to expand...
Click to collapse
I followed a guide in November, don't remember which. All done through adb. All root apps work fine, xposed, titanium Backup, etc. I've tried stock, es file explorer and FX file explorer. Also for giggles I tried Rom Toolbox Pro. Also, in twrp it does say I'm not encrypted.
When trying to edit the file, it only gives me a cannot modify file error.
Atemi1337 said:
I followed a guide in November, don't remember which. All done through adb. All root apps work fine, xposed, titanium Backup, etc. I've tried stock, es file explorer and FX file explorer. Also for giggles I tried Rom Toolbox Pro. Also, in twrp it does say I'm not encrypted.
When trying to edit the file, it only gives me a cannot modify file error.
Click to expand...
Click to collapse
Did you mount system rw before trying to edit the file?
In ES it's under Tools > turn root explorer on, then tap it and mount rw
Same for me...
berndblb said:
Did you mount system rw before trying to edit the file?
In ES it's under Tools > turn root explorer on, then tap it and mount rw
Click to expand...
Click to collapse
Using ES worked perfectly. No other actually worked. Many thanks!

Cannot edit build.prop on rooted developer preview 4

I just flashed developer preview 4 and rooted but I cannot get the build.prop edited. I've tried multiple apps but always says error saving. Had anyone gotten the build.prop edited?
lawtalking said:
I just flashed developer preview 4 and rooted but I cannot get the build.prop edited. I've tried multiple apps but always says error saving. Had anyone gotten the build.prop edited?
Click to expand...
Click to collapse
I have successfully edited the build prop by using root explorer. Make sure you are rooted and allow super su to use root explorer.
You will will need to hold down on build.prop to highlight it, then go to menu and select, open in text editor.
lucky_strike33 said:
I have successfully edited the build prop by using root explorer. Make sure you are rooted and allow super su to use root explorer.
You will will need to hold down on build.prop to highlight it, then go to menu and select, open in text editor.
Click to expand...
Click to collapse
I am rooted and I did give permission to root explorer. I am able to mount the other files and folders as read write but it will not let me Mount the system as read write. I've tried multiple apps it all says error saving.
lawtalking said:
I am rooted and I did give permission to root explorer. I am able to mount the other files and folders as read write but it will not let me Mount the system as read write. I've tried multiple apps it all says error saving.
Click to expand...
Click to collapse
What file explorer are you using. Fx works fine.
toknitup420 said:
What file explorer are you using. Fx works fine.
Click to expand...
Click to collapse
I've tried multiple. Its not the file explorer. I've tried re flashing the factory image but still will not let me edit any system folders or files. I think that maybe it is systemless root. Not sure how I got systemless root or if it is possible to get regular root. Is there a setting is Supersu?
lawtalking said:
I've tried multiple. Its not the file explorer. I've tried re flashing the factory image but still will not let me edit any system folders or files. I think that maybe it is systemless root. Not sure how I got systemless root or if it is possible to get regular root. Is there a setting is Supersu?
Click to expand...
Click to collapse
You may have a SUPER.img - i just learned about this myself - its a combined image containing /system - /vendor & /Product - it looks like it is similar to Systemless root or system as root... idk they are weird but i do think its possible to modify build.rpop, but it may require a PC.... Im looking for a way to edit build.prop myself and learning all this now.

Can't replace bootanimation.zip

Hi everyone,
I'm going mad to find a way to replace my boot animation. Since I've installed the Pixel boot animation via Magisk, I've been no longer able to change it, via flashing or manually replacement. I've uninstalled of course the app that operated the last change to my boot animation before doing this operation. By trying the manually replacement my explorer says I can't delete, rename or move the bootanimation.zip because "It can't be remounted" or something like this. Does anyone know how to solve this problem?
Thanks in advance!
RegularSam said:
Hi everyone,
I'm going mad to find a way to replace my boot animation. Since I've installed the Pixel boot animation via Magisk, I've been no longer able to change it, via flashing or manually replacement. I've uninstalled of course the app that operated the last change to my boot animation before doing this operation. By trying the manually replacement my explorer says I can't delete, rename or move the bootanimation.zip because "It can't be remounted" or something like this. Does anyone know how to solve this problem?
Thanks in advance!
Click to expand...
Click to collapse
What file manager are you using? I use root explorer pro, it asks me if I want to re-mount the partition to read write then let's me do what I want with the file.
Sent from my [device_name] using XDA-Developers Legacy app
@RegularSam: if your filemanager is too lazy, use TWRP:
Mount system, then Advanced ..FileManager.
rp158 said:
@RegularSam: if your filemanager is too lazy, use TWRP:
Mount system, then Advanced ..FileManager.
Click to expand...
Click to collapse
I've tried with TWRP, replaced the boot animation.zip with the one I want but when I boot into the system it's like the old bootanimation from Magisk, for some reason, overwrite again the new, I've already tried twice. Any thoughts?
jd1639 said:
What file manager are you using? I use root explorer pro, it asks me if I want to re-mount the partition to read write then let's me do what I want with the file.
Click to expand...
Click to collapse
I use Solid Explorer, spent 3 euros to buy it so I have to make it work in some way lol. Anyway I'll make a try with Root Explorer.
Solved. Even if before all the changes I've deleted the module on Magisk, don't know why but in cache/magisk_mount there was still a sort of backup of the old bootanimation which was "reflashed" everytime some change to the media folder where made. Anyway, I simply renamed this file by adding .bak and flashed the bootanimation that I want, all from TWRP. In fact, another weird thing is that also Root Explorer can't handle this file, it gives in return the same problem of Solid Explorer, even by unmount e remount again. I can only touch these files from TWRP, don't know why.
RegularSam said:
Solved. Even if before all the changes I've deleted the module on Magisk, don't know why but in cache/magisk_mount there was still a sort of backup of the old bootanimation which was "reflashed" everytime some change to the media folder where made. Anyway, I simply renamed this file by adding .bak and flashed the bootanimation that I want, all from TWRP. In fact, another weird thing is that also Root Explorer can't handle this file, it gives in return the same problem of Solid Explorer, even by unmount e remount again. I can only touch these files from TWRP, don't know why.
Click to expand...
Click to collapse
Mate I'm suffering from the same problem if you can please elaborate on how did you renamed and flashed the file it would be highly helpful!

Rooted but can not mount system folder to r/o

I rooted my oneplus7T with magisk manager7.4.0 by using patched root.img and boot from patched img to directly install magisk, but can not write files into system. So AdAway can not work by this reason. But clocksync can work normally and rootcheck is successful.
By the way, the model is HD1905 and biuld number is 10.0.6HD65AA.
Need help. Thanks so much!
myson1188 said:
I rooted my oneplus7T with magisk manager7.4.0 by using patched root.img and boot from patched img to directly install magisk, but can not write files into system. So AdAway can not work by this reason. But clocksync can work normally and rootcheck is successful.
By the way, the model is HD1905 and biuld number is 10.0.6HD65AA.
Need help. Thanks so much!
Click to expand...
Click to collapse
Go under magisk setting and click host something
rob420p said:
Go under magisk setting and click host something
Click to expand...
Click to collapse
Thanks so much for your reply.
AdAway now is working. but mixexplorer and rootexplorer also can not copy to and delete files from system folder.
myson1188 said:
Thanks so much for your reply.
AdAway now is working. but mixexplorer and rootexplorer also can not copy to and delete files from system folder.
Click to expand...
Click to collapse
On that one idk
you cant mount system r/w on anything that ships with 10 natively.
aer0zer0 said:
you cant mount system r/w on anything that ships with 10 natively.
Click to expand...
Click to collapse
Thanks so much.
So you mean can not change system files like fonts and can not delete pre-installed apk?
myson1188 said:
Thanks so much.
So you mean can not change system files like fonts and can not delete pre-installed apk?
Click to expand...
Click to collapse
You can wait for custom roms to achieve a smaller system footprint.
Or you can disable them for now, there is a way to disable some system apks through adb, but you should know what you are getting into before you proceed down that road.
Disabling an application takes away it's rights to run any code and also make the playstore skip the updates for that apk.
Other things can be changed using magisk without actually modifying the system, through different modules.
myson1188 said:
Thanks so much.
So you mean can not change system files like fonts and can not delete pre-installed apk?
Click to expand...
Click to collapse
Correct, system is permanently RO.
Thanks all.
I'm actually working on this issue. I'm going to try to edit some img files and get back to everyone

Categories

Resources