[TIP] How to join more than 5 Contacts - Android Software/Hacking General [Developers Only]

Good day my dear friends,
There were a lot of questions about this matter, yet the only solution I found here apply for Galaxy SIII
So, for all of you who still didn't manage to have this feature, I come today with the solution.
I applied it in my Galaxy Grand Duos and it worked.
First, your device needs to be rooted.
Then, follow these steps:
1. Use root explorer (as R/W) to go to /system/csc/ and look for a file called features.xml. If you didn’t find it (I didn’t) then look for a file called others.xml.
2. You'll find The following code:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<SamsungMobileFeauture>
<FeatureSet>
</FeatureSet>
</SamsungMobileFeauture>
You might find some <CscFeature...> tags… just keep them.
3. Now right before the last two lines (before “</FeatureSet>“) add the following line:
Code:
<CscFeature_Contact_SetLinkCountMaxAs>[COLOR="red"]30[/COLOR]</CscFeature_Contact_SetLinkCountMaxAs>
Replace (30) with the number you want as a limit.
4. Save the file and restart.
Note: if you selected a different country other than USA, you'll have to go to the folder that represent your country inside /system/csc/ and repeat the steps 2-4 to the file feature.xml or others.xml inside it.
In my case, I'm from Saudi Arabia so I needed to go to /system/csc/KSA/system/csc and applied the changes to others.xml and it worked.
Thanks to l0uy blog

Thank you. It works, but...changing the number to anything bigger then 5 removes the contact's network icons (google, skype, facebook, etc)
Any solution for this?
Thanks.
Samsung Galaxy Note 2 with stock 4.1.2

Related

[Q] How to change Phone Defaults except build.prop?

I have installed a ROM.When i go to settings,it shows at the end 'Custom build by Rocky" This really sucks.
I tried to change it by build.prop but i couldn't do that as 'Custom build by Rocky';this text was even not present there. I searched a lot for this.Now can anyone tell me how to change this..I am sure this specific text is not present in build.prop,is there any other file to do that?
I've had my fair share in rom development a year or so ago. And I can tell you that the name there is just a way of marking the rom.
But if you're really bothered by it, I can tell you how to find the string, edit it or completely remove it. To find the string - Custom build by Rocky, you can't just change it in build.prop. For this, you must go into /system/app and then copy Settings.apk file to your desktop. From there, go ahead and decompile Settings.apk with a preferred decompiler. When decompiled, head into the project, and navigate to the following folder - res/values and open strings.xml with a text editor. Search for Custom build by Rocky in the text file, once found. You may change it to whatever you wish. But if you want to remove it, you have to remember the ID of the string. For example, in - example text - which is the string, the text to the right. The ID is text the ID is found in the left hand side, it's after the word name . So remember that, now go back to the res directory and scroll down to the xml folder, open it and look for about.xml. In there search for text which is the ID. And remove the line completely. Also make sure to remove the header line too. As this will stop the layout from having an invisible section.
Now compile the Settings.apk and push it to your device - adb push desktop/path/to/Settings.apk /system/app or just copy Settings.apk to device and do it from there.
I do not encourage you to do this. And you can do this at your own risk. I will not take any responsibility if you mess up your phone.
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
I've had my fair share in rom development a year or so ago. And I can tell you that the name there is just a way of marking the rom.
But if you're really bothered by it, I can tell you how to find the string, edit it or completely remove it. To find the string - Custom build by Rocky, you can't just change it in build.prop. For this, you must go into /system/app and then copy Settings.apk file to your desktop. From there, go ahead and decompile Settings.apk with a preferred decompiler. When decompiled, head into the project, and navigate to the following folder - res/values and open strings.xml with a text editor. Search for Custom build by Rocky in the text file, once found. You may change it to whatever you wish. But if you want to remove it, you have to remember the ID of the string. For example, in - example text - which is the string, the text to the right. The ID is text the ID is found in the left hand side, it's after the word name . So remember that, now go back to the res directory and scroll down to the xml folder, open it and look for about.xml. In there search for text which is the ID. And remove the line completely. Also make sure to remove the header line too. As this will stop the layout from having an invisible section.
Now compile the Settings.apk and push it to your device - adb push desktop/path/to/Settings.apk /system/app or just copy Settings.apk to device and do it from there.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Can u suggest me some apk decompilers?
Try "APKTool" just search for it on the search part of this site, it should come up.
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
Try "APKTool" just search for it on the search part of this site, it should come up.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hey bro! This method worked..
But,now i am in a more big problem.
By the way that test was 'Custom build by Jatin' not Rocky.
The new settings.apk which i recompiled after editing that line successfully was not directly installing on my phone.
So,i replaced that new apk with the settings.apk in my ROM which contains 'Custom Build by Jatin' text..
Now,when i installed that ROM again,everthing went right ..but when i cheked the apps ...My settings option was no more..It was not installed during the ROM installation..I manually also tried to install that but nothing was achieved!
Now ,how to fix this? Hey bro,I am also attaching that settings.apk ,see if you can edit that line yourself and then again attach here for my use.Its line 176 in res/strings ,,just replace that line from 'Custom Build' only...
Please help me bro.
This happens sometimes. Its best to push the .apk to your device rather than moving it
Sent from my Nexus 5 using Tapatalk
krishneelg3 said:
This happens sometimes. Its best to push the .apk to your device rather than moving it
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Now,the settings.apk is crashing..Bro,there is somewhere error between the app..I have attached that apk in this forum before..Can't u yourself rename that line and attach here..Please bro
Problem fixed
The unsigned settings.apk worked now....
Sorry, I just saw your post. Oh and I'm glad it works now. With system apps, you mustn't sign them. They don't work properly.
Sent from my Nexus 5 using Tapatalk

[Resolved] [Q] Trying to modify framework-res.apk => no actions

Hello.
I'm French and live in Japan. I own a Samsung Galaxy S4 from Docomo (SC04E) in 4.4.2 who have only English, Japanese & Korean languages and I'm trying to add the French local in some system apks. (I take them from an extracted French ROM of the S4).
All is fine for a lot of them, I'd read a lot a tutorials before begun.
But When I work in the framework-res.apk, it seems to do nothing !
Explanation :
-No translation for the contextual menu in the home screen, and no translation in the lockscreen.
-I've tried to replace the "Swipe screen to unlock" message in the res/values/strings.xml (this is the only file who contain this text) and it didn't change after install (copy and replace with root browser) in the system/framework/ dir.
-The size of the modified file is bigger in root browser than the original one, even after reboot, so the file is the new one.
-After long time searching, I saw that the exact text in the lockscreen is "Swipe screen to unlock." whith a dot at the end, and I don't have this sentence whith a dot in any file of the decompiled framework-res.apk !!!
What I'm doing wrong ???
PS: I saw that it's possible to "overlay" the framework-res.apk (and any system apk) with a file in /vendor/overlay/ I don't have this directory.
Thanks in advance.
Find it !!
Ok, I will answer myself as I found the solution :
This is due to the "overlay" Samsung put in there phones (Touchwizz).
The apks are : Keyguard.apk and SecLauncher3.apk in /system/priv-app/
Anyway thanks for reading !!
how to edit text color in framework-res.apk
Can anyone give here give me some tut on how to edit the text colors and background in framework?.please i need help.

[video] [Guide] enable WhatsApp calling feature.. any device (4.4+)

video link https://www.youtube.com/watch?v=8RlIxhEJEOw
STEPS:-Install the latest apk (Of course)
Open any root explorer (es file explorer preferred )
and navigate to /data/data/com.whatsapp/shared_prefs/com.whatsapp_preferences.xml
Add these 2 lines anywhere in the file but within the <map></map> and save
<boolean name="call" value="true" /> <string name="call_allowed">all</string>
now force stop WhatsApp and open it again .... and you are done
Not able to post kink but video id = 8RlIxhEJEOw
Edit if any one can post link then plz add that video...thanks
Seems no one interested
Seems like not working.
I got the call tab, but anyone I'm trying calling to, it's just getting disconnect immediately.
(all the people I tried have the updated version)

[GUIDE][MOD][ApkTool] Disable Roaming Indicator R in Home Networks

Disclaimer:
You agree to the risks of modifying your system partition and the after effects such as WW3 that might be caused due to this! This is just compilation of my steps to fix an issue and not necessarily my own work. Appropriate credits to respective creators of this mod or similar. No offence people!
Across the globe, Roaming can be truly useful to be mindful of additional charges that we might incur when roaming outside home network.
Roaming Indicator can be annoying too when you know that your mobile operator uses multiple MNC/MCC values within the same home network (India - Airtel Chennai/TamilNadu in my case) or in case of a MVNO. While I'm charged the same home network charges, I get annoying R indicator when I switch between TamilNadu/Chennai coverage regions.
I was earlier using a work around using Roaming Control Xposed Module until Marshmallow. With Nougat in the scene, I wanted to fix this annoyance myself.
The trick was already in internet but sharing here for easy adaptation by fellow xda members on the same boat.
Pre-requisites:
1. Latest Apktool. Credits: @iBotPeaches. Check his xda thread.
2. Adb (Optional if you have root).
3. System write access via Root or Recovery.
Steps:
1. Pull the framework-res.apk from your current Android device. The file is found in the path:
Code:
/system/framework/framework-res.apk
2. Decompile the apk with the below steps.
Code:
apktool if framework-res.apk
Code:
apktool d framework-res.apk
3. Navigate to framework-res folder that is now created after decompiling.
4. Drill down to
Code:
res/values-mcc[COLOR="Red"]404[/COLOR]/arrays.xml
Substitute 404 with your MCC value.
5. Edit the file as below.
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="config_operatorConsideredNonRoaming">
<item>40440</item>
<item>40494</item>
</string-array>
</resources>
40440 - Your MCC & your MNC
I have used two item lines as I have one MNC each for TamilNadu and Chennai. Edit the item lines according to your needs. MCC/MNC list can be obtained from Google.
I have used Wikipedia. Credits to the contributors.
6. Recompile the apk.
Code:
apktool b -c framework-res
7. Once compiled, the new framework-res.apk will be found inside /framework-res/dist folder.
8. Open the framework-res.apk inside the dist folder as an archive using 7-zip or similar and extract the resources.arsc file.
9. Open the original framework-res.apk we pulled from the phone as an archive and replace the resources.arsc with the new file from last step.
10. Copy the modified framework-res.apk file from last step to your /system/framework/ partition with permission rw-r-r- (0644).
9. Reboot and enjoy!
emanoj.i9103 said:
Disclaimer:
OP
Click to expand...
Click to collapse
I tried your guide but was not able to get rid of the roaming icon.
I am using reliance Jio sim from Himachal pradesh in Maharashtra.
I am taking MNC and MCC values from here
https://telecomtalk.info/a-comprehe...-code-mnc-of-reliance-jio-circle-wise/111901/
I am creating folder in /res/values/ named as mnc405 and then creating /res/values/mnc405/arrays.xml and placing following code in the file
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="config_operatorConsideredNonRoaming">
<item>405864</item>
<item>405859</item>
</string-array>
</resources>
Am I doing something wrong ?
Please advice.
gulshanstrider said:
I tried your guide but was not able to get rid of the roaming icon.
I am using reliance Jio sim from Himachal pradesh in Maharashtra.
I am taking MNC and MCC values from here
https://telecomtalk.info/a-comprehe...-code-mnc-of-reliance-jio-circle-wise/111901/
I am creating folder in /res/values/ named as mnc405 and then creating /res/values/mnc405/arrays.xml and placing following code in the file
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string-array name="config_operatorConsideredNonRoaming">
<item>405864</item>
<item>405859</item>
</string-array>
</resources>
Am I doing something wrong ?
Please advice.
Click to expand...
Click to collapse
@gulshanstrider, I have corrected the folder reference. It's a typo.
Should be /res/values-mcc....
Thanks for helping me notice the mistake, please retry this way.
Also, once the new apk gets created, pull the resources.arsc file from it and put it in the source apk file. (Handle the apk file as a zip archive). This ensures bootloop issues if any to not occur.
Sent from my Nexus 6P using Tapatalk
emanoj.i9103 said:
@gulshanstrider, I have corrected the folder reference. It's a typo.
Should be /res/values-mcc....
Thanks for helping me notice the mistake, please retry this way.
Also, once the new apk gets created, pull the resources.arsc file from it and put it in the source apk file. (Handle the apk file as a zip archive). This ensures bootloop issues if any to not occur.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Its still not clear. Now your post doesn't make any sense
Do I only need to add the MNC and MCC values ?
No <string > tag in arrays.XML?
You just need to edit the arrays.xml , Replace existing tag with the suggested one. Patience is the key. Read instruction from start and consider the additional instruction at last like a topping
Sent from my Nexus 6P using Tapatalk
emanoj.i9103 said:
40440 - Your MCC & your MNC
Click to expand...
Click to collapse
I think you have made typo here as well. Shouldn't it be ?
MNC & your MCC
Please advice
Thanks
gulshanstrider said:
I think you have made typo here as well. Shouldn't it be ?
MNC & your MCC
Please advice
Thanks
Click to expand...
Click to collapse
MCC is Mobile Country Code, it's either 404 or 405 for India.
MNC is Mobile Network Code, that's based on your telecom region separation based on spectrum and code allocation.
The given order is right buddy.
Sent from my Nexus 6P using Tapatalk
emanoj.i9103 said:
MCC is Mobile Country Code, it's either 404 or 405 for India.
MNC is Mobile Network Code, that's based on your telecom region separation based on spectrum and code allocation.
The given order is right buddy.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
OK thanks for your help.
got rid of the icon
Is it possible to add multiple countries codes?
Many phone plans now include free roaming but the software hasn't been updated to work with this correctly.

Edit CSC others.xml

HI there,
I want to edit the file others.xml in system\csc\ to add in VoLTE activation for my Galaxy note 3.
Now, I know that most people say you need root, but I don't wat to root, have done it before, but I do not want to lose access to certain apps such as SKY Go, which need orginal stock.
My question, can we use a low level edit from say CWM recovery or any other piece of software that allows you one of two things:
1. Edit file others.xml before android is booted
2. If edit not possible, copy into that directory a previously prepared file and rename
I'd like to understand where CWM recovery or TWRP (or any other) sit within Android structure and what abilities do they have (e.g. edit, copy, rename etc.)
Many thanks everyone

Categories

Resources