[Tutorial]Lollipop style Notification Panel for ICS/JB Users - Android Software Development

Hello Guys,
In this tutorial I'm gonna describe you how to make your Notification panel Lollipop Style. I'll try to make it very simple and clear, and feel free to ask any questions.
Developers are free to use this tutorial to mod their Rom but do give me proper credits.
This is the first tutorial about making Notification panel Lollipop style without using Xposed/Modules. So,Copy-Paste is strictly prohibited.
Alright lets begin,
REQUIREMENTS​1. APK MultiTool to Decompile/compile Apks [ CLICK HERE FOR TUTORIAL ]
2. SystemUI.apk
3. Notepad+ for editing .xml files
4. akky_ltoggles.xml [File attached at the end of this tutorial]
4. Flashable zip or Root explorer to push the system apk
I'm not going to cover the part about how to Decompile/compile a system apk, a link to the tutorial by @Saqib Nazm about using APKMultiTool is already provided above
Alright Guys lets start :highfive:
STEP 1
Grab your SystemUI.apk and Decompile it.
STEP 2
Open SystemUI.apk/res/layout/tw_status_bar_expanded.xml with Notepad+
Find
Code:
[COLOR="Blue"]<com.android.systemui.statusbar.policy.ToggleSlider[/COLOR]
Before the end tag of this linear layout Just add the below code
Add
Code:
[COLOR="Red"]<include layout="@layout/akky_ltoggles" />[/COLOR]
So your final code for com.android.systemui.statusbar.policy.ToggleSlider will be
Code:
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="56.0dip">
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/brightness" android:layout_width="fill_parent" android:layout_height="55.0dip" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" />
[COLOR="Red"]<include layout="@layout/akky_ltoggles" />[/COLOR]
</LinearLayout>
It should look like this
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"
}
So, basically what we have done in the above steps is that we have commanded to add a new file for our lollipop style toggle.
STEP 3
Download akky_ltoggles.xml.
Open the folder SystemUI.apk/res/layout And simply paste akky_ltoggles.xml
STEP 4
Compile the SystemUI.apk
Put it into a flashable zip and flash it Or use a root explorer file manager to push it into your system apps.
DOWNLOAD : akky_ltoggles.xml
Note: It's tested on Samsung device. Try this at your own Risk. I'm not responsible for any abnormal behavior after doing the above steps.
SCREENSHOTS​
Before
After​

hi
what abt the smali edits
you mentioned .com.eboy......and .com.mda......smali
how is it possible to edit only xmls to get the above shown results?

pauldominik said:
hi
what abt the smali edits
you mentioned .com.eboy......and .com.mda......smali
how is it possible to edit only xmls to get the above shown results?
Click to expand...
Click to collapse
Try it buddy, if face any issue, report it here
That's what this tutorial is all about to get it in simple steps, unlike other tutorials

akky26 said:
Try it buddy, if face any issue, report it here
That's what this tutorial is all about to get it in simple steps, unlike other tutorials
Click to expand...
Click to collapse
ok
actly wen i chkd the xml , the two folders eboy and mda are mentioned..and i dont hav those folders inside my smali.com.android.
..chl i wll try it anyway

akky26 said:
Hello Guys,
In this tutorial I'm gonna describe you how to make your Notification panel Lollipop Style. I'll try to make it very simple and clear, and feel free to ask any questions.
Developers are free to use this tutorial to mod their Rom but do give me proper credits.
This is the first tutorial about making Notification panel Lollipop style without using Xposed/Modules. So,Copy-Paste is strictly prohibited.
Alright lets begin,
REQUIREMENTS​1. APK MultiTool to Decompile/compile Apks [ CLICK HERE FOR TUTORIAL ]
2. SystemUI.apk
3. Notepad+ for editing .xml files
4. akky_ltoggles.xml [File attached at the end of this tutorial]
4. Flashable zip or Root explorer to push the system apk
I'm not going to cover the part about how to Decompile/compile a system apk, a link to the tutorial by @Saqib Nazm about using APKMultiTool is already provided above
Alright Guys lets start :highfive:
STEP 1
Grab your SystemUI.apk and Decompile it.
STEP 2
Open SystemUI.apk/res/layout/tw_status_bar_expanded.xml with Notepad+
Find
Code:
[COLOR="Blue"]<com.android.systemui.statusbar.policy.ToggleSlider[/COLOR]
Before the end tag of this linear layout Just add the below code
Add
Code:
[COLOR="Red"]<include layout="@layout/akky_ltoggles" />[/COLOR]
So your final code for com.android.systemui.statusbar.policy.ToggleSlider will be
Code:
<LinearLayout android:orientation="vertical" android:id="@id/brightness_controller" android:background="#ff000000" android:layout_width="fill_parent" android:layout_height="56.0dip">
<com.android.systemui.statusbar.policy.ToggleSlider android:id="@id/brightness" android:layout_width="fill_parent" android:layout_height="55.0dip" />
<View android:background="#ff091a24" android:layout_width="fill_parent" android:layout_height="1.0dip" />
[COLOR="Red"]<include layout="@layout/akky_ltoggles" />[/COLOR]
</LinearLayout>
It should look like this
Screenshot​
So, basically what we have done in the above steps is that we have commanded to add a new file for our lollipop style toggle.
STEP 3
Download akky_ltoggles.xml.
Open the folder SystemUI.apk/res/layout And simply paste akky_ltoggles.xml
STEP 4
Compile the SystemUI.apk
Put it into a flashable zip and flash it Or use a root explorer file manager to push it into your system apps.
DOWNLOAD : akky_ltoggles.xml
Note: It's tested on Samsung device. Try this at your own Risk. I'm not responsible for any abnormal behavior after doing the above steps.
SCREENSHOTS​
Before
After​
Click to expand...
Click to collapse
bro im not able to recompile my apk its givin me a lot of errors can u help me ??
or can u do this for me if i give u my systemUI_ESS.apk and framework.res ??? my device doesnt have systemui.apk only systemUI_ESS.apk is there

I don't have the file tw_status_bar_expanded.xml
I don't have the file tw_status_bar_expanded.xml at the location SystemUI.apk/res/layout/tw_status_bar_expanded.xml
I followed all your steps but couldnt find a file named tw_status_bar_expanded.xml at the location specified. I only have a status_bar_expanded.xml file and I have uploaded a screenshot of all the files that start with "tw_" name.
I am using a Galaxy Note 3 10.1 (GT-N8000) Rooted using Kingo Root.
Please reply As Soon as possible.

hi
can anyone help me? I can't get through step 3:crying:
btw..... i'm just a kid:angel:

Boss can you please make me a lollipop system ui for my g360h
Sent from my SM-G360H using XDA-Developers mobile app

Is the reverse possible?
Is the reverse of this possible? KITKAT style notification drawer in lollipop 5.1.1 ?? I am running CM12.1 in my yu yureka plus ...

But why...
Sayak44 said:
Is the reverse of this possible? KITKAT style notification drawer in lollipop 5.1.1 ?? I am running CM12.1 in my yu yureka plus ...
Click to expand...
Click to collapse
I have no idea. btw, why would you even want to do that?

bricklol said:
I have no idea. btw, why would you even want to do that?
Click to expand...
Click to collapse
I like the KITKAT one better....

Well, that could come in handy.
Thanks

bricklol said:
I don't have the file tw_status_bar_expanded.xml at the location SystemUI.apk/res/layout/tw_status_bar_expanded.xml
I followed all your steps but couldnt find a file named tw_status_bar_expanded.xml at the location specified. I only have a status_bar_expanded.xml file and I have uploaded a screenshot of all the files that start with "tw_" name.
I am using a Galaxy Note 3 10.1 (GT-N8000) Rooted using Kingo Root.
Please reply As Soon as possible.
Click to expand...
Click to collapse
Edit the status_bar_expanded.xml, it should work.

I don't have a tw_status_bar_expanded.xml file but I do have a somc_status_bar_expanded.xml and tatus_bar_expanded.xml file, but neither of them have the code '<com.android.systemui.statusbar.policy.ToggleSlider' in them. Do I put the code in one of these files? If so, which file?
I have a Xperia Z1 Compact with kitkat 4.4.4 stock rom. If that helps.
Thanks
---------- Post added at 15:59 ---------- Previous post was at 15:55 ----------
bricklol said:
I don't have the file tw_status_bar_expanded.xml at the location SystemUI.apk/res/layout/tw_status_bar_expanded.xml
I followed all your steps but couldnt find a file named tw_status_bar_expanded.xml at the location specified. I only have a status_bar_expanded.xml file and I have uploaded a screenshot of all the files that start with "tw_" name.
I am using a Galaxy Note 3 10.1 (GT-N8000) Rooted using Kingo Root.
Please reply As Soon as possible.
Click to expand...
Click to collapse
Did you manage to get anywhere with this?
Thanks

Very helpful but when i try to open the xml files in N++ it looks different from your post
SS attached

NearDN said:
Very helpful but when i try to open the xml files in N++ it looks different from your post
SS attached
Click to expand...
Click to collapse
you should decompile it with apktool if you dont xml files doesn't opening
link is broken ?

Link not working
Link not working
fix it

Can't download akky_ltoggles.xml
I can't download akky_ltoggles.xml. could someone reupload it?

Related

[Tutorial] How to make Statusbar into transparent

Hi guys, I didn't see a thread for this, though this is not mine
I'm only sharing this with you guys
Credit: http://dadroidrd.blogspot.com
I just copied and pasted for your ease.
-----------------------------------------------------------------------------
Welcome back ..This time I'll make a tutorial about "how to make your statusbar transparent", there may be some of you already using it but whether you know how to make it? In this edition I will peel out heee ..
This tutorial can be used for any type of android version except for version 4.0.xx "icecreamsandwich"
Step 1
To practice his or her course we have the materials and ingredients that are SystemUI.apk that is in the rom you are using where is it?? Find in / system / app / SystemUI.apk using root explorer or ADB pull
Step 2
Put in place to modify SystemUI.apk APK read the tutorial "how to use apkmanager for beginners" to apkmanager us to understand when it's the next step
Step 3
- Select the apk antecedent modif SystemUI.apk
- Press 19 input numbers 1
- Press 20 input numbers 512
- Decompile apk
- Now go into the project folder here we will begin its tutorial
Step 4
Go to the project folder / SystemUI.apk / smali / com / android / systemui / statusbar / StatusBarService.smali
For more easy in its use was editing application "Notepad + +" (download your own)
StatusBarService.smali is now open with "Notepad + +" then look for this string
” const/4 v5, 0x2
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;->(IIIII)V”
Chose with
” const/4 v5, -0x3
invoke-direct/range {v0 .. v5}, Landroid/view/WindowManager$LayoutParams;->(IIIII)V”
like this picture
{
"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"
}
Step 5
find file Status_bar.xml in
projects / SysyemUI.apk / res / layout/Status_bar.xml open with “notepad++”
And find this string
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:id="@id/date" android:background="@drawable/statusbar_background" androidaddingLeft="6.0px" androidaddingRight="6.0px" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
Then Chose with this new strings
<com.android.systemui.statusbar.DateView android:textAppearance="@android:style/TextAppearance.StatusBar.Icon" android:gravity="center" android:id="@id/date" android:background="@drawable/statusbar_background2" androidaddingLeft="6.0px" androidaddingRight="6.0px" android:layout_width="fill_parent" android:layout_height="fill_parent" android:singleLine="true" />
Step 6
Then rename "statusbar_background.9.png" in projects/SytemUI.apk/drawable- (ldpi / mdpi / hdpi /) / statusbar_background.9.png be "statusbar_background2.9.png"
Then create a transparent icon with the same size as "statusbar_background2.9.png" then rename the icon that you have created such a "statusbar_background.9.png"
To more easily look this picture
then Compile apk (if you do not understand read the tutorial "how to use apkmanager for beginners")
go to folder keep deleted files (resources.arsc, clases.dex, statusbar.xml, and statusbar_background.9.png) then press enter on the CMD apkmanager.
***** If an error when compiling apk do it this way: look back to projects/SytemUI.apk/drawable- (ldpi / mdpi / hdpi /) / and then rename the "statusbar_background.9.png" to "statusbar_background.png" and rename " statusbar_background2.9.png "to" statusbar_background2.png "then compile again *****
Step 8
Take SystemUI.apk who have completed our last edit in the folder "place-apk-here-for-modding" on apkmanager with unsignedsystemui.apk name, then rename it to SystemUI.apk and it can be used to gadgets you.
Tips: how well it's good to use SystemUI.apk made into update.zip and flash through the recovery / CWMrecovery. But if you can not make update.zip please push SystemUI.apk it into / system / app / using root explorer, but this way is likely to lead to error
This tutorial is already proven and successful, but if something goes wrong then it is not the fault of this tutorial because this tutorial has been made with the best
wewww..nice info and long step
cool,do u know how can i change position of some icons on status bar? for example,battery moving to left,because i saw many roms did it,like joyos
snip3rb0y said:
cool,do u know how can i change position of some icons on status bar? for example,battery moving to left,because i saw many roms did it,like joyos
Click to expand...
Click to collapse
Edit framework-res.apk
"Don't judge a book by it's cover" - Unknown
Work on stock 2.1?
Wysyłane z mojego E15i za pomocą Tapatalk 2
adek89 said:
Work on stock 2.1?
Wysyłane z mojego E15i za pomocą Tapatalk 2
Click to expand...
Click to collapse
try and tell us :cyclops: :cyclops:
and op in step1 its "ADB" not "ABD"
adek89 said:
Work on stock 2.1?
Wysyłane z mojego E15i za pomocą Tapatalk 2
Click to expand...
Click to collapse
There is no systemUI. Apk in stock so can't
Sent from my E15i using Tapatalk 2
fotak-x;
and op in step1 its "ADB" not "ABD"[/QUOTE said:
Thanks for the correction, I didn't see it.
Sent from my E15i using Tapatalk 2
Click to expand...
Click to collapse
whew!
my guide is for ace I but lot easier
http://forum.xda-developers.com/showthread.php?t=2144911
Nabs Zains said:
whew!
my guide is for ace I but lot easier
http://forum.xda-developers.com/showthread.php?t=2144911
Click to expand...
Click to collapse
I can't find my SystemUI.apk in the location ( system/app). I have Android Xperia X8 E15i. Its rooted and I have my root explorer as well. But still I can't find my SystemUI.apk.
Ho'w that possible for me to make my status bar transparent for my phone?
Please help.
nucl9us1988 said:
I can't find my SystemUI.apk in the location ( system/app). I have Android Xperia X8 E15i. Its rooted and I have my root explorer as well. But still I can't find my SystemUI.apk.
Ho'w that possible for me to make my status bar transparent for my phone?
Please help.
Click to expand...
Click to collapse
are you on stock rom?
nucl9us1988 said:
I can't find my SystemUI.apk in the location ( system/app). I have Android Xperia X8 E15i. Its rooted and I have my root explorer as well. But still I can't find my SystemUI.apk.
Ho'w that possible for me to make my status bar transparent for my phone?
Please help.
Click to expand...
Click to collapse
This V V V V V V V
ScatteredHell said:
There is no systemUI. Apk in stock so can't
Sent from my E15i using Tapatalk 2
Click to expand...
Click to collapse
----------------------------------------------------------
"Life is nothing without freedom!"
nucl9us1988 said:
I can't find my SystemUI.apk in the location ( system/app). I have Android Xperia X8 E15i. Its rooted and I have my root explorer as well. But still I can't find my SystemUI.apk.
Ho'w that possible for me to make my status bar transparent for my phone?
Please help.
Click to expand...
Click to collapse
I doubt you are on stock app, you need a custom Tom to do this. Sorry bro
Sent from my SonyX8 using Tapatalk 2
ScatteredHell said:
I doubt you are on stock app, you need a custom Tom to do this. Sorry bro
Sent from my SonyX8 using Tapatalk 2
Click to expand...
Click to collapse
Hahaha.....
Custom tom
sent from my BEAST™ W8 Walkman™
Gogeta said:
Hahaha.....
Custom tom
sent from my BEAST™ W8 Walkman™
Click to expand...
Click to collapse
Mistakes happen
Sent from my SonyX8 using Tapatalk 2
No screenshots? what is the purpose of modify the status_bar.xml file?
I have done this without modify that file

[REQ]Jelly bean header/4.2.2 status bar guide for galaxy y s5360 (easier method)

After a week... i read, i learn, i try modding systemui with jelly header/4.2.2 status bar... but i go failed failed and failed.. got fc, status bar gone.. so i want to request more easier guide for making jelly header/4.2.2 status bar... please xda member.. guide me..
Guide 1
For my cm7 status bar I used
http://forum.xda-developers.com/showthread.php?t=1953934
although it should work on stock roms too
Follow guide 1 - its simple just requires add smali and line in status_bar_expanded where you want the header
The header will look like screenshot but without the brightness slider or icon and iv also modded the clear button too so you wont have that - will just be date and time
{
"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"
}
Guide 2
If you want to try something more complicated you can try the following and will look like
and you can add what you like to the second pannel - I made mine look like
Guide is http://forum.xda-developers.com/showthread.php?t=2315342
marcussmith2626 said:
For my cm7 status bar I used
http://forum.xda-developers.com/showthread.php?t=1953934
Click to expand...
Click to collapse
I will try it sir..
EpullSalvatrucha said:
I will try it sir..
Click to expand...
Click to collapse
I updated the post with more complicated guides for advanced stuff - gives second quick pannel but you can just have the header by itself if you want or do the entire guide for the quick pannel as well
marcussmith2626 said:
I updated the post with more complicated guides for advanced stuff - gives second quick pannel but you can just have the header by itself if you want or do the entire guide for the quick pannel as well
Click to expand...
Click to collapse
the guide said find this code:
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/carrier_label_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
but i cannot find in my statusbar expanded.xml...
EpullSalvatrucha said:
the guide said find this code:
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:id="@id/carrier_label_layout" android:layout_width="fill_parent" android:layout_height="wrap_content">
but i cannot find in my statusbar expanded.xml...
Click to expand...
Click to collapse
This is why you cant blindly follow guides - you must have some level of understanding and be able to adapt code to your needs
you can try just putting this
under
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
put
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
put the smali in the given location in the guide
dunno if it will work - if not follow the other more complicated guide for stock roms
without an understanding of what you are doing and how to fix any compiling errors and so on you will not succed - especially if you try guide 2 because you will get errors unless you manage to do everything perfect first time
marcussmith2626 said:
This is why you cant blindly follow guides - you must have some level of understanding and be able to adapt code to your needs
you can try just putting this
under
Code:
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
put
Code:
<LinearLayout android:gravity="center_vertical" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.StatusBarJellyHeaderView android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
put the smali in the given location in the guide
dunno if it will work - if not follow the other more complicated guide for stock roms
without an understanding of what you are doing and how to fix any compiling errors and so on you will not succed - especially if you try guide 2 because you will get errors unless you manage to do everything perfect first time
Click to expand...
Click to collapse
wait... i try..
marcussmith2626 said:
without an understanding of what you are doing and how to fix any compiling errors and so on you will not succed - especially if you try guide 2 because you will get errors unless you manage to do everything perfect first time
Click to expand...
Click to collapse
Working perfectly sir!! sir.. my flashlight not working even i edit the androidmanifest.xml in systemui and sign it.. can help me sir?
EpullSalvatrucha said:
Working perfectly sir!! sir.. my flashlight not working even i edit the androidmanifest.xml in systemui and sign it.. can help me sir?
Click to expand...
Click to collapse
in androidmanifest.xml
above
Code:
</application>
put
Code:
<activity android:theme="@*android:style/Theme.NoTitleBar.Fullscreen" android:name="com.lidroid.systemui.quickpanel.FlashlightActivity" android:clearTaskOnLaunch="true" android:launchMode="singleTask" android:configChanges="keyboardHidden|orientation" />
unzip the attchment and put the smai in smali/com/lidroid/systemui/quickpanel although backup the ones that are already there incase you need to replace them if they are different
sign once recompiled with zipsigner you can get from playstore - use either a testkey or platform key
marcussmith2626 said:
sign once recompiled with zipsigner you can get from playstore - use either a testkey or platform key
Click to expand...
Click to collapse
owh there is smali file? i think just edit the androidmanifest.xml only.. i will try it.. sir.. i want to put app in settings.apk and in the same time i want to hide the app from drawer(like hyperion).. the app is Quickpanelsettings.apk.. how to do it sir?
EpullSalvatrucha said:
owh there is smali file? i think just edit the androidmanifest.xml only.. i will try it.. sir.. i want to put app in settings.apk and in the same time i want to hide the app from drawer(like hyperion).. the app is Quickpanelsettings.apk.. how to do it sir?
Click to expand...
Click to collapse
you should already have the smali if you have lidroid - I was just providing it as a reference if you dont or its different
search for a guide - I cant spoon food you everything - You will have to learn to search and do things yourself - sorry
As a clue - you remove a line from the app you want to hide in androidmanifest.xml and you add some lines into settings apk in xml/settings.xml
marcussmith2626 said:
you should already have the smali if you have lidroid - I was just providing it as a reference if you dont or its different
search for a guide - I cant spoon food you everything - You will have to learn to search and do things yourself - sorry
As a clue - you remove a line from the app you want to hide in androidmanifest.xml and you add some lines into settings apk in xml/settings.xml
Click to expand...
Click to collapse
i understand sir... i will try it...
marcussmith2626 said:
you should already have the smali if you have lidroid - I was just providing it as a reference if you dont or its..
Click to expand...
Click to collapse
Flashlight still not working..
EpullSalvatrucha said:
Flashlight still not working..
Click to expand...
Click to collapse
I would say logcat and solve the error but since you dont have much knowledge I would just download a flashlight app from the playstore
marcussmith2626 said:
I would say logcat and solve the error but since you dont have much knowledge I would just download a flashlight app from the playstore
Click to expand...
Click to collapse
i will try logcat.. but my terminal emulator not working.. i open the app and got something like fc..

[Guide]Theme your framework-res to Xperia style for all [Just copy and past ;)]

Hi all, here's how to theme you framework-res to looks like an Xperia device.
Your devices must be running any rom with android 4.4.#
Maybe it will work on another android versions. If you would like test it change "values-19" to values-"your api level"".
You can check it for some devices here:
Xperia 2011 devices: http://forum.xda-developers.com/showthread.php?t=2724091
Galaxy W: http://forum.xda-developers.com/showthread.php?t=2761964
Moto G: http://forum.xda-developers.com/moto-g/themes-apps/xperia-framework-res-motog-4-4-4-t2841985
Xperia V: http://forum.xda-developers.com/xperia-t-v/themes-apps/xperia-framework-res-cm11-cm-11-t2830401
Requirements:
APK Tool. I recommend you to use VTS
The Guide:
Get your framework-res.apk from /system/framework/ and decompile it.
Delete "drawable-mdpi", "drawable-hdpi", "drawable-xhdpi" and "drawable-xxhdpi" from /res.
Download my resources zip and extract it.
Copy all resources to /res folder and replace.
Recompile.
Make a flashable zip and flash it.
Wipe catch and dalvik catch and reboot.
Enjoy
If you're running CM11 with last theme engine flash THIS ZIP so you can get all Xperia themes.
If you done this or used any of my resources please add my name to you post.
Excellent :good:
cm11 hammerhead http://www.cmxlog.com/11/hammerhead/
great news over here!!!!
it will work here - http://forum.xda-developers.com/xperia-z1/orig-development/rom-aospal-4-4x-t2826701 -??? i'd love to use this framework on this rom!!! =)
cheers =)
This is the framework from stock Rom nexus 5. Hope it can be converted with your method.
Thank you very much in advantage!!!
naheel azawy said:
The easy way: Write a post here with a link of the Rom you're using or only attach framework-res.apk from /system/framework/ and I'll make it for you......
Click to expand...
Click to collapse
too bad this is only for kitkat 4.4.x.
if you make this possible for jellybean 4.2.x, please take a look at this:
device: xolo q3000
rom: stock deodexed jb 4.2.1
will post framework-res.apk later.
:good: Great work, mate!
Please, can you transform the framework from " GOOGLE EDITION 4.4.4 by Danvdh, Kryten2k35 & Ktoonsez"
http://forum.xda-developers.com/showthread.php?p=47755873 too?
Framework: http://mir.cr/MS4P1OYW or below :good:
Thanks in advance,
Regards
This is awensome man i completly love it !!!!!4
I tryed with the second method but i didn't suceesed...:/ So i am here to ask you to please convert the latest Mahdi rom( Nexus 5 ) freamwork for me
I also attach the apk
Thank you so much !! )
What to do with these type of errors? I have highlighted the error in the screenshot below !
{
"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"
}
Pease find framework file for at&t s3 from cm nightly
Even if it is for AOSP I would like to test it for my signature project, thx for your support and great idea :good:
framework-res.apk
Very nice, though I was thinking to flash FreeXperia to my Xperia Z. LOL
I am using the MTK 6582 kitkat rom, the pics of which are found here
and framework file is attached to the post. please help me.
Request
I was searching for this from a long time... now I found It :fingers-crossed:
ROM : Paranoid Android 4.45, Android version 4.4.4
Device : Galaxy S Advance or S2 lite
ROM Link : http://forum.xda-developers.com/showthread.php?t=2593631
Framework-res apk is attached
Please Make it fast... Dont take me wrong, I'm just Requesting
if have time..att s3 i747...QUANTUM 3.54 (4.4.2)(build date 03-07-14)
http://d-h.st/Ous
thank you for this.
:good:
err on the side of kindness
It's Basically for CM11 And Pure AOSP(maybe) not for Other Custom Roms
ok. thanks for reply.
maybe will flip to CM11.
err on the side of kindness
Huh, so it does not with stock g3?
naheel azawy said:
Hi all, here's how to theme you framework-res to looks like an Xperia device.
Your devices must be running an AOSP Rom or based on AOSP Rom with android 4.4.x
It will fits great on CM11 too.
You can check it for some devices here:
Xperia 2011 devices: http://forum.xda-developers.com/showthread.php?t=2724091
Galaxy W: http://forum.xda-developers.com/showthread.php?t=2761964
Moto G: http://forum.xda-developers.com/moto-g/themes-apps/xperia-framework-res-motog-4-4-4-t2841985
Xperia V: http://forum.xda-developers.com/xperia-t-v/themes-apps/xperia-framework-res-cm11-cm-11-t2830401
Requirements:
APK Tool. I recommend you to use VTS
Text editor like Notepad++
The easy way:
Write a post here with a link of the Rom you're using or only attach framework-res.apk from /system/framework/ and I'll make it for you
The other way:
Get your framework-res.apk from /system/framework/ and decompile it.
Make a copy of "res" folder anywhere you can remember so we can use it as a backup in next steps.
Delete "drawable-mdpi" and drawable-xhdpi" from /res if you have them.
Download my resources zip and extract it.
You can delete some useless drawables up to your device. It's optional and you can jump to next step:
mdpi devices: keep drawable-mdpi and drawable-hdpi and delete drawable-xhdpi and drawable-xxhdpi
hdpi devices: keep drawable-hdpi and delete drawable-mdpi, drawable-xhdpi and drawable-xxhdpi
xhdpi devices: keep drawable-xhdpi and drawable-xxhdpi and delete drawable-mdpi and drawable-hdpi
xxhdpi devices: keep drawable-xxhdpi and delete drawable-mdpi, drawable-hdpi and drawable-xhdpi
Copy the resources inside the extracted folder to /res on the framework which you've just decompiled.
Recompile your framework.
At most you'll get some errors. If recompiled successfully jump to step 17
The errors will be at most around public.xml talking about styles. If there's any other error tell me.
Read the error and it will say that an style in public.xml isn't available and it will give you the line number.
Open public.xml from /res/values/ and go to that line.
Copy the name of that style.
Go back to the old res folder that you've copied in step 2 and open styles.xml from /res/values/
Press Ctrl + F and past the name of that missing style.
Find it and copy it to the new styles.xml.
Recompile and every thing should be OK. If not tell me.
Make a flashable zip or use aroma file manager to copy it to your phone's /system/framework/
Wipe catch and dalvik catch and reboot.
If your device can't boot then you need to format /data (factory reset)
Having any other problems? tell me. Everything is great? Hit thanks and enjoy
If you done this or used any of my resources please add my name to you post.
Click to expand...
Click to collapse
Many thanks,
I just ported to my MTK5692 Kitkat device. everything work well !
Im using xperia sp running on PAC Rom.Theme it for me please because when i did it it gave me errors.

[TUT] [4.1+] Change Your Sony Xperia Device’s UI

{
"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"
}
Hey Xda,
This is my first tutorial
SystemUI
Add gradient effect:
- Decompile SystemUI
- go in res/drawable and paste this file in the archive View attachment gradient_bg.rar
- Now go in res / layout and open status_bar.xml
- looking for " android: background = " and change how it is in the picture.
- now recompile SystemUI and enjoy the gradient effect
Screenshot:
Move the toggle under clock
- Decompile SystemUI
- Go in res/layout and open status Status_bar_expanded_header.xml
- search:
Code:
<LinearLayout android:id="@id/tools_row_0" android:background="@drawable/statusbar_tools_button_frame_top" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_tools_row_height" />
<LinearLayout android:id="@id/tools_row_1" android:background="@drawable/statusbar_tools_button_frame_bottom" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_tools_row_height" />
<View android:id="@id/statusbar_hr" android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_divider_height" />
Move this code in below:
Code:
<LinearLayout android:id="@id/tools_row_0" android:background="@drawable/statusbar_tools_button_frame_top" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_tools_row_height" />
<LinearLayout android:id="@id/tools_row_1" android:background="@drawable/statusbar_tools_button_frame_bottom" android:paddingTop="1.0dip" android:paddingBottom="1.0dip" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_tools_row_height" />
<View android:id="@id/statusbar_hr" android:background="@drawable/status_bar_hr" android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_divider_height" />
- Now change some "android:background=" you look like in screenshot:
Recompile SystemUI and enjoy.
Screenshot:
Before:
After:
Settings
Change separator background:
- Decompile Settings.apk
- Go in res/drawable and paste this file in the arhive View attachment list_separator_background.rar
- now go in res/values and open styles.xml
- search ListSeparator
- Now change "<item name="android:textColor">" and <item name="android:background"> you look like in screenshot:
Screenshot:
Before:
After:
Sorry this is my first tutorial
Reserved
reserved for features..
Hohoho really great tutorial. Everything's explained clearly.
If this is your first tut, I can't wait to see your next one
-woczarder- said:
Hohoho really great tutorial. Everything's explained clearly.
If this is your first tut, I can't wait to see your next one
Click to expand...
Click to collapse
Thanks bro and sorry for my bad english ..
Nice tut bro for new comers etc
so they can do stuff and mod on thier own :good:
Nice tut
Pandemic said:
Nice tut bro for new comers etc
so they can do stuff and mod on thier own :good:
Click to expand...
Click to collapse
@DanielFlorin
Nice tutorial bro.
but in the second screenshot i saw something transformed in framework (Round Switches)
you should also add this to the tutorial (How to change the text in the switches)
Decompile framework-res.apk
res/values/strings
somb_btn_off (i remember) change it to O
somc_btn_on (i remember) change it to I
:good: :good: :highfive:
Eliminator79 said:
@DanielFlorin
Nice tutorial bro.
but in the second screenshot i saw something transformed in framework (Round Switches)
you should also add this to the tutorial (How to change the text in the switches)
Decompile framework-res.apk
res/values/strings
somb_btn_off (i remember) change it to O
somc_btn_on (i remember) change it to I
:good: :good: :highfive:
Click to expand...
Click to collapse
see here's the link!
http://forum.xda-developers.com/crossdevice-dev/sony/guide-adding-off-buttons-rom-t2835179
---------- Post added at 05:25 PM ---------- Previous post was at 05:09 PM ----------
Cool tut :good:
Nice TUT!
Keepup!
Xperia™ Z (C6602) with Tapatalk.
Nice...:fingers-crossed:
Hey Xda said:
Awesome Bro!
Thanks
And congratz to be featured on Potal :victory: :good:
Here is the page you're featured on : SystemUI, Settings small mods guide thread.
Click to expand...
Click to collapse
Thanks very much
I saw this thread on the italian website HDBlog!
Congrats
Great work mate.
It got featured on portal as well. (Y)
Expect more works from you.
A very concise and easy to understand tutorial...good work! :highfive:
does this also put gradient on the Nav Bar?
EDIT: It doesn't work on Xperia C. I did it clean.
Ok thanks. My phone xperia s work?? And where apk? I can't apktool edit
yakupTR said:
Ok thanks. My phone xperia s work?? And where apk? I can't apktool edit
Click to expand...
Click to collapse
come on @yakupTR
where the apk is?
your OWN SystemUI you need to edit and this is a TUTORIAL howto do it !
You cant? just try and dont say immidiatly: I CANT !
@DanielFlorin: Great tutorial!
Can you create a tutorial for add the toggles?
Thanks in advance.
@DanielFlorin
I can't see values folder in my settings
I'm on Xperia L stock 4.2.2
Rudram Sharma said:
I can't see values folder in my settings
Click to expand...
Click to collapse
You need to decompile it first.

[Tutorial] Customize Ultra Stamina Mode

In The Name of GOD​
Hi EveryOne ​
Here's a Tutorial on How to Customize Ultra Stamina Mode!
{
"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"
}
Requirements:
1.USMHome.apk
2.SuperStamina.apk
3.Notepad++ or any Editor
4.Apktool to Decompile apk
5.A Brain!
Introduction:
in order to change and customize ultra stamina mode you need two main apk: "USMHome.apk" & "SuperStamina.apk"
USMHome.apk is launcher and setting page but SuperStamina.apk control apps in ultra stamina mode
you can find both of them in System/app
Add & Remove app From Launcher:
1.Decompile "SuperStamina.apk"
2.Open res/xml/usm_packages.xml
you can see lots of code but i will explane each one them:
Code:
<package name="com.android.wallpaper" />
this code means you can't access Wallpaper App in Ultra Stamina
Code:
<package name="com.sonymobile.moviecreator" authorizedActivitiesByDefault="true"
this code means you can't see Movie Creator icon app in launcher but you can run it
Code:
<package name="com.android.calendar" authorizedActivitiesByDefault="true">
<launchable-activity name=".LaunchActivity" priority="50" />
</package>
this code means you can see Calendar icon app in launcher and you can run it
Code:
<package name="com.sonyericsson.music">
<authorized-activity name=".picker.MusicPickerActivity" />
</package>
this code means you can run Walkman app but just you can play music with it and other Activities are disable
Code:
<package name="com.android.systemui" authorizedActivitiesByDefault="true">
<unauthorized-activity name=".recent.RecentsActivity" />
</package>
this code means SystemUI is lunchable but you can't access Recent Button
so all you need to do is follow these patterns and you can do want you want!!!
3. i will show you some examples
for example the main code of Movies app is
Code:
<package name="com.sonyericsson.video" />
it means the app is disabled in Ultra Stamina mode but we are going to Change it
how about adding it to launcher?
all you need to do is replace this code with previews one
Code:
<package name="com.sonyericsson.video" authorizedActivitiesByDefault="true">
<launchable-activity name=".browser.BrowserActivity" priority="110" />
</package>
I'm going to explane these codes but first lets add another app
4. lets add MXPlayer to ultra Stamina Launcher
first of all add these codes
Code:
<package name="com.mxtech.videoplayer.ad" authorizedActivitiesByDefault="true">
<launchable-activity name=".ActivityMediaList" priority="120" />
</package>
name="com.mxtech.videoplayer.ad" it's package name of application
name=".ActivityMediaList" it's main Activity (main page of MXPlayer)
authorizedActivitiesByDefault="true" it means that your application can run in Ultra Stamina
<launchable-activity it means that this activity can run but if you use <unlaunchable-activity it won't let that Activity run
priority="110" i didn't understand it well but stock numbers are till 100 and you have to add it 10------so next number is 110 and then 120 and so on....!!! (if "X" app is 110 and "Y" app is 120 so in launcher first show "X" and then "Y")
5. i told you how to add app in launcher but if you want to add lots of app i recommend you to add them n Setting
first of all you need to introduce app to Ultra stamina with step 3 and 4 but like this pattern
Code:
<package name="[B]com.sonyericsson.advancedwidget.clock[/B]" authorizedActivitiesByDefault="true" />
so all you need is app package name that you can find it with MOD EDIT Rule 6 @gregbradley
after you introduce app you need to add app in setting menu
follow this ------------------>TUT<---------------------
6. now you should know how to remove app from launcher or don't let app to run in ultra stamina mode
first of all read step 2 again. you can see the patterns but i show you with some examples!!!
here I'm going to remove camera from launcher:
the main code is:
Code:
<package name="com.sonyericsson.android.camera" authorizedActivitiesByDefault="true">
<launchable-activity name=".CameraActivity" priority="30" />
</package>
you just need to change the code like this:
Code:
<package name="com.sonyericsson.android.camera" authorizedActivitiesByDefault="true" />
but if you want to kill any Activity you must change it to:
Code:
<package name="com.sonyericsson.android.camera" />
Hit Thanks if you find it helpful :good:​
Change Lock Screen and Desktop Wallpaper:
1.Decompile "SuperStamina.apk"
2.Go to res Folder
depend on your Phone DPI and Res
Change the Pictures in these Folders:
480 x 854---------------------------------->drawable-sw320dp-hdpi
720 x 1280---------------------------------->drawable-sw360dp-xhdpi
1080 x 1920--------------------------------->drawable-sw360dp-xxhdpi​
Add section to Setting:
1.Decompile "USMHome.apk"
2.Open res/xml/settings_headers.xml
3. in this example I'm going to add Developement Setting to Ultra Stamina Setting
first add this code
Code:
<header android:id="@id/development_settings" android:title="@string/development_settings_title" android:icon="@drawable/ic_settings_development" >
<intent android:targetPackage="com.android.settings" android:targetClass="com.android.settings.DevelopmentSettings" />
</header>
android:id="@id/development_settings": Open res/values/ids.xml and add this code
Code:
<item type="id" name="development_settings">false</item>
android:title="@string/development_settings_title": Open strings.xml and add this code
<string name="development_settings_title">Development Settings</string>
android:icon="@drawable/ic_settings_development": set the logo that is going to display in Setting
drawable-hdpi---------------------------------->48*48 Pixels
drawable-mdpi---------------------------------->32*32 Pixels
drawable-xhdpi--------------------------------->64*64 Pixels
drawable-xxhdpi-------------------------------->96*96 Pixels​
targetPackage="com.android.settings": this code shows that the Activity That we want is in setting Apk
android:targetClass="com.android.settings.DevelopmentSettings": the Activity that we want to run when we touch it in setting
you can find this in Settings.apk/res/xml/settings_headers.xml
you just need find the option that you are going to add and find the code in android:fragment then copy it to above code.
Adding Toggles to StatusBar:
1.Decompile "SuperStamina.apk"
2.Open res/values/arrays.xml
3.Find this code
Code:
<string-array name="usm_allowed_quick_settings">
<item>autorotate</item>
<item>brightness</item>
<item>sound</item>
<item>bluetooth</item>
</string-array>
3.now you can add Flashlight toggle by adding this code
<item>flashlight</item>
Hit Thanks if you find it helpful :good:​
If you have idea or you can help me to improve the TUT say it!!!
i hope you enjoy it :good:
Is this USMHome.apk and SuperStamina.apk mod available/ported for XZR stock 4.4.4?
sourabhp said:
Is this USMHome.apk and SuperStamina.apk mod available/ported for XZR stock 4.4.4?
Click to expand...
Click to collapse
i don't know but if someone ported it so it got to be in one of your custom roms
There was a little mistake in Tutorial
so
Tutorial Updated
Sorry Guys
OMG :fingers-crossed::fingers-crossed::fingers-crossed:
Awesome Tutorial.We can see it in Xda News Portal.Thanks:good::good::good:
excellent!!
gamzekal said:
OMG :fingers-crossed::fingers-crossed::fingers-crossed:
Awesome Tutorial.We can see it in Xda News Portal.Thanks:good::good::good:
Click to expand...
Click to collapse
sh4d1t0 said:
excellent!!
Click to expand...
Click to collapse
URW
thanks for your support
Xposed-able?
Any chance something like this could be done with an xposed mod? As an example, you could use the mod to swap out apps of your choosing. I'm not a dev, but just curious of this was possible for someone far smarter than I.
craigeryjohn said:
Any chance something like this could be done with an xposed mod? As an example, you could use the mod to swap out apps of your choosing. I'm not a dev, but just curious of this was possible for someone far smarter than I.
Click to expand...
Click to collapse
i didn't create any xposed mod so it's better to ask someone that knows this stuff
is possible add whatsapp??
gioiellino said:
is possible add whatsapp??
Click to expand...
Click to collapse
yes it is
but i tried to add wifi and i failed
i add it to setting and set all permission but couldn't turn it on
only with wifi super stamina work... or with mobile data too?
gioiellino said:
only with wifi super stamina work... or with mobile data too?
Click to expand...
Click to collapse
ops
i forgot!!!!
yep you are right
mobile data works in Ultra stamina
How you make temperature on statusbar?
-Mr.freeze- said:
How you make temperature on statusbar?
Click to expand...
Click to collapse
I'm using "Coolify"
SamadiPour said:
I'm using "Coolify"
Click to expand...
Click to collapse
HI... i have question =) ?
Is it possible to mod the USMHome.apk to be regular launcher =) (love that there is not app drawer)???
nomaj said:
HI... i have question =) ?
Is it possible to mod the USMHome.apk to be regular launcher =) (love that there is not app drawer)???
Click to expand...
Click to collapse
I replied you in other thread
nomaj said:
HI... i have question =) ?
Is it possible to mod the USMHome.apk to be regular launcher =) (love that there is not app drawer)???
Click to expand...
Click to collapse
Why don't you use Solo Launcher or MiUi Launcher?

Categories

Resources