GUYS PROUDLY PRESENTING YOU
SAM16'S QUICKPANEL SHORTCUTS
WHAT DOES IT DO??
Add DIffernet APP ShortCuts TO YouR STATUSBAR.!!! (others apps also if u want too )
Which ShOrTcUtS Are InCluDeD??
12 Diffrent Shorcuts Are include.
1. Settings
2. Browser
3. Camera
4. Music
5. Gmail
6. Playstore
7. Memo
8. Search
9. Mms
10. Youtube
11. TaskManager
12. Alarm
HOW TO DO IT..??
I will show u how to add *ONLY 1 SHORTCUT that is SETTINGS*. Procedure for rest is the same. Just change the last code in xml from Settings to Browser or Camera or etc. And change the background name from Settings to Brower or Camera or etc. And add the specific image file in ur res/drawable-ldpi folder.
1. Download Both The Zips...
a) First Zip which is *drawables.zip* contains all the images for the 12 shortcuts.U dont need to add them all to your res/drawable-ldpi folder. Just add the 1 whose shortcut u want and whose code u have added in xml u can delete rest of the pngs. Eg. If u want settings shortcut then only keep the settings.png dont add others to ur drawable-ldpi folder.
b) This Zip which is *smalli.zip* contains all the smalli files needed for the 12 shortcuts. The path is yash/sam/Shortcuts/..... U dont need to keep all the files in Shortcuts folder just keep Settings.smalli and Settings$1.smalli if u want only settings shortcut and delete the rest. But these files are just in kb so i prefer if u dont delete them.
2. Decompile ur Systemui Using Apkmanager or Apktool. Search Google or Xda for #HOW TO DECOMPILE APKS# i wont be explaining that.
3. Add the image from the drawables.zip whose shortcut u want in res/drawable-ldpi folder. I Have taken Settings shortcut as example so just add settings.png in res/drawable-ldpi.
4. Add the smalli files from smalli.zip in ur smalli folder. The folder in the smalli,zip is yash. So after adding it there will be a yash named folder in ur smalli folder including all previous folders of ur systemui.
5. Go to res/layout and open statusbar_expanded.xml and add this line
Code:
<yash.sam.ShortCuts.Settings android:background="@drawable/settings" android:layout_width="wrap_content" android:layout_height="40.0dip" />
anywhere in A LinearLayout or A RelativeLayout where u want ur Settings Shortcut.
for newbies add after
Code:
<LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
this code or search carrierlabel and add my line after it.
so after adding it will look like
Code:
<LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
<yash.sam.ShortCuts.Settings android:background="@drawable/settings" android:layout_width="wrap_content" android:layout_height="40.0dip" />
<Button android:textSize="13.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />
</LinearLayout>
Now u are DONE..
JUST RECOMPILE AND ENJOY......!!!!!!!
THIS APP SHORTCUTS ARE MADE BY ME FROM JAVA AND NOT KANGED FROM ANY1...!!
CREDITS
Spacecaker (USED 2 of ur lines buddy )
TJATOER
SCREENSHOTS
In NeXt PoSt
Reserved for Ss..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my GT-S6102 using Tapatalk 2
Great Tuts want make for CM if can
DvikzzDroid said:
Great Tuts want make for CM if can
Click to expand...
Click to collapse
Works in any Rom any fone any app..
Sent from my GT-S6102 using Tapatalk 2
samsoul16 said:
GUYS PROUDLY PRESENTING YOU
SAM16'S QUICKPANEL SHORTCUTS
WHAT DOES IT DO??
Add DIffernet APP ShortCuts TO YouR STATUSBAR.!!! (others apps also if u want too )
Which ShOrTcUtS Are InCluDeD??
12 Diffrent Shorcuts Are include.
1. Settings
2. Browser
3. Camera
4. Music
5. Gmail
6. Playstore
7. Memo
8. Search
9. Mms
10. Youtube
11. TaskManager
12. Alarm
HOW TO DO IT..??
I will show u how to add *ONLY 1 SHORTCUT that is SETTINGS*. Procedure for rest is the same. Just change the last code in xml from Settings to Browseer or Camera or etc.
1. Download Both The Zips...
a) First Zip which is *drawables.zip* contains all the images for the 12 shortcuts.U dont need to add them all to your res/drawable-ldpi folder. Just add the 1 whose shortcut u want and whose code u have added in xml u can delete rest of the pngs. Eg. If u want settings shortcut then only keep the settings.png dont add others to ur drawable-ldpi folder.
b) This Zip which is *smalli.zip* contains all the smalli files needed for the 12 shortcuts. The path is yash/sam/Shortcuts/..... U dont need to keep all the files in Shortcuts folder just keep Settings.smalli and Settings$1.smalli if u want only settings shortcut and delete the rest. But these files are just in kb so i prefer if u dont delete them.
2. Decompile ur Systemui Using Apkmanager or Apktool. Search Google or Xda for #HOW TO DECOMPILE APKS# i wont be explaining that.
3. Add the image from the drawables.zip whose shortcut u want in res/drawable-ldpi folder. I Have taken Settings shortcut as example so just add settings.png in res/drawable-ldpi.
4. Add the smalli files from smalli.zip in ur smalli folder. The folder in the smalli,zip is yash. So after adding it there will be a yash named folder in ur smalli folder including all previous folders of ur systemui.
5. Go to res/layout and open statusbar_expanded.xml and add this line
<yash.sam.ShortCuts.Settings android:background="@drawable/settings" android:layout_width="wrap_content" android:layout_height="40.0dip" />
anywhere in A LinearLayout or A RelativeLayout where u want ur Settings Shortcut.
for newbies add after
<LinearLayout androidrientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" androidrientation="vertical" androidaddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
this code or search carrierlabel and add my line after it.
so after adding it will look like
Code:
<LinearLayout android:orientation="horizontal" android:background="@drawable/quickpanel_plmn_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:baselineAligned="false">
<com.android.systemui.statusbar.CarrierLabel android:textSize="17.659973dip" android:textColor="#ffffffff" android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingBottom="1.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:layout_marginLeft="5.0dip" android:layout_marginTop="1.0dip" android:layout_weight="1.0" />
<yash.sam.ShortCuts.Settings android:background="@drawable/settings" android:layout_width="wrap_content" android:layout_height="40.0dip" />
<Button android:textSize="13.0sp" android:layout_gravity="center_vertical" android:id="@id/clear_all_button" android:layout_width="85.0dip" android:layout_height="wrap_content" android:layout_marginTop="5.0dip" android:layout_marginRight="6.0dip" android:layout_marginBottom="3.0dip" android:text="@string/status_bar_clear_all_button" style="?android:attr/buttonStyleSmall" />
</LinearLayout>
Now u are DONE..
JUST RECOMPILE AND ENJOY......!!!!!!!
THIS APP SHORTCUTS ARE MADE BY ME FROM JAVA AND NOT KANGED FROM ANY1...!!
CREDITS
Spacecaker (USED 2 of ur lines buddy )
TJATOER
SCREENSHOTS
IN 2 min. COz of slow net connection
Click to expand...
Click to collapse
Mod Edit quote adjusted
Nice guide.. do u have ang guide regarding how to remove carier name along with png for y duos
whoa....Keep doing like this.
Sent from my GT-S5360 using Tapatalk 2
just a tip for your guide
change the layout to include code tags - this will make each section of coding easier to read
disable smileys in text - this will remove the smileys from your guide so people can easily copy and paste from your guide without having to keep adding the o
keep the colours dark - the yellow at top of the thread is too light and not readable without highlighting the text
marcussmith2626 said:
just a tip for your guide
change the layout to include code tags - this will make each section of coding easier to read
disable smileys in text - this will remove the smileys from your guide so people can easily copy and paste from your guide without having to keep adding the o
keep the colours dark - the yellow at top of the thread is too light and not readable without highlighting the text
Click to expand...
Click to collapse
Done. Color yellow was selected by mistake i wanted blue which is set now
PERFECT!!!!!
I put playstore and music in status bar header!!!!!!!!!!
The only changes is tha i changed the icons and i make it more color and smaller!!!
Thank you perfect guide!!!!!!!!!!
G.M.L.!
G.M.L said:
PERFECT!!!!!
I put playstore and music in status bar header!!!!!!!!!!
The only changes is tha i changed the icons and i make it more color and smaller!!!
Thank you perfect guide!!!!!!!!!!
G.M.L.!
Click to expand...
Click to collapse
I know it works perfect and is easy but now a days GB development is on a hold and no1 tried it much..!!
samsoul16 said:
I know it works perfect and is easy but now a days GB development is on a hold and no1 tried it much..!!
Click to expand...
Click to collapse
This its work in GB and in ICS!!!
Related
Is there a way to change the order of the pulldown toggles in this theme? This is what I've done so far:
1)I've decompiled the SystemUI.apk file
2)Modified the status_bar_expanded.xml file to reorder the toggles the way that I wanted them.
3)Deleted the proper files that were modified
4)Recompiled & signed it.
5)Replaced the modified SystemUI.apk file back into the Epic Blue zip file
6)Installed in recovery (wiping cache & dalvik cache)
The pulldown toggles remain in their original order, but other modifications that I made took effect. Any help would be GREATLY appreciated!! I have done this before even with Epic Blue for 2.0.X with great results.
dkool1 said:
Is there a way to change the order of the pulldown toggles in this theme? This is what I've done so far:
1)I've decompiled the SystemUI.apk file
2)Modified the status_bar_expanded.xml file to reorder the toggles the way that I wanted them.
3)Deleted the proper files that were modified
4)Recompiled & signed it.
5)Replaced the modified SystemUI.apk file back into the Epic Blue zip file
6)Installed in recovery (wiping cache & dalvik cache)
The pulldown toggles remain in their original order, but other modifications that I made took effect. Any help would be GREATLY appreciated!! I have done this before even with Epic Blue for 2.0.X with great results.
Click to expand...
Click to collapse
Hmm. Are you using apkmanager to do this? I've had problems with it when having to delete files that were modified so I always do the option to not save additional files.(if that makes sense). Anyway I'm curious so I'm going to try it out for myself and let you know how it goes.
EDIT: Same thing happened here. I change the order in the xml but it stayed the same. There must be more to it since the scrolling toggles were added. If I figure it out I'll let you know.
---------- Post added at 09:51 PM ---------- Previous post was at 09:02 PM ----------
OK, here's what I found. The toggles in eclipse 2.1 are positioned using relative layout. Which means that each of the FrameWork Layout sections are pointing to the id that it is to the right of. So if we move the FrameWork Layout sections it won't matter. What is important is what the "android:layout_toRightOf" value is set to. For example if you look at the gps button you see that it is alway to the right of the blue tooth button.
Code:
android:layout_toRightOf="@id/bt_bttn"
Code:
<FrameLayout android:id="@id/gps_bttn" android:layout_width="fill_parent" android:layout_height="65.0dip" android:layout_weight="1.0" android:layout_toRightOf="@id/bt_bttn">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_icon" android:layout_width="72.099976dip" android:layout_height="wrap_content" android:layout_marginTop="3.0dip" android:src="@drawable/quickpanel_icon_gps_off" />
<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="11.0dip" android:textStyle="bold" android:textColor="#ffdfdfdf" android:gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_text" android:paddingTop="35.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_gps_text" android:shadowDx="1.0" android:shadowDy="1.0" />
<ImageView android:layout_gravity="bottom|center" android:id="@id/quickpanel_gps_btn_status_icon" android:paddingLeft="2.2999878dip" android:paddingRight="2.2999878dip" android:layout_width="fill_parent" android:layout_height="5.299988dip" android:layout_marginBottom="4.0dip" android:src="@drawable/quickpanel_icon_off" android:scaleType="fitXY" />
</FrameLayout>
So changing the value of the layout_toRightO in each of the FrameLayout sections relative to the others is what you need to do to change the order of the toggles. I haven't tried it out yet but that should be what you're looking for. If you get to try it before I do let me know if it works.
Oh, Here's a tutorial that explains relative layout that I found http://developer.android.com/resources/tutorials/views/hello-relativelayout.html
Edit again: This method works. I just moved the flashlight right after the sound button.
You da Man!! Major Props to you!!
THANK YOU THANK YOU THANK YOU!!
Thanks. Glad to help.
Sent from my DROID X2 using Tapatalk
Has anyone had trouble with the flashlight toggle on the status bar sticking? It seems to stay for a little while and then goes back to the original status bar ....
I haven't, but I don't use the flashlight toggle enough to make a fair assessment. It hasn't stuck for me.
Schools
2012-12-19 - Post #5 Inspecting the content of an APK
2012-12-19 - Post #6 Understanding .9.PNG or 9-patch PNG
2012-12-19 - Post #7 Let's make our own .9.PNG
2012-12-19 - Post #8 Let's edit an APK
2012-01-13 - Post #12 Keep transparency of PNGs
2013-01-24 - Post #13 Easy but advanced apk-modding
Basic windows tools
The basic windows tools to look inside apk's and learn about it's structures, content and XML's are in this zip.
Mediafire: X10MP_essentials_v3.zip
In the zip you will find:
APK Easy Manager v1.0
APK Edit v0.2
APK Tool 1.5.2 SEMC
Gordons Gate USB driver
Screen Stream
SignApk
Notice: You will also need Java SE Runtime Environment. Download from here, and install first. (The one called JRE)
Gordons Gate USB driver
If you already has rooted your X10M/P you already got the USB driver, and you do not need to install the USB driver. The driver is also installed with SONY PC Companion.
APK Tool 1.5.2 SEMC
Next you need to install the framework files. In the zip is included CM7 and SEMC framework. (If you want to work on CM9 or CM10 you can get the framework-files in any of those ROMs)
Install both framework files in the folder. Open CMD and change dir to the folder with apktool and the framework files.
Then type:
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
APK Easy Manager v1.0
This tool will easily decompile most APK's, for easy access to resources and files, incl. XMLs
APK Edit v0.2
This tool will let you extract or inject files and edit existing XMLs.
Notice: Use the Apply button after you do a change to return to root folder. When injecting files, use copy and paste. If you just drag and drop the file wil be moved. Check AndroidManifest.xml after every APPLY, some strings might get changed or corrupted (typically there will be added a / in front of @, just remove the / and save and apply again).
(this is my generel APK-editing tool)
I use Notepad++ for editing XML/SMALI
Screen Stream
Just a very nice tool to make screen shots or video.
SignApk
Just in case you need to sign an APK.
What to do next
Well, just experiment and look inside APKs and get familiar with how they work and where different resources are placed and used by the APK. Slowly you will get more and more curious, read more and more about what ever gets your attention.
Schools and References - thread posts
Links to best posts in this thread
Post #5 Inspecting the content of an APK
Post #6 Understanding .9.PNG or 9-patch PNG
Post #7 Let's make our own .9.PNG
Post #8 Let's edit an APK
Post #12 Keep transparency of PNGs
Post #13 Easy but advanced apk-modding
References - outside forum
Best links to outside XDA forum
....
Reserved for a very usefull content
:cyclops:
Inspecting the content of an APK
The task of inspecting the content of an APK is fairly simple.
If you are only interesting in the graphics (PNGs) you can just rename the extension of an APK to ZIP. Now just extract the ZIP file and you got all the files from the APK. You will not be able to read the XML or SMALI files.
If you want access to everything use APK Easy Manager v1.0 from the essentials pack in post #1 above.
Just drag and drop the APK file into the APK Easy Manager v1.0, select Gingerbread in the dropdown and click Start Decompiling.
The decompiled APK will now be available in the projects folder.
{
"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"
}
Understanding .9.PNG or 9-patch PNG
Many attempts has been made to make this easy to understand and edit. Most of them ends up with strange sugestions and very complicated procedures.
Well, it's far from that complicated.
The goal of a .9.PNG is to make a graphical object, that's scaleable around a content, like a button with a text in it.
One good example is the buttons to cancel a call.
This button is made up of 5 different .9.PNG one for each state of the button, and are found in the Phone.apk (Phone.apk/res/drawable-mdpi)
btn_in_call_main_disable.9.png
btn_in_call_main_disable_focused.9.png
btn_in_call_main_normal.9.png
btn_in_call_main_pressed.9.png
btn_in_call_main_selected.9.png
They look like this (200% size shown in Pixlr.com/editor)
They all got the size 21x91. And obviously this is not the size of the buttons The actual button size is 64x64.
All around the PNGs is a 1 px border, with a simple information to the handling of the PNG object. The border must be only 100% transparent or 100% black. It's the black pixels that holds the information.
Top and left border tells what part of the PNG that is scalable/stretchable.
Right and buttom border tells what part of the PNG that can hold content, like text or other PNGs (above the buttons contains both text and graphics).
Very simple run down here: http://radleymarx.com/blog/simple-guide-to-9-patch/
Let's put that into words.
The "normal" butten state fades slightly from very dark at the buttom to less dark at the top and has round corners.
Top/left scalable/stretchable
For this button to look good, the corners sould not be stretched and the vertical transition should streach along most of the button. Left black border-line should be as long as possible for this.
For both horizontal and vertical, the corners should stay clear of being stretched.
Right/buttom content
Most of the button should hold content, so lines are here as long as possible but but still with a nice margin to the edges.
Let's make our own .9.PNG
First thing to be aware of is, that resizing a .9.PNG from another APK most likely will make the .9.PNG unusable because the imageeditor might change the total black of the border pixels and the total transparent might get some colour from pixels next to them.
Lets say that we want to make a Hobbit theme, and want the buttons above to look like something Hobbit, like a document.
So we want to change the document into the button, it would be something like this:
First I would just draw the black lines on the full image later we can do the cutting.
As you can see, I don't want stretch on the part where the corner of the document is missing (black line to the left).
Injecting this new button as it is now (no cutting at all) is fine. It does NOT have to be the size of the system-defaults. All 5 buttons just have to be same size.
This is how it looks with the same PNG for all 5 buttons. Not bad considering it took med 5 min to make
Note: The theme I used to test the Hobbit buttons is the Xperia S CM7 Theme. The caller number being close to the buttons is something that is on my list of fixing, and has nothing to do with the buttons.
Come oin newbie themers... let's build our self an XPERIA X10 Hobbit
Let's edit an APK
So I got this very simple app, that just open up a link. APK -> http://db.tt/WzA4QJhp
The APK has a Windows Live icon and just opens up http://mobile.live.com
We want to change the link to http://forum.xda-developers.com/forumdisplay.php?f=723 (this is the forum base for Sony Ericsson XPERIA X10 Mini), and give it a new nice icon.
Start APK Edit v0.2 (se post #1 for download etc) and open the APK-file (always edit in a copy).
App title and icon are changed from the front of the tool. Just write a new name and click the icon to change it. I made this cool icon.
Next we move to the content tab. This windows functions just like any other window, alowing moving og opening files directly.
The first file you see is AndroidManifest.xml
In this apk, it's not that interesting.....
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest android:versionCode="1" android:versionName="1.0" package="[COLOR="Red"]com.live.mobile[/COLOR]"
xmlns:android="http://schemas.android.com/apk/res/android">
<application android:label="@string/app_name" android:icon="@drawable/icon">
<activity android:label="@string/app_name" android:name=".WindowsLiveMobile">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="3" />
</manifest>
..... except for the red text. This is the apk signature, any other apk with the same signature will overwrite each other when installed. So if we want to make another link-APK and have both installed, this needs to be changed - AND ANY REFERENCE TO THIS, INCL PATH REFERENCES com/live/mobile must be changed too INCL the APK folders inside the SMALI folder. We will do this another day :laugh:
For now we will just find the part of the APK where the link is.
Deep inside smali/com/live/mobile are a bunch of smali-files. Our link-string is inside WindowsLiveMobile.smali.
Just open with text-editor (not Wordpad) find the link-string and edit the URL from "http://mobile.live.com" to "http://forum.xda-developers.com/forumdisplay.php?f=723"
Save the file and clik APPLY.
Copy to SD card and install.
This is the result APK http://www.mediafire.com/?v37jtayf7jsow82
Enjoy :good:
A very handy guide to .9.PNG's. Thanks!
Sent from my SK17i using xda premium
Great job!
thanks Emperor.dk for the information
Keep transparency of PNGs
When editing stock apps, everyone at one point will get problems with keeping the transparency of an stock PNG when opening it in an image editor programe on the PC.
Example: Here I have open plate.png from onoffwidgets.apk resources:
It should have been transparent, and editing from here won't do any good.
Solve this by first open it in Pixlr.com/editor and just save it again replacing the original on the PC.
When you open it again in your image editor in the PC, and the transparency works.
Now, enjoy modding and theming
Easy but advanced apk-modding
Cyanogen has made this cool app called CMWallpapers.apk.
You will find the app in a lot of custom ROMs all over XDA, some modded and some not.
In this school we will modify the package id to avoid colission with any preinstalled version and change the content of the app.
See previous schools for how to open an APK and edit content.
Today we are building an Xperia S wallpaper app-pack.
Changing icon and app name
Opening the apk in APK Edit first shows the app icons and name.
To change the icons simply click them and select the one you want from the popup filemanager. I found the original stock icon from WallpaperPicker.apk in the Xperia S stock ROM. It's fine to use the 48x48 for both LDPI and MDPI.
The app and label name is changed to "Xperia S wallpapers".
Notice: This is only the english name. In order to change the name for other languages, we need to change a lot of XML-files. This is done easily using the "replace in all open documents" function in Notepad++.
Navigate to res/ and simply drag and drop all the "value-??" folders into Notepad++, press CTRL+H and replace "CyanogenMod" with "Xperia S" in all open documents (There is one big button to do it in all with one click), and then press CTRL+SHIFT+S to save all documents.
After that click the Apply button in APK Edit.
Changing the package-id
The package id is defined in AndroidManifest.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest android:versionCode="10" android:versionName="2.3.7" [COLOR="Red"]package="com.cyanogenmod.CMWallpapers"[/COLOR]
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<application android:label="@string/app_name" android:icon="@drawable/cyanogenmod_icon">
<activity android:label="@string/app_label" android:icon="@drawable/cyanogenmod_icon" android:name="wallpaper" android:screenOrientation="nosensor" android:finishOnCloseSystemDialogs="true">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:label="@string/no_wallpaper" android:name="NoWallpaper">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>
Here we can change "com.cyanogenmod.CMWallpapers" to "com.xperias.wallpapers"
IMPORTANT: When you change the package-id you will have to change alle references in all SMALI-files, and all folder-paths inside the apk, or the app will not work.
Inside the APK exists a folder-path to the SMALI-files:
smali\com\cyanogenmod\CMWallpapers
We must rename the foldes "cyanogenmod" and "CMWallpapers" to match our package-id.
In APK Edit we just navigate to "smali\com\" and rename the folder "cyanogenmod" to "xperias", and then navigate into "xperias" and rename "CMWallpapers" to "wallpapers".
The new folder-path to the SMALI-files will now be:
smali\com\xperias\wallpapers
Next we will open all SMALI-files and change any references to match the new package-id. There are a lot, so again you might use the replace in all open documents function in Notepad++
Save all documents and click the Apply button in APK Edit.
Making wallpaper files
One wallpaperfile consists of two files, the wallpaper itself, and a thumbnail, in the format:
wallpaper.jpg
wallpaper_small.jpg
For this app to work properly, the LDPI resolution should be 427x320, and the thumbnail should be 107x80.
The MDPI resolution should be 640x480, and the thumbnail should be 107x80.
I have prepared all the wallpaperfiles from the stock Xperia S ROM, i had to resize and crop some parts off.
The wallpapers in the stock Xperia S ROM is found in "system\etc\customization\content\com\sonyericsson\wallpaperpicker\wallpapers"
The wallpaper-files has to be placed in "res\drawable-ldpi" and "res\drawable-mdpi"
Place wallpaperfiles inside the APK
First we open the "res\drawable-ldpi" folder, and delete the existing wallpaper files.
Notice: Don't delete the icon-file!
Then we copy the resized/cropped Xperia S wallpaperfiles into the folder and click Apply.
Next we do the same for "res\drawable-mdpi" folder.
Edit arrays.xml
Inside "res\values" folder we got an XML-file with references to all the wallpaper-files. This has to be edited to match our new wallpaper-files.
At the upper part of the XML we got file-reference, this must match the filename without the ".jpg", and at the lower part of the list we got wallpaper discription/name.
Be very carefull when editing XMLs in Windows. You will very easily break the text encode if you copy from 3rd party text-editor into Notepad++. It's better just to type in everything manualy.
Result
After install of the modded app, we get an Xperia S wallpaper choise when pressing the Menu-button and tapping wallpaper.
We also get an option to select no wallpaper. If we want to get rid of this, we need to edit AndroidManifest.xml and remove the red part:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest android:versionCode="10" android:versionName="2.3.7" package="com.xperias.wallpapers"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" />
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<application android:label="@string/app_name" android:icon="@drawable/cyanogenmod_icon">
<activity android:label="@string/app_label" android:icon="@drawable/cyanogenmod_icon" android:name="wallpaper" android:screenOrientation="nosensor" android:finishOnCloseSystemDialogs="true">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
[COLOR="red"] <activity android:label="@string/no_wallpaper" android:name="NoWallpaper">
<intent-filter>
<action android:name="android.intent.action.SET_WALLPAPER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
[/COLOR] </application>
</manifest>
And now, let me see some weekend mod-projects from all you newbies. I can't wait to se all your cool idears for app modding. I would realy like to see the Sony Ericsson Notes app with Google Tasks sync
Download the finished app here: http://www.mediafire.com/?i5tw3zpbcl86byg
New version here, cleaned up all MDPI, only 537 KB: http://www.mediafire.com/download.php?srhfp05qma86ctb
Awesome guide! I really want to learn something about the android world. Do you have some tools like these, but for linux?
mortadelax said:
Awesome guide! I really want to learn something about the android world. Do you have some tools like these, but for linux?
Click to expand...
Click to collapse
I'm very sure it's even more easy to do Android coding on a Linux system.... but i don't know how to install it, or use it, or play it.
awesome guide! Thanks a lot
Great! Thank a lot
Emperor.dk said:
I'm very sure it's even more easy to do Android coding on a Linux system.... but i don't know how to install it, or use it, or play it.
Click to expand...
Click to collapse
LOOOOL
Did you notice the line @ 4:55; "my phone doesn't take a week to boot"
That song is from a time way before smartphones .. :laugh:
This Guide will help you to add any application/options to Settings.apk. Well earlier My friend @sandy7 published a guide on how to add various options in Settings. So this extended guide will provide you the necessary knowledge on how to get resources about any app which needed to be added in Settings to include it as an option.
Requirements:
Any Tool that can Decompile & Recompile with it's requirements
Notepad++
1. How to add options/apps in main/general settings :
To add an app in Settings we need some resources of the app. This resources can be found by decompiling the app which we want to add & look for those in AndroidManifest.xml
Now, to add an app we need this resources to be added:
*android:targetPackage - the unique & original package name of the app
*android:action - the On click event of an app & it finds the activity of the app
*android:targetClass - the class which is called on calling Onclick action which opens the app when it is clicked
*android:title - the entry of the app in header & also in strings.xml
*android:icon - the icon which will be displayed for the app entry
Notes: android:targetClass, android:targetPackage & android:action can be found in AndroidManifest of the app. For some apps android:targetClass is not given directly. So it should be searched to find. I will tell you how to do that. android:title & android:icon can be written as per user.
As I explained a bit about the resources I will now move onto the main guide. I will take an app from playstore named "Rom Toolbox" as example & describe the ongoing process
i. 1st we need to decompile the Rom toolbox app & find the resources in AndroidManifest.xml
{
"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"
}
as we can see from the picture that I marked the android:targetPackage & android:targetClass. The target package is easy to find. Sometimes target class is also given directly. If it's not given directly like this app we will find it by searching for it in the lines which starts with <activity. Now if there's more than one activity search for the activity that matches with the target package to some extent. & one more thing I should make you clear about. In some apps you will find android:targetClass will just be a one word phrase. Like if we take Serajr's SystemUI Preference as example you will see that android:targetClass is ".SystemUIPreferencesActivity". In those cases we need to add the whole android:targetPackage before targetClass. For Serajr's SystemUI preference the android:targetPackage="com.serajr.systemui.preferences". So the android:targetClass="com.serajr.systemui.preferences.SystemUIPreferencesActivity".
So here for Rom Toolbox app we find
Code:
android:targetPackage="com.jrummy.liberty.toolbox"
android:targetClass="com.jrummy.apps.rom.toolbox.RomToolboxActivity"
android:action="android.intent.action.MAIN"
android:action doesn't always needed to be found, you can always use "android.intent.action.MAIN" as the on click event
ii. Now decompile Settings.xml & go to res\xml & open settings_header.xml with notepad++. Now chose a place where you want to make the entry. If we want to add the app under advanced settings then we need to create a header 1st. We also need to create an android:title & android:icon entry for the app. So this will be the entry in settings_header
Code:
</header>
<header android:title="@string/header_category_advanced" />
<header android:icon="@drawable/ic_settings_rom" android:title="@string/rom_toolbox">
<intent android:targetPackage="com.jrummy.liberty.toolbox" android:action="android.intent.action.MAIN" android:targetClass="com.jrummy.apps.rom.toolbox.RomToolboxActivity" />
The 1st header is for the advanced settings header. We need to make an entry of the same name in strings.xml.
The 2nd header is for the app & icon. We need to write the exact entry as title in strings.xml like I wrote "rom_toolbox". You can write anything as title just make sure it matches the app itself so that you can find it easily. So the settings_header will look like this
Now save it
iii. Now go to res\values & open strings.xml. We need to create two strings here. One for the advanced settings & another for the app. We already chose the string name for header as "header_category_advanced" & "rom_toolbox" for the Rom Toolbox app. So the entries in strings.xml will be
Code:
<string name="header_category_advanced">ADVANCED SETTINGS</string>
<string name="rom_toolbox">ROM Toolbox</string>
You can write anything where I wrote "ADVANCED SETTINGS" & "ROM Toolbox" It depends on you what you would like to see in settings as header.
So the strings.xml should be like this
Now save it.
iv. Now we need to place a png for the app in drawable folder with the name "ic_settings_rom" as it is given in the header of android:icon. Depending on your settings you either should have drawable hdpi or drawable mdpi folder. On my case I have drawable hdpi folder. 1st we need to look at the resolutions of the pngs which starts with ic_settings name. Well generally for drawable hdpi it is 48x48 & for drawable mdpi it is 32x32. So we need to resize the png in any of this resolutions depending on our drawable folder. You can take the png from the original app & resize it. In my case I resized it in 48x48 & placed it in drawable-hdpi folder.
v. Now you are ready to recompile again. Then try your newly modified settings. I will post a screenshot of mine
2. How to add options/apps in sub settings for example in display settings :
Here I will take On-screen-buttons app for an example in the ongoing process. We will add it in display_settings. Now, we need an extra resource called android:key when we want to add any app in sub settings. android:key is the keystore when the app is extracted using any app tool when created by the developer. As we cannot find the original android:key of the app, we will enter a value as android:key & give it's reference in the ids.xml
i. 1st decompile the On screen button app & search for resources in AndroidManifest.xml.
So we find android:targetPackage="cn.kyle.gn.NavBar" & as only one line here starts with <activity it is really easy to find android:targetClass="cn.kyle.gn.NavBar.GnNavBarActivity". android:action="com.android.intent.MAIN" even if it is not written in the manifest.
Now we need to make android:title which can be anything,we just need to refer it into strings.xml, android:key can be anything, we need to refer it in ids.xml & another entry is optional here which is android:summary which is the sub-header of the app. I give you my example what I have written as values of those resources
Code:
android:title="navienable_title"
android:key="on_screen"
android:summary="on_screen_summary"
Now as we fixed every resource & their values we will put the entry in res\xml in display_settings.xml. The entry will look like this
Code:
<PreferenceScreen android:title="@string/navienable_title" android:key="on_screen" android:summary="@string/on_screen_summary">
<intent android:targetPackage="cn.kyle.gn.NavBar" android:action="android.intent.action.MAIN" android:targetClass="cn.kyle.gn.NavBar.GnNavBarActivity" />
</PreferenceScreen>
The display_settings will look like this
Now save it
ii. Now go to res/values & open strings.xml. We need to make two entries here. One for the android:title="@string/navienable_title" & another for the android:summary="@string/on_screen_summary". Now we make the entries
Code:
<string name="navienable_title">On-Screen-Buttons</string>
<string name="on_screen_summary">Enable/Disable On-Screen-Buttons</string>
as I said before you can write anything inside >......</string> it depends on you what text you would like to be seen
The screenshot from strings.xml
Now save it.
iii. Now go to res\values\ids.xml & open it. We need to make an entry for the entry we made in display_settings as android:key. So the entry will be with the same value
Code:
<item type="id" name="on_screen">false</item>
So the ids.xml should be like this
Save it & recompile your edited Settings.apk. Here is a screenshot of the Settings I edited
2. How to add headers in Settings/about to display Developer Name & Rom Name :
i. Decompile Settings.apk & go to res\xml & open device_info_settings.xml. Now choose a place where you want to show your Rom Name & Developer name. The entries you need here are similar with the one's that already exist in the xml. So you can copy one line of entry & press enter then paste it & you can edit it to make the new entries. We need android:title & android:summary which will be shown in strings.xml. We need android:key which you can keep same as android:title to eliminate difficulties, but we don't need an entry in ids.xml this time as it is not an app for which we are making the entry for. Last of all we need a style entry which will be the same as others. So I will write my Rom name & developer name under Kernel_version entry here. The entries will be
Code:
<Preference android:title="@string/rom_header" android:key="rom_header" android:summary="@string/rom_name" style="?android:preferenceInformationStyle" />
<Preference android:title="@string/author_header" android:key="author_header" android:summary="@string/author_name" style="?android:preferenceInformationStyle" />
The device_info_settings.xml will look like this
Now save it.
ii. Now go to res\values\strings.xml to make the entries here. We need two entries for the Rom Name, one is for "@string/rom_header" & another for "@string/rom_name". Same we need for Devloper name, one entry for "@string/author_header" & another for "@string/author_name". So the entries will be
Code:
<string name="rom_header">Rom Name</string>
<string name="rom_name">X Rom</string>
<string name="author_header">Developed By</string>
<string name="author_name">Saqib Nazm</string>
I give my Rom name as "X Rom" for example. You can type anything as you like on rom_name & author_name
The strings.xml should look like this
Now save it & recompile. Enjoy your freshly made new Settings.apk. Here is a screenshot about how it looks
.........................................................................................................................................
At the end I want to say, I will try to explain it more by adding more examples so that you can add anything. Kindly give me credits for my work If it helps you in anyway possible. Like I am gonna give credits to those respective people for whom I could share this guide to you.
Credits:
Neroyoung - for always helping me & clearing my ideas
jerrytan93 - for helping me alot whenever I need him
gagan.u20 - for always saving me if I get stuck somewhere
singh_dd93 - for giving me a clear idea on some resources
sandy7 - who doesn't know his thread from where everyone can learn
Nice one.. now everyone can start to develop their own ROM..
jerrytan93 said:
Nice one.. now everyone can start to develop their own ROM..
Click to expand...
Click to collapse
hehe thanks man & your help is highly appreciated :good:
@saqib nazm
i think u should add this also
after adding an app to settings u dont want that app to show up on launcher ..
so u can hide it by editing Androidmanifest.xml
by delete the red marked line
Code:
<activity android:label="@string/app_name" android:name=".GalleryActivity" android:taskAffinity="android.task.pictures" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
[B][COLOR="red"]<category android:name="android.intent.category.LAUNCHER" />[/COLOR][/B]
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
sandy7 said:
@saqib nazm
i think u should add this also
after adding an app to settings u dont want that app to show up on launcher ..
so u can hide it by editing Androidmanifest.xml
by delete the red marked line
Code:
<activity android:label="@string/app_name" android:name=".GalleryActivity" android:taskAffinity="android.task.pictures" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
[B][COLOR="red"]<category android:name="android.intent.category.LAUNCHER" />[/COLOR][/B]
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
Click to expand...
Click to collapse
yeah sure I wanted to,but then thought it doesn't work for every app.like it gives fc on 1st case then if applied later it works Now as you wrote it in the 1st page I think I don't need to add it OP anymore if you change the title of your post :angel:
saqib nazm said:
yeah sure I wanted to,but then thought it doesn't work for every app.like it gives fc on 1st case then if applied later it works Now as you wrote it in the 1st page I think I don't need to add it OP anymore if you change the title of your post :angel:
Click to expand...
Click to collapse
It works for every app.
Just set it for the main activity from
Code:
<activity android:label="@string/app_name" android:name=".GalleryActivity" android:taskAffinity="android.task.pictures" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
to
Code:
<activity android:label="@string/app_name" android:name=".GalleryActivity" android:taskAffinity="android.task.pictures" android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.MULTIWINDOW_LAUNCHER" />
cheers,
jan+
jader13254 said:
It works for every app.
Just set it for the main activity from
cheers,
jan+
Click to expand...
Click to collapse
thanks jader :good: I didn't know that. So it's good to know that now from you
awesomeness.. people like you make people like us who are learning easy to understand things.. thanks bro..
Sent from my HTC Explorer A310e using xda app-developers app
Nice tutor m8 ! Thanx 4 ur aW£s0m€ work !!
Sent from my E15i using xda premium
how would i?
saqib nazm
Click to expand...
Click to collapse
how would i Add a another menu Below the Development menu , because i do want to Add a Credits menu
ps is it posible to add a rom control menu with the sony white balance app, navigation bar, font changer or/and a dpi changer
Envious_Data said:
how would i Add a another menu Below the Development menu , because i do want to Add a Credits menu
ps is it posible to add a rom control menu with the sony white balance app, navigation bar, font changer or/and a dpi changer
Click to expand...
Click to collapse
so you want to add a credit option in settings?& when you click on it what do you want it to do? sony white balance is not yet ported perfectly to our devices & also there is no font changer in our phone (or is it an app?) how to add dpi changer is given in other thread by sandy7.
I am trying to remove some items from settings on my Zelly Cream ROM. Now, I have deleted relevant info from settings_headers.xml and strings.xml, but, when I try to compile with apktool, it gives me an error (see attachment)
I wonder if you could help me. Thank you for your guide.
here
saqib nazm said:
so you want to add a credit option in settings?& when you click on it what do you want it to do? sony white balance is not yet ported perfectly to our devices & also there is no font changer in our phone (or is it an app?) how to add dpi changer is given in other thread by sandy7.
Click to expand...
Click to collapse
Credits > open up just like About Device menu
ROM controll > list of Things , dpi changer etc
other info > i dont mind apps that dont show up, so a dpi chaneger app that opens when clicked for example
important info > i admit i am still learning this
masteriori said:
I am trying to remove some items from settings on my Zelly Cream ROM. Now, I have deleted relevant info from settings_headers.xml and strings.xml, but, when I try to compile with apktool, it gives me an error (see attachment)
I wonder if you could help me. Thank you for your guide.
Click to expand...
Click to collapse
I think you need to update your aapt
Envious_Data said:
Credits > open up just like About Device menu
ROM controll > list of Things , dpi changer etc
other info > i dont mind apps that dont show up, so a dpi chaneger app that opens when clicked for example
important info > i admit i am still learning this
Click to expand...
Click to collapse
if you want to open a credits menu when clicking on it you need to write a whole new .xml file in the xml folder. & about the other rom control thing,you can just give your header & add the apps you want to add. Like the way is shown in the tutorial. Again if you want to open a sub menu when clicking on Rom control that will contain list of things like dpi changer you need to write a new xml file. So if you are willing to take so much let me know I will try to guide you though I haven't yet tried myself that way
saqib nazm said:
I think you need to update your aapt
Click to expand...
Click to collapse
What is an aapt? I don't have the SDK installed,using just apktool which I have been able to decompile APKs with. Also, I have been able to compile APKs using the same setup.
Thanks for your help
masteriori said:
What is an aapt? I don't have the SDK installed,using just apktool which I have been able to decompile APKs with. Also, I have been able to compile APKs using the same setup.
Thanks for your help
Click to expand...
Click to collapse
try with apk multi tool. & make sure you install the proper framework files first
example
could you give me a simplified example with coloured codes
red=changable
ps thank you
Envious_Data said:
could you give me a simplified example with coloured codes
red=changable
ps thank you
Click to expand...
Click to collapse
I will give you a conceptual idea about what I mean in some days,but I have to prepare that for you 1st.please be patient for some days as I am a bit busy with a rom update & everyday life.
Does it work to remove some items from settings??? I`m interested in it, too!
I´m a newbie so sorry for my stupid question:
What do i need exactly for using the apk multi-tool ? Which steps i have to make before i can adjust my settings ...
Thank you for help and patience with a newbie ...:good:
Hi, I want to ask about making sub menu. For example make power management menu, sub menu are battery, cpu control. How ?
Sent from my LT25i using xda premium
{
"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"
}
11-28-2014 NEW UPDATE RELEASE
WHAT IS NEW?
SETTINGS MOD
Lollipop Holo Blue themed colors, icons, headers, prepared to recieve CM themes
Advanced Menu Preferences with
CM Theme Chooser
Xposed Installler
Root Permissions
Launcher Settings
Refresh about settings informations
SYSTEMUI
New Toggle Buttons L BALLS Blue
Erase lines dividers and stats
Erase Toggle text
Reorder toogle buttons
Transparent headers
Transparent notifications
Text colors HOLO
StatusBar On close remake light theme
Mod Quick Panel Settings with Blue Balls
APPS & FEATURES
New Launcher Lollipop version 3.0 Beta Apex
Lollipop Keyboards
New Themes, icon Packs default
L Sounds
Lollipop Wallpapers
Frameworks MOD to recieve CM Themes on
Settings, AOSP lock, contacts, dialer and some UI
XPOSED
Any themes mods CM, TW native on theme chooser
AOSP Lockscreen
Advanced Power Menu
Android L and other themes
I was update some google apps like search, gmail, youtube
Mirror: Drive
Mirror: 4Shared
INSTALL INSTRUCTIONS
Read original Thread
Now let’s step by step installation
# Remembering that the option and responsibility to change the firmware of your mobile device/smartphone is exclusively your free choice, not being responsible for Universo Android, its representative and/or the Developer any damage which may perform or cause incorrect procedures or lack of knowledge. If you do not agree to the terms and conditions above or has no idea how to perform, please do not proceed
Prerequisites for installation
STOCK ROM BASEBAND BUBUANF1 or AndroWin Blue KK / White Installed
ROOT & CWM 6.0.4.5 installed
Supersu Installed
6 Class minimal SDCard by 8GB type)
RESUME STEPS on cwm 6.0.4.5
Transfer zips to sdcard and boot recovery
1- wipe data factory /reset
2- wipe cache particion
3- Wipe advanced dalvik
4- Install zip choose DroidWinKK_v2.zip
Resume next on Aroma
5- FIRST Reboot now
6- on setup use jump until load homescreen and power off device
7- Start boot on recovery again
DON'T WIPE
8- install zip choose Androwin package 2.0.zip
9- SECOND Reboot and enjoy L version
DROIDWIN PREFRENCES CONFIGURATION
THEME CHOOSER: Is important In Theme chooser setup, choice and apply on settings/style app " to 3 tab Menu " view, must be the only way to works this functionallity activity because was defined by me to work on SecSettings Menu function "Droidwin preferences Mode".
So if you like the CM Styles view, you must works opening HK.apk on drawer icon shortcut
XPOSED: Click on Xposed Installer Menu, install de framework , on mudules mark checbox to allow activation
XDAevDB Information
UniandroidMod, ROM for the Samsung Galaxy Grand Quattro
Enjoy !!
Contributors
mjraogr, serajr, For support Guides: On XML editons thanks to ocoot, On SystemUI editions thanks to joehanh88
Source Code: http://wp.me/p4JDOC-rv
Thanks To Mappz
Thanks To Andro Does
ROM OS Version: 4.1.x Jelly Bean
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Baseband BUBUANF1 - July 2014
Based On: TW Deodex with AOSP Mod
Version Information
Status: Stable
Current Stable Version: Androwin 1.0 Uninadr
Stable Release Date: 2014-11-05
Current Beta Version: AndroWin White
Beta Release Date: 2014-09-11
Created 2014-11-09
Last Updated 2014-11-30
mjraogr said:
11-28-2014 NEW UPDATE RELEASE
WHAT IS NEW?
SETTINGS MOD
Lollipop Holo Blue themed colors, icons, headers, prepared to recieve CM themes
Advanced Menu Preferences with
CM Theme Chooser
Xposed Installler
Root Permissions
Launcher Settings
Refresh about settings informations
SYSTEMUI
New Toggle Buttons L BALLS Blue
Erase lines dividers and stats
Erase Toggle text
Reorder toogle buttons
Transparent headers
Transparent notifications
Text colors HOLO
StatusBar On close remake light theme
Mod Quick Panel Settings with Blue Balls
APPS & FEATURES
New Launcher Lollipop version 3.0 Beta Apex
Lollipop Keyboards
New Themes, icon Packs default
L Sounds
Lollipop Wallpapers
Frameworks MOD to recieve CM Themes on
Settings, AOSP lock, contacts, dialer and some UI
XPOSED
Any themes mods CM, TW native on theme chooser
AOSP Lockscreen
Advanced Power Menu
Android L and other themes
I was update some google apps like search, gmail, youtube
Mirror: Drive
Mirror: 4Shared
INSTALL INSTRUCTIONS
Read original Thread
Now let’s step by step installation
# Remembering that the option and responsibility to change the firmware of your mobile device/smartphone is exclusively your free choice, not being responsible for Universo Android, its representative and/or the Developer any damage which may perform or cause incorrect procedures or lack of knowledge. If you do not agree to the terms and conditions above or has no idea how to perform, please do not proceed
Prerequisites for installation
STOCK ROM BASEBAND BUBUANF1 or AndroWin Blue KK / White Installed
ROOT & CWM 6.0.4.5 installed
Supersu Installed
6 Class minimal SDCard by 8GB type)
RESUME STEPS on cwm 6.0.4.5
Transfer zips to sdcard and boot recovery
1- wipe data factory /reset
2- wipe cache particion
3- Wipe advanced dalvik
4- Install zip choose DroidWinKK_v2.zip
Resume next on Aroma
5- FIRST Reboot now
6- on setup use jump until load homescreen and power off device
7- Start boot on recovery again
DON'T WIPE
8- install zip choose Androwin package 2.0.zip
9- SECOND Reboot and enjoy L version
DROIDWIN PREFRENCES CONFIGURATION
THEME CHOOSER: Is important In Theme chooser setup, choice and apply on settings/style app " to 3 tab Menu " view, must be the only way to works this functionallity activity because was defined by me to work on SecSettings Menu function "Droidwin preferences Mode".
So if you like the CM Styles view, you must works opening HK.apk on drawer icon shortcut
XPOSED: Click on Xposed Installer Menu, install de framework , on mudules mark checbox to allow activation
XDAevDB Information
UniandroidMod, ROM for the Samsung Galaxy Grand Quattro
Enjoy !!
Contributors
mjraogr, serajr, For support Guides: On XML editons thanks to ocoot, On SystemUI editions thanks to joehanh88
Source Code: http://wp.me/p4JDOC-rv
Thanks To Mappz
Thanks To Andro Does
ROM OS Version: 4.1.x Jelly Bean
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Baseband BUBUANF1 - July 2014
Based On: TW Deodex with AOSP Mod
Version Information
Status: Stable
Current Stable Version: Androwin 1.0 Uninadr
Stable Release Date: 2014-11-05
Current Beta Version: AndroWin White
Beta Release Date: 2014-09-11
Created 2014-11-09
Last Updated 2014-11-30
Click to expand...
Click to collapse
10x so much
manojkumar8552 said:
10x so much
Click to expand...
Click to collapse
Thank u @manojkumar8552
I'm studying and working to evolve more. I Learn a lot with yours knowledge , @serajr too and Jaspreet
Soon i ll up the V3 version, working hard to fix some modifications , even in difficulty soon get it to cover peoples that does not use sd card class 6
I am unifying root in the same flash, replace the deodex version to clean without Init.d and create 2 apps for each repository and another to call the activity of Phone AOSP , which in previous versions do with script shortcuts in the data folder
mjraogr said:
Thank u @manojkumar8552
I'm studying and working to evolve more. I Learn a lot with yours knowledge , @serajr too and Jaspreet
Soon i ll up the V3 version, working hard to fix some modifications , even in difficulty soon get it to cover peoples that does not use sd card class 6
I am unifying root in the same flash, replace the deodex version to clean without Init.d and create 2 apps for each repository and another to call the activity of Phone AOSP , which in previous versions do with script shortcuts in the data folder
Click to expand...
Click to collapse
try to make systemUI.apk like samsung touchwiz kitkat !!!
kitkat systemUI of touchwiz rom is slightly different than aosp in tinted status bar !!!
manojkumar8552 said:
try to make systemUI.apk like samsung touchwiz kitkat !!!
kitkat systemUI of touchwiz rom is slightly different than aosp in tinted status bar !!!
Click to expand...
Click to collapse
Yep
Exactly stoped on this point. I m did mod UI AOSP look with blue ball and my dificult was find location to change statusbar header color like i did on brightness background cause isn't bg or bg.9 images. and can't find xmls and smali position .
Time ago i was talk about it with @serajr to try find away and do it togheter. The toogles bg and settings btn bg i know how, but left black color, set as black with #ff000000 code on tw_statusbar_header_dual.xml
regards
MJ
mjraogr said:
Yep
Exactly stoped on this point. I m did mod UI AOSP look with blue ball and my dificult was find location to change statusbar header color like i did on brightness background cause isn't bg or bg.9 images. and can't find xmls and smali position .
Time ago i was talk about it with @serajr to try find away and do it togheter. The toogles bg and settings btn bg i know how, but left black color, set as black with #ff000000 code on tw_statusbar_header_dual.xml
regards
MJ
Click to expand...
Click to collapse
Hi bro... first of all, another awesome work from yours, congrats! :good:
Below is snippet from Blurred System UI xposed module in which it hooks initLayout method from QuickSettingButton.smali file.
PHP:
Class<?> QuickSettingButton = XposedHelpers.findClass("com.android.systemui.statusbar.policy.quicksetting.QuickSettingButton", Xposed.getXposedClassLoader());
try {
// samsung
// QuickSettingButton - método initLayout existe ?
Method initLayout = XposedHelpers.findMethodExact(QuickSettingButton, "initLayout", int.class, int.class, int.class, int.class, int.class, int.class, int.class);
XposedBridge.hookMethod(initLayout, new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
// seta o background
View view = (View) param.thisObject;
if (view != null)
view.setBackground(new ColorDrawable(Color.TRANSPARENT));
}
});
} catch (NoSuchMethodError e) {
e.printStackTrace();
}
I don't know if that helps you (I hope so), but it can be a clue where you need to take a look and apply your magic.
mjraogr said:
Yep
Exactly stoped on this point. I m did mod UI AOSP look with blue ball and my dificult was find location to change statusbar header color like i did on brightness background cause isn't bg or bg.9 images. and can't find xmls and smali position .
Time ago i was talk about it with @serajr to try find away and do it togheter. The toogles bg and settings btn bg i know how, but left black color, set as black with #ff000000 code on tw_statusbar_header_dual.xml
regards
MJ
Click to expand...
Click to collapse
i dnt hve much idea abt this.
otherwise i made one like this systemui.apk
http://forum.xda-developers.com/gal...osmic-rom-smooth-fast-stylish-kitkat-t2909037 :- Buddy See this rom ! looking cool. If You Can.Than Plz Try to Port this into 8552 or make it for quatrro.
its a just theming as i see !!
Best Of Luck.
serajr said:
Hi bro... first of all, another awesome work from yours, congrats! :good:
Below is snippet from Blurred System UI xposed module in which it hooks initLayout method from QuickSettingButton.smali file.
PHP:
Class QuickSettingButton = XposedHelpers.findClass("com.android.systemui.statusbar.policy.quicksetting.QuickSettingButton", Xposed.getXposedClassLoader());try {// samsung// QuickSettingButton - método initLayout existe ?Method initLayout = XposedHelpers.findMethodExact(QuickSettingButton, "initLayout", int.class, int.class, int.class, int.class, int.class, int.class, int.class);XposedBridge.hookMethod(initLayout, new XC_MethodHook() {@Override protected void afterHookedMethod(MethodHookParam param) throws Throwable {// seta o backgroundView view = (View) param.thisObject;if (view != null)view.setBackground(new ColorDrawable(Color.TRANSPARENT));}});} catch (NoSuchMethodError e) {e.printStackTrace();}
I don't know if that helps you (I hope so), but it can be a clue where you need to take a look and apply your magic.
Click to expand...
Click to collapse
Right BRO
Tks one more time
I 'll study and follow this to try , by the way yesterday i installed yours blurred module on xposed and work on my UI. The results its effect change until top toogles bg and the reduced transparence default.
MJ
Sent from my GT-I8552 using XDA Free mobile app
manojkumar8552 said:
i dnt hve much idea abt this.
otherwise i made one like this systemui.apk
http://forum.xda-developers.com/gal...osmic-rom-smooth-fast-stylish-kitkat-t2909037 :- Buddy See this rom ! looking cool. If You Can.Than Plz Try to Port this into 8552 or make it for quatrro.
its a just theming as i see !!
Best Of Luck.
Click to expand...
Click to collapse
@manojkumar8552
I want to try this...
Put the button with activity that calls the quick settins expanded.
I found this way putting lock screen and home button
Code hara74 quote
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
[COLOR="Cyan"] <com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
My idea is to replace the blue line with the command by calling the ActionMAIN, will it work,? (the doubt if it works Since I don't have the button registry smali files)
My sugestion.... Use the Id "back" to access my quick panel expanded activity
Replace first blue line to line below and on drawables.xml set png ic_quickpanel or just replace the ic_sysbar.. image
Code:
<[COLOR="Red"]com.mappz.quicksettings.ToggleServiceStarter[/COLOR] android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/[COLOR="Red"]ic_quickpanel[/COLOR]" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
mjraogr said:
@manojkumar8552
I want to try this...
Put the button with activity that calls the quick settins expanded.
I found this way putting lock screen and home button
Code hara74 quote
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
<com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Clock" android:textColor="#ffffffff" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:layout_marginTop="-3.0dip" android:singleLine="true" systemui:ampmSmall="true" />
<com.android.systemui.statusbar.policy.DateView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Date" android:textColor="#ffffffff" android:ellipsize="none" android:id="@id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="8.0dip" android:layout_marginRight="4.0dip" android:maxLines="2" />
<com.android.systemui.statusbar.RotationToggle android:id="@id/rotation_lock_button" android:visibility="gone" android:clickable="true" android:layout_width="32.0dip" android:layout_height="32.0dip" android:layout_margin="8.0dip" android:button="@drawable/ic_notify_rotation" android:contentDescription="@string/accessibility_rotation_lock_off" />
<Space android:layout_width="0.0dip" android:layout_height="0.0dip" android:layout_weight="1.0" />
[COLOR="Cyan"] <com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:paddingLeft="2.0dip" android:paddingRight="1.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_toLeftOf="@id/back" android:contentDescription="@string/accessibility_recent" systemui:keyCode="187" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />[/COLOR]
<ImageView android:layout_width="1.0dip" android:layout_height="25.0dip" android:layout_marginTop="7.0dip" android:layout_marginBottom="7.0dip" android:src="@drawable/tw_quick_panel_plnm_setting_dv" />
<RelativeLayout android:id="@id/settings_button" android:background="@drawable/tw_quick_panel_setting_button_bg" android:focusable="true" android:visibility="visible" android:layout_width="@dimen/status_bar_expanded_setting_width" android:layout_height="39.0dip">
<ImageView android:id="@id/settings_button_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/tw_quickpanel_icon_settings" android:scaleType="center" android:layout_centerHorizontal="true" android:layout_centerVertical="true" android:contentDescription="@string/accessibility_settings_button" />
</RelativeLayout>
</LinearLayout>
My idea is to replace the blue line with the command by calling the ActionMAIN, will it work,? (the doubt if it works Since I don't have the button registry smali files)
My sugestion.... Use the Id "back" to access my quick panel expanded activity
Replace first blue line to line below and on drawables.xml set png ic_quickpanel or just replace the ic_sysbar.. image
Code:
<[COLOR="Red"]com.mappz.quicksettings.ToggleServiceStarter[/COLOR] android:id="@id/back" android:paddingLeft="2.0dip" android:paddingRight="3.0dip" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/[COLOR="Red"]ic_quickpanel[/COLOR]" android:layout_toLeftOf="@id/settings_button" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
Click to expand...
Click to collapse
sry buddy.but i dont have idea much in applications.
i am going to learn All basic of apps and c prpgramming as exams over at 6th Jan.
will guide me for application.
with together we will make cool things soon :highfive:
No problem bro
Good luck to ur exams
MJ
Sent from my GT-I8552 using XDA Free mobile app
Droidwin update release - jun 2015
Droidwin update release - jun 2015
Hello people
This month , i ll update the DROIDWIN version for V3.2 5.0 Mod
News: This version come with Material Lollipop Theme like Droidwin v67 stuffs
Some features
New UI Design 5.0
New Dialer design
New framework design
New baseband
New enginnes
Waiting for it eagerly !!
Stylix said:
Waiting for it eagerly !!
Click to expand...
Click to collapse
oK @Stylix
I need to finish somethings but until next week is update
This is a UI design
Hello Guyz Long Time No mods Okay whats this guide U can Use my guide For Changing ur SystemUI(notif panel) bg to ur custom bg Sounds intrstng haha I was searching here and there Found 1guide but..Sorry to say That one not work with mine but should work with others So After some experiments I Had Done It Myself Thanks God for giving me life LoL :3
Requirements
-apktool
-notepad++
-brain.jar XD
-Decompile Ur SystemUI
-open res/layout ldpi/tw_status_bar_dual.xml
-find this line
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-now We Are going to modify this line
-Before
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-after
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/argha" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-What i have done here is
i just add this line
android:background="@drawable/argha"
-okay now save the line
-add a Png named argha
NOTE: U CAN USE ANY NAME FOR EXAMPLE SAMSUNG THEN ADD A PNG NAMED SAMSUNG
-it will me more good if ur noob in theming add the png in drawable folder or drawable ldpi
-recompile
-sign
-push
-reboot
Voila!!!!!! u have succesfully Changed the bg
@credits
@ShadeSK (Argha)
@Galaxy Star for inspiring me
Good tutorial
press thankks if you like my work
did u tried it??? if yes plz attach a Image So i can post on my thread
ShadeSK said:
did u tried it??? if yes plz attach a Image So i can post on my thread
Click to expand...
Click to collapse
I vl give a try tomorrow bro :good:
okay boss It will work 100%
Here's a ss from my trend?
Great
Good But
ShadeSK said:
Hello Guyz Long Time No mods Okay whats this guide U can Use my guide For Changing ur SystemUI(notif panel) bg to ur custom bg Sounds intrstng haha I was searching here and there Found 1guide but..Sorry to say That one not work with mine but should work with others So After some experiments I Had Done It Myself Thanks God for giving me life LoL :3
Requirements
-apktool
-notepad++
-brain.jar XD
-Decompile Ur SystemUI
-open res/layout ldpi/tw_status_bar_dual.xml
-find this line
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-now We Are going to modify this line
-Before
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-after
<FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/argha" android:layout_marginBottom="@dimen/tw_close_handle_underlap">
-What i have done here is
i just add this line
android:background="@drawable/argha"
-okay now save the line
-add a Png named argha
NOTE: U CAN USE ANY NAME FOR EXAMPLE SAMSUNG THEN ADD A PNG NAMED SAMSUNG
-it will me more good if ur noob in theming add the png in drawable folder or drawable ldpi
-recompile
-sign
-push
-reboot
Voila!!!!!! u have succesfully Changed the bg
@credits
@ShadeSK (Argha)
@Galaxy Star for inspiring me
Click to expand...
Click to collapse
Gravity Box Jb LAtest Version HAd THis Option.......And Also For Transperency...any How it is great....may be helpful for rom makers
Thanks Btw Its for Themers & rom makers only hehe
Haha..worked like charm for me...
bittooshubham said:
Haha..worked like charm for me...
Click to expand...
Click to collapse
Thanks for feedback
Sent from my MotoG3 using Tapatalk