[mod] Turn on Application permissions for Settings on Lollipop (App opps) - Galaxy S 4 Themes and Apps

I have added functionality Applications Permissions (app oops)on stock rom Lollipop. No need to install any third party applications .(tested on I9500 stock rom).
Guide :
_ Decomplies Secsettings.apk
_ Go to values/strings.xml, add this code
Code:
<string name="app_ops_settings_summary">Manage app permissions</string>
You can translate "Manage app permissions" into your local language.
_Go to xml/security_settings_misc.xml
Add this code : (add to wherever you want)
Code:
[COLOR="Blue"]<Preference android:title="@string/app_ops_settings" android:key="app_ops_summary" android:summary="@string/app_ops_settings_summary" android:fragment="com.android.settings.applications.AppOpsSummary" />[/COLOR]
Below this code like this
Code:
<PreferenceCategory android:persistent="false" android:title="@string/device_admin_title" android:key="device_admin_category">
[COLOR="blue"]<Preference android:title="@string/app_ops_settings" android:key="app_ops_summary" android:summary="@string/app_ops_settings_summary" android:fragment="com.android.settings.applications.AppOpsSummary" />[/COLOR]
Recomplie.

Great MOD .. +1 Sure

dedichthui said:
I have added functionality Applications Permissions (app oops)on stock rom Lollipop. No need to install any third party applications .(tested on I9500 stock rom).
DOWNLOAD
Copy to Priv-app/secsettings/ .( Backup you file.)
Reboot
Click to expand...
Click to collapse
Bro.. can u tell me how did u do that ?
Or can u mod a secsettings.apk for me for revolution ROM (I9500) ?

any mod for i9505??????

Please tell us how to do this mod.

Working on qualcomm version after little edit
It was a desperately needed feature. So, I just took risk, and after initial failure, it is working.
I just renamed it to 'SecSettings.apk' from 'secsettings.apk' on my i337 (Canadaian S4)

any guide please?

Please make a guide :3

app opps
Guihardrock said:
Please make a guide :3
Click to expand...
Click to collapse
good afternoon
To have it exactly like you have to go to res / xml / security_settings_misc.xml and type red line between the two lines in black .. My English is bad and is translated by google .. Greetings
</PreferenceCategory>
<PreferenceCategory androidersistent="false" android:title="@string/device_admin_title" android:key="device_admin_category">
<Preference android:title="@string/app_ops_settings" android:key="app_ops_summary" android:summary="@string/app_ops_settings_summary" android:fragment="com.android.settings.applications.AppOpsSummary" />
<Preference androidersistent="false" android:title="@string/application_function_control" android:key="app_ops" android:summary="@string/app_ops_settings_summary" android:fragment="com.android.settings.applications.AppOpsSummary" />

Thanks for the guide. Working on my phone just fine.
Sent from my GT-I9505

work perfect!

a.raul said:
good afternoon
To have it exactly like you have to go to res / xml / security_settings_misc.xml and type red line between the two lines in black .. My English is bad and is translated by google .. Greetings
</PreferenceCategory>
<PreferenceCategory androidersistent="false" android:title="@string/device_admin_title" android:key="device_admin_category">
<Preference android:title="@string/app_ops_settings" android:key="app_ops_summary" android:summary="@string/app_ops_settings_summary" android:fragment="com.android.settings.applications.AppOpsSummary" />
<Preference androidersistent="false" android:title="@string/application_function_control" android:key="app_ops" android:summary="@string/app_ops_settings_summary" android:fragment="com.android.settings.applications.AppOpsSummary" />
Click to expand...
Click to collapse
thank you so much. i am trying to make my own rom little by little :3

bobfrantic said:
Thanks for the guide. Working on my phone just fine.
Sent from my GT-I9505
Click to expand...
Click to collapse
can you share your mod please? :fingers-crossed:

Battery Status Force close.

dedichthui said:
I have added functionality Applications Permissions (app oops)on stock rom Lollipop. No need to install any third party applications .(tested on I9500 stock rom).
DOWNLOAD
Copy to Priv-app/secsettings/ .( Backup you file.)
Reboot
Click to expand...
Click to collapse
link is dead :crying::crying:

Related

[100% tested]14 toggle for Stock rom

14 toggle status bar for Stock user.
LINK [don't mirror]
flash it via CWM
bug: flashlight doesnot work( try if anyone fix it)
remark: tested by me 100% working
Credit: zaidak
Hit Thanx....if it works for u.....
How about brightness slider?
From: Somewhere In Neverland
You will have to sign your whole rom if you want the flashlight bug to be fixed.
Ne.xt said:
You will have to sign your whole rom if you want the flashlight bug to be fixed.
Click to expand...
Click to collapse
Means.....what do you mean by sign ?
Ne.xt said:
You will have to sign your whole rom if you want the flashlight bug to be fixed.
Click to expand...
Click to collapse
CrazeXDA said:
How about brightness slider?
From: Somewhere In Neverland
Click to expand...
Click to collapse
I don't make it...one of my friend create this....If anyone make this it better ( adding brightness slider, swype to remove , Change toggle icon etc) then try.....
imElectronica said:
Means.....what do you mean by sign ?
Click to expand...
Click to collapse
Sign all apk's in the whole rom, in the "app" and "framework" folders. Rom Developers here in this section did it to fix the flashlight bug. But I think Google Play Services won't work anymore when you signed your rom because their apk signatures would conflict.
Ne.xt said:
Sign all apk's in the whole rom, in the "app" and "framework" folders. Rom Developers here in this section did it to fix the flashlight bug. But I think Google Play Services won't work anymore when you signed your rom because their apk signatures would conflict.
Click to expand...
Click to collapse
then what i do ??
imElectronica said:
then what i do ??
Click to expand...
Click to collapse
Just leave it as it is, or if you want it fixed, sign your rom.
Ne.xt said:
Sign all apk's in the whole rom, in the "app" and "framework" folders. Rom Developers here in this section did it to fix the flashlight bug. But I think Google Play Services won't work anymore when you signed your rom because their apk signatures would conflict.
Click to expand...
Click to collapse
Ne.xt said:
Just leave it as it is, or if you want it fixed, sign your rom.
Click to expand...
Click to collapse
How to sign ?? tuts plz...
imElectronica said:
How to sign ?? tuts plz...
Click to expand...
Click to collapse
Use dsixda's Android Kitchen. http://forum.xda-developers.com/showthread.php?t=633246
FlashLight!!!
FLASHLIGHT
if your phone does not have flashlight and you want to turn your normal screen into flashlight, then modify the manifest.xml file in the root of your decompiled working folder ie working/manifest.xml to look like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:sharedUserId="android.uid.system" androidrocess="system" android:versionCode="10" android:versionName="2.3.6" package="com.android.systemui"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="10" android:targetSdkVersion="10" />
<uses-permission android:name="android.permission.STATUS_BAR_SERVICE" />
<uses-permission android:name="android.permission.MANAGE_USB" />
<application android:label="@string/app_label" android:icon="@drawable/ic_launcher_settings" android:allowClearUserData="false" androidersistent="true">
<service android:name=".statusbar.StatusBarService" android:exported="false" />
<activity android:name=".usb.UsbStorageActivity" android:excludeFromRecents="true" />
<activity android:theme="@android:style/Theme.IconMenu" android:name="com.android.internal.app.ExternalMediaFormatActivity" android:excludeFromRecents="true" />
<activity android:theme="@android:style/Theme.IconMenu" android:name=".usb.UsbConfirmActivity" androidermission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true" />
<activity android:theme="@android:style/Theme.IconMenu" android:name=".usb.UsbPermissionActivity" androidermission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true" />
<activity android:theme="@android:style/Theme.IconMenu" android:name=".usb.UsbResolverActivity" androidermission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true" />
<activity android:theme="@android:style/Theme.IconMenu" android:name=".usb.UsbAccessoryUriActivity" androidermission="android.permission.MANAGE_USB" android:exported="true" android:excludeFromRecents="true" android:finishOnCloseSystemDialogs="true" />
<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" />
</application>
</manifest>
Click to expand...
Click to collapse
Notice i merely added the following line
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" />
</application>
Click to expand...
Click to collapse
just before the line starting with </application>.
ensure that in your modified manifest.xml that the start of all the lines with <activity android:............. /> are all in a straight line since the spacing at the beggining of lines is very important.
Note: please, try to read old post or thread before creating a thread. BTW, i'm not opposing u. it's just informative.:good: Guide for this^
sudgai said:
FLASHLIGHT
if your phone does not have flashlight and you want to turn your normal screen into flashlight, then modify the manifest.xml file in the root of your decompiled working folder ie working/manifest.xml to look like this
Code:
Notice i merely added the following line
Code:
just before the line starting with </application>.
ensure that in your modified manifest.xml that the start of all the lines with <activity android:............. /> are all in a straight line since the spacing at the beggining of lines is very important.
Note: please, try to read old post or thread before creating a thread. BTW, i'm not opposing u. it's just informative.:good: Guide for this^
Click to expand...
Click to collapse
But you will have to sign your rom if you modify the manifest.
Sent from my GT-I8190 using xda app-developers app
Ne.xt said:
But you will have to sign your rom if you modify the manifest.
Sent from my GT-I8190 using xda app-developers app
Click to expand...
Click to collapse
yep! but, there are many software to modify MANIFEST in ROM.
there are many ready made MANIFEST folders also u get if u google it to add system app...
just copy the APP to that Zip file and change the Name of author...
That's it!!!
sudgai said:
yep! but, there are many software to modify MANIFEST in ROM.
there are many ready made MANIFEST folders also u get if u google it to add system app...
just copy the APP to that Zip file and change the Name of author...
That's it!!!
Click to expand...
Click to collapse
Tricky! Hahahaha!

[GUIDE] Shadow/gradient on statusbar like GN3/S4/KitKat

Hello,
Already posted HERE, thank you to @ATTACK.
I've tried it and it's works on our Note. You can skip step modify android.policy.jar :good:
ikromy said:
Hello,
Already posted HERE, thank you to @ATTACK.
I've tried it and it's works on our Note. You can skip step modify android.policy.jar :good:
Click to expand...
Click to collapse
What did you exactly do?
Share your moded SystemUI.apk:good:
+ 1000. Also if you have just posted this thread for the sake of it, Mods please close the thread if there is no response from the OP.
mjrifath said:
Share your moded SystemUI.apk:good:
Click to expand...
Click to collapse
Please !!
ikromy said:
Hello,
Already posted HERE, thank you to @ATTACK.
I've tried it and it's works on our Note. You can skip step modify android.policy.jar :good:
Click to expand...
Click to collapse
This is a very intresting thread..please dont close it.. I am facing problem in compling systemui...Please Please..share your SystemUI for stock deodexed rom..
akhil093 said:
This is a very intresting thread..please dont close it.. I am facing problem in compling systemui...Please Please..share your SystemUI for stock deodexed rom..
Click to expand...
Click to collapse
+1! Lost my modded wallpapers with the fake shadow, Please share!
ok
Hello,
there are many ways to make status bar shadow, here's I share the simple way..
1. after decompile your systemUI, Go to SystemUI.apk\res\values and open drawables.xml and focus on this line and remove it:
Code:
<item type="drawable" name="status_bar_background">xxxxxxxxxxxxxxxxx</item>
2. create file : \SystemUI.apk\res\drawable\status_bar_background.xml and fill with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#00000000" android:endColor="#66000000" android:angle="@integer/status_bar_recents_bg_gradient_degrees" name="status_bar_background" />
</shape>
in previous guide, the developer wrote "android:endColor" with value "#99000000", it's your choices...
3. Compile it. Done.
Download HERE from Sweet ROM 10.5 Black
ikromy said:
Hello,
there are many ways to make status bar shadow, here's I share the simple way..
1. after decompile your systemUI, Go to SystemUI.apk\res\values and open drawables.xml and focus on this line and remove it:
Code:
<item type="drawable" name="status_bar_background">xxxxxxxxxxxxxxxxx</item>
2. create file : \SystemUI.apk\res\drawable\status_bar_background.xml and fill with this :
Code:
<?xml version="1.0" encoding="utf-8"?>
<shape
xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:startColor="#00000000" android:endColor="#66000000" android:angle="@integer/status_bar_recents_bg_gradient_degrees" name="status_bar_background" />
</shape>
in previous guide, the developer wrote "android:endColor" with value "#99000000", it's your choices...
3. Compile it. Done.
Download HERE from Sweet ROM 10.5 Black
Click to expand...
Click to collapse
A BIG THANKS to you mate... you made my day ... THANK YOU SOOO MUCH BRO..
ikromy said:
Hello,
Already posted HERE, thank you to @ATTACK.
I've tried it and it's works on our Note. You can skip step modify android.policy.jar :good:
Click to expand...
Click to collapse
Can you please share your transparent Google search box (5x1) widget .. as in your screenshots... I searched it evrywhere on xda and google but everytime i found 4x1 (non-resizeable)...which doesn't suits to our note...please share if you have..
ok
akhil093 said:
Can you please share your transparent Google search box (5x1) widget .. as in your screenshots... I searched it evrywhere on xda and google but everytime i found 4x1 (non-resizeable)...which doesn't suits to our note...please share if you have..
Click to expand...
Click to collapse
tomorow
ikromy said:
tomorow
Click to expand...
Click to collapse
Thanks in advance.
1) the shadow is too low --> works fine
2) Doesnt really work well, coz i also use Tinted Status bar.. doesnt work with tht.
3) Doesnt work with Gravity Box either.

[GUIDE][ALL JB] HOW TO TABBED SETTING (With Swipe Gesture)

Once again, I Comeback with my GUIDE.
This time I will give you abaout HOW TO TABBED SETTING...
This GUIDE will work on JB 4.1 and 4.2, i have tasted it in my Micromax A110 stock JB 4.1...
OK Lets go
Requirement ::
Knowing about compile and decompile
Srttings.apk
Steps
1. Decompile Youe Settings.apk
2. Download file from attachments, ekstrak, and put it in each place/folder
3. Navigate to values/ids and add this
HTML:
<item type="id" name="tabHost">false</item>
<item type="id" name="tabsLayout">false</item>
<item type="id" name="tabsText">false</item>
4. In the same folder, Open Strings and add this
HTML:
<string name="personal_settings_tab">StockJBMood</string>
<string name="program_settings_tab">Tentang Perangkat</string>
5. Done, Recompile
6. Decompile again your settings.
7. Open public.xml and don't close it
8. Go to smali/com/android/settinggs
HTML:
[B][COLOR="Red"]PersonalSettings.smali[/COLOR][/B]
ctrl+f in there smali ctrl+f in your public, replace with ur code
0x7f05004d personal_settings
0x7f040099 speed_container
ProgramSettings.smali
0x7f05004e program_settings
0x7f040099 speed_container
TabbedSettings$1.smali
0x7f110001 slide_in_right
0x7f11 slide_in_left (ONLY 4 KODE)
TabbedSettings.smali
0x7f110002 slide_out_left
0x7f110003 slide_out_right
0x7f04009b tab_indicator
0x7f080254 tabsText
0x7f04009a tab_content
0x7f080252 tabHost
9. Go to AndroidManifest.xml and find this code
HTML:
<activity android:label="@string/settings_label_launcher" android:name="Settings" android:taskAffinity="com.android.settings" android:launchMode="singleTask" android:configChanges="mcc|mnc|keyboardHidden|orientation|screenSize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
and replace with this code
HTML:
<activity android:theme="@*android:style/Theme.NoTitleBar" android:label="@string/settings_label_launcher" android:name="TabbedSettings" android:process="com.android.settings" android:taskAffinity="com.android.settings" android:clearTaskOnLaunch="true" android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<action android:name="android.settings.SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="PersonalSettings" />
<activity android:name="ProgramSettings" />
<activity android:name="DeviceInfoSettings" />
<activity android:label="@string/settings_label_launcher" android:name="Settings">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
10. Done
11. Recompile your settings
12. Sign and Push it
SS :: See attachments
Original Post/Source :: http://archiveandroid.blogspot.com
IF THIS GUIDE HELPED YOU, DONT SAY THANKS BUT PRESS IT :good:​
Good Work
Nice guide kk
Sent from my GT-S6310 using XDA Premium 4 mobile app
please share your system ui ♥ its awsum
its for which rom ?
Nice guide sir :good:
pavan kr said:
Good Work
Click to expand...
Click to collapse
Thanks bro
dikulbahrian said:
Nice guide kk
Sent from my GT-S6310 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Aku rapopo
hardik190 said:
please share your system ui ♥ its awsum
its for which rom ?
Click to expand...
Click to collapse
This is for another device bro, if you want it, go here
crazy_user said:
Nice guide sir :good:
Click to expand...
Click to collapse
thoanks bro
yo akang, how to add battery level like yours?
is this guide work on cm11 (4.4.2)
if cant, could u help me to make this for 4.4.2?
nuhun
Going to try it today
bagustinov said:
5. Done, Recompile
Click to expand...
Click to collapse
getting error in this step using android multitool
Code:
.\Decompiled_apk\SecSettings\smali\android\support\v4\view\PagerAdapter.smali[83,4] Invalid literal value: 16256. Low 16 bits must be zeroed out.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/support/v4/view/PagerAdapter.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
The system cannot find the file specified.
The system cannot find the file specified.
r2dak said:
getting error in this step using android multitool
Code:
.\Decompiled_apk\SecSettings\smali\android\support\v4\view\PagerAdapter.smali[83,4] Invalid literal value: 16256. Low 16 bits must be zeroed out.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/support/v4/view/PagerAdapter.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
The system cannot find the file specified.
The system cannot find the file specified.
Click to expand...
Click to collapse
:crying:me too apking for help!!
leo31 said:
yo akang, how to add battery level like yours?
is this guide work on cm11 (4.4.2)
if cant, could u help me to make this for 4.4.2?
nuhun
Click to expand...
Click to collapse
batre level its default rom bro, just change the font
i don't know, coz i haven't 4.4.2 device :crying:
r2dak said:
getting error in this step using android multitool
Code:
.\Decompiled_apk\SecSettings\smali\android\support\v4\view\PagerAdapter.smali[83,4] Invalid literal value: 16256. Low 16 bits must be zeroed out.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: android/support/v4/view/PagerAdapter.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
at brut.androlib.Androlib.buildSources(Androlib.java:299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
The system cannot find the file specified.
The system cannot find the file specified.
Click to expand...
Click to collapse
mmm i don't know why, yesterday my frind try it on samsung device, but he get the same brut like yours
taozige said:
:crying:me too apking for help!!
Click to expand...
Click to collapse
Your device ?? if samsung, i really confused whit this u,u
taozige said:
:crying:me too apking for help!!
Click to expand...
Click to collapse
bagustinov said:
batre level its default rom bro, just change the font
i don't know, coz i haven't 4.4.2 device :crying:
mmm i don't know why, yesterday my frind try it on samsung device, but he get the same brut like yours
Your device ?? if samsung, i really confused whit this u,u
Click to expand...
Click to collapse
cmiiw, u need the correct framework-res.apk for recompile it. i did faces the same problem when recompile it. i just dont know which framework that devs use to make this systemui. i tried to install the framework-res.apk from ACE,ACE2,LG G2. but the result is same.
leo31 said:
cmiiw, u need the correct framework-res.apk for recompile it. i did faces the same problem when recompile it. i just dont know which framework that devs use to make this systemui. i tried to install the framework-res.apk from ACE,ACE2,LG G2. but the result is same.
Click to expand...
Click to collapse
I use framework-res.apk from stockrom JB 4.1 Micromax A110 bro, i will upload it for you
try use this framework-res.apk
bagustinov said:
I use framework-res.apk from stockrom JB 4.1 Micromax A110 bro, i will upload it for you
try use this framework-res.apk
Click to expand...
Click to collapse
no, the problem is which framework-res.apk that the devs use to made this systemui.apk if the devs made it with framework-res.apk from micromax a110, u will not found any trouble when recompile it.
Edit : what is your problem? failed when decompile / recompile?
leo31 said:
no, the problem is which framework-res.apk that the devs use to made this systemui.apk if the devs made it with framework-res.apk from micromax a110, u will not found any trouble when recompile it.
Edit : what is your problem? failed when decompile / recompile?
Click to expand...
Click to collapse
This tutor was made by me and I use that framework and I don't get an error (kan ane yang buat masbro :v)
bagustinov said:
This tutor was made by me and I use that framework and I don't get an error (kan ane yang buat masbro :v)
Click to expand...
Click to collapse
owh u are the dev. WKWKWKWKW. i dont know about it Lol. can u share the framework-res.apk ? (sapa tau ane bsa ngotak ngatik) :laugh:
tanya om...
ane dah ikutin tutor n perasaan gk ada yg slh, de/recompile jg sukses. nah giliran stlh ane push ke system kok icon setting nya malah jd hilang? kr2 ap yg salah ya om?
Hey, how did you get all those nice icons in the notification bar in the screenshot?.. Especially the network signal icons?.. I want those! and how did you put them on the left side?..
Sent from my A110 using Tapatalk
shreyas.kelshikar said:
Hey, how did you get all those nice icons in the notification bar in the screenshot?.. Especially the network signal icons?.. I want those! and how did you put them on the left side?..
Sent from my A110 using Tapatalk
Click to expand...
Click to collapse
its my mod, but not for micromax a110 , you can see my mod here http://archiveandroid.blogspot.com/2013/12/theme-stockjbmood-v1-cross-a7s-by-me.html
but if you want left signal i'll upload my gemini status bar and the icon for you

[MOD] 4.4.2 TW enable App Ops

All credits to @Calkulin his thread: Enable App Ops again in 4.4.2 / KOT49H
But, we don't need to touch the smali, because code is already there.
Needed tools:
Apktool
Notepad++
1. Decompile SecSettings.apk
2. Navigate to \res\xml
3. Open general_headers.xml
4. Find : ic_settings_applications
Delete RED lines.
Add BLUE line.
Code:
<header android:icon="@drawable/[COLOR="green"]ic_settings_applications[/COLOR]" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
[COLOR="Red"] <header android:icon="@drawable/ic_settings_applicationpermissions" android:id="@id/application_function_control" android:title="@string/application_function_control">
<intent android:targetPackage="com.sec.android.app.capabilitymanager" android:targetClass="com.sec.android.app.cm.ui.CMApplicationListActivity" />
</header>[/COLOR]
[COLOR="Blue"]<header android:icon="@drawable/ic_settings_applicationpermissions" android:title="@string/app_ops_settings" android:key="app_ops_summary" android:summary="@string/application_function_control" android:fragment="com.android.settings.applications.AppOpsSummary" />[/COLOR]
<header android:icon="@drawable/ic_setting_launch_apps" android:id="@id/launch_application_settings" android:title="@string/launch_application_settings" android:fragment="com.android.settings.LaunchApplication" />
5. Save your changes
6. Build SecSettings.apk
7. Push to your Phone, set permissions, reboot
work on I9500?
tkari4 said:
All credits to @Calkulin his thread: Enable App Ops again in 4.4.2 / KOT49H
But, we don't need to touch the smali, because code is already there.
Needed tools:
Apktool
Notepad++
1. Decompile SecSettings.apk
2. Navigate to \res\xml
3. Open general_headers.xml
4. Find : ic_settings_applications
Delete RED lines.
Add BLUE line.
Code:
<header android:icon="@drawable/[COLOR="green"]ic_settings_applications[/COLOR]" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
[COLOR="Red"] <header android:icon="@drawable/ic_settings_applicationpermissions" android:id="@id/application_function_control" android:title="@string/application_function_control">
<intent android:targetPackage="com.sec.android.app.capabilitymanager" android:targetClass="com.sec.android.app.cm.ui.CMApplicationListActivity" />
</header>[/COLOR]
[COLOR="Blue"]<header android:icon="@drawable/ic_settings_applicationpermissions" android:title="@string/app_ops_settings" android:key="app_ops_summary" android:summary="@string/application_function_control" android:fragment="com.android.settings.applications.AppOpsSummary" />[/COLOR]
<header android:icon="@drawable/ic_setting_launch_apps" android:id="@id/launch_application_settings" android:title="@string/launch_application_settings" android:fragment="com.android.settings.LaunchApplication" />
5. Save your changes
6. Build SecSettings.apk
7. Push to your Phone, set permissions, reboot
Click to expand...
Click to collapse
work on I9500(4.4.2)?
thx
kin201303 said:
work on I9500(4.4.2)?
thx
Click to expand...
Click to collapse
I don't know...
Try it out.
csc/others.xml
add
<CscFeature_Common_ConfigLocalSecurityPolicy>ChinaNalSecurity</CscFeature_Common_ConfigLocalSecurityPolicy>
copy ApplicationPermissions.apk and AutoRunChecker.apk to system/app
kin201303 said:
work on I9500(4.4.2)?
thx
Click to expand...
Click to collapse
If you gave a beautiful rating for the thread, than:
THX,
this is a Note 3 section,
without an S4 I can't test it.
If wasn't you, than forget it.
tkari4
Hi! Can I ask you to push here already modified file? Thank you!
tkari4 said:
If you gave a beautiful rating for the thread, than:
THX,
...
Click to expand...
Click to collapse
That was me
Sent from my SM-N9005
Techn1cian said:
tkari4
Hi! Can I ask you to push here already modified file? Thank you!
Click to expand...
Click to collapse
Of course, download link in the OP.
lqhorochi said:
csc/others.xml
add
<CscFeature_Common_ConfigLocalSecurityPolicy>ChinaNalSecurity</CscFeature_Common_ConfigLocalSecurityPolicy>
copy ApplicationPermissions.apk and AutoRunChecker.apk to system/app
Click to expand...
Click to collapse
First Time i've seen this mod at any forum. This actually works and its great. When AppOps is enabled, the Permission controller will not work. But the Autorun Manager is working.

[TUT]Developing G3 TweaksBox Themes

As many of you know, in the new release of G3 TweaksBox i implemented a theme engine that allows users to develop their own themes.Creating themes is really simple:at the end of this post you can find a theme example i created with resources provided by @Kickoff and an empty theme template you can use to develop your own themes.
What can you theme ?
SystemUI(see LGSystemUI.apk)
LockScreen(see LGKeyguard.apk)
Phonebook,InCallUI,TeleService(see LGContacts.apk,InCallUI.apk,LGTeleservice.apk)
Message App(see LGMessage.apk)
Settings(see LGSettings.apk and LGEasySettings.apk)
More to come....
1)Modify the package name:
Open the MANIFEST(AndroidManifest.xml) and change the package name.
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="[COLOR="Red"][B]it.ptoti.systemui_theme.htc[/B][/COLOR]"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="19" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="it.ptoti.systemui_theme.htc.MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<action android:name="it.ptoti.g3_tweaksbox.systemui.THEME"/>
<!-- <action android:name="it.ptoti.g3_tweaksbox.settings.THEME"/> -->
<!-- <action android:name="it.ptoti.g3_tweaksbox.lockscreen.THEME"/> -->
<!-- <action android:name="it.ptoti.g3_tweaksbox.incallui.THEME"/> -->
<!-- <action android:name="it.ptoti.g3_tweaksbox.phonebookapp.THEME"/> -->
<!-- <action android:name="it.ptoti.g3_tweaksbox.messageapp.THEME"/> -->
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
</application>
</manifest>
2)Change Theme Name:
Open the strings.xml file(res/values/) and change the theme name
Code:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">[COLOR="Red"]HTC Panel THEME<[/COLOR]/string>
</resources>
2-1)Add Intents in the Manifest File:
Code:
<action android:name="it.ptoti.g3_tweaksbox.systemui.THEME"/> [COLOR="Red"]for the LGSystemUI[/COLOR]
<action android:name="it.ptoti.g3_tweaksbox.settings.THEME"/> [COLOR="red"] for the LGSettings[/COLOR]
<action android:name="it.ptoti.g3_tweaksbox.easysettings.THEME"/> [COLOR="red"] for the LGEasySettings[/COLOR]
<action android:name="it.ptoti.g3_tweaksbox.lockscreen.THEME"/> [COLOR="red"]for LGKeyGuard[/COLOR]
<action android:name="it.ptoti.g3_tweaksbox.incallui.THEME"/> [COLOR="red"] for InCallUi[/COLOR]
<action android:name="it.ptoti.g3_tweaksbox.teleservice.THEME"/> [COLOR="red"] for TeleService[/COLOR]
<action android:name="it.ptoti.g3_tweaksbox.phonebookapp.THEME"/> [COLOR="red"]for LGContacts[/COLOR]
<action android:name="it.ptoti.g3_tweaksbox.messageapp.THEME"/> [COLOR="red"]for LGMessage[/COLOR]
Manifest example : Here you can see a manifest example of theme for SystemUI and Settings only
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="it.ptoti.systemui_theme.template"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="19" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="it.ptoti.systemui_theme.htc.MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
[COLOR="red"][SIZE="3"] <action android:name="it.ptoti.g3_tweaksbox.systemui.THEME"/>
<action android:name="it.ptoti.g3_tweaksbox.settings.THEME"/>[/SIZE][/COLOR]
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
</application>
</manifest>
3)REPLACING RESOURCES:
REPLACING QUICKSETTINGS' ICONS AND ANIMATIONS:
You just have to put your modified resources in the relative folders. Drawables MUST have the same name they have in the SystemUI package: if G3 TWB finds them it replaces the original resources with the themes' ones.
Also,you have to add these lines to the theme.xml you can find in the xml folder
<Drawable name="indi_noti_rearrange_normal" />
<Drawable name="indi_noti_rearrange_pressed" />
<Drawable name="quicksetting_button_edit_bg" />
REPLACE OTHER RESOURCES:
Other resources MUST be ALSO defined in the relative xml file you can find in the xml folder:
theme.xml -----------------> For the SystemUI
theme_contacts.xml -------------> For LGContacts.apk
theme_incallui.xml ---------------> For InCallUI.apk
theme_lockscreen.xml -----------> For LGKeyGuard.apk
theme_messageapp --------------> For LGMessage.apk
theme_settings.xml ---------------> For LGSettings.apk
theme_teleservice.xml------------------> For LGTeleService.apk
theme_easysettings.xml---------------> For LGEasySettings.apk
Let's take a look to an example.
Code:
<?xml version="1.0" encoding="utf-8"?>
<G3_TweaksBox_SystemUI_Theme version="1">
<Drawable name="ic_brightness_auto_check"/>
<Drawable name="ic_launcher_settings" />
<Drawable name="scrubber_primary_holo" />
<Drawable name="ic_notify_settings_set" />
<Drawable name="indi_noti_btn_vol_set" />
<Drawable name="ic_notify_quicksetting_brightness_panel" />
<Drawable name="ic_notify_quicksetting_ringtone" />
<Drawable name="indi_noti_btn_clear" />
<Color name="np_clock" replacement="#FF00FF00"/>
<Color name="bg_expanded" replacement="#FF000000" />
</G3_TweaksBox_SystemUI_Theme>
To replace a drawable the syntax is:
Code:
<Drawable name="name_of_original_drawable" replacement="name_of_the_drawable_in_your_theme" / >
The replacement attribute is optional: if you name the drawable as the original one in the SystemUI you can omit it.
You can also replace a Drawable with a color with the following syntax:
Code:
<Drawable name="name_of_original_drawable" replacement="colorDrawable:#AARRGGBB" / >
Where AARRGGBB is the color code in the ARGB format(but you can use also RGB format)
To replace a color the syntax is the following:
Code:
<Color name="name_of_original_color" replacement="#AARRGGBB" />
If you want to replace a drawable(or a color) which is actually in the framework-res you can use the same syntax but you have to add the packageRes attribute, example :
Code:
<Drawable respackage="com.lge" name="switch_thumb_activated_holo_light"/>
To replace a dimension the syntax is the following:
Code:
<Dimen name="name_of_original_dimension" replacement="20.0" />
The replacement must be a dip value not a px one.
To replace an integer the syntax is the following:
Code:
<Integer name="name_of_original_integer" replacement="20" />
To assign a backgound(Drawable or Color) to any layout the syntax is the following :
Code:
<LayoutBackground name="layout_name" background="name_of_the_drawable" />
To assign a background(Drawable or Color) to any child layout the syntax is the following :
Code:
<LayoutBackground name="master_layout_name" child="child_layout_name" background="name_of_the_drawable" />
That's all,remember to sign the theme before trying to install it. The TUT will be updated when new features are added to the theme engine.
Very good work!
Just what I needed. Thanks
blackbearblanc said:
Just what I needed. Thanks
Click to expand...
Click to collapse
what's up black..! u picked up a g3..? NICE..!
Sent from my LGLS990 using Tapatalk
matthew0776 said:
what's up black..! u picked up a g3..? NICE..!
Sent from my LGLS990 using Tapatalk
Click to expand...
Click to collapse
Sis yes sir! Got a free one from LG to review!
blackbearblanc said:
Just what I needed. Thanks
Click to expand...
Click to collapse
I was about to share this with you lol.
blackbearblanc said:
Sis yes sir! Got a free one from LG to review!
Click to expand...
Click to collapse
NICE... so...u got plans with the template..? lol I'm gonna try and get the Candy shop Softkeys going if possible... are u using apktool
Sent from my LGLS990 using Tapatalk
Dammit - howcome i cant import any of them into eclipse??
Nothing happens. And if dragging folder into workspace - it says "Destination folder must be accessible"
---------- Post added at 07:45 PM ---------- Previous post was at 07:34 PM ----------
silly me - yes apktools, not just 7zip
matthew0776 said:
NICE... so...u got plans with the template..? lol I'm gonna try and get the Candy shop Softkeys going if possible... are u using apktool
Sent from my LGLS990 using Tapatalk
Click to expand...
Click to collapse
You can't theme SoftKeys in this way. SoftKeys res are actually out of the SystemUI package. The ROM already comes with a SoftKey theme engine which is fully working if you are using G2/G3 TWB. I explained a long time ago how to develop softkeys themes infact you can find a lot of themes already on the scene
http://forum.xda-developers.com/showthread.php?p=52818274
http://forum.xda-developers.com/showthread.php?p=52818274
http://forum.xda-developers.com/showthread.php?p=52818274
blackbearblanc said:
Dammit - howcome i cant import any of them into eclipse??
Nothing happens. And if dragging folder into workspace - it says "Destination folder must be accessible"
Click to expand...
Click to collapse
They are compiled apk, most themers don't use eclipse just decompile/recompile the package. Anyway i'm more than pleased you use eclipse. Attached you can find the template
P_Toti said:
You can't theme SoftKeys in this way. SoftKeys res are actually out of the SystemUI package. The ROM already comes with a SoftKey theme engine which is fully working if you are using G2/G3 TWB. I explained a long time ago how to develop softkeys themes infact you can find a lot of themes already on the scene
http://forum.xda-developers.com/showthread.php?p=52818274
http://forum.xda-developers.com/showthread.php?p=52818274
http://forum.xda-developers.com/showthread.php?p=52818274
They are compiled apk, most themers don't use eclipse just decompile/recompile the package. Anyway i'm more than pleased you use eclipse. Attached you can find the template
Click to expand...
Click to collapse
so what's themeable ? SystemUI ?
Sent from my LGLS990 using Tapatalk
---------- Post added at 07:10 PM ---------- Previous post was at 07:09 PM ----------
matthew0776 said:
so what's themeable ? SystemUI ?
oh snap...u have some of the CS keys already...sweet..!
Sent from my LGLS990 using Tapatalk
Click to expand...
Click to collapse
Sent from my LGLS990 using Tapatalk
matthew0776 said:
so what's themeable ? SystemUI ?
Sent from my LGLS990 using Tapatalk
Click to expand...
Click to collapse
Also softkeys are themeable, simply you can't theme them using this TUT. If you want i can write another tut explaining how to develop softkeys themes. Anyway yes at the moment you can theme only the SystemUI but, as i explained in the first post the theme engine is in a early stage. It will be much more powerful in the 1.3 and you will able to theme other apps too.
Strings.xml is not present in values folder.
and values 11 and 14 gives me errors. One of them is empty. other one has: <?xml version="1.0" encoding="UTF-8"?>
<resources>
<style name="AppBaseTheme" parent="@android:style/Animation.TypingFilterRestore" />
</resources>
P_Toti said:
Also softkeys are themeable, simply you can't theme them using this TUT. If you want i can write another tut explaining how to develop softkeys themes. Anyway yes at the moment you can theme only the SystemUI but, as i explained in the first post the theme engine is in a early stage. It will be much more powerful in the 1.3 and you will able to theme other apps too.
Click to expand...
Click to collapse
Why it using the default softkeys on the launcher? I never got it.
P_Toti said:
They are compiled apk, most themers don't use eclipse just decompile/recompile the package. Anyway i'm more than pleased you use eclipse. Attached you can find the template
Click to expand...
Click to collapse
AH! Just saw this. Thanks man
---------- Post added at 08:32 PM ---------- Previous post was at 08:28 PM ----------
And we shouldnt edit this in manifest? android:name="it.ptoti.systemui_theme.htc.MainActivity"
blackbearblanc said:
AH! Just saw this. Thanks man
---------- Post added at 08:32 PM ---------- Previous post was at 08:28 PM ----------
And we shouldnt edit this in manifest? android:name="it.ptoti.systemui_theme.htc.MainActivity"
Click to expand...
Click to collapse
You could change the activity name without generating any issue but i don't advice it. Some AV could report the theme as a false positive if the manifest point to a non-existing activity(don't ask me why but i saw this with softkeys themes). If you want to change the name since you are using eclipse you can safely do it with re-factoring: Right click on the activity------------->Refactor------------>Rename
P_Toti said:
You could change the activity name without generating any issue but i don't advice it. Some AV could report the theme as a false positive if the manifest point to a non-existing activity(don't ask me why but i saw this with softkeys themes). If you want to change the name since you are using eclipse you can safely do it with re-factoring: Right click on the activity------------->Refactor------------>Rename
Click to expand...
Click to collapse
Sorry for the noobness. But are we supposed to copy this folder "drawable-640dpi" from the htc example. And then change icons?. ?
Cause That folder is not inside the eclipsetemplate
blackbearblanc said:
Sorry for the noobness. But are we supposed to copy this folder "drawable-640dpi" from the htc example. And then change icons?. ?
Cause That folder is not inside the eclipsetemplate
Click to expand...
Click to collapse
The template is empty. You have to copy high res to drawable-xxxhdpi which is the same of drawable-640dpi. Obviously you can copy all res from the HTC package but you should copy also selectors and anims that are in drawable folder(basically you have copy the drawable and drawable-640dpi folders).
ok - so these need to stay? values-v11
---------- Post added at 09:43 PM ---------- Previous post was at 09:12 PM ----------
Think i got it. Yoav walked me through it
P_Toti said:
Also softkeys are themeable, simply you can't theme them using this TUT. If you want i can write another tut explaining how to develop softkeys themes. Anyway yes at the moment you can theme only the SystemUI but, as i explained in the first post the theme engine is in a early stage. It will be much more powerful in the 1.3 and you will able to theme other apps too.
Click to expand...
Click to collapse
that would be great...I can package more keys from CandyShop ...Cyberscopes included... I can use eclipse or apktool prefer eclipse for something like this tho...
Sent from my LGLS990 using Tapatalk
---------- Post added at 08:44 PM ---------- Previous post was at 08:43 PM ----------
blackbearblanc said:
ok - so these need to stay? values-v11
---------- Post added at 09:43 PM ---------- Previous post was at 09:12 PM ----------
Think i got it. Yoav walked me through it
Click to expand...
Click to collapse
did it compile via Eclipse Black..?
Sent from my LGLS990 using Tapatalk
blackbearblanc said:
ok - so these need to stay? values-v11
Click to expand...
Click to collapse
No, you can delete them. That folder was automatically created, it's not needed for the theme.
matthew0776 said:
that would be great...I can package more keys from CandyShop ...Cyberscopes included... I can use eclipse or apktool prefer eclipse for something like this tho...
Sent from my LGLS990 using Tapatalk
Click to expand...
Click to collapse
Ok, i will write a tut very soon.

Categories

Resources