[HOW TO] Customizing your phone via CSC (wallpaper gallery, data toggle) - Galaxy Y GT-S5360 General

I'm quite new to the experience of digging into the Android system to make it fit exactly all my needs and wishes.
As many others I stumbled into one question: why the stock Wallpaper Gallery has only few pics and, moreover, why there isn't an option to add more pictures?
The answers I found on the Internet either didn't properly apply to my phone ROM or they were not much feasible (like tampering with the system resources files).
But I observed something interesting... a custom vendor wallpaper image added to the default wallpaper gallery; I tried to find the trace back to the source files that made it possible that addition and I found this:
/system/csc/custom.xml
Code:
<Display>
<NbWallpaper>1</NbWallpaper>
<Wallpaper src="/Customer/XTE/Wallpaper/Sun 480 x 320.jpg" width="480" height="320">
<Position>1</Position>
<FileType>JPG</FileType>
</Wallpaper>
</Display>
Modify that at your will and add pictures to the Wallpaper Gallery in a simple way.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: the 3rd wallpaper is a custom one that I added by injecting it directly to the TwWallpaperChooser.apk with same name of a previous one picture, actually replacing it.
I also found that through the use of CSC files a Data toggle option can be conveniently added to the menu that comes with a long press of the power button.
Unfortunately, despite hours spent in a trial & errors task, I haven't been able to figure out where it actually is saved the option that makes appear the Data toggle.
The best thing that I've come to know is that to have the Data toggle available I need to have AT LEAST this two files (with proper permissions and owner):
/system/csc/custom.xml
/system/csc/sales_code.dat
custom.xml can be as small as this:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<CustomerData>
<GeneralInfo>
<SalesCode>HAL</SalesCode>
</GeneralInfo>
</CustomerData>
Note: Sales code is set to HAL but it really doesn't matter as HAL CSC folder doesn't exist; it could be PPP or XYZ and still would be fine.
sales_code.dat must contain XTE (or maybe other *valid* code that I don't know at the moment).
Other than those two files the /system/csc folder can be empty and still the Data toggle is available.

Related

[Q] Change the order of the apps in the menu

Any way to change the order of the Apps in the menu?
/ I mean it should better to view them by alphabetical order /
I think the order stored in a (text) file. If we could find it, we could able to make an application (for a PC, may java app for the phone) to re-order them, and that application could push back the new file...
Check with sTune for instance folder:
Registry\MainMenu_reg.ini
Here are 10 Pages... each are for 12 Apps... maximum 120 Apps on 10 sites.
Apps have MenuID
Where the ID exact stored, NO idea at the moment... So you have to understand which ID is your App.
As every Page is arranged by
MenuIDx you can find App per count...
First left App on top starts with 0, last right App bottom ends with 11...
Rumours about MainMenu_reg.ini... depend on Firmware Version it is writeprotected.
To sort by alphabet it is easier to do it on handset.
In my opinion.
Best Regards
Edit 1.
See here for some Screenshots:
http://forum.xda-developers.com/showthread.php?t=916940
As example Route 66 the Navigation on ID 53. Now you could copy this 53 to every Position you want.
Edit 2.
sTune is an PC Tool with the Power to change MainMenu_reg.ini and copy back to handset. See last Tab.
First:
We should have explore to find the connection between the ID and the location where the app stored (in memeroy or an SD card)
Next: we have to pair the ID with the application'S info to read the name of the app from the XML
Then we should do the trick to change the IDs in the matrix of the menu
I found that Softkey_reg.ini use the same index number to know which 3 app used on softkeys as you see below:
#Version
Version=1
#Softkey
SKMenuID0=67
SKMenuType0=0
SKMenuID1=69
SKMenuType1=0
SKMenuID2=68
SKMenuType2=0
It should be changed to any ID of an app
On the right bottom corner of the first page of mine menu there is a Flash Torch app. As I found, the app id# is 190. I searched for it, and i found under (where applications installed) in a sys file called Appinfo.sys
Registry/MainMenu_reg.ini:
#Page0 (first page)
..
MenuID11=190
Mount/Mnt/Mmc/Others/[email protected]@[email protected]@__/XYZ/Info/Appinfo.sys:
<Application ID="190" AppId="3w1n2nuqxk" Name="Flash Torch">
The connection is:
(MainMenu_reg.ini).MenuID11 -- > (Appinfo.sys).Apllication ID --> Name
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now somebody should make a java widget, what should read the Name from every Appinfo.SYS, and put them into an array, sort them by the first letters, and put index orders, save the MainMenu_Reg.ini to SD card, then replace it with the fresh new ordered numbers

[Q] Need help to configure keyboard...

Managed to install the Samsung Chinese IME, however, when I click on the "settings" button to activate the popup to get to the mic , error appeares that "Samsung Chinese IME has stopped working".
Since the voice input button shares the button with other functions, so you have to long press the settings button, select the mic icon and then the mic icon will stay there in that place.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(see screenshot)
Thus I can never have the MIC button as the default button, since it cannot be activated by any chance.
I did some research and found out that this button is called DefaultMultiModalKeyAs
<Cs</CSCFeature_Sip_DefaultMultiModalKeyAs>
Can someone tell me, where this default setting for extra installed keyboard on S4 mini is saved? Maybe in a .xml file?
Thus I can change the setting in the .xml file manually with a text editor?
Thank you very much!
anybody help please?
thank you.
You need to add the following in your features.xml
Code:
<CscFeature_Sip_DefaultMultiModalKeyAs>VOICE</CscFeature_Sip_DefaultMultiModalKeyAs>
These features can be found in /system/csc/feature.xml
Some users have reported on being on a rom that does not have feature.xml. If you are one of these you may try adding the code to /system/csc/others.xml (same directory).
For help on how to add it, see [CSC features] Enable secret CSC features on Note II in my signature.
PS: I dont know i this will work on S4. I dont have one.
kkoolpatz said:
You need to add the following in your features.xml
Code:
<CscFeature_Sip_DefaultMultiModalKeyAs>VOICE</CscFeature_Sip_DefaultMultiModalKeyAs>
These features can be found in /system/csc/feature.xml
Some users have reported on being on a rom that does not have feature.xml. If you are one of these you may try adding the code to /system/csc/others.xml (same directory).
For help on how to add it, see [CSC features] Enable secret CSC features on Note II in my signature.
PS: I dont know i this will work on S4. I dont have one.
Click to expand...
Click to collapse
Hello!
Thank you so much.
this command line is built in already for the SAMSUNG deafult keyboard at /system/csc/others.xml.
however i can i apply this setting to the Chinesse Samsung Keyboard?
Thank you!

[ColorOS Camera] Guide to Add 16:9 Resolution

Hi guys,
Since using ColorOS v1.0 the stock camera app is missing an option to take pictures with 16:9 resolution format, but when using other app such as camera fv-5 we can use this resolution.
So I believed this is just a software restriction instead of hardware limitation. After looking inside several .xml files I figured out a way to add back this 16:9 option into Oppo Camera app.
We need to edit two xml files which you can find in /system/etc and their names are :
oppo_camera_dev_config.xml
and
oppo_camera_dev_config_novoice.xml
You can use file editor to edit them, just remember to backup first. Permissions for these files are 0644 with root as owner. You need root access and mount system with rw access first.
Now you only need to add this single line inside <string-array-name="oppo_back_camera_supported_picture_size"> into both files :
<item>2560x1440</item>
Details below :
This is the original content :
Code:
<!-- Supported Camera picture size for back camera in mega-->
<string-array name="oppo_back_camera_supported_picture_size">
<item>3264x2448</item>
<item>2560x1920</item>
<item>2048x1536</item>
</string-array>
And this is after inserting one line :
Code:
<!-- Supported Camera picture size for back camera in mega-->
<string-array name="oppo_back_camera_supported_picture_size">
<item>3264x2448</item>
<item>2560x1920</item>
<item>2560x1440</item>
<item>2048x1536</item>
</string-array>
Don't forget to reboot first.
And here's the screenshot from Oppo Camera after editing xml files :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my R819 using Tapatalk
hi,
In files oppo_camera_dev_config.xml and oppo_camera_dev_config_novoice.xml:
changing from "false" to "true" we obtain new features in camera app (slow shutter)
Code:
<!--camera mode list-->
<string name="slowshtr">true</string>
adding <item>rec_hdr</item> and <item>rec_slow_playback</item> inside <!-- Supported Camera mode for back camera --> we obtain new features (hdr movie and slow motion)
Code:
<!-- Supported Camera mode for back camera -->
<string-array name="oppo_back_camera_supported_rec_mode">
<item>rec_hdr</item>
<item>rec_slow_playback</item>
Unfortunately, I do not see any difference in recorded movie and slow shutter does not seem to work.
Inside decompiled oppocamera.apk are two files oppo_camera_dev_config.xml and oppo_camera_dev_config_novoice.xml changing the parameters there also do not see any difference.

[2.3xx][MOD][GUIDE] AlmasToggle(Noob Friendly) (Updated v2)

24 Toggle Almas Toggle
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
AlmasToggle
I am Bored with lidroid quickpanel and my friend spacecaker toggles because no methods to switch between gridview or horizontal view and some other stuff. I make This toggle from Scratch no fork of cm11 or any other toggle source it is totally open source everyone can fork and anything but just give credit to me This toggle take 4-5 day to complete because me soo busy these day . If You need any help regarding to this post here BUT NO PM there one app where some window are located if you don't install that force close when clicking on window based toggle. Also There almas-res.apk Where the resource are located you need to put almas-res.apk to system/framework the java of the toggle will load to app to give output of images and etc. If You want to have kitkat Status_Bar_Close just open status_bar_tracking find <ImageView and replace with com.almas.systemui.BottomBar after replacing you need remove android:src="blabla" from the tag. AlmasToggle contain 24 Toggle Now and can be switch grid view and horizontal view . We talk so much let's start ?
Required
1. almas-res.apk
2.AlmasToggle.apk
3.Toggle_Smali
Instruction
1st
1. Put almas-res.apk to /system/app or /system/framework and set Permission R - W - RR (Recommended to in /system/app)
2.Install AlmasToggle to Your Phone
2nd
1.Decompile Your SystemUI.apk
2.Open smali folder Merged Toggle_Smali
3.Open /res/layout/**** any layout where you want load
4.Add These Lines
Code:
<com.almas.toggles.ToggleGridView android:layout_width="match_parent" android:layout_height="wrap_content" />
<com.almas.toggles.ToggleHorizontalView android:layout_width="wrap_content" android:layout_height="wrap_content" />
Tips
How to change Profile name and photo
Click on the Toggle
SS
Credits
AndroidFire
PxL for Toggle Images
tentenponce
AKOP
SpaceCaker
Source
Go Here
Change logs
v1
-Initial released
v2
-Added Wifi Hotspot Toggle
-Bug Fixed
-Added Toggle Order
-Many More
Features
Two Policy.
AutoUpdate
Toggle Order
Extended Toggle
more

[J737P] J7 Refine How to modify APN [ROOT]

First, before you start, this is for root users.
*Remember to follow the steps correctly
1. You will need those apps:
1 CSC Features expert
2 Mix Explorer
3 link2sd
*all the app will need root permissions
2. Open the Csc app And find: Opmenu
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And Rename the SPR To GLOBAL
You will see that the changes will not apply when you save it, do not worry, all you need is the file feature.xml
3. Open Mix Explorer go to: / System / csc There is the file features.xml Open it with the tx editor from the MIX and verify that the changes were applied correctly, find this: ConfigOpMenuStructur That should look like
If it is in GLOBAL, do not modify it, but if it still says SPR, change it to GLOBAL.
* Now we will move that file to this address: / odm / omc / BST / conf * Being there we will find several files
* Rename the file [cscfeature.xml] To [Originalcscfeature.xml] and now Rename the file [features.xml] as [cscfeature.xml] * It will have to look like this.
4. Open Link2sd and find: Sprint OMADM And freeze. Since this is the app to refresh the APN every so often.
*Now go back to the initial screen of the app
and do a Quick Reboot * After doing the Quick Reboot, now we are ready to modify our APN
5. Go to Settings,connections, Mobile network, Access points names
open it and modify what you need to modify and do not forget to save the changes.
6. go back to the mix explorer app and let's rename the previous files to their original state
[cscfeature.xml] To [fakecscfeature.xml] and now Rename the file [Originalcscfeature.xml] as [cscfeature.xml] * It will have to look like this.
AND NOW DO A SIMPLE RESTAR AND THAT'S ALL
Where uable to do anything else with the apn ie unlock..?

Categories

Resources