[GUIDE] Xloud and Bravia 100% working tutorial - LG Optimus Me P350

Hello guys one more time with new moding
This is for cm7 roms only
{
"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"
}
Many people had different questions like......!
How to mod xloud and bravia engine ?
Is xloud works on by adding to build.prop with some files ?
How to add check option of xloud and bravia with settings like sony settings have ?
and blob blob blob....... and more questions
I had a small kit / solution / tutorial on how to add the xloud and bravia engine to your settings with 100% working condition
How / what to do ?
don't worry
Requirements
Click to expand...
Click to collapse
1. A small thinking brain
2. To run this environment u need to have java jdk installed here u can get them click here
3. Apktools ( click here for the apktools (works only for upgraded versions of cm7 and low graded phones only ) )
3. A rooted android
4. settings.apk and framework-res.apk ( framework-res.apk should be related to same rom where the settings.apk is collected )
5. notepad++ ( click here )
6. Last but not least... follow up my instructions carefully
So let us make our hands dirt with moding
Collect the apktools i given above extract them to any folder you needed
copy the framework-res.apk and settings.apk ( which you are going to mod ) and paste them to the extracted folder of apktools
Now the framework should be added to work as key
click on cmd i given it with tools
and apply this code
Code:
apktool if framework-res.apk
Fine now you have to decompile the settings.apk
Apply this code to decompile the apk
Code:
apktool d Settings.apk
Now you will get a folder named Settings where it contains decompiled files
From here you should be careful to mod them
Download this scrips which are moded by me with minute changes click here
Extract the scripts folder and copy the files i given.....
Enter into Settings folder ( where the settings apk decompiled folder )->smali->com->android->settings at that location merge / replace with my scripts
Now the second main step need to modify value statements and xml ( settings )
1. First we go for values edit and then to xml
values :--- settings folder ( where decompiled ) -> res -> values.. there open strings.xml file with notepad++
and at the ending / bottom of the string it looks like this
Code:
Failure to connect is likely."</string>
<string name="lockfinger_enrollment_failure_default_toast">Enroll Not Successful. failure = %d.</string>
<string name="lockfinger_enrollment_database_full">Enroll Not Successful. Database is full.</string>
<string name="lockfinger_dbadmin_failure_default_toast">Database Administration operation failure: %d.</string>
<string name="lockfinger_ui_timeout_header">UI timeout!</string>
<string name="lockfinger_too_many_bad_swipes_header">Too many bad swipes!</string>
<string name="lockfinger_lockout_countdown_footer">Try again in %d seconds.</string>
</resources>
so here add this lines at the bottom / ending
Code:
<string name="xloud_strings_xloud_txt">xLOUD™</string>
<string name="xloud_strings_xloud_desc_txt">Enhance the loudness of speaker</string>
<string name="swiqi_strings_swiqi_txt">Mobile BRAVIA Engine</string>
<string name="swiqi_strings_swiqi_desc_txt">Image quality enhancer for photos and videos</string>
So finally it looks like this
Code:
Failure to connect is likely."</string>
<string name="lockfinger_enrollment_failure_default_toast">Enroll Not Successful. failure = %d.</string>
<string name="lockfinger_enrollment_database_full">Enroll Not Successful. Database is full.</string>
<string name="lockfinger_dbadmin_failure_default_toast">Database Administration operation failure: %d.</string>
<string name="lockfinger_ui_timeout_header">UI timeout!</string>
<string name="lockfinger_too_many_bad_swipes_header">Too many bad swipes!</string>
<string name="lockfinger_lockout_countdown_footer">Try again in %d seconds.</string>
<string name="xloud_strings_xloud_txt">xLOUD™</string>
<string name="xloud_strings_xloud_desc_txt">Enhance the loudness of speaker</string>
<string name="swiqi_strings_swiqi_txt">Mobile BRAVIA Engine</string>
<string name="swiqi_strings_swiqi_desc_txt">Image quality enhancer for photos and videos</string>
</resources>
So save them and close it now almost 70 % completed
2. editing xml ( The final thing )
settings folder ( where it was extracted )-> res -> xml.... there open display_settings with notepad++
this is how it looks
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/display_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.android.settings.BrightnessPreference android:title="@string/brightness" android:key="brightness" android:dialogTitle="@string/brightness" />
<CheckBoxPreference android:title="@string/accelerometer_title" android:key="accelerometer" />
<ListPreference android:persistent="false" android:entries="@array/animations_entries" android:title="@string/animations_title" android:key="animations" android:entryValues="@array/animations_values" />
<ListPreference android:persistent="false" android:entries="@array/screen_timeout_entries" android:title="@string/screen_timeout" android:key="screen_timeout" android:summary="@string/screen_timeout_summary" android:entryValues="@array/screen_timeout_values" />
</PreferenceScreen>
and add this code below the xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
Code:
<CheckBoxPreference android:title="@string/swiqi_strings_swiqi_txt" android:key="swiqi_strings_swiqi_txt" android:summary="@string/swiqi_strings_swiqi_desc_txt" />
this is how it looks
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/display_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<CheckBoxPreference android:title="@string/swiqi_strings_swiqi_txt" android:key="swiqi_strings_swiqi_txt" android:summary="@string/swiqi_strings_swiqi_desc_txt" />
<com.android.settings.BrightnessPreference android:title="@string/brightness" android:key="brightness" android:dialogTitle="@string/brightness" />
<CheckBoxPreference android:title="@string/accelerometer_title" android:key="accelerometer" />
<ListPreference android:persistent="false" android:entries="@array/animations_entries" android:title="@string/animations_title" android:key="animations" android:entryValues="@array/animations_values" />
<ListPreference android:persistent="false" android:entries="@array/screen_timeout_entries" android:title="@string/screen_timeout" android:key="screen_timeout" android:summary="@string/screen_timeout_summary" android:entryValues="@array/screen_timeout_values" />
</PreferenceScreen>
and the same should be done with sound_settings ( open it with notepad++ ) at same location of xml folder
copy this code and add this below this line <PreferenceCategory android:title="@string/sound_category_sound_title" />
Code:
<CheckBoxPreference android:title="@string/xloud_strings_xloud_txt" android:key="xloud" android:summary="@string/xloud_strings_xloud_desc_txt" android:disableDependentsState="true" />
so it looks like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sound_settings" android:key="sound_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/sound_category_sound_title" />
<CheckBoxPreference android:title="@string/xloud_strings_xloud_txt" android:key="xloud" android:summary="@string/xloud_strings_xloud_desc_txt" android:disableDependentsState="true" />
<CheckBoxPreference android:persistent="false" android:title="@string/silent_mode_title" android:key="silent" android:summary="@string/silent_mode_summary" android:disableDependentsState="true" />
<ListPreference android:entries="@array/vibrate_entries" android:title="@string/vibrate_title" android:key="vibrate" android:summary="@string/vibrate_summary" android:entryValues="@array/vibrate_values" />
<com.android.settings.RingerVolumePreference android:persistent="false" android:title="@string/all_volume_title" android:key="ring_volume" android:summary="@string/ring_volume_summary" android:dialogTitle="@string/all_volume_title" android:streamType="ring" />
<PreferenceCategory android:title="@string/sound_category_calls_title" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/ringtone_title" android:key="ringtone" android:summary="@string/ringtone_summary" android:dialogTitle="@string/ringtone_title" android:ringtoneType="ringtone" />
<PreferenceCategory android:title="@string/sound_category_notification_title" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/notification_sound_title" android:key="notification_sound" android:summary="@string/notification_sound_summary" android:dialogTitle="@string/notification_sound_dialog_title" android:ringtoneType="notification" />
<CheckBoxPreference android:persistent="false" android:title="@string/notification_pulse_title" android:key="notification_pulse" android:summary="@string/notification_pulse_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/notification_blink_title" android:key="notification_blink" android:summary="@string/notification_blink_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/notification_always_on_title" android:key="notification_always_on" android:summary="@string/notification_always_on_summary" />
<CheckBoxPreference android:persistent="false" android:title="@string/notification_charging_title" android:key="notification_charging" android:summary="@string/notification_charging_summary" />
<PreferenceCategory android:title="@string/sound_category_feedback_title" />
<CheckBoxPreference android:title="@string/dtmf_tone_enable_title" android:key="dtmf_tone" android:defaultValue="true" android:summaryOn="@string/dtmf_tone_enable_summary_on" android:summaryOff="@string/dtmf_tone_enable_summary_off" />
<CheckBoxPreference android:title="@string/sound_effects_enable_title" android:key="sound_effects" android:defaultValue="true" android:summaryOn="@string/sound_effects_enable_summary_on" android:summaryOff="@string/sound_effects_enable_summary_off" />
<CheckBoxPreference android:title="@string/lock_sounds_enable_title" android:key="lock_sounds" android:defaultValue="true" android:summaryOn="@string/lock_sounds_enable_summary_on" android:summaryOff="@string/lock_sounds_enable_summary_off" />
<CheckBoxPreference android:title="@string/power_sounds_enable_title" android:key="power_sounds" android:summary="@string/power_sounds_enable_summary" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/haptic_feedback_enable_title" android:key="haptic_feedback" android:defaultValue="true" android:summaryOn="@string/haptic_feedback_enable_summary_on" android:summaryOff="@string/haptic_feedback_enable_summary_off" />
<ListPreference android:entries="@array/emergency_tone_entries" android:title="@string/emergency_tone_title" android:key="emergency_tone" android:summary="@string/emergency_tone_summary" android:entryValues="@array/emergency_tone_values" />
</PreferenceScreen>
the final thing is that your edits are done and need to compile this
open cmd and apply this code to compile the apk that you moded
Code:
apktool b Settings
Note;
Click to expand...
Click to collapse
This should be compiled without any errors ( if you face errors report me i will try to solve it )
Now your edit is finally finished
after finished you will get new folders with in the Settings folder named build open it and open apk folder
open Settings.apk ( before edit ) using winrar or winzip replace the classes.dex, resources.arsc ( from build -> apk folder ) and the same replace xml files of display_settings, sound_settings
now your settings with xloud and bravia is ready to apply
The question is how to apply i can give a very small tut which is not long like this and it is very short
create a folder named system and with in system folder create new folder named app and place your moded app there and download this click here
extract it and place near by system folder... now select the two folder ( meta-inf and system ) and make a zip file... or using root explorer replace the settings.apk and change the permissions ......
now finished yahoo
How these works.... these are having depend files that should be added... if not volume dont work when you increase at settings option ( works perfect when incoming call and song plays )
Download this depend files click here.... copy this to sd card.. reboot into recovery and flash this patch
The final work is too add two line about xloud and bravia with build.prop
using rootexplorer open build.prop and add these lines at the bottom
the lines are
Code:
# BRAVIA HACK
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
# Xloud Engine
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
save them and reboot
Now your work is done as well my work on making tut
Have a joy
Fixes
Click to expand...
Click to collapse
Some times force close with dsp and some small issues

reserved for more tut
click here for editing framework design

Awesome tut.trying

vikasb32 said:
Awesome tut.trying
Click to expand...
Click to collapse
have a fun

just trying

Error
After doing "apktool b Settings", i've got some error becouse of that:
<CheckBoxPreference android:title="@string/swiqi_strings_swiqi_txt"
android:key="swiqi_strings_swiqi_txt" android:summary="@string/swiqi_strings_swiqi_desc_txt" />
The problem is that the program said there isn't any resort for swiqi_strings_swiqi_txt, so I can't continue. Can anyone help me?
Thanks.

yaymalaga said:
After doing "apktool b Settings", i've got some error becouse of that:
<CheckBoxPreference android:title="@string/swiqi_strings_swiqi_txt"
android:key="swiqi_strings_swiqi_txt" android:summary="@string/swiqi_strings_swiqi_desc_txt" />
The problem is that the program said there isn't any resort for swiqi_strings_swiqi_txt, so I can't continue. Can anyone help me?
Thanks.
Click to expand...
Click to collapse
had u added string value files ?

Error
venkat kamesh said:
had u added string value files ?
Click to expand...
Click to collapse
Yes, I have do all of the post, and 3 times, but I'm getting always the same error, here you have a .jpg.
Do you know in what thing I'm wrong? Tkanks.

Solution!
Code:
Failure to connect is likely."</string>
<string name="lockfinger_enrollment_failure_default_toast">Enroll Not Successful. failure = %d.</string>
<string name="lockfinger_enrollment_database_full">Enroll Not Successful. Database is full.</string>
<string name="lockfinger_dbadmin_failure_default_toast">Database Administration operation failure: %d.</string>
<string name="lockfinger_ui_timeout_header">UI timeout!</string>
<string name="lockfinger_too_many_bad_swipes_header">Too many bad swipes!</string>
<string name="lockfinger_lockout_countdown_footer">Try again in %d seconds.</string>
<string name="xloud_strings_txt">xLoud™</string>
<string name="bravia_strings_txt">BRAVIA engine hack</string>
<string name="sound_mods">Sound Mods</string>
<string name="disp_mods">Display Mods</string>
<string name="disp_category_sound_title">General</string>
<string name="xloud_summary">Enhance the loudness of speaker</string>
<string name="bravia_summary">Image quality enhancer for photos and videos</string>
</resources>
Finally I have found the problem. It was here, when you edit it, you have to add 4 lines plus.
Code:
<string name="xloud_strings_xloud_txt">xLOUD™</string>
<string name="xloud_strings_xloud_desc_txt">Enhance the loudness of speaker</string>
<string name="swiqi_strings_swiqi_txt">Mobile BRAVIA Engine</string>
<string name="swiqi_strings_swiqi_desc_txt">Image quality enhancer for photos and videos</string>
So, all together is:
Code:
<string name="xloud_strings_xloud_txt">xLOUD™</string>
<string name="xloud_strings_xloud_desc_txt">Enhance the loudness of speaker</string>
<string name="swiqi_strings_swiqi_txt">Mobile BRAVIA Engine</string>
<string name="swiqi_strings_swiqi_desc_txt">Image quality enhancer for photos and videos</string>
<string name="xloud_strings_txt">xLoud™</string>
<string name="bravia_strings_txt">BRAVIA engine hack</string>
<string name="sound_mods">Sound Mods</string>
<string name="disp_mods">Display Mods</string>
<string name="disp_category_sound_title">General</string>
<string name="xloud_summary">Enhance the loudness of speaker</string>
<string name="bravia_summary">Image quality enhancer for photos and videos</string>
Now I can compile the apk, thanks for help and for the post, and plis add my lines to correct it

yaymalaga said:
Code:
Failure to connect is likely."</string>
<string name="lockfinger_enrollment_failure_default_toast">Enroll Not Successful. failure = %d.</string>
<string name="lockfinger_enrollment_database_full">Enroll Not Successful. Database is full.</string>
<string name="lockfinger_dbadmin_failure_default_toast">Database Administration operation failure: %d.</string>
<string name="lockfinger_ui_timeout_header">UI timeout!</string>
<string name="lockfinger_too_many_bad_swipes_header">Too many bad swipes!</string>
<string name="lockfinger_lockout_countdown_footer">Try again in %d seconds.</string>
<string name="xloud_strings_txt">xLoud™</string>
<string name="bravia_strings_txt">BRAVIA engine hack</string>
<string name="sound_mods">Sound Mods</string>
<string name="disp_mods">Display Mods</string>
<string name="disp_category_sound_title">General</string>
<string name="xloud_summary">Enhance the loudness of speaker</string>
<string name="bravia_summary">Image quality enhancer for photos and videos</string>
</resources>
Finally I have found the problem. It was here, when you edit it, you have to add 4 lines plus.
Code:
<string name="xloud_strings_xloud_txt">xLOUD™</string>
<string name="xloud_strings_xloud_desc_txt">Enhance the loudness of speaker</string>
<string name="swiqi_strings_swiqi_txt">Mobile BRAVIA Engine</string>
<string name="swiqi_strings_swiqi_desc_txt">Image quality enhancer for photos and videos</string>
So, all together is:
Code:
<string name="xloud_strings_xloud_txt">xLOUD™</string>
<string name="xloud_strings_xloud_desc_txt">Enhance the loudness of speaker</string>
<string name="swiqi_strings_swiqi_txt">Mobile BRAVIA Engine</string>
<string name="swiqi_strings_swiqi_desc_txt">Image quality enhancer for photos and videos</string>
<string name="xloud_strings_txt">xLoud™</string>
<string name="bravia_strings_txt">BRAVIA engine hack</string>
<string name="sound_mods">Sound Mods</string>
<string name="disp_mods">Display Mods</string>
<string name="disp_category_sound_title">General</string>
<string name="xloud_summary">Enhance the loudness of speaker</string>
<string name="bravia_summary">Image quality enhancer for photos and videos</string>
Now I can compile the apk, thanks for help and for the post, and plis add my lines to correct it
Click to expand...
Click to collapse
friend that is what i posted there and the error picture indicates that u had missed command lines how ever have u got fixed and have a fun

yaymalaga said:
Code:
Failure to connect is likely."</string>
<string name="lockfinger_enrollment_failure_default_toast">Enroll Not Successful. failure = %d.</string>
<string name="lockfinger_enrollment_database_full">Enroll Not Successful. Database is full.</string>
<string name="lockfinger_dbadmin_failure_default_toast">Database Administration operation failure: %d.</string>
<string name="lockfinger_ui_timeout_header">UI timeout!</string>
<string name="lockfinger_too_many_bad_swipes_header">Too many bad swipes!</string>
<string name="lockfinger_lockout_countdown_footer">Try again in %d seconds.</string>
<string name="xloud_strings_txt">xLoud™</string>
<string name="bravia_strings_txt">BRAVIA engine hack</string>
<string name="sound_mods">Sound Mods</string>
<string name="disp_mods">Display Mods</string>
<string name="disp_category_sound_title">General</string>
<string name="xloud_summary">Enhance the loudness of speaker</string>
<string name="bravia_summary">Image quality enhancer for photos and videos</string>
</resources>
Finally I have found the problem. It was here, when you edit it, you have to add 4 lines plus.
Code:
<string name="xloud_strings_xloud_txt">xLOUD™</string>
<string name="xloud_strings_xloud_desc_txt">Enhance the loudness of speaker</string>
<string name="swiqi_strings_swiqi_txt">Mobile BRAVIA Engine</string>
<string name="swiqi_strings_swiqi_desc_txt">Image quality enhancer for photos and videos</string>
So, all together is:
Code:
<string name="xloud_strings_xloud_txt">xLOUD™</string>
<string name="xloud_strings_xloud_desc_txt">Enhance the loudness of speaker</string>
<string name="swiqi_strings_swiqi_txt">Mobile BRAVIA Engine</string>
<string name="swiqi_strings_swiqi_desc_txt">Image quality enhancer for photos and videos</string>
<string name="xloud_strings_txt">xLoud™</string>
<string name="bravia_strings_txt">BRAVIA engine hack</string>
<string name="sound_mods">Sound Mods</string>
<string name="disp_mods">Display Mods</string>
<string name="disp_category_sound_title">General</string>
<string name="xloud_summary">Enhance the loudness of speaker</string>
<string name="bravia_summary">Image quality enhancer for photos and videos</string>
Now I can compile the apk, thanks for help and for the post, and plis add my lines to correct it
Click to expand...
Click to collapse
I have the same error compiling, I'll try this. Thanks for all U R a Genius.

It works man, nice...

Your_girlfriend_cheats_us said:
It works man, nice...
Click to expand...
Click to collapse
with my pleasure

Correct the tutorial
venkat kamesh said:
with my pleasure
Click to expand...
Click to collapse
Add my four back lines, this will fix the error of compilation, you see, we are two people with this error and my lines works fine, please add

yaymalaga said:
Add my four back lines, this will fix the error of compilation, you see, we are two people with this error and my lines works fine, please add
Click to expand...
Click to collapse
done!

Dont try it
Pls check the files.. after i installed it some creep's photo is set as my wallpaper and i cudnt change it.. when i tried reboot it goes to home and again the logo.. i think its a virus pls do check it..

bala0606 said:
Pls check the files.. after i installed it some creep's photo is set as my wallpaper and i cudnt change it.. when i tried reboot it goes to home and again the logo.. i think its a virus pls do check it..
Click to expand...
Click to collapse
you seems to be very funny
then what about other who got succeded ?
if you dont then plx leave it dont spam the post lol
may be you need teach about it

XLOUD
hi my device is SX Neo L and in stock it has XLOUD.
now my current rom is cm9, can i use this way to get back XLOUD?

I done all, i got option to turn on on my phone, but i dont hear any difrence when i turn on and off xloud on my speaker?

venkat kamesh said:
you seems to be very funny
then what about other who got succeded ?
if you dont then plx leave it dont spam the post lol
may be you need teach about it
Click to expand...
Click to collapse
Haha that's really funny !
Hey by the way ! I've have a Neo L and it using CM 7.2 ! Will it work then ?

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.

[How-to] Edit the "About Phone" display

Code:
I am not responsible for your device, please consider before doing this!
Hello all, I'm new to xda-developers and do "almost" nothing recently due to the low-level of dev.
Now I want to share the way you can edit the "About Phone" tab in "Settings"
I'm just tested with my Xperia SL (ROM XZXperience_1) (it SHOULD work with another phone )
Screen Shot:
{
"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 what you need:
1. A Rooted Phone (Xperia S, SL prefered) and Root Explorer
2. Your free time (5 - 10 min.)
That's all!
Instructions:
Step 1: BACKUP YOUR PHONE! IT SHOULD WORK NORMALLY, BUT IN CASE OF SOMETHING HAPPEN, I CAN'T GUARANTEE ABOUT THAT
Step 2: Open the Root Explorer, go to system and open the "build.prop" with notepad
Step 3: Under the ############ Updating of the SW Version ##############
Find
1.
Code:
ro.product.model=
this will change the display of "Model number"
2.
Code:
ro.build.version.release=
this will change the display of "Android version"
3.
Code:
ro.build.display.id=
this will change the display of "Build number"
Step 4: Save & Reboot Your Phone
Step 5: Check in "About Phone"
I'm not good at English, so please feel free to fix
Nhưng tiếng việt thì thoải mái nhé
Till-Kruspe said:
It simple really...
decompile your settings.apk...then go to res/xml folder...edit this file device_info_settings.xml and add this line:
Code:
<Preference android:title="@string/[COLOR="Red"]XXXXX[/COLOR]_heading" android:key="[COLOR="red"]XXXXX[/COLOR]_heading" android:summary="@string/[COLOR="red"]XXXXX[/COLOR]_version" style="?android:preferenceInformationStyle" />
Edit the XXXXX to your like...
This is mine setup:
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"]<Preference android:title="@string/android_heading" android:key="android_heading" android:summary="@string/android_version" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"] <Preference android:title="@string/engine_heading" android:key="engine_heading" android:summary="@string/engine_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_heading" android:key="cpu_heading" android:summary="@string/cpu_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/version_heading" android:key="version_heading" android:summary="@string/ziewing_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/date_heading" android:key="date_heading" android:summary="@string/build_date" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"]<Preference android:title="@string/developer_heading" android:key="developer_heading" android:summary="@string/developer_version" style="?android:preferenceInformationStyle" />[/COLOR]
</PreferenceScreen>
The red are mine custom info...
Now go to value folder and edit strings.xml
put this at the bottom of the line:
Code:
<string name="[COLOR="Red"]XXXXX[/COLOR]_heading">[COLOR="red"]XXXXX[/COLOR]</string>
<string name="[COLOR="red"]XXXXX[/COLOR]_version">[COLOR="Red"]XXXXX[/COLOR]</string>
Mine setup:
Code:
<string name="version_heading">ZieWing™ version</string>
<string name="ziewing_version">v3.2 beta-1 coconut</string>
<string name="date_heading">Build date</string>
<string name="build_date">Tue Feb 12 02:36 PST 2013</string>
<string name="cpu_heading">CPU</string>
<string name="cpu_version">ARMv7 Processor rev 2 (v7l)</string>
<string name="android_heading">Codename</string>
<string name="android_version">Ice Cream Sandwich (ICS)</string>
<string name="engine_heading">Engine version</string>
<string name="engine_version">X-CORE™ alpha v1</string>
<string name="developer_heading">Developer</string>
<string name="developer_version">[email protected]</string>
After your satisfied editing it to your like...recompile it and your done...
Hope you understand it...
Click to expand...
Click to collapse
Nice little tutorial, keep the good work
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
reyfista11 said:
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
Click to expand...
Click to collapse
you can googling the Xperia SL and flash again
Nice. knew it before - changed my phone information too
Thanks!
reyfista11 said:
gotta try this..
i flashed a xperia s rom on xperia sl and now it recocnized as xperia s
Click to expand...
Click to collapse
But why? SL is more powerfull than S, sl has 1.7ghz cpu, s has 1.5ghz cpu...
Sent from my LT26i using xda premium
denslife16 said:
But why? SL is more powerfull than S, sl has 1.7ghz cpu, s has 1.5ghz cpu...
Sent from my LT26i using xda premium
Click to expand...
Click to collapse
Exact same phone, it's just that the SL is overclocked by 200Mhz
Thanks
Thanks!!
I can customize my phone!
It's really work on my Xperia S, now customize some list.
Model number : Special :good:
Android version: Limited edition
Build number: Secret
Anyone else also try it? then what do you edit?
Or this...for rom dev...
Till-Kruspe said:
Or this...for rom dev...
Click to expand...
Click to collapse
Whooah! Would you share how to duo that?
Posted by Xperia™ Ion via xda-premium
ARNOB said:
Whooah! Would you share how to duo that?
Posted by Xperia™ Ion via xda-premium
Click to expand...
Click to collapse
It simple really...
decompile your settings.apk...then go to res/xml folder...edit this file device_info_settings.xml and add this line:
Code:
<Preference android:title="@string/[COLOR="Red"]XXXXX[/COLOR]_heading" android:key="[COLOR="red"]XXXXX[/COLOR]_heading" android:summary="@string/[COLOR="red"]XXXXX[/COLOR]_version" style="?android:preferenceInformationStyle" />
Edit the XXXXX to your like...
This is mine setup:
Code:
</PreferenceScreen>
<Preference android:title="@string/model_number" android:key="device_model" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/firmware_version" android:key="firmware_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="Red"]<Preference android:title="@string/android_heading" android:key="android_heading" android:summary="@string/android_version" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/baseband_version" android:key="baseband_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/kernel_version" android:key="kernel_version" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"] <Preference android:title="@string/engine_heading" android:key="engine_heading" android:summary="@string/engine_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/cpu_heading" android:key="cpu_heading" android:summary="@string/cpu_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/version_heading" android:key="version_heading" android:summary="@string/ziewing_version" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/date_heading" android:key="date_heading" android:summary="@string/build_date" style="?android:preferenceInformationStyle" />[/COLOR]
<Preference android:title="@string/build_number" android:key="build_number" android:summary="@string/device_info_default" style="?android:preferenceInformationStyle" />
[COLOR="red"]<Preference android:title="@string/developer_heading" android:key="developer_heading" android:summary="@string/developer_version" style="?android:preferenceInformationStyle" />[/COLOR]
</PreferenceScreen>
The red are mine custom info...
Now go to value folder and edit strings.xml
put this at the bottom of the line:
Code:
<string name="[COLOR="Red"]XXXXX[/COLOR]_heading">[COLOR="red"]XXXXX[/COLOR]</string>
<string name="[COLOR="red"]XXXXX[/COLOR]_version">[COLOR="Red"]XXXXX[/COLOR]</string>
Mine setup:
Code:
<string name="version_heading">ZieWing™ version</string>
<string name="ziewing_version">v3.2 beta-1 coconut</string>
<string name="date_heading">Build date</string>
<string name="build_date">Tue Feb 12 02:36 PST 2013</string>
<string name="cpu_heading">CPU</string>
<string name="cpu_version">ARMv7 Processor rev 2 (v7l)</string>
<string name="android_heading">Codename</string>
<string name="android_version">Ice Cream Sandwich (ICS)</string>
<string name="engine_heading">Engine version</string>
<string name="engine_version">X-CORE™ alpha v1</string>
<string name="developer_heading">Developer</string>
<string name="developer_version">[email protected]</string>
After your satisfied editing it to your like...recompile it and your done...
Hope you understand it...
Just a great tutorial! You've grown a lot in android dude, congrats!
P.S remember me? - BanorBhai.
Cheers!
Posted by Xperia™ Ion via xda-premium
ARNOB said:
Just a great tutorial! You've grown a lot in android dude, congrats!
P.S remember me? - BanorBhai.
Cheers!
Posted by Xperia™ Ion via xda-premium
Click to expand...
Click to collapse
Thanks...and yeah I know you...
Sent from my WT19i using xda premium
can i quote your tut. to my 1st post ?
Iris Yuga said:
can i quote your tut. to my 1st post ?
Click to expand...
Click to collapse
Sure mate...
Till-Kruspe said:
Sure mate...
Click to expand...
Click to collapse
I'm haveing a bit of a difficulty in your tuttorial, when i edit the device_info_setiings.xml i get all sourts of weird letters " 
  ˙˙˙˙   8 " after that there is no value folder in the apk. I'm using stock deodexed 4.0.4 ROM on Xperia S
beniamin24 said:
I'm haveing a bit of a difficulty in your tuttorial, when i edit the device_info_setiings.xml i get all sourts of weird letters " 
  ˙˙˙˙   8 " after that there is no value folder in the apk. I'm using stock deodexed 4.0.4 ROM on Xperia S
Click to expand...
Click to collapse
Use notepad++ to edit the xml file...did you decompile the apk correctly?...the value folder must be there....
Till-Kruspe said:
Use notepad++ to edit the xml file...did you decompile the apk correctly?...the value folder must be there....
Click to expand...
Click to collapse
I did decompile it correctly,i uploaded my settings .apk, so you can see it, if it works please add your strings and i'll edit them myself
http://www.mediafire.com/?fo1o8vb1wz5s1qw
beniamin24 said:
I did decompile it correctly,i uploaded my settings .apk, so you can see it, if it works please add your strings and i'll edit them myself
http://www.mediafire.com/?fo1o8vb1wz5s1qw
Click to expand...
Click to collapse
Look...it there...
Edit: test it...

[Guide][MOD] Network Traffic 4.x to 5.x (turn on/off, color, Display unit and more)

Today i came here with new Tut
This tut includes
Status bar traffic monitor
Disable
Outgoing
Incoming
Outgoing and Incoming
Color style
Display unit
Bits per second
Bytes per second
update interval
500 ms
1000 ms
1500 ms
2000 ms
Auto hide
Inactivity threshold
Before going to tutorial First you need to have these mods (If you already had these mods then go to post #2
Color picker settings by @05Gurpreet
and Seekbar Preferences by me
Thanks to carbon rom
mod [settings/systemui]
First you need Deodexed SystemUI.apk and Settings.apk
Lets first start with SystemUI.apk
1. Decompile the SystemUI.apk
2. Open res\values\dimens.xml and add these below codes
Code:
<dimen name="net_traffic_single_text_size">12.0dip</dimen>
<dimen name="net_traffic_multi_text_size">9.0dip</dimen>
<dimen name="network_stats_text_size">10.0dip</dimen>
3. then open res\values\id.xml and these below code
Code:
<item type="id" name="networkTraffic">false</item>
4. then open res\values\status_bar.xml
look for
Code:
<include layout="@layout/system_icons" />
Add this code above it
Code:
<com.android.systemui.statusbar.policy.NetworkTraffic android:id="@+id/networkTraffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="false" />
5. Download this View attachment SystemUI.zip and merge them
6. Compile it and decompile then open smali/com/android/systemui.statusbar/policy/NetworkTraffic.smali
7. After replace the public ids ( by comparing one i gave in zip
8. after compared and replace... compile the app and replace in system
Now time for settings.apk
1. Decompile the settings.apk
2. open settings.apk/res/values/arrays.xml and this below code
Code:
<string-array name="show_network_traffic_state_entries">
<item>@string/show_network_traffic_disable</item>
<item>@string/show_network_traffic_up</item>
<item>@string/show_network_traffic_down</item>
<item>@string/show_network_traffic_all</item>
</string-array>
<string-array name="show_network_traffic_state_values">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
</string-array>
<string-array name="show_network_traffic_unit_entries">
<item>@string/show_network_traffic_bit</item>
<item>@string/show_network_traffic_byte</item>
</string-array>
<string-array name="show_network_traffic_unit_values">
<item>0</item>
<item>1</item>
</string-array>
<string-array name="show_network_traffic_frequency_entries">
<item>@string/show_network_traffic_500</item>
<item>@string/show_network_traffic_1000</item>
<item>@string/show_network_traffic_1500</item>
<item>@string/show_network_traffic_2000</item>
</string-array>
<string-array name="show_network_traffic_frequency_values">
<item>500</item>
<item>1000</item>
<item>1500</item>
<item>2000</item>
</string-array>
3. now open settings.apk/res/values/strings.xml and add these codes
Code:
<string name="default_string">Default</string>
<string name="network_traffic_summary">Enable various network traffic options in statusbar</string>
<string name="network_traffic_title">Network traffic</string>
<string name="show_network_traffic_state">Status bar traffic monitor</string>
<string name="show_network_traffic_unit">Display unit</string>
<string name="show_network_traffic_frequency">Update interval</string>
<string name="show_network_traffic_disable">Disabled</string>
<string name="show_network_traffic_up">Outgoing</string>
<string name="show_network_traffic_down">Incoming</string>
<string name="show_network_traffic_all">Outgoing and incoming</string>
<string name="show_network_traffic_bit">Bits per second</string>
<string name="show_network_traffic_byte">Bytes per second</string>
<string name="show_network_traffic_500">500 ms</string>
<string name="show_network_traffic_1000">1000 ms</string>
<string name="show_network_traffic_1500">1500 ms</string>
<string name="show_network_traffic_2000">2000 ms</string>
<string name="network_traffic_autohide">Auto hide</string>
<string name="network_traffic_autohide_summary">Hide the traffic monitor when there is no activity</string>
<string name="network_traffic_autohide_threshold">Inactivity threshold</string>
<string name="network_traffic_color_style">Color style</string>
<string name="network_traffic_color_reset">Reset color</string>
<string name="network_traffic_color_reset_message">Reset network traffic color to default?</string>
4. now open settings.apk/res/values/attrs.xml and add these codes
Code:
<attr name="unitsLeft" format="reference|string" />
<attr name="min" format="float" />
<attr name="unitsRight" format="reference|string" />
5. Add this to any of your xml
for example i had add to my personal settings (res/xm/rstatusbar.xml)
you can add in display_settings.xml or as you wish
Code:
<PreferenceScreen android:title="@string/network_traffic_title" android:key="network_traffic_state " android:summary="@string/network_traffic_summary" android:fragment="com.android.settings.rz.NetworkTraffic" />
6. download this View attachment Settings.zip and merge to your settings
7. compile and decompile so you will get ids
8. open smali/com/android/settings/rz/NetworkTraffic.smali
9. compare the public ids to my one and replace yours
10. after that compile and replace the settings.apk
Best way to compare the Public ids go here shared by @iedafarha
Oh god finally you did it
Don't forget to mention me in your thread. If you tried my tut
venkat kamesh said:
8. compare the public ids to my one and replace yours
9. after that compile and replace the settings.apk
Oh god finally you did it
Don't forget to mention me in your thread. If you tried my tut
Click to expand...
Click to collapse
Awesome guide mate :good:, for compare the public ids , its easier to use public_id port
Try it ..
Good mode bro Tnx man
iedafarha said:
Awesome guide mate :good:, for compare the public ids , its easier to use public_id port
Try it ..
Click to expand...
Click to collapse
tnx bro you save my time alot
Nimadroid said:
tnx bro you save my time alot
Click to expand...
Click to collapse
welcome for editing xml especially for custom xml , this tools very usefull , xml validator
so save your time when recompile apk without error.
xml validato Application made with Mono 2.0, compatible with .Net Framework 2.0. It allows to load and modify xml, xsd and xsl docs and perform theirs validation, also using an embedded browser. Also, it allows to apply xsl to xml and to validate xml with xsd
Need Fix
Can you help me to fix it for me? Cause try and try but it always can't open Network Traffic menu on settings
I attach my apk
Sorry for my bad english
Thanks for help :angel:
Sloved.
I think you miss something for Public ID on NetworkTraffic.smali
For this publicID :
PHP:
<public type="integer" name="maskUp"
<public type="integer" name="maskDown"
<public type="integer" name="maskUnit"
<public type="integer" name="maskPeriod"
Keep Rockin :highfive:
iedafarha said:
welcome for editing xml especially for custom xml , this tools very usefull , xml validator
so save your time when recompile apk without error.
xml validato Application made with Mono 2.0, compatible with .Net Framework 2.0. It allows to load and modify xml, xsd and xsl docs and perform theirs validation, also using an embedded browser. Also, it allows to apply xsl to xml and to validate xml with xsd
Click to expand...
Click to collapse
ohhhh yeaaa
worked like chrm...
venkat kamesh said:
6. Compile it and decompile then open smali/com/android/systemui.statusbar/policy/NetworkTraffic.smali
Click to expand...
Click to collapse
i dont have networktraffic smali in my folder. can you mod my apk for me
uday94 said:
i dont have networktraffic smali in my folder. can you mod my apk for me
Click to expand...
Click to collapse
You don't have Networktraffic smali in ur folder because u did not follow the instructions in OP. This tutorial works perfectly.. Just try again. Read the full tutorial one time or two time then try..
venkat kamesh said:
Today i came here with new Tut
Click to expand...
Click to collapse
everything worked fine . but whenever i open network traffic option in settings it force closes.
uday94 said:
everything worked fine . but whenever i open network traffic option in settings it force closes.
Click to expand...
Click to collapse
Re check ids..
I used public id port app to change ids. There were some missing ids while editing.
uday94 said:
I used public id port app to change ids. There were some missing ids while editing.
Click to expand...
Click to collapse
There u go.. Try manual way. Find each ids and try again like me..
uday94 said:
I used public id port app to change ids. There were some missing ids while editing.
Click to expand...
Click to collapse
Download the compare_settings_systemui.zip http://forum.xda-developers.com/showthread.php?p=64516025
Decompile and check what you need (if the míssed public id is a attr= search into values/attr.xml and copy the línes you have míssed to your files and follow That way)
Who mod files for m2 2303?
djborek said:
Who mod files for m2 2303?
Click to expand...
Click to collapse
Tutorials is for learning my friend.. Just try it..
I dont know how do it.
djborek said:
I dont know how do it.
Click to expand...
Click to collapse
I made it from z5 style files
Pls send me on my PM files for 2303.

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.

[GUIDE] [TUT] Samsung Edge Screen

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.

Categories

Resources