A DEFINITE FIX FOR LOW VOLUME IN CUSTOM ROMs? - Moto G4 Questions & Answers

Hi All,
After flashing so many custom ROMs - AOSP, Lineage, AOKP, etc, I found one common issue - low volume both for media and during a call.
Is the solution in the thread of http://www.android.gs/fix-low-audio-volume-custom-roms-cyanogenmod/ a definite fix for those? The solution looks pretty simple. Copy over the audio/sound files from your stock ROM directory and then paste it in the custom ROM directory after flashing it. Can anybody please confirm if it actually works?

Shonilchi said:
Hi All,
After flashing so many custom ROMs - AOSP, Lineage, AOKP, etc, I found one common issue - low volume both for media and during a call.
Is the solution in the thread of http://www.android.gs/fix-low-audio-volume-custom-roms-cyanogenmod/ a definite fix for those? The solution looks pretty simple. Copy over the audio/sound files from your stock ROM directory and then paste it in the custom ROM directory after flashing it. Can anybody please confirm if it actually works?
Click to expand...
Click to collapse
Well, looks like the users are 'adjusted' to the low volume issue. I always keep going back to stock just because of this sole reason.

Shonilchi said:
Well, looks like the users are 'adjusted' to the low volume issue. I always keep going back to stock just because of this sole reason.
Click to expand...
Click to collapse
That article is generic and does NOT apply to Moto G4 (plus). I can't find that file at that subdirectory location. It's easier to use Viper4Android and boost audio that way. "mixer_paths.xml" is the file you'd want to edit if you want to follow that guide. It's located in /etc subfolder from root directory of our phone.

Related

[IDEA]Custom ROM Apps

Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
jM2.me said:
Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
Click to expand...
Click to collapse
This is a late reply but heck yeah i would totally use it!
haha. yes i would have to admit that this is a late reply as well but i would use something like this also. i wish i seen this before. i also change ROMs often and this could provide some great use.
Ha ha late reply..... is use it
Sent from my HTC HD2 using XDA App
jM2.me said:
Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
Click to expand...
Click to collapse
It's a great idea dude! I'm a web designer/dev too. Anyway love the idea, this will open up the possibilities of trying new roms every time.
I'd too use it.
It's the idea, I was dreaming of.
Best of luck !
HECK YES
oh boy yes totally yes.
this type of app would help immensly to any1 who wishes to barebone there favourite rom.
help us in keeping our cwm smaller ie 5/150/10 etc.
mod roms to our taste.
cut out fonts we dont want.
apps we dont want or use.
ringtones, alarm sounds, notifications, system sounds etc we dont want or need.
insert our own apps.
hell yes brilliant idea hope that you do create and bring this project to fruition.
A++++++++++++ on idea and creation.
jM2.me said:
Hello,
I am a software/web developer. Lately I had an idea to make an interface for easy CWM Rom Modifications. Basically like online rom editor.
The program flow is simple.
1. You upload zip rom from your computer, link or choose one from server.
2. You modify basic rom features. Possible functions (some):
add/remove/replace apps
custom launchers
build.prop editor
add/remove/replace fixes/updates
3. Once done you can download, get qr code, share, upload to rapidshare,megaupload,etc
I can make such thing in a week and ready to use. Questions is, would anyone use it?
Personally I can find it useful for me because i switch roms daily and i prefer launcherpro instead of stock, custom wallapepers, etc etc. So instead of installing each rom and modifying it locally you could do it with few clicks from your browser, even possibly from phone itself.
But once again, does that sound something that you would find useful?
Click to expand...
Click to collapse
I like the idea, however, with ROM dev's in mind, i would not make it so one can share the ROM they uploaded. I would make it so the person who uploaded the ROM they can then download it after their modifications were made. I just know that some ROM devs wouldnt appreciate their work being passed on and shared without their approval, a lot of devs dont like mirrors being created and even though the user modifies the ROM, its still not their work since the code is the developers. But yes i would like something like this. i already have a batch file set up that just adds the things i want.

[INFO] Note to all ROM makers

There seems to be issues with baksmali/smali v1.2.6 when deodexing latest samsung roms (2.3.4 maybe also some 2.3.3!).
If you baksmali framework.odex and smali it back to a dex file (without changing anything) your ROM will become laggy!
Some people say its the hardware acceleration that no longer works.
The web browser becomes unusable. There have been reports that video player and camera also seems laggy.
My suggestion is NOT to deodex framework.odex! I'm sorry to say this...
I know this means no custom deodexed roms! But I do believe you will run into more problems we don't know about yet!
But you can still do mods!
Just not deodexed framework mods. You can deodex apk files in the app folder. You can also try and deodex files in the framework folder as long and you dont deodex the framework.odex file! But here you have to convert them back to odex files!
As proof I have made this mod for stock XXKG1. I have the odexed the files back to odex using the dexopt-wrapper tool.
It is not just 1.2.6, I have built from the latest source and still has problems.
I disagree 100% fwiw with OP
I have no speed issues beyond that stupid browser, and that looks just like a baksmali bug. I don't do the "quit" attitude - I will fix it...
But anyway, there is no lag or anything here, even on 2.3.4 deodexed and underclocked.
So while there may be a browser issue, I would not suggest to people not to deodex. I can provide thousands of posts of people happy with a properly Deodexed and optimised ROM...
do we know why this happens? Is there an logic explanation
stian230 said:
do we know why this happens? Is there an logic explanation
Click to expand...
Click to collapse
Most likely minor baksmali bug
designgears said:
It is not just 1.2.6, I have built from the latest source and still has problems.
Click to expand...
Click to collapse
Maybe if we can debug using source we can figure out what goes wrong!
pulser_g2 said:
I disagree 100% fwiw with OP
I have no speed issues beyond that stupid browser, and that looks just like a baksmali bug. I don't do the "quit" attitude - I will fix it...
But anyway, there is no lag or anything here, even on 2.3.4 deodexed and underclocked.
So while there may be a browser issue, I would not suggest to people not to deodex. I can provide thousands of posts of people happy with a properly Deodexed and optimised ROM...
Click to expand...
Click to collapse
I hope you are right... But alot people also complains about all sorts of problems with the custom roms... and we dont really know if its related to this or not...
I spent all yesterday thinking about that...
The odex file is only valid when used with the exact BOOTCLASSPATH files. dalvik enforces this by storing a checksum of each file that the odex file is dependent on, and ensuring that the checksum for each file matches when the odex file is loaded.
When you are deodexing an apk, even if you don't need to set BOOTCLASSPATH for it (because you don't get any error msg while baksmali), by default these 5 jar are already included in the classpath: core.jar, ext.jar, framework.jar, android.policy.jar and services.jar. This means that an odex file has dependencies on every "BOOTCLASSPATH" file that is loaded when it is generated.
So i was thinking about to deodexing every apk in /system/app a part Browser.apk (i.e leaving Browser.odex) and try to figure out which jar file inside /system/framework has to remain odexed.
Maybe we can still have overscroll glow mod, renounce to have the extended power menu in order to get an HW accellerated Browser!
I don't know if it make sense for you as my english need to be improved
_JKay_ said:
I hope you are right... But alot people also complains about all sorts of problems with the custom roms... and we dont really know if its related to this or not...
Click to expand...
Click to collapse
You got any examples to hand?
The common issues I see are
- failing to read my install instructions
- trying to come from some other ROM without following the instructions
- trying to restore titanium backups entirely, depositing apps that are codes like half-polished turds in the phone
- pushing incorrect files into rom without knowing what they are doing
- stupid setcpu config
Am interested to see if you have found other issues, as camera and video player are confirmed by a fair number to be fine...
I swapped my phone with one running stock, and I had to tell my friend what I had done, as he was sure it was his oh, and I was underclocked to 800 max too at the time
pulser_g2 said:
You got any examples to hand?
The common issues I see are
- failing to read my install instructions
- trying to come from some other ROM without following the instructions
- trying to restore titanium backups entirely, depositing apps that are codes like half-polished turds in the phone
- pushing incorrect files into rom without knowing what they are doing
- stupid setcpu config
Am interested to see if you have found other issues, as camera and video player are confirmed by a fair number to be fine...
I swapped my phone with one running stock, and I had to tell my friend what I had done, as he was sure it was his oh, and I was underclocked to 800 max too at the time
Click to expand...
Click to collapse
The frameword.odex is not compiled correctly!! That's a fact!! The laggy browser proofs it. Framework.odex the largest most important file in the android framework!! And that does not concern you? Is that not a bit naive?
_JKay_ said:
The frameword.odex is not compiled correctly!! That's a fact!! The laggy browser proofs it. Framework.odex the largest most important file in the android framework!! And that does not concern you? Is that not a bit naive?
Click to expand...
Click to collapse
I believe what I see. I have asked HomerSp if he can take a look at it, when he can, as he knows a lot about the deodexing process.
But at the end of the day, while there is clearly something not working in baksmali or smali, this seems a good opportunity to fix it and pass on the fix to JF
I know what is in framework.jar, and that it covers most things...
I do genuinely have interest in seeing the issues you raised, as perhaps there is disparity between methods of deodexing??? I am interested to see if I can reproduce any here too, as that would highlight a wider issue.
pulser_g2 said:
I believe what I see. I have asked HomerSp if he can take a look at it, when he can, as he knows a lot about the deodexing process.
But at the end of the day, while there is clearly something not working in baksmali or smali, this seems a good opportunity to fix it and pass on the fix to JF
I know what is in framework.jar, and that it covers most things...
I do genuinely have interest in seeing the issues you raised, as perhaps there is disparity between methods of deodexing??? I am interested to see if I can reproduce any here too, as that would highlight a wider issue.
Click to expand...
Click to collapse
Well.... I will not use deodexed custom roms so I won't find any issues!!! But some people probably will or already has...
I'd rather spend my time on fixing this and create odexed mods until its fixed!
As soon as I see that the framework.odex can be compiled without breaking the browser... I might try some custom roms again..
That's weird. I'm using Lite'ning 1,5 ROM (which is deodexed) since i bought this phone and everything runs very smooth (including browser, video playback, gaming, launcher and so on). Before i had HTC Desire Z with CM7 on it and it was freezing slow if compared to my current setup. It's just flying.
AllWin said:
That's weird. I'm using Lite'ning 1,5 ROM (which is deodexed) since i bought this phone and everything runs very smooth (including browser, video playback, gaming, launcher and so on). Before i had HTC Desire Z with CM7 on it and it was freezing slow if compared to my current setup. It's just flying.
Click to expand...
Click to collapse
I know that version (2.2) does not include the original stock browser but a patched version.
Sent from my GT-I9100 using XDA Premium App
_JKay_ said:
I know that version (2.2) does not include the original stock browser but a patched version.
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
You're basing all your points on 1 main problem, the browser.
That's hardly the way to go. Rather, they will work to solving the problem regarding the browser, then we can continue to have proper custom roms. Besides, KG1 is a leaked rom. Deodexing didn't affect KF2, it might not cause problems for later leaked or "official" roms.
Rather than directing others to your odexed mods, the way for things to move on is to see the problem being fixed. There's a reason why custom roms are almost always deodexed. Don't rock the boat if you don't like the status quo.
kenkiller said:
You're basing all your points on 1 main problem, the browser.
That's hardly the way to go. Rather, they will work to solving the problem regarding the browser, then we can continue to have proper custom roms. Besides, KG1 is a leaked rom. Deodexing didn't affect KF2, it might not cause problems for later leaked or "official" roms.
Rather than directing others to your odexed mods, the way for things to move on is to see the problem being fixed. There's a reason why custom roms are almost always deodexed. Don't rock the boat if you don't like the status quo.
Click to expand...
Click to collapse
That's actually exactly what I am saying!! Don't spend time on fixing the browser! Spend time on fixing the baksmali/smali tools!!
But until that's fixed I believe you can't really rely on the deodexed roms because framework.odex does not compile correctly!!
Some people said that you can't do mods that are odexed!! Thats the reason for the example! You actually don't need to deodex the framework!! But I admit.. it's easier not to odex files...
BTW guys, following the OP IDEA i got my own custom rom working with the odexed stock Browser (i.e. HW accellerated).
Basically all the apps have been deodexed apart Browser, and i left the framework jar files odexed!
Basically i got the same features/mod as before, the only think i have to renounce is the overscroll glow effect (i don't like it at all, i prefer the stock Samsung bounce effect) and the extended power menu (we can easily replace it by using quickboot).
That's it
thanks _JKay_ for the IDEA!
But I do think the problems wont fix itself in the future. The SGS facing the same problems with XXJVQ!!
LeoMar75 said:
BTW guys, following the OP IDEA i got my own custom rom working with the odexed stock Browser (i.e. HW accellerated).
Basically all the apps have been deodexed apart Browser, and i left the framework jar files odexed!
Basically i got the same features/mod as before, the only think i have to renounce is the overscroll glow effect (i don't like it at all, i prefer the stock Samsung bounce effect) and the extended power menu (we can easily replace it by using quickboot).
That's it
thanks _JKay_ for the IDEA!
Click to expand...
Click to collapse
No problem! Actually my mod gives you the extended power menu
_JKay_ said:
But I do think the problems wont fix itself in the future. The SGS facing the same problems with XXJVQ!!
Click to expand...
Click to collapse
I agree with you, but at least, since a lot of people complain about the stock browser, we can stay happy with it!
I reckon we need new tool for deodexing, smali backsmali are dated now...

[Q] Just a few questions.

I usually dont have problems with all the jellybean 4.1.2 roms here for the nexus 4. ive tried about all of them and what really kinda makes me mad is that most of the roms look like jelly bean but arent up to date with the ui sounds or ringtones or even wallpapers. its kind of annoying. Is there anyway to fix this? example, xenon rom, minco rom, and aokp. can somebody help me out a bit. thanks :fingers-crossed:
this need to be in the questions subforum, you copy the ui sounds from system/media/audio and open the wallpaper.apk as zip to get the jpegs out then copy them to sd card so you can use them in other roms
get a progran called xplore to open apk as zip
i apologize, but thanks!
When you install a devs rom, you get what they like. And most don't like the crappy walls and sounds the phone came with.
I don't use the stock or the devs. I load my own sounds and walls. Hell my phone looks and sounds different daily.
So what I am saying is, you ask for a fix, but its not broken.....:silly:

Oxydo v16 Kernel installation

Hello guys! Just picked up my Nexus 7, loving 4.4.2 so far, but sadly more eager to try out Oxydo v16 kernel than anything and for the life of me I can't figure out why the files are zips, but yet downloading them yields a non .zip file on my computer, or directly to my Nexus. Has anyone else ran into this issue? I have 4 years under my belt with Android but yet I'm seeing something so simple is being very complicated :cyclops:. Any ideas??
Also I am currently running Purity ROM with the stock kernel.
PianoThing said:
Hello guys! Just picked up my Nexus 7, loving 4.4.2 so far, but sadly more eager to try out Oxydo v16 kernel than anything and for the life of me I can't figure out why the files are zips, but yet downloading them yields a non .zip file on my computer, or directly to my Nexus. Has anyone else ran into this issue? I have 4 years under my belt with Android but yet I'm seeing something so simple is being very complicated :cyclops:. Any ideas??
Click to expand...
Click to collapse
Have u tried renaming the file? It happens to me often with other file types and a simple rename fixes it for me usually.
anshulratchet said:
Have u tried renaming the file? It happens to me often with other file types and a simple rename fixes it for me usually.
Click to expand...
Click to collapse
No I have not, lol, sadly I can't believe that wasn't a first try on my end, I will do that after work. One thing that doesn't make sense though is all .zip files in the developers drop box have this issue, yet no one has reported it?
Well, I just downloaded the latest version of Oxydo from his dropbox site and it worked fine for me. The file I got is a zip file already. Im not sure why it isnt for u. Which browser are u using and do u use winrar or some other software?
If renaming the file works for u, just ignore the above and reply back
Firstly, I am greatly pleased to see someone appreciating my kernel so much as to download and try it before anything else when there are clearly so many things to try out here.
Secondly, when downloading from Chrome it often snips the ZIP extension. Doing what @anshulratchet has said will make it flashable.

headphone volume boost / viper4android

is either of these possible? I love this phone, but the only and main reason I root all my android phones is to do both of these mods and I have yet to find either of them successfully done.
the mixer_paths file is alot longer now and not so straight forward to know where to manually change the volume levels.
any help would be great
thanks
joho5 said:
is either of these possible? I love this phone, but the only and main reason I root all my android phones is to do both of these mods and I have yet to find either of them successfully done.
the mixer_paths file is alot longer now and not so straight forward to know where to manually change the volume levels.
any help would be great
thanks
Click to expand...
Click to collapse
In order to use V4A,you'll need to flash a custom rom,as it won't work on OxygenOS.
to modify Mixer_paths.xml is possible,but as you mentioned it is not the same as on OPO.
However, I can confirm V4A works on my OPT(exodus rom) it is not 100% compatible (yet) with the device,but the sound experience is way better.

Categories

Resources