[MOD] Enable Camera During Call (Stock ROM) - Sprint Samsung Galaxy Note 3

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.

Related

Rom customization

hi how can we customize android on first boot. ie change settings to how we want, like enable data roaming, wifi settings. can this be done in a script in init.d folder? lots of settings are in databases so how can we change the values in them
richmondo said:
hi how can we customize android on first boot. ie change settings to how we want, like enable data roaming, wifi settings. can this be done in a script in init.d folder? lots of settings are in databases so how can we change the values in them
Click to expand...
Click to collapse
Some things can be changed in /system/build.prop
Others in the init.rc and init.devicenamehere.rc, which are in the ramdisk. And some ROMs do have a init.d/*, but that's not standard AOSP.
Are you trying to change a running ROM or customize one for flashing?
For flashing a new own customized rom, how we can made roms, have ap2sd??? ( should we add anything special??
How can we add some new languages to rom..??
I need to add Arabic - persian just for supporting the characters but when I ad fonts to rom, it just shows them disconnected.. how can I fix this..??
.
RichmondoUK said:
hi how can we customize android on first boot. ie change settings to how we want, like enable data roaming, wifi settings. can this be done in a script in init.d folder? lots of settings are in databases so how can we change the values in them
Click to expand...
Click to collapse
<bool name="def_enable_mobile_data">true</bool> change <bool name="def_enable_mobile_data">false</bool> Data transfer is disabled by default.
<bool name="def_install_non_market_apps">false</bool> change <bool name="def_install_non_market_apps">true</bool> Checkbox Unknown sources in Settings \ Security will be marked for easy installation of necessary software.
Lol thanks but this is basic now compared to what i do now as currently work on the xtended settings app.

[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.

[MOD] [GUIDE] Enable Camera whlie in call and shutter sound options

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

[GUIDE] Enable more lock screen effects on G2 Mini

Searching for some stuff I found a nice guide made by @hoangnova about enabling all lock screen animations for G3. Using his method I managed to activate Ripple, Crystal and Particle effect on my G2 Mini (D620r), cause I saw in one .xml file that it could be possible.
First of all your phone has to be rooted to do this.
1. So get you LGLockScreenSettings.apk from system/app folder and decompile it (I prefer Android Multitool ).
2. Open res/values/arrays.xml with Notepad++
3. Find
Code:
<string-array name="effect_names">
...............
</string-array>
Replace it with
Code:
<string-array name="effect_names">
<item>@string/lockscreen_effect_particle</item>
<item>@string/lockscreen_effect_dewdrop</item>
<item>@string/lockscreen_effect_crystal</item>
<item>@string/lockscreen_effect_ripple</item>
<item>@string/lockscreen_effect_white_hole_alias</item>
</string-array>
4. Then find
Code:
<string-array name="effect_values">
....
</string-array>
and replace it with
Code:
<string-array name="effect_values">
<item>@string/effect_index_swipe_particle</item>
<item>@string/effect_index_swipe_dewdrop</item>
<item>@string/effect_index_swipe_crystal</item>
<item>@string/effect_index_swipe_ripple</item>
<item>@string/effect_index_swipe_white_hole</item>
</string-array>
5. Compile LGLockScreenSettings.apk and sign it.
6. Using some file manager that can manage system files replace stock LGLockScreenSettings.apk in system/app/ with the one you made
7. Give permission 644 to file - it looks like this
R W -
R - -
R - -
8. Reboot.
If you get some FCs you probably didn't change permissions to file, check it first and then if you still have problems clear data to Lock Screen Settings app.
I attached the file I edited (from V10g-EUR-XX for D620r), so if you're compatible you can try with this one.
Thank's to:
@hoangnova ([GUIDE] Enable all lockscreen effect on G3)
NOTE-IMPORTANT
Using Android Multitool you need to install both framework-res.apk and lge-res.apk to decompile and compile apps. Installing framework-res.apk only will give you problems compiling apps at the end resulting with no app compiled, plus I think that it doesn't decompile app in the right way without lge-res.apk installed.
Click to expand...
Click to collapse
However, I lost an option to change lockscreen wallpaper, so now I just use G2 Tweaks for Xposed to have these options.
nlooooo said:
However, I lost an option to change lockscreen wallpaper, so now I just use G2 Tweaks for Xposed to have these options.
Click to expand...
Click to collapse
Check in lockscreen settings if isnt there anymore, its way better to work with system files instead of xposed modules.
Enviado de meu LG-D625 usando Tapatalk

[TUT] How to Enable Call Recording On SM-A300FU - Tested -Working -Root Required [upd

Hellow Guys..
If you are on stock ROM and Have a rooted phone you can enable call recording feature -Tested on Samsung Galaxy SM-A300FU ( 5.0.2) (6.0.1) . you can try this on Other Series as well...
just for info : Mobile voice recorder is used in background. and works very smoothly and very well.
How to:
To activate it - you need to edit /system/csc/feature.xml file (if exists, otherwise you need to edit /system/csc/others.xml file). Just add the following line (anywhere, but BETWEEN <FeatureSet> and </FeatureSet> lines)
you can use root browser or any root file explorer.
Code:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
While in call Press record button
Hit Like .::. and press Thanks .::. No beer required
ScreenShots:​
Xangelic said:
Hellow Guys..
If you are on stock ROM and Have a rooted phone you can enable call recording feature -Tested on Samsung Galaxy SM-A300FU ( 5.0.2) . you can try this on Other Series as well...
just for info : Mobile voice recorder is used in background. and works very smoothly and very well.
How to:
To activate it - you need to edit /system/csc/feature.xml file (if exists, otherwise you need to edit /system/csc/others.xml file). Just add the following line (anywhere, but BETWEEN <FeatureSet> and </FeatureSet> lines)
you can use root browser or any root file explorer.
Code:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
While in call Press record button
Hit Like .::. and press Thanks .::. No beer required
ScreenShots:​[/QUOTE
:good: thanks , how about to automatically record calls?
Click to expand...
Click to collapse
this is a csc feature so auto recording is not possible, if you want auto recording you can use Apps
Tnks bro !!! ..
Works ok on SM-A500FU stock rooted.
It makes a folder named 'Call' on internal storage
Works ok also this:
<CscFeature_Camera_ShutterSoundMenu>TRUE</CscFeature_Camera_ShutterSoundMenu>
to enable shutter sound camera menu
Thanks for this info.
Has someone tested this procedure with the Galaxy A5 2016 (A510F Europe) ?, because I'm planning in to buy it, and call recording is a key feature for myself.
Hey, thank you for this great tip, it's working flawlessly after a reboot. It creates a folder on internal storage as @MoshPuiu mentioned it earlier.

Categories

Resources