I can't find a clear guide on how to modify policy.jar to incorporate reboot options. Anyone know where I can look?
[email protected] said:
I can't find a clear guide on how to modify policy.jar to incorporate reboot options. Anyone know where I can look?
Click to expand...
Click to collapse
if your already rooted just download quick boot, it's what i use for a fast reboot
A2CKilla said:
if your already rooted just download quick boot, it's what i use for a fast reboot
Click to expand...
Click to collapse
Thanks I was aware of other options what I was really looking for is how the android policy jar needs to be modified to add the option to the reboot menu.
[email protected] said:
Thanks I was aware of other options what I was really looking for is how the android policy jar needs to be modified to add the option to the reboot menu.
Click to expand...
Click to collapse
I too would like to see this implemented. Similar to what the Epic or Evo had on it's custom roms. If you ever figure it out...could ya pass it along?
Nerorising said:
I too would like to see this implemented. Similar to what the Epic or Evo had on it's custom roms. If you ever figure it out...could ya pass it along?
Click to expand...
Click to collapse
Sure. Work is a pita right now but afterwords I am going to try and tackle this.
[email protected] said:
Sure. Work is a pita right now but afterwords I am going to try and tackle this.
Click to expand...
Click to collapse
Greetings and Salutations Max
Are there any apps for rebooting your phone if you're not rooted?
I would love to see something like this done to the Photon!
{
"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"
}
[email protected] pull some XML files from CyanogenMod and compare them to ones from the Photon. CM has reboot options built in.
mrinehart93 said:
[email protected] pull some XML files from CyanogenMod and compare them to ones from the Photon. CM has reboot options built in.
Click to expand...
Click to collapse
I found this guide here, but its for the Vibrant I think. Maybe I can pull CM from a MOTO phone and figure it out... I will try this this weekend.
[email protected] said:
I found this guide here, but its for the Vibrant I think. Maybe I can pull CM from a MOTO phone and figure it out... I will try this this weekend.
Click to expand...
Click to collapse
That was pretty sick. What do you use to open/edit XML files?
KTT16 said:
That was pretty sick. What do you use to open/edit XML files?
Click to expand...
Click to collapse
you can use any text editor. I use Gedit in linux
Boot/Reboot/Recovery Options in Power Off Menu
[email protected] said:
I found this guide here, but its for the Vibrant I think. Maybe I can pull CM from a MOTO phone and figure it out... I will try this this weekend.
Click to expand...
Click to collapse
Any luck with this Mod and/or creating a .zip file for it? I would love to see this option modded in Magnifier!!!!
I used the vibrant guide when I ported it to the echo I had to edit policy.jar framework.jar and framework.apk also had add the options to the powercontrol file I can try to tackle this if no one has got it yet
Sent from my MB855 using XDA App
chrystal0925 said:
I used the vibrant guide when I ported it to the echo I had to edit policy.jar framework.jar and framework.apk also had add the options to the powercontrol file I can try to tackle this if no one has got it yet
Sent from my MB855 using XDA App
Click to expand...
Click to collapse
Please go for it!
ok guys i got it working im on skinny rev unlocked with dark fire theme so that is the framework apk i used but its easy to modify for the developers wanting to add this to there theme or rom.. just use my files android.policy.jar and framework.jar
to do this decompile and edit this xml in your framework.apk
"framework-res.apk\res\values\strings.xml"
add
Reboot
Recovery
next add png icons here
"framework-res.apk\res\drawable-hdpi"
make sure they are named
"ic_lock_reboot.png
"ic_lock_recovery.png
then recompile/build etc.. after you have build apk decompile it again
go here
frameworkres.apk\res\values\public.xml
you will see this with different id #s
and
these are what you need to change in the android.policy.jar
com\android\internal\policy\impl\GlobalActions.smali"
at line 661
const v3, 0x1080501 (reboot icon)
const v4, 0x10404ed (reboot string)
invoke-direct {v2, p0, v3, v4}, Lcom/android/internal/policy/impl/GlobalActions$10;->(Lcom/android/internal/policy/impl/GlobalActions;II)V
aput-object v2, v0, v1
const/4 v1, 0x5
new-instance v2, Lcom/android/internal/policy/impl/GlobalActions$11;
const v3, 0x1080502 (recovery icon)
const v4, 0x10404ee (recovery string)
the first set of icon ids are for reboot
first # is drawable icon second is string #
second set is recovery as in the ( ) 's
so now change these numbers to those in the public.xml as i described above
next recompile your android.policy.jar and its ready to add
thanks!
screenie here http://dl.dropbox.com/u/46879286/20120214113758.jpeg
colors are off sorry
Related
Hi... I don't know if this already has been posted but here it goes...
How to change the Samsung Circle lockscreen to the Ice Cream Sandwich lockscreen on XXLPH:
1) Decompile android.policy.jar
2) Edit the file called: LockPatternKeyguardView.smali
3) change the line:
iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z
to
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z
it's in the beginning of the init contructor (about line 152)
What this does is that it tells the createLockScreen method to use the Lockscreen class instead of the CircleLockscreen class.
4) Compile the android.policy.jar again and you are done.
I have included the odexed and the deodexed CWM files ready to flash.
Have fun...
Please NOTE: Menu key will unlock your phone unless you edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml
Thanks for sharing, man. Like always you are first
Very great work mate!
Best regards,
Big!
Work in Resurrection Remix ics v9.6?
Works on WanamLite 9.1 LPH, but the menu softkey unlocks the phone. This is unwanted actually...
Michael2207 said:
Works on WanamLite 9.1 LPH, but the menu softkey unlocks the phone. This is unwanted actually...
Click to expand...
Click to collapse
Thanks! Yeah it's not perfect.... yet.... In my upcoming JKay Deluxe I will included this ICS lockscreen.... but modded to fix this and included music widgets, live wallpaper etc, etc...
What you need to do is this:
Edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml
Thanks a million JKay!!!!
sachs said:
Work in Resurrection Remix ics v9.6?
Click to expand...
Click to collapse
Yes it does!!!!! Attached!
{
"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"
}
Thx Jkay your work is wonderful
Who else
Bravo JKAY!
Thanks!!!very good!!!
Sent from my GT-I9100 using xda premium
great job mate.
now all we need is jkay deluxe to allow modding it. like for example select from2 / 4 or 8 unlock options and manual attrib an app to each one.
Really nice to have aosp lockscreen.
Now i just want an official ics build
Sent from my iPad using Tapatalk
thats what im talking about !!jkay fantastic ....
Amazing JKay, like always. I have no words. Simply remarkable, thank you alot.
westcrip said:
thats what im talking about !!jkay fantastic ....
Click to expand...
Click to collapse
Wes, please add this to your ROM, and also this:
_JKay_ said:
What you need to do is this:
Edit framework-res.apk and change the boolean value of 'config_disableMenuKeyInLockScreen' to true in the bools.xml
Click to expand...
Click to collapse
Hi JKAY
U R awesome. Keep up the good work.
Wish u all the best man
Working in WanamLite 9.1 LPH. Thanks JKay!
Great work , many Thanks to JKay. It work perfect on Simplystic Rom
Works fine for me on Wanamlite 8.9.
Menu button doesn't unlock my phone, works like it should!
Many Thanks JKay, working fine on Wanam 9.1
And the "unlock via menu" is quite fine for me: you still have to press home button ant then menu to unlock the phone, so there is no risk of any unwanted unlock...
Finally I get rid of the horrible "Trascina il dito sullo schermo per sbloccare" that plagued the original unlock screen
Hi everyone! I'm trying to port this lockscreen: http://forum.xda-developers.com/showthread.php?p=32385441 to stock JB but I have some problems
The mod basically replace the stock aosp lockscreen editing files in framework.jar and android.policy.jar. ICS_XD told me that it's only for aosp but maybe he's worng.I think he's wrong because of this thread : http://forum.xda-developers.com/showthread.php?t=1538828
How to change the Samsung Circle lockscreen to the Ice Cream Sandwich lockscreen on XXLPH:
1) Decompile android.policy.jar
2) Edit the file called: LockPatternKeyguardView.smali
3) change the line:
iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z
to
iput-boolean v1, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z
it's in the beginning of the init contructor (about line 152)
What this does is that it tells the createLockScreen method to use the Lockscreen class instead of the CircleLockscreen class.
4) Compile the android.policy.jar again and you are done.
Click to expand...
Click to collapse
So if it's posible to change the createLockscreen method use LockScreen instead of the stock sammy lockscreen the mod probably work
I'm not a developer and I don't know much about java programming but I am reading a lot and I need some help
There's no iput-boolean v2, p0, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->CIRCLELOCK_MODE:Z on LockPatternKeyguardView, I'm sure it's because it's ics and not jb, and I don't know what to change on similar lines so that's basically what I'm asking
This is my LockPatternKeyguardView : https://www.dropbox.com/s/bkv8uztpfsntutt/LockPatternKeyguardView.smali
the createLock method that I've changed it's on line 1319
All the help will be rewarded with smile faces and many thanks
Of course ICS_XD is wrong!!! Lol! How do I know?....
{
"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"
}
...thats on LSJ.
I cant view your lockpatternkeygyardview. Dropbox says i dont belong there!
You need a logcat of the error.
Sent from my GT-I9100 using Tapatalk 2
Goldieking said:
Of course ICS_XD is wrong!!! Lol! How do I know?....
View attachment 1519712
...thats on LSJ.
I cant view your lockpatternkeygyardview. Dropbox says i dont belong there!
You need a logcat of the error.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Here's a logcat ; https://www.dropbox.com/s/kur11w8lwi3q89a/logcat-default.txt
I've found this line on the logcat:
W/LockPatternKeyguardView( 2158): Couldn't find transport control widget
Click to expand...
Click to collapse
at the end of the createLockScreen method :
.line 1325
.local v0, lockView:Landroid/view/View;
invoke-direct {p0, v0}, Lcom/android/internal/policy/impl/LockPatternKeyguardView;->initializeTransportControlView(Landroid/view/View; )V
Click to expand...
Click to collapse
And here ends my knowledge
Hmmm....not much help. When you get a loop you get dumpstate_sys_error.txt.gz in data/log. That will help more
Sent from my GT-I9100 using Tapatalk 2
Goldieking said:
Hmmm....not much help. When you get a loop you get dumpstate_sys_error.txt.gz in data/log. That will help more
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Here you go good sir I've flashed the lockscreen, end in bootloop, restored and then pulled out the files it's ok?
https://www.dropbox.com/s/xvufn9iungkfvd4/dumpstate_sys_error.txt.gz
This one was also on /data/log, I don't know if it helps
https://www.dropbox.com/s/xvqb7zqmyrth80c/dumpstate_app_error.txt.gz
Looks to me like your Lockscreen smali is already modified and not compatible
Sent from my GT-I9100 using Tapatalk 2
Goldieking said:
Looks to me like your Lockscreen smali is already modified and not compatible
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
Should I leave it unmodified? I've changed only 3 or 4 things from the patch file on de nexus thread.
I've seen a lot of these lines to:
"11-29 17:00:41.825 1852 1852 I dalvikvm: DexOpt: mismatch dep signature for '/data/dalvik-cache/[email protected]@[email protected]'"
Perhaps I just messed up a lot of smalis Maybe I'll wait to JB AllianceROM
Hello,this is my second attempt of modding my phone.This time i "ported" smart rotation.But I'm not sure if it's working because I don't see the eye icon when turning the screen.
I used mr.harsh's ROM as base because I'm using it.So if you want to use this mod without HarshJelly,please unpack the archive,take the app from the hidden folder,paste in system folder,and set permissions.
Download it from here.
For flashing in System partition download from here.
Screenshots:
{
"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"
}
To get yourself it working do this:
Decompile SecSettings.apk,go to smali/com/android/settings,locate DisplaySettings.smali and open it with Notepad++.
Locate the following lines...
.line 406
invoke-virtual {p0}, Lcom/android/settings/DisplaySettings;->getPreferenceScreen()Landroid/preference/PreferenceScreen;
move-result-object v10
iget-object v11, p0, Lcom/android/settings/DisplaySettings;->mSmartRotation:Landroid/preference/CheckBoxPreference;
invoke-virtual {v10, v11}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/PreferenceZ
Click to expand...
Click to collapse
...and delete them.
ionescugeo9942 said:
Hello,this is my second attempt of modding my phone.This time i "ported" smart rotation.But I'm not sure if it's working because I don't see the eye icon when turning the screen.
I used mr.harsh's ROM as base because I'm using it.So if you want to use this mod without HarshJelly,please unpack the archive,take the app from the hidden folder,paste in system folder,and set permissions.
Download it from here.
Screenshots:
Click to expand...
Click to collapse
Can you post a zip file which only pushes the Smart Rotation into system?
Sent from my GT-I9070 using Tapatalk 4 Beta
Jeroenvk94 said:
Can you post a zip file which only pushes the Smart Rotation into system?
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
See the updated OP.:victory:
Its will not work I have done it earlier...more dependence files are required. In this way you can get multiwindow option also in setting. Just search in the same smali and delete the multiwindow lines (which has removePreference)
Jeroenvk94 said:
Can you post a zip file which only pushes the Smart Rotation into system?
Sent from my GT-I9070 using Tapatalk 4 Beta
Click to expand...
Click to collapse
Please do not quote big ass OPs in your reply. There's a simple post reply button at the bottom. :banghead:
P123456 said:
Its will not work I have done it earlier...more dependence files are required. In this way you can get multiwindow option also in setting. Just search in the same smali and delete the multiwindow lines (which has removePreference)
Click to expand...
Click to collapse
S2 has them?
Can i revert it back ?
Divyashwar said:
Can i revert it back ?
Click to expand...
Click to collapse
pass the apk secsettings, some deodex
I have a question
Is it possible to port smart stay???
We was supposed to have it,but Samsung was bad with us
Can we port it from the s3 mini??
Shiningb said:
I have a question
Is it possible to port smart stay???
We was supposed to have it,but Samsung was bad with us
Can we port it from the s3 mini??
Click to expand...
Click to collapse
I really don't know.I looked for Smart Stay files in the settings and framework-res files,but didn't find any.
ionescugeo9942 said:
I really don't know.I looked for Smart Stay files in the settings and framework-res files,but didn't find any.
Click to expand...
Click to collapse
Its funny that, both the s advance and the s3 mini are in almost same price range
And each one has something that the other doesn't have!!
The s advance with auto brightness and see mini with smart stay
Hopefully there is a way we can come across all of the s advance weakness!!
this is my second MOD, today i wana share you how to control the brightness by dragging your StatusBar.
Files needed:
Attached smali files
your brain
step:
decompile you SystemUI.apk
extract my smali to your smali folder
open status_bar.xml and find this code:
Code:
<LinearLayout android:gravity="center" android:orientation="horizontal" android:id="@id/icons" android:layout_width="fill_parent" android:layout_height="fill_parent">
put this code below the '@id/icons' layout:
Code:
<com.example.ucupui.StatusBarBrightness android:layout_width="fill_parent" android:layout_height="wrap_content">
don't forget to close the layout before '</LinearLayout>'
open you AndroidManifest.xml and insert this code:
Code:
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
re-compile the SystemUI
SIGN your SystemUI.apk
Push it to /system/app with rw-r--r--
Fix:
Open StatusBarBrightness$2.smali
find this line:
.line 38 and .line 39
Click to expand...
Click to collapse
rename it to:
.line 39 and .line 40
Click to expand...
Click to collapse
put this code above .line 39:
Code:
.line 38
const-string v2, "power"
invoke-static {v2}, Landroid/os/ServiceManager;->getService(Ljava/lang/String;)Landroid/os/IBinder;
move-result-object v2
invoke-static {v2}, Landroid/os/IPowerManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/os/IPowerManager;
move-result-object v2
invoke-interface {v2, v5}, Landroid/os/IPowerManager;->setBacklightBrightness(I)V
Tester:
Fuad [email protected]
attach ss or video it much better bro
ocoot said:
attach ss or video it much better bro
Click to expand...
Click to collapse
i'm now using CM7, search control brightness from statusbar on youtube.
AuliaYF said:
i'm now using CM7, search control brightness from statusbar on youtube.
Click to expand...
Click to collapse
post the link over here, there is lot of videos in the search results
also there s no such video on your channel
Post any ss....if u any??
Hit
{
"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"
}
Button If This Post Helped You
SS sir. You have? Theres another guide by sir evanlocked. Whats the difference sir?
Too all of you~
http://www.youtube.com/watch?v=qCs6PimukDY
evanlocked's mod using seekbar right? im using statusbar.
AuliaYF said:
http://www.youtube.com/watch?v=qCs6PimukDY
evanlocked's mod using seekbar right? im using statusbar.
Click to expand...
Click to collapse
you said u using cm7. cm7 has statusbar brightness slider by default. how can we be sure if you dont post screenies or a video? the video u showed was:
1.of a htc
2: using cm7
edit: i am not flaming on you, just wanna be sure that this mod is working
SaketJoshi said:
you said u using cm7. cm7 has statusbar brightness slider by default. how can we be sure if you dont post screenies or a video? the video u showed was:
1.of a htc
2: using cm7
edit: i am not flaming on you, just wanna be sure that this mod is working
Click to expand...
Click to collapse
i build this about a month ago with stockrom, but i love cm7 haha
but i tried this and i have some tester outside xda.
AuliaYF said:
i build this about a month ago with stockrom, but i love cm7 haha
but i tried this and i have some tester outside xda.
Click to expand...
Click to collapse
ok then tell that tester to post the video
can you tell where to put the smali files? your instruction was not clear.
Also the codes it <com.example.ucupui.StatusBarBrightness android:layout_width="fill_parent" android:layout_height="wrap_content">
But the attach files includes:
ryan_joshua said:
Also the codes it <com.example.ucupui.StatusBarBrightness android:layout_width="fill_parent" android:layout_height="wrap_content">
But the attach files includes:
Click to expand...
Click to collapse
wtf-_- edited man, thx for reporting :good::good::good::good:
AuliaYF said:
wtf-_- edited man, thx for reporting :good::good::good::good:
Click to expand...
Click to collapse
wrong attachment of smali files?
ryan_joshua said:
wrong attachment of smali files?
Click to expand...
Click to collapse
yah!-__- good luck man:highfive:
youtube tut plz..
<Edited >
i wanna add this mod to my statusbar, but i'm stuck at the part where i have to sign it, do i only need to sign systemui? or do i need to sign the other apks as well? and could anybody please post a link to a guide to signing apks?
mjz2cool said:
i wanna add this mod to my statusbar, but i'm stuck at the part where i have to sign it, do i only need to sign systemui? or do i need to sign the other apks as well? and could anybody please post a link to a guide to signing apks?
Click to expand...
Click to collapse
check the general section, there's a tut how to disable signature check, im using opera mini, i forget the link.
AuliaYF said:
check the general section, there's a tut how to disable signature check, im using opera mini, i forget the link.
Click to expand...
Click to collapse
isn't that for flashable zips?
So it turns out that you can easily enable theme support on the stock N3 launcher that is the same as what you get on the S5 launcher
{
"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"
}
Let's get started.
Items you will need
apktool or baksmali+smali
SecLauncher4.apk from /system/priv-app
Click to expand...
Click to collapse
Modding SecLauncher4.apk
Decompile SecLauncher4.apk
Navigate to com/android/launcher2
Open Launcher.smali and look for the following method
Code:
.method static constructor <clinit>()V
Take a look at the constants at the very beginning of this method, it should look something like this:
Code:
const/4 v1, -0x1
const/4 v3, 0x1
const/4 v2, 0x0
Take note of the register which holds the value 0x1. In the snippet above, this register would be v3
Now in this same method, scroll down until you find a line similar to the following:
Code:
sput-boolean [color=red]v2[/color], Lcom/android/launcher2/Launcher;->CSCFEATURE_LAUNCHER_HOMESCREENEDITMODE:Z
Replace v2 (or whatever register is used in your code) with the register that you took note of in the previous step. (Would be the v3 register using my snippet of code as an example). Your final code should look like this:
Code:
sput-boolean [color=blue]v3[/color], Lcom/android/launcher2/Launcher;->CSCFEATURE_LAUNCHER_HOMESCREENEDITMODE:Z
Now continue to scroll down in this same method until you find the first occurrence of CSCFEATURE_LAUNCHER_THEME_ENABLE. Code should look similar to this:
Code:
sput-boolean [color=red]v2[/color], Lcom/android/launcher2/Launcher;->CSCFEATURE_LAUNCHER_THEME_ENABLE:Z
Replace the register with the 0x1 register as you did for CSCFEATURE_LAUNCHER_HOMESCREENEDITMODE. Final code should look like this (v3 is the 0x1 register from my example code):
Code:
sput-boolean [color=blue]v3[/color], Lcom/android/launcher2/Launcher;->CSCFEATURE_LAUNCHER_THEME_ENABLE:Z
Save and close Launcher.smali
Recompile SecLauncher4.apk
Install SecThemeChooser.apk (you can grab it HERE) and that's it! You now have theme chooser support on your launcher. You can find themes in THIS THREAD as well as in the zip attached to this post. Enjoy!
Click to expand...
Click to collapse
[SIZE=+1]NOTE: Make sure to install SecThemeChooser.apk and themes (duh) or this mod will be useless!![/SIZE]
Or this http://forum.xda-developers.com/showthread.php?t=2722650
But still nice work
I like your flashlight mod from here http://forum.xda-developers.com/showthread.php?t=2617552
I wish you could update this brightness toggle mod for 4.4 (I'll really appreciate it) http://forum.xda-developers.com/showthread.php?t=2188503
Walter.White said:
Or this http://forum.xda-developers.com/showthread.php?t=2722650
But still nice work
I like your flashlight mod from here http://forum.xda-developers.com/showthread.php?t=2617552
I wish you could update this brightness toggle mod for 4.4 (I'll really appreciate it) http://forum.xda-developers.com/showthread.php?t=2188503
Click to expand...
Click to collapse
Yeah but I hate xposed with a passion. Whenever mods can be implemented natively I prefer to go that route
CNexus said:
Yeah but I hate xposed with a passion. Whenever mods can be implemented natively I prefer to go that route
Click to expand...
Click to collapse
I agree, I hate xposed in my roms....
I want to say thanks for this, awesome work....very cool indeed.
Again, thank you sir!
Walter.White said:
Or this http://forum.xda-developers.com/showthread.php?t=2722650
But still nice work
I like your flashlight mod from here http://forum.xda-developers.com/showthread.php?t=2617552
I wish you could update this brightness toggle mod for 4.4 (I'll really appreciate it) http://forum.xda-developers.com/showthread.php?t=2188503
Click to expand...
Click to collapse
4.4 already has the hide show brightness bar mod implemented,
you just need to broadcast 'notification_panel_brightness_adjustment' as your android id
Anyone have a flash able zip? I'm too scared to mess something up lol
Sent from my SM-N900V using XDA Premium 4 mobile app
Lol I know I'm late af on this. But how do we do this on lollipop? Seclauncher4 isn't there