Desire HD Sound Enhancement
Okay guys, this is an update from my thread in the 'General section'. New and improved, contains a list of working an Non-working ROMs and more scripts.
What is this you ask? Well have you ever thought your Desire HD's speakers suck balls? Can't hear the ringtone go off? Or just a crappy overall speaker quality? Well try this out and HOPEFULLY you'll actually like them
-> List of working ROMs (My experience)
- All variations of Cyanogen mod 7
- All Sense 2.36 based ROMs
- MDJ's ROMs
- All current MIUI ROMs (after flashing snd3254.zip)
- ARHD 5.x
-> List of NON working ROMs (My experience)
- Incredible S and Desire s Ports (Few Incredible S ports MAY work)
- Tested 2 3.0 ports and both didn't work, feel free to test for yourself
PLEASE Give me feedback on What ROM you are using when reporting issues and let me know if it works on your ROM if it's not posted up here so I can add it
Methods
-> Terminal Method
1. Download Terminal Emulator from the market
2. Open it and enable SuperUser permissions by typing 'su' and pressing enter
3. Then type either command 'snd3254 xx' where xx is a number from the sound table (Below) or 'echo xx|snd3254 -dspmode'
-> Gscript Method
1. Download Gscript from the market
2. Open it and enable and add a new script
3. Then type either command 'snd3254 xx' where xx is a number from the sound table (Below) or 'echo xx|snd3254 -dspmode'
4. Make sure you tick super user permissions
5. Run script
-> How to enable script on startup
Gscript application -> press and hold the script you want on boot -> save to sd -> download a program from the market called 'script manager' -> go to the folder sdcard/gscript -> select the saved script -> open as 'script' -> then tick the boxes 'run as root' and 'run at boot' -> save it and close the app and your selected script will run at boot!
Sound table
'snd3254 -dspmode xx'
01. Original_Phone_Rec
02. Original_Phone_Spk
03. Original_Phone
04. Original_Spk
05. Dolby_a_spk
06. Dolby_a_hp
07. Dolby_v_spk
08. Dolby_v_hp
09. Srs_a_hp
10. Srs _a_spk
11. Srs_v_hp
12. Srs_v_spk
13. Bass Booster
14. Blues
15. Classical
16. Country
17. Jazz
18. Latin
19. New Age
20. Piano
21. Pop
22. R&B
23. Rock
24. Treble Booster
25. Vocal Booster
- Keep in mind the above table is for sense GB Roms and the MIUI and CM set up is slightly different... Basically the same
- hp = Headphones spk = speakers
- 13 - 25 only applies to Headphones
- Replace xx with a number from the table
- If you are on MIUI or cm refer to - http://forum.xda-developers.com/showpost.php?p=12345725&postcount=2798
Optional
You can create script shortcuts on your homescreen by selecting -> shortcuts -> gscript lite -> then whatever you named your script
Please note that this has nothing to do with the kernel and I am not a Developer myself. I will however talk to Devs and work with them to TRY incorporate this into their ROMs
Let me know if this makes your speakers better in anyway
qwertyuiop
what does the Srs_a_hp and Srs_v_hp
just the a and v.. what do they mean?
Lord_Schrotty said:
what does the Srs_a_hp and Srs_v_hp
just the a and v.. what do they mean?
Click to expand...
Click to collapse
I'm not sure, although i find options with the 'V' provide better quality
Will have a go at it when I'm off work!
on cynogen mod we have dsp manager , it does the same thing right?
will test that, thanks mate
jags_the1 said:
on cynogen mod we have dsp manager , it does the same thing right?
Click to expand...
Click to collapse
DSP manager is nothing in comparison.
Sent from my Desire HD using XDA Premium App
anyone find out which one is better ? i tested most of them and the 07. Dolby_v_spk and
the 02. Original_Phone_Spk is pretty good
should the script include the word: dspmode, or just 2 digi?
Vita.T said:
should the script include the word: dspmode, or just 2 digi?
Click to expand...
Click to collapse
Both
Sent from my Desire HD using XDA Premium App
This app from the link (http://forum.xda-developers.com/showthread.php?t=1055748) does really work for me.
i downloaded the .zip file and moved it to my sdcard, now what do i do? Everytime i put snd3254 -dspmode 08 into my gscript and try running it it says snd3254 not found...
This is exactly how i type it in gscript
snd3254 -dspmode
then i save it, and try to run it, but it will not run... i seriously want my srs enhancement back...
EDIT: i am running the newest MIUI rom for HTC inspire(desire)
Thank you very much this tweak, it is so genius ! The DHD doesn't have a speaker problem it's just this crappy default setting.
Because it took me some time to get it done (i am still new with android), I post some hints. May be it makes it easier for you.
That's the way I did it. My hardware is a rooted (vodafone) branded DHD with standard HTC ROM (1.39).
- For me as a nooby the instructions in the first post seems like there need to be installed something. This scared me some weeks ago and I didn't do anything.
This is not the case ! The attachement is probably only there for other developers. You don't need to install something, everything is already there !
- In order to test the tweak load the app 'Anroid Terminal Emulator'
- Type in 'su' and click enter. In the following pop-up agree to give the terminal emulation superuser rights. (need rooted phone obviously)
- Type 'snd3254 -dspmode'. In the follwing text the dspmodes are shown and you are asked to enter the number you want. Type '04' and click enter. If you have music in the background playing you will notice the huge difference immediately.
- Alternative: Type 'echo 04|snd3254 -dspmode'. But you need to copy it from here or write it somewhere else. As CyberTod (thanks for this useful hint) described in the original thread the onscreen keyboard doesnt have "|" symbol. It does have a similar looking symbol, but it is not the same and it doesnt work if typed on the onscreen keyboard.
If you like the result you can automate the doing either with Gscript or with Tasker as Pleske explained here: http://forum.xda-developers.com/showpost.php?p=13184812&postcount=99
I automated it with tasker and run it on every reboot automatically (the context is event/system/device boot).
i didnt had the snd3254 file in system/bin
i copied it but i get the message:
cannot open codec aic3254 device -1
any ideas?
Thanx for your work guyz.I tried this method and it worked but not as much as I expected.Then my phone started freezing.I dont know if this has anything to do with it.Wiped fon and downloaded equalizer, a free app on the market and damn that little thing is a devil .The base and the sound enhancement is just great.
Snake-Plissken said:
i didnt had the snd3254 file in system/bin
i copied it but i get the message:
cannot open codec aic3254 device -1
any ideas?
Click to expand...
Click to collapse
run as root
Works fine on ARHD 5.1.7
what you mean run as root?
Type "su" (return) first
Sent from my Desire HD using XDA App
in the subsequent posts below, you will find all the info you need for not only the device but the ROMs I have had my hands in.
each person who I pulled the files from will get a thanks in the posts as necessary
NonSense 1.04
Disclamer: these files are meant specifically for the HTC Desire 510. Use these files at your peril, you assume any responsibility for loss or damage that may result from use of these files or procedures. what has been included in this tutorial is for the HTC Desire 510
You have been warned.
note: from now on CRI signifies cricket, and B-S signifies sprint/boost if those signifiers aren't used, it applies to both type of this phone
now to the goodies.....
List of supplies:
1. Phone (HTC Desire 510)
2. USB cord that syncs with the PC
3. USB drivers installed for the phone
4. the zip files from this location. click here
4.1 there are 2 different versions of the same ROM, but the *1.04-lean.zip is US only (refer to changes to see why).
4.2 CRI for cricket/att, B-S for boost/sprint
5. read these instructions completely before attempting
before we get started make sure you have supersu (which can be downloaded from here), and NonSense1.04.zip copied to the root of your external SD card
NETWORK UNLOCK (I.E. switching services)
as this phone is LTE compatible, it takes a SIM card no matter the service to receive calls and data. so it stands to presume all you need to do is network unlock the device (Sprint calls it UICC unlock, others it's the Network Unlock Code)
the phone needs to be network (SIM) unlocked in order to switch it from cricket to sprint, or from sprint to virgin mobile, etc.
to network unlock the phone:
1. make sure you are on stock ROM (the one that came with the phone, not the one listed in this post nor CM)
2. call the respective original service provider of the phone (i.e. cricket, sprint, etc.) and tell them that you are leaving the country (like to Australia) and you want to unlock the SIM so you can use your device for service down there.
2.1 if you bought the phone second-hand or don't have service on it, you will have to find a reputable unlock service online
2.2 for sprint customers, your account HAS to be at least 6 months old before they will give you the UICC(SIM unlock) code
2.3 for boost customers, your account HAS to be at least a year before they will give you the UICC(SIM unlock) code
3. once you have the SIM unlock code, pull battery from phone, remove the original SIM, put your services respective SIM in (i.e. originally a cricket phone now running a T-Mobile SIM), put in battery, boot phone, and enter the unlock code where it asks.
4. once your back into device, you'll notice you will have no data.
4.1 what needs to be done is to program the APN (google will be your best friend here - for example sprint lte apn settings, or T-Mobile lte apn settings).
5. now that you have the APN settings, you can program them into the phone.
5.1 APNs can be found in the device by going to settings, then mobile data, clicking on access point names. in there in the upper right hand corner should be 3 dots that are verticle. click on that and then on new APN.
5.2 add the respective settings, click save and then make sure it has a green dot next to it.
6. sit back and enjoy the fruits of your labor
APNs for this device can only be written once the phone has been UNLOCKED and the original (cricket) service providers SIM is NOT inserted, and your using another service Provider ( sprint, T-Mobile, etc.) SIM.
UNLOCKING BOOTLOADER
1. for the drivers, use the ones contained here in the HTCDrivers.zip and extract them to the desktop
1. extract and use the file contained in adb.zip to flash unlock token
2. follow this tutorial and choose all other supported devicess when it asks about device.
INSTALLING TWRP AND KERNEL
in the adb file you should notice a file called recovery.img. that is TWRP recovery for the device
there is also a file called boot.img. this will allow read/write permissions at the System level once root is obtained
if you have either the sprint, boost or another service provider's variety of this phone, try flashing their respective kernel after you install the ROM or before you root (no guarantees that flashing the respective kernel will work. as I have the cricket variety of this phone, I am only developing for that one)
1. from home screen, go to settings and scroll down to power and then scroll all the to the bottom of that and uncheck "fast boot"
2. shut down phone completely
3. go back into fastboot (vol down + power)
4. Select fastboot from the menu list and press the power button.
5. open command prompt and use the CD command to get it to the root of the adb folder (CD C:/users/sky/desktop/adb).
6. plug in device and wait for it to say fastboot USB
7. type in command prompt "fastboot flash recovery recovery.img' (should complete within 4 seconds)
8. in the same command window type "fastboot flash boot boot.img" (should complete within 4 seconds)
8.1 step 8 can be skipped if your just flashing *NonSense1.04*.zip
9. pull battery once that is completed and put it back in.
10. power device on (skip this step if rooting)
OBTAINING ROOT (can be skipped if installing NonSense1.04 as it's already rooted)
1. re-enter fastboot mode and choose recovery. press power to select it
2. once in recovery select install and go to external SD and select the supersu update package.
3. once selected, you should see a slider on the bottom of the screen that says swipe to confirm. do so
4. once package is installed you should see a button that says reboot device. do so
5. wait for it to fully load
INSTALLING NonSense 1.04
1. re-enter fastboot mode and choose recovery. press power to select it
2. once in recovery select install and go to external SD and select the NonSense1.04.zip.
3. once selected, you should see a slider on the bottom of the screen that says swipe to confirm. do so
3.1 beware, it may take a bit to install. just be patient, it's working.
4. once package is installed you should see a button that says reboot device. do so
5. wait for it to fully load. be forewarned, it may take about 15 minutes to load
CHANGES
CRI versions
1. DEODEXed the ROM
2. added external SD support into the ROM
3. fixed FC on clock app (switched clock/alarm from stock worldclock.apk to AOSP clock)
4. changed bootanimation.zip, boot sound, and stock ringtones and sounds.
5. added more stable kernel to flash file.
6. added Pandora (no-ads vers. 5.5), SpiritUL (FM radio support), Facebook, RootBrowser, Adobe reader, Adobe flash player, and Viper4android (DSP/equalizer)
6.1 all apps that have been listed in 6 can be uninstalled without the need for root
7. root and SU have been added and are up to date in this rom as of 11:45PM MST on 3/1/215
8. added apns-conf.xml from CyanogenMod
9. got native APP2sd support thanks to pattyboi's kernel
B-S versions
1. mostly DEODEXed the ROM
2. fixed FC on clock app (switched clock/alarm from stock worldclock.apk to AOSP clock)
3. changed bootanimation.zip, boot sound, and stock ringtones and sounds.
4. added more stable kernel to flash file.
5. added Pandora (no-ads vers. 5.5), SpiritUL (FM radio support), Facebook, RootBrowser, Adobe reader, Adobe flash player, Wifi Tether, and Viper4android (DSP/equalizer)
5.1 all apps that have been listed in 5 can be uninstalled without the need for root
6. root and SU has been added
*1.04-lean
list of removed apps
1. Dropbox (can be found in playstore)
2. Google plus (can be found in playstore)
3. Hangouts (can be found in playstore)
4. HTC Dot View(can be found in playstore)
5. keyboard language packs for Arabic, Chinese, English UK, French, German, Greek, Italian, Portuguese, Russian, and Spanish (not in play store) if needed, flash language.zip found here
6. VPN dialogs (not in play store) if needed, flash missing.zip found here
7. HTC Zoe (can be found in playstore)
BUGS
CRI versions
1.USB internet pass-through not working
2.WiFi direct (miracast) not working
3. want to get rid of annoying volume too loud warning
B-S versions
1. native hotspot says internet when connected to win 7 machine, but will not allow it to go through. Have included wifi tether as a workaround until the issue can be resolved
THANKS
CRI versions
I thank wolfaas12345 for his awesome tutorial on bootloader unlocking, pattyboi for providing a more stable kernel, and chainfire for providing a great solution to provide the SU binary and app for rooted devices. and of course, CraviingCritic for providing the original ROM in which this wouldn't be possible
B-S versions
I thank wolfaas12345 for his awesome tutorial on bootloader unlocking, pattyboi for providing the current kernel, and chainfire for providing a great solution to provide the SU binary and app for rooted devices. and of course, LarryBoyG for providing the original ROM in which this wouldn't be possible
please feel free to let me know if there's any issues with this release and i will fix them as they are found for now as this device is the one i primarily use as of right now.
I will also be keeping the links updated for as long as I own the device (being that my HTC Desire 510(Cricket) is network unlocked, that may be a long time - or until I get a better device).
UPDATES
for those of you who have downloaded the ROM since first release, I will include an CRI_NSupdate.zip or B-S_NSupdate.zip file found here. it will include the changes I have made to the rom since it's initial upload.
the file by the name of NSupdate.szip will include update that pertain to both the CRI and B-S ROMS
to install the updates, just put the update file onto the root of the SD card, reboot into recovery, choose install, pick the update file, swipe the blue button on the bottom, reboot and enjoy.
EDITING THE BOOTUP
location of files mentioned is in /system/customize/resource
to change boot animation
1. find your favorite boot animation
2. rename it to AIO_bootup.zip
3. copy/move and overwrite the original with a root explorer to /system/customize/resource
to change the boot sound
1. find a sound file you like and want to hear every time the phone boots (can be changed at any time)
2. convert it to wav (the file has to be wav in order for the phone to recognize it)
3. rename it to CRICKET_LOGO_24bit28k_STEREO.wav
4. copy/move and overwrite the original with a root explorer to /system/customize/resource
reboot and enjoy...
THINGS NOTICED WHILE CREATING ROMs
1. both (cricket and boost/sprint) phones are exactly the same except for the boost/sprint ones contain a CDMA chipset.
1.1 the only things I had to change from the cricket rom to the boost rom was apns.xml in framework-res, apns-conf.xml, and the preferred network type in build.prop.
2. all kernels work for both (US) versions
3. the same recovery is used on both (US based) devices
so essentially, if we develop for the boost/sprint version of the device, change a few things, it will be ready to roll for the cricket version as well
TO FIX NATIVE TETHER ON B-S VERSIONS
1. Install Script Manager – SManager app from the Play Store.
2. Open the app and grant it root access when prompted.
3. Now, navigate to /system/etc/init.d and tap “tether” script.
4. Click on SU and Boot (Android skull and gear icons, respectively)
5. Click on Run and Save options.
The issue should be fixed now. Reboot and enjoy!
thanks goes to qwerty6532 and LarryBoyG for the fix. now to add that permanently to the ROMs and then they'll be absolutely stable enough for me to be happy and start working on CM11
CM11
I will be building CM11 for the device for both the cricket and boost models. look for the info here as I update it a I need
****edit**** ok so I figured out some of the issue with CM11 not wanting to install apps. I got the internal memory pulling the 1.1 gbs but now I need to symlink the external memory where it goes.
****edit**** so I have figured out what needs to be done...... the kernel for CM11 needs to be built from the ground, up (or one needs to be built that is compatible with it). i'll upload the current one that fixes the memory error (look in downloads).
reserved
so as i have not been actively developing on the phone i will no longer supply updates. all flash files are up to date as of 8 months ago and should be working with out an issue.
again, reserved
same to you...
This would have to be one of the most comprehensive tutorials I have read. 10 out of 10 and kudos. Pity I have a 64 bit device and can't use most of it lol.
Burtrum57 said:
This would have to be one of the most comprehensive tutorials I have read. 10 out of 10 and kudos. Pity I have a 64 bit device and can't use most of it lol.
Click to expand...
Click to collapse
if I had a 64-bit version for this device, I would have it out as soon as I could. and thanks
Great job. Off and running now
I'm not sure how to add the tether fix to the ROM. Not really a developer more of a tester.. Wish I could get into developing don't really know where to start lol.
If you need any help testing or working on CM11 for Boost shoot me a PM I'd be glad to help
Sent from my 0PCV1 using XDA Free mobile app
Question to you Schizoidd......If I install the new 1.04lean over the previous build, do I still need to flash that update or is is already included in 1.04lean. I already falshed that some time ago when you first put it out, so I'm just not sure if its needed again or not. Thanks bro.
CSP III said:
Question to you Schizoidd......If I install the new 1.04lean over the previous build, do I still need to flash that update or is is already included in 1.04lean. I already falshed that some time ago when you first put it out, so I'm just not sure if its needed again or not. Thanks bro.
Click to expand...
Click to collapse
When you flash the new one, wipe the system partition and then use an explorer to remove v4a from the user apps. Which is located in /data/apps and reboot
qwerty6532 said:
I'm not sure how to add the tether fix to the ROM. Not really a developer more of a tester.. Wish I could get into developing don't really know where to start lol.
If you need any help testing or working on CM11 for Boost shoot me a PM I'd be glad to help
Sent from my 0PCV1 using XDA Free mobile app
Click to expand...
Click to collapse
Well it's added to it. It just needs to be activated for now until I can figure out how to add it to automatically start from the first run of the Sprint/boost ROM
schizoidd said:
When you flash the new one, wipe the system partition and then use an explorer to remove v4a from the user apps. Which is located in /data/apps and reboot
Click to expand...
Click to collapse
Sorry, not following "wipe the system partition" ???
CSP III said:
Sorry, not following "wipe the system partition" ???
Click to expand...
Click to collapse
if you in recovery, go to wipe and then advance wipe and check system. wipe it like u would as if ur doing a factory reset
schizoidd said:
if you in recovery, go to wipe and then advance wipe and check system. wipe it like u would as if ur doing a factory reset
Click to expand...
Click to collapse
Yeah, I figured as much. Should have been clearer with my ? Is that before or after I flash the new lean. I though if I did it after, that it would set me back to square one. As in having to start fresh setting everything up again, which I really dont want to have to do. Apologies for my unclearness.
CSP III said:
Yeah, I figured as much. Should have been clearer with my ? Is that before or after I flash the new lean. I though if I did it after, that it would set me back to square one. As in having to start fresh setting everything up again, which I really dont want to have to do. Apologies for my unclearness.
Click to expand...
Click to collapse
it'll leave ur data alone, just delete the OS. do not touch internal memory, davlik, data, or cache and ur stuff will be safe. I have done it and my stuff is fine
schizoidd said:
it'll leave ur data alone, just delete the OS. do not touch internal memory, davlik, data, or cache and ur stuff will be safe. I have done it and my stuff is fine
Click to expand...
Click to collapse
Right on buddy. I'll take you at your word on it. I've never had to do that before so it naturally made me a little nervous. Not that I couldnt have just restored a backup, but still . Many thanks.
Problems
System UI force closes and power button doesn't turn the screen back on when I flash the latest cricket version.
schizoidd said:
I
for those of you that build the kernels, do you think u can build one that is AOSP and compatible with the device for android 4.4.4?
Click to expand...
Click to collapse
we cant really do a "aosp" kernel because of htc's modifications to the board and pins,and they have their own dtb issues...im 99% sure mine works with android 4.4.x because of larry using it in gpe,just repack the ramdisk the zimage and it should be okay
Bobby060 said:
System UI force closes and power button doesn't turn the screen back on when I flash the latest cricket version.
Click to expand...
Click to collapse
If you're going from bone stock to this, you need to do a factory data reset. Just make ssure you back up your data and use nandroid manager to pull it data back into the new ROM
Hi,
After putting Marshmallow on your phone, not all apps that used to, will be able to Write to your External SD Card anymore. Some apps have been updated so that you'll be prompted to let it Write there, but not others. So what do you do? There are a couple of fixes out there, but they seems to be hit or miss.
But I found one that does not require an app to remain on your device and does not require an Xposed Mod. But you will need to be Rooted and have a Custom Recovery, for the "Install Zip" feature, to Flash the Zip and this is an extremely easy fix to apply!
However, if you don't have init.d support, then you'll need to set that up. I recommend "Universal Init.d", because it can test your phone to see if it already supports it (init.d) or not. Just leave the switch "OFF", tap "Test" (at the bottom), Reboot, then run the app again. At the bottom it will tell you if your device already supports it or not. If "Yes", then Uninstall the app. If "No", then just turn the switch "ON" and Reboot. You're done!
Universal Init.d seems to support all devices, even Samsung.
INIT.D: http://tinyurl.com/mvsojd5
As for applying the Fix, just go to the following link, follow the destructions (at your own risk) and that's it, you're done! Just point your apps' "Save To" folder to wherever you want on your External SD Card, or Copy/Move files to it in a File Manager, or whatever!
Just download the "Stable" version at the top of the following page, put it at the root of your Internal Storage and as I said, follow the real simple instructions on the following page:
FIX: http://tinyurl.com/z4s9syf
Enjoy!