Since installing Raidroid 1.1 I had the concern of an extremely LOUD boot sound.
I decided to find out how to turn it off and let everybody know how.
It turned out to be much simpler than I thought. The method, I believe, will work with all ROMs.
There is a file in /system/media/bootscreen called boot_animation.xml - this contains the script that runs on startup.
First you need to copy that file off your phone for editing. Use any method you wish, I used adb
adb pull /system/media/bootscreen/boot_animation.xml boot_animation.xml
Now, in your current folder, you will have a copy of that file. You can edit it in notepad.
Here is mine:
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright © 2008 HTC Inc.
*
-->
<!-- For new bootup animation
<BootConfiguration>
<BootAnimation
image="/system/media/bootscreen/boot.gif"
audio="/system/media/bootscreen/boot.mp3"
screenX="100" (optional)
screenY="130" (optional)
useAudio="0" // 1: true ; 0:false (optional)
/>
</BootConfiguration>
-->
<!-- For cropped version -->
<BootConfiguration>
<BootAnimation
image="/system/media/bootscreen/boot.gif"
audio="/system/media/bootscreen/boot.mp3"
screenX="40"
screenY="0"
useAudio="0"
/>
</BootConfiguration>
<!-- For full screen version -->
<!--BootConfiguration>
<BootAnimation
image="/system/media/bootscreen/boot.gif"
loopimage="/system/media/bootscreen/boot.gif"
audio="/system/media/bootscreen/boot.mp3"
useAudio="0"
/>
</BootConfiguration-->
Click to expand...
Click to collapse
You will see, I've highlighted the changes I made in bold.
I've disabled the audio completely but I could, for example, change the image or audio to anything I wanted. If you choose to change the image or sound file, be careful. This script runs at startup and I'm guessing that if you configure it wrongly that you may not be able to boot the phone.
Once your phone is edited, you now need to upload the amended file back to the phone. Again, I used adb. (thanks DarthOps for the remount help)
adb remount
adb push boot_animation.xml /system/media/bootscreen/boot_animation.xml
All done, now reboot your phone to test.
Thanks for sharing..works for me..
Related
I got this mod from the galaxy S2 thread and tried it on the GN running stock gsm 4.0.2. It kinda worked i got it to boot everything but something went wrong. it changed my lockscreen so that the time is not showing properly and the settings menu was messed up(kinda looked like the honeycomb setting menu). The brightness mod did work though. i was able to get it to work on Gingermod rom on the atrix without any side effects but it didnt work on the Wetdream rom. it is also reported to be working for the GS2. So hopefully it will work on the GN with a different build or rom.
Basically what you have to do is decompile the framework-res.apk and change the values is arrays.xml and recompile and push it back using adb. here's the instructions from that GS2 thread
1. Download APK manager
2. Grab framework-res.apk from your phone under \system\framework\ (you can use root explorer or adb push) and place it in the "place-apk-here-for-modding" folder
3. Run Script.bat and select option 9
4. go to projects\framework-res.apk\res\values\arrays.xml and edit your values with the ones roger posted in my link above
5. Once edited, compile the apk using option 11
6. Is this a system apk. Ans: y
7. Qn: Aside from the signatures...least. Ans: y
8. Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . go to "keep" folder and delete resources.arsc and then press any key
9. Choose option 22 to set project to unsignedframework-res.apk
10. Choose option 5 to zipalign the new apk.
11. rename the unsignedframework-res.apk to framework-res.apk and push it to system/framework with these commands in adb.
Code:
Mount System in recovery
adb push framework-res.apk /system/framework/framework-res.apk
reboot
here are the values in arrays.xml to be changed.
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>16</item>
<item>40</item>
<item>60</item>
<item>70</item>
<item>70</item>
<item>250</item>
</integer-array>
here's what i had the new values at
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>20</item>
<item>50</item>
<item>70</item>
<item>150</item>
<item>250</item>
</integer-array>
What i was looking to change since i've noticed that sometimes the screen is not bright enough if its at the second last level(70) and i wanted to change the 16 to 5. When i did this with my atrix i had the lowest setting at 2 and it was perfect at night. You can play around with the numbers to see what suits you. Just make sure you do a nandroid backup before attempting this mod.
So what this will allow you to have a higher screen brightness than normal and a lower price rightness that normal, so basically increasing the range of brightness
Sent from my Galaxy Nexus using XDA App
yes thats right the first value 16 is the lowest brightness, you can set this to 1 and the highest is 250. You can set anything you want in between. i was also wondering if i can put a few more levels in there as the GN only has 6. My atrix has 16 levels. i tried to make it 10 levels on one of my attempts and i got a bunch of force closes. tomorrow i will flash a different build and try again.
it's already writed on he_steone64 3ad how to set the brightness with all the files to change...but thanks ayway fotr this tuto..
sert00 said:
it's already writed on he_steone64 3ad how to set the brightness with all the files to change...but thanks ayway fotr this tuto..
Click to expand...
Click to collapse
ahh i didnt see his thread when i was trying this mod for the GN
It took me a while to find this, so I'm hoping this post will help others. I apologize if this solution is mentioned somewhere else.
On the stock OS, 2.3.4, the boot animation is located in /system/customize/resource/ and the file is Sprint_bootanimation.zip.
Likewise, the powerdown animation is Sprint_downanimation.zip.
The music files are VMU_Power_Up_48_24.mp3 and VMU_Power_Down_48_24.mp3.
The file that you must EDIT to change the boot animation is located in /system/customize/CID/ and it's called default.xml.
The code that specifies the boot animations is:
<BootConfiguration>
<BootAnimation animation="/system/customize/resource/Sprint_bootanimation.zip" audio="/system/customize/resource/VMU_Power_Up_48_24.mp3" audiostart="Sprint" />
</BootConfiguration>
<ShutdownConfiguration>
<ShutdownAnimation image_png="/system/customize/resource/Sprint_downanimation.zip" image="" fps="6" audio="/system/customize/resource/VMU_Power_Down_48_24.mp3" useAudio="1" />
</ShutdownConfiguration>
Just REMOVE or EDIT the filenames (i.e. animation="", audio="", image_png="").
I removed them and my phone booted 6 sec faster.
I also deleted the zip and mp3 files and gained ~ 1MB.
I am guessing this would be very similar to wildfire s for uscc. with the exception of the file names being differant.
Worked like a charm. I used ES File Explorer in "root" mode to edit the XML file and the annoying startup/shutdown sounds are gone!
Nick
good
good tutorial
Thank you, even though I don't own a Virgin Mobile phone I used it to remove the ridiculously long boot animation of my carrier.
TUTORIAL: Change Carrier Name
PLEASE NOTE: I AM NOT RESPONSIBLE FOR ANY DAMAGE DONE TO YOUR PHONE, MAKE A NANDROID BACKUP BEFORE ATTEMPTING ANY MODIFICATIONS LIKE THIS!
This little tutorial is for everyone who had no success using other tutorials like me. (for the GSM Version)
Requirements:
-Root
-A file explorer like Root Explorer to have access to System Files
STEPS to change carrier name:
1) Go to your APN settings and write down your MCC number and the MNC number. (Example: MCC: 262; MNC:07 is for O2 Germany)
2) Create "spn-conf.xml" with the code below this Stepswith something like NotePad or WordPad.
3) Replace "MCCNMC" with your number and replace "Your Text“. (Example for MCCNMC: 26207 for O2 Germany)
4) Save "spn-conf.xml" and copy it to the root of your SD Card.
5) Open Root Explorer or an app similar, copy "spn-conf.xml" from your SD card to "System/etc" directory.
6) Reboot, and Enjoy!
Code:
<?xml version="1.0" encoding="utf-8"?>
<spnOverrides>
<spnOverride numeric="[B][COLOR="Red"]MCC[/COLOR][COLOR="Blue"]NMC[/COLOR][/B]" spn="[COLOR="Red"][B][COLOR="Green"]Your Text[/COLOR][/B][/COLOR]" />
</spnOverrides>
To show you how it looks I chose my xda name "parthipanramesh". - Look at the attachment!!
Hope I helped you. If you have problems following the steps contact me.
[Q] 816-dual- Rooted - tried "wp_mod: disable system write protection "- corrupted OS
Hello Team, I am a Android Newbee... my first device is HTC816 dual....
1) I have Rooted the device and succeed
2) still, the profile.xml was giving issue not letting the apps to write to external SD
3) found out about the HTC system protection.....
so as per the threads " KERNEL MODULE] wp_mod: disable system write protection by flar2 for 816 "
I downloaded and updated the kernel.... succeed in disabling the system write protection....
but the patient 816 started side effects......
after that, my phone started weir-ding.....
1) none of the application is working.....
2) internet is not connecting
3) sd cards not detecting...
4)errors like below repeating.....
""""""""""""" youtube has stopped
com.google.process.gapps has stopped
com.android.phone has stopped send report to HTC.com """"""""""""""""
so How much damage am i looking at ????
any one any suggestions ????
getting a stock ROM and flashing will resolve the issue ?
any other options ( i cannot claim warranty )
HTC 816 dual ::::
Android -ver 4.4.2 htc sense 6 sftwar - 1.25.720.1 , 6.21 htc sdk api
baseband 1.31.50.0503 built 1.25.720.1.CL334435
@SivasankarC Factory reset your cell bro...
jithumon said:
@SivasankarC Factory reset your cell bro...
Click to expand...
Click to collapse
hey Jithu, yes i did try factory reset also... still the issue Continues....
the SDcard is not mounting UP..... and same above errors....
I cannot even, do the initial registration steps.... after factory reset....
jithu ,
it will be really helpful,
please uploaded the CWM backup of your HTC desire 816 dual....
our devices are similar regional devices.... so it should resolve my issues....
SivasankarC said:
jithu ,
it will be really helpful,
please uploaded the CWM backup of your HTC desire 816 dual....
our devices are similar regional devices.... so it should resolve my issues....
Click to expand...
Click to collapse
I'll upload it till 2moro afternoon.
Please wait till then.
I know your problem dude.... Please give me some time.
I totally appreciate jithu...... thanks so much... looking forward.....
SivasankarC said:
I totally appreciate jithu...... thanks so much... looking forward.....
Click to expand...
Click to collapse
Twrp backup done... Will upload from office tomorrow.
jithumon said:
Twrp backup done... Will upload from office tomorrow.
Click to expand...
Click to collapse
thank you !! please attach the twrp app too....
SivasankarC said:
thank you !! please attach the twrp app too....
Click to expand...
Click to collapse
Flash from here
http://forum.xda-developers.com/showthread.php?t=2782543
jithumon said:
Flash from here
http://forum.xda-developers.com/showthread.php?t=2782543
Click to expand...
Click to collapse
YOU the MAN.. dude...
SivasankarC said:
YOU the MAN.. dude...
Click to expand...
Click to collapse
[emoji6]
SivasankarC said:
jithu ,
it will be really helpful,
please uploaded the CWM backup of your HTC desire 816 dual....
our devices are similar regional devices.... so it should resolve my issues....
Click to expand...
Click to collapse
Done bro.
Instruction are in below link.
http://forum.xda-developers.com/desire-816/general/rombackup-t2811252/post54042669
jithumon said:
Done bro.
Instruction are in below link.
http://forum.xda-developers.com/desire-816/general/rombackup-t2811252/post54042669
Click to expand...
Click to collapse
Jithu, Excelent.................
It worked !!!!!!!!!!!!!!!!!!!
Thank you so much Bro..................
My mobile is back to Good Condish........... 1000Likes & Thanks for you !!
SivasankarC said:
Jithu, Excelent.................
It worked !!!!!!!!!!!!!!!!!!!
Thank you so much Bro..................
My mobile is back to Good Condish........... 1000Likes & Thanks for you !!
Click to expand...
Click to collapse
Thanks bro....
Always happy to help
jithumon said:
Thanks bro....
Always happy to help
Click to expand...
Click to collapse
Jithu, How to modify the permission.xml file ?????? overcoming the System write protection ?????
that will be my next activity !!!
SivasankarC said:
Jithu, How to modify the permission.xml file ?????? overcoming the System write protection ?????
that will be my next activity !!!
Click to expand...
Click to collapse
You don't need to edit xml file.
Follow the instruction in the below thread to get system write access
http://forum.xda-developers.com/showthread.php?t=2707378
Please do a backup before this.
To get a permanent access, do the below steps(not mine - from m8 forum)
1 install TWRP
2 Boot into twrp
3. Select the "Mount" option on the main menu and tick system
4. Go back to the main menu and then go into the "Advanced" option. There will be a "File Manager" option
5. Navigate to the folder you saved the .ko file in and copy it (just touch the file and it will bring up the menu)
6. now navigate to /system/lib/modules and copy the file there by hitting the "select" button on the bottom right.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
8. reboot the device
9. Once booted fully open up Terminal emulator and type:
su
insmod /system/lib/modules/wp_mod.ko
10. Once that's done open up a file manager app with root access and mount as r/w and navigate to /system/etc and look for the file install-recovery.sh*
11. edit the file using a text editor, adding the line insmod /system/lib/modules/wp_mod.ko towards the bottom of the file
12. reboot and enjoy r/w on boot without running the command every time
Do step by step very carefully. If missed one, you'll have to restore backup again.
jithumon said:
You don't need to edit xml file.
Follow the instruction in the below thread to get system write access
http://forum.xda-developers.com/showthread.php?t=2707378
Please do a backup before this.
To get a permanent access, do the below steps(not mine - from m8 forum)
1 install TWRP
2 Boot into twrp
3. Select the "Mount" option on the main menu and tick system
4. Go back to the main menu and then go into the "Advanced" option. There will be a "File Manager" option
5. Navigate to the folder you saved the .ko file in and copy it (just touch the file and it will bring up the menu)
6. now navigate to /system/lib/modules and copy the file there by hitting the "select" button on the bottom right.
7. Navigate to /system/lib/modules and insure the file is there. Now touch it to bring up the menu. select "Chmod" option and enter in 644
8. reboot the device
9. Once booted fully open up Terminal emulator and type:
su
insmod /system/lib/modules/wp_mod.ko
10. Once that's done open up a file manager app with root access and mount as r/w and navigate to /system/etc and look for the file install-recovery.sh*
11. edit the file using a text editor, adding the line insmod /system/lib/modules/wp_mod.ko towards the bottom of the file
12. reboot and enjoy r/w on boot without running the command every time
Do step by step very carefully. If missed one, you'll have to restore backup again.
Click to expand...
Click to collapse
Jithu my frnd..... Because of this module I bricked my phone.......... i did do all the steps in it... still it crippled the phone....
here is the workaround i Did yesterday.....
1) I made a copy of platform.xml in my sd card
2) edited the card using note++ in my pc like below...
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
<group gid="media_rw" />
</permission>
3) copied the modifed file again to sd card
4) rebooted the mobile to twrp recovery
5) using mount option mounted system & sd card
6) using advanced option, renamed the original platform.xml to platform.xml.org
7)copied the platform.xml from sdcard to system location
8) using chmod i changed the permission to 644 ( check the owner information too )
9) reboot the mobile...
10) Now I can see my applications are not annoying about the write permission on the internal mem...
How is it ????? :good::good::good::good::good::good:
SivasankarC said:
Jithu my frnd..... Because of this module I bricked my phone.......... i did do all the steps in it... still it crippled the phone....
here is the workaround i Did yesterday.....
1) I made a copy of platform.xml in my sd card
2) edited the card using note++ in my pc like below...
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
<group gid="media_rw" />
</permission>
3) copied the modifed file again to sd card
4) rebooted the mobile to twrp recovery
5) using mount option mounted system & sd card
6) using advanced option, renamed the original platform.xml to platform.xml.org
7)copied the platform.xml from sdcard to system location
8) using chmod i changed the permission to 644 ( check the owner information too )
9) reboot the mobile...
10) Now I can see my applications are not annoying about the write permission on the internal mem...
How is it ????? :good::good::good::good::good::good:
Click to expand...
Click to collapse
You would have missed something in wp_mod.ko tutorial. 1st time, problem happened with me also. I missed a step & cell got acting wierd, I did a factory reset & did it again.This time, I suceed.
Now no problem with writing in SDcard.
& Your platform.xml work is great. Post a thread with this tutorial.
jithumon said:
You would have missed something in wp_mod.ko tutorial. 1st time, problem happened with me also. I missed a step & cell got acting wierd, I did a factory reset & did it again.This time, I suceed.
Now no problem with writing in SDcard.
& Your platform.xml work is great. Post a thread with this tutorial.
Click to expand...
Click to collapse
done Bro....... http://forum.xda-developers.com/desire-816/general/htc-816-how-to-modify-platform-xml-file-t2812543
SivasankarC said:
done Bro....... http://forum.xda-developers.com/desire-816/general/htc-816-how-to-modify-platform-xml-file-t2812543
Click to expand...
Click to collapse
Great :highfive:
I rooted my device yesterday fresh factory install
but weirdly it has changed my charging/usb tone
Instead of playing the chargingstarted.ogg file it plays a file I can't locate and I'm not sure how to change... It's not exactly a "great" sound
I'm assuming the phone uses system/media/audio
For default.ui sounds but I'm unsure how to change this "new" default sound and it doesn't seem to be located here either....
I didn't have any idea how to change my UI sounds so I attempted a magisk module for something like OnePlus sounds to see if that would change the sound but alas my issue still exists.
I'm by no means a novice user but I wouldn't say I'm advanced either, I can't mount parts of the system using file managers so I assume changes would have to be made in adb using fastboot?
Edit, here is a quick video of the mysterious sound I'm unable to find.
https://youtu.be/JPkVRtcncC8
Edit#2 it seems this is a issue with a clean install of android10(pixel devices?) as I read a dirty flash doesn't cause this issue, here is a snippet from bug tracker on Google's site
The sound played is fallbackring.ogg from framework resources.:
09-04 15:54:44: OggExtractor for mime NULL, source TinyCacheSource(CallbackDataSource(784->787, RemoteDataSource(FileSource(fd(/system/framework/framework-res.apk), 7369304, 14611)))), pid 787: active
track {srte: (int32_t) 44100, mime: (char*) audio/vorbis, dura: (int64_t) 1567551, csd1: no type, size 3189), csd0: no type, size 30), chnm: (int32_t) 1, brte: (int32_t) 80000, #chn: (int32_t) 1} : active
I don't know exactly when we fall back to this sound but probably when the charging sound cannot be located.
Click to expand...
Click to collapse
Same happened to me, also lockscreen locking sound Not working anymore
Nightf0x_007 said:
Same happened to me, also lockscreen locking sound Not working anymore
Click to expand...
Click to collapse
Mines doing the same... If I can find the weird charge sound location perhaps this is fixable?
co4 said:
Mines doing the same... If I can find the weird charge sound location perhaps this is fixable?
Click to expand...
Click to collapse
Idk the location but when i first clean flashed android 10, none of this issues was there but after that i clean flashed several times and this is happening since then, changed charging sound and no locking sound
My fix for charging sound for now is that im using edxposed with gravitybox module, gravitybox have an option to change some power options sounds like charging, stop charging, .... etc, so i changed it to the default charging sound in folder system/audio/ui
co4 said:
Edit#2 it seems this is a issue with a clean install of android10(pixel devices?) as I read a dirty flash doesn't cause this issue, here is a snippet from bug tracker on Google's site
Click to expand...
Click to collapse
Do you have a link to this issue on Google's tracker? This has been an issue since the Q betas and I'd like to star/follow it. I was hoping it would have been fixed in the October update, but it's still playing this horrible sound.
I can confirm the bug is present on both the original Pixel and the Pixel 2 XL after a clean factory image flash. Upgrading from 9.0 Pie there is no issue.
Syxx14 said:
Do you have a link to this issue on Google's tracker? This has been an issue since the Q betas and I'd like to star/follow it. I was hoping it would have been fixed in the October update, but it's still playing this horrible sound.
I can confirm the bug is present on both the original Pixel and the Pixel 2 XL after a clean factory image flash. Upgrading from 9.0 Pie there is no issue.
Click to expand...
Click to collapse
Sure, I should of added it to begin with so more people would star it and elevate it's status
https://issuetracker.google.com/issues/140447165
This happend to me too. Lock screen sounds also dont work. Also my gmail notification sound most of the time only plays a fraction of the sound.
I rooted the phone to see if the sound files were actually there and they are.
krolla03 said:
This happend to me too. Lock screen sounds also dont work. Also my gmail notification sound most of the time only plays a fraction of the sound.
I rooted the phone to see if the sound files were actually there and they are.
Click to expand...
Click to collapse
I'm not sure if there is also more at play as flashing different sounds to the folder doesn't change anything... I'm no coder but I'd imagine there is a issue/typo in the framework and it's not pointing to the right directory, hence fallback sound file... I broke my NFC when I swapped to a new shell so not sure if all the ui sounds are barfed... And if somehow the soundsui program is messing, it's all speculation and not urgent to Google in fixing
ok so i managed to pull the framework-res.apk off my phone and decompile it
in framework-res.apk/res/xml/audio_assets.xml contains the following:
<?xml version="1.0" encoding="utf-8"?>
<audio_assets version="1.0">
<group name="touch_sounds">
<asset file="Effect_Tick.ogg" id="FX_KEY_CLICK" />
<asset file="Effect_Tick.ogg" id="FX_FOCUS_NAVIGATION_UP" />
<asset file="Effect_Tick.ogg" id="FX_FOCUS_NAVIGATION_DOWN" />
<asset file="Effect_Tick.ogg" id="FX_FOCUS_NAVIGATION_LEFT" />
<asset file="Effect_Tick.ogg" id="FX_FOCUS_NAVIGATION_RIGHT" />
<asset file="KeypressStandard.ogg" id="FX_KEYPRESS_STANDARD" />
<asset file="KeypressSpacebar.ogg" id="FX_KEYPRESS_SPACEBAR" />
<asset file="KeypressDelete.ogg" id="FX_KEYPRESS_DELETE" />
<asset file="KeypressReturn.ogg" id="FX_KEYPRESS_RETURN" />
<asset file="KeypressInvalid.ogg" id="FX_KEYPRESS_INVALID" />
</group>
</audio_assets>
Click to expand...
Click to collapse
isn't the UI audio settings meant to be in this file too or are they elsewhere? i wish i could check what the stock pie file has
Update
Upon further investigation I have found the issue using magisk & the hidden module on both android 9 factory & 10 I was able to compare the settings and
I have found there is a blatant error in where the sound triggers are being pointed to....
Lock_sound=/product/media/audio/ui/Lock.ogg
When checking the folder using a root browser the audio folder isn't located here, just the boot animation zips, the actual files are stored in
/system/media/audio/ui/Lock.ogg
So by changing /product/ to /system/ I was able to gain the correct sound for locking....
Obviously doing this on phone terminal is a pain so perhaps I can make further edits especially if I can find where hidden accesses those files that have these settings.
What file did you end up modifying to fix the issue?
yurilebbie said:
What file did you end up modifying to fix the issue?
Click to expand...
Click to collapse
Here is a quick and dirty write up:
ok so to fix this issue you need [root] access, and HiddenSettings Module (by Skittles9823) https://github.com/Magisk-Modules-Repo/hidden_settings
this can be done on the phone with a terminal emulator but its janky and slow so I prefer adb shell
what I typed is in Bold
Code:
[B]adb shell[/B]
taimen:/ $ [B]su[/B]
taimen:/ #
taimen:/ #[B] hidden[/B]
==========================
HiddenSettings v0.0.3(003)
by Skittles9823
Skittles9823 is not responsible for any damage caused by the use of this module
==========================
1 - System settings
2 - Secure settings
3 - Global settings
[I] [B]4 - All settings[/B][/I]
r - Reset/Backup setting(s) WIP
d - Donate
0 - Exit
[CHOICE]:[B]4[/B]
Press Enter
==========================
1 - List all settings
2 - Find specific settings
[I][B] 3 - Modify settings[/B][/I]
x - Back to Menu
0 - Exit
[CHOICE]:[B]3[/B]
press enter
===== Modify Settings =====
Enter a setting then value
E.g. navigation_bar_visible 0
x - Back to AllNamespace settings
0 - Exit
[Search?]:[B]wireless_charging_started_sound /system/media/audio/ui/ChargingStarted.ogg[/B]
press enter & reboot
co4 said:
Here is a quick and dirty write up:
ok so to fix this issue you need [root] access, and HiddenSettings Module (by Skittles9823) https://github.com/Magisk-Modules-Repo/hidden_settings
this can be done on the phone with a terminal emulator but its janky and slow so I prefer adb shell
what I typed is in Bold
Code:
[B]adb shell[/B]
taimen:/ $ [B]su[/B]
taimen:/ #
taimen:/ #[B] hidden[/B]
==========================
HiddenSettings v0.0.3(003)
by Skittles9823
Skittles9823 is not responsible for any damage caused by the use of this module
==========================
1 - System settings
2 - Secure settings
3 - Global settings
[I] [B]4 - All settings[/B][/I]
r - Reset/Backup setting(s) WIP
d - Donate
0 - Exit
[CHOICE]:[B]4[/B]
Press Enter
==========================
1 - List all settings
2 - Find specific settings
[I][B] 3 - Modify settings[/B][/I]
x - Back to Menu
0 - Exit
[CHOICE]:[B]3[/B]
press enter
===== Modify Settings =====
Enter a setting then value
E.g. navigation_bar_visible 0
x - Back to AllNamespace settings
0 - Exit
[Search?]:[B]wireless_charging_started_sound /system/media/audio/ui/ChargingStarted.ogg[/B]
press enter & reboot
Click to expand...
Click to collapse
THANK YOU!!!!! This worked for me.
Now can you help me with the missing lockscreen sound? The sound is in the same /system/media/audio/ui folder. But what would i change the "wireless_charging_started_sound" part of the command to?
---------- Post added at 11:42 AM ---------- Previous post was at 11:23 AM ----------
im doing the same process but instead of wreless_charging_started_sound /system/media/audio/ui/ChargingStarted.ogg im typing lock_sound /system/media/audio/ui/Lock.ogg
When i do this Hidden gives me error /system/bin/hidden[247]: [: unlock_sound: unexpected operator/operand
HiddenSettings v0.0.3(003)
by Skittles9823
Skittles9823 is not responsible for any damage caused by the use of this module
==========================
BusyBox not found!
==========================
1 - System settings
2 - Secure settings
3 - Global settings
4 - All settings
r - Reset/Backup setting(s) WIP
d - Donate
0 - Exit
[CHOICE]: 4
===== AllNamespace Settings =====
1 - List all settings
2 - Find specific settings
3 - Modify settings
x - Back to Menu
0 - Exit
[CHOICE]: 3
===== Modify Settings =====
Enter a setting then value
E.g. navigation_bar_visible 0
x - Back to AllNamespace settings
0 - Exit
[Search?]: unlock_sound /system/media/audio/ui/Unlock.ogg
/system/bin/hidden[247]: [: unlock_sound: unexpected operator/operand
===== Modify Settings =====
Enter a setting then value
E.g. navigation_bar_visible 0
x - Back to AllNamespace settings
0 - Exit
[Search?]:
krolla03 said:
THANK YOU!!!!! This worked for me.
Now can you help me with the missing lockscreen sound? The sound is in the same /system/media/audio/ui folder. But what would i change the "wireless_charging_started_sound" part of the command to?
Click to expand...
Click to collapse
I have found an easier way and written up a little guide:
https://forum.xda-developers.com/pixel-2-xl/how-to/guide-fix-androidq-unlocking-sound-bug-t3989657
This method works on non rooted devices 100% confirmed by myself.
All sounds now work for me this method throws NO errors.
Nightf0x_007 said:
Idk the location but when i first clean flashed android 10, none of this issues was there but after that i clean flashed several times and this is happening since then, changed charging sound and no locking sound
My fix for charging sound for now is that im using edxposed with gravitybox module, gravitybox have an option to change some power options sounds like charging, stop charging, .... etc, so i changed it to the default charging sound in folder system/audio/ui
Click to expand...
Click to collapse
Can you guide me how to fresh Install the Pixel 2XL to Android 10 like the device came out of the box. Help me any proper procedure/video to follow.
Mubashir hussian said:
Can you guide me how to fresh Install the Pixel 2XL to Android 10 like the device came out of the box. Help me any proper procedure/video to follow.
Click to expand...
Click to collapse
Download the latest pixel 2 xl factory image (here it is october update)
https://dl.google.com/dl/android/aosp/taimen-qp1a.191005.007.a1-factory-3ed47161.zip
Extract the .zip file in your computer
Now in your phone go to settings - about - click build number several times until you see you are developer now, go back to settings main page then system then developer settings and enable usb debugging
Connect your phone to your pc, and authorize message will appear enable authroization
Now go to the extracted folder and run the flash-all.bat file and wait until it flashes the firmware to your phone
It will completely wipe your device data and flash latest update, and now setup your device like it is new
And not only charging sound is miss linked, other sounds are also wrong.
here's the fix shell
Code:
adb shell "settings put global car_dock_sound /system/media/audio/ui/Dock.ogg"
adb shell "settings put global car_undock_sound /system/media/audio/ui/Undock.ogg"
adb shell "settings put global desk_dock_sound /system/media/audio/ui/Dock.ogg"
adb shell "settings put global desk_undock_sound /system/media/audio/ui/Undock.ogg"
adb shell "settings put global lock_sound /system/media/audio/ui/Lock.ogg"
adb shell "settings put global low_battery_sound /system/media/audio/ui/LowBattery.ogg"
adb shell "settings put global trusted_sound /system/media/audio/ui/Trusted.ogg"
adb shell "settings put global unlock_sound /system/media/audio/ui/Unlock.ogg"
adb shell "settings put global wireless_charging_started_sound /system/media/audio/ui/ChargingStarted.ogg"