[MOD][GB] Phone app with ascending ringtone disabled - Samsung Galaxy S (4G Model)

Some Samsung phones, including Galaxy S 4G, have a feature: ascending (increasing, gradient) ringtone. It means that when a phone rings, a ringtone goes from barely audible to the maximum volume in a short period of time. Some people like it, and some don't, because they prefer the normal ringtone volume.
I took the Phone app from Barebone ROM 1.1.3 by AntonX, decompiled it, and removed some code. That code changed the ringtone volume, I deleted it, and therefore, disabled the ascending ringtone.
I've already got a request to share, so here is a CWM flashable ZIP (attached to this post). It was tested on Barebone 1.1.3, and worked fine.
This ZIP file replaces Phone.apk and Phone.odex in /system/app with their modified versions, and sets their permissions.
Thanks goes to the_ozyrys for instructions on how to fix ascending ringtone, to sicopat for tutorial on deodexing and odexing, to AntonX for Barebone ROM, to Samsung for SGS4G stock ROM, and of course to Google for Android and making it free.
Please note that Barebone ROM is odexed (the odex files can be found in /system/app next to the apks). So this ZIP probably won't work with deodexed ROMs (as they have no odex files). I do have the deodexed Phone.apk, by the way, which may work on deodexed Gingerbread ROMs, but I did not test it.
Use at your own risk. There are no guarantees of any kind. I take no responsibility for anything that may happen to your phone because you tried to use this file.
If you tried this file and it worked for you, you can let me and other people know by hitting the "Thanks" button next to this post.

Thanks
Sent from my SGH-T959V using xda app-developers app

Works perfectly. Thanks for the magic.

Related

[MODS][KPU] Pack for odexed/deodexed [24/05/12]

Hey guys,
I made these flashable zips to easly get a stock, but yet powerful, ROM.
This is for odexed KPU and deodexed KPU.
If you have any suggestions, leave a message.
Why odexed? Why not.
See this if you are interested in modding odexed apks.
Here the list of mods in this pack (and "how to" if you want to port them to other firmwares): see below for the updates
Lower brightness levels [services.jar, Settings.apk, SystemUI.apk]
Lower autobrightness levels [framework-res.apk]
1% battery mod [framework-res.apk]
AOSP lockscreen without haptic feedback [android.policy.jar, framework.jar]
SMS + No contact limit + No MMS convert + Sent time [Mms.apk]
Added support for LED notifications [services.jar] (this needs CyanogenMod liblights. See below.)
More smooth scroll [framework.jar]
Extended powermenu [framework-res.apk, android.policy.jar] (only "Reboot" option)
Autobrightness doesn't work properly. Basically the sensor determines the current ambient light every Xseconds. If the value is not so different from the previous lux value, it's ignored. That's good because it prevents random brightness changes, however it works well only with the stock values, while the values I set are too close and sometimes the brightness is "stuck". You should do some changes to prevent this: [1], [2]
FYI: the values I set are not that good. If anyone is interested and know how to change them, here is what I'm using now:
Code:
<integer-array name="config_autoBrightnessLevels">
<item>6</item>
<item>22</item>
<item>110</item>
<item>432</item>
<item>684</item>
<item>2780</item>
</integer-array>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>3</item>
<item>20</item>
<item>35</item>
<item>50</item>
<item>110</item>
<item>180</item>
<item>255</item>
</integer-array>
Note: Clear data for Messaging under Settings->Applications->Manage Applications (it won't delete your messages) to make the changes effective. The stock app can only save one date (sent or received), if you need both of them use another app.
Click to expand...
Click to collapse
I changed few things in the theme (I took some images from CyanogenMod 7).
If you don't like some images, see the last part of this post. (I also wrote why I can't add swipe to remove notifications)
No additional apps included, no apps removed, no data wipes, no kernel included, no tweaks.
Downloads:
odexed
KPU-mods-pack.zip
Restore: restore-KPU.zip
deodexed
KPU-mods-pack-deodex.zip
Restore: KPU-restore-deodex.zip
__________________________________
Extended powermenu with Screenshot option - thanks to cybert and for this.
[android.policy.jar, framework-res.apk]
odexed: extended-screenshot.zip
deodexed: extended-screenshot-deodexed.zip
__________________________________
CRT off effect: (enable animations: Settings->Display->Animation)
[framework-res.apk]
odexed/deodexed: crt-off-effect.zip [framework-res.apk]
__________________________________
Incoming Call Ringtone Flip to Mute (thanks to dhiru1602) + No increasing ring (thanks to YG007)
[Phone.apk]
odexed
flip-no-increasing.zip
Restore: flip-no-increasing-restore.zip
deodexed
flip-no-increasing-deodexed.zip
Restore: flip-no-increasing-deodexed-restore.zip
dhiru1602 said:
Sensor Usage
You might notice some Sensor Usage for Phone app. This is quite normal because the Sensors are used to check the Orientation of the phone. This would last only for the duration of the Call Ring. I have checked to see if the sensors are being stopped and It seems to work fine. Let me know if there are any issues, because if there is any issue with the sensors, it might lead to a battery drain.
Click to expand...
Click to collapse
dhiru1602 said:
Note: I have configured the sensor settings to be effective only when the phone is resting on a flat surface with the screen upwards. I have found that this type of configuration is required to prevent issues with phone going mute accidentally when its in your pocket and you receive a call. Unfortunately, I don't receive many calls to practically test it for accuracy. Hope it serves the purpose.
Click to expand...
Click to collapse
__________________________________
Toggle buttons shortcut: thanks to M_J_Nazari and _JKay_ for this.
If you longpress on a toggle button in the notification bar, you'll get to the respective setting page. [SystemUI.apk]
odexed: systemui-shortcut.zip
deodexed: systemui-shortcut-deodexed.zip
Flash the pack to restore the original file
__________________________________
6 Toggle buttons: http://forum.xda-developers.com/showpost.php?p=26461422&postcount=48
__________________________________
Additional zips:
(these should work on every stock rom)
Disable TouchWiz sounds
Sounds disabled: low battery, charger/usb plugged in, battery charged + boot sound (it simply renames some audio files in /system/media/audio/ui/ and /system/etc/):
disable-sounds.zip
Restore: enable-sounds.zip
disable-boot-sound.zip
Restore: enable-boot-sound.zip
Chainfire touchscreen tweaks
More info here. Probably you won't feel any difference
touchscreen-init.d.zip
Restore: remove-touchscreen-init.d.zip (or simply delete /etc/init.d/10touchscreen)
Button LED notifications
More info here. There's no need to use Lightflow, unless you need missed call notifications (Lightflow takes the control of your LEDs, so it's possible that some apps that natively supports LED notifications won't be able to use them).
You need to do a change in the kernel to fully support this feature.
liblights.zip
Restore: restore-liblights.zip
If you want to convert the partitions in ext4, use CF-Root-ext4-v1.3u1-Addon.apk. You can get it from here.
You can easly convert from and to RFS and check filesystem integrity.
IMPORTANT: Make sure you have at least 10MB of free space in /system before the conversion (you can see the amount of free space from ext4 Manager [CF-Root-ext4-v1.3u1-Addon.apk]), otherwise the conversion will fail, but there's no problem, the addon will automatically convert /system in RFS and restore all the files (the other partitions will be converted in ext4).
Click to expand...
Click to collapse
At this pace no one can stop you . Keep going and keep modding
Your the best modder i've seen so far... Thank you for sharing your mods with the Galaxy SL community...
With you skills maybe you can help porting CM9...
cool, may I only port mms.apk to phone (XXKPU) instead of all?
Additional note : when extract file using 7zip found Mms.odex file inside, do require that file to park in /system/app?
Thanks in advance.
u are an assett to this devise..!
i wud love to learn things from u..!!! and i will catch u for sure...dis is ideal.. odex=faster and that too with mods.. stock+fast..
no mods is the only thing dat deterred me from going to kpu.. i will make the leap now..
awwsome work brother..
The most usefull mod i've seen round here in months...clean without useless options. How about a flip to mute mod? Thank you.
calvinljh said:
cool, may I only port mms.apk to phone (XXKPU) instead of all?
Click to expand...
Click to collapse
Yes
calvinljh said:
Additional note : when extract file using 7zip found Mms.odex file inside, do require that file to park in /system/app?
Click to expand...
Click to collapse
Yes
klau7 said:
The most usefull mod i've seen round here in months...clean without useless options. How about a flip to mute mod? Thank you.
Click to expand...
Click to collapse
I don't know, if it's easy to do, I could do it, but I first need to see what are the changes needed.
Anyway I think you can use system deodexed app, even if your rom is odexed. You simply need to remove from /system/app both the .apk and the .odex files and replace them with the single .apk file. This is not a general rule, you can't replace all the odexed apks, and I'm not a 100% sure that a modded deodexed phone.apk will work (that's the apk you need to mod for "flip to mute").
You can try and if something goes wrong, you can always restore everything with a nandroid backup.
loSconosciuto said:
Yes
Yes
I don't know, if it's easy to do, I could do it, but I first need to see what are the changes needed.
Anyway I think you can use system deodexed app, even if your rom is odexed. You simply need to remove from /system/app both the .apk and the .odex files and replace them with the single .apk file. This is not a general rule, you can't replace all the odexed apks, and I'm not a 100% sure that a modded deodexed phone.apk will work (that's the apk you need to mod for "flip to mute").
You can try and if something goes wrong, you can always restore everything with a nandroid backup.
Click to expand...
Click to collapse
Hi bro, thanks with info, tried also with Odex file /system/app/ no working at all.
Mms.apk no limit doesn't work.
Sent from my Supercharged GT-I9003 with Beats Audio & Xloud
calvinljh said:
Hi bro, thanks with info, tried also with Odex file /system/app/ no working at all.
Click to expand...
Click to collapse
calvinljh said:
when extract file using 7zip found Mms.odex file inside, do require that file to park in /system/app?
Click to expand...
Click to collapse
Should I read the underlined part as "... found Mms.odex and my rom is deodexed ..."?
Use this (you don't have to use the .odex file): Mms.apk
erik07 said:
Mms.apk no limit doesn't work.
Click to expand...
Click to collapse
Sorry, I forgot to add this in the OP:
If it doesn't work, clear the cache, the Dalvik cache, and also clear data for Messaging under Settings->Applications->Manage Applications (it won't delete your messages).
Click to expand...
Click to collapse
Actually, you only need to clear data for Messaging, there's no need to clear the cache and the Dalvik cache.
http://forum.xda-developers.com/showthread.php?t=1065452
Do u think it is better a odexed system or a deodexed one? What are the advantages?
luiseteyo said:
Do u think it is better a odexed system or a deodexed one? What are the advantages?
Click to expand...
Click to collapse
The problem of an odexed rom is that modding, as you probably know, is harder and some mods don't work, unless you reodex the whole rom (there are some scripts here on xda that does it for you, but doing so you can't use your modded files on a stock rom, they'll only work in your reodexed rom).
The main difference is that Android doesn't have to generate .dex files for odexed apks/jars (no .dex files in /data/dalvik-cache/ for them"). This brings, as far as I know, these advantages:
The first boot requires less time (Android has to build .dex files only for apps in /data)
/system is a read-only partition, so it's really hard to corrupt odex files, while it's possible to have a corrupted Dalvik cache (I don't think this is a common issue, it never happened to me). This can also gives problems when you flash a zip because the .dex file made before the flash doesn't work with the new apk, but all these issues can be solved with a Dalvik cache wipe (=> point 1).
An odexed rom requires less space in /data (again, see point 1), but it also true that it uses more space in /system (deodexed apk size < odexed apk + odex size), but, as I said, /system is a read-only partition, so there's no need to have free space there.
But I really don't know if there's any difference in the performance of your rom.
I'm using an odexed rom because that's how it was when I flashed it. Plus I don't have any problem in modding odexed apk, I even made a shell script that helps me in that (maybe I'll release it, I have to clean the code first), so I had no reason to deodex my rom (the few mods I use are made by myself ).
Is it possible that you'll use these mod on a deodexed rom...? Or would it have conflicts...?
landono5 said:
Is it possible that you'll use these mod on a deodexed rom...? Or would it have conflicts...?
Click to expand...
Click to collapse
No, odexed apps can't be used in deodexed rom.
You should use this on a deodexed KPU
I think this is the right one, but I can't test it.
And you if you want to restore the original files you should use this
(to make an odexed apk you need to deodex it first, I already had these files)
good mods mate keep it up
Sent from my GT-I9003 using XDA
i know this sounds very noob but really wants to know this.if i use odexed rom,may i be able to delete samsung bloatware in /system/apps safely?
rarap said:
i know this sounds very noob but really wants to know this.if i use odexed rom,may i be able to delete samsung bloatware in /system/apps safely?
Click to expand...
Click to collapse
Yes. You can. But in this case you have to remove 2 files: application and odexed resources (they will lie in the same directory.
Отправлено с моего GT-I9003
than'k u sir'...
loSconosciuto said:
Hey guys,
I wanted to share these flashables zips to easly get a fast but yet powerful stock rom.
This is for odexed KPU
UPDATE: and deodexed KPU.
Here the list of mods in this pack (and "how to" if you want to port them to other firmwares):
Lower brightness levels [services.jar, Settings.apk, SystemUI.apk]
Lower autobrightness levels [framework-res.apk]
1% battery mod [framework-res.apk]
AOSP lockscreen without haptic feedback [android.policy.jar, framework.jar]
SMS + No contact limit + No MMS convert + Sent time [Mms.apk]
Added support for LED notifications [services.jar] (this needs CyanogenMod liblights. See below.)
More smooth scroll [framework.jar]
Extended powermenu [framework-res.apk, android.policy.jar] (only "Reboot" option)
There's no CRT off effect (maybe I'll provide an additional zip if someone wants it, it's easy to add)
I changed few things in the theme (I took some images from CyanogenMod 7).
No additional apps included, no apps removed, no data wipes, no kernel included, no tweaks.
Note:
Clear data for Messaging under Settings->Applications->Manage Applications (it won't delete your messages).
Downloads:
odexed
KPU-mods-pack.zip
restore-KPU.zip (use this to restore everything)
deodexed
(I didn't post it before simply because it overwrites most of the mods out there):
KPU-mods-pack-deodex.zip (not tested)
KPU-restore-deodex.zip
Additional zips:
Disable TouchWiz sounds
Sounds disabled: low battery, charger/usb plugged in, battery charged + boot sound (it simply renames some audio files in /system/media/audio/ui/ and /system/etc/):
disable-sounds.zip
enable-sounds.zip
disable-boot-sound.zip
enable-boot-sound.zip
Chainfire touchscreen tweaks
More info here. Probably you won't feel any difference
touchscreen-init.d.zip
remove-touchscreen-init.d
Button Led notifications
More info here. There's no need to use Lightflow, unless you need missed call notifications (Lightflow takes the control of your leds, so it's possible that some apps that natively supports LED notifications won't be able to use them).
With Lightflow you can't really control LEDs (we are still looking for a solution).
liblights.zip
restore-liblights.zip
If you want to convert the partitions in EXT4, use CF-Root-ext4-v1.3u1-Addon.apk. You can get it from here.
You can easly convert from and to RFS and check filesystem integrity.
IMPORTANT: Make sure you have more or less 10MB of free space in /system before the conversion (you can see the amount of free space from ext4 Manager [CF-Root-ext4-v1.3u1-Addon.apk]), otherwise the conversion will fail, but there's no problem, this addon is really well done and it will automatically restore everything.
Click to expand...
Click to collapse
will this work on deodexed KPQ? wanna try this out
Maybe, but if I were you, I wouldn't flash it.
This pack will replace a lot of framework files, that means you'll have an hybrid KPQ-KPU rom.
Probably all the mods here included exist for KPQ (it was and maybe it's still the most used rom), just look for them.
You can use all the additional zips, they are not rom specific.
PS: there's no need to quote the OP.

[THEME][AROMA] Galaxy SIII for Rocket Rom v4 --- [07.06 Update v2]

Update v2
Ported to v4! New installer as well called Aroma. This installer includes touchdrivers and I've calibrated it for our device as well as added our hardwarebuttons in case you like using Vol up/down to navigate, lol. Mind you, the Note has horrible recognition at the edges of the screen. Anyways... No need to flash the stock look theme as this already does that. Added touchwiz themed dialer. I've added a fully working S Voice with correct voice as opposed to the other APKs out there. This one is just fine and does not use Googles TTS.​
If you have ANY new system app installed this will FAIL! From a fresh install to S Voice instead of Media I only had 8k free in /system. It won't be much more if you chose Media instead of Audio.
WORDS OF CAUTION:
Look. RRv4 is a TW rom, meaning it's a huge-ass rom. Because of it, you'll have to choose between installing S Voice or the SIII audio files. If you try to install both you'll get an error and you'll be stuck with no audio... If you WANT to install both, you CAN if you pre-emptively delete /system/media/audio folder and a few APKs in /system/app before installing this zip. Or you can MOVE the apks over as data apps. Anyways, that's why I can only condone installing this after a CLEAN install. You can still install the theme no problems, but choosing either S Voice or Media without having sufficient space... yeah.
ALWAYS CHOOSE TO SAVE LOG JUST IN CASE SOMETHING GOES WRONG!
If after choosing reboot it goes back to Recovery with an error, send me your logfile.
S Voice instructions:
Go to settings
Go to Language and input
Go to Voice recognition
Change to Samsung powered by Vlingo
Go to Text-to-speech output
Change to Samsung TTS
Have fun with the Siri-wannabe
After bootup, go to Play Store and install YouTube. I had to delete it as System app because of size constraints.
Download link for CWM-flashable zip DOWNLOAD ME!
--------------------------------------------
Update v1.6
Ported to v3. Thanks to eybee including SecLauncher2.apk and widgets, this .zip is a BIT lighter. Flash rom, reboot, go back to recovery after initial boot is done, and flash my .zip.​
Download link for CWM-flashable zip DOWNLOAD ME!
--------------------------------------------
Update v1.5.2
Added Galaxy S III widgets and audio. Weather does not contain the dreaded, ugly starburst with the number 1 or 2 in it. This contains eybees latest Data toggle in dropdown menu WITH the latest batteryfix. Enjoy my updater-script upon installation. ​
Download link for CWM-flashable zip DOWNLOAD ME!
Mirror link for CWM-flashable zip courtesy of xda890 DOWLNOAD ME!
If you do not see the lyrics to Rebecca Black - Friday upon installation (after progress bar has disappeared to the right side, lol), then you have installed the wrong zip and that's why you still have the battery bug.
Tons of quick updates.
EDIT ADD: Do not install these if you're on Rocket Rom v2. Will update it tomorrow for v2.
Nice job!! Love the SIII Icons! my NoteSIII homescreen is now complete! the only problem is that the systemUI.apk is causing my com.android.phone process to FC.
A question...whats the difference between the stock SystemUI.apk and the new SystemUI.apk?
What rom are you running? That APK only has a few icons changed. Mainly the Settings icon in notification area and other places. It's not an important APK for desktop-aesthetics, really. Hope you backed up your old one.
I'm running stock ICS LPY. I backed all the APK's before i replaced them. Returned the old SystemUI.apk and Phone.apk and all is fine now
can this be done on midteam roms 1.3 or 1.4.
I install this theme on rocket v2
nex7er said:
Tons of quick updates.
EDIT ADD: Do not install these if you're on Rocket Rom v2. Will update it tomorrow for v2.
Click to expand...
Click to collapse
Hi!
This zip is for you
Flash to recovery
http://www.mediafire.com/?c7259zm4lqwepvk
If you like can post
What's in this zip?
I'm going to see about baking all the icons into the SGS3 launcher for the next update.
nex7er said:
What's in this zip?
I'm going to see about baking all the icons into the SGS3 launcher for the next update.
Click to expand...
Click to collapse
CallSettings.apk
Camera.apk
ClockPackage.apk
Contacts.apk (Updated in v1.3)
FmRadio.apk
Gallery3D.apk
Mms.apk
MusicPlayer.apk
MyFiles.apk
Phone.apk
Settings.apk (Updated in v1.2)
SettingsProvider.apk
SystemUI.apk
TouchWizCalculator.apk
VideoPlayer.apk
VoiceRecorder.apk
All
Ah, nice! I'm currently making a ZipThemer theme so when people flash in CWM only the .PNGs get update. That way the theme should be universal. Will update when I'm done.
_giggino_ said:
CallSettings.apk
Camera.apk
ClockPackage.apk
Contacts.apk (Updated in v1.3)
FmRadio.apk
Gallery3D.apk
Mms.apk
MusicPlayer.apk
MyFiles.apk
Phone.apk
Settings.apk (Updated in v1.2)
SettingsProvider.apk
SystemUI.apk
TouchWizCalculator.apk
VideoPlayer.apk
VoiceRecorder.apk
All
Click to expand...
Click to collapse
nex7er said:
Ah, nice! I'm currently making a ZipThemer theme so when people flash in CWM only the .PNGs get update. That way the theme should be universal. Will update when I'm done.
Click to expand...
Click to collapse
vars har du sgs3 internet iconen? och saknas det nån fler?
Skickat från min GT-N7000 via Tapatalk 2
hasek82 said:
vars har du sgs3 internet iconen? och saknas det nån fler?
Skickat från min GT-N7000 via Tapatalk 2
Click to expand...
Click to collapse
I didn't change the internet icon as it's almost exactly the same, but I'm doing it in the next update. I don't think any other icons are missing, but if someone notices - please, do tell.
Also, if someone has used ZipThemer before, please help me out in here http://forum.xda-developers.com/showpost.php?p=26503477&postcount=236
I see that Kalagas has made his theme flashable with ZipThemer, but mine doesn't apply (though I get no error and it seems to be flashing just fine). I've tried putting his update-binary and phoneDatabase in the edify folders, but that just softbricked my phone.
Added flashable zip for latest Rocket Rom v2. Open with 7zip and remove SystemUI.apk and the folder "framework" if you're not on Rocket Rom v2. May also need to remove Phone.apk if you have FCs with Phone.
Updated to 1.4.1 with battery fix.
Working on landscape for 1.5
flashed on LP8 lost status bar
Says XXLPY on thread title.
Anyways, copying over a fresh SystemUI.apk from your roms .zip file (just extract it and place it in /system/app and correct permissions) should clear that up. If not, it's framework-res.apk in /system/framework. Can't remember where the statusbar is located.
why is wallpaper scrolling different? in previous TW, once the wallpaper is scrolled to the right end, it scrolls back to the left end of the wallpaper but this TW it instantly shows the first left end after scrolling through the right end of wallpaper. Not saying the transition is wrong but it doesn't look attractive without scrolling back.
That's just how it works. Until someone creative finds a nice fix, we'll have to live with it. :/ I only use 1 page so I hadn't noticed it myself, but others have taken notice before.

How to changeout camera apk in roms.

I'm interested in flashing the Sabsa Prime rom, http://forum.xda-developers.com/showthread.php?t=1839004 , but there are currently reported issues with the camera not working correctly. It's said (by the dev himself) that you can change the current camera apk with a previous one but I'm not exactly sure how to do this. I already have the camera.apk from the earlier version that works great, can I just extract the current rom and replace the camera.apk with the working one and rezip it as a .zip file and flash it? Or would I need to do something else to make it flashable or a different step all together? Thanks!
That sounds about right. Just keep the originals in case there are additional steps. Flash and test.
However, using that other cam apk, if it's the one I'm thinking, not sure if it's allowed. For personal use without re-distributing it, maybe but not quite sure.
Sent from a dream.
Unzip replace and rezip. I do this with all roms I use. There are apks I like to add and delete as well as system audios and bootani. You can alter the rom to your liking just remember not all apks work for a rom in other words you can not use sense apks on a aokp rom for example. And second if you do alter a rom you can not ask the Dev for help if something goes wrong with it, you altered it. With that said alter at your own risk and enjoy the learning.
Sent from my Ice Cold Inspire 4G

SecPhone Native Call Recording Enabled

Updated: 7-28-13 Add Sound Boost Mods(Im still playing around with these so let me know how they work)
Call Recorder Enabled flashable zips for (MF9 Build) Do not use Sound Boost Mods from other post they may cause problems I will be adding some here soon.
These zips are for the MF9 builds I dont know if they will work on other builds.
For Themed Or Stock SecPhone.apk (This Zip For Deodexed Roms only!)
This enables call recording on a stock or themed SecPhone.apk with out installing a whole new apk so if you are already using a themed SecPhone.apk it wont get reverted back to the white dialer.
Call Record Button on call screen for themed or stock SecPhone.apk
Download:
SPRINT_MF9_DEX_BUTTON.zip
Call Record Button in the menu for themed or stock SecPhone.apk
Download:
SPRINT_MF9_DEX_MENU.zip
Here are some pics https://drive.google.com/folderview?id=0BxIaJFUQPahraUR3MHRucWZ5cjg&usp=sharing using the Black It All Out theme
For Deodexed or Odex Roms Full SecPhone.apk Included In Zip
If You Have A Stock Rom With Custom Recovery Use This Zip!
If you have a Custom Recovery installed on either a odexed or deodexed system simply flash and reboot.
If you dont have a Custom Recovery download this zip and extract the contents and use a file manager with root access to copy the files to the appropriate folders. If you have a odexed rom remember to delete or rename SecPhone.odex file if manually pushing the files.
Call Record Button on call screen
Download:
SPRINT_MF9_FULL_BUTTON.zip
Record Button in the menu.
Download:
SPRINT_MF9_FULL_MENU.zip
Revert back to stock
Download:
SPRINT_MF9_FULL_STOCK.zip
Volume Boost Mods For Call Recording Will Also Make Call Recorder By Skvalex Work Properly
Thanks to jovy23 Original Post Here. I just modified them to work with Call Recording
To Flash Volume Boost Mods:
1. Flash one of the Call Record zips (If you have already flashed a Call Record zip goto step 3)
2. Reboot
3. Reboot back to recovery
4. Flash Volume Boost Mod
5. Reboot
6. To flash a different Volume Boost Mod just follow step 3 through step 5
Volume Very High Mod
Download:
Sprint_MF9_Volume_Call_Rec_LOUD.zip
Volume Moderate Mod
Download:
Sprint_MF9_Volume_Call_Rec_MODERATE.zip
Volume Stock
Download:
Sprint_MF9_Volume_Call_Rec_NORMAL.zip
Tried the Sprint_MF9_FULL_BUTTON one for Odexed MF9. I have the VOLUME BOOSTING SOUND [MODERATE] (http://forum.xda-developers.com/showpost.php?p=41775485&postcount=2]) and I noticed when using Speakerphone my voice came out very distorted while other caller's voice was fine. A different call without speakerphone tried came out great for both sides.
In case people are wondering, The Record Button replaces the "Add Caller Button" and the recordings are in AMR format and automatically goes into root/sdcard/Sounds/Call recording Phone Number- ###.amr For clarity sdcard is the built in phone storage space. External card is located under root/storage/extSdCard.
I still haven't tested this with bluetooth headset but should be fine I imagine.
jrkruse said:
Call Recorder Enabled flashable zips for (MF9 Build)
These zips are for the MF9 builds I dont know if they will work on other builds.
For Themed Or Stock SecPhone.apk (This Zip For Deodexed Roms only!)
This enables call recording on a stock or themed SecPhone.apk with out installing a whole new apk so if you are already using a themed SecPhone.apk it wont get reverted back to the white dialer.
Call Record Button on call screen for themed or stock SecPhone.apk
Download:
SPRINT_MF9_DEX_BUTTON.zip
Call Record Button in the menu for themed or stock SecPhone.apk
Download:
SPRINT_MF9_DEX_MENU.zip
Here are some pics https://drive.google.com/folderview?id=0BxIaJFUQPahraUR3MHRucWZ5cjg&usp=sharing using the Black It All Out theme
For Deodexed or Odex Roms Full SecPhone.apk Included In Zip
If You Have A Stock Rom With Custom Recovery Use This Zip!
If you have a Custom Recovery installed on either a odexed or deodexed system simply flash and reboot.
If you dont have a Custom Recovery download this zip and extract the contents and use a file manager with root access to copy the files to the appropriate folders. If you have a odexed rom remember to delete or rename SecPhone.odex file if manually pushing the files.
Call Record Button on call screen
Download:
SPRINT_MF9_FULL_BUTTON.zip
Record Button in the menu.
Download:
SPRINT_MF9_FULL_MENU.zip
Revert back to stock
Download:
SPRINT_MF9_FULL_STOCK.zip
Click to expand...
Click to collapse
I flashed the odexed menu and my contacts work fine but it won't record keeps giving an error no matter how many timesi tell our to record something about the media scanner is running.
Sent from my SPH-L720 using xda app-developers app
---------- Post added at 02:11 PM ---------- Previous post was at 02:03 PM ----------
I stand corrected for some reason it just started working. I also have the moderate volume boost installed and my voice is also very distorted I also noticed that the screen will not turn off during a call when you put the phone to your ear.
Sent from my SPH-L720 using xda app-developers app
copticwalad said:
Tried the Sprint_MF9_FULL_BUTTON one for Odexed MF9. I have the VOLUME BOOSTING SOUND [MODERATE] (http://forum.xda-developers.com/showpost.php?p=41775485&postcount=2]) and I noticed when using Speakerphone my voice came out very distorted while other caller's voice was fine. A different call without speakerphone tried came out great for both sides.
In case people are wondering, The Record Button replaces the "Add Caller Button" and the recordings are in AMR format and automatically goes into root/sdcard/Sounds/Call recording Phone Number- ###.amr For clarity sdcard is the built in phone storage space. External card is located under root/storage/extSdCard.
I still haven't tested this with bluetooth headset but should be fine I imagine.
Click to expand...
Click to collapse
Bluetooth will not record calls. If your having problems I would reflash my record zip and not flash the volume mod. I will be adding some volume boost mods that work with this build.
Chiefho70 said:
I flashed the odexed menu and my contacts work fine but it won't record keeps giving an error no matter how many timesi tell our to record something about the media scanner is running.
Sent from my SPH-L720 using xda app-developers app
---------- Post added at 02:11 PM ---------- Previous post was at 02:03 PM ----------
I stand corrected for some reason it just started working. I also have the moderate volume boost installed and my voice is also very distorted I also noticed that the screen will not turn off during a call when you put the phone to your ear.
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
If your having problems I would reflash my record zip and not flash the volume mod. I will be adding some volume boost mods that work with this build. Also you might want to turn of smart stay. Then go to settings to applications to the all tab fine phone and clear data.Reboot See if screen goes off and all works well then turn smart stay back on.
jrkruse said:
If your having problems I would reflash my record zip and not flash the volume mod. I will be adding some volume boost mods that work with this build. Also you might want to turn of smart stay. Then go to settings to applications to the all tab fine phone and clear data.Reboot See if screen goes off and all works well then turn smart stay back on.
Click to expand...
Click to collapse
That worked thanks recording is clear on both ends and the screen turns off. Miss the sound boost though will be waiting for it thanks so much.
Sent from my SPH-L720 using xda app-developers app
Sound Boost Mods Added To OP
Chiefho70 said:
That worked thanks recording is clear on both ends and the screen turns off. Miss the sound boost though will be waiting for it thanks so much.
Sent from my SPH-L720 using xda app-developers app
Click to expand...
Click to collapse
Sound Boost Mods In OP. Still Playing around with values so let me know how they work
jrkruse said:
Sound Boost Mods In OP. Still Playing around with values so let me know how they work
Click to expand...
Click to collapse
Sound boost seems to work good both side of recording are clear with the exception if I talk loud there is just a little crackling in the voice .
"If you dont have a Custom Recovery download this zip and extract the contents and use a file manager with root access to copy the files to the appropriate folders. If you have a odexed rom remember to delete or rename SecPhone.odex file if manually pushing the files."
So what files exactly are all needed to make this work when I do a manual push? I have an odexed ROM and would like to push the files manually- I do not have a custom recovery (nor do I want one at this time). I merged the button and menu download folders. I am assuming that I do not copy over the META INF folder only the system folder- but I just want to make sure. Also I am deleting the secphone.odex from the system/app folder of the phone?
speedee12 said:
"If you dont have a Custom Recovery download this zip and extract the contents and use a file manager with root access to copy the files to the appropriate folders. If you have a odexed rom remember to delete or rename SecPhone.odex file if manually pushing the files."
So what files exactly are all needed to make this work when I do a manual push? I have an odexed ROM and would like to push the files manually- I do not have a custom recovery (nor do I want one at this time). I merged the button and menu download folders. I am assuming that I do not copy over the META INF folder only the system folder- but I just want to make sure. Also I am deleting the secphone.odex from the system/app folder of the phone?
Click to expand...
Click to collapse
Extract my zip and copy the files to the appropriate folders SecPhone.apk to /system/app folder then delete SecPhone.odex or rename it like this SecPhone.odex to SecPhone.odex.bak then copy snd_soc_msm_2x_Fusion3 and snd_soc_msm_2x_Fusion3_auxpcm to /system/etc/snd_soc_msm. It is ok to overwrite these 2 files.Then Reboot. Then go to settings to applications to the all applications tab find Phone and clear data. Reboot again should have call recording enabled.
jrkruse said:
Extract my zip and copy the files to the appropriate folders SecPhone.apk to /system/app folder then delete SecPhone.odex or rename it like this SecPhone.odex to SecPhone.odex.bak then copy snd_soc_msm_2x_Fusion3 and snd_soc_msm_2x_Fusion3_auxpcm to /system/etc/snd_soc_msm. It is ok to overwrite these 2 files.Then Reboot. Then go to settings to applications to the all applications tab find Phone and clear data. Reboot again should have call recording enabled.
Click to expand...
Click to collapse
So updating the files bricked by phone. I restored everything and attempted another try. What ended up happening that caused my train wreck was- I transferred the files to my phone via bluetooth. When I looked at the files (after- yeah I know-mistake) the names of the 2 fusion files had "null" at the end of the extension. The second time around I sent them to the phone via data cable and all was good.
So now it works awesome, thanks much for the efforts and the help.
This mod doesn't play well with Google voice
Sent from my SPH-L720 using Tapatalk 2
Nevell said:
This mod doesn't play well with Google voice
Sent from my SPH-L720 using Tapatalk 2
Click to expand...
Click to collapse
It works fine for me I use it all the time.
jrkruse said:
It works fine for me I use it all the time.
Click to expand...
Click to collapse
Really like this mod but since im running on aosp rom, is it possible to flash Call Record Button call screen on it? Or is it only for TouchWiz?
TheGoodFellas said:
Really like this mod but since im running on aosp rom, is it possible to flash Call Record Button call screen on it? Or is it only for TouchWiz?
Click to expand...
Click to collapse
Only Touchwiz
works great with 3rd party recording apps.. i just flashed the msm files only ... thank you
Wondering if anybody had this issue, right now running crawrj_stock mf9 rooted and reaverepats-........ Theme and when I flash this Mod the Wi-Fi breaks. Stuck in "turning on" status. Is there somn that I'm not doing right?
I flashed the one designated for theme.
Stock / themed one located in the first download section. Tried both Dex button and menu
Thanks in advance,
Z.
Sent from my SPH-L720 using Xparent Skyblue Tapatalk 2
Ok dumb question but if I have a stock odexed ROM but was able to change the theme to the all black one (even though it is listed as for deodexed only - by manually pushing the apk), what do I push manually from the menu zip to get this to work without reverting back to white using the full apk version? The snd_soc_msn folder under etc and the secphone.apk inside the vrtheme folder?
zsibisi said:
Wondering if anybody had this issue, right now running crawrj_stock mf9 rooted and reaverepats-........ Theme and when I flash this Mod the Wi-Fi breaks. Stuck in "turning on" status. Is there somn that I'm not doing right?
I flashed the one designated for theme.
Stock / themed one located in the first download section. Tried both Dex button and menu
Thanks in advance,
Z.
Sent from my SPH-L720 using Xparent Skyblue Tapatalk 2
Click to expand...
Click to collapse
Well an FYI if anyone has had this issue.....
I ended up flashing a modified kernel and all is working well. I wanted to stick close as stock as I could and ended up using Negemans stock kernel from the OP posted for his ROM.
Z.
Sent from my SPH-L720 using Xparent Skyblue Tapatalk 2
So off topic how did you get everything to black out I flashed the blackout theme but not everything is themed like your screen shots in your Google folder the dialers are themed mine are normal...
Sent from my SPH-L720 using Tapatalk 2

[Q] Volume Rocker Wake for Nexus 5

Hi all, I'm hoping someone will be able to help me out.
I am running stock 4.4/rooted with TWRP 2.6.3.2 recovery.
I am looking for either a pre-packed mod or instructions of how to create the mod myself to allow the volume rocker to wake the Nexus 5.
I really miss this function from my Galaxy Nexus and I really don't like using the power button all the time...it just seems sensible to have this mod to spread the use of the buttons.
I'm sure people would agree that it is absolutely baffling that Google hasn't included this as standard in stock Android.
I used the following mod on my Galaxy Nexus:
[MOD][JWR66V] Add Screen Lock button to Statusbar - by: evilisto
I realise this is mainly aimed at adding the screen lock button but it also includes an option to enable volume rocker wake.
I then obviously used the options included in CM after this.
I have done various Google searches and searched the xda forums, there are various references and mod instructions, but nothing that refers to Nexus 5.
I also know that various custom ROMs have this function already, but I am wary of flashing anything currently with all the custom recovery problems people are having (including myself...I've already had to restore phone with factory image once), going to wait until recoveries are more stable.
Basically, I am hoping someone can point me in the direction of this mod if it already exists, or if not, instructions of how to carry out the mod myself. I would be interested to learn how to do it in fact, it would be rather satisfying to carry out the mod myself!
Many thanks in advance for your help everyone!!
Sent from my Nexus 5 using Tapatalk
I haven't seen any patch for this yet, but a bunch of roms in the dev section have this built in. So either wait for a patch or install the whole rom.
peachpuff said:
I haven't seen any patch for this yet, but a bunch of roms in the dev section have this built in. So either wait for a patch or install the whole rom.
Click to expand...
Click to collapse
Thanks for the reply, as I said though I am wary of flashing ROMs at the moment due to all the problems people are having with recoveries.
I am quite happy to create the mod myself, and share it with others if they would like to use it, but I need instructions of how to do it though.
I believe there are two different system files that need modifying to produce this effect?
It also seems that it is possible on both odexed and deodexed systems, but I am not 100% sure.
If it means the system needs to be deodexed for it to work, then you are right, I will be better to just take the plunge and flash a ROM with the mod included.
As there are a number of ROMs with the mod included, there must be a process to adding this functionality, and I would be very interested to find out how it is done. It is a learning exercise just as much as anything else for me.
Sent from my Nexus 5 using Tapatalk
i remember when i was using my old phone, replace the file "android.policy.jar" udner system/framework
of coz thenew android.policy.jar is a mod from other rom with the function "volume wake". not sure if this helps...
got this link, not try yet.
[MOD] Volume wake mod for Android 4.4
http://forum.xda-developers.com/showthread.php?p=47691484
hk_aquarius said:
i remember when i was using my old phone, replace the file "android.policy.jar" udner system/framework
of coz thenew android.policy.jar is a mod from other rom with the function "volume wake". not sure if this helps...
got this link, not try yet.
[MOD] Volume wake mod for Android 4.4
http://forum.xda-developers.com/showthread.php?p=47691484
Click to expand...
Click to collapse
Ah yes, I saw this too whilst searching for information...
Do we need to just replace the android.policy.jar with modified version or are there other steps to carry out, I have noticed other threads mentioning editing both...
/system/build.prop
and
/system/usr/keylayout/Generic.kl
Are these edits required as well in 4.4/Nexus 5 or can we just use modified android.policy.jar?
If this is the case, in theory you could pull this file from a custom ROM with the volume rocker wake mod included and replace it in your own system files and reboot?
Also...would these files taken from a deodexed ROM work on an odexed factory image?
Sent from my Nexus 5 using Tapatalk
for my previous experience on u8800 (4.0.4) and mi2s (4.1.2), just need to replace "android.policy.jar" and remove odex file, then reboot; thus to enable volume rocker wake.
please backup the old set, .jar and odex file. in case of failure, will need to use adb to connect and then restore.
hk_aquarius said:
for my previous experience on u8800 (4.0.4) and mi2s (4.1.2), just need to replace "android.policy.jar" and remove odex file, then reboot; thus to enable volume rocker wake.
please backup the old set, .jar and odex file. in case of failure, will need to use adb to connect and then restore.
Click to expand...
Click to collapse
That's interesting, thanks.
I assume when you reference the odex file you are referring to 'android.policy.odex'?
If this is the case, it does raise another question...
All the other files in framework are odexed, will the deodexed version of android.policy.jar work side by side with these?
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
That's interesting, thanks.
I assume when you reference the odex file you are referring to 'android.policy.odex'?
If this is the case, it does raise another question...
All the other files in framework are odexed, will the deodexed version of android.policy.jar work side by side with these?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I am eager to give this a try but still need to know the answer to the above questions?
Basically, will adding a deodexed (android.policy.jar) element into the stock odexed framework cause issues?
Many thanks
Sent from my Nexus 5 using Tapatalk
I tried it and it didnt really work, i pulled the jar file from a rom and copied it over and got some strange description when i pressed the power button, the vibration motor would go off every 5 seconds too.
I made sure to pull it from a ktm but perhaps the dev made some other changes that weren't compatible with my stock rom.
Don't be discouraged though, as long as you backup you'll be fine.
Sent from my Nexus 5
peachpuff said:
I tried it and it didnt really work, i pulled the jar file from a rom and copied it over and got some strange description when i pressed the power button, the vibration motor would go off every 5 seconds too.
I made sure to pull it from a ktm but perhaps the dev made some other changes that weren't compatible with my stock rom.
Don't be discouraged though, as long as you backup you'll be fine.
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks for giving this a try, normally I would already have tried myself, but as I said I have already had a complete nightmare with using custom recoveries on this phone so am a little more reluctant to experiment than usual.
I did wonder if this would cause issues. As you said in your post, it looks as though other changes were made to the android.policy.jar you used, that is my worry with any version of this file pulled from another ROM as I don't know what else this file is used for so there could be multiple other changes made that wouldn't then be compatible with a stock factory image.
I also still wonder if the odexed and deodexed files will work properly together as well? Is it the case that this mod is only possible on a deodexed system?
There must be a way of making this mod myself though, I would be happy to learn how to do it and make the changes myself, does anyone know how to do this, or can they point me in the direction of instructions of how to do so?
As always, thanks everyone!
Alright i finally got volume wake working but in a completely different way.
Install xposed framework http://forum.xda-developers.com/showpost.php?p=47771876&postcount=5621
Install modaco module http://d-h.st/PeV
Run module, goto htc one settings and enable volume wake, reboot and voila it works
Also suggest installing gravity box and xblast tools modules.
peachpuff said:
Alright i finally got volume wake working but in a completely different way.
Install xposed framework http://forum.xda-developers.com/showpost.php?p=47771876&postcount=5621
Install modaco module http://d-h.st/PeV
Run module, goto htc one settings and enable volume wake, reboot and voila it works
Also suggest installing gravity box and xblast tools modules.
Click to expand...
Click to collapse
Very interesting work round, I will have to give it a go, thanks
I would still like to know how this mod is achieved via system edits rather than installing apk's, if anyone is aware? I am interested to learn!
Many thanks all
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
That's interesting, thanks.
I assume when you reference the odex file you are referring to 'android.policy.odex'?
If this is the case, it does raise another question...
All the other files in framework are odexed, will the deodexed version of android.policy.jar work side by side with these?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
i just tried it on nexus 5, it works!
hk_aquarius said:
i just tried it on nexus 5, it works!
Click to expand...
Click to collapse
Hi there,
Can you please give some information about your system (odexed or deodexed/stock factory image or custom ROM etc)?
Also, could you outline exactly what you have done to get this working and what files you used and or modified?
This would be really useful...my plan if I can find out how this is done is to package it for others to use too...I cannot be the only person that wants this mod.
Many thanks for your help!
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
Hi there,
Can you please give some information about your system (odexed or deodexed/stock factory image or custom ROM etc)?
Also, could you outline exactly what you have done to get this working and what files you used and or modified?
This would be really useful...my plan if I can find out how this is done is to package it for others to use too...I cannot be the only person that wants this mod.
Many thanks for your help!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
OK, i use stock 4.4 Kitkat on my Nexus 5 out of the box.
Download the mod android.policy.jar from the link below: (credit goes to javi851, thanks...)
http://forum.xda-developers.com/showthread.php?p=47691484
transfer this file to the root of /sdcard
I suppose bootloader is "unlocked" and root access is "ready".
use Root Explorer
go to system/framework
rename android.policy.jar to android.policy.jar.ORG
rename android.policy.odex to android.policy.odex.ORG
copy the mod android.policy.jar to system/framework
** make sure the filename is android.policy.jar
change permission to rw-r--r--
turn off the phone, then turn it on
it will take a while, it says to upgrade android files 100+
leave it there until it completes.
try pressing the power button to turn it off, then press either volume button and you can wake the screen for that.
hope my try helps people who need volume rocker wake function!
hk_aquarius said:
OK, i use stock 4.4 Kitkat on my Nexus 5 out of the box.
Download the mod android.policy.jar from the link below: (credit goes to javi851, thanks...)
http://forum.xda-developers.com/showthread.php?p=47691484
transfer this file to the root of /sdcard
I suppose bootloader is "unlocked" and root access is "ready".
use Root Explorer
go to system/framework
rename android.policy.jar to android.policy.jar.ORG
rename android.policy.odex to android.policy.odex.ORG
copy the mod android.policy.jar to system/framework
** make sure the filename is android.policy.jar
change permission to rw-r--r--
turn off the phone, then turn it on
it will take a while, it says to upgrade android files 100+
leave it there until it completes.
try pressing the power button to turn it off, then press either volume button and you can wake the screen for that.
hope my try helps people who need volume rocker wake function!
Click to expand...
Click to collapse
Hi mate,
Really good instructions thanks.
Can I ask what the significance of renaming the .jar and .odex files to .jar.ORG and .odex.ORG is?
Many thanks
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
Hi mate,
Really good instructions thanks.
Can I ask what the significance of renaming the .jar and .odex files to .jar.ORG and .odex.ORG is?
Many thanks
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
just in case for fallback, as i am afraid i will not get OTA upgrade afterwards.
.ORG means original files for me.
hk_aquarius said:
just in case for fallback, as i am afraid i will not get OTA upgrade afterwards.
.ORG means original files for me.
Click to expand...
Click to collapse
Ah right thanks. So basically a way of backing up the files in their original file location so the system ignores them.
A very good idea my friend, very similar to Root File Explorer, it backs up system files you make changes to by renaming the original file with a .bak suffix.
I have asked the OP in the thread you linked to what changes he made to the android.policy.jar and how he did it, I am hoping to learn how to actually make the changes myself and create a mod for others to use too.
I'm going to give your process a go in the mean time though, thanks.
Sent from my Nexus 5 using Tapatalk
hk_aquarius said:
just in case for fallback, as i am afraid i will not get OTA upgrade afterwards.
.ORG means original files for me.
Click to expand...
Click to collapse
Hi buddy,
I've tested your method and it is working fine, wakes the phone normally and from deep sleep. Two days of use and no other problems.
I'm going to try and create a flashable zip with this file, just need to work out the edify commands to rename the original files rather than delete, so people have a backup of their files.
Sent from my Nexus 5 using Tapatalk
wilskywalker said:
Hi buddy,
I've tested your method and it is working fine, wakes the phone normally and from deep sleep. Two days of use and no other problems.
I'm going to try and create a flashable zip with this file, just need to work out the edify commands to rename the original files rather than delete, so people have a backup of their files.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I would advise against posting an android.policy.jar from a different device since there are some differences within the policy jar between the two. It's a little sad that the other guy ignored a request for what the actual edit is considering it's so figgin simple. After diff'ing some other jar files, I found what the edit is. All you need to do is remove 2 lines from PhoneWindowManager.smali. Attached pic shows 2 lines that need removal (stock is on the right).
good day.

Categories

Resources