[Q] How to mark checkbox by default? - Nexus 4 Q&A, Help & Troubleshooting

Hi all,
I would like how to activate checkbox by default. The Unknow sources checkbox is disabled, ok?. Then from source code or from flasheable .zip modify one folder, but which folder... i dont know.
I hope answer.
Thanks
PD: Im using CM base

Related

[Q] Is there way to modify package name???

Hello,
I'm trying to modify AndroidManifest.xml,
So I could use my edited version of APP
While I use original APP that is on the market...
> I'm not trying to publish the edit version of someone's hard work,
> And take his credit...
> I just like to have both version of his/her and mine...
I tried changing NAME, but that didn't work out...
So I renamed <manifest androidackage="com.app.android.inputmethod">
But it won't let me SIGN the apk file with the edited AndroidManifest.xml!
Someone help me please
::: Sorry for bad English :::
peurocs4 said:
But it won't let me SIGN the apk file with the edited AndroidManifest.xml!
Click to expand...
Click to collapse
You should be able to sign every zip file, it doesn't matter whether you have edited manifest or not. How do you sign it?
I used APK manager to sign the file...
Sent from my SGH-I897 using XDA App

[Q] Registry Folder name please.

I accidently changed a folder name in registry/HKLM. I am using the latest stock rom 3.14. l need the folder name that contains the sub folder BootVars please. I'm afraid to turn off my phone. Thank you very much.
init?
https://encrypted.google.com/search?q=hklm+bootvars
Would you be able to check on your HD2?
Can't I'm on droid, but "hklm bootvars winmo" in google convinces me I'm right.

[Q] [REQ] Modify Settings Menu i9505

Hello guys,
I recently found out that the "Kies via Wi-Fi" entry under "Settings>Connections Tab" is causing a FC to "Settings". I guess at a given time I've done something and removed/uninstalled the Kies Bloatware either by using Root Explorer or Titanium Backup, I'm not sure and I can't remember. I've tried to reinstall the "Kies Wi-Fi" app from the Google PlayStore and it did actually installed and found it working, however the nasty shortcut in Settings still causes FC-es. Is there any way to get rid of this entry at all? I don't intend using Kies at all and I'd really like to see that option gone.
I saw a thread in the Dev and Hacking section, however I'm not experienced enough to do it myself, so I ask here for help:
http://forum.xda-developers.com/showthread.php?t=2184207
And these are the files I extracted from my device.. apparently there's no "Settings.apk" in my "/system/app" folder. But there is SecSettings.apk.....
SecSettings.apk - https://www.dropbox.com/s/pbeua595rsym22p/SecSettings.apk
framework-res.apk - https://www.dropbox.com/s/xzog2xfxnc4gsso/framework-res.apk
framework.jar - https://www.dropbox.com/s/t0xawazgheiemxg/framework.jar
framework2.jar - https://www.dropbox.com/s/mb470l2z2epu9vu/framework2.jar
I noticed that in SecSettings.pak > res > xml there is a file called connection_headers.xml which might be the key, but trying to open it with Notepad++ everything was full with meaningless weird symbols, except the 4th row which actually mention "kies via wi-fi".
I'll be very thankful if there's any way to remove this.. "thing" from my phone. I'm not familiar with ADB, but I surely can flash a .zip with CWM. :cyclops:
faily.. wrong thread.. sorry

[Q] Spell Checker

Hello i was wondering if anyone would be able to help me enable spell checker on the s5. (not autocorrect or predictive text on the keyboard).
I know other people have been able to do it on previous versions of the galaxy and also on the note, By editing Secsettings.apk & framework2.jar, such as in this following link: http://forum.xda-developers.com/showthread.php?p=34856343
Now i am not sure if it would be as simple as this, but i am sure someone on here would be able to enable the spell checker on our s5. If this is all it involves i am able to compile and decompile these two things and edit them myself, but i am pretty sure these files have changed due to the new 4.4.2 touchwiz on the s5.
If it was possible to create a flashable zip file that would edit the certain files or apps needed, that would be helpful and lot easier for a lot of people out there. But i am not sure if that's possible.
I am sure im not the only out there that would like this feature on our new s5, so you would be helping a few of us out.
anyone that would be able to give me some insight or would be able to do this, it would be much appreciated. cheers.
[SOLVED]
With this guide http://forum.xda-developers.com/showthread.php?t=2543967&page=4 and this one http://forum.xda-developers.com/showthread.php?t=2251719 I modified framework2.jar (in system/framework folder)
SecSettings.apk is in system/priv-app for S5.
Do not forget to set the correct permissions of files after copy in system memory.
Menu was enabled, but no RED UNDERLINE appear for errors (with google keyboard installed and all options checked).
The Mod is in this way useless!
It fully run only in ART runtime. (Why??)
.
Have you tried?
.
Rulesless said:
Have you tried?
.
Click to expand...
Click to collapse
sorry i only just saw your reply! I am having troubles with my phone at the moment so once i fix it i will try decompiling those apps and adding those lines.
thank you for your reply and sorry for my late reply!

[Quick Guide] - Enabling Hidden Features

Just wanted to share a few CSC features that are tested to work on the S6/S6 edge.
This is not my work, just sharing.
To enable these you will need root, a root explorer and text editor.
Simply navigate to system/csc/Features.xml and add the corresponding line to the end of the file but before the very last few lines that say </feature> and </Samsung>
(if this file does not exist, create the csc folder in system and a txt file within it then change the name to features.xml and add the correct lines and save) if this does not work you can try the same method with Others.XML in the same folder
*Make sure you make backups of the stock files in case there are issues.*
Enable WiFi calling in phone settings:
Code:
<CscFeature_Setting_SupportWifiCall>TRUE</CscFeature_Setting_SupportWifiCall>
Enable native voice call recording(maybe illegal is some countries):
Code:
<CscFeature_VoiceCall_ConfigRecording>RecordingAllowed</CscFeature_VoiceCall_ConfigRecording>
Enable shutter sound switch in camera settings(maybe illegal is some countries):
Code:
<CscFeature_Camera_ShutterSoundMenu>true</CscFeature_Camera_ShutterSoundMenu>
Enable camera during call:
Code:
<CscFeature_Camera_EnableCameraDuringCall></CscFeature_Camera_EnableCameraDuringCall>
Enable manual rotation option in gallery:
Code:
<CscFeature_Gallery_AddAutoRotationIcon>true</CscFeature_Gallery_AddAutoRotationIcon>
Continuous music while using camera:
Code:
<CscFeature_Camera_CamcorderDoNotPauseMusic></CscFeature_Camera_CamcorderDoNotPauseMusic>
Enable scheduled messaging option in messaging app:
Code:
<CscFeature_Message_EnableScheduledMessage>true</CscFeature_Message_EnableScheduledMessage>
<CscFeature_Message_EnableScheduledMsgBox>true</CscFeature_Message_EnableScheduledMsgBox>
Enable exit buttons in default browser:
Code:
<CscFeature_Web_AddOptionToTerminate>true</CscFeature_Web_AddOptionToTerminate>
Enable 2nd symbol keys on stock keyboard:
Code:
<CscFeature_Sip_UseSymbolInCMKey>true</CscFeature_Sip_UseSymbolInCMKey>
<CscFeature_Sip_EnableSymbolInSecondary>de;en_US;en_GB</CscFeature_Sip_EnableSymbolInSecondary>
Enable VoLTE Support: Thanks to IakobosJ
Code:
<CscFeature_RIL_SupportVolte>true</CscFeature_RIL_SupportVolte>
<CscFeature_IMS_EnableVoLTE>true</CscFeature_IMS_EnableVoLTE>
Remove NFC enabled icon in the status bar: Thanks to evonc
Code:
[COLOR="Red"]Delete line[/COLOR] : <CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
ADDED 21/04/15
Sort app draw alphabetically:
Code:
<CscFeature_Launcher_EnableViewByAlphabetAsDefault>true</CscFeature_Launcher_EnableViewByAlphabetAsDefault>
I Hope this helps someone out,
Big Thanks to this post for the info, there are many more in the original post but these are the only ones I've tried and have worked so far,
and IakobosJ for his help in the wifi calling thread
if anything needs adding let us know and it can be added to this post,
This is dedicated to the hard working XDA community
Thank You All
Theres also some nice tools in the play store -:- Be careful when using these!
Samsung CSC Master
CSC Feature Expert
(I own google so get a big cut of the profit made on these )
I've tried CSC Feature Expert now -and it seems to work well,
Quick tut:
I would backup original CSC folder first
Just search for the option you want to enable,
Select the value ( see pic 1)
in the popup - Input the correct value (see pic 2 - label 1)
(a few examples of values)
' RecordingAllowed ' to enable call recording,
' true ' for shutter sound menu,
' true ' for launcher by alphabet,
' true ' for rotation icon in gallery,
' true ' for support wifi call,
then click save (see pic 2 - label 2)
restart you device
Hope this helps
If only we could root, without tripping Knox.
I don't want to root my phone in fear that Samsung Pay won't work with a tripped Knox.
Nice to see you've put all of this information together
For those on EE you may also want to enable VoLTE. I know it's unlikely to be in anyones area yet, but they are rolling it out across the UK (Very slowly)
Enable VoLTE Support
<CscFeature_RIL_SupportVolte>TRUE</CscFeature_RIL_SupportVolte>
Enable VoLTE
<CscFeature_IMS_EnableVoLTE>true</CscFeature_IMS_EnableVoLTE>
Just a quick note that the commands have to be added before the
</FeatureSet>
</SamsungMobileFeauture> tags at the end of the file.
Tested the Call recording and Shutter sound edits. Worked great.
Lastly if you want to remove that ugly NFC enabled icon in the status bar, delete line
<CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
from the file and it will hide the icon.
evonc said:
Just a quick note that the commands have to be added before the
</FeatureSet>
</SamsungMobileFeauture> tags at the end of the file.
Tested the Call recording and Shutter sound edits. Worked great.
Lastly if you want to remove that ugly NFC enabled icon in the status bar, delete line
<CscFeature_NFC_StatusBarIconType>DEFAULT</CscFeature_NFC_StatusBarIconType>
from the file and it will hide the icon.
Click to expand...
Click to collapse
Thats strange as I've added mine after the samsung tags and all is working fine fine on my device.
Have you had problems in the past with doing that?
No. I saw the file header and noticed they're inserting commands between those tags. The original guide also has that listed but I guess it may or may not work.
Also I believe the file may get reset when you enter stock recovery so I'm assuming this should work as a fix.
1. Open the sales_code.dat to find your csc code.
2. Open the folder above with the same code.
3. Navigate to <code>/system/csc and you'll see another others.xml
4. This is most likely the file that gets applied after a factory reset/activation.
5. Make changes to this file as well.
*Make sure you make backups of the stock files in case there are issues.*
evonc said:
No. I saw the file header and noticed they're inserting commands between those tags. The original guide also has that listed but I guess it may or may not work.
Also I believe the file may get reset when you enter stock recovery so I'm assuming this should work as a fix.
1. Open the sales_code.dat to find your csc code.
2. Open the folder above with the same code.
3. Navigate to <code>/system/csc and you'll see another others.xml
4. This is most likely the file that gets applied after a factory reset/activation.
5. Make changes to this file as well.
*Make sure you make backups of the stock files in case there are issues.*
Click to expand...
Click to collapse
I would have thought it would have had to be within those tags too. Only found it didn't when i wasn't paying attention while modding it. LoL
Nice tip. Thanks. hoping there's more cool things that can enabled with this, maybe some S6 exclusives finds .
I'm on the Sprint Edge and don't have that folder. I guess I'll create and see what happens
SantinoInc said:
I'm on the Sprint Edge and don't have that folder. I guess I'll create and see what happens
Click to expand...
Click to collapse
I didnt have it either . Just create the csc folder and make a txt file and change the name to others.xml. as the op states. infact ill post a copy with basic changes i the first post.
It works fine for me. hopfully you wont have any issues
I actually did have the folder. I was looking at the folder ". System" However, after adding those lines and saving it had no effect. Can you take a look at this to see if it's right?
Edit: can't upload the xml file.
SantinoInc said:
I actually did have the folder. I was looking at the folder ". System" However, after adding those lines and saving it had no effect. Can you take a look at this to see if it's right?
Edit: can't upload the xml file.
Click to expand...
Click to collapse
You'll have to zip it before you can upload it... or rename others.xml to others.txt
I've attached a basic others.xml with all functions listed in the OP
and an original copy of the EE csc folder that IakobosJ uploaded in the WIFI calling thread
(it would be good if everybody could upload their original csc folders for reference and backups in case someone messes up theirs by accident.)
You can just copy and paste my others.xml into the bottom of your own others.xml(backup yours first)
I've had to do this as XDA's forum system seems to have changed at least one of the lines I've posted, and I've even tried going back and editing and it keeps putting a space in the middle of one of them, so use the upload if your having trouble,
I've deleted all but this file in my csc folder and tested it to make sure there nothing else it depends on - everything is working fine on my device.
But feel free to upload your for us to have a look at
im confused?
i can already do wifi calling and most of these things already without root
im on tmobile
tiboric said:
You'll have to zip it before you can upload it... or rename others.xml to others.txt
I've attached a basic others.xml with all functions listed in the OP
and an original copy of the EE csc folder that IakobosJ uploaded in the WIFI calling thread
(it would be good if everybody could upload their original csc folders for reference and backups in case someone messes up theirs by accident.)
You can just copy and paste my others.xml into the bottom of your own others.xml(backup yours first)
I've had to do this as XDA's forum system seems to have changed at least one of the lines I've posted, and I've even tried going back and editing and it keeps putting a space in the middle of one of them, so use the upload if your having trouble,
I've deleted all but this file in my csc folder and tested it to make sure there nothing else it depends on - everything is working fine on my device.
But feel free to upload your for us to have a look at
Click to expand...
Click to collapse
Ok, I'm finally on a PC so I had a chance to zip that file and have uploaded it. IDK where I screwed up. I'm rooted, I found the System/CSC/Others file and made the proper edits and then saved it. The original file was automatically backed up. The permissions were the same as the original file. IDK what I did wrong.
SantinoInc said:
Ok, I'm finally on a PC so I had a chance to zip that file and have uploaded it. IDK where I screwed up. I'm rooted, I found the System/CSC/Others file and made the proper edits and then saved it. The original file was automatically backed up. The permissions were the same as the original file. IDK what I did wrong.
Click to expand...
Click to collapse
is it just call recording and shutter sound toggle you want to add?
I want to add the NO NFC notification, CALL RECORDING, WI-FI CALLING and NO SOUND for snapping pics.
SantinoInc said:
I want to add the NO NFC notification, CALL RECORDING, WI-FI CALLING and NO SOUND for snapping pics.
Click to expand...
Click to collapse
I've uploaded two versions, one with the feature you've asked for and a full featured one, both based on your original other.xml and tested on my device to be working
just copy one to your csc folder
let me know if you have any problems
tiboric said:
I've uploaded two versions, one with the feature you've asked for and a full featured one, both based on your original other.xml and tested on my device to be working
just copy one to your csc folder
let me know if you have any problems
Click to expand...
Click to collapse
I really appreciate the effort but that didn't work either. I used the file you uploaded for me and made sure the permissions were the same and rebooted. None of the mods worked. It's really weird. I'm going to inquire in the Sprint thread to see if anyone can get these to work.
Unrelated do you know which folder I can find the boot sounds and camera sounds? I'm just going to delete them and that will solve part of my problem.
SantinoInc said:
I really appreciate the effort but that didn't work either. I used the file you uploaded for me and made sure the permissions were the same and rebooted. None of the mods worked. It's really weird. I'm going to inquire in the Sprint thread to see if anyone can get these to work.
Unrelated do you know which folder I can find the boot sounds and camera sounds? I'm just going to delete them and that will solve part of my problem.
Click to expand...
Click to collapse
Thats a shame maybe sprint have changed something.
Sure its
/system/media/audio/ui/PowerOn.ogg
Hope this helps
Killed boot sound but I must have not found the right OGG file for the camera. Do you know the name of the file?
SantinoInc said:
Killed boot sound but I must have not found the right OGG file for the camera. Do you know the name of the file?
Click to expand...
Click to collapse
I believe its
/system/media/audio/ui/camera_click.ogg
P.s did you try any of the apps posted in the second post. I dont know how well the work but ghey seem to have good reviews

Categories

Resources