I have a SGP5 and am using Jackpot Clavin's CM10.1 rom.
I find that the number of volume steps is too few when using headphones. Often consecutive volume settings will change the volume too much, so that one setting is too soft and the next too loud.
The solution to this is to increase the number of steps over the same volume range.
I have successfully managed to do this using the following guide (it was quite easy actually):
http://forum.xda-developers.com/showthread.php?t=1411317.
Doing this produces a framework.jar file which needs to be placed in /system/framework with permissions "- rw- r-- r--" (ie read/write for user, read only for everyone else), and after a reboot (during which it will say it is upgrading) you should have the extra steps.
Anyway, seeing as it works I thought I'd share it here in case anyone else wants to have more steps to their volume (rather than the original 15 steps).
I've made some CWM flashable zip files to make things a bit easier.
Volsteps2-30 will give double the steps, so to increase the volume by what used to be one step now takes two steps.
Volsteps2-45 will give triple the steps, so to increase the volume by what used to be one step now takes three steps.
This theoretically should work for any rom (or even device) but it may be the case that a different zip file will be needed for each one. To make this compatible with more roms/devices I need your /system/framework/framework.jar files so I can patch them and make an install zip. But try it out before sending your file, there may be a version for you already made...
Instructions:
Remember to do a nandroid backup first!
Download the uninstall zip and one of the install zips from below.
Flash the install zip and reboot.
if it works, great...
if not, you'll probably find you're in a bootloop, get back into CWM (with the button combo) and flash the uninstall zip, (this will restore your system to its previous state), reboot and reply to this thread telling me that it doesn't work, what rom and device you are using and attach your framework.jar file (found in /system/framework/).
I'll patch your framework.jar file and make a new zip file for you to try, if it works for you I'll attach it to this post with a suitable description.
We'll see if we can get a nice collection for all the roms...
For UNINSTALL.zip and SGP5.0 mods see the files attached below
For SGP4.0 mods see post #79: Volsteps Mods for SGP4.0 Player
--------------------------------
nice find but this should be in the D&H section. not in general
Tried it on 10.1 and it caused a damn bootloop.
TheKryptonite said:
Tried it on 10.1 and it caused a damn bootloop.
Click to expand...
Click to collapse
Really? hmmmm, JC's 10.1 or iurnait's? if iurnaits, give me a copy of your framework.jar and I'll patch it for you if you like and we'll see if that works.
Mmmm-) said:
Really? hmmmm, JC's 10.1 or iurnait's? if iurnaits, give me a copy of your framework.jar and I'll patch it for you if you like and we'll see if that works.
Click to expand...
Click to collapse
Iurnait's. I can't because it's stuck on a bootloop, and wiping data/cache didn't work either.
TheKryptonite said:
Iurnait's. I can't because it's stuck on a bootloop, and wiping data/cache didn't work either.
Click to expand...
Click to collapse
You made a nandroid backup right? just restore that.. or if not reinstall the rom from scratch.
Mmmm-) said:
You made a nandroid backup right? just restore that.. or if not reinstall the rom from scratch.
Click to expand...
Click to collapse
Nope. I can't because I can't find my SD card and it doesn't exactly work correctly anyway. I'll just have to install the stock ROM and do it like that.
Edit: I found it, but my computer doesn't want to read it, so yeah...
I've worked out how to do CWM zip files! I've made an install zip that works fine on my player and an uninstall zip in case it bootloops.
If it does bootloop the uninstall zip will restore your original framework.jar file and everything will be as it was before.
I suspect that each rom will have to have a special zip file for itself, so if it doesn't work, post telling me your ROM and attach your framework.jar file and I'll patch it. (framework.jar is in /system/framework/)
It'd be nice if we had all the ROMs covered don't you think?
See OP for install and uninstall files.
@TheKryptonite If you've got everything running smoothly again it'd be great if you could send me that framework.jar file...if you fancy it of course ...
Mmmm-) said:
@TheKryptonite If you've got everything running smoothly again it'd be great if you could send me that framework.jar file...if you fancy it of course ...
Click to expand...
Click to collapse
It's a shame you came up with the fix AFTER I redid everything, lol
Sure, it's no problem. Also, not sure if it matters, but I'm still running CM 10.1.
http://www.mediafire.com/?vq4at98oeej6qjn
TheKryptonite said:
It's a shame you came up with the fix AFTER I redid everything, lol
Sure, it's no problem. Also, not sure if it matters, but I'm still running CM 10.1.
http://www.mediafire.com/?vq4at98oeej6qjn
Click to expand...
Click to collapse
Yeah, sorry about that, I had no idea it was even possible at the time - but now I do!..
Here's a zip for you to try - remember to have the uninstall zip at the ready in case it doesn't work..
Idecided that 30 steps (each step half the original) isn't enough for me so I've made a 45 step version (each step one third of the original) - see OP
I've been rummaging about inside people's rom zips (ooerr) and have patched Iurnait's pac-man rom and latest CM10.1 too.
All the jar files are different so a different version is definitely needed for each rom... Most worrying is that TheKryptonite's IurnaitCm10.1 file is different to the latest IurnaitCM10.1 file. I hope that doesn't mean that this must be done every time a rom is updated urrrggghh....
See OP for zips...
Mmmm-) said:
Yeah, sorry about that, I had no idea it was even possible at the time - but now I do!..
Here's a zip for you to try - remember to have the uninstall zip at the ready in case it doesn't work..
Click to expand...
Click to collapse
I can confirm that the mod works.
Mmmm-) said:
Idecided that 30 steps (each step half the original) isn't enough for me so I've made a 45 step version (each step one third of the original) - see OP
Click to expand...
Click to collapse
Im sorry but WHY would you need 45 volume steps
Sent from my Kindle Fire running CM10.1/SGT7
Thanks a lot for this. This is what I needed for so long but never bothered to look. Works like it should on iurnait's cm10.1.
goldflame09 said:
Im sorry but WHY would you need 45 volume steps
Sent from my Kindle Fire running CM10.1/SGT7
Click to expand...
Click to collapse
Changing the volume by one notch goes from too quiet to too loud (with 15 steps), I found it was the same with 30 steps, ie increasing the volume by half a step is also too much. 45 steps makes the volume change by one third of a step which, I think, is about right!
It's not that I need 45 steps, but it is about how big each step is....
Hey Mmmm-), Can you do a 30 volume step for the Slimbean ROM? Here's the framework.jar
atcq28 said:
Hey Mmmm-), Can you do a 30 volume step for the Slimbean ROM? Here's the framework.jar
Click to expand...
Click to collapse
Ok, check the OP. I've done a 45 too, just in case
Could you create a mod for the new SlimBean build? Thanks.
TheKryptonite said:
Could you create a mod for the new SlimBean build? Thanks.
Click to expand...
Click to collapse
Here's the file for the new build
Related
So after using the Samsung Galaxy S II for over a month now I've had one complaint. In-Call Volume using the handset ear piece. It was "OK" in quiet places but anywhere else...way below par.
So, after looking around for several weeks trying to find a fix I finally got help from a well know dev (Entropy512) as well as using system/lib audio files from Designgears ROM 'Perception'.
So...how do you finally get your in-call volume increased?
First and foremost...Always backup whatever you're changing. Better safe than sorry. Just make a copy of your current system/lib folder, rename it something like 'backup_lib' and place on your sd card somewhere.
Option 1
Download this flashable zip, flash it in CWM, Reboot, Enjoy. (This zip includes some audio files from the Perception ROM, if for any reason DesignGears has an issue with this PM me and I will remove the zip. I'm only using the files to help others solve their in-call volume issue)
MAKE A BACKUP BEFORE FLASHING
Download the Flashable Update Here
I have tested this on three different SGSII's and all seems well! This is a NO WIPE flash, I do reccomend clearing your Dalvik Cache and Cache Partition though.
-Reboot into Recovery
-Scroll down to 'Advanced' and select
-Select "clear Dalvik Cache"
-Flash this update
-Reboot your phone and enjoy!
Option 2 (Incase the flash doesn't work or I am asked to remove the the zip file)
1) Download Designgears ROM 'Perception' Found Here
2) Open the zip file of your current ROM (doesn't matter what ROM)
3) Open the system folder and then open the system/lib folder (of your current ROM)
4) Next, Open the same folder in the Perception ROM
5) Copy the files listed below from the Perception ROM and paste them over the files in your ROM:
- lib_Samsung_Acoustic_Module_Llite.so
- lib_Samsung_Resampler.so
- lib_Samsung_Sound_Booster.so
- libaudio.so
- libaudioeffect_jni.so
- libaudioflinger.so
- libaudiohw_op.so
- libaudiohw_sf.so
- libaudiopolicy.so
- liblvvefs.so
- libmediayamaha.so
- libmediayamaha_jni.so
- libmediayamaha_tuning_jni.so
- libmediayamahaservice.so
- libsamsungAcousticeq.so
- libsamsungSoundbooster.so
- libsoundalive.so
- libsoundpool.so
- libSR_AudioIn.so
- libyamahasrc.so
*Only copy/replace the files listed above as they are only audio files. DO NOT COPY/REPLACE all system/lib files... You'll have unwanted consequences and you'll probably kill a puppy.
6) Now go to the Perception ROM and open system\app and find phone.apk. (Save a copy of your current phone.apk...Just in case)
-Copy (Perception's) phone.apk and replace the phone.apk on your current ROM.
7) After you replace the files listed above on your ROM, reflash your ROM and enjoy your increased call volume.
Note: If you don't want to reflash your ROM and risk losing any settings, you should be able to copy the files and replace them with Root Access and a file explorer, then Reboot your device immediately after. I haven't tried this yet so if someone wants to try and leave feedback, please feel free.
EDIT: Copying the files using a root explorer does work but may cause your phone to crash/reboot afterwards. I'd still recommend just re-flashing the ROM to avoid potential issues. Once again, make sure and make a back up so you can revert any changes if something doen't work properly.
I will try uploading a zip file with appropriate files so you can download but currently I do not have Designgears permission. This is their code and I don't want to step on any toes.
EDIT: I have tried reaching out to DG for permission but had no luck, if he asks that I remove the zip file, I will do so.
Known Potential Issues:
- When flashing over a stock/rooted ROM this update may cause the phone application to crash/force close. I have tried this update personally on every ROM I could flash and haven't had any issues. However, I have not tried it on the stock ROM. If you're on stock/rooted, please make a backup so if it does cause issues you can simply revert the changes.
Much thanks goes to Entropy512 for the help with solving this issue and Designgears ROM 'Perception'. Using Perception showed me that increasing the in-call volume was possible! (it's a very stable and awesome ROM as well )
***UPDATE***
Due to some people being a worried about flashing the update I have taken the liberty of making the backup files for you and making them flashable!
- I have made revert files for all of the major ROM's we currently have for our device. I did not include Perception because that ROM is where the audio files originated from. Below is the download links for the backups.
IF my volume fix does NOT work, simply download the backup for your ROM and flash it. It will revert all the changes my fix made.
- Revert_CM7.1_Stable
- Revert_H8s2_1.2.2
- Revert_Serendipity_8.2
- Revert_Stock_UCKH7
- Revert_UnNamed_1.2
- Revert_MIUI 1.11.4 v1
- If you are using Perception ROM you do NOT need the volume fix as this ROM has the files built in
As a side note, I have tried this on several I9100 ROM's as well and had luck with them all.
If this thread helps, please click the thanks button for me, I'm new to the XDA community.
Any I9100 ROM should work here for the libs - however:
Your mic will be screwed up for outgoing audio unless you change the Samsung Noise Reduction settings. (DG forced this in Perception, I believe he did it in an APK somewhere and not in the libs.)
Entropy512 said:
Any I9100 ROM should work here for the libs - however:
Your mic will be screwed up for outgoing audio unless you change the Samsung Noise Reduction settings. (DG forced this in Perception, I believe he did it in an APK somewhere and not in the libs.)
Click to expand...
Click to collapse
I just tried a call and you're correct, the mic isn't working properly. Do I need to find the APK or do you know what changes I need to make? This is a popular issue and I'm hoping this thread can help.
Edit: I found some APK's....any idea which one would deal with the mic?
-CallSetting.apk
-Phone_Util.apk
-Phone.apk
-Settings.apk
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Doesn't work on the apk :v
penguinlogik said:
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Click to expand...
Click to collapse
I'm testing different apk's right now. As soon as I figure out which apk the fix is located in I'll edit the post.
Maybe DG can drop a hint to me
Hmm does this enable the AUDIO part of the Samsung Service mode?
penguinlogik said:
Hmm does this enable the AUDIO part of the Samsung Service mode?
Click to expand...
Click to collapse
I haven't tried the audio menu yet, feel free to try if you'd like and let me know. 2 birds 1 stone.
Nope... ATT WHY YOU DISABLE THE MOST IMPORTANT MENU.
penguinlogik said:
Nope... ATT WHY YOU DISABLE THE MOST IMPORTANT MENU.
Click to expand...
Click to collapse
I figured out which apk fixes the mic issue it's the phone.apk. I updated the original post. Sorry for the set back. Let me know if you experience any issues
Just posting another screenshot to show the phone.apk.
penguinlogik said:
Ahahaha, good thing I made a backup before pasting, but pasting the files in root explorer does work, however your phone will crash and reboot, but it is louder.
Doesn't work on the apk :v
Click to expand...
Click to collapse
Try copying the CallSetting.apk as well (use both). If you still don't have any luck with fixing the mic issue and you're using a file manager to make the switch, try re-flashing your ROM with the apk changes instead.
Make a backup before doing it so you can restore all your settings if it doesn't work for some reason.
It works after I replaced it in my ROM zip
Sent from my SAMSUNG-SGH-I777 using xda premium
penguinlogik said:
It works after I replaced it in my ROM zip
Sent from my SAMSUNG-SGH-I777 using xda premium
Click to expand...
Click to collapse
Did you have to re-flash? Just trying to make sure my instructions are correct.
Did you need to add both apk's as well?
No, I just added replaced the files in the Unnamed 1.1.0 full update zip, ran an update via CWM, with only the phone.apk and microphone works.
penguinlogik said:
No, I just added replaced the files in the Unnamed 1.1.0 full update zip, ran an update via CWM, with only the phone.apk and microphone works.
Click to expand...
Click to collapse
Ok, glad it works and the kinks are worked out thanks for you patience and tests.
Thats awesome news. Low mic has always been an issue for me. Just wondering if someone can create a flash able zip that automates everything, if possible.
Great work guys.
daraj said:
Thats awesome news. Low mic has always been an issue for me. Just wondering if someone can create a flash able zip that automates everything, if possible.
Great work guys.
Click to expand...
Click to collapse
IF I can get approval from Designgears to use some sources from his ROM I shouldn't have any issues putting this into a zip file for everyone. I've reached out to DG, just awaiting a response
Great keep us posted please. It will make a big difference to many people
Sent from my SAMSUNG-SGH-I777 using XDA App
crazyagg said:
IF I can get approval from Designgears to use some sources from his ROM I shouldn't have any issues putting this into a zip file for everyone. I've reached out to DG, just awaiting a response
Click to expand...
Click to collapse
Excellent! Been looking for something like this, because I also noticed that the volume was really horrible... Keep us posted on a zip file. Rather be "SAFER" than sorry with doing something that does it automagically for me
Knowing my patience, I'll probably manually do it once I get home from school... lol
SpectraDawn said:
Knowing my patience, I'll probably manually do it once I get home from school... lol
Click to expand...
Click to collapse
LOL! Me too! I all over this!
These are cool animations , metamorphs packages made by Poontab. Use zipthemer to flash them. Instructions and original post below. Work on our ICS roms using zipthemer. All of them look fantastic.
Original Post
Here is one for PassionV13.
RubikPassionV13
Undo
I must be stupid...because I am having trouble with the "stupid-proof" instructions xD
Just to clarify, step 5...you select what exactly? xD
Xenoism said:
I must be stupid...because I am having trouble with the "stupid-proof" instructions xD
Just to clarify, step 5...you select what exactly? xD
Click to expand...
Click to collapse
You need to update edify script according to rom you have flashed on your phone. Step 5 is just that. Open supreme, go to menu and update edify then point it to your Rom zip on your Intel our external card where ever you have it saved.
Sent from samsung vibrant
This is really great...once I figured it out. Slick stuff. Thanks for sharing.
Sent from my SGH-T959 using XDA App
Which ones do you guys recommend trying out?
edit: alright, i followed the instructions to setting it up, now how do i choose the chaos.zip as the animation? Do i just flash the .zip???
xriderx66 said:
Which ones do you guys recommend trying out?
edit: alright, i followed the instructions to setting it up, now how do i choose the chaos.zip as the animation? Do i just flash the .zip???
Click to expand...
Click to collapse
I can't seem to figure it out. I created a zip, then flashed it but nothing happened.
Sent from my Vibrant on roids.
ok.. so Now I put the chaos.zip into +theme and built it, made a backup, flashed the chaos_update.zip on my recovery, but i dont think theres a change...
xriderx66 said:
ok.. so Now I put the chaos.zip into +theme and built it, made a backup, flashed the chaos_update.zip on my recovery, but i dont think theres a change...
Click to expand...
Click to collapse
Yeah, same here.
Sent from my Vibrant on Roids.
xriderx66 said:
ok.. so Now I put the chaos.zip into +theme and built it, made a backup, flashed the chaos_update.zip on my recovery, but i dont think theres a change...
Click to expand...
Click to collapse
Same for me... No change
Sent from my SGH-T959 using XDA App
Getting late and I have to work in the morning but I will put something together about how to use zipthemer. I have used it on several phones and once you get it working, you can do a bunch of things with it. Create themes, custom boot animations, revert.zips. You can also take pieces from different themes and package theme all together into one update.zip with an undo.zip just in case. I'll put it together in the morning.
I just figured it out...
Go to Zip Themer
Click on +Theme
Click on the green arrow and navigate to the zip file you want to use
Click on build it! then select if you want it to create a revert flash able zip
After it's done building the flashable file go into recovery mode and flash the file zipthemer created (it's not in a folder).
Fix permissions
Reboot
dcaples002 said:
I just figured it out...
Go to Zip Themer
Click on +Theme
Click on the green arrow and navigate to the zip file you want to use
Click on build it! then select if you want it to create a revert flash able zip
After it's done building the flashable file go into recovery mode and flash the file zipthemer created (it's not in a folder).
Fix permissions
Reboot
Click to expand...
Click to collapse
Bingo.
It also works with Metamorphs too (if anyone needs some, I have a ton-just PM me). Say you want to revamp your whole status bar.
All you do it hit the +Theme and find your metaporphs (in zip form), and 1 by 1 add them in (*tip if doing this make sure the status bar itself it #1, if you are changing transparency or color. Then everything will build on top of it).
Now that you have all the morphs in there, click Build It (it is always prpbably the best idea to make the Undo.zip as well, just in case).
+Output just tells Zipthemer where to put the finished product.
Flash into recovery and install (I always wipe cache too). Don't like the finished product, reboot into recovery and flash the undo.zip and no harm no foul.
dcaples002 said:
I just figured it out...
Go to Zip Themer
Click on +Theme
Click on the green arrow and navigate to the zip file you want to use
Click on build it! then select if you want it to create a revert flash able zip
After it's done building the flashable file go into recovery mode and flash the file zipthemer created (it's not in a folder).
Fix permissions
Reboot
Click to expand...
Click to collapse
I don't know what the hell I'm doing wrong, but no matter what steps I take, when I flash the file created by zipthemer, nothing gets changed. It still has the regular animation that came stock on the rom.
Same here I don't know if its the Chaos animation that is similar to the stock one possibly? I did exactly what he said and im getting same stock animation, once i get home i'll try to download another one.
dcaples002 said:
I just figured it out...
Go to Zip Themer
Click on +Theme
Click on the green arrow and navigate to the zip file you want to use
Click on build it! then select if you want it to create a revert flash able zip
After it's done building the flashable file go into recovery mode and flash the file zipthemer created (it's not in a folder).
Fix permissions
Reboot
Click to expand...
Click to collapse
I did this for 3 different themed and none have worked for me.
Sent from my SGH-T959 using XDA App
xriderx66 said:
Same here I don't know if its the Chaos animation that is similar to the stock one possibly? I did exactly what he said and im getting same stock animation, once i get home i'll try to download another one.
Click to expand...
Click to collapse
I was thinking the same thing with chaos, so I tried Rubik, but it was a no go also.
Sent from my Vibrant on Roids.
I have tried most of them and they work. I don't know why it wouldn't work for you guys? Post your framework-res.apk or what rom are you using, may be i can add them for you.
I will give you framework once i get home, also where is it located?
and I am using ICS Passion, no idea about the other guy.
xriderx66 said:
I will give you framework once i get home, also where is it located?
and I am using ICS Passion, no idea about the other guy.
Click to expand...
Click to collapse
Okay here is the one with Rubik animations which i think are the best out of that lot, see if it works for you.
RubikPassionV13
Undo
Is it flashable or replacing framework etc?
Would it be possible to install an i9000 Rom and make an installable zip that has all necessary vibrant files instead of having to port the Rom on a pc?
epicboy said:
Would it be possible to install an i9000 Rom and make an installable zip that has all necessary vibrant files instead of having to port the Rom on a pc?
Click to expand...
Click to collapse
Sadly we have very little developers on board. Also, it is better to flash the proper ported ROM from the start because if not, file permission failure may happen among other issues such as Force Closes. I gave you the link on how to do it in another thread. It may seem complicated at first but it is not complicated if you, for example, by using 7Zip (or similar) on your PC take the required files from, say, sada's CyanogenMod ROM by opening its zip file with 7Zip and drag it to the .zip i9000 ROM you want to port. Just giving you a hint to make it easier for you. I managed to do it some weeks ago and I didn't know the how-to before.
nirogu325 said:
Sadly we have very little developers on board. Also, it is better to flash the proper ported ROM from the start because if not, file permission failure may happen among other issues such as Force Closes. I gave you the link on how to do it in another thread. It may seem complicated at first but it is not complicated if you, for example, by using 7Zip (or similar) on your PC take the required files from, say, sada's CyanogenMod ROM by opening its zip file with 7Zip and drag it to the .zip i9000 ROM you want to port. Just giving you a hint to make it easier for you. I managed to do it some weeks ago and I didn't know the how-to before.
Click to expand...
Click to collapse
The thing is I want to eliminate the PC from the equation. I like to download roms from my browser and would like to download a i9000 zip, install it with another zip. And boom. I9000 Rom on the vibrant. I will see if I can work on it and make it a reality.
epicboy said:
The thing is I want to eliminate the PC from the equation. I like to download roms from my browser and would like to download a i9000 zip, install it with another zip. And boom. I9000 Rom on the vibrant. I will see if I can work on it and make it a reality.
Click to expand...
Click to collapse
that approach is time consuming to do on the phone takes at least a few minutes just to extract it and same goes for zipping everything back up. trust me I've done this before and never done it again. it would be best to do on a comp less likely to make a mistake
but if you're determined to do it on your phone go for it and good luck. what rom are you wanting to port over from the i9000?
dzee206 said:
that approach is time consuming to do on the phone takes at least a few minutes just to extract it and same goes for zipping everything back up. trust me I've done this before and never done it again. it would be best to do on a comp less likely to make a mistake
but if you're determined to do it on your phone go for it and good luck. what rom are you wanting to port over from the i9000?
Click to expand...
Click to collapse
I'm determined to do it and have some knowledge of the android file system.
I wanted to try out nameless Rom.
epicboy said:
I'm determined to do it and have some knowledge of the android file system.
I wanted to try out nameless Rom.
Click to expand...
Click to collapse
ah nameless I haven't ran that in months but if I remember correctly you need to delete or swap the bootanimation. I forgot exactly why its needed but it seems to cause issues, not really sure but I think it causes the rom to end up in a bootloop...
Sent from my Half Baked Vibrant
Hey everyone I decided to take the smooth scrolling mod to the next level. I was reading @zephiK didn't have the time to update the mod for every update that comes out. So I decided to get back in the game a little and completely automate the process so now you guys as users can do the "heavy" lifting (heavy in quotes since it's really an automated process for the most part lol). It basically pulls your framework.jar from your currently running ROM, modifies it, and pushes it back to your device. It should work on any ROM that doesn't have a different AbsListView.smali from the one I use (aside from the smooth scrolling parts, that's fine). If there's more demand for this (or I get locked out of my dropbox because of too many downloads) then I'll throw it up on my site instead. Until then, enjoy! Only supported on Windows. If anyone wants to make a linux/mac version, feel free to.
BE SURE TO ALWAYS BACKUP JUST IN CASE!
If you try this on another ROM and it doesn't work because the AbsListView is different somehow, let me know and I will make other versions to support other ROMs
DOWNLOAD
adb pull's your framework.jar from the currently running ROM.
Sets up a couple of folders for use later when putting the files back into a .jar.
Uses a jar command to extract all of the contents of the jar file.
Runs the baksmali code (with a small edit to remove the pause).
Copies the AbsListView.smali to the baksmali'd area.
Copies the android folder in "decompiled" into "smali-me".
Runs the smali code (again, with a small edit).
Deletes classes.dex and framework.jar in the root folder.
Renames modded-classes.dex to classes.dex.
Moves classes.dex, META-INF, and preloaded classes into the Temp folder.
Creates a new framework.jar file from what's provided in the Temp folder.
Moves that file back into the root directory.
Cleans up most of the folders/files.
Pushes the new framework.jar to your device, sets permissions, and reboots.
Finally it removes the framework.jar in the root directory to finish the clean up process.
Changelog:
10-5-14
Initial release
10-6-14
Added option to work with a zip file.
Reworked the initial batch file to allow for more automation (took out some pauses) and now has a menu to select your option.
Added a changelog.
Updated the Cleanup.bat to account for the new folder created when using the zip method.
Confirmed working ROMs:
SlimSaber by fusionjack
Sabermod cm11 by Robbie
Good work man! And 1st ?
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
Wouldn't install at all for me. I'm on Paranoid Android (SaberMod Edition)..10-02-2014 build..
Oh well... Always good to see users putting in work?
OmegaBlaze said:
Wouldn't install at all for me. I'm on Paranoid Android (SaberMod Edition)..10-02-2014 build..
Oh well... Always good to see users putting in work?
Click to expand...
Click to collapse
Install as in you tried to flash it? It's a windows based mod.
prsterero said:
Install as in you tried to flash it? It's a windows based mod.
Click to expand...
Click to collapse
Yikes?
Forgot all about that?
OmegaBlaze said:
Yikes?
Forgot all about that?
Click to expand...
Click to collapse
Haha right in the title and op
When I install this onto my device w/ CM11 nightlies (10/05) it stops everything from working/launching/FC.
dylanraga said:
When I install this onto my device w/ CM11 nightlies (10/05) it stops everything from working/launching/FC.
Click to expand...
Click to collapse
So you ran the batch file and after it rebooted things stopped working? If so if you send me the framework.jar file in system/framework/ then I'll make a version for cm11
prsterero said:
So you ran the batch file and after it rebooted things stopped working? If so if you send me the framework.jar file in system/framework/ then I'll make a version for cm11
Click to expand...
Click to collapse
can this also work by simply placing the proper jar file in a folder on your pc and doing it that way. I ask because I sometimes download remotely and would like to have all this done and placed back into the rom prior to flashing. I have manually edited this file before but interested in your method as well
thx
playya said:
can this also work by simply placing the proper jar file in a folder on your pc and doing it that way. I ask because I sometimes download remotely and would like to have all this done and placed back into the rom prior to flashing. I have manually edited this file before but interested in your method as well
thx
Click to expand...
Click to collapse
It should if you modify the script. If you don't know batch, then I could try and write a version for that as well if you would like.
prsterero said:
It should if you modify the script. If you don't know batch, then I could try and write a version for that as well if you would like.
Click to expand...
Click to collapse
That would be nice Thx. I would prefer to do it all on my PC and push file over or put in a zip if I do it for others
Sent from my A0001 using Tapatalk
playya said:
That would be nice Thx. I would prefer to do it all on my PC and push file over or put in a zip if I do it for others
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
I'll get to work on it. Got a midterm today, so may not get it done
@prsterero It works. However:
It has to be placed on desktop.
I had to change JDK folder name in the script to jdk1.8.0_20 as I have a never version installed.
Oh nevermind, the readme...
Irseq said:
@prsterero It works. However:
It has to be placed on desktop.
I had to change JDK folder name in the script to jdk1.8.0_20 as I have a never version installed.
Oh nevermind, the readme...
Click to expand...
Click to collapse
The power of readme files haha
playya said:
That would be nice Thx. I would prefer to do it all on my PC and push file over or put in a zip if I do it for others
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Give it a shot now. The link is in the OP. I ran through it and it seems to work correctly, but I can't flash the zip to test it out. Let me know if you have any issues
prsterero said:
Give it a shot now. The link is in the OP. I ran through it and it seems to work correctly, but I can't flash the zip to test it out. Let me know if you have any issues
Click to expand...
Click to collapse
Will do
Sent from my A0001 using Tapatalk
Now confirmed working with Robbie's sabermod cm11
Confirmed not working for me on cm-11-20141216-NIGHTLY-bacon :/
The modified ROM is able to boot, but every app that uses the new AbsListView immediately crashes (this even include the power menu, I had to hard reboot my phone !). I have Xposed installed and running with modules such as ForceFastScroll that might interfer with the mod... This needs further testing!
Anyway, great job mate!
I need this and the link is down what's up with it
I found the thread to edit the. Xml and when I view the file in ES Explorer, I can see the entire file but when I click on edit it's like half of the file disappears. I can't edit the last part of the file because it's not there. Anyone have any suggestions?
I know lots of people like ES, but I found it pretty flakey. I really like FX:
https://play.google.com/store/apps/details?id=nextapp.fx
and the root add-on:
https://play.google.com/store/apps/details?id=nextapp.fx.rr
Hasn't failed me yet, and it's the only file manager I've used that keeps the permissions correct when you edit and save a file.
I have a sprint g3 that is rooted. I tried to do the volume mod but ran into some problems. I did exactly what it said. I edited it with es file explorer. In your last section labeled speaker and headphone, there is no section on my g3. I went through the whole text file 3 times and there is no such section. I did find and change the other changes exactly as you specified. After I was done, I rebooted and it got stuck on the sprint boot screen. I took the battery out and tried starting back up but each time it gets stuck on the sprint boot screen. I did a battery pull 4 times and each time the same thing happens. Now when I do a battery pull and hold the power button, nothing happens, it doesn't even turn on. Please help.
Anyone have any suggestions on this??
I had to try to do a full wipe by reinstaling the OP through the LG website because I didn't have a custom recovery installed to back up. Somehow that didnt work and ended up bricking my device. I was within the warranty period so I just exchanged the phone. I would like to try the vol mod again (this time with twrp installed) but don't want to run into the same issues. Is there anyone that can help me with this? Thank you
I have flashable vol mods already. In the stock ZV4,ZV6 and all the Barrin Roms. They're in the op of each.
You can just pull them from the zip, place it, and make sure to FIX PERMISSIONS. That's why the bootloop. If you want to do it manually.
The first thing is to not save and reboot with an incomplete file. If you can't edit it fully, don't save it. I made the edits with FX, Linked above, and it didn't truncate the file. Finally, after editing and saving, double check that the permissions are 0644 / rw-r--r-- before rebooting.
Oh, and make a nandroid backup of your rom first, including the East partition, so if something goes wrong you can recover and make a copy of the original file, too.
Edit: Corrected the permission, in red, above.
This is a update. Just to refresh, I am on a sprint phone rooted with custom recovery, model # LGLS990, first off these are the only two files thats similar in system-etc mixer_paths_auxpcm.xml and mixer_paths.xml. Which mixer file do I use? I used the mixer_paths.xml. I found a file that someone had saved in another thread with the modified changes so I downloaded that file, moved it to my phone, copy and pasted it, overwrite the orignal file, then changed permissions and when it rebooted, I had no sound at all. PLEASE HELP
engine95 said:
I have flashable vol mods already. In the stock ZV4,ZV6 and all the Barrin Roms. They're in the op of each.
You can just pull them from the zip, place it, and make sure to FIX PERMISSIONS. That's why the bootloop. If you want to do it manually.
Click to expand...
Click to collapse
Thanks for the response. Could you link to the volume mods? I would really appreciate it. I just don't want to grab a wrong file thats not for my model device.
meyerweb said:
The first thing is to not save and reboot with an incomplete file. If you can't edit it fully, don't save it. I made the edits with FX, Linked above, and it didn't truncate the file. Finally, after editing and saving, double check that the permissions are 0644 / rw-rw-r-- before rebooting.
Oh, and make a nandroid backup of your rom first, including the East partition, so if something goes wrong you can recover and make a copy of the original file, too.
Click to expand...
Click to collapse
I noticed you said on the permissions rw-rw-r but in the Op of the vol mod (different thread), it said to use rw-r-r-
I am a little confused as to which permission to use??
jreink01 said:
Thanks for the response. Could you link to the volume mods? I would really appreciate it. I just don't want to grab a wrong file thats not for my model device.
Click to expand...
Click to collapse
If your on ZV6, then flash this. http://forum.xda-developers.com/showthread.php?p=56990565
If on ZV4, then look in those threads. I'm on my phone so I can't multi-link.
Edit. Here for ZV4. http://forum.xda-developers.com/showthread.php?p=54322264
And here. http://forum.xda-developers.com/showthread.php?p=56234124 you'll need to pull the extras out that you don't want/need, from these though.
engine95 said:
If your on ZV6, then flash this. http://forum.xda-developers.com/showthread.php?p=56990565
If on ZV4, then look in those threads. I'm on my phone so I can't multi-link.
Edit. Here for ZV4. http://forum.xda-developers.com/showthread.php?p=54322264
And here. http://forum.xda-developers.com/showthread.php?p=56234124 you'll need to pull the extras out that you don't want/need, from these though.
Click to expand...
Click to collapse
I'm on zv 4. I'm not sure what to do. Do I just pull the build prop out of the zip and use it like it is? Iclicked on your 2nd link and just downloaded the zip. I'm not sure what the first link is for. Sorry, but I just want to make sure I absolutely know what Im doing so I dont brick another g3. Thanks again for the help.
jreink01 said:
I'm on zv 4. I'm not sure what to do. Do I just pull the build prop out of the zip and use it like it is? Iclicked on your 2nd link and just downloaded the zip. I'm not sure what the first link is for. Sorry, but I just want to make sure I absolutely know what Im doing so I dont brick another g3. Thanks again for the help.
Click to expand...
Click to collapse
First off, be careful you do not take the ota. You will lose root and have to Flashtool back to zv4. There's threads on that.
I don't remember what's in the zips, but you can flash it all and it'll probably run better. If you just want the mixer_path.xml, delete the build prop, and any other file. Leave Meta and system/etc/mixer path.xml
jreink01 said:
I noticed you said on the permissions rw-rw-r but in the Op of the vol mod (different thread), it said to use rw-r-r-
I am a little confused as to which permission to use??
Click to expand...
Click to collapse
Sorry, my typo. the OP is correct.
engine95 said:
First off, be careful you do not take the ota. You will lose root and have to Flashtool back to zv4. There's threads on that.
I don't remember what's in the zips, but you can flash it all and it'll probably run better. If you just want the mixer_path.xml, delete the build prop, and any other file. Leave Meta and system/etc/mixer path.xml
Click to expand...
Click to collapse
Ok, thanks. So, I can just flash the entire zip then? Flashing the entire zip will probably make it run better then? Or do I need to pull apart the zip and just use the mixer file. The entire zip is for the stock rom then? Thanks for your help, havent done this in a few years so I'm a bit rusty. By the way, you said to leave meta, what is that file? If I'm just flashing the zip, I can do through recovery then?
Yes. Leave meta. Its part of what directs the file in the zip file where to go and gives permissions to replace existing files Etc.
---------- Post added at 09:20 AM ---------- Previous post was at 09:15 AM ----------
OK. So I'm a bit confused too about what engine95 linked to. There are zips for final mixer path, and for extreme volume. Which one does the stereo effect? Having trouble reading some of the strings in the first post against the black background of Xda app
I flashed the mixer xml file. It worked but the speaker volume is still a little too low. How can I change the speaker volume to a little bit louder? Thanks
jreink01 said:
I flashed the mixer xml file. It worked but the speaker volume is still a little too low. How can I change the speaker volume to a little bit louder? Thanks
Click to expand...
Click to collapse
Which part do I need to edit to change just the speaker volume? Thanks in advance.
jreink01 said:
Which part do I need to edit to change just the speaker volume? Thanks in advance.
Click to expand...
Click to collapse
About mid file. It'll say "speaker". 70 is the Extreme version setting.
engine95 said:
About mid file. It'll say "speaker". 70 is the Extreme version setting.
Click to expand...
Click to collapse
I went into path - speaker and to digital volume and changed the rx values (3 and 4) to 70 and rebooted and now I'm in a bootloop. It stays on the sprint logo screen. Please help.
jreink01 said:
I went into path - speaker and to digital volume and changed the rx values (3 and 4) to 70 and rebooted and now I'm in a bootloop. It stays on the sprint logo screen. Please help.
Click to expand...
Click to collapse
Not 3 and 4. 1 and 2. I think I have them at 65. And your bootloop is because you didn't set permissions properly. You'll need to restore in TWRP if you made a backup. If you didn't, then it's Flashtool.
If you're still on zv4 why didn't/don't you just flash the extreme one I linked you to before?
OK thanks but the permissions were set correctly. rw-r-r
There is no 1 and 2 that I see. I have attached a screenshot.