[GUIDE][MOD][4.2.2] Adding Custom ROM image in Settings - G2 Themes and Apps

Adding custom ROM image in Settings
All information, follow these instructions !
Required tools
* Java
* SDK
* Notepad ++ ( Or another application )
* Deodexed LGSettings.apk
* Download the "Required files"
* APK Tool
* Extract the "LGSettings.apk" from your rom /system/app/
PART 1
* Decompile LGSettings.apk
* Put the "\drawable and \layout" into the extracted "Required files" folder.
-Trick
There, you'll see customimage.png Change it to any png of size 400x155 You can change this size description in /res/layout/areebisawesome.xml
* Navigate to \res\xml
* Open device_info_settings with notepad++ and add the following lines after that close and save the changes.
Original Line
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen android:title="@string/sp_sw_update_capital_NORMAL" android:key="software_update_settings_for_dcm" android:summary="@string/system_update_settings_list_item_summary">
<intent android:targetPackage="com.nttdocomo.android.fota" android:action="android.intent.action.MAIN" android:targetClass="com.nttdocomo.android.fota.screens.DmcFota" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/system_update_settings_list_item_title" android:key="system_update_settings" android:summary="@string/system_update_settings_list_item_summary">
<intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
</PreferenceScreen>
Modified
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/about_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:layout="@layout/areebisawesome" android:title="" android:key="blah" />
<PreferenceScreen android:title="@string/sp_sw_update_capital_NORMAL" android:key="software_update_settings_for_dcm" android:summary="@string/system_update_settings_list_item_summary">
<intent android:targetPackage="com.nttdocomo.android.fota" android:action="android.intent.action.MAIN" android:targetClass="com.nttdocomo.android.fota.screens.DmcFota" />
</PreferenceScreen>
<PreferenceScreen android:title="@string/system_update_settings_list_item_title" android:key="system_update_settings" android:summary="@string/system_update_settings_list_item_summary">
<intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
</PreferenceScreen>
PART 2
* Compile LGSettings.apk file ( APK Tool )
* You can do this with a File explorer ( With root permissions or before you build your rom. )
{
"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"
}
Thanks @iamareebjamal and @abhi922 original guide and Required files
Soon Other Mods :good:

Thanks for all of the new tuts! Hopefully more people can learn to do things on their own.:good:

Thanks bro
LG_G2 32GB Karaşimşek™

work in 4.4.2?

Related

[DISCONTINUED][GUIDE]Adding Network Speed to Status Bar[CM7]

Adding Network Speed to Status Bar​
Files to be Modded:
-SystemUI.apk
Instructions:
1. Decompile your SystemUI.apk
2. Extract my speed.zip (download link below)
3. Copy folder from smali to SystemUI.apk/smali
4. Now you need to modify status_bar.xml from SystemUI.apk/res/layout/
5.Find
Code:
<com.android.systemui.statusbar.IconMerger android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/notificationIcons" android:paddingLeft="6.0dip" android:layout_width="0.0dip" android:layout_height="fill_parent" android:layout_weight="1.0" android:layout_alignParentLeft="true" />
6.Add below this
Code:
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true">
<in.jmkl.dcsms.statusbargreper.DataTrafik android:layout_gravity="center_vertical" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
7.Recompile SystemUI.apk and add to zip
Credits:
-petrukgrinder Original Link
-google
-xda
Downloads:
Speed.zip
Screens:
{
"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"
}
i think this is dcsms mod
cekidot
http://forum.xda-developers.com/showthread.php?t=1877151
Minions_Army said:
i think this is dcsms mod
cekidot
http://forum.xda-developers.com/showthread.php?t=1877151
Click to expand...
Click to collapse
no bro check credits for original link by the way it doesnt use statusbar greeper it is smali files edits bro
will it work for stock jb
zeyaan said:
will it work for stock jb
Click to expand...
Click to collapse
dont think so bro never tried!!
yo can say this tutorial for cm7, can u try in this rom?
http://forum.xda-developers.com/showthread.php?t=2224101
because i can't find folder smali ini SystemUI.apk
can you check..
thank for help
:laugh:
zhu_zhu said:
yo can say this tutorial for cm7, can u try in this rom?
http://forum.xda-developers.com/showthread.php?t=2224101
because i can't find folder smali ini SystemUI.apk
can you check..
thank for help
Click to expand...
Click to collapse
am kinda busy in other projects and theming works bro as soon as possible i ll let u know!!

[GUIDE] [MOD] How to add battery % in Stock ROM

Hi, i will learn how to add battery porcentage for Stock 4.4.2 ROM of Moto X, works with others roms too!
Screenshot:
{
"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"
}
Requires:
Code:
- SystemUI.apk deodexed
- apktool v2.0.0b9
Let's start:
1º - Decompile SystemUI.apk
2º - Download this smalis > click here
3º - Put the folder "erryy" in "SystemUI > smali > com"
4º - Go to "SystemUI > res > layout" and open "status_bar.xml"
5º - Find this line:
Code:
<include android:id="@id/signal_cluster"
6º- Below this line put this line of code:
Code:
<com.erryy.BatteryText android:textSize="12.0dip" android:textColor="#ffffffff" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" android:paddingStart="2.0dip" />
7º - Now, find this line:
Code:
<com.android.systemui.BatteryMeterView
and replace the entire line for this line:
Code:
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="6.0dip" android:layout_height="15.0dip" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="4.0dip" />
8º - Compile the SystemUI.
That's all! ​
Very Good!! :good:
Tenigima said:
Very Good!! :good:
Click to expand...
Click to collapse
Thanks
Nice work, but why not just install gravity box?
Sent from my Dev Edition Moto X
Schaweet said:
Nice work, but why not just install gravity box?
Sent from my Dev Edition Moto X
Click to expand...
Click to collapse
This is for we devs! We work for the users just install our custom rom and use it, we don't want that the user set a lot of things! and i don't like the xposed and gravity
https://play.google.com/store/apps/details?id=de.kroegerama.android4batpercent
It's not same as this but it works for non rooted devices.
Sent from my XT1056 using XDA Free mobile app

3Minit Battery Mod

{
"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"
}
This mod allows you view over 1070 battery type and counting from various users. With a single click the battery will download and set itself on to your status bar.
But as stated don't worry about you storage space being used by thousands of useless icons as they are all on my server and only downloads the type you use.
1.Install app.
2.Decompile SystemUI.apk and navigate to: res/layout/status_bar.xml
3. Look for:
Code:
<com.android.systemui.BatteryMeterView android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
Change to:
Code:
<com.android.systemui.statusbar.policy.MinitBattery android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="0.33000004dip" android:layout_marginStart="5.0dip" />
4.Download the mod files and place them in smali/com/android/systemui/statusbar/policy folder.
5.Recompile and set permissions.
You are free to use and bake this mod and app into your rom provided you give full and proper credits and you provide a link to this thread. Also you cannot alter in any way without permission from me first.
This is not a open source project and I share with you as is. All codes belong to and are copyright to me.
My wife and kids for giving up their time with me so I can do this. Love you guys.
@pas2001 for batterys, renaming icons and testing.
@*wii360* for renaming batterys and testing.
@xxmrgreenxx for renaming batterys.
@NadMaj for his battery archive.
Disclaimer: Download at your own risk. I am not responsible for any damage/data loss etc from flashing this framework.​
XDA:DevDB Information
3Minit Battery Mod 4.4.2, App for all devices (see above for details)
Contributors
gharrington, pas2001
Version Information
Status: Beta
Current Beta Version: 0.1
Created 2014-07-02
Last Updated 2014-07-02
What is different between this thread and this one?? @gharrington
I have a Sprint GS5, which should I use?

[MOD] create your own custom APN

so is this?
this is for you if you like cooked ROM you change simpre may have their internet settings hand ala following this tutorial I hope will serve
Requirements
a text editor
Match your network operator
1.- example of the file structure
Code:
<?xml version="1.0" encoding="utf-8"?>
<apns version="7">
<apn carrier=""
apn=""
user=""
password=""
mcc=""
mnc=""
type=""
authtype="1"
/>
<apn carrier=""
apn=""
user=""
password=""
mmsc=""
mmsproxy=""
mmsport=""
mcc=""
mnc=""
type=""
authtype="1"
/>
</apns>
2.- creation of data and settings from the network operator
Code:
<?xml version="1.0" encoding="utf-8"?>
<apns version="7">
<apn carrier="Internet"
apn="internet.itelcel.com"
user="webgprs"
password="webgprs2002"
mcc="334"
mnc="020"
type="default,supl"
authtype="1"
/>
<apn carrier="Mensajes Multimedia"
apn="mms.itelcel.com"
user="mmsgprs"
password="mmsgprs2003"
mmsc="http://mms.itelcel.com/servlets/mms"
mmsproxy="148.233.151.240"
mmsport="8080"
mcc="334"
mnc="020"
type="mms"
authtype="1"
/>
</apns>
- Note: Once already done this should save the file and put it next wing route
- /system/etc apns-conf.xml
- permissions rw-r--r--
- reboot
- after restarting the next route will go
- adjustments/more/cellular networks/APs-APN/adjustments/restore settings
- with this their customized settings and their profiles are listed internet and multimedia
{
"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"
}
reserved...
Why go through all that when you can download APN parameters automatically OR add them manually by using the APN options menu?

How to animate pull down menu[quick setting button][JB 4.2 MT6582]

Hello Friends ,
First of all , i am not responsible if you brick
your devices or whatever u do .
This is simple and easy to do..
This will animate quick settings button.Which is displayed on your pull down menu on right corner of screen...
First watch thIs video..
http://www.youtube.com/watch?v=9SHWoCpUn4E&feature=youtube_gdata_player
Things You Need..
Knowledge about compiling, decompiling, signing system apk's.
PhotoShop or whichever image editor (for making animation and extracting them as frames)
So, Lets begin..
First of all Decompile SystemUI.apk
Goto res>drawables>ic_notify_quicksettings.xml edit it with notepad++
there u see the following
{
"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"
}
remove drawable="@drawable/ic_notify_quicksettings_normal" />
add this state_pressed="false">
like this
And below it add the following
<animation-list androidneshot="false"
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal1" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal2" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal3" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal4" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal5" />
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normal6" />
</animation-list>
</item>
like this
How much frames(images) u have that much u should add these lines
<item android:duration="100" android:drawable="@drawable/ic_notify_quicksettings_normalxx" />
where xx is last frame name..
And add images(ic_notify_quicksettings_normalxx.png) inside
res>drawable-hdpi and drawable-xhdpi
Now save it ..Recompile ,Sign SystemUI
Then push it back to your device or copy or make cwm zip and flash it.
You have to touch it once ,so it starts..
Press thanks if i helped you..
Also like
You can also PM me..
Here my xml file
View attachment ic_notify_quicksettings.zip

Categories

Resources