[GUIDE] [TUT] Samsung Edge Screen - Galaxy S II Themes and Apps

i share today this GUIDE Samsung EdgeScreen; work perfect :good:in my phone:laugh:
Guide Edge Screen
==================Samsung Galaxy S II / GT-I9100 Android version 4.1.2 ==============
1. Decompile SecSettings.apk ( I used AndroidMultitool )
SecSettings.apk \ res \ xml ---> display_settings.xml
-add after; (look my attached display_settings.xml)
<PreferenceScreen android:title="@string/notification_panel_title" android:key="notification_panel_edit">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.NotificationPanel" />
</PreferenceScreen>
-this line;
<PreferenceScreen android:title="@string/edgescreen_summary" android:summary="@string/edgescreen_settings_summary">
<intent android:targetPackage="com.ahmednasserhk.edgescreen" android:action="android.intent.action.MAIN" android:targetClass="com.ahmednasserhk.peopleedge.MainActivity" />
</PreferenceScreen>
2. Go to SecSettings.apk \ res \ values --->strings.xml
-add this line;
<string name="edgescreen_summary">Edge Screen</string>
<string name="edgescreen_settings_summary">Access your most important contacts and apps on Edge screen</string>
Recompile.
Move with Root Explorer; SecSettings.apk and Edge.apk to --> system\app ---> set Permissions 0644 (rw-r--r--) ---> Reboot Enjoy
*download link; -drive; https://drive.google.com/file/d/0B8wCcf9dgYXudnM3TmxBYlFJOEE/view?usp=sharing
MEGA; https://mega.nz/#!pkFVjDQS!KmDb332oARiLrlUzDeduGG-oTULIXEu_FlFFzD6qRug
*i attached; - my display_settings.xm
-screenshots
*original post ; https://forum.xda-developers.com/chef-central/android/guide-samsung-edge-screen-android-t3575830
*** Thanks to;
*ahmed.nasser.hk
* XDA Developers forum and all XDA dev/member.

Related

[TEAM XPOSED][HOW-TO]7/18/12 SystemUI mods and how-tos (new: custom notif background)

This thread will be about various SystemUI modifications and how to achieve them. The first post will be full of screenshots and my personal mods and the second post will be the how-tos.
First of all, here is my modified SystemUI in its current form. It has been modded to do the following:
Blue ICS icons
Blue style quick toggle icons
Blue notification shade bottom from ICS
Remove clock
Remove carrier ID
Remove quick toggle text
Upcoming mods to it will be:
Battery precentages
Charging battery animations
1x display
{
"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"
}
HOW-TO
7/18/12: Custom notification pulldown background:
First, we're going to use a file that already exists in SystemUI that isn't being used by the system, so that we don't have to create IDs and anything else too difficult. Create your custom background and save it as a png. Yes, it also supports transparency right off the bat! Once you have your custom background selected, name it "status_bar_expand_default.png" and put it in the drawable-xhdpi folder in /res/drawable-xhdpi/ overwriting the current one.
Now navigate to /res/layout/tw_status_bar_tracking.xml and open it with editor
LOOK FOR:
Code:
<FrameLayout android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1.0" />
CHANGE
Code:
android:background="#ff000000"
TO:
Code:
android:background="@drawable/status_bar_expand_default"
Save & Close
Compile, push to /system/app/ and change permissions to 644 and reboot or create flashable zip to flash in recovery.
7/17/12: Remove battery full notification:
Navigate to /com/android/systemui/power/PowerUI$1.smali
LOOK FOR:
Code:
iget v14, v14, Lcom/android/systemui/power/PowerUI;->mBatteryStatus:I
if-ne v13, v14, :cond_1b3
move-object/from16 v0, p0
iget-object v13, v0, Lcom/android/systemui/power/PowerUI$1;->this$0:Lcom/android/systemui/power/PowerUI;
invoke-virtual {v13}, Lcom/android/systemui/power/PowerUI;->notifyFullBatteryNotification()V
:cond_da
:goto_da
const/4 v13, 0x4
REMOVE:
Code:
invoke-virtual {v13}, Lcom/android/systemui/power/PowerUI;->notifyFullBatteryNotification()V
Save & Close
Compile, push to /system/app/ and change permissions to 644 and reboot or create flashable zip to flash in recovery.
How to decompile troublesome ICS apks on the GS3:
Start off by downloading the package I put together with APKTOOL v1.4.2 and v1.4.4: here
You also need to have Java installed, and WinRAR or a comparable archive manager installed.
Extract it and navigate there with a command prompt
Grab your framework-res.apk and SystemUI.apk from your ROM or ADB on your phone and place them in the same directory as your apktools
Open SystemUI with WinRAR or your archive manager and extract the META-INF folder and AndroidManifest.xml file and put them somewhere easy to find.
In command prompt type this command "apktool if framework-res.apk" and if done correct, you will have installed a dependency for whatever you're about to decompile.
The trick is to decompile with 1.4.2 which is named apktool142.jar, so rename that to apktool.jar
Now you're ready to decompile SystemUI. Type this command "apktool d SystemUI.apk" and if done correctly it will start the decompiling process and eventually finish with a new folder "SystemUI" being created.
Now you can make all of your edits.
The next trick is to recompile with 1.4.4 which is named apktool144.jar, but first rename your current apktool.jar back to apktool142.jar then rename apktool144.jar to apktool.jar.
Once done, recompile your SystemUI file by typing "apktool b SystemUI"
Once done, copy the folder and file from earlier "META-INF" and "AndroidManifest.xml" then open the "SystemUI" folder then open "build" then "apk" and paste them here, which will overwrite the current AndroidManifest.xml and create the META-INF folder in there.
Now type "apktool b SystemUI" again and this time it will build much faster than before. Once done your file is ready to be tested!
Open the "SystemUI" folder, go into "dist" and voila, your file is there, signed, and ready to be pushed back to your phone.
Go ahead and push it back with ADB, or with Root Explorer, OR create yourself a flashable zip. Whatever works for you.
Enjoy.
How to remove Quick settings toggle text or hide Quick Settinsg toggle:
I have seen inquiries about how to mod the quick toggle area to remove it. It's a fairly easy modification to make. Especially if you already know how to decompile and recompile SystemUI.apk
For the sake of making this HOW-TO short and to the point, I'm going to assume you already know how to successfully decompile and recompile SystemUI.apk. If you don't, I will be posting up another HOW-TO with all the necessary tools.
Let me first start out by apologizing because this is kind of sloppy. It may require less steps but once I got it, I didn't bother going back to figure out if it did require less steps or not.
Start off by decompiling SystemUI.apk
Next, navigate to /res/layout/tw_quick_setting_button.xml
Open it with your favorite editor
LOOK FOR:
Code:
<LinearLayout android:orientation="vertical" android:focusable="false" android:layout_width="fill_parent" android:layout_height="@dimen/quick_setting_button_height">
CHANGE:
Code:
android:layout_height="@dimen/quick_setting_button_height"
For complete removal of quick toggle settings:
TO:
Code:
android:layout_height="0.0dip"
For text removal like my mod:
TO
Code:
android:layout_height="50.0dip"
LOOK FOR:
Code:
<TextView android:textSize="@dimen/quick_setting_button_text_size" android:textColor="#ff9eb2c3" android:gravity="center" android:id="@id/btn_text" android:layout_width="fill_parent" android:layout_height="@dimen/quick_setting_button_text_height" android:includeFontPadding="false" android:shadowColor="#ff000000" android:shadowDx="1.0" android:shadowDy="1.0" android:shadowRadius="2.0" />
CHANGE:
Code:
android:textSize="@dimen/quick_setting_button_text_size"
For complete or text removal:
TO:
Code:
android:textSize="0.0dip"
Save & close
Navigate to /res/layout/tw_status_bar_expanded.xml and open with editor
LOOK FOR:
Code:
<com.android.systemui.statusbar.policy.quicksetting.QuickSettingPanel android:orientation="horizontal" android:id="@id/quicksetting_container" android:layout_width="wrap_content" android:layout_height="wrap_content" android:divider="@drawable/tw_black_bg" android:showDividers="middle" />
CHANGE:
Code:
android:layout_height="wrap_content"
For complete removal:
TO:
Code:
android:layout_height="0.0dip"
For text removal like my mod:
TO:
Code:
android:layout_height="50.0dip"
If you want to remove the carrier ID (Sprint):
LOOK FOR and REMOVE:
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textSize="@dimen/status_bar_expanded_plmn_text_size" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:paddingLeft="11.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/date" android:layout_alignParentLeft="true" android:layout_centerVertical="true" />
Save & close
These next parts probably aren't needed but I did them anyway. If you want to try compiling and using your SystemUI.apk, go for it and report back. If you want to follow exactly what I did, keep reading..
Navigate to /res/layout/tw_status_bar_toggle_slider.xml and open with editor
LOOK FOR:
Code:
<TextView android:textSize="15.0dip" android:textColor="#ffd7d7d7" android:id="@id/label" android:layout_width="46.0dip" android:layout_height="wrap_content" android:layout_marginRight="4.0dip" android:singleLine="false" android:layout_alignParentRight="true" android:layout_centerVertical="true" />
CHANGE:
Code:
android:textSize="15.0dip"
For complete or text removal
TO:
Code:
android:textSize="0.0dip"
Save & Close
Navigate to /res/values/dimens.xml and open with editor
LOOK FOR:
Code:
<dimen name="quick_setting_button_text_height">30.0dip</dimen>
<dimen name="quick_setting_button_text_size">13.0dip</dimen>
For complete or text removal:
CHANGE TO:
Code:
<dimen name="quick_setting_button_text_height">0.0dip</dimen>
<dimen name="quick_setting_button_text_size">0.0dip</dimen>
Save & Close
Finally, navigate to /res/values/strings.xml and open with editor
LOOK FOR:
Code:
<string name="status_bar_settings_wifi_button">Wi-Fi</string>
<string name="status_bar_settings_airplane">Airplane mode</string>
<string name="status_bar_settings_auto_rotation">Auto-rotate screen</string>
<string name="status_bar_settings_mute_label">MUTE</string>
For complete or text removal:
CHANGE TO:
Code:
<string name="status_bar_settings_wifi_button"></string>
<string name="status_bar_settings_airplane"></string>
<string name="status_bar_settings_auto_rotation"></string>
<string name="status_bar_settings_mute_label"></string>
LOOK FOR:
Code:
<string name="quickpanel_wifi_text">Wi-Fi</string>
<string name="quickpanel_bluetooth_text">Bluetooth</string>
<string name="quickpanel_gps_text">GPS</string>
<string name="quickpanel_silent_mode_text">"Silent
mode"</string>
<string name="quickpanel_silent_mode_sound">Sound</string>
<string name="quickpanel_silent_mode_vibrate">Vibrate</string>
<string name="quickpanel_silent_mode_mute">Mute</string>
<string name="quickpanel_rotation_text">"Screen
rotation"</string>
<string name="quickpanel_mobile_data_text">"Mobile
data"</string>
<string name="quickpanel_notification_text">Notification</string>
<string name="quickpanel_airplane_mode_text">"Flight
mode"</string>
<string name="quickpanel_sync_text">Sync</string>
<string name="quickpanel_wifi_display_text">"AllShare
Cast"</string>
<string name="quickpanel_power_saving_text">"Power
saving"</string>
<string name="quickpanel_driving_mode_text">"Driving
mode"</string>
<string name="quickpanel_error_text">Error</string>
<string name="quickpanel_ctwap_text">CTWAP</string>
<string name="quickpanel_ctnet_text">CTNET</string>
For complete or text removal:
CHANGE TO:
Code:
<string name="quickpanel_wifi_text"></string>
<string name="quickpanel_bluetooth_text"></string>
<string name="quickpanel_gps_text"></string>
<string name="quickpanel_silent_mode_text"></string>
<string name="quickpanel_silent_mode_sound"></string>
<string name="quickpanel_silent_mode_vibrate"></string>
<string name="quickpanel_silent_mode_mute"></string>
<string name="quickpanel_rotation_text"></string>
<string name="quickpanel_mobile_data_text"></string>
<string name="quickpanel_notification_text"></string>
<string name="quickpanel_airplane_mode_text"></string>
<string name="quickpanel_sync_text"></string>
<string name="quickpanel_wifi_display_text"></string>
<string name="quickpanel_power_saving_text"></string>
<string name="quickpanel_driving_mode_text"></string>
<string name="quickpanel_error_text"></string>
<string name="quickpanel_ctwap_text"></string>
<string name="quickpanel_ctnet_text"></string>
LOOK FOR:
Code:
<string name="quickpanel_data_roaming_text">"Data
roaming"</string>
For complete or text removal:
CHANGE TO:
Code:
<string name="quickpanel_data_roaming_text"></string>
Save & Close
Compile, push to /system/app/ and change permissions to 644 and reboot or create flashable zip to flash in recovery.
Now, a lot of these could have simply been removed from the XML, but I decided to mod their values to preserve structure in case I want to put things back the way they were. If you want to experiment with removing the entire "LOOK FOR:" line, please report back the results.
Enjoy.
How to change carrier label:
Navigate to /res/values/strings.xml and open with editor
LOOK FOR:
Code:
<string name="done">Done</string>
<string name="edit">Edit</string>
AKA at the bottom of the file.
ADD AFTER:
Code:
<string name="custom_carrier">INSERT_CUSTOM_CARRIER_LABEL_HERE</string>
Add what you want where it says "INSERT_CUSTOM_CARRIER_LABEL_HERE"
Save & Close.
Navigate to /res/layout/tw_status_bar_expanded.xml and open with editor
If you haven't removed the carrier label already:
LOOK FOR:
Code:
<com.android.systemui.statusbar.phone.CarrierLabel android:textSize="@dimen/status_bar_expanded_plmn_text_size" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:paddingLeft="11.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/date" android:layout_alignParentLeft="true" android:layout_centerVertical="true" />
REPLACE WITH:
Code:
<TextView android:textSize="@dimen/status_bar_expanded_plmn_text_size" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:paddingLeft="11.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/date" android:layout_alignParentLeft="true" android:text="@string/custom_carrier" android:layout_centerVertical="true" />
If you have removed the carrier label:
LOOK FOR:
Code:
<com.android.systemui.statusbar.policy.DateView android:textSize="@dimen/status_bar_expanded_date_text_size" android:textColor="#ff1589d7" android:id="@id/date" android:paddingRight="12.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/settings_launch_button" android:layout_centerVertical="true" />
ADD AFTER:
Code:
<TextView android:textSize="@dimen/status_bar_expanded_plmn_text_size" android:textColor="#ffd7d7d7" android:ellipsize="marquee" android:paddingLeft="11.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@id/date" android:layout_alignParentLeft="true" android:text="@string/custom_carrier" android:layout_centerVertical="true" />
Save & Close
Compile, push to /system/app/ and change permissions to 644 and reboot or create flashable zip to flash in recovery.
Awesome. Thank you for your contribution to the community.
Sent from my SPH-L710 using Tapatalk 2
Wondering if this qualifies as one
http://forum.xda-developers.com/showthread.php?t=1740993
i thought that's what the theming sticky was for, stuff like this
thx
thank you for your help, thisthread is very useful
nest75068 said:
Wondering if this qualifies as one
http://forum.xda-developers.com/showthread.php?t=1740993
Click to expand...
Click to collapse
You can get shutter sound controls without any modifications to sound. I don't know why it's labeled as silent camera if you can get shutter sounds without modding anything.
Anyway to modify and remove the persistant wifi conmectee text from the notification bar
Awesome freeza TY
Nice to see you here freeza.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
FrankJL_ said:
Anyway to modify and remove the persistant wifi conmectee text from the notification bar
Click to expand...
Click to collapse
Most definitely. Verizon right? Send me a copy of your systemui.apk
freeza said:
Most definitely. Verizon right? Send me a copy of your systemui.apk
Click to expand...
Click to collapse
Been trying to get rid of the same thing. Do tell, if you know how.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
I am on Verizon too. I removed the wifi notification, but decided to put it back until there is a proper toggle. Can you make a flashable zip to make the toggles like the first post?
Thanks
lynseyw said:
I am on Verizon too. I removed the wifi notification, but decided to put it back until there is a proper toggle. Can you make a flashable zip to make the toggles like the first post?
Thanks
Click to expand...
Click to collapse
Yeah but you'll have to send me a copy of your systemui
Figured out how to change carrier ID
freeza said:
Figured out how to change carrier ID
Click to expand...
Click to collapse
I've been trying to figure it out myself.
Care to share?
Sent from my SGH-T999 using xda premium
uoY_redruM said:
I've been trying to figure it out myself.
Care to share?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Sure will, Will be posting it up in the second post
Thanks for the thread.
I downloaded NinjaMorph Free and when viewing the xml files it seems, encrypted, a bunch of "?" and gibberish show. Is there a certain xml editor I'm suppose to use? Thanks for the help.
freeza said:
Figured out how to change carrier ID
Click to expand...
Click to collapse
was wondering what is that you have there under Ongoing?? with the cpu and memory and all that stuff.
Updated second post with instructions on how to change the carrier label
shadrach47 said:
Thanks for the thread.
I downloaded NinjaMorph Free and when viewing the xml files it seems, encrypted, a bunch of "?" and gibberish show. Is there a certain xml editor I'm suppose to use? Thanks for the help.
Click to expand...
Click to collapse
No problem. I think your problem is because you have to decompile the apk first, or the xmls will be encrypted.
concac858 said:
was wondering what is that you have there under Ongoing?? with the cpu and memory and all that stuff.
Click to expand...
Click to collapse
That's the app "Elixir2" free from the market.

Maximum graphics on Asphalt 7 (with instructions)

I found how to make the game look decent on our device. It doesn't run very fluid though, especially in some tracks, but the game is playable, and it could be made more fluid with further optimizations, I think (I don't have enough time to test all options and see if they do make a difference).
Basically, all you need to do is open the patch.1041.com.gameloft.android.ANMP.GloftA7HM.obb with Winrar or 7Zip (you can also rename the file to zip and then open it), then navigate to the deviceconfig folder, inside there will be an .xml file. If you don't have the patch file for whatever reason, you need to change it inside the main. file.
Open in in Notepad++ or similar, and you'll see something like this repeated a few times for different devices (such as medium, high, low, etc).
HTML:
<device name="medium" parent="default">
<attributes>
SOME STUFF HERE
</attributes>
</device>
Well, you need to copy the next part inside all of those blocks. I don't know which one is used by our device, so just put it in all of them (just the first 6 actually). If you feel like wasting some time, you could try changing one at a time and test it everytime until you find out which one is used by our device. Here's the block of code to put between the <attributes> tag
HTML:
<int name="menu_car_lod" value="3" />
<int name="gameplay_car_lod" value="3" />
<bool name="use_msaa" value="false" />
<bool name="use_hires_map" value="true" />
<bool name="use_render_target_aa" value="false" />
<bool name="use_blur_on_impact" value="false" />
<bool name="use_car_shadow" value="true" />
<bool name="use_radial_blur_on_nitro" value="false" />
<bool name="use_menu_high_res_texture" value="true" />
<bool name="use_orientation_locked" value="false" />
<bool name="use_hud_low_res_texture" value="false" />
<bool name="use_traffic_shadow" value="false" />
<bool name="use_set_min_filter_linear" value="true" />
<bool name="use_swf_posteffect_render_texture" value="true" />
<bool name="is_low_res_platform" value="false" />
<bool name="use_lodev_textures" value="false" />
<bool name="use_glLive_iPad" value="false" />
<float name="a_lod_table_box" value="27500000.0" />
<float name="a_lod_table_low" value="15000000.0" />
<float name="a_pickup_visibility_multiplier" value="1.0" />
<string name="showTrackLowLODDistance" value="FAR" />
<bool name="use_gamma_luminance" value="false" />
<bool name="use_second_render_target" value="false" />
<float name="ReflectionMapU" value="0.46875" /><!-- Dynamic Reflection Shader U coordinate to take for the relfection -->
<float name="ReflectionMapV" value="0.3125" /><!-- Dynamic Reflection Shader V coordinate to take for the relfection -->
<bool name="use_high_quality_car_shader" value="false" />
<bool name="use_dynamic_reflection_on_cars" value="true" /><!-- Special case for low device, ignore on high end one -->
<bool name="optimize_dynamic_reflection" value="true" /><!-- Skip one frame on two -->
<bool name="draw_car_reflection_garage" value="true" />
This will enable high res graphics (instead of upscaled disgusting pixelated graphics we are getting, FAR draw distance instead of medium, more shadows, lighting effects (car reflect lights, IE becomes darker in the shadows), and stuff. I disabled the blur effect because they look bad and cause graphical glitches (camera angle wrong after collision when you use the super turbo thingy).
I am pretty sure you could manually do this and make a working XML for every device. Included in my post you find an XML for the latest paid version of the game from Play Store, that you should put inside the patch.[...].obb file.
Remember to choose STORE as compression level when you replace the .xml file inside the .obb.
If you feel like optimizing this, you could try disabling and changing some random stuff until you find a good balance between eye candy and performance.
Download file DeviceConfig XPS maxed out.rar
How do I install it.
zsatan said:
Download file DeviceConfig XPS maxed out.rar
How do I install it.
Click to expand...
Click to collapse
I'm not good at explaining things in english.
Anyway, it's really easy:
1. Connect phone
2. Copy patch.1041.com.gameloft.android.ANMP.GloftA7HM.obb from your phone to your computer (to the desktop or any folder, make a backup of it)
3. Open that file with winrar, or rename it from .obb to .zip
4. inside the obb file, navigate to the deviceconfig folder, it should have a deviceconfig.xml inside
5. replace that file with the one I provided by dragging it inside the winrar folder
6. overwrite the original file with the one I provided, select STORE as compression method in winrar
7. close winrar and change the extension back to .obb if you changed it, then put the file back in your phone where it was before
8. start the game and check out the graphics, they should be way better now
IF REPLACING THE FILE DOESN'T WORK
1. do the first 4 steps from the previous method
2. open extract the xml to your dekstop
3. open it in any text editor
4. replace the stuff that's between <attributes> tag with the stuff I copypasted in my first reply
5. do the same for the first 6 entries you find, but not for the "default" one at the top of the file
6. save the file
7. replace the original one inside the obb file like I said before and copy the file back to your phone
Hopefully that was clear enough.

[SHARE] com.x.x-res.apk Collection For a SONY Xperia , Customizing -res APKs

hi,
in different customization of the same device , we find some option in system configuration enabled in some and other no then we can do it by changing variable value in application files in system by decompiling and recompiling after modifying ( bools or arrays...etc ) it take a lot of time
so customization Sony has choose to make a little files for a region customization or enabling or disabling option in system app without modifying the original app file by using {real_application_name}-res.apk what will be adding in /system/vendor/overlay
in 4.0.4 and before sony ericsson used /system/etc/customization/ folder for enabling and parameterizing apps, so in JB 4.2 and 4.3or 4.4these files are incompatible only 4.3 and 4.4 are compatible (attached files)
for JB 4.2
4.3 and 4.4
How to use ??
example :
for enabling data traffic notification and status icon in status bar we must change in or semcphone.apk phone.apk this line after decompiling Phone.apk or SemcPhone.apk in res/value/bools/xml we find a default value of application :
Code:
<bool name="data_connection_except_mms_can_clear_icon">true</bool>
<bool name="data_connection_except_mms_show_icon_when_disabled">true</bool>
<bool name="data_connection_except_mms_show_icon_when_enabled">false</bool>
Click to expand...
Click to collapse
they must be change to :
Code:
<bool name="data_connection_except_mms_can_clear_icon">false</bool> ----->[COLOR="red"] icon always visible can't be removed[/COLOR]
<bool name="data_connection_except_mms_show_icon_when_disabled">true</bool>
<bool name="data_connection_except_mms_show_icon_when_enabled">true</bool>
Click to expand...
Click to collapse
then it can be inserted in com.phone-res.apk and injected in system/vendor/overlay and rebooting after that the options are activated.
just know what value to want be activated in the main application apk
Another exemple :
in this post http://forum.xda-developers.com/showthread.php?t=2703113 to have mod for activating low cost in conversations.apk but with decompiling main apk conversations.apk but the simple one is using -res.apk
default value are :
Code:
<bool name="character_conversion">false</bool>
<bool name="character_conversion_visibility">false</bool>
Click to expand...
Click to collapse
and must be changed to
Code:
<bool name="character_conversion">true</bool>
<bool name="character_conversion_visibility">true</bool>
Click to expand...
Click to collapse
then modifing com.sonyericsson.conversations-res.apk
after decomiling
we have
Code:
[CODE]
[/CODE]
res
|-------> bools.xml -------------> to be modified
|-------> public.xml ---------------important contains all variable defined
bools.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="three_digit_number_linkify">true</bool>
<bool name="delivery_report">true</bool>
<bool name="mms_retrieval_during_roaming_visibility">true</bool>
[COLOR="Red"]<bool name="character_conversion">true</bool>
<bool name="character_conversion_visibility">true</bool>[/COLOR]
</resources>
public.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="bool" name="three_digit_number_linkify" id="0x7f020000" />
<public type="bool" name="delivery_report" id="0x7f020001" />
<public type="bool" name="mms_retrieval_during_roaming_visibility" id="0x7f020002" />
[COLOR="red"]<public type="bool" name="character_conversion" id="0x7f020003" />
<public type="bool" name="character_conversion_visibility" id="0x7f020004" />[/COLOR]
<public type="bool" name="enable_send_empty_message" id="0x7f020005" />
<public type="integer" name="max_recipients" id="0x7f030000" />
<public type="integer" name="mms_max_size" id="0x7f030001" />
<public type="integer" name="sms_max_segments" id="0x7f030002" />
<public type="integer" name="mms_trigger_sms_segments" id="0x7f030003" />
</resources>
and recompile, push it. and done.
the files contains :
For JB 4.2 taken from diffrent cutomization for xperial L (perhaps orange france)
android-res.apk
com.android.browser-res.apk
com.android.email-res.apk
com.android.internal-res.apk
com.android.phone-res.apk
com.android.providers.partnerbookmarks-res.apk
com.android.settings-res.apk
com.android.systemui-res.apk
com.sonyericsson.capabilities-res.apk
com.sonyericsson.conversations-res.apk
com.sonyericsson.customizedsettings-res.apk
com.sonyericsson.home-res.apk
com.sonyericsson.initialbootsetup-res.apk
com.sonyericsson.r2r.client-res.apk
com.sonyericsson.setupwizard-res.apk
com.sonyericsson.simcontacts-res.apk
com.sonyericsson.trackid-res.apk
com.sonyericsson.updatecenter-res.apk
com.sonyericsson.wappush-res.apk
SemcAlbum-Overlay-300.apk
SemcPhone-Overlay-285.apk
SystemUI-Overlay-285.apk
For 4.3-4.4 Tooken from Z1 customized T-mobile DE
android-res.apk
com.android.browser-res.apk
com.android.email-res.apk
com.android.nfc-res.apk
com.android.phone-res.apk
com.android.providers.partnerbookmarks-res.apk
com.android.providers.settings-res.apk
com.android.settings-res.apk
com.sonyericsson.android.omacp-res.apk
com.sonyericsson.android.socialphonebook-res.apk
com.sonyericsson.capabilities-res.apk
com.sonyericsson.conversations-res.apk
com.sonyericsson.customizedsettings-res.apk
com.sonyericsson.home-res.apk
com.sonyericsson.initialbootsetup-res.apk
com.sonyericsson.r2r.client-res.apk
com.sonyericsson.setupwizard-res.apk
com.sonyericsson.shutdownanim-res.apk
com.sonyericsson.simcontacts-res.apk
com.sonyericsson.textinput.uxp-res.apk
com.sonyericsson.trackid-res.apk
com.sonyericsson.updatecenter-res.apk
com.sonyericsson.wappush-res.apk
overlay-semcalbum-flickr-on.apk
ServiceMenu-Overlay-295.apk
SmartConnect-Overlay-295.apk
reserved For futur Use
Can you upload the modified for xperia M?
Sent from my C1904 using Tapatalk
icoolguy1995 said:
Can you upload the modified for xperia M?
Sent from my C1904 using Tapatalk
Click to expand...
Click to collapse
here is com.sonyericsson.conversations-res.apk attached, modified file compatible with JB4.3 and KK4.4

Customize and create your own dynamic icons

PART 1
STEP 1
Dimensioning Your Icons
There are many Software for this you can go for gimp, photoshop, illustrator and many more.
I prefer photoshop.
You can download or purcase from Adobe Store.
Icon size: 136 x 136 (pixels)
STEP 2
Adding layer styles.
Playing with Bleending option.
Add your design your settings add beveal, drop shadow and much more.
IMPORTING ICONS TO MIUI THEME EDITOR
STEP : 1
Now the First thing to DO is Extract the zip file.
STEP : 2
Now GO to MIUI Themes Editor and launch it.
There are two ways of getting started up.
Either select a Theme and Edit or start a new project
STEP : 3
Starting Up a New Project.
[Note: Click on the picture for Enlarging]
STEP : 4
Click on File > New Theme
STEP : 5
Specify a name and Location.
STEP : 6
Later Adding
Theme Name
Author
Designer
Version
PART TWO [ IMPORTANT ]
This is how you reach a fancy icons they are noting but icons with Gif kind of animation we call them dynamic
So what's so special about them ?
Heh!!
You need to know som XML tricks like i am going to show you and i will even share my files which you can edit.
So the above metioned picture is an example how to place it.
FOR CALENDAR
Icons
| __ fancy_icons
|__ com.android.calendar
manifest.xml should be place inside the folders with pngs files
<?xml version="1.0" encoding="utf-8"?>
<!-- calendar -->
<Icon version="1" frameRate="0" width="136" height="136" screenWidth="720" useVariableUpdater="DateTime.Day">
<VariableBinders>
<BroadcastBinder action="android.intent.action.TIME_SET" />
<BroadcastBinder action="android.intent.action.DATE_CHANGED" />
</VariableBinders>
<Group pivotX="68" pivotY="68">
<Image x="68" y="68" align="center" alignV="center" src="date.png" srcid="#date" />
</Group>
</Icon>
You need to edit them accordingly like i have thepng files settled inside the folder com.android.calendar
For Rotational ICONS
<?xml version="1.0" encoding="utf-8"?>
<!-- Audio -->
<Icon version="1" frameRate="30" width="192" height="192" screenWidth="1080" >
<Image x="96" y="96" align="center" alignV="center" src="icon_bg.png" />
<Image x="96" y="96" align="center" alignV="center" centerX="59" centerY="59" src="gear.png" >
<RotationAnimation>
<Rotation angle="0" time="0"/>
<Rotation angle="360" time="10000"/>
</RotationAnimation>
</Image>
</Icon>
And place the Two icons inside the subfolders.
Source : http://en.miui.com/thread-76404-1-1.html
Credits to the OP.

Guide to add about ROM in Settings

In this guide , I will tell "How to add About ROM" option in Settings.​
Tested on 4.2, 4.2, 4.3, 4.4, 5.0 and 6.0.1​
REQUIREMENTS :
1. Brain
2. Apktool
3. Notepad ++
4. Knowledge on How to Decompile/Recompile the apk
Lets start ,
1. Decompile your Settings.apk and merge the file (given below).
2. Now add these lines in "device_info_settings.xml" or any other xml present in Settings.apk/res/xml.
PHP:
<PreferenceCategory android:layout="@layout/rom_logo" android:title="" />
<PreferenceScreen android:title="@string/about_rom" android:key="container" android:summary="@string/about_rom_summary">
<Preference android:title="@string/rom_name" android:summary="@string/rom_name_summary" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:summary="@string/rom_developer_summary" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_version" android:summary="@string/rom_version_summary" style="?android:preferenceInformationStyle" />
<PreferenceScreen android:title="@string/rom_thanks" android:key="rom_thanks" android:summary="@string/rom_thanks_summary" android:fragment="com.android.settings.advait.ContributorsCloud" />
<Preference android:title="@string/mywebsite" android:key="website" android:summary="@string/website">
<intent android:action="android.intent.action.VIEW" android:data="http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html" />
</Preference>
<PreferenceScreen android:title="@string/changelog_title" android:key="changelog">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.advait.changelog.ChangeLog" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/additional_info" android:key="container" android:summary="@string/additional_info_summary">
<Preference android:title="@string/info" android:summary="@string/info_summary" style="?android:preferenceInformationStyle" />
</PreferenceScreen>
</PreferenceScreen>
NOTE :- Change the website link according to you in this line in the above code.
PHP:
<intent android:action="android.intent.action.VIEW" android:data="http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html" />
3. Now open "strings.xml" and add these lines above </resources>.
PHP:
<string name="about_rom">About ROM</string>
<string name="about_rom_summary">This contains all information about the ROM</string>
<string name="rom_name">ROM Name</string>
<string name="rom_name_summary">HyperSonic</string>
<string name="rom_developer">ROM Developer</string>
<string name="rom_developer_summary">AdvaitT17</string>
<string name="rom_version">ROM Version</string>
<string name="rom_version_summary">1.0</string>
<string name="rom_thanks">Special Thanks To</string>
<string name="rom_thanks_summary">Touch here to see the names</string>
<string name="mywebsite">Website</string>
<string name="website">Touch here to go to my website</string>
<string name="about_gen">General Information</string>
<string name="changelog_title">Changelogs</string>
<string name="changelog_dialog">HyperSonic CHANGELOGS</string>
<string name="changelog_loading">Download the list of changes...</string>
<string name="changelog_error">Error loading list of changes</string>
<string name="additional_info">Additional Information</string>
<string name="additional_info_summary">Some additional information about ROM</string>
<string name="info">Guide By AdvaitT17 and Gurpreet Singh</string>
<string name="info_summary">Enjoy. </string>
NOTE :- Change the strings according to your choice.
4. Now open the "AndroidManifest.xml" and add this activity.
PHP:
<activity android:label="@string/changelog_title" android:name="advait.changelog.ChangeLog" android:theme="@android:style/Theme.Holo.Light.Dialog.Alert">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
5. Now Recompile your Settings.apk & Sign it and then again Decompile it.
6. Now go to smali/com/android/settings/advaitt17/changelog and open the "ChangeLog$1.smali". Then replace the id with the id present in public.xml of your Settings.apk
0x7f0c09fb
PHP:
<public type="string" name="changelog_dialog"
7. Now go to smali/com/android/settings/advaitt17/changelog and open the "ChangeLog.smali". Now again replace the ids with the ids present in public.xml of your Settings.apk.
0x7f0c09fd
PHP:
<public type="string" name="changelog_error"
0x7f0c09fc
PHP:
<public type="string" name="changelog_loading"
Important Information :
The contributors image is in Settings/assets folder. Change it according to your choice. You can change the background colour from gray to any by editing this "-0xbbbbbc" in ContributorsCloud.smali.
The changelog list is in the ROM/system/etc. You can change it according to you. Don't forget to change the permission of "rom-changelogs.txt" to rw-r--r--
You can change the ROM Logo by editing the "logo_rom.png" in Settings/drawable
Special Thanks To:
1. Cyanogenmod
2. XDA
3. GK-Lollipop ROM
4. Sumeet Darade
5. MAAaD
6.Gurpreet Singh
XDA:DevDB Information
Guide to add about ROM in Settings, Theme for the Samsung Galaxy S III I9300
Contributors
AdvaitT17,05gurpreet
Version Information
Status: Stable
Created 2016-01-17
Last Updated 2016-01-17
AdvaitT17 said:
In this guide , I will tell "How to add About ROM" option in Settings.​
Tested on 4.2, 4.2, 4.3, 4.4, 5.0 and 6.0.1​
REQUIREMENTS :
1. Brain
2. Apktool
3. Notepad ++
4. Knowledge on How to Decompile/Recompile the apk
Lets start ,
1. Decompile your Settings.apk and merge the file (given below).
2. Now add these lines in "device_info_settings.xml" or any other xml present in Settings.apk/res/xml.
PHP:
<PreferenceCategory android:layout="@layout/rom_logo" android:title="" />
<PreferenceScreen android:title="@string/about_rom" android:key="container" android:summary="@string/about_rom_summary">
<Preference android:title="@string/rom_name" android:summary="@string/rom_name_summary" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_developer" android:summary="@string/rom_developer_summary" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/rom_version" android:summary="@string/rom_version_summary" style="?android:preferenceInformationStyle" />
<PreferenceScreen android:title="@string/rom_thanks" android:key="rom_thanks" android:summary="@string/rom_thanks_summary" android:fragment="com.android.settings.advait.ContributorsCloud" />
<Preference android:title="@string/mywebsite" android:key="website" android:summary="@string/website">
<intent android:action="android.intent.action.VIEW" android:data="http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html" />
</Preference>
<PreferenceScreen android:title="@string/changelog_title" android:key="changelog">
<intent android:targetPackage="com.android.settings" android:action="android.intent.action.MAIN" android:targetClass="com.android.settings.advait.changelog.ChangeLog" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/additional_info" android:key="container" android:summary="@string/additional_info_summary">
<Preference android:title="@string/info" android:summary="@string/info_summary" style="?android:preferenceInformationStyle" />
</PreferenceScreen>
</PreferenceScreen>
NOTE :- Change the website link according to you in this line in the above code.
PHP:
<intent android:action="android.intent.action.VIEW" android:data="http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html" />
3. Now open "strings.xml" and add these lines above </resources>.
PHP:
<string name="about_rom">About ROM</string>
<string name="about_rom_summary">This contains all information about the ROM</string>
<string name="rom_name">ROM Name</string>
<string name="rom_name_summary">HyperSonic</string>
<string name="rom_developer">ROM Developer</string>
<string name="rom_developer_summary">AdvaitT17</string>
<string name="rom_version">ROM Version</string>
<string name="rom_version_summary">1.0</string>
<string name="rom_thanks">Special Thanks To</string>
<string name="rom_thanks_summary">Touch here to see the names</string>
<string name="mywebsite">Website</string>
<string name="website">Touch here to go to my website</string>
<string name="about_gen">General Information</string>
<string name="changelog_title">Changelogs</string>
<string name="changelog_dialog">HyperSonic CHANGELOGS</string>
<string name="changelog_loading">Download the list of changes...</string>
<string name="changelog_error">Error loading list of changes</string>
<string name="additional_info">Additional Information</string>
<string name="additional_info_summary">Some additional information about ROM</string>
<string name="info">Guide By AdvaitT17 and Gurpreet Singh</string>
<string name="info_summary">Enjoy. </string>
NOTE :- Change the strings according to your choice.
4. Now open the "AndroidManifest.xml" and add this activity.
PHP:
<activity android:label="@string/changelog_title" android:name="advait.changelog.ChangeLog" android:theme="@android:style/Theme.Holo.Light.Dialog.Alert">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
</intent-filter>
</activity>
5. Now Recompile your Settings.apk & Sign it and then again Decompile it.
6. Now go to smali/com/android/settings/advaitt17/changelog and open the "ChangeLog$1.smali". Then replace the id with the id present in public.xml of your Settings.apk
0x7f0c09fb
PHP:
<public type="string" name="changelog_dialog"
7. Now go to smali/com/android/settings/advaitt17/changelog and open the "ChangeLog.smali". Now again replace the ids with the ids present in public.xml of your Settings.apk.
0x7f0c09fd
PHP:
<public type="string" name="changelog_error"
0x7f0c09fc
PHP:
<public type="string" name="changelog_loading"
Important Information :
The contributors image is in Settings/assets folder. Change it according to your choice. You can change the background colour from gray to any by editing this "-0xbbbbbc" in ContributorsCloud.smali.
The changelog list is in the ROM/system/etc. You can change it according to you. Don't forget to change the permission of "rom-changelogs.txt" to rw-r--r--
You can change the ROM Logo by editing the "logo_rom.png" in Settings/drawable
Special Thanks To:
1. Cyanogenmod
2. XDA
3. GK-Lollipop ROM
4. Sumeet Darade
5. MAAaD
6.Gurpreet Singh
XDA:DevDB Information
Guide to add about ROM in Settings, Theme for the Samsung Galaxy S III I9300
Contributors
AdvaitT17,05gurpreet
Version Information
Status: Stable
Created 2016-01-17
Last Updated 2016-01-17
Click to expand...
Click to collapse
WTF is this??
you are adding this link into website: http://anythingultimate.blogspot.in/2014/01/i-am-writingthis-blogso-that-users-of.html
you are also refering to changelog code that is located here: com.android.settings.advait.changelog.ChangeLog
and you aren't providing the code
I'm sure you have java code on your build and you aren't the author...
also contributors cloud code is missing: com.android.settings.advait.ContributorsCloud
this post is a joke
deleted
Copy oft this page:
[Guide] Add "About ROM" option in … | Android Development and Hacking
http://forum.xda-developers.com/android/themes/guide-add-rom-option-settings-t3167387
Thread should be closed.

Categories

Resources