[MOD] [GUIDE] Enable Camera whlie in call and shutter sound options - Sprint Samsung Galaxy Note 3

You must be rooted. Using a root explorer, navigate to
/system/csc
&
/system/csc/SPR/system/csc
Backup feature.xml from both.
Make the changes below to feature.xml in both locations
Enable shutter sound options:
Change
<CscFeature_Camera_ShutterSoundMenu>false</CscFeature_Camera_ShutterSoundMenu>
To:
<CscFeature_Camera_ShutterSoundMenu>True</CscFeature_Camera_ShutterSoundMenu>
Enable Camera while in a phone call:
Change
<CscFeature_Camera_EnableCameraDuringCall>false</CscFeature_Camera_EnableCameraDuringCall>
To:
<CscFeature_Camera_EnableCameraDuringCall>true</CscFeature_Camera_EnableCameraDuringCall>
Save, exit,
Set permissions to rw-r--r--
Reboot
Part of this guide was taken from LMMT on thread
http://forum.xda-developers.com/showthread.php?t=2490178

Hi. My device is SM-N9002. I found it havn`t a feature.xml but a other.xml in /system/csc, and there is no other folders.
So I added the codes into other.xml. yeah, it surely enable the shutter sound option in camera mode, but I can`t chang it into "off".
What`s the problem? Thanks.
Please forget my poor English

hechaoqing said:
Hi. My device is SM-N9002. I found it havn`t a feature.xml but a other.xml in /system/csc, and there is no other folders.
So I added the codes into other.xml. yeah, it surely enable the shutter sound option in camera mode, but I can`t chang it into "off".
What`s the problem? Thanks.
Please forget my poor English
Click to expand...
Click to collapse
I replied over here: http://forum.xda-developers.com/showthread.php?t=2490178
Sent from my SM-N900P

Related

[Q] Change default values in settings for android rom

Hi Everyone!
I'm starting to make my own android roms and i was wondering if it was possible to change the default android settings you get when you flash a rom. For example, when you first boot, animations are already turned on and orientation is turned off (unchecked) by default.
I've got an .apk manager so i've had a feeble attempt at going through .xml files in the decompiled Settings.apk. "res/xml/sound_and_display_settings.xml" had the most potential but i couldn't see any "enable/disable" options.
Thanks to Everyone in advance. Any feedback is welcome, even if it's not the answer- it could still help!
Uuuuuuuuupppppppppppp?
Bump.
Bump.
bit of a delay with replying here but if you are still interested, you can use apk manager to unpack and decode the settings app, then go into the xml directory that appears (there will be quite a few but you just want the one called xml) and edit the xml files. Settings are there for you to tweak
Even i asked same question and no reply till now...
May be there are no devs left on xda or they ignore q/a section or ignore our questions because they don't know it or maybe they don't even read it as they think we are noob and they are god of Android development...
Damn..
Sent from my GT-S7500 using xda premium
If you are building from sources, then you can overlay these files :
Code:
packages/apps/Settings/res/values/strings.xml
frameworks/base/core/res/res/values/config.xml
These contains most default settings values afaik, hope it helps.
Good luck
How would I go about creating an overlay in the source please?
Little-Boy-Lost said:
How would I go about creating an overlay in the source please?
Click to expand...
Click to collapse
Here overlay means "change the values".
Here's an example, let's say you want to disable screen rotation by default.This is a sample from cm10's framework/base/core/res/res/values/config.xml :
Code:
<!-- If this is true, key chords can be used to take a screenshot on the device. -->
<bool name="config_enableScreenshotChord">true</bool>
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
clockwise from portrait; thus on a portrait device an app requesting
landscape will cause a clockwise rotation, and on a landscape device an
app requesting portrait will cause a counter-clockwise rotation. Setting
true here reverses that logic. -->
<bool name="config_reverseDefaultRotation">false</bool>
<!-- The number of degrees to rotate the display when the keyboard is open.
A value of -1 means no change in orientation by default. -->
<integer name="config_lidOpenRotation">-1</integer>
So you're going to change this line's value to false :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
Like this :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">false</bool>
Then, when you will compile the sources, rotation will be enabled in all 4 ways by default in the resulting rom.
Thank
So I create framework/base/core/res/res/values/config.xml in the device overlay folder and it will change settings during build?
I tried altering some settings by modifying the original files and it didn't seem to have any effect. Maybe I needed the overlay version instead
Is the theme changer in there to so I can change the theme to the one I want in the rom..??
---------- Post added at 01:27 PM ---------- Previous post was at 01:22 PM ----------
Androguide.fr said:
Here overlay means "change the values".
Here's an example, let's say you want to disable screen rotation by default.This is a sample from cm10's framework/base/core/res/res/values/config.xml :
Code:
<!-- If this is true, key chords can be used to take a screenshot on the device. -->
<bool name="config_enableScreenshotChord">true</bool>
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
<!-- If true, the direction rotation is applied to get to an application's requested
orientation is reversed. Normally, the model is that landscape is
clockwise from portrait; thus on a portrait device an app requesting
landscape will cause a clockwise rotation, and on a landscape device an
app requesting portrait will cause a counter-clockwise rotation. Setting
true here reverses that logic. -->
<bool name="config_reverseDefaultRotation">false</bool>
<!-- The number of degrees to rotate the display when the keyboard is open.
A value of -1 means no change in orientation by default. -->
<integer name="config_lidOpenRotation">-1</integer>
So you're going to change this line's value to false :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">true</bool>
Like this :
Code:
<!-- If true, the screen can be rotated via the accelerometer in all 4
rotations as the default behavior. -->
<bool name="config_allowAllRotations">false</bool>
Then, when you will compile the sources, rotation will be enabled in all 4 ways by default in the resulting rom.
Click to expand...
Click to collapse
When you unzip the apk file how do you zip it back up does it need a special app to do it with..?
What is the best editor to edit the xml file or any other file in the rom...how about Notepad++..?
Can someone please answer this ASAP..?
spannernick said:
What is the best editor to edit the xml file or any other file in the rom...how about Notepad++..?
Can someone please answer this ASAP..?
Click to expand...
Click to collapse
Note pad++ is the best
~~~~~~~~~~~~~~~~~~~~~
Samsung galaxy s2
Rom: Jedi knight 6
kernel: Jedi kernel 2
~~~~~~~~~~~~~~~~~~~~~
And you thought celebrities weren't smart! =P
spannernick said:
Is the theme changer in there to so I can change the theme to the one I want in the rom..??
When you unzip the apk file how do you zip it back up does it need a special app to do it with..?
Click to expand...
Click to collapse
You can edit the build.prop file and change the default theme chooser theme value it's one of the properties toward the bottom of the build.prop file. Make sure to copy the theme chooser theme apk you want to be default in the ROM's /system/app folder. You need to use an apk decompiler such as apktool to (http://code.google.com/p/android-apktool/) decompile the apk file, then after you make the changes you want to make recompile the apk using the same program you used to decompile the apk. If it's not a system app you will need to sign it with "Zip Signer" it works with apk files to (https://www.dropbox.com/s/mldk52ba1u1o6ty/zip signer.apk). If it is a system app I would recommend looking at this guide http://forum.xda-developers.com/showpost.php?p=24986373&postcount=9. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
shimp208 said:
You can edit the build.prop file and change the default theme chooser theme value it's one of the properties toward the bottom of the build.prop file. Make sure to copy the theme chooser theme apk you want to be default in the ROM's /system/app folder. You need to use an apk decompiler such as apktool to (http://code.google.com/p/android-apktool/) decompile the apk file, then after you make the changes you want to make recompile the apk using the same program you used to decompile the apk. If it's not a system app you will need to sign it with "Zip Signer" it works with apk files to (https://www.dropbox.com/s/mldk52ba1u1o6ty/zip signer.apk). If it is a system app I would recommend looking at this guide http://forum.xda-developers.com/showpost.php?p=24986373&postcount=9. Let me know if you still have questions .
Sent from my SCH-I535 using xda premium
Click to expand...
Click to collapse
I have looked in the build.prop file and I can't see anything about changing the theme,Do I need to add the line..?
spannernick said:
I have looked in the build.prop file and I can't see anything about changing the theme,Do I need to add the line..?
Click to expand...
Click to collapse
On older versions of Cyanogenmod there used to be these lines in the build.prop:
Code:
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cyanbread
Where persist.sys.themeId is the name of the theme you want to set as default, and persist.sys.themePackageName is the package name of the theme you want to set as default. You could try adding those lines to the build.prop and see what happens, if that doesn't work you could always extract the image's from the theme chooser theme you want to use and then decompile the framework-res.apk and systemui.apk and replace the images in those two apk files with the ones from the theme chooser theme you want to use, then replace the modified framework-res.apk and systemui.apk files with the default framework-res.apk and systemui.apk files in the ROM. Now when the user uses your ROM for the first time they will see the modified theme you wanted rather then the previous default theme.
Can you copy the settings from your phone,after you changed them the way you want them(on cm10)..?
BUMP....???
spannernick said:
Can you copy the settings from your phone,after you changed them the way you want them(on cm10)..?
Click to expand...
Click to collapse
I have only done this on CM7 for CM10 you can try adding these lines on CM10 on CM7 here is what I changed in the build.prop:
From:
Code:
persist.sys.themeId=Cyanbread
persist.sys.themePackageName=com.tmobile.theme.Cyanbread
To:
Code:
persist.sys.themeId=Androidian
persist.sys.themePackageName=com.tmobile.theme.Androidian
Then I made sure that the Androidian.apk file was located in the system\app folder. This should work for CM10 as long as the lines "persist.sys.themeId=" and "persist.sys.themePackageName=" are added to the build.prop.

How to enable CRT effect for ICS

For who make a CRT effect for ICS follow next steps:
1.Decompile framework-res.apk using wanam ApkManager
2.Edit the file \res\values\bools.xml
3.Find the line that says "(bool name="config_animateScreenLights">true</bool) and change "true" to "false"
4.Compile framework-res.apk
5.Push new framework-res.apk to your phone with root explorer or adb
6.Save,close and reboot.
Here is link for wanam apkmanager(special for ICS):http://forum.xda-developers.com/showpost.php?p=23935070&postcount=14
thans for wanam and tweezit
dont forget make a backup in case something is wrong
Ive crt without edit anything :S
in my apk the value is "false" by default
sgj1 said:
in my apk the value is "false" by default
Click to expand...
Click to collapse
Its means you have activate Crt efect by default
umarian said:
Its means you have activate Crt efect by default
Click to expand...
Click to collapse
but when i poweroff the screen donĀ“t have any effects

[TUT] How to change notifications sound with your own voice

First, please forgive me for my bad english
This tut will guide u how to change notification sound with your own voice or sounds.
For the example i will tell u how to change "beep beep" battery low notifications sound with "hey dude, your battery is f*ckin low!!"
First step
- Download sound recorder wich can record sound with .ogg file extention or u can try to use this apk http://db.tt/KxpZrWMj
- Install and open the apk, go to settings and change file format with .ogg file ext.
- Record your voice.
- Rename it to LowBattery.ogg
Next steps
- Open RootExplorer copy the modified sound notification and paste it to /system/media/audio/ui
- Replace the old LowBattery.ogg notification.
- Sett the permissions to rw-r-r
- Reboot and Done.
Note : you can change every sound notifications with this tutorial, and don't forget to rename your modified notifications sound with the same name as originall notifications e.g. LowBattery.ogg , KeypressStandard.ogg, etc.
Have fun
Press thanks if i've help you.
Nice It's gonna be useful while I have time to make my own ROM

[MOD] Enable Camera During Call (Stock ROM)

Required:
Root
A file or root browser with text editing cababilities
Guide:
Browse to /system/csc
Edit feature.xml
Look for <!-- Camera -->
Somewhere in the <!-- Camera --> section for <CscFeature_Camera_EnableCameraDuringCall>false</CscFeature_Camera_EnableCameraDuring Call>
Change false to true
Save
Reboot
Make call and test
Those are the steps that worked for me using stock NC5
You should try this MOD as well [MOD] Enable Camera Shutter Sound Menu
Code:
<CscFeature_Camera_EnableCameraDuringCall>[B]true[/B]</CscFeature_Camera_EnableCameraDuringCall>
elephant007 said:
Required:
Root
A file or root browser with text editing cababilities
Guide:
Browse to /system/csc
Edit feature.xml
Look for <!-- Camera -->
Somewhere in the <!-- Camera --> section for <CscFeature_Camera_EnableCameraDuringCall>false</CscFeature_Camera_EnableCameraDuring Call>
Change false to true
Save
Reboot
Make call and test
Those are the steps that worked for me using stock NC5
You should try this MOD as well [MOD] Enable Camera Shutter Sound Menu
Code:
<CscFeature_Camera_EnableCameraDuringCall>[B]true[/B]</CscFeature_Camera_EnableCameraDuringCall>
Click to expand...
Click to collapse
Yep, there are dozens of csc edits, some useful, some not so useful (or they don't pertain to our phone). Download the text file, from the OP of the thread, you linked, if you're feeling adventurous, and see what hidden features, you can discover.
Don't forget to backup, first.
I think they fixed it after 4.4.4 update. I tried it on my phone and it works without modifying anything.

[MOD][Stock Rom] Enable FlashLight on Quick setting

Download the SQlite Editor or similar app
How to Enable Them
1.Open SQlite Editor
2.Scroll down until you see "Settings Storage" and select it
3.Click on settings.db then on system
4.Scroll down until you have found this line "notification_panel_active_app_list_for_reset" and select it
5.Now click on the pencil icon on the top to edit the file
6.In Value field, all enabled toggles are listed. Now we need to add ;TorchLight
7.After adding this line you can go to change the order of the tiles and pres "Reset"
Confirmed working on SM-G530H Lollipop BOH2 (note: you might have to reboot after doing edits.)
dont working in G530H 5.0.2 XXU.
Dont work. lollipop XXU. G530H
ciak ciak said:
Download the SQlite Editor or similar app
How to Enable Them
1.Open SQlite Editor
2.Scroll down until you see "Settings Storage" and select it
3.Click on settings.db then on system
4.Scroll down until you have found this line "notification_panel_active_app_list_for_reset" and select it
5.Now click on the pencil icon on the top to edit the file
6.In Value field, all enabled toggles are listed. Now we need to add ;TorchLight
7.After adding this line you can go to change the order of the tiles and pres "Reset"
Click to expand...
Click to collapse
Confirm working on SM-G531H
Working fine on g530h Lp 5.02 xxu... I was thinking if we can change the order of notification panel but flash light icon was not there
my no quick setting?
grand prime g531h but no quick setting
Thanks, it's useful. I had to reboot my phone, then works.
G531H
Thanks, its work
Can the color (white) change like other toggle color?

Categories

Resources