[MOD] Autobrightness Values to conserve battery life + Native SIP Integration - Samsung Epic 4G Touch

Auto Brightness levels modified to lower values to save battery life.
I modified my framework-res per the origional poster. All credit goes to LockeOn in the Intl S2 forums. Per his origional modification thread -
Auto Brightness values set to:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>5</item>
<item>30</item>
<item>70</item>
<item>130</item>
<item>255</item>
</integer-array>
Origional Values are:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>32</item>
<item>69</item>
<item>118</item>
<item>177</item>
<item>255</item>
</integer-array>
http://forum.xda-developers.com/showthread.php?t=1235212
Here is the link to my modified framework file on the Starburst 1.5 Rom.
http://www.megaupload.com/?d=Z70ZBBWZ
You will need to adb push this to /system/framework/framework-res.apk or use Root Explorer to rename and move to the correct location.
Per request I have integrated the Autobrightness feature and native SIP calling over wifi and 3g data connections in the framework-res.apk file. You will still be required to push android.software.sip.voip.zip file linked below in addition to the SIP modified frameworl-res.apk file. The file "android.software.sip.voip.zip" needs to be extracted and the "android.software.sip.voip.xml" gets pushed to "system\etc\permissions\", all credit for this goes to mobilegalaxy. I simply incorporated the modified framework-res.apk to take advantage of this feature.
Link to Modified SIP-Autobrightness file:
http://www.megaupload.com/?d=4S2SFMFQ
Link to thread to get the Native SIP stack support file:
http://forum.xda-developers.com/showpost.php?p=14421757&postcount=1
You will need to reboot your phone for these changes to take effect.

Does this work on other roms, or just Starburst?

If you need a little help:
So, plug in the USB. Then open CMD (get drivers if you havent already) then:
1: adb devices (to make sure mounted)
2: adb remount
3: adb push "file path of download" /system/framework/framework-res.apk
(so if you put in the platform tools folder:
adb push c:\android-sdk-windows\platform-tools\unsignedframework-res.apk /system/framework/framework-res.apk)
4: Reboot needed? Or does it take effect instant?
Seems to be working for me! Thanks!

Does this apply to us as well?
http://forum.xda-developers.com/showpost.php?p=14421757&postcount=1
If so, can you add this?

The mod will work on any rom, my framework file should only be used on Starburst.
I can update to include sip calling

Only thing I don't like is that it changed the mod on the 3g icon when I pushed this. Good work though, testing it out now.
Sent from my SPH-D710 using XDA App

That's weird, now my 3g icon is back to normal. How do I check if it is still modded?
Edit:
Okay after pushing this I rebooted and that's when my 3g icon wasn't modded anymore. I got LOS so I rebooted again and then I found my Google account was removed so I had to sign in again and then noticed my 3g icon was modded again. Does this not survive a reboot?
Sent from my SPH-D710 using XDA App

It is persistent as its changes are in the framework xml. I don't think your symptoms are related. What other mods are you running?
Sent from my SPH-D710 using xda premium

akkord64 said:
The mod will work on any rom, my framework file should only be used on Starburst.
I can update to include sip calling
Click to expand...
Click to collapse
Can't wait especially since I'm on starburst rom as well
Sent from my Epic Galaxy S2

akkord64 said:
It is persistent as its changes are in the framework xml. I don't think your symptoms are related. What other mods are you running?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
None, just starburst 1.5 and this is all I've done.
Sent from my SPH-D710 using XDA App

The Starburst ROM has a feature where the 3g icon and signal meter's change color depending on the status of Roaming and Google Sync. Is this what you are referring to?

akkord64 said:
The Starburst ROM has a feature where the 3g icon and signal meter's change color depending on the status of Roaming and Google Sync. Is this what you are referring to?
Click to expand...
Click to collapse
I was doing neither. I'm not even sure this mod is actually working....
Sent from my SPH-D710 using XDA App

I do notice a difference on my brightness levels when the light sensor kicks in. You may want to try editing your apk using the instructions from the original thread. Maybe something was lost in your application...
Someone else please confirm if you saw this behavior.
Sent from my SPH-D710 using xda premium

Ok i just pushed the framework-res with sip but i don't see it on my phone...According to the other thread, it should be under settings>call settings.

krazyflipj said:
Ok i just pushed the framework-res with sip but i don't see it on my phone...According to the other thread, it should be under settings>call settings.
Click to expand...
Click to collapse
You need to push the file on the other thread for the sip changes' but the framework has been edited to take advantage of this new feature. I will update Op with the link for reference.
Once this is completed, >Settings>Call Settings will show a sub-section for "Use Internet Call Settings", under that there is the option to add SIP providers.

Hello, Sorry about the Dumb question but i have SIP enabled but how i can use it? do i have to create an account with someone or there is some setting somewhere i can use? how can i make it funtional to make call overIP?

Related

Auto brightness

So, using the ota I see it uses a range if values for the auto brightness.
Is there a mod or way to move the range down? As it is now, my eye sockets burn after looking at the web in a darkened room.
Sent from my ADR6300 using Tapatalk
I seem to have the opposite problem. On every ROM I have installed on my Inc, using the Auto setting always makes the screen way too dim and it is slow to brighten back up when light hits the sensors. I think maybe the screen protector is causing some of that but I'm not sure. Usually after this I just set my CurveFish widget to 25% and leave it at that.
I'm guessing there aren't any mods?
Sent from my ADR6300 using Tapatalk
Just bumping this hoping for something.
Can;t a flashable zip be made that just changes the range auto brightness uses?
I changed my default brightness setting in the build.prop file to 10. Will test tonight
-- Sent from my HP TouchPad using Communities
Didn't change anything.
Screw it. I'm decompiling the required resource file tomorrow.
Sent from my ADR6300 using Tapatalk
I'm actually interested in this so we all have a closer configuration that everyone can use on any rom. cm7 has like 19 levels and slow to adjust and I'm hearing rumors only 10 levels actually work
dyetheskin said:
I'm actually interested in this so we all have a closer configuration that everyone can use on any rom. cm7 has like 19 levels and slow to adjust and I'm hearing rumors only 10 levels actually work
Click to expand...
Click to collapse
I'll post an update tomorrow for.sure.
Sent from my ADR6300 using Tapatalk
zoomy942 said:
So, using the ota I see it uses a range if values for the auto brightness.
Is there a mod or way to move the range down? As it is now, my eye sockets burn after looking at the web in a darkened room.
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
It's funny I seem to have the opposite problem with stock 2.2 on mine. My screen will go quite dim in the sunlight and I need to turn the lcd off and on again to restore it back to proper brightness. It only seems to happen when I let the LCD go dim while in the browser.
Done. I'm testing now. If it works I'll upload it.
zoomy942 said:
Done. I'm testing now. If it works I'll upload it.
Click to expand...
Click to collapse
Okay. It's 100% working. I had to pull the framework.res, decompile it, adjust the settings (called arrays), recompile it, and reinsert it into my rom. Once I did that, it broke some stuff like accounts and syncs. I knew it would and i reloaded them.
Once i knew it worked, i inserted that file into a rom I made and reflashed. Works great. Now it will go full bright in a bright room and in a dark room it fades down to 10, which is the lowest number.
Exactly what i wanted since at night the screen was blinding.
How does anyway want me to get the file to them? Upload the file? My rom?
FYI - my rom is just a simple OTA that's rooted but tons of stuff is removed from it. It's so much more than debloated....
What exactly did you change, and where is it located in the framework-res.apk?
Once I decompiled the framework-res.apk, I look in
\framework-res\res\values\arrays.xml
Opened it in notepad and changed this part...
Code:
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>11</item>
<item>41</item>
<item>91</item>
<item>126</item>
<item>161</item>
<item>164</item>
<item>187</item>
<item>210</item>
<item>233</item>
<item>255</item>
Then i recompiled the file and inserted the framework file into my ROM archive/zip file.
A flashable zip would be ideal then we could list it as a mod.
Huzaa!!
Once I decompiled the framework-res.apk, I look in
\framework-res\res\values\arrays.xml
Opened it in notepad and changed this part...
Code:
11
41
91
126
161
164
187
210
233
255
Then i recompiled the file and inserted the framework file into my ROM archive/zip file.
A flashable zip would be ideal then we could list it as a mod.
Huzaa!![/quote]
did you try it? I'd love to offer this as a mod to the community
Click to expand...
Click to collapse
zoomy942 said:
did you try it? I'd love to offer this as a mod to the community
Click to expand...
Click to collapse
Yes just got finished and rebooted. Great find. Just like you said bright in bright light and dim in the dark.
The only problem with making this a flashable is that a bunch of other mods also edit the framework-res.apk. So flashing this mod would wipe out those mods and flashing other mods would wipe out this one. Also i believe some rom devs edit their framework-res file for their specific rom. So a flashable of this mod may mess up other things in the rom. As a manual edit though its awesome.
Yes just got finished and rebooted. Great find. Just like you said bright in bright light and dim in the dark.
The only problem with making this a flashable is that a bunch of other mods also edit the framework-res.apk. So flashing this mod would wipe out those mods and flashing other mods would wipe out this one. Also i believe many rom devs edit their framework-res file for their specific rom. So a flashable of this mod may mess up other things in the rom. As a manual edit though its awesome.
Click to expand...
Click to collapse
Understood, and I surely don't want to go breaking stuff. Too bad though because I'd love to contribute to xda and my fellow inc owners with this. That auto brightness was making me nuts.
If you want to spend the bucks, Juicedefender beta with UltimateJuice has an excellent brightness control, plus a lot more features. Been using it for several months and I'm very happy with it. CPU control works great with tiny's newest kernel, too.
Yes just got finished and rebooted. Great find. Just like you said bright in bright light and dim in the dark.
The only problem with making this a flashable is that a bunch of other mods also edit the framework-res.apk. So flashing this mod would wipe out those mods and flashing other mods would wipe out this one. Also i believe some rom devs edit their framework-res file for their specific rom. So a flashable of this mod may mess up other things in the rom. As a manual edit though its awesome.
Click to expand...
Click to collapse
I also found changing the default brightness in the build.prop made the initial brightness detections smoother.
Great work.
steelerfnpeter said:
Great work.
Click to expand...
Click to collapse
Thanks! Just wish I could advertise it more.
Sent from my ADR6300 using Tapatalk

[GUIDE] Build.prop mods tutorial.

Hello fellow android users, Cant find anything like this in our T989 forums so ill write one for the few of us who have not flashed build.prop mods or the crazies like me who want to know exactly whats going in my phone . This is a collection of things i know that work on 2.3.6 aosp,cm7. Tested on G1, MT3G, Vision, Supersonic, LG P999 and T-989
#Add-disable debug icon in notification panel
persist.adb.notify = 0
#Add-GPU hardware acceleration. toggle 1=on and 0=off
debug.sf.hw=1
#mod-resolution/lcd density find this line in your buildprop change (240). I like 230 the most but read of people doing 180, clear market updates if you have problems
ro.sf.lcd_density=240
#Add-lock launcher into memory works well with adw, adw ex clean scrolling and animations untested with others:
ro.HOME_APP_ADJ=1
#Add-remove boot animation
debug.sf.nobootanimation=1
#Add-remove delay after ending calls:
ro.lge.proximity.delay=25
mot.proximity.delay=25
#Add-save battery life while on wifi (SCAN INTERVAL IN MILLISECONDS)
wifi.supplicant_scan_interval=180
#Add-jpg quality 100 %:
ro.media.enc.jpeg.quality=100
#Add-fix dialing out delay:
ro.telephony.call_ring.delay=0
#Add-3/4 G optimizing High-Speed Packet Access Evolved=3g on crack LETS JUST CALL IT 4G. Hey its cool with the ITU
ro.ril.hsxpa=2
ro.ril.gprsclass=32
ro.ril.hep=1
ro.ril.hsdpa.category=28
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=268449905
ro.ril.hsupa.category=9
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
ro.ril.enable.sdr=1
ro.ril.enable.gea3=1
ro.ril.enable.fd.plmn.prefix=23402,23410,23411
ro.ril.disable.power.collapse=0
ro.ril.enable.a52=1
ro.ril.enable.a53=1
ro.ril.enable.dtm=1
#mod-build number shown within setting/about. add whatever after the =
ro.build.display.id=GINGERBREAD.UVKID
Anything with (ro) is a running system variable you must reboot to take affect.
Within root explorer navigate to system/build.prop make sure you toggle ro/rw in the top right corner. long press build.prop until a menu appears select open with text editor proceed to add or change variables you've selected from above. When finished save&exit. Root explorer will back up the original.
Please pm me if you have any feedback or additions to this list.
Feel free to use this in anything you want roms/mods/flash-able zips whatever. PERMISSION GIVEN cause what are we without open souce.
This is pretty cool. I am not a developer but I am impressed by the level of detail in customization... thanks for the info..
Sent from my GT-I9000 using xda premium
richiebm said:
This is pretty cool. I am not a developer but I am impressed by the level of detail in customization... thanks for the info..
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
@AllGamer, please sticky.... OP awesome breakdown
Great thread but not development. Should be stickied in general.
Sent from my Hercules with xda Premium.
Build.prop edits not development? Its just not a flashable zip like the rest supercharger script etc.
Sent from my SGH-T989 using Tapatalk
Thanks voidthedroid just trying to show people how to mod there own buildprops not just flash something, not that there is anything wrong with that. This way you can pick and choose which mod is right for you, You ultimately need to decide what you want to put in your build number segment i don't think i could make a flash-able zip do that.
lordzu said:
Thanks voidthedroid just trying to show people how to mod there own buildprops not just flash something, not that there is anything wrong with that. This way you can pick and choose which mod is right for you, You ultimately need to decide what you want to put in your build number segment i don't think i could make a flash-able zip do that.
Click to expand...
Click to collapse
Sure man keep it up, I've already added one to mine ;-)
Sent from my SGH-T989 using Tapatalk
Do we just add thes lines into build prop. Like how would i go about adding the 3g optamizing one?
Sent from my HercuBEAST!!!
Babyj303 said:
Do we just add thes lines into build prop. Like how would i go about adding the 3g speed one?
Sent from my HercuBEAST!!!
Click to expand...
Click to collapse
Open your build.prop and add the lines. Save and exit. Reboot twice.
wpf54173 said:
Open your build.prop and add the lines. Save and exit. Reboot twice.
Click to expand...
Click to collapse
WRONG.. you dont ADD the lines. You EDIT the ones that are already there. just find the corresponding line, edit it to the value you want (after the = sign, usually) then save, and reboot... root tools has a build.prop editor that works real good.
Enzopreme said:
WRONG.. you dont ADD the lines. You EDIT the ones that are already there. just find the corresponding line, edit it to the value you want (after the = sign, usually) then save, and reboot... root tools has a build.prop editor that works real good.
Click to expand...
Click to collapse
not all the build.props have all those lines in there. You can't edit anything if they're not in there.
sic_lic1o1 said:
not all the build.props have all those lines in there. You can't edit anything if they're not in there.
Click to expand...
Click to collapse
Ya cuz mine doesnt have the 3g optamizing line in it o added it in but cant yell cuz im in blackhawk shotty service anyways.
Sent from my HercuBEAST!!!
Maybe a title Chang would help [mod] diy build.prop editing that may cut out the confusion on placement
Sent from my SGH-T989 using Tapatalk
And maybe a tut on how to
Sent from my HercuBEAST!!!
Do all build prop commands work on all devices? There should be some kind of database.
Sent from my SGH-T989 using Tapatalk
aalsmadi1 said:
Do all build prop commands work on all devices? There should be some kind of database.
Sent from my SGH-T989 using Tapatalk
Click to expand...
Click to collapse
+1001
Sent from my Juggernauted HercuBEAST!!!
I feel it would be nice to see a before and after Build.prop image.
I feel comfortable changing the data, but I am not comfortable on where to place it within the many lines of information. I do understand that some are already there, but in my situation I am running the Alpha build of CM7 and there is no information for the data that I can see that matches what you have provided therefore confusing the crap out of where I might add/put those changes to mine.
I hope that all made sense.
Whatever I added I just put under the tweaks section
Sent from my Juggernauted HercuBEAST!!!
This is indeed a developement thread , it's giving build.prop modification's which help's the ROM & a few people that build roms include build.prop modification's .
i always use 167 on all my android phones and then use launcher pro to increase the columns and rows according to screen size...on my gs2 i have 6 columns and 8 rows...plenty of space for widgets...

[BUGFIX] Vlingo/Waze TTS Cutoff FF18

Hi all,
After being frustrated with not having TTS working correctly in Waze in any FF18 build, I decided to investigate. I remember that in the 4.0.3 FD26 version of MIJJz blend, TTS worked correctly for me in Waze. Any build after that and it would cut off. I compared files between FD26 and FF18 and found a couple of files that were changed between that dealt with audio. Here's my solution:
Push libstagefright.so to /system/lib from FD26
add media.stagefright.enable-player=true to build.prop
And that's it. TTS not cutting off anymore in Waze. I'm sure it should resolve the vlingo issue also. What's strange is that svoice is based on vlingo but it doesn't have the cutoff issue.
I'm going to test this further over the next few days to see if anything else was broken by pushing a 4.0.3 file to the 4.0.4 build.
Attached is the libstagefright.so that I'm using. MAKE A BACKUP OF YOUR LIBSTAGEFRIGHT.SO.
Also, use a build prop editor app. I tried messing with it from my PC and it caused my phone to get stuck on boot. MAKE A BACKUP OF YOUR BUILD.PROP.
Next on my list to try is the bluetooth A2DP streaming restarts.
I TAKE NO RESPONSIBILITY FOR BRICKS.
tdunham said:
Normally, file permissions are set exactly the same as the rest of the files in that particular root directory. In this case /system/lib is rw-r--r--
Click to expand...
Click to collapse
Haha, no-one else with this issue?
Sent from my SPH-D710 using Tapatalk
I have this issue with Waze on Calk's 1.6 rom. I kept going back to Calk 3.0 because of it. I'll try this out and let you know if it works.
Thanks for the bug fix. I've been waiting for someone to work on this.
What is the vllingo cutoff issue?
Sent from my SPH-D710 using Tapatalk 2
Where the text to speech cuts off the last few seconds of the audio. Also had the same issue with waze and some other apps that don't use the native Google tts. Happened when they went from ICS 4.0.3 to 4.0.4
Sent from my SPH-D710 using Tapatalk
I'm sure some folks will appreciate this. There were definitely more than a few complaining about it when the leaks were coming out.
BTW have you experimented to see whether you need both the library and the setting or just one or the other?
sfhub said:
I'm sure some folks will appreciate this. There were definitely more than a few complaining about it when the leaks were coming out.
BTW have you experimented to see whether you need both the library and the setting or just one or the other?
Click to expand...
Click to collapse
I know for sure just having the change to the build prop does not fix it, haven't tried just pushing the lib
Sent from my SPH-D710 using Tapatalk
dafluke24 said:
I have this issue with Waze on Calk's 1.6 rom. I kept going back to Calk 3.0 because of it. I'll try this out and let you know if it works.
Thanks for the bug fix. I've been waiting for someone to work on this.
Click to expand...
Click to collapse
Just FYI, I tested Waze out this morning on Calk's 1.6 rom and I didn't get the cut off issue. Everything is working great. Thanks again for providing the fix.
Jus use wa la nigh an th cu of iss i s freak anno!!!
Thanks for the fix
Just wanna say THANKS SO MUCH FOR THIS. I am on the tweaked stock FF18 and I flashed the Google Now zip and it worked fine but the little audio cutoff was driving me nuts. I did this and it was fixed. so i appreciate it.
yep this fix works perfectly if your mikeyxda v6 gooogle now is cutting off the last sentence.
nacron said:
Hi all,
After being frustrated with not having TTS working correctly in Waze in any FF18 build, I decided to investigate. I remember that in the 4.0.3 FD26 version of MIJJz blend, TTS worked correctly for me in Waze. Any build after that and it would cut off. I compared files between FD26 and FF18 and found a couple of files that were changed between that dealt with audio. Here's my solution:
Push libstagefright.so to /system/lib from FD26
add media.stagefright.enable-player=true to build.prop
And that's it. TTS not cutting off anymore in Waze. I'm sure it should resolve the vlingo issue also. What's strange is that svoice is based on vlingo but it doesn't have the cutoff issue.
I'm going to test this further over the next few days to see if anything else was broken by pushing a 4.0.3 file to the 4.0.4 build.
Attached is the libstagefright.so that I'm using. MAKE A BACKUP OF YOUR LIBSTAGEFRIGHT.SO.
Also, use a build prop editor app. I tried messing with it from my PC and it caused my phone to get stuck on boot. MAKE A BACKUP OF YOUR BUILD.PROP.
Next on my list to try is the bluetooth A2DP streaming restarts.
I TAKE NO RESPONSIBILITY FOR BRICKS.
Click to expand...
Click to collapse
How do I access the build.prop settings in order to make these changes.
comptonhubbard said:
How do I access the build.prop settings in order to make these changes.
Click to expand...
Click to collapse
I too would like to know this :silly:
Sounds like there may be easier ways, but I made a copy of my build.prop and then connected to my PC to open the file with Notepad. From there I noticed I already had media.stagefright.enable-player=true in there so no edits had to be made, just the push of the libstagefright.so file. (I'm running Blazer 1.5)
This problem has been bugging me for months, so much thanks out to nacron for the fix!
I'm running Supernova 1.3 and found all I needed to do was push the file to my system/lib folder and reboot! Problem is gone!
Thank you!
Sent from my SPH-D710 using Tapatalk 2
This is my first time build.props, where do you type in media.stagefright.enable-player=true anywhere? Thanks for all the help, step by step?
TheDudeAbides said:
This is my first time build.props, where do you type in media.stagefright.enable-player=true anywhere? Thanks for all the help, step by step?
Click to expand...
Click to collapse
try it without editing the build.prop. doing it wrong can cause your phone to get stuck at boot screen. If you must, look in play store to get an editor
Sent from my SPH-L710 using Tapatalk
nacron said:
try it without editing the build.prop. doing it wrong can cause your phone to get stuck at boot screen. If you must, look in play store to get an editor
Sent from my SPH-L710 using Tapatalk
Click to expand...
Click to collapse
System settings are all new to me, sorry.
I found the download in ES file explorer long press it to Copy > up to root > system > lib > Paste? (is that it)
Thanks. This fixed the voice cutoff off on Google now too. Running wicked sensations 1.6.
Sent from my SPH-D710 using xda premium
TheDudeAbides said:
System settings are all new to me, sorry.
I found the download in ES file explorer long press it to Copy > up to root > system > lib > Paste? (is that it)
Click to expand...
Click to collapse
If you use ES, it may rename the copied file when you paste it. Delete the original and rename the file you copied...that's it!

WiFi Calling Settings SIP Client

Is the T-Mobile wifi calling [app?] a sip client? If so, would be possible to locate it's apk (decompile it) and have it connect to a different sip server?
You mean like that?
Sent from my SGH-T999 using xda premium
LordPhong said:
You mean like that?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Right. However those options don't seem to be present in JB leaks (at least not xquizit's v20) and that would be active all the time requiring some tasker or locale plugins to deactivate when leaving wifi.
Just install a SIP client.
Sent from my SGH-T999 using xda premium
redhooka said:
Just install a SIP client.
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
I have but they have downsides. This sip client seems to have very little latency and high quality audio. Is this just due to a codec difference? Plus it is wonderfully integrated into TW.
apktool troubles
KevlarTheGreat said:
Thanks for the info. I'm curious why it would never be shipped with the official ROM? The T-Mobile WiFi calling appears to be open source: http://code.google.com/p/the-ims-open-source-project-for-android/ . Is there a different reason it wouldn't ship with stock CM10 or are you just guessing?
Click to expand...
Click to collapse
So after finding and referencing this site I have dove into apktool. It seems ims-service.apk is responsible for handling the sip connection. On decompliation, I found some xml files that reveled some settings/values for the sip connection. However, even if I make no changes to any of the files and rebuild ims-service, I am left with a resulting non-functional (wifi-calling is unable to connect) apk of a smaller size. What is going wrong in the decomp/recomp process?
commands I am issuing (w/apktool 1.5.0)
Code:
apktool if framework-res.apk
apktool is twframework-res.apk
apktool d ims-service.apk
apktool b ims-service
dist/ims-service.apk is then pushed to /system/app/
So their current wifi calling is no longer based on UMA at all, but is instead SIP? I prefer their UMA, but it never seemed to be reliable.
LordPhong said:
You mean like that?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Is this gone in the jelly bean leaks? Why is it gone?
nullredvector said:
So after finding and referencing this site I have dove into apktool. It seems ims-service.apk is responsible for handling the sip connection. On decompliation, I found some xml files that reveled some settings/values for the sip connection. However, even if I make no changes to any of the files and rebuild ims-service, I am left with a resulting non-functional (wifi-calling is unable to connect) apk of a smaller size. What is going wrong in the decomp/recomp process?
commands I am issuing (w/apktool 1.5.0)
Code:
apktool if framework-res.apk
apktool is twframework-res.apk
apktool d ims-service.apk
apktool b ims-service
dist/ims-service.apk is then pushed to /system/app/
Click to expand...
Click to collapse
Since I don't have access to a S3 - could you post whta some of those settings are? It'd be intersting to see if it is possible to configure a SIP client to acess the Tmobile wifi calling system.
Not having wifi calling is holding my self, and many other back from getting a Nexus 4.. and the amoled screen on S3 and the high price is keeping me away from an S3..
arvonn said:
Since I don't have access to a S3 - could you post whta some of those settings are? It'd be intersting to see if it is possible to configure a SIP client to acess the Tmobile wifi calling system.
Not having wifi calling is holding my self, and many other back from getting a Nexus 4.. and the amoled screen on S3 and the high price is keeping me away from an S3..
Click to expand...
Click to collapse
Were you guys able to find anything out? I am also curious to know if the Tmobile WiFi calling is based on sip or not.
As far as I have been able to tell the new Wi-Fi calling is based on IMS... So the real question is, can any SIP client connect to IMS. I believe not, but hence the curiosity.
Sent from my Nexus 4 using xda premium

[MOD][HOWTO][MK4][JB4.3] Add Additional Toggles to Quick Settings ( Root Required )

I take no credit for the modification as I have only gathered the information for the mod from the write ups on the Galaxy S4 here and another from a blog post on the Sprint Galaxy Note 3 here. I am posting this for all members using Sprint phones, specifically the Sprint Samsung Galaxy Note 2 ( SPH-L900 ).
Warning/Disclaimer: ​
This modification was done using my Sprint Galaxy Note 2 currently on the "modified" Stock MK4 Update with no Knox/Bootloader & Rooted.
As always PLEASE make a Nandroid backup of your phone before attempting to modify any system settings. Although this worked for me, others may have different outcomes. It appears that other carrier phone models running on JB 4.3 have had the same success using similar methods as these but it is not guaranteed for it to work for you.​
​
We all know the drill.......
​ =============================================================================================================================================
​ ADVISORY/WARNING FROM THIS POINT FORWARD........​
MODIFYING OR HAVING ATTEMPTED TO MODIFY ANYTHING ON YOUR DEVICE IS DONE "AT YOUR OWN RISK". I WILL NOT BE HELD LIABLE FOR YOU BRICKING, DAMAGING AND/OR MAKING YOUR DEVICE FAIL OR FUNCTION PROPERLY. YOU COMPREHEND AND AGREE (EVEN THOUGH MANY HAVE SUCCESSFULLY MODIFIED THEIR DEVICES) THAT "YOU" AS THE PERSON IF USING ANY SOFTWARE, CUSTOM OR STOCK BEING FOR YOUR COMPUTER OR DEVICE, TO MODIFY YOUR DEVICE WILL IN NO WAY BLAME ANYONE BUT YOURSELF AND TAKE FULL RESPONSIBILITY FOR YOUR OWN ACTIONS.
IF YOU ARE NOT COMFORTABLE ATTEMPTING ANY MODIFICATIONS AND TAKING THE RISKS INVOLVED THEN PLEASE DON'T DO THEM.​
=============================================================================================================================================​
Now A Flashable Zip!​
Although some of the newer MK4 roms are coming out with the extra toggles built in, this flashable zip will do it for you thanks to @CNexus
CNexus said:
I adapted the zip I made for enabling extra toggles on the Sprint S3 for the toggles listed above.
Click to expand...
Click to collapse
CNexus said:
Flash in recovery after booting into the rom at least once!
Enjoy!
Click to expand...
Click to collapse
Download:
Enable hidden toggles​
==============================================================
Flash Light Toggle Mod
Credits go to:
@CNexus for the How to
@smaw51 for the Flashable zip​
Newer Version:
By CNexus: Flashable ZIP that will read your current toggles list and add ";Flashlight" to the end of it.
Will work on all devices since it uses busybox to mount the partitions.​
Download:
Flashable ZIP
Later Version:
Add the Flash Light Toggle by flashing in recovery. Once flashed just follow the steps below to add " Flashlight; " at the end of the value for "notification_panel_active_app_list" and your set.
Incase one wanted to know, the flashable zip flashes the modified System apk's into one's System/app folder ( including the Torch.apk ) for the toggle to work.
Download:
​ Flash Light Toggle zip​
=============================================================================================================================================
Manual Version
Now to the modding.......
I have successfully added 13 Additional Toggles to my Quick Settings (of which have all activated and deactivated) on my phone when pressed.
As of 01/19/14 one is able to add one more that was manually added in by member CNexus as mentioned above.
They are:
1. Mobile Data​ 2. Airplane Mode
3. Smart Pause
4. Brightness
5. Wi-Fi Hotspot
6. Smart Scroll
7. Smart Stay
8. S Beam
9. NFC
10. Air Gesture
11. Blocking Mode
12. Air View
13. Smart Network
14. Personal Page
15. Reading Mode
16. Network Restriction
17. Flashlight ( Manually Added )
=============================================================================================================================================
Credit:
The "How Too" will be very similar to the two link at the top. Again I take no credit and thank Gam3r 4 Life, the blog post author Korey Wong, Black Moon, levi727 and mrlamo for their information gathered for this How To. I know there are others out there I may be missing and please forgive but the trail will go one forever and I will say thank you all for the findings to get this done.
=============================================================================================================================================
​These are the steps I took to add all 13 toggles:​
​Things Needed:
Root Access
​ Your File Manager of choice with root access. ( ex. ES File Explorer, Root Explorer, etc.)
SQLite Editor <------- Got it from Here
​ TB Restore Fixer <---------- Got it from the Play Store You May Not Need This.
How Too:
Open your File Manager of choice ( w/ root access ) and from your HOME directory navigate to data /data /com.android.providers.settings /databases.
Once there, backup all three files; settings.db, settings.db-shm & settings.db-wal for safe keeping before any modification are done. ( settings.db is the file in question to be modified ).
After backing up your files, and after having downloaded and installed SQLite Editor on your Note 2, open SQLite Editor and allow it root permissions when prompted if necessary. It will begin to search for databases and generate a list.
If for some reason you get the Error Code 14 message when trying to run SQLite Editor, you will need to download and install TB Restore Fixer from the Play Store. Once downloaded, run the app, allow root and apply the fix. Worked for me after I did this.
Once it's done searching and having generated the list, scroll down and tap the "Settings Storage" file.
Tap the "settings.db" file.
Tap the "system" file.
Once in the system file, scroll down until you find "notification_panel_active_app_list", tap to highlight it. (It was #432 for me). You may notice that you may have to tap the one right above it to get it to highlight. Also make sure it's the notification_panel_active_app_list, and NOT the notification_panel_default_active_app_list. If you pick the wrong one, it will not work.
Once you have highlighted it, tap your phones menu button and tap on "Edit Record".
You'll see three boxed sections with information. The one to be modified will be the one labeled "values". You'll notice a list of all the toggles that are currently enabled which show up in the notification area.
At the end of the list you will add a semicolon " ; " directly followed by the Quick Settings Tab name alternating both and so forth. Leave no spaces between them or the toggles will not show up. example: ;AirplaneMode;MobileData;Once you are done adding the names, Save what you have modified.
Now reboot your device. Once booted up you should have and be able to see all the extra toggles you added.
Here is a list of the values one must enter to get all the extra toggles: Got them from here​
Code:
;MobileData;AirplaneMode;SmartPause;Brightness;WiFiHotspot;SmartScroll;SmartStay;SBeam;Nfc;AirGesture;DormantMode;AirView;SmartNetwork;ReadingMode;PersonalMode;ToddlerMode;
Flashlight; if you have done the mod.
​
=============================================================================================================================================
Toggles Not Working When Pressed:
Personal Page - Not Working
Tested Roms So Far:
MK4 Knox Free Full Rom Odex/Deodex Updated -- SPH-L900
[ROM MK4]Smoothest Note 2/3 Rom (imho) -- SPH-L900
[ROM MK4][ROM][MK4] SynergyROM | WiFi Tether | 11-28-13 r2 -- SPH-L900​
=============================================================================================================================================
If there are any Toggles I may be missing or you have found to be working for the Sprint Galaxy Note 2 ( SPH-L900 ), please post them up. If I have missed someone on giving credit, I am sorry and please PM me so that I may give credit where credit is due. Hope this helps some on toggles.​
=============================================================================================================================================
​
​
Awesome worked like a charm, thanks for finding this and posting.
Sent from my SPH-L900 using xda app-developers app
Worked great on smoothest note 2/3 imho. I did have to do the TB restore fixer to make it work.
Sent from my SPH-L900 using XDA Premium 4 mobile app
Thanks
Sent from my SPH-L900 using XDA Premium 4 mobile app
No problem. Glad to post the info.
jlmancuso said:
Thanks
Sent from my SPH-L900 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
what was the name/link of this theme again? and have you noticed anything broken on it while running 'Smoothest rom 2/3'?
Also, I didn't want to confuse anyone on the how to and omitted from adding this information but as far as the settings in the rom, it limits how many toggles are visible at the top to slide around. At this time I have not found the file to change the settings or if it is possible on this stock rom to change the count number of visible toggles as seen here .
Also comparing my toggles on the pulldown to the toggles in my Display/Notification in my phone settings, there is a difference of one. We are limited to 22 visible toggles in the settings panel and/or what we have available in our phones by our provider as well.
I will keep digging to see what I can locate.
Some other toggles to try:
ToddlerMode;
Ebook;
PersonalMode;
Update:
Now have 16 Toggles...
I guess limited to what we have.
Also there must be a Torchlight/ Flashlight somewhere toggle as I found these. If not lets see what we can do. That was the start of all this actually, wanting the Torchlight feature back in my Toggles instead of having to install an app. Although I had the toggle in a custom rom before, these settings are showing on this rom.
Sorry for all these random updates...... one link leads to another..... then another.
It seems the Torchlight/Flashlight feature may interferes with other settings in the phone as to why it was not implemented. I hope I am wrong on this but this is what I have read.
There is a hidden setting to enable the Torchlight/Flashlight feature just as the Galaxy Note 3's and other phone variants do as well by holding the Volume Up while the screen is off. I followed the how too here. I do at times not get the light to come on but I keep trying and it does. You can set the torchlight time-out as well. ( This feature is also available in the Xposed Framework App: Wanam Xposed ). Leads to the same Settings Tab.
Thank you very much works great
Worked great, didn't even need TB Restore Fixer. Thanks! :good:
DarkAngel said:
Code:
;MobileData;AirplaneMode;SmartPause;Brightness;WiFiHotspot;SmartScroll;SmartStay;SBeam;Nfc;AirGesture;DormantMode;AirView;SmartNetwork;ReadingMode;PersoalMode;ToddlerMode;
Toggles Not Working When Pressed:
Personal Page - Not Working
Tested Roms So Far:
-- MK4 Knox Free Full Rom Odex/Deodex Updated -- SPH-L900
======================================================================
If there are any Toggles I may be missing or you have found to be working for the Sprint Galaxy Note 2 ( SPH-L900 ), please post them up. If I have missed someone on giving credit, I am sorry and please PM me so that I may give credit where credit is due. Hope this helps some on toggles.
.
.
.
Click to expand...
Click to collapse
Do you think personal page toggle doesn't work because you have a typo in the code above? You have" persoal" instead of personal. I haven't tried it yet, just thought I'd throw that out there.
sent via tapatalk - sph-l900
cuezaireekaa said:
Do you think personal page toggle doesn't work because you have a typo in the code above? You have" persoal" instead of personal. I haven't tried it yet, just thought I'd throw that out there.
sent via tapatalk - sph-l900
Click to expand...
Click to collapse
Thank you for catching the mistake. Although I do have it correct on my phone it wont work at all when I toggle it. If it works for you please let us know.
DarkAngel said:
Thank you for catching the mistake. Although I do have it correct on my phone it wont work at all when I toggle it. If it works for you please let us know.
Click to expand...
Click to collapse
strange thing happening to me... I added all of those entries from the code without any spaces and they're still not showing up after a reboot..I only have the ones in my screenshot. Not a big deal, just wondering why they're not showing up..
Sent from my SPH-L900 using Tapatalk 4
Well I am pretty sure it's different for everyone depending on their carrier. I assume not all are going to be the same. You have 12 extra toggles that showed up compared to my 16. I would make sure they work when you press them though. For me, Personal Page ( PersonalMode ) showed up but did nothing for me.
Mongo23ny said:
Worked great, didn't even need TB Restore Fixer. Thanks! :good:
Click to expand...
Click to collapse
That's awesome.
Another thing I found that was not there ( well for me ) as in the S4 or Note3 was the Active Number of Apps ( #2077 for me ). Out of the blue, it appeared for me. It was not there before as I was looking for it up and down, over and over. Just to show that it can be modified, I changed it to 15 and the second picture shows the change. The third picture is the original.
DarkAngel said:
Well I am pretty sure it's different for everyone depending on their carrier. I assume not all are going to be the same. You have 12 extra toggles that showed up compared to my 16. I would make sure they work when you press them though. For me, Personal Page ( PersonalMode ) showed up but did nothing for me.
Click to expand...
Click to collapse
Gotcha. For me the last couple row are only there for aesthetic reasons for the most part. Haha
I only use the top 2 row.
Now if some of the cm toggles were there that'd be cool ie music, camera, immersive mode, flashlight, contact, etc.
Thanks anyway for postung and sharing.
sent via tapatalk - sph-l900
cuezaireekaa said:
Gotcha. For me the last couple row are only there for aesthetic reasons for the most part. Haha
I only use the top 2 row.
Now if some of the cm toggles were there that'd be cool ie music, camera, immersive mode, flashlight, contact, etc.
Thanks anyway for postung and sharing.
sent via tapatalk - sph-l900
Click to expand...
Click to collapse
No problem, look above as i posted something else I noticed popped up for me. It was already stated as well but I was surprised it appeared to be modified on my phone.
I adapted the zip I made for enabling extra toggles on the Sprint S3 for the toggles listed above.
Flash in recovery after booting into the rom at least once!
Enjoy
Enable hidden toggles
@DarkAngel feel free to add this to the OP :thumbup:
CNexus said:
I adapted the zip I made for enabling extra toggles on the Sprint S3 for the toggles listed above.
Flash in recovery after booting into the rom at least once!
Enjoy
Enable hidden toggles
@DarkAngel feel free to add this to the OP :thumbup:
Click to expand...
Click to collapse
All I did was edit the csc in my rom so all toggles are there at boot
Sent from my SPH-L900 using XDA Premium 4 mobile app
lorjay589 said:
All I did was edit the csc in my rom so all toggles are there at boot
Sent from my SPH-L900 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Wait where? I've been looking for a way to do that but no luck so far
Mind sharing? Thanks! :thumbup::thumbup:

Categories

Resources