[GUIDE][GB] Swipe Recent Apps (UPDATE! NOOB-FRIENDLY!) - Galaxy Y GT-S5360 General

Swipe to kill recent Apps​
{
"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"
}
***Thread Revamped***
What's Hot?
-Easy and noob friendly thread. Thanks to sir @SpaceCaker, no-ids method
-Added Flag: FLAG_SHOW_WALLPAPER (Like on JB)
-Relayout appsview_item, (JB-look)
-added click-change color (See screenshot)
-transparent list selector, when clicking.
-Kills everybody except com.android.stk (Sim toolkit) because it restarts the signals
-automatically dismisses the recent lists when you swipe it all or you click on the outside
of listview.
What's Not?
-A little bit laggy when swiping (it's only little, trust me.)
-Fast swiping may cause autoreboot (IndexOutOfBoundsException)
-It just kills the app, but it doesn't remove it from recent lists. It means that if you reopen
the recent lists, the apps that has been swiped will show again. (GB limitations </3)
-no app screenshot
Video (OUTDATED):http://www.youtube.com/watch?v=iQGq3XhWkQE
Click to expand...
Click to collapse
Things you need:
Just be yourself. HAHA. xD I know it's very short now. As in very very short. That ids method from sir SpaceCaker was very helpful on cleaning my guide
Steps
1.) decompile android.policy.jar.
2.) download policy_swipe.zip on attachment and extract it on smali/com folder.
3.) recompile your android.policy.jar
4.) decompile framework-res.apk
5.) download framework_swipe.zip and extract it on res folder
6.) go to res/values/ids.xml and add this before </resources>:
LOOK LIKE THIS:
Click to expand...
Click to collapse
Code:
<item type="id" name="ll">false</item>
<item type="id" name="iVIcon">false</item>
<item type="id" name="tVName">false</item>
<item type="id" name="mainlayout">false</item>
<item type="id" name="swiperecent">false</item>
<item type="id" name="taskman">false</item>
<item type="id" name="noapps">false</item>
</resources>
7.) Save. Now open res/values/drawables.xml and add this before </resources>
LOOK LIKE THIS:
Click to expand...
Click to collapse
Code:
<item type="drawable" name="normal">#ffe1e1e1</item>
<item type="drawable" name="pressed">#bbe1e1e1</item>
</resources>
8.) Save and recompile all and flash it (Dont push!). If it works, Jump! if not, post a logcat so we can easily track the bug.
Sources
Github Swipe Recent Apps
Credits
Roman [email protected]
[email protected]
NineOldAndroids
StackoverFlow.com
@SpaceCaker
@PineappleOwl
@mariozawa
Lenox Devs
Potato Inc​

Help
For those who want to change the intent of task manager and also if the task manager button is not working:
Open RecentApplicationsDialog$2.smali and go to .line 86:
You will find this:
Code:
.line 86
.local v1, i:Landroid/content/Intent;
new-instance v2, Landroid/content/ComponentName;
const-string v3, "com.sec.android.app.controlpanel"
const-string v4, "com.sec.android.app.controlpanel.activity.JobManagerActivity"
This is the target package:
Click to expand...
Click to collapse
Code:
com.sec.android.app.controlpanel
Change this to:
Click to expand...
Click to collapse
Code:
com.android.settings
After that, Change also this, This is the target class:
Click to expand...
Click to collapse
Code:
com.sec.android.app.controlpanel.activity.JobManagerActivity
To this:
Click to expand...
Click to collapse
Code:
"com.android.settings.RunningServices"
IT WILL BE LIKE THIS:
Click to expand...
Click to collapse
Code:
.line 86
.local v1, i:Landroid/content/Intent;
new-instance v2, Landroid/content/ComponentName;
const-string v3, "com.android.settings"
const-string v4, "com.android.settings.RunningServices"
How to change the background of recent dialog list:
1.) Open framework-res/res/layout/recent_apps_dialog.xml
Add this on the top line:
Code:
android:background="#DesireHexCode"
2.) Change it to your desire hexcode/gradient/background/drawable/png.
Save and recompile. A big thanks for this people @SK(SurajKumar) , @pritish sahoo and @sssomnath474 :good: :good: :good:

Looks cool ..amazing work :good:

Awesome. It work on me But can i know how to make the app view look like ICS/JB

A big Thank... :good:

cooolll.. will try soon.

hahaha good job sir,

GSculerlor said:
Awesome. It work on me But can i know how to make the app view look like ICS/JB
Click to expand...
Click to collapse
Modify the appview_item.xml on framework-res/res/layout sir I dont know how to get the screenshot of the app, I think we dont have that haha

could you make this for other roms such as CM7 based so we can flash it, I would do it myself but my computer is broken.

faZevoLv said:
could you make this for other roms such as CM7 based so we can flash it, I would do it myself but my computer is broken.
Click to expand...
Click to collapse
sorry sir, i rarely use other roms, you can do it sir on apktool mobile, but patience is needed xD

tentenponce said:
sorry sir, i rarely use other roms, you can do it sir on apktool mobile, but patience is needed xD
Click to expand...
Click to collapse
Its okay, great job btw

faZevoLv said:
could you make this for other roms such as CM7 based so we can flash it, I would do it myself but my computer is broken.
Click to expand...
Click to collapse
I tried it on cm7 - didnt work - it uses different xmls and smalis I think
Nothing happend when you long press
I logcatted it if you wanna see
I only did it quickly so apologies if I did miss anything - if the op could test it on cm7 and confirm that would be useful to others
logcat in attachment
update - the phone does bootloop if used with cm7 - see my post on next page for logcat

nice guide sir tenten pinoy rocks :good:

Please share!
ah tentenponce, Can you share your framework.apk? hehe I wants to make transparent app view like yours, thanks

datvui2211 said:
ah tentenponce, Can you share your framework.apk? hehe I wants to make transparent app view like yours, thanks
Click to expand...
Click to collapse
The background of mine was not transparent haha its gradient semi transparent. Can you show your screenshot? I might be wrong.

marcussmith2626 said:
I tried it on cm7 - didnt work - it uses different xmls and smalis I think
Nothing happend when you long press
I logcatted it if you wanna see
I only did it quickly so apologies if I did miss anything - if the op could test it on cm7 and confirm that would be useful to others
logcat in attachment
Click to expand...
Click to collapse
Sir, i cant find the error on your logcat, whats happening after you long press the home button sir? does your phone goes hotboot? or just nothing happen? because on your logcat, there's no dialog or androidruntime that has a connect on recentappsdialog. Try to put on filter, androidruntime and choose error sir.

tentenponce said:
The background of mine was not transparent haha its gradient semi transparent. Can you show your screenshot? I might be wrong.
Click to expand...
Click to collapse
It's ok, just share it
This is mine
Sent from my GT-S5360 using Tapatalk 2

tentenponce said:
Sir, i cant find the error on your logcat, whats happening after you long press the home button sir? does your phone goes hotboot? or just nothing happen? because on your logcat, there's no dialog or androidruntime that has a connect on recentappsdialog. Try to put on filter, androidruntime and choose error sir.
Click to expand...
Click to collapse
I couldnt see the error either
Just nothing happens - the phone vibrates and nothing happens - I'll look at it again later

datvui2211 said:
It's ok, just share it
This is mine
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Why its not swipe? its the stock recent application list.

marcussmith2626 said:
I couldnt see the error either
Just nothing happens - the phone vibrates and nothing happens - I'll look at it again later
Click to expand...
Click to collapse
Maybe sir you forgot something? I dont know too sir, I dont have enough knowledge about other roms. sorry sir

Related

[Mod][ICS] How to add Sense Recent App "Multitasking" !

Hello all,
This is only for ICS Samsung ROMs.
"-" means Delete.
"+" means Add
Decompile framework-res.apk and modify res/values/dimen.xml
Code:
- <dimen name="thumbnail_height">120.0dip</dimen>
+ <dimen name="thumbnail_height">229.0dip</dimen>
- <dimen name="thumbnail_width">120.0dip</dimen>
+ <dimen name="thumbnail_width">144.0dip</dimen>
and that's it for framework-res.apk, you can compile it now.
Decompile SystemUI.apk and modify:
Code:
res/values/drawables.xml
- <item type="drawable" name="status_bar_recents_background_solid">#b3000000</item>
+ <item type="drawable" name="status_bar_recents_background_solid">#00000000</item>
- <item type="drawable" name="status_bar_recents_app_thumbnail_background">#88000000</item>
+ <item type="drawable" name="status_bar_recents_app_thumbnail_background">#00000000</item>
Code:
res/values/strings.xml <<------(Adding only)
+ <string name="recent_apps_title">Recent apps</string>
smali/com/android/systemui/recent/RecentsPanelView.smali <<------(Adding only)
Search for:
Code:
invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setImageMatrix(Landroid/graphics/Matrix;)V
and add after the line mentioned above
Code:
+ iget-object v2, p1, Lcom/android/systemui/recent/RecentsPanelView$ViewHolder;->thumbnailViewImage:Landroid/widget/ImageView;
+ const/high16 v3, 0x41a0
+ invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setRotationY(F)V
Now download the attachment file "GanGs_Kid_res.zip" and unzip it
then copy the the content of "res" folder into "res" folder inside the decompiled SystemUI file
click yes for replacement.
and that's it for SystemUI.apk, you can compile it now.
BTW my Kitchen "GanGs_KiD_Kitchen" can do it for you automatically.
credit to:
BigShix
If you liked my work encourage me by small donation HERE .... and if you will not...please click Thanks button.
The xml files in the attachment seem to be compiled versions. Dont you need the uncompiled ones to add to SystemUI before compiling again?
Sent from my GT-I9100 using Tapatalk 2
finch.****break said:
The xml files in the attachment seem to be compiled versions. Dont you need the uncompiled ones to add to SystemUI before compiling again?
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Thank you.
In fact they are "decompiled versions" because you will decompile SystemUI.apk and copy them back to it hope you get it.
GanGs_KiD said:
Thank you.
In fact they are "decompiled versions" because you will decompile SystemUI.apk and copy them back to it hope you get it.
Click to expand...
Click to collapse
I didnt find decompiled versions in the attachment, thats why my previous post. I found only compiled xml files.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I dont have my laptop to check. Screenshots are using my phone.
Sent from my GT-I9100 using Tapatalk 2
finch.****break said:
I didnt find decompiled versions in the attachment, thats why my previous post. I found only compiled xml files.
I dont have my laptop to check. Screenshots are using my phone.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Please check it with your laptop even when I opend it with my phone it showed as decompiled !!
I think there is smoe error at your phone or at the app you'r trying to use.
Does it work with odex rom ?
Envoyé depuis mon GT-I9100 avec Tapatalk
Thanx alot man
I will try it
by the way .. the name looks familiar to me
are you the same person on ce4a.......
anyway THANX
Hi and thank you for your job
I tried with success to modify my systemui and framework-res
I have only some fc when I press right botton to exit from the multitasking without cancell recents app.
It's only for me?
Thanks again and excuse me for bad english
kollyns said:
Does it work with odex rom ?
Envoyé depuis mon GT-I9100 avec Tapatalk
Click to expand...
Click to collapse
No , because you need to modify the smali file
252gt said:
Thanx alot man
I will try it
by the way .. the name looks familiar to me
are you the same person on ce4a.......
anyway THANX
Click to expand...
Click to collapse
U R welcome hope it works fine with you
There is only one GanGs_KiD here and there I am a former cooker and a new teacher....Just kidding
.malo2000 said:
Hi and thank you for your job
I tried with success to modify my systemui and framework-res
I have only some fc when I press right botton to exit from the multitasking without cancell recents app.
It's only for me?
Thanks again and excuse me for bad english
Click to expand...
Click to collapse
I think it's only happened with you...but can you tell me which Rom did you modify?
Tnx , and BTW me 2 I have a bad english
GanGs_KiD said:
I think it's only happened with you...but can you tell me which Rom did you modify?
Tnx , and BTW me 2 I have a bad english
Click to expand...
Click to collapse
I'm on a costum rom based on wanam lp9...After the mod I have lost lidroid bar Can I implement it again?
Thank you again for your job
.malo2000 said:
I'm on a costum rom based on wanam lp9...After the mod I have lost lidroid bar Can I implement it again?
Thank you again for your job
Click to expand...
Click to collapse
It should not effect lidroid bar ! but I think it's better if you asked wanam about this situation because he is the one that modified lidroid Mod for ICS so he will be the expert.
GanGs_KiD said:
It should not effect lidroid bar ! but I think it's better if you asked wanam about this situation because he is the one that modified lidroid Mod for ICS so he will be the expert.
Click to expand...
Click to collapse
Ok, I try with an other rom and it's perfect thank you again
Inviato dal mio GT-I9100 usando Tapatalk
Im a noob, can some one make it as an flashable zip,so i can install it on remix.ics ROM, thanks in advance
from raj's s2
sanghaviraj said:
Im a noob, can some one make it as an flashable zip,so i can install it on remix.ics ROM, thanks in advance
from raj's s2
Click to expand...
Click to collapse
framework-res.apk + SystemUI.apk required.
finch.****break said:
framework-res.apk + SystemUI.apk required.
Click to expand...
Click to collapse
I have requested this on the remix ROM thread
from raj's s2
It's not possible one zip for all rom any rom has a different framework-res and systemui from each other. You can do it by yourself or ask to someone to do it for you, but you have to give him your framework-res and systemui
Very useful
Enviado desde mi GT-I9100 usando Tapatalk 2
can this be done for framwork in cyanogenmod roms?
bluefa1con said:
can this be done for framwork in cyanogenmod roms?
Click to expand...
Click to collapse
In fact it can be done....with the same steps....but you need different "res" folder.
I never used CM before so I can not provide to you the "res" folder...sorry
Excuse me again....any fix for the landscape mode? it doesn't work :'(

[GUIDE] KitKat Style Gradient StatusBar

Hi Guys, Today I am going to show you how to make KitKat Style Gradient StatusBar.
Preview:
{
"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"
}
Disclaimer: I and XDA are not responsible for the damage of your phone. Take necessary backup if you are indoubt.
Requirements:
SystemUI.apk from you ROM
SystemUI.zip from here
Know how to Decompile/Recompile
Let's start:
1. Download and extract SystemUI.zip
2. Decompile SystemUI.apk
3. Go to res/drawable
4. Copy gradient_bg.xml from SystemUI.zip there
5. Open res/layout/status_bar.xml
6. In the second line find this code
Code:
android:background="#ff000000"
and change it to
Code:
android:background="@drawable/gradient_bg"
7. Recompile SystemUI.apk
Push it into system/app
Set proper permissions(rw-r--r--)
Credits:
CarlDeanCatabay
Reserved 01
Reserved 01
Awesome! nice work @MuSaddiq
Making GFX Devs Proud :good::good::good:
DC07 said:
Awesome! nice work @MuSaddiq
Making GFX Bandits & Devs Proud :good::good::good:
Click to expand...
Click to collapse
Thanks
cool mod frnd!!!!!
Nice mod mate. Though when I get notifications statusbar goes to the same black background. I tried modding status_bar_latest_event.xml but still the same. Any idea of what may be the problem?
Uchooseme said:
Nice mod mate. Though when I get notifications statusbar goes to the same black background. I tried modding status_bar_latest_event.xml but still the same. Any idea of what may be the problem?
Click to expand...
Click to collapse
Can u show me your status_bar.xml ?
MuSaddiq said:
Can u show me your status_bar.xml ?
Click to expand...
Click to collapse
No need, I just forgot to change the background in line 11 of my status_bar.xml. Turns out the status bar notifications and the normal status bar had different backgrounds.
Thanks anyway :good:
Good job, Bro:good:
CM7 on this method does not work?
Statusbar disappears..
Fantom001 said:
CM7 on this method does not work?
Statusbar disappears..
Click to expand...
Click to collapse
Sorry, But I don't know that this will work on cm or not.
Sent from my GT-S5360 using xda app-developers app
Fantom001 said:
CM7 on this method does not work?
Statusbar disappears..
Click to expand...
Click to collapse
There is no problem in this guide.
This will even work on any device.
You have done something wrong.
Sent from my GT-S5360 using Tapatalk 2
Fantom001 said:
CM7 on this method does not work?
Statusbar disappears..
Click to expand...
Click to collapse
san122 said:
There is no problem in this guide.
This will even work on any device.
You have done something wrong.
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
I dont think this will work on cm7 as you need to hack the systemui and then you need to build a theme with a transparent statusbar to apply in theme chooser
I wrote a guide all about this quite some time ago
you can find it
http://forum.xda-developers.com/showthread.php?t=2204389
Why dont you use tinted status bar of xposed modules
i tried ur method...but how to remove that line???
vishal1404 said:
i tried ur method...but how to remove that line???
Click to expand...
Click to collapse
I think its come from other xml file like me in first try
G S c u l e r l o r
vishal1404 said:
i tried ur method...but how to remove that line???
Click to expand...
Click to collapse
Check in dimens.xml of framework
About status bar hieght
vishal1404 said:
i tried ur method...but how to remove that line???
Click to expand...
Click to collapse
That is divider for statusbar and launcher.
To remove that, install any other stock launcher which supports transparency.
Or
Decompile your launcher
open res/values/styles.xml
add this style
Code:
<style name="My.Theme" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
now open AndroidManifest.xml
find this line (this line may be different in your rom)
Code:
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
add this code in that line
Code:
android:theme="@style/My.Theme"
Now that line will look like this
Code:
<application [COLOR="Red"]android:theme="@style/My.Theme"[/COLOR] android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
Recompile
Push it in to system/app
Set proper permissions(rw-r--r--)
Sent from my GT-S5360 using xda app-developers app
MuSaddiq said:
That is divider for statusbar and launcher.
To remove that, install any other stock launcher which supports transparency.
Or
Decompile your launcher
open res/values/styles.xml
add this style
Code:
<style name="My.Theme" parent="@*android:style/Theme.Wallpaper.NoTitleBar">
<item name="android:windowContentOverlay">@null</item>
</style>
now open AndroidManifest.xml
find this line (this line may be different in your rom)
Code:
<application android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
add this code in that line
Code:
android:theme="@style/My.Theme"
Now that line will look like this
Code:
<application [COLOR="Red"]android:theme="@style/My.Theme"[/COLOR] android:label="@string/application_name" android:icon="@drawable/ic_launcher_home" android:name="LauncherApplication">
Recompile
Push it in to system/app
Set proper permissions(rw-r--r--)
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
kk...thanks for the reply....and i would try.....but i am doing it with my phone so it takes lot of time.....anyways changed the framework with the semi transparent mod provided by zionnear for lenox.....AND yes it removed the divider line
The gradient isn't perfect on my ICS Xperia Ray. It doesn't blend in 100% (see attachment).

[MOD][HOW-TO] Add Flashlight quick toggle [4.3|4.4]

Hey guys! Today I'll be showing you how to add the Flashlight toggle to your quick toggles:
{
"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"
}
UPDATE: Once you have completed the mod below, you (and your users) can enable the flashlight toggle by flashing the zip HERE. It uses busybox and an included binary to add the toggle to notification_panel_active_app_list, so it will work with all devices that this mod applies to. Again, feel free to share this but give credits where due!
Items you will need
SystemUI.apk from the rom you are modding
SecSettings.apk from the rom you are modding
Notepad++ or another text editor of your choice (NOT regular Notepad, it messes up the encoding)
apktool or baksmali+smali or VTS, etc
Click to expand...
Click to collapse
Items you will need
Step 1: Modding SystemUI.apk
Step 2: Modding SecSettings.apk
Click to expand...
Click to collapse
Now before we get started, download the attachment with the files you will need for this mod (attached to this post...make sure you grab the right version for the system you are modifying)
Now lets get started!
[size=+1]Step 1: Modding SystemUI.apk[/size]
Decompile SystemUI.apk and navigate to com/android/systemui/statusbar/policy/quicksetting in your file browser
Copy and paste FlashlightQuickSettingButton.smali from inside the zip you downloaded (flashlight_files.zip/SystemUI/FlashlightQuickSettingButton.smali) into this folder
Navigate to SystemUI/res/drawable-xhdpi (or SystemUI/res/drawable-xxhdpi depending on your device)
Copy and paste the two pngs (tw_quick_panel_icon_flashlight_off.png and tw_quick_panel_icon_flashlight_on.png) from the SystemUI folder of the attachment into the decompiled drawable folder you opened above
Now navigate to SystemUI/res/values and open the strings.xml with your text editor
Search for "quickpanel_flashlight_text". If it does not exist anywhere in the file, add this to the bottom of your strings.xml file:
PHP:
<string name="quickpanel_flashlight_text">Flashlight</string>
That's it or SystemUI! Now recompile SystemUI.apk and move on to step 2. At this point, the toggle will show up in the full toggles view (when you add ";Flashlight" to the CscFeature... or to the notification_panel_active_app_list in /data/data/com.android.providers.settings/settings.db) in the status bar, but Settings will FC if you try to go into edit mode/rearrange toggles mode
Click to expand...
Click to collapse
[SIZE=+1]Step 2: Modding SecSettings.apk[/SIZE]
Decompile SecSettings and navigate to com/android/settings
Open NotificationPanelMenu.smali and search for the method ".method private makeConvertPanelName"
Make sure that the following lines are present somewhere in the makeConvertPanelName method. Notice that they are NOT the same, but indeed very similar.
Code:
iget-object v0, p0, Lcom/android/settings/NotificationPanelMenu;->mConvertPanelItemstring:Ljava/util/HashMap;
const-string v1, "Flashlight"
const-string v2, "notification_panel_flashlight"
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
[B]AND[/B]
iget-object v0, p0, Lcom/android/settings/NotificationPanelMenu;->mConvertPanelItemstring:Ljava/util/HashMap;
const-string v1, "notification_panel_flashlight"
const-string v2, "Flashlight"
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
If the 8 lines above are not anywhere in the
Code:
makeConvertPanelName
method, then add them to the end of the method before the
Code:
return-void
Now save the file and close it and navigate to SecSettings/res/values/strings.xml
Add the following line to your strings.xml if it does not already exist (yes, it has the same name as the image. That's supposed to happen so don't worry)
PHP:
<string name="notification_panel_flashlight">Flashlight</string>
Save and close strings.xml and navigate to SecSettings/res/drawable-xhdpi or drawable-xxhdpi depending on your device
Extract the notification_panel_flashlight.png from attachment.zip/SecSettings and copy it into the drawable folder from above
Finally, recompile SecSettings with your modifications
Click to expand...
Click to collapse
Now for the final step, take your modified SecSettings.apk, SystemUI.apk and add them to the /system/app folder of your rom and you are good to go!
Congratulations, you just added the Flashlight toggle to your rom. Enjoy
Note: Devs are free to use this mod in their rom. Just make sure you give credits where they are due
If you have any issues, I'd be more than happy to help :good:
Thanks to:
Samsung for the AT&T base code this was pulled from!
Rompnit for finding the at&t code and the first part of the mod!
Google for the wonderful logcat tool built into Android that allowed me to figure out the second part of the mod!!
Nice! Thanks so much for spelling it out. I'll be running through this tomorrow. Cheers. :thumbup:
Sent from my SPH-L710 using xda premium
Thanks man you are awesome! !!!!!
Sent from my SPH-L900 using Xparent Green Tapatalk 2
Very nice man. I'll get this added next weekend.
Thanks CNexus, great tutorial.
Thanks dude, I will be trying this tomorrow. Greatly appreciated
Sent from my SPH-L900 using XDA Premium 4 mobile app
Thank you bro! Just wish we had a simple flashable mod or xposed mod but since these are based off unique res, it is not possible (well somewhat, but it can be too buggy). Sucks we have to go through this. Lazy ass me lol.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Nice work.. Thanks
Sent from my SCH-I535 using Tapatalk
CNexus said:
Hey guys! Today I'll be showing you how to add the Flashlight toggle to your quick toggles:
[SIZE=+1]Now before we get started, download the attachment with the files you will need for this mod (attached to this post...scroll down)[/size]
Now lets get started!
Click to expand...
Click to collapse
Great Job OP...
Sent from my SM-N900P using XDA Premium 4 mobile app
I've gotten as far as step 10
Code:
Now navigate to com/android/systemui/statusbar/policy/quicksetting and open FlashlightQuickSettingButton.smali with your text editor
but can't find FlashlightQuickSettingButton.smali there. Using AndroidMultitool. Will try again with different decompiled app.:good:
baseballfanz said:
I've gotten as far as step 10
Code:
Now navigate to com/android/systemui/statusbar/policy/quicksetting and open FlashlightQuickSettingButton.smali with your text editor
but can't find FlashlightQuickSettingButton.smali there. Using AndroidMultitool. Will try again with different decompiled app.:good:
Click to expand...
Click to collapse
You added that file into that folder in step 2.
baseballfanz said:
I've gotten as far as step 10
Code:
Now navigate to com/android/systemui/statusbar/policy/quicksetting and open FlashlightQuickSettingButton.smali with your text editor
but can't find FlashlightQuickSettingButton.smali there. Using AndroidMultitool. Will try again with different decompiled app.:good:
Click to expand...
Click to collapse
See below. You either skipped a step or misread it or something
MetalMan2 said:
You added that file into that folder in step 2.
Click to expand...
Click to collapse
I did add the two files but might have added them to the wrong folder. I'll try it again with the other folder.
Thanks guys.
baseballfanz said:
I did add the two files but might have added them to the wrong folder. I'll try it again with the other folder.
Thanks guys.
Click to expand...
Click to collapse
It's 3 files you need to add. The flashlight smali file into the quicksettings folder in SystemUI/smali/... and the two pngs into res/drawable.
Can you make a flash zip?
Sent from my SPH-L710 using xda app-developers app
Small question Cnexus..
I believe this sceenshot to be the incorrect way.
Or do i just replace the "0x0" the the id# of 0x........ ?
Thanks for the tut and the Help
https://www.dropbox.com/s/3nl68ro9cmfucgu/Screenshot 2014-01-20 19.16.36.png
jlyle said:
Small question Cnexus..
I believe this sceenshot to be the incorrect way.
Or do i just replace the "0x0" the the id# of 0x........ ?
Thanks for the tut and the Help
https://www.dropbox.com/s/3nl68ro9cmfucgu/Screenshot 2014-01-20 19.16.36.png
Click to expand...
Click to collapse
Don't know if you figured it out yet, but the screenshot is wrong. I just got this working on the synergy rom. Just the "0x0" with whatever corresponds to it, like 0x154whatever
jlyle said:
Small question Cnexus..
I believe this sceenshot to be the incorrect way.
Or do i just replace the "0x0" the the id# of 0x........ ?
Thanks for the tut and the Help
https://www.dropbox.com/s/3nl68ro9cmfucgu/Screenshot 2014-01-20 19.16.36.png
Click to expand...
Click to collapse
You replace each 0x0 with the corresponding id
jorv976 said:
Can you make a flash zip?
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I made this one for the synergy rom, I think you'll still have to use this guide to do the rest, but that's all on the phone and real simple
http://d-h.st/Zqx

[guide][how to get kitkat/jb/ics title bar on gb devices]

HOW TO GET KITKAT/JB/ICS TITLE BAR ON GINGERBREAD DEVICES​
THIS GUIDE IS TOTALLY MADE BY ME.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I KNOW THERE'S ALREADY A GUIDE FOR THIS BY SIR SPACECAKER. BUT THIS ONE IS TOTALLY DIFFERENT FROM THAT ONE. AND IN THIS GUIDE, THE TITLE BAR DOESN'T SCROLL WITH SCROLLING WINDOWS CONTENT
REQUIREMENTS:
1. APKTOOL
2. PC WITH JDK Installed.
3. framework-res.apk,twframework-res.apk, Services.jar,Settings.apk or any other apk you want to apply Kitkat/JB/ICS title bar to.
4. KNOWLEDGE ABOUT DECOMPILING, RECOMPILING, EDITING ETC(Don’t ask me how to do that. Use xda search options instead)
5. PATIENCE​IF YOU’VE ACCESS TO ALL THE REQUIRED STUFF, YOU CAN PROCEED WITH PROCEDURE.
HOW TO APPLY KITKAT/JB/ICS TITLE BAR IN SETTINGS
1. First decide which type of title bar you want in your Rom. Then download its zip from below(ICS, JB, OR KITKAT TITLE BAR).
2. Now decompile framework-res.apk.
3. Now extract the content of downloaded zip in decompiled framework-res.apk.
4. Now open /decompiled_framework-res.apk/res/values/styles.xml and add this above this line "</resources>"
Code:
<style name="Theme.sett" parent="@style/Theme">
<item name="windowTitleSize">@dimen/akrtb</item>
<item name="windowTitleStyle">@style/WindowTitlesettt</item>
<item name="windowTitleBackgroundStyle">@style/settt</item>
</style>
<style name="settt">
<item name="background">@drawable/djbtitle</item>
</style>
<style name="WindowTitlesettt">
<item name="textAppearance">@style/TextAppearance.WindowTitle.sett</item>
<item name="singleLine">true</item>
<item name="drawableLeft">@drawable/set_akr_m</item>
</style>
<style name="TextAppearance.WindowTitle.sett" parent="@style/TextAppearance">
<item name="textSize">19.0sp</item>
<item name="textStyle">normal</item>
<item name="textColor">#ffffffff</item>
</style>
<style name="Theme.sett_i" parent="@style/Theme">
<item name="windowTitleSize">@dimen/akrtb</item>
<item name="windowTitleStyle">@style/WindowTitlesettt_i</item>
<item name="windowTitleBackgroundStyle">@style/settt</item>
</style>
<style name="WindowTitlesettt_i">
<item name="textAppearance">@style/TextAppearance.WindowTitle.sett</item>
<item name="singleLine">true</item>
<item name="drawableLeft">@drawable/set_akr_i</item>
</style>
Now open /decompiled_framework-res.apk/res/values/dimens.xml and add this above this line "</resources>"
Code:
<dimen name="akrtb">50.0dip</dimen>
5. Now recompile framework-res.apk and install the new framework-res.apk again using "apktool if framework-res.apk" command in command prompt. and do same with "twframework-res.apk" using this "apktool if twframework-res.apk" command.
6. Now decompile Settings.apk and open /decompiled_Settings.apk/AndroidManifest.xml. after uses-permission codes, it looks like this (see pic below).
You have to add these highlightes codes in your AndroidManifest.xml in same place
Code:
android:theme="@android:style/Theme.sett_i"
android:theme="@android:style/Theme.sett"
7. Now recompile your Settings.apk and don’t forget to sign it because we have changed AndroidManifest.xml. Now you need to disable Signature verifications in your Services.jar otherwise Settings.apk will not work.
HOW TO DISABLE SIGNATURE VERIFICATIONS IN SERVICES.JAR
a. Decompile Services.jar and open /decompiled_Services.jar/smali/com/android/server/packagemanagerservice.smali and look for this code :
Code:
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)]
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1922
and modify it like this :
Code:
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)]
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1922
const/4 v6, 0x0
8. Now push all the three files(Settings.apk, framework-res.apk and Services.jar) in your Phone using adb, or by making flashable zip or by any means.
HOW TO APPLY KITKAT/JB/ICS TITLE BAR IN USER APPS
1. First Decompile the apk you want to have this title bar. Lets say “xyz.apk”
2. Now extract the downloaded folder in your decompiled apk.
3. Now open /decompiled_xyz.apk/res/values/Styles.xml and add this above this line
"</resources>"
Code:
<style name="Theme.akr.xyz" parent="@android:style/Theme">
<item name="android:windowTitleSize">50.0dip</item>
<item name="android:windowTitleStyle">@style/WindowTitleakr_xyz</item>
<item name="android:windowTitleBackgroundStyle">@style/akr_xyz</item>
</style>
<style name="akr_xyz">
<item name="android:background">@drawable/djbtitle</item>
</style>
<style name="WindowTitleakr_xyz">
<item name="android:textAppearance">@style/TextAppearance.WindowTitle.akr</item>
<item name="android:singleLine">true</item>
<item name="android:drawableLeft">@drawable/set_akr_m</item>
</style>
<style name="TextAppearance.WindowTitle.akr" parent="@android:style/TextAppearance">
<item name="android:textSize">19.0sp</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">#ffffffff</item>
</style>
4. Now open directory /decompiled_xyz.apk/res/drawable-ldpi/ and change "set_akr_m.png" with the png you want to be shown on title bar and make sure that your png size doesn’t exceed 40x36 pixels.
5. Now open /decompiled_xyz.apk/AndroidManifest.xml and add this code after <application as you did in case of Settings.apk.
Code:
android:theme="@style/Theme.akr.xyz"
6. Recompile and sign it now. And install it
waw look like actionbar sherlock
nice +1
EDIT Need Help
after recompile framework-res.apk
i have a little problem
framework.apk\res\values\styles.xml:1075: error: Error: No resource found that matches the given name (at 'windowTitleSize' with value '@dimens/arktb
i have add dimens in values but cannot recompile
and settings.apk too
i has instaling framework-res.apk and twframework also
and in service jar has different smali..
Code:
.method checkSignaturesLP([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
.registers 10
.parameter "s1"
.parameter "s2"
.prologue
.line 1946
this is in my service jar
attachement added if u want to help me
thanks a lot
great going
plsss tell... how to change the title bar color..
Minions_Army said:
waw look like actionbar sherlock
nice +1
Click to expand...
Click to collapse
hi Minions_Army,
don't forget to share screenshot after it is done.
Edit : Minions_Army, kindly attatch twframework-res.apk too from your phone.
qromwel said:
great going
Click to expand...
Click to collapse
Thanks bro
kartik verma said:
plsss tell... how to change the title bar color..
Click to expand...
Click to collapse
Hi Kartik Verma,
Edit this .9.png to change title bar background --> akrtbld.9.png(placed in drawable-ldpi)
Akshay Kumar Raheja said:
hi Minions_Army,
don't forget to share screenshot after it is done.
Edit : Minions_Army, kindly attatch twframework-res.apk too from your phone.
Thanks bro
Hi Kartik Verma,
Edit this .9.png to change title bar background --> akrtbld.9.png(placed in drawable-ldpi)
Click to expand...
Click to collapse
ure using galaxy pocket?
Minions_Army said:
ure using galaxy pocket?
Click to expand...
Click to collapse
No its pocket duos.(s5302). Just upload your twframework-res.apk. I'll do it for you
EDIT : one more thing btw, check your framework-res.apk again. because in guide i've written to add "<item name="windowTitleSize">@dimens/akrtb</item>" but in your previous reply, you wrote "<item name="windowTitleSize">@dimens/arktb</item>". i think this is where the problem is. anyways, just try it and if it doesn't work, send me twframework-res.apk, i'll do it for you
Akshay Kumar Raheja said:
No its pocket duos.(s5302). Just upload your twframework-res.apk. I'll do it for you
EDIT : one more thing btw, check your framework-res.apk again. because in guide i've written to add "<item name="windowTitleSize">@dimens/akrtb</item>" but in your previous reply, you wrote "<item name="windowTitleSize">@dimens/arktb</item>". i think this is where the problem is. anyways, just try it and if it doesn't work, send me twframework-res.apk, i'll do it for you
Click to expand...
Click to collapse
thanks man
tw framework added
does the back function work?
Minions_Army said:
thanks man
tw framework added
Click to expand...
Click to collapse
Hi Minions_Army, please check your twframework-res.apk again because i think you've attached wrong twframework-res.apk. i tried 3 times to decompile Settings.apk with framework-res.apk and twframework-res.apk(given by you ofcourse) installed but it always shows resources problems with twframework-res.apk. kindly check again and upload correct twframework-res.apk.
AuliaYF said:
does the back function work?
Click to expand...
Click to collapse
hi AuliaYF,
no it doesn't support back button function on title bar.
good bro:laugh::good:
hi AuliaYF,
no it doesn't support back button function on title bar.
Click to expand...
Click to collapse
okay then nice guide btw :good:
Akshay Kumar Raheja said:
Hi Minions_Army, please check your twframework-res.apk again because i think you've attached wrong twframework-res.apk. i tried 3 times to decompile Settings.apk with framework-res.apk and twframework-res.apk(given by you ofcourse) installed but it always shows resources problems with twframework-res.apk. kindly check again and upload correct twframework-res.apk.
hi AuliaYF,
no it doesn't support back button function on title bar.
Click to expand...
Click to collapse
oh sorry
i forget about this...u must install framework res.apk ics/jb/kk before decompile settings
Minions_Army said:
oh sorry
i forget about this...u must install framework res.apk ics/jb/kk before decompile settings
Click to expand...
Click to collapse
here it is. hope it works
if it works, great and if not then inform me along with logcat. but i'm sure that i'll work
EDIT : and one more thing, i've removed framework-res.apk. just don't worry about. make a flashable zip with these files (Settings.apk and Services.jar) and flash it.
Akshay Kumar Raheja said:
here it is. hope it works
if it works, great and if not then inform me along with logcat. but i'm sure that i'll work
EDIT : and one more thing, i've removed framework-res.apk. just don't worry about. make a flashable zip with these files (Settings.apk and Services.jar) and flash it.
Click to expand...
Click to collapse
thanks
ure cool man
Minions_Army said:
thanks
ure cool man
Click to expand...
Click to collapse
Yeah. Working but one problem seems like i reversed the pngs lol
Anyways no need to worry. Just follow these steps.
1. Decompile your current Settings.apk
2. Go to /Decompiled_Settings.apk/res/drawable-ldpi/ and search for these two pngs (set_akr_i.png and set_akr_m.png)
3. Now rename set_akr_m.png to set_akr_i.png.
And rename set_akr_i.png to set_akr_m.png
4. Recompile again and push in /system/app/here.
Sorry for the trouble actually i was doing some other work too while modding your Settings.apk and i probably mixed it up. Lol
AuliaYF said:
okay then nice guide btw :good:
Click to expand...
Click to collapse
back button support would be easy to add though, we can modify the Activity title layout in framework and make new imagebutton code in java with a Back button intent inside and then it would be working on almost 99% of all apps.
Sent from my Acer S500 CloudMobile
SpaceCaker said:
back button support would be easy to add though, we can modify the Activity title layout in framework and make new imagebutton code in java with a Back button intent inside and then it would be working on almost 99% of all apps.
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
oh you're right! but do we need to put this to the activity?
Code:
<activity
android:name=".B"
android:label="B"
android:launchMode="singleTop">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.example.app_name.A" />
</activity>
SpaceCaker said:
back button support would be easy to add though, we can modify the Activity title layout in framework and make new imagebutton code in java with a Back button intent inside and then it would be working on almost 99% of all apps.
Sent from my Acer S500 CloudMobile
Click to expand...
Click to collapse
that's great sir. if it works, we can have original like action bar on gingerbread devices too :good:
btw sir sorry but i don't know what you're talking about. i'm just a kid and have enough knowledge about structures of apks, xmls, layouts and how it works etc but don't have much idea about smali coding. hope you can help me to make the guide more better
EDIT : one more question sir, if we edit the activity title layout in framework-res.apk to have a back button image with a java code with a back button intend inside. it will be shown on all apps activities(including main activity too). will it not create problems? i mean main activity will also have a back button title bar and if we press it, it'll close the app? isn't it like that?
so i was thinking if there's a way to make two activity title bar layouts. one which will work for main activity of apps and another one which will work for other activities of apps.
Akshay Kumar Raheja said:
that's great sir. if it works, we can have original like action bar on gingerbread devices too :good:
btw sir sorry but i don't know what you're talking about. i'm just a kid and have enough knowledge about structures of apks, xmls, layouts and how it works etc but have no idea about smali coding. hope you can help me to make the guide more better
EDIT : one more question sir, if we edit the activity title layout in framework-res.apk to have a back button image with an java code with a back button intend inside. it will be shown on all apps activities(including main activity too). will it not create problems? i mean main activity will also have a back button title bar and if we press it, it'll close the app? isn't it like that?
so i was thinking if there's a way to make two activity title bar layouts. one which will work for main activity of apps and another one which will work for other activities of apps.
Click to expand...
Click to collapse
the only way to do the 'back' thing is using NavUtils(), and if we put inside framework the context becomes framework's context, not the application's context, the activity title layout created by framework, not the application, i tried

[GB][GUIDE/MOD/SHARE] - Redux Power Menu

Hello fellow XDA users, I have another mod over here and it is exactly unique as I havent seen a guide like this.
What is this all about?
This is a Power Menu, a renewed and redux Power Menu of mine, I am sharing this to everyone for they surely want it too. This mod compose of the following:
PROS:
1. JB Sound Panel
2. Advance Reboot Option (Fast boot added)
3. Re-arrange Power Menu
4. Screenshot added
CONS:
No data network list adapter
Click to expand...
Click to collapse
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"
}
This modification comprises of the GlobalAction.java and framework-res and lil trick, I modified the AOSP GlobalAction.java and make it in stock (I gurantee no problem at all.) So the data network list adapter wasnt added back but I am doing everything I could just to bring it back again and again. Since I am annoyed too that there is no data network overthere. Also I tried to port the smali to stock but I am having a problem with Verification Error(I think the API is the cause, the invoke gA, g0, p0 thingy. LOL.)
This also work with other device since its AOSP made. I dont knew where to put the thread around the XDA , I only knew this Galaxy Y Forum cause it rocks and hell awesome.
Enough said, Ill be dividing this guide unto parts. The android.policy.jar and the framework-res.apk
Requirements:
1. ApkTool
2. PC
3. Your very own android.policy.jar
4. Your framework-res.apk
5. Working brain with some time to think since Ill be making your head dizzy.
6. A Galaxy Y
7. And the zip you will download at the bottom.
Click to expand...
Click to collapse
Before proceeding,
For those in doubt, backup first. You are not Chuck Norris Lets get it on.
Click to expand...
Click to collapse
Instruction
Prologue:
1. Extract the zip file in any directories you want
Chapter 1. Making your framework-res ready for the battle.
1. Pull your framework-res.apk
2. Decompile your framework-res.apk
3. Now go to the extractred file and go to its framework-res folder and find the 2 folder(drawable-ldpi and layout) and copy it to your framework-res.apk/res/*here
4. Now after copying, compile your framework-res.apk now.
5. Now its finish, save it. But.. decompile your new framework-res.apk again. Why? To see the new public ids that had been registered.
Chapter 2. Subtitute the old GlobalAction troops with the new GlobalAction (ALL HAIL SOLDIERS.)
1. Pull your android.policy.jar
2. Decompile your android.policy.jar
3. Now delete all the GlobalActions.smali in com/android/internal/policy/impl also with the dollar sign, delete them all. No remnants will survive.
4. Lets go back to the zip that you had downloaded, check the com/android/internal/policy/impl folder, you will see a GlobalAction.smali with other co-smali. Copy all of them and paste it to your decompiled android.policy.jar.
Chapter 3. Substitution of IDs (NO ID NO ENTRY)
1. Go to your decompiled new framework-res.apk/res/values/public.xml
2. Take note of the following ids that had been added at chapter 1. Maybe you write them, memorize or what so ever. Mainly they are the
<public type="id" name="soundpanel1" id="0x010202aa" />
<public type="id" name="soundpanel2" id="0x010202ab" />
<public type="id" name="soundpanel3" id="0x010202ac" />
<public type="drawable" name="ic_lock_reboot" id="0x010803ed" />
<public type="drawable" name="ic_lock_screenshot" id="0x010803ef" />
<public type="layout" name="global_actions_jbsoundpanel" id="0x01090092" />
Click to expand...
Click to collapse
(Our ids may vary depending on the number that had been registered, but here is mine as an example)
3. Go to your android.policy.jar(the one with a new GlobalAction man ) Open the GlobalActions.smali
4. Find the "0x10803ef" without quotation. and replace it with corresponding id of your "ic_lock_reboot"
Mine was 0x010803ed, so I changed 0x10803ef to 0x010803ed
5. Same with screenshot button, find "0x10803f0" and replace it with the id of "ic_lock_screenshot"
6. Save your GlobalActions.smali
Chapter 4. Making the ultimate weapon of the story. (LAZZEERRRR ZWORD!)
1. Go to GlobalActions$JBSoundPanel.smali in your android.policy.jar and open it.
2. Find "0x1090093" and replace it with the id of your "global_actions_jbsoundpanel" layout.
3. Now this will be the hardest, really hard. ...
4. Find " .array-data 0x4" , below it you will see a three (musketteers/weirdos/hex) and end with ".end array-data" right?
Additional Info: They are the ids soundpanel1, soundpanel2, soundpanel3. The order were ,soundpanel1 at the top id array, at the middle id array was the soundpanel2 and the bottom id array was soundpanel3.
Example(The given):
0xabt 0x2t 0x2t 0x1t #soundpanel1
0xact 0x2t 0x2t 0x1t #soundpanel2
0xadt 0x2t 0x2t 0x1t #soundpanel3
When they are converted, they where be
<public type="id" name="soundpanel1" id="0x010202ab" />
<public type="id" name="soundpanel1" id="0x010202ac" />
<public type="id" name="soundpanel1" id="0x010202ad" />
Take a look at "0xabt 0x2t 0x2t 0x1t", So the logic in this will be,
1st 5 digit is the 2digit to the last of the ids
2nd 4digit is the 2 digit before the last 2 ids
3rd 4digit is the 2 digit before the before of the last 2 digit
4th 4digit is the 4 digit at the beginning of the public id.
As my case I have an id of
0x10202aa so it will be 0xaat 0x2t 0x2t 0x1t
Click to expand...
Click to collapse
(NEVER EVER FORGET THE T.)
5. Save the file
6.Recompile your android.policy.jar
7. Push/Flash the new framework-res.apk and android.policy.jar
8. Dont worry there will be NO bootloop will occur, if problem exist, take a logcat in the error. I am not a fortune teller(just a handsome man.)
Click to expand...
Click to collapse
Download link:
The zip, the protagonist of the story,
https://drive.google.com/file/d/0B2tO5pSUM6fpa00zRF9sMUlsUzg/edit?usp=sharing
Click to expand...
Click to collapse
Credits:
squadzone, for the CMX Source of him
mariozawa for teaching me how to use broadcast intent properly.
spacecaker, for comparing mine from his
kahvitahra, for the hotboot idea and the usage in alert dialog builder in Windows
ocoot and lidroid, for the screenshot and reboot png
Click to expand...
Click to collapse
Take note(Commercial):
I gonna advertise PxL now , it has like this and it has more features than this. Spare me.
I advertise PotatoInc of mariozawa too, that freaking awesome mod at its madness.
Dont forget to press thanks button.
Also, be careful of the "0x010202ab" whenever you are putting it in smali, delete the second zero athe beginning, so it will be like this, "0x10202ab" this issue occurs in apktool.
And I feel sorry because I am messing up this thread since I want to make it lively. I am a crazy ass man, sorry admins :3
Click to expand...
Click to collapse
Greets,
PineappleOwl​
Reserved for the sidequest of the ZIP
BEHOOOOLD OF THE MIGHTY EPM (or whatever that name is)
Mranggapo said:
BEHOOOOLD OF THE MIGHTY EPM (or whatever that name is)
Click to expand...
Click to collapse
I just only copy the name from somewhere guide. HAHAHA. Deymm.
I will try this Ultimate Weapon. XD
PineappleOwl said:
I just only copy the name from somewhere guide. HAHAHA. Deymm.
Click to expand...
Click to collapse
noob question sir, i just want to know what is the main difference between your mod and this (except those icons at bottom of menu)
TIA !
AbhiLP said:
noob question sir, i just want to know what is the main difference between your mod and this (except those icons at bottom of menu)
TIA !
Click to expand...
Click to collapse
Hello. Sir bumslayer guide only covers up the reboot button. But mine was i added screenshot and soundpanels hehe
hmm... look like cmx
nice guide
will try
Minions_Army said:
hmm... look like cmx
nice guide
will try
Click to expand...
Click to collapse
I forked CMX hehehe .
i think i've seen this before... hell yeah from spacecaker's github nice guide bro! i'm making an API for view theming, like position changing and color changing, well i dont think you guys need it
AuliaYF said:
i think i've seen this before... hell yeah from spacecaker's github nice guide bro! i'm making an API for view theming, like position changing and color changing, well i dont think you guys need it
Click to expand...
Click to collapse
He has but we are kinda bit similar I fork from CMX. ?
It will be a giant leap to our device. Good luck buddy ?
Any help? http://pastebin.com/HBR333k9
AWESOME GUIDE I looking for JB SoundPanel
And its work like a charm
Oh yea this is so awesome
Do I smell a version 3 of your StockRedux Sir ?
Nice guide thank you.
aldzi said:
Any help? http://pastebin.com/HBR333k9
Click to expand...
Click to collapse
What did you do sir?
TheNightBaron said:
Oh yea this is so awesome
Do I smell a version 3 of your StockRedux Sir ?
Nice guide thank you.
Click to expand...
Click to collapse
Oh there still someone who knew it
Good work bro! Try making a xposed module
Sent from moon
PineappleOwl said:
What did you do sir?
Oh there still someone who knew it
Click to expand...
Click to collapse
when recompile the jar i got error sir,and that is the log and i using latest backsmali manager
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
m4RinKo2 said:
Good work bro! Try making a xposed module
Sent from moon
Click to expand...
Click to collapse
Hehe i dont know yet how but ill do it if i need hehehe
aldzi said:
when recompile the jar i got error sir,and that is the log and i using latest backsmali manager
Click to expand...
Click to collapse
Try apktool hehe
Minions_Army said:
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
Click to expand...
Click to collapse
Try modding by GB, CMX has some backported packages.?
Minions_Army said:
i have idea
porting volume slider look like JB
but use source from cmx
i try to port this but failed..may be im very noob in java
Click to expand...
Click to collapse
i'm a litle bit confused, stock volume popup using Toast and setView method, but if i put seekbar in it, the popup only appear by it's duration.

Categories

Resources