Is there a way to the speaker volume louder? - Galaxy S 5 Q&A, Help & Troubleshooting

I meant TO MAKE THE SPEAKER VOLUME LOUDER. Wish we could edit our questions for simple mistakes like this... Anyways
My question isn't necessarily about the S5 but rather Android 4.4. I don't own a S5 but since it's a new and popular phone I can see there being more answers here. I own a Galaxy Tab 3 T210 running a ported Android 4.4.2 so it has all of the same files to make the same edits as the S5 in the system folder if it comes to that. Android 4.4 and really all other newer Android versions have patched the methods I've seen by not having those files in that system/etc folder.I can screenshot what I DO have in that folder if anyone wants to see. I'm pretty sure it comes down to 2 files but I opened them and I don't know what to change in them considering it says Volume throughout the whole file basically. I am pretty sure it's audio_gain_config.xml that I need to edit. Maybe I'm just missing something when I open the file... If anyone wants to have a look at it as well I'll upload it. I may just change every 100 volume I see to 150 to see how that goes. If something goes terribly wrong I can just replace the modded one with a stock one

DHeavy2011 said:
I meant TO MAKE THE SPEAKER VOLUME LOUDER. Wish we could edit our questions for simple mistakes like this... Anyways
My question isn't necessarily about the S5 but rather Android 4.4. I don't own a S5 but since it's a new and popular phone I can see there being more answers here. I own a Galaxy Tab 3 T210 running a ported Android 4.4.2 so it has all of the same files to make the same edits as the S5 in the system folder if it comes to that. Android 4.4 and really all other newer Android versions have patched the methods I've seen by not having those files in that system/etc folder.I can screenshot what I DO have in that folder if anyone wants to see. I'm pretty sure it comes down to 2 files but I opened them and I don't know what to change in them considering it says Volume throughout the whole file basically. I am pretty sure it's audio_gain_config.xml that I need to edit. Maybe I'm just missing something when I open the file... If anyone wants to have a look at it as well I'll upload it. I may just change every 100 volume I see to 150 to see how that goes. If something goes terribly wrong I can just replace the modded one with a stock one
Click to expand...
Click to collapse
Ususaly speaker volume can be edited in /etc/mixer_paths.xml afaik.

If you have root you can use "Viper4Android" (google) is IMHO the best way for louder AND better sound…

gee2012 said:
Ususaly speaker volume can be edited in /etc/mixer_paths.xml afaik.
Click to expand...
Click to collapse
Yeah I know but I don't have that file. I'm not aware of it being on any kitkat android versions

BigBugHmb said:
If you have root you can use "Viper4Android" (google) is IMHO the best way for louder AND better sound…
Click to expand...
Click to collapse
I do have root. I will look up Viper4Android and try it
It didn't seem to effect anything unfortunately

DHeavy2011 said:
Yeah I know but I don't have that file. I'm not aware of it being on any kitkat android versions
Click to expand...
Click to collapse
I have it on my G900F! /etc/mixer_paths.xml.

DHeavy2011 said:
I meant TO MAKE THE SPEAKER VOLUME LOUDER. Wish we could edit our questions for simple mistakes like this... Anyways
My question isn't necessarily about the S5 but rather Android 4.4. I don't own a S5 but since it's a new and popular phone I can see there being more answers here. I own a Galaxy Tab 3 T210 running a ported Android 4.4.2 so it has all of the same files to make the same edits as the S5 in the system folder if it comes to that. Android 4.4 and really all other newer Android versions have patched the methods I've seen by not having those files in that system/etc folder.I can screenshot what I DO have in that folder if anyone wants to see. I'm pretty sure it comes down to 2 files but I opened them and I don't know what to change in them considering it says Volume throughout the whole file basically. I am pretty sure it's audio_gain_config.xml that I need to edit. Maybe I'm just missing something when I open the file... If anyone wants to have a look at it as well I'll upload it. I may just change every 100 volume I see to 150 to see how that goes. If something goes terribly wrong I can just replace the modded one with a stock one
Click to expand...
Click to collapse
im not sure if it makes a difference, (i have Sprints Galaxy tab 3) but i increased my tabs volume by editing lines in -
system/ ect/ snd_soc_msm/ snd_soc_msm_2x and look for this section in the file (down a ways)
SectionDevice
Name "Speaker"
Comment "Speaker Rx device"
and edited these two lines number values to a higher number but i wouldnt go higher then 2:80.7%
'Rx3 Digital Volume':2:67.7%
'RX4 Digital Volume':2:67.7%
just make sure you make a copy of the file before you edit it just in case,,,

montecarlo5 said:
im not sure if it makes a difference, (i have Sprints Galaxy tab 3) but i increased my tabs volume by editing lines in -
system/ ect/ snd_soc_msm/ snd_soc_msm_2x and look for this section in the file (down a ways)
SectionDevice
Name "Speaker"
Comment "Speaker Rx device"
and edited these two lines number values to a higher number but i wouldnt go higher then 2:80.7%
'Rx3 Digital Volume':2:67.7%
'RX4 Digital Volume':2:67.7%
just make sure you make a copy of the file before you edit it just in case,,,
Click to expand...
Click to collapse
Wth I don't see that file either... I thought I was going to have it assuming you had kitkat since I'm using a port of the Sprint version

DHeavy2011 said:
Wth I don't see that file either... I thought I was going to have it assuming you had kitkat since I'm using a port of the Sprint version
Click to expand...
Click to collapse
what app are you using to look for the files? try root explorer or es file explorer and make sure you have root access.

montecarlo5 said:
what app are you using to look for the files? try root explorer or es file explorer and make sure you have root access.
Click to expand...
Click to collapse
I use Root Browser and I do have root access. I know because I had to grant emoji switcher root access yesterday but yeah you do lose root when you flash some roms and have to reflash SuperSu but that ain't the problem for me.I will try one of those browsers you mentioned and if it doesn't work then I don't know anymore at this point. I am in the correct folder. System/etc. I was thinking about getting a new browser anyways because Root Browser force closes when I open manifest files. Aside from this I'm trying to disable specific volume app volumes. There is an app for that but it doesn't work with multiwindow because as long as volume is on all app sounds play. I hope somewhere in the apk file I can edit the volume

Related

[Mod] Stock android lockscreen *now with no menu unlock option*

All credit goes to Ateisti in the I9000 forum.
http://forum.xda-developers.com/showthread.php?t=779803
Attached is my resulting android.policy.odex file from I897UCJH3. I would recommend verifying the signature from your android.policy.odex file before attempting to apply the mod to your phone. If you're feeling brave, you can simply replace, after making a backup, your /system/framework/android.policy.odex file with the attached one.
Standard disclaimers apply. I am not responsible for what you do with this information and highly recommend a backup before attempting. I had to return to stock after an oversight so be careful and understand what you are doing before you act. I haven't modified framework-res.apk so my menu button also unlocks.
Added a version that does not allow the menu button to unlock.
The at&t screen on first boot after the change took quite a while on my phone.
Apparently my above warnings were not clear enough. This is not, and never was intended, as a drop in mod. You should read the linked i9000 thread and understand what you are doing before attempting to apply this to your phone. If you're not running JH3, you have a very high chance of getting stuck on the AT&T splash screen. Even if you are on JH3, you could still get stuck if your signature for the odex file is different than mine.
If you want a 100% guaranteed working mod, you must follow the linked post. The attached files are only for risk takers that don't mind flashing back to stock or restoring from backup.
Worked like a charm. Thanks for the info.
How Do I Go About Putting This On My Phone?? I'm Kind Of A Newb..Do I Do It As A Update.zip File??
Nice! As soon as I get home from work I'll try this out, been waiting for something like this.
kmthomas2009 said:
How Do I Go About Putting This On My Phone?? I'm Kind Of A Newb..Do I Do It As A Update.zip File??
Click to expand...
Click to collapse
It's right there in the OP. Make a copy of the file mentioned and replace the old file with the one in his .zip manually. I used root explorer but I am sure Astro would work just as well. Reboot and ??? Profit.
Worked like a charm here. Used Root Explorer and POW Glass is shattered.
Any chance this would work on a Vibrant?
id10terrordfw said:
Worked like a charm here. Used Root Explorer and POW Glass is shattered.
Any chance this would work on a Vibrant?
Click to expand...
Click to collapse
All bets are off on using my file, but if you follow the instructions in the I9000 thread, you should be able to generate a file for the vibrant.
Yeah I was reading into that, it looks like it shouldn't bee TOO hard since others have blazed the path.
Thanks!
Thank you so much! I saw that thread on the i9000 forums but didn't really know how to port it. Just replaced the odex on JH7, and it worked perfectly
Just an FYI. Didn't seem to do anything on Eugene373's Hybrid R3. There was no existing android.policy.odex in system/framework, and putting the new file in there made no change. There is an android.policy.jar in system/framework, so I tried renaming it to .old but that just made it hang on ATT boot screen.
Just my 2 cents.
Thank you very much, iv been wanting this lock screen for so long. i even resorted in using lock bot pro, but that laged so much. i install and everything is working great!
Oh an i have to say it again, Thank you! i dont have the puzzle pieces any more. i know some like that feat. but i for one did not
id10terrordfw said:
Yeah I was reading into that, it looks like it shouldn't bee TOO hard since others have blazed the path.
Thanks!
Click to expand...
Click to collapse
You're right, not too hard, just have to follow the steps. I made a copy of the entire system/framework folder to my internal sdcard and the copied it to my laptop for editing. When running dexopt-wrapper I just used an adb shell.
bobbylx said:
Just an FYI. Didn't seem to do anything on Eugene373's Hybrid R3. There was no existing android.policy.odex in system/framework, and putting the new file in there made no change. There is an android.policy.jar in system/framework, so I tried renaming it to .old but that just made it hang on ATT boot screen.
Just my 2 cents.
Click to expand...
Click to collapse
I'm just guessing, but I'd say that Eugene's rom is deodexed. There is discussion about applying the fix to deodexed roms in the original thread.
http://forum.xda-developers.com/showpost.php?p=8121172&postcount=31
Your solution is probably there.
l7777 said:
You're right, not too hard, just have to follow the steps. I made a copy of the entire system/framework folder to my internal sdcard and the copied it to my laptop for editing. When running dexopt-wrapper I just used an adb shell.
I'm just guessing, but I'd say that Eugene's rom is deodexed. There is discussion about applying the fix to deodexed roms in the original thread.
http://forum.xda-developers.com/showpost.php?p=8121172&postcount=31
Your solution is probably there.
Click to expand...
Click to collapse
Good call. Thanks for the link.
Awesome, used ADB swapped the file out and it works like a charm. Thank You!
No music controls on lock screen ?
I just put this on my phone - pretty neat. However, when playing a song, the old lock screen had a nifty music control, where you had access to the music controls (play/pause, next, prev, etc) without having to unlock the phone. I don't see that on this, and it was a pretty convenient feature. Maybe I have to also replace the music player with the Android stock music player to get this?
I'll be putting the original stock lock screen back on. I also like how Samsung's music player shows these controls in the notification bar.
Can Someone Help Me...When I Use Astro It Says "File Type Odex Not Found"....Am I Doin Something Wrong??
composer47 said:
I just put this on my phone - pretty neat. However, when playing a song, the old lock screen had a nifty music control, where you had access to the music controls (play/pause, next, prev, etc) without having to unlock the phone. I don't see that on this, and it was a pretty convenient feature. Maybe I have to also replace the music player with the Android stock music player to get this?
I'll be putting the original stock lock screen back on. I also like how Samsung's music player shows these controls in the notification bar.
Click to expand...
Click to collapse
gah, why do people not understand that if you remove a part of touchwiz, you're going to lose some of touchwiz's functionality.
the music control was a part of touchwiz and samsung's music player and never existed for stock android. I'm not saying I prefer to NOT have it, but if you remove a core component, you're going to lose added functionality. if you want to keep touchwiz stuff like puzzle lock and music controls, then you're simply going to have to keep touchwiz. much like how you can't use samsung's widgets without using TwLauncher or why we can't use Sense widgets without running Sense
Does anybody have the ability to upload these files to somewhere else? Trying to do all of this from my phone but when my phone downloads the zips they are only like 47kb and corrupted. Only seems to happen though when i download straight from my phone. Other than that great work, can't wait to try this out. Tired of the lockscreen the cappy comes with.
I got the file on my sd card but everytime I try to move it via Astro it loses the copy when going into the root folders???
You could always download terminal emulator.
open it and type,
su
cp /system/framework/android.policy.odex /sdcard/android.policy.odex.ORIG
cp /sdcard/android.policy.odex /system/framework
reboot
that should work.
Or if you have access to your computer and usb cable plug in and do the same thing with ADB.
adb shell
then the same commands above.

[GUIDE] Changing your bootanimation and delete those ugly sound

*EDITED*
This is very easy now after having the permanent ROOT -- thanks to PAUL for wonderful Visionary+, Evostance for brilliant guide, and those geniuses who make this happened (you know who )
First you need to get permanent root. Here is the link to the guide:
http://forum.xda-developers.com/showthread.php?t=834427
(If you read till page 10, you will definitely know how to do it and what to expect).
Second, go buy ROOT EXPLORER from the market. (Best explorer for rooted phone period).
Go to /system/customize/resource
Make sure you enable the r/w (read write option), other wise you cant do modification.
You will see both the audio and bootanimation there.
If you hated that sound (just like me), just delete the audio.mp3. If you want to change the bootanimation, just copy your bootnimation.zip to overwrite the default one.
That's all....reboot the phone....and you will have your peace...and enjoy the new bootanimation.
kuailan said:
I am just wondering is the good old way of adb pushing the bootanimation.zip work for HD? I do noticed the stock animation are located in /customize/resource folder in the system ROM. Has anyone try changing the bootanimation? Just hated those sound in bootup (prefer no sound).
Click to expand...
Click to collapse
firstly i'd like to state, this is development and not Q & A not being mean just stating.
secondly if you had read the ref guide which is pinned to the top you might have got your answer.
finally your answer...
NO
you can not write on the nand with the temp root. no can you adb push.
permanent root is on its way and i believe the nand will be unlocked on that so you may have write permissions. once this has been obtained then you can push a custom boot animation if required.
El_Nino9 said:
firstly i'd like to state, this is development and not Q & A not being mean just stating.
secondly if you had read the ref guide which is pinned to the top you might have got your answer.
finally your answer...
NO
you can not write on the nand with the temp root. no can you adb push.
permanent root is on its way and i believe the nand will be unlocked on that so you may have write permissions. once this has been obtained then you can push a custom boot animation if required.
Click to expand...
Click to collapse
First of all thank you for the answer (actually I also thought so, and your answer just confirmed that)
And as for posting in develeopment, I DO believe that changing bootanimation is part of Android development (anything that involved creating/modifying and changing of the default system files). Just like recovery or flashing tools, people also develop bootanimation changer application to make life easier for others.
Also I did some search, and this is the first post for any bootanimation for Desire HD. I hope once "root" has been accomplished. People can just use this thread to put the guide to changing those animation.
Therefore I do read and follow the guidelines.
-----------------edited---------------------
kuailan said:
First of all thank you for the answer (actually I also thought so, and your answer just confirmed that)
And as for posting in develeopment, I DO believe that changing bootanimation is part of Android development (anything that involved creating/modifying and changing of the default system files). Just like recovery or flashing tools, people also develop bootanimation changer application to make life easier for others.
Also I did some search, and this is the first post for any bootanimation for Desire HD. I hope once "root" has been accomplished. People can just use this thread to put the guide to changing those animation.
Therefore I do read and follow the guidelines.
Click to expand...
Click to collapse
well glad you're a happy bunny
but several things,it isn't development as you were asking a question at time of writing.
secondly themes section deals with bootanimation and things like that. sound can be disabled by just renaming the file i.e. add a .bak after mp3 just for back up purpose or you can delete the file entirely up to the user.
with customs roms, they may be in a different location. i do believe that AOSP builds are located in media where as in sense builds /customize/resource
it can change depending on the developers choice really. thats why when a person releases a theme, it states what rom the user must be using to avoid problems.
anyways there's no need to carry on with that as you have got what you wanted, full root so you can do w.e. you like know
my personal favourite boot animation was the original hero one, but since that doesnt work anymore/havent found 1 that has been converted to work with the new roms, i like "making fro-yo" it just draws a pic of a frozen yoghert and colours it in.
I purchased Bootanimation changer by Andres Schomis a while back when I was still using the original Desire. There are quite a few nice and interesting ones there. My fav so far is the pissing droid (to piss off some of my iphone mate ) and the alienware. I am sure they are also available in this forum (just do a search). There is no option for desire HD yet, but seem like the one that work for Desire also work just fine in HD. To make the app work, you will need to set the custom path. I highly recommend that app for bootanimation.
Somehow I feel this thread should be in the Themes/Apps subforum instead Since it basically has to do with customization. Anyway, thanks a lot for the instructions.
phunkycow said:
Somehow I feel this thread should be in the Themes/Apps subforum instead Since it basically has to do with customization. Anyway, thanks a lot for the instructions.
Click to expand...
Click to collapse
Agreed with you there mate
I do like the instructions, always helpful for those not browsing the development threads (which do take up a lot of reading time )
Ok can some one tell me what i'm i doing wrong?? it's been more then 6 hours since I started working on this.
Here is my anamtion
Download me please
I cant figure out whats wrong with it....
I even saved it as store with winrar even tried copying the files inside the HTC stock zip and still same problem
can someone help me please?
Bump any one can help?
Just delete the bootanimation.zip inside the /system/customize/resource
Then just copy your animation to the same path /system/customize/resource.
Make sure your animation is also named bootanimation.zip
For some reason I'm not able to enable the r/w function in the resource folder. The only place I can do it is in the root directory (with system, sdcard etc). Any idea of why this is happening? (my phone is perma-rooted and I have granted Super user permissions).
kuailan said:
Just delete the bootanimation.zip inside the /system/customize/resource
Then just copy your animation to the same path /system/customize/resource.
Make sure your animation is also named bootanimation.zip
Click to expand...
Click to collapse
I did my animation that made with Photoshop dont work any idea why? any other animation works fine
Sylpher said:
For some reason I'm not able to enable the r/w function in the resource folder. The only place I can do it is in the root directory (with system, sdcard etc). Any idea of why this is happening? (my phone is perma-rooted and I have granted Super user permissions).
Click to expand...
Click to collapse
This drove me mad for a while too.
I uninstalled root explorer then re-installed and I could the select r/w for all folders.
hi
do i need s-off for this or is just permanent root enough??
thnx
anyone got any good animation zips and sounds?
combat goofwing said:
anyone got any good animation zips and sounds?
Click to expand...
Click to collapse
yeah, thats what i wanna know too
Does anyone know what would happen if you removed the boot animation entirely? Will the phone still boot ok?
I'm happy not to have one at all if it speeds things up
Guys
first I didn't find the bootanimation in system ressource i found it in data/local/
along with the android-audio.mp3
second I tried to change these file it worked but the animation doesn't show up and I have just a small android when I boot up
What can I do ?
PS : my file may be too big 27 megabite for the bootanimation.zip
I tried already, but why whenever I reboot, the bootanimation.zip would revert to the original one?

[think tank] disable increasing ringer (link to intl ver working)

I saw this thread and it made me gain interest in this again. I know many do not like three ringtone volume increasing.
If this is possible on the international version, we should be able to do the same right?
http://forum.xda-developers.com/showthread.php?t=759537
This would be great i hate that volume increase in ringtones. Any dev plz port this for Vibrant.
The meat of it
The meat of what they are doing appears to be in >> THIS << post, which I will quote below. If any developer that knows what they are doing wants to attempt this for the Vibrant the quoted post should give them an quick idea of its feasibility. If it looks like it is doable there is more info in the original I9000 thread that is linked in the OP.
the_ozyrys said:
Hello,
I've just found a (not easy) way to disable increasing ring.
This involves using Apk Manager to backsmali Phone.apk,
which then have to be replaced by patched version, either by root access or creation of update.zip.
Procedure:
1. Get your Phone.apk (\system\app\Phone.apk) and copy it to computer.
2. Use Apk Manager to decompile it.
3. Open folder with Phone source (<Apk Manager folder>\projects\Phone.apk\smali\com\android\phone).
4. Open file Ringer$1.smali with your favourite text editor.
5. Find line that reads:
Code:
invoke-virtual {v1, v5, v4, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
6. Delete this line, save the file.
7. Compile Phone.apk, put it back to phone.
8. Enjoy constant-volume ringtones.
Side effects:
- currently not known
- if you have problem decompiling Phone.apk, >here< is the solution
Maybe somebody will make pre-patched packages, I'm currently using JM5
so I can only provide one for this firmware.
Click to expand...
Click to collapse
are you guys talking about when someone calls you and the ringtone is like quiet almost, and then goes super loud? if so, i want that too, its annoying as hell.
xriderx66 said:
are you guys talking about when someone calls you and the ringtone is like quiet almost, and then goes super loud? if so, i want that too, its annoying as hell.
Click to expand...
Click to collapse
Yes
4 5 6 7 8 9
I will work on this tomorrow after I get off work unless someone beats me to it. This ringer volume issue has been bothering me a lot with this phone.
That would be amazing man. It would have to be incorporated into every rom (as an option)!
This thread should be en dev section.
pretty sure that is where I posted this initially..... must have been a mod moving it.
OK so this fix rrequires that use the .apk's from a deodexed rom which I don't have on hand so I will down download a few and edit the .apk's. Gonna take a bit more time than previously thought but I will get it done soon.
YetisAreReal said:
OK so this fix rrequires that use the .apk's from a deodexed rom which I don't have on hand so I will down download a few and edit the .apk's. Gonna take a bit more time than previously thought but I will get it done soon.
Click to expand...
Click to collapse
Thank you for this. Please log your work. With a good writeup and good understanding of what is going on it would be nice to see devs put this in as a option on all the deodexed ROMs.
Some good news and some bad for now. I have successfully decompiled and recompile the APK as told but no luck so far in fixing the ringtone. Ran into a similar issue that the i9000 users were with each build being different. I am testing on JL4 first with other builds to follow once I am successful. In my Phone.apk I found two lines similar to the line mentioned in the OP for the i9000 but removing either one or both has has no effect for me so I am digging deeper and trying test builds. Java isn't exactly my thing so if anyone with java know how would like to look at the decompiled script I can forward it to them.
EDIT: added the file for peer review just remove the .txt and open with any text editor.
After reading this last night, seemed easy enough, I was determined to try this. Dl'd the apkmanager, extracted my phone.apk, and began playing. Apparently, this is listed in the About/Tips/Debug (menu selection 23) inside of apk manager, you cannot decompile themed apk's, which is exactly what i was trying to do with my Ginger Clone phone.apk. Oh well, back to the drawing board, or at least something with a stock phone.apk i can play around with. Anyone have one, unthemed, from froyo (preferrably jl4 as thats the basis for the current rom I'm running) they want to post?
Br1cK'd said:
After reading this last night, seemed easy enough, I was determined to try this. Dl'd the apkmanager, extracted my phone.apk, and began playing. Apparently, this is listed in the About/Tips/Debug (menu selection 23) inside of apk manager, you cannot decompile themed apk's, which is exactly what i was trying to do with my Ginger Clone phone.apk. Oh well, back to the drawing board, or at least something with a stock phone.apk i can play around with. Anyone have one, unthemed, from froyo (preferrably jl4 as thats the basis for the current rom I'm running) they want to post?
Click to expand...
Click to collapse
Here you go stock JL4 Phone.apk, please let me know if you get this working I had no luck.
YetisAreReal said:
Here you go stock JL4 Phone.apk, please let me know if you get this working I had no luck.
Click to expand...
Click to collapse
Thx! I'll be giving it a go in the morning when I get to my pc.
Ginger Clone's of the World Unite! Via the XDA App
Epic Fail. I successfully decompiled, edited, and recompiled the APK. The exact line in the script that was linked instructions from T313C0mun1s7 was removed, script file saved, apk recompiled properly, and pushed to the phone. Rebooted phone, the stock jl4 i just edited actually works and doesn't fc on Ginger Clone R2 Final, but the ascending ringtone is still there. I'll post the edited apk if anyone is interested, but it seems to not work. I see, more research in my near future.
Edited - spoke too soon, fc's on outbound calls. Gonna try again granted I have the time this morning, if not, I might have to wait until I get back in town after the holidays to play around with this.
Edit 2 - No more fc's on outbound calls with the newly edited phone.apk, but also, still having the ascending ringer. I removed both lines in the script that echoed the linked post on page 1, tried with removing one or the other first, then both, and still the ascending ringer persists through all attempts. Hrm.
I see you ran into the exact same problems I did using JL4 stock. I am on JL5 now so I am going to test a few things on this build now in the hopes I can fix this.
YetisAreReal said:
I see you ran into the exact same problems I did using JL4 stock. I am on JL5 now so I am going to test a few things on this build now in the hopes I can fix this.
Click to expand...
Click to collapse
First of all I have no idea what I am doing. Second I am not sure of all the issues you guys are having. I am just trying to think outside the box. I found this not sure if it applies or not.
apks can be re-edited a few different ways. The easiest example is by replacing the individual files within the apk by dragging and dropping the files in a program such as 7zip or winrar. In this manner the signature of the apk isnt broken. If you must unpack the apk file then when you pack it back up you must resign the app to have in install successfully. Do a google search for Stericson's apk sign application (its over on xda forums). I usually prefer the first way, but have also done the second method and it works as well.
yetis - yeah, same place you were getting stuck. let me know what your results are for the jl5 attempt. i tried with both the jl4 stock and ginger clone apk's this morning, all with the same results.
nomad - thx for the heads up, i am admittedly a novice in the android world, but have been in IT for years and am a self professed computer geek. With the apkmanager posted earlier in this thread, it will do all of the uncompiling and decompiling for you, as well as signing and a ton of other things written into the script, all based on user choices. it does warn about signing system apps after recompile, unless you want to resign all of the other system apps. Never had a problem with the installing of the modded phone.apk, just push it to the system/app folder and reboot, and the last one i did worked flawlessly without and fc's, but did not fix the problem of the ascending ringer.
Yetis, I was over reading through the thread on this in the i9000 forums, and I dug up some information that might help us here. I'm away from my pc so can't verify any of this right now.
-Make sure the rom is deodexed.
-Delete the line that matches what was posted earlier, I think it was the first one in that script, not the one way down at the bottom, leave that one be.
-When recompiling, set the compression in apk manager to 0 (not sure how to do that without the program in front of me)
When you go to push the file, put your phone in airplane mode first, push, then reboot.
Let me know if any of this helps, good luck.
Ginger Clone's of the World Unite! Via the XDA App

Battery Drain Fix (Stock KK/CM11)

- Unzip and copy this file (power_profile.xml) with winRAR to your current framework-res.apk (res/xml)
- Flash your rom again
- wipe cache and dalvik
(decompiling and recompiling not needed !)
- Unzip and copy this file (power_profile.xml) with winRAR to your current framework-res.apk (res/xml)
- Flash your rom again
Click to expand...
Click to collapse
If you flash your rom again, the edited framework-res.apk will get overwritten, so what's exactly the point of editing it?
And what does this change exactly do?
zxz0O0 said:
If you flash your rom again, the edited framework-res.apk will get overwritten, so what's exactly the point of editing it?
Click to expand...
Click to collapse
You decompress your rom and put that file on framework-res/res/xml with winRAR and you repack your rom again. That's all !
Update : fix radio voltage
marouane80 said:
- Unzip and copy this file (power_profile.xml) with winRAR to your current framework-res.apk (res/xml)
- Flash your rom again
Click to expand...
Click to collapse
This is just plain wrong on so many levels...
1. Don't tinker with an .apk unless you decompiled it. With your way you will inevitable break zipalign, thus slowing everything down.
2. The power_profile.xml you provided is already pre-compiled. Why?
3. You flash the Rom again - This overwrites the changes you made before. Lee me guess, without going back to the original framework you device did not boot? That is because you not only broke zipalign, but also the .apk's signature. So the system refuses to install the vital framework.
I said it before in one of your threads. Be careful on what you upload here, as people usually trust xda and, excuse my language, rubbish like yours is of no use for anyone...
I hope you realize that by now.
So long...
Wooaarr said:
This is just plain wrong on so many levels...
1. Don't tinker with an .apk unless you decompiled it. With your way you will inevitable break zipalign, thus slowing everything down.
2. The power_profile.xml you provided is already pre-compiled. Why?
3. You flash the Rom again - This overwrites the changes you made before. Lee me guess, without going back to the original framework you device did not boot? That is because you not only broke zipalign, but also the .apk's signature. So the system refuses to install the vital framework.
I said it before in one of your threads. Be careful on what you upload here, as people usually trust xda and, excuse my language, rubbish like yours is of no use for anyone...
I hope you realize that by now.
So long...
Click to expand...
Click to collapse
you can verify it by decompiling your new framework-res.apk and compare it with stock one.
just for sharing with people
if you don't like it so it's not for you and don't use it. it's simple
marouane80 said:
you can verify it by decompiling your new framework-res.apk and compare it with stock one.
if you don't like it so it's not for you and don't use it. it's simple
Click to expand...
Click to collapse
If you upload something that is wrong, than I think it is fair enough if I say something. It seems you find stuff on the internet and just upload it as 'new' here.
Anyway best of luck with your endeavors. I'm out...
Wooaarr said:
If you upload something that is wrong, than I think it is fair enough if I say something. It seems you find stuff on the internet and just upload it as 'new' here.
Anyway best of luck with your endeavors. I'm out...
Click to expand...
Click to collapse
who told you that ??? give me the link where you found my work !
i think you are a little bit paranoid. don't use anything from me or talk to the moderator or specialist, he can verify my files !
please leave this thread alone
if someone want to verify. see these two files and compare them
marouane80 said:
who told you that ??? give me the link where you found my work !
i think you are a little bit paranoid. don't use anything from me or talk to the moderator or specialist, he can verify my files !
please leave this thread alone
Click to expand...
Click to collapse
Ok I said I'm out, but you are pushing it...
Do you have any idea what the power_profile.xml actually does?
It provides consumption values to the framework, so that this may properly calculate the battery consumption. Changing values in there won't change anything else then the readings in the battery report or apps that call upon that data.
It will in no way affect the actual energy consumption, so I stand by what I said before.
You provide a not working thing, period!
If you don't believe me read more about it over
here...
Anyway that's it from me, good luck...
Wooaarr said:
Ok I said I'm out, but you are pushing it...
Do you have any idea what the power_profile.xml actually does?
It provides consumption values to the framework, so that this may properly calculate the battery consumption. Changing values in there won't change anything else then the readings in the battery report or apps that call upon that data.
It will in no way affect the actual energy consumption, so I stand by what I said before.
You provide a not working thing, period!
If you don't believe me read more about it over
here...
Anyway that's it from me, good luck...
Click to expand...
Click to collapse
u're wrong. it works for me :good:
there are many errors when compiling roms from cyanogenmod and stock rom by sony and samsung and others. see my sound fix thread for example you will see the difference ! cyanogenmod didn't fix that sound problem yet !
http://forum.xda-developers.com/sony-xperia-z1-compact/general/cm11-sound-fix-ultimate-t2861135
And as you can see on stock rom or cm11 give a high value (for radio, BT,GPS, screen-on or cpu idle) will drain battery fast !
compare the two files decompiled !
So what is about with this mod? What are the benefits of using this? Can someone confirm working this? I read this discusion and i dont know its safe or i brick my device?
it really works for me. i never upload that never works or never tested. i got a great battery life after found this solution : two days with heavy usage. believe it or not ! make a backup and test. better you decompile and modify the values like uploaded here. :good:
ok so can you adviced me what i need to do?
im using stsock kk russian second edition 108.
what i need to change or is any option to create flashable zip file to instal it via recovery or i need to push it manually? why i need to flash new firmware after this operation? after flashing i understand that all of my data will erased with all settings and all my file will be cleaned ? i dont udnerstand why it wouldnt works after flashing? maybe you could post some instructions step by step to clean up everything im a little bit scared that i can brick my phone or something.
cheers
I see that it was mentioned before, but it seems it went unheard.
This mod will not work because of the simple reason that the second step overwrites the change!
Flashing the ROM again will remove the modified framework-res.apk file.
You can try and see for yourself. after doing the steps, unpack the apk again and see which power_profiles.xml is there.
I'm pretty sure you'll find the default one.
Also, the file has nothing to do with actual power consumption, as is mentioned in the Android documentation.
I hate to say it but the battery improvement you noticed is just a placebo
If you really want us to believe it works, then at least show us what you got. A screenshot of battery usage and screen time are a good proof
oshmoun said:
I see that it was mentioned before, but it seems it went unheard.
This mod will not work because of the simple reason that the second step overwrites the change!
Flashing the ROM again will remove the modified framework-res.apk file.
You can try and see for yourself. after doing the steps, unpack the apk again and see which power_profiles.xml is there.
I'm pretty sure you'll find the default one.
Also, the file has nothing to do with actual power consumption, as is mentioned in the Android documentation.
I hate to say it but the battery improvement you noticed is just a placebo
If you really want us to believe it works, then at least show us what you got. A screenshot of battery usage and screen time are a good proof
Click to expand...
Click to collapse
I think he means open the ZIP of your Rom on PC, put that file in and then put the Rom to phone again and flash it over your current Rom.
And yes, a proof would be good
Is there any way to fix/improve battery life on CM11? Z1C with the same usage on stock rom gets over 2.5x longer battery life.
marouane80 said:
- Unzip and copy this file (power_profile.xml) with winRAR to your current framework-res.apk (res/xml)
- Flash your rom again
- wipe cache and dalvik
(decompiling and recompiling not needed !)
Click to expand...
Click to collapse
Well, I replaced in the archive file, but how to pack in the APK?
P.S Understood with the help of Root Explorer
oshmoun said:
I see that it was mentioned before, but it seems it went unheard.
This mod will not work because of the simple reason that the second step overwrites the change!
Flashing the ROM again will remove the modified framework-res.apk file.
You can try and see for yourself. after doing the steps, unpack the apk again and see which power_profiles.xml is there.
I'm pretty sure you'll find the default one.
Also, the file has nothing to do with actual power consumption, as is mentioned in the Android documentation.
I hate to say it but the battery improvement you noticed is just a placebo
If you really want us to believe it works, then at least show us what you got. A screenshot of battery usage and screen time are a good proof
Click to expand...
Click to collapse
you got a bad or an oudated apktool. i don't have any error after decompiling. try it by yourself !
it's not a placebo. it's my work
John.D.. said:
Well, I replaced in the archive file, but how to pack in the APK?
P.S Understood with the help of Root Explorer
Click to expand...
Click to collapse
sorry but you must have some basic knowledge on decompiling to make the change. if you don't know what is decomiling/compiling, juste take the file and put it like in OP. thanx
marouane80 said:
sorry but you must have some basic knowledge on decompiling to make the change. if you don't know what is decomiling/compiling, juste take the file and put it like in OP. thanx
Click to expand...
Click to collapse
Yes, but it was very simple) I just renamed the Root Explorer in zip archive, there has replaced the file, and then simply copied the zip on the apk, it works)
but how does it affect the battery, I still do not understand

How to REALLY increase your Honor 7 maximum volume

I've seen a lot of methods posted here, none of them is really working. The easiest and most effective way is this one. (Headphones only)
You need a rooted device and a file manager with root access.
Go to root\cust\hw\eu\prop and open local.prop with an editor. Search for the "ro.config.ce_authenticate=1" line and add a # before it. Save the file.
Now go to root\etc\audio\hi6402 and look for the "mixer_volumes_PLK_L01_ce.xml" file, and for the "normal" version of it. Delete them both. You may want to make a backup of them, in case you want to return to the previous situation. Now look for the two "PLK_TL" mixer files and rename them both. Change "TL" with "L01".
Basically you're tricking your honor 7 into taking the asian variant values for the audio, so you'll get the full audio output of that model.
Reboot and you're done.
Volume is MASSINGLY increased. Viper4Android will optimize the quality and make it sound even louder. Please don't listen to your music at maximum volumes for a long time.
If this is useful to you please say thanks
Flashable .zip
I just quickly made a flashable .zip that replaces a few values in the two files,
so that you don't need to do any tinkering whatsoever , just flash it
Since i cant seem to attach the file i had to upload it to somewhere else (Mega):
mega.nz/#!MFIBFbaD!lYOS81U3KR-IOnYwB5WUrND4A0Pwut2aIrV1N95Rag4
Ned decryption key for download
Just get Dolby Atmos?
Sent from my PLK using XDA-Developers mobile app
Whoops sorry, didnt know you needed that (First time i actually shared something with mega...)
well, heres the link with the key:
https://mega.nz/#!MFIBFbaD!lYOS81U3KR-IOnYwB5WUrND4A0Pwut2aIrV1N95Rag4
Hello it possible do the same for the phone speaker? When I receive a call most times I don't ear the phone playing even volume is in maximum.
Thanks for the guide

Categories

Resources