[Q] How to Delete SPen from Note4 Settings ? - Galaxy S III Themes and Apps

hey guys
Can any one help to delete spen option from note4 secsettings.apk ?!

engloda said:
hey guys
Can any one help to delete spen option from note4 secsettings.apk ?!
Click to expand...
Click to collapse
I did it in my ROM's Note 4 Settings. And removed Private Mode too. You have to decompile SecSettings.apk and remove the item from specific xml file in xml folder and recompile it back. I can write a name of xml file later when I will be at home.

Blekota said:
I did it in my ROM's Note 4 Settings. And removed Private Mode too. You have to decompile SecSettings.apk and remove the item from specific xml file in xml folder and recompile it back. I can write a name of xml file later when I will be at home.
Click to expand...
Click to collapse
very very thanks :good:
I'm waiting for you
Please, do not forget

engloda said:
very very thanks :good:
I'm waiting for you
Please, do not forget
Click to expand...
Click to collapse
1) Decompile SecSettings.apk
2) Go to res/xml and open file: grid_settings_headers.xml
3) Delete line: <header android:icon="@drawable/ic_setting_grid_spen" android:id="@id/pen_settings_menu" android:title="@string/pen_settings_title" android:fragment="com.android.settings.SPenSettingsMenu" />
4) Recompile SecSettings.apk
5) Open old SecSettings.apk and copy META-INF and AndroidManifest.xml into the new compiled SecSettings.apk to sign it.
6) Copy SecSettings.apk into Priv-app in the phone using Root explorer and set permissions to rw-r--r--.
7) Reboot phone and it's done
I hope that this can help you

Blekota said:
1) Decompile SecSettings.apk
2) Go to res/xml and open file: grid_settings_headers.xml
3) Delete line: <header android:icon="@drawable/ic_setting_grid_spen" android:id="@id/pen_settings_menu" android:title="@string/pen_settings_title" android:fragment="com.android.settings.SPenSettingsMenu" />
4) Recompile SecSettings.apk
5) Open old SecSettings.apk and copy META-INF and AndroidManifest.xml into the new compiled SecSettings.apk to sign it.
6) Copy SecSettings.apk into Priv-app in the phone using Root explorer and set permissions to rw-r--r--.
7) Reboot phone and it's done
I hope that this can help you
Click to expand...
Click to collapse
You are great man :good::good:
very thanks :victory:

engloda said:
You are great man :good::good:
very thanks :victory:
Click to expand...
Click to collapse
You're welcome. I'm glad that my knowledge of Android system can help

Blekota said:
You're welcome. I'm glad that my knowledge of Android system can help
Click to expand...
Click to collapse
You should write book "How to make solid rom for S3". I would buy it.

help
Sorry, i deleted but not successfully ((help me

tanthuychivietnam said:
Sorry, i deleted but not successfully ((help me
Click to expand...
Click to collapse
Same for me but then I also removed references from:
xml/gridlist_settings_headers.xml
xml/general_headers.xml
xml/device_headers_2014.xml
xml/settings_headers.xml
I dont know if this is wrong, but worked for me. Hope it help!

please hepl - how to add spen in setting s6 ???? tks all

Related

[Q]Editing Settings.apk

I've searched everywhere how to edit Settings.apk using Apktool or Apkmanager. but i can't understand it.
i just want to add a description in my Brightness settings Powered by WhiteMagic.
what should i do? please help me.
rambg2 said:
I've searched everywhere how to edit Settings.apk using Apktool or Apkmanager. but i can't understand it.
i just want to add a description in my Brightness settings Powered by WhiteMagic.
what should i do? please help me.
Click to expand...
Click to collapse
Download apktool by iBotpeaches. Get the aapt for windows. Extract both the things in the same folder. Get framework-res.apk and SemcGenericUxpRes.apk in /system/framework and place it in this folder. Now shift+right click in that folder and open cmd there. Type - apktool if framework-res.apk nozomi
Then type - apktool if SemcGenericUxpRes.apk nozomi
Now place settings.apk in that same folder and type - apktool d -f -t nozomi Settings.apk
Then make any changes that you want to do and type - apktool b Settings
Collect your new apk in Settings/dist. Then open your original settings.apk with winrar and also open your new apk with winter. Copy the Meta-inf folder from old to new and chose store as compression method. Enjoy!
Sent from my LT26i using xda app-developers app
abcdjdj said:
Download apktool by iBotpeaches. Get the aapt for windows. Extract both the things in the same folder. Get framework-res.apk and SemcGenericUxpRes.apk in /system/framework and place it in this folder. Now shift+right click in that folder and open cmd there. Type - apktool if framework-res.apk nozomi
Then type - apktool if SemcGenericUxpRes.apk nozomi
Now place settings.apk in that same folder and type - apktool d -f -t nozomi Settings.apk
Then make any changes that you want to do and type - apktool b Settings
Collect your new apk in Settings/dist. Then open your original settings.apk with winrar and also open your new apk with winter. Copy the Meta-inf folder from old to new and chose store as compression method. Enjoy!
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
I just think his problem isn't on how to compile/recompile, but wheter on where to edit it.
thanks man, that's my another problem. I finally solved how to compile settings.apk. My only problem now is how to show the "Powered by WhiteMagic" on the brightness in settings. do you know how to do it? Thank you in advance mate!
EDIT: I already compiled it. but i can't make it work on my phone. the Settings are missing when i replace it with my new one. Sorry for my English
I just think his problem isn't on how to compile/recompile, but wheter on where to edit it.
Click to expand...
Click to collapse
that's my main problem is.
rambg2 said:
that's my main problem is.
Click to expand...
Click to collapse
Ok. I can trying doing it, if you help me with something else. I will give you an Settings.apk. You gonna decompile it and look at every .xml file for the WhiteMagic line. When you find it, I will try to add it and help ya.
Here is it: Decompile, go at all .xml files and search for WhiteMagic inside the .xmls. When you find, tell me the file and in which line it is located.
Sorry: Dropbox failed. I will get you the link when it works again.
okay! please upload here the file. Thank You Mate!
EDIT: okay i'll just wait until you fix your DropBox.
rambg2 said:
okay! please upload here the file. Thank You Mate!
EDIT: okay i'll just wait until you fix your DropBox.
Click to expand...
Click to collapse
Here is it:
https://www.dropbox.com/s/qhu7buabnalj64w/Settings.apk
Good luck
I found in folder res/values/string.xml i found it there.
and the others is in the
res/value-xx and res/value-xx-mdpi every folder of that inside the string have whitemagic thins.
in every string.xml there is Powered by Whitemagic.
rambg2 said:
I found in folder res/values/string.xml i found it there.
and the others is in the
res/value-xx and res/value-xx-mdpi every folder of that inside the string have whitemagic thins.
in every string.xml there is Powered by Whitemagic.
Click to expand...
Click to collapse
Thanks. That should do it. I will take a look at it when I have access to my PC. Should be fairly easy to do. I will test on my first, and if I manage, you can upload yours so O can mod for you.
Wow... This is harder than I thought. But Niaboc helped me find it. He will teach me so I can do it myself
Sent From my LT26i using Tapatalk HD

[GUIDE][MOD] Enable navigation bar 4.2.2

This is a quick dev guide to enable navigation bar for S4.
Decompile SystemUI.apk go to res/values/drawables and add:
Code:
[COLOR=#8b008b]<item [COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]="drawable"[/COLOR] [COLOR=#ff0000]name[/COLOR][COLOR=#0000ff]="tw_navigationbar_bg"[/COLOR]>[/COLOR]#ff000000[COLOR=#8b008b]</item>[/COLOR]
Now download attached files and copy files to corresponding folders in SystemUI.apk if folder does not exist(drawables-xhdpi) create it.
Compile SystemUI.apk and push to device (nothing will happen yet) Just to check device boots fine.
Now use any buil.prop editor and add line:
Code:
qemu.hw.mainkeys=0
You can also enable it now through framework-res method.
Reboot and your done.
Please hit thanks and give credits.
Hi OP,
This looks just what I've been waiting for - if only there was a way to disable the stock menu and back buttons; my only gripe with the S4 is that I'm always touching one of theses buttons accidentally
JibbaJoy said:
Hi OP,
This looks just what I've been waiting for - if only there was a way to disable the stock menu and back buttons; my only gripe with the S4 is that I'm always touching one of theses buttons accidentally
Click to expand...
Click to collapse
This can easily be done when I find time I will add how to.
Sent from my GT-I9505 using xda premium
works perfect but no text under buttons below could you add them
I can´t find the /values/drawables after extracted the SystemUI.apk ? And where to add the following code please.
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
missing /values/drawables
https://dl.dropboxusercontent.com/u/41923164/Untitled.png
janjan said:
I can´t find the /values/drawables after extracted the SystemUI.apk ? And where to add the following code please.
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
missing /values/drawables
https://dl.dropboxusercontent.com/u/41923164/Untitled.png
Click to expand...
Click to collapse
you have to put <item type="drawable" name="tw_navigationbar_bg">#ff000000</item> inside drawables.xml, you can find it under decompiled SystemUI.apk /res/values
edit: copy the files to SystemUI.apk/res and add the line qemu.hw.mainkeys=0 with root explorer (text editor mode) in build.prop
bruzski said:
you have to put <item type="drawable" name="tw_navigationbar_bg">#ff000000</item> inside drawables.xml, you can find it under decompiled SystemUI.apk /res/values
edit: copy the files to SystemUI.apk/res and add the line qemu.hw.mainkeys=0 with root explorer (text editor mode) in build.prop
Click to expand...
Click to collapse
But after decompiled SystemUI.apk. /res/values is missing. Se the picture which i post above. thanks
janjan said:
But after decompiled SystemUI.apk. /res/values is missing. Se the picture which i post above. thanks
Click to expand...
Click to collapse
decompiled SystemUI.apk doesn't seem complete !! do you get errors while decompiling ? what version of apktool do you use?
I am using APK-Multi-Tool-Stable-RELEASE which is the latest version. no error during decompiling.. Which version do you use? Iam going to decompile it once again.
Edit.. still missing https://dl.dropboxusercontent.com/u/41923164/missing.png
i use ApkManager V6.1, works great!
Deleted
it seems this method is not working for me. i followed the instructions on the OP
include framework-res.apk, twframework-res.apk with "apktool if"
decomplie systemui.apk
modify res/values/drawables.xml to include <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
copy and replace files from the Navigation.zip into the res folder
recompile systemui.apk
i get a lot of @Styles errors and no default warnings when i try to compile
I tried using both latest version of apktool v152 and aapt from feb 2013 method and apkmanager v6.1 method and the results are the same
after i cleared the @style warnings with the "+" solution I am able to compile systemui.apk but when I copy it onto my device I lost the status bar and I still cant enable the navigation bar.
anyone else getting the same results?
TIA
Decompile errors
I'm trying to decompile SystemUI.apk (copied it from my phone "system\app" to "\place-apk-here-for-modding" folder) using ApkManager V6.1.
I'm getting an error message. Can somebody help please ? Log is attached.
Thanks!
Ok. I was able to decompile SystemUI.apk using ApkManager V6.1. The problem was in missing framework-res.apk and twframework-res.apk in "apktool" folder.
Now I'm getting errors on apk compilation. Please take a look at the attached log file. What am I missing now ?
Thank you!
hocgwai said:
it seems this method is not working for me. i followed the instructions on the OP
include framework-res.apk, twframework-res.apk with "apktool if"
decomplie systemui.apk
modify res/values/drawables.xml to include <item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
copy and replace files from the Navigation.zip into the res folder
recompile systemui.apk
i get a lot of @Styles errors and no default warnings when i try to compile
I tried using both latest version of apktool v152 and aapt from feb 2013 method and apkmanager v6.1 method and the results are the same
after i cleared the @style warnings with the "+" solution I am able to compile systemui.apk but when I copy it onto my device I lost the status bar and I still cant enable the navigation bar.
anyone else getting the same results?
TIA
Click to expand...
Click to collapse
I just noticed that I have exactly the same problem as you are. Were you able to get it working ?
Its is more difficult decompiling and recompiling S4 SystemUI and I don't have time to write a tut now so 2 options
Use this you can turn nav bar on off with settings app or
Use this SystemUI.apk I have done the work for you it will recompile as normal and the only mod is %battery apart from that it is stock.
gharrington said:
Its is more difficult decompiling and recompiling S4 SystemUI and I don't have time to write a tut now so 2 options
Use this you can turn nav bar on off with settings app or
Use this SystemUI.apk I have done the work for you it will recompile as normal and the only mod is %battery apart from that it is stock.
Click to expand...
Click to collapse
Thank you !
One question before I proceed with your advice. I have Canadian SGH-I337M version with rooted stock I337MUMUAMDJ rom.
Can I use your SystemUI.apk (%battery mode) with my ROM ?
fmark said:
Thank you !
One question before I proceed with your advice. I have Canadian SGH-I337M version with rooted stock I337MUMUAMDJ rom.
Can I use your SystemUI.apk (%battery mode) with my ROM ?
Click to expand...
Click to collapse
People have reported this working but just make a backup first nothing ventured nothing gained
All I do is have 2 zips on my sdcard the original and the modded one if the mod fails simply boot into recovery and reflash original it takes 1 min to be up and running again
fmark said:
Ok. I was able to decompile SystemUI.apk using ApkManager V6.1. The problem was in missing framework-res.apk and twframework-res.apk in "apktool" folder.
Now I'm getting errors on apk compilation. Please take a look at the attached log file. What am I missing now ?
Thank you!
Click to expand...
Click to collapse
If you get an error in decompiling the apk, remove the "system_bar_settings_view.xml" and "system_bar_notification_panel_title.xml" from the layout folder
(SystemUI.apk\res\layout\). Don't forget to put the files back after compiling the modded statusbar.
:fingers-crossed:
bruzski said:
If you get an error in decompiling the apk, remove the "system_bar_settings_view.xml" and "system_bar_notification_panel_title.xml" from the layout folder
(SystemUI.apk\res\layout\). Don't forget to put the files back after compiling the modded statusbar.
:fingers-crossed:
Click to expand...
Click to collapse
Decompiling is fine - no errors. I'm getting errors when compiling.
---------- Post added at 07:29 AM ---------- Previous post was at 07:26 AM ----------
gharrington said:
People have reported this working but just make a backup first nothing ventured nothing gained
All I do is have 2 zips on my sdcard the original and the modded one if the mod fails simply boot into recovery and reflash original it takes 1 min to be up and running again
Click to expand...
Click to collapse
No, unfortunately your systemui.apk is not compatible with my Rom.
I need to solve compilation errors. Any advice on that?
Thank you!

[MOD][ZIP][GUIDE] Navigation bar on Note 3 - 4.3

This is a guide to enable the navbar on the Galaxy Note 3 running Android 4.3 (NOT an overlay!). I can't guarantee this will work with any xposed modules or navbar mods. This will put an AOSP-like navigation bar on your Note 3, NOT a TouchWiz one! Which means from left to right, the buttons are: Back, Home, Recent.
[UPDATED 12/22/13] - Added back_ime (down arrow instead of back when keyboard is open)! Zip updated, steps are the same. See screenshots.
!!If you are on 4.4.2 KitKat!!
You do not need to do anything with SystemUI, Samsung left all the important stuff in there. Just download GravityBox Xposed module for KitKat, and enable navigation bar.
You need to know how to decompile SystemUI.apk, modify it, then recompile it.
This is for DEODEXED roms!
1. Decompile SystemUI.apk
2. Go to the folder SystemUI.apk was decompiled in. Open res/values/drawables.xml and add the following line, then save it:
Code:
<item type="drawable" name="tw_navigationbar_bg">#ff000000</item>
3. Open /res/values/public.xml, find this line, delete it, then save:
Code:
<public type="drawable" name="tw_navigationbar_bg_land" id="0x7f020194" />
4. Open the attached zip file, find and open the folder "drawable". Copy all 5 xml files and paste them in res/drawable/, replacing the existing files.
5. Delete the files "tw_navigationbar_bg.png" and "tw_navigationbar_bg_land.png" from /res/drawable.
6. Find the folder "drawable-xhdpi" in the attached zip and copy it to res/, this will add a new folder in that directory.
7. Find and open the folder "layout" in the attached zip and copy the xml file to res/layout, replacing the existing xml.
8. Compile the decompiled SystemUI.apk
7. Put the new SystemUI.apk in the system directory on your phone, change permissions to rw-r--r--. Now cut the new SystemUI.apk to the clipboard (ES file browser) and go to system/app and find the old SystemUI.apk.
9. Rename the old SystemUI.apk to SystemUI.apk.bak, and quickly paste the new SystemUI.apk into system/app. Be quick about pasting new apk, the phone will restart about 5 seconds after renaming the old one.
10. Add the following line to your build.prop:
Code:
qemu.hw.mainkeys=0
11. If your phone did not reboot on it's own, reboot the phone, and you should have a navigation bar! There are various guides on how to disable the capacitive nav buttons, so I won't cover that here.
Thanks to @gharrington for writing up this guide for the S4 on Android 4.2.2; I used that as a starting point!
Here is a pre-edited SystemUI.apk you can use (attached below). This removes any themes you have!
[UPDATED 12/22/13] - Added the down arrow instead of back when keyboard is open!
[UPDATED 12/24/13] - Made a flashable zip! If you want to flash a zip theme, just flash the attached zip after flashing your theme. Then either flash Navigation_Bar_ON.zip from this post or add qemu.hw.mainkeys=0 to your build.prop if you haven't already
[UPDATED 03/10/14] - KitKat users do not need this mod, the stock SystemUI has everything it needs. See big red text for instructions.
For DEODEXED: Copy the new SystemUI.apk to /system, change permissions to rw-r--r--. Go to /system/app and rename the old SystemUI.apk to SystemUI.apk.bak, then move the new SystemUI.apk to /system/app. Flash the Navigation_Bar_ON.zip from this post (thanks @jovi23!) in TWRP or CWM. Reboot, and done!
If your ROM doesn't have init.d support, add "qemu.hw.mainkeys=0" (without quotes) to your build.prop, reboot, and done!
For ODEXED: Follow the same steps above, but also rename SystemUI.odex to SystemUI.odex.bak.
DO NOT FLASH THE ZIP IF YOU ARE ON 4.4.2
You do not need to do anything to SystemUI.apk, Samsung left everything it needs in there. Just get GravityBox Xposed module for KitKat and enable the navigation bar.
If you wish to use this SystemUI.apk in your ROM, all I ask is that you give credit
Any screenshot thanks?I forgot, first
Sent from my SM-N900T using Tapatalk
JT man said:
Any screenshot thanks?
Click to expand...
Click to collapse
Oh yes, sorry. I attached one to the second post.
This is what i been looking for have to look into how to decompile and recompiling the systemUI looks really complicated
Sent from my SM-N900T using XDA Premium 4 mobile app
Would anyone mind testing this SystemUI.apk? Need to be deodexed. Copy it to /system/, then change permissions to rw-r--r--. Now move it over to /system/app. Be sure to rename your old one to SystemUI.apk.bak, incase it doesn't work. I made this from a stock, deodexed ROM, so it should work, but I want it tested by someone else before I post it up top.
This will get rid of a lot of theming, so if you are themed, beware, as I haven't tested it that.
Moved to second post.
Hmm... after decompiling my SystemUI.apk I don't see those 2 files from steps 2 and 3
fredrick1213 said:
Hmm... after decompiling my SystemUI.apk I don't see those 2 files from steps 2 and 3
Click to expand...
Click to collapse
Hmm, that's odd, I'm sure the apk needs those. Were there any errors on decompile? Also, did you install framework-res.apk, SystemUI.apk, and twframework-res.apk into apktool?
gakio12 said:
Hmm, that's odd, I'm sure the apk needs those. Were there any errors on decompile? Also, did you install framework-res.apk, SystemUI.apk, and twframework-res.apk into apktool?
Click to expand...
Click to collapse
Ok so my problem was that I wasn't installing SystemUI.apk but even after installing it I don't see the public file in res/values
fredrick1213 said:
Ok so my problem was that I wasn't installing SystemUI.apk but even after installing it I don't see the public file in res/values
Click to expand...
Click to collapse
Can you open up the SystemUI.apk in 7z to see if the public.xml file is in res/values?
gakio12 said:
Can you open up the SystemUI.apk in 7z to see if the public.xml file is in res/values?
Click to expand...
Click to collapse
This is really weird. It doesn't even have the values folder
fredrick1213 said:
This is really weird. It doesn't even have the values folder
Click to expand...
Click to collapse
If you can attach the SystemUI.apk, I will take a look at it.
gakio12 said:
If you can attach the SystemUI.apk, I will take a look at it.
Click to expand...
Click to collapse
Here ya go
fredrick1213 said:
Here ya go
Click to expand...
Click to collapse
Thanks. I think this is because you are running an ODEXED ROM, correct? From your sig I assume it is pure stock TouchWiz, just rooted. You can try using my SystemUI.apk that I posted a few posts back, but you would need to rename SystemUI.odex to SystemUI.odex.bak AND SystemUI.apk to SystemUI.apk.bak, just so you get backups of existing files.
When I was doing it, my phone would reboot on it's own 5 seconds after renaming SystemUI.apk, so I only had 5 seconds to put the new one in there. This is where TWRP really helped.
In your screen shot - The Nav Bar looks like it's hiding the very bottom of the screen - Does this mod take into account the presence of the Nav Bar - And shift the display up - ie; is the Nav Bar hiding the Dock?
Sent from my SGH-I317 using Tapatalk
Yes, this mod is an actual navbar. It does not hide the dock. I will post another screenshot.
gakio12 said:
Yes, this mod is an actual navbar. It does not hide the dock. I will post another screenshot.
Click to expand...
Click to collapse
Thanks - And one other question - Are you doing this all on the phone - or are you doing any of it on the pc? .... I just read through the first page very quickly..
Sent from my SM-N900W8 using Tapatalk 2
shaggyskunk said:
Thanks - And one other question - Are you doing this all on the phone - or are you doing any of it on the pc? .... I just read through the first page very quickly..
Click to expand...
Click to collapse
I did almost all on the PC, only part I did on the phone was move the new SystemUI.apk into place. There is a stock SystemUI.apk I posted in post #6 if you want to give that a try (must be deodexed). If you do give it a try, please let me know how it works out
Anyway of making it transparent and also is there a way to enable 3 dot menu?
Sent from my SM-N900T using Tapatalk
gakio12 said:
Thanks. I think this is because you are running an ODEXED ROM, correct? From your sig I assume it is pure stock TouchWiz, just rooted. You can try using my SystemUI.apk that I posted a few posts back, but you would need to rename SystemUI.odex to SystemUI.odex.bak AND SystemUI.apk to SystemUI.apk.bak, just so you get backups of existing files.
When I was doing it, my phone would reboot on it's own 5 seconds after renaming SystemUI.apk, so I only had 5 seconds to put the new one in there. This is where TWRP really helped.
Click to expand...
Click to collapse
gakio12 said:
I did almost all on the PC, only part I did on the phone was move the new SystemUI.apk into place. There is a stock SystemUI.apk I posted in post #6 if you want to give that a try (must be deodexed). If you do give it a try, please let me know how it works out
Click to expand...
Click to collapse
I followed your advice and it worked! I now have the navbar. I'm odexed btw and it still worked. Thanks!

[GUIDE] Battery Percantage On Statusbar

Hey guys, I want to share some tutorial to show battery percentage on statusbar.
First, you have to know how to compile/decompile, and you need notepad++ too
1. Decompile your Settings.apk
2. Go to smali\com\android\settings, open DisplaySettings.smali with notepad++
3. Find
Code:
iget-object v0, v0, Lcom/android/settings/DisplaySettings;->mDisplayBatteryLevel:Landroid/preference/CheckBoxPreference;
4. You will see this code above
Code:
invoke-virtual/range {v17 .. v18}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
5. Replace with
Code:
# invoke-virtual/range {v17 .. v18}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
6. Save
7. Compile, and push to your phone
You can enable the percentage by check the setting in display setting
If you doesn't understand about compile/depompile you can download my Settings.apk here, and push it to system/app
Credits:
-C'imam Boedak Demy
-Naney for the Settings.apk
press thanks if I help you and sorry for my bad english
One question. We don't have settings.apk as far as I now. We have SecSettings.apk and the one you attached shows parsing error and is only 40kb. So should we make changes to SecSettings.apk?
Edit: Nevermind. I edited SecSettings.apk and it worked.
Regards
didije said:
One question. We don't have settings.apk as far as I now. We have SecSettings.apk and the one you attached shows parsing error and is only 40kb. So should we make changes to SecSettings.apk?
Edit: Nevermind. I edited SecSettings.apk and it worked.
Regards
Click to expand...
Click to collapse
yeah I forgot, if you in stock rom there will be SecSettings.apk if you in Corsifame Rom there will be Settings.apk
and the link are fixed, sorry about that
Unable to install
I was not able to push to /system/app.I'm using Samsung galaxy fame S6812 and rooted.I copied your settings.apk and pasted and overwrited in system/app but I get a msg SystemUI has stopped and settings has stopped.What is the solution for this?
manojnagendra said:
I was not able to push to /system/app.I'm using Samsung galaxy fame S6812 and rooted.I copied your settings.apk and pasted and overwrited in system/app but I get a msg SystemUI has stopped and settings has stopped.What is the solution for this?
Click to expand...
Click to collapse
try to redownload the settings.apk and set the permission to rw-r--r--
nice guide man :good:
now we can disable and enable battery precantage
thanks for the guide
ask:
i don't know how to change the permission to rw-r--r--
faizauthar12 said:
nice guide man :good:
now we can disable and enable battery precantage
thanks for the guide
ask:
i don't know how to change the permission to rw-r--r--
Click to expand...
Click to collapse
just see from the other .apk files in system/app, or check the read box for owner, group and other, also check write box for owner
dickys11 said:
try to redownload the settings.apk and set the permission to rw-r--r--
Click to expand...
Click to collapse
It did not work.pls tell me solution with pics if possible
Update:after reboot setting is there in app drawer but when opened it is crashed.solution pls?
manojnagendra said:
It did not work.pls tell me solution with pics if possible
Update:after reboot setting is there in app drawer but when opened it is crashed.solution pls?
Click to expand...
Click to collapse
have you set the permission to be like this?
and if u use my Settings.apk make sure u delete the SecSettings.apk and reboot
dickys11 said:
have you set the permission to be like this?
and if u use my Settings.apk make sure u delete the SecSettings.apk and reboot
Click to expand...
Click to collapse
I tried everything you told bro like setting permission to rw-r-r and I'm in corsifame there is no secsettings there is only settingsprovider.apk if I delete it the os crashes.I want your battery percentage app badly.pls help me in solving this issue.I also tried rebooting several times
manojnagendra said:
I tried everything you told bro like setting permission to rw-r-r and I'm in corsifame there is no secsettings there is only settingsprovider.apk if I delete it the os crashes.I want your battery percentage app badly.pls help me in solving this issue.I also tried rebooting several times
Click to expand...
Click to collapse
no matter secsttings.apk or settings.apk they are same. do u have ur original settings.apk? i can edit this for u
dickys11 said:
no matter secsttings.apk or settings.apk they are same. do u have ur original settings.apk? i can edit this for u
Click to expand...
Click to collapse
Thanks and I will attach the link for my settings.apk please do it for me.A thanks button will be clicked from my side for you
http://www.filedropper.com/settingsforediting
manojnagendra said:
Thanks and I will attach the link for my settings.apk please do it for me.A thanks button will be clicked from my side for you
http://www.filedropper.com/settingsforediting
Click to expand...
Click to collapse
im sorry but, can you upload to attachment or dropbox or somewhere, i can't download it from that web
dickys11 said:
im sorry but, can you upload to attachment or dropbox or somewhere, i can't download it from that web
Click to expand...
Click to collapse
Here you go pls do it for me at the earliest
Thanks
dickys11 said:
Hey guys, I want to share some tutorial to show battery percentage on statusbar.
First, you have to know how to compile/decompile, and you need notepad++ too
1. Decompile your Settings.apk
2. Go to smali\com\android\settings, open DisplaySettings.smali with notepad++
3. Find
Code:
iget-object v0, v0, Lcom/android/settings/DisplaySettings;->mDisplayBatteryLevel:Landroid/preference/CheckBoxPreference;
4. You will see this code above
Code:
invoke-virtual/range {v17 .. v18}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
5. Replace with
Code:
# invoke-virtual/range {v17 .. v18}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
6. Save
7. Compile, and push to your phone
You can enable the percentage by check the setting in display setting
If you doesn't understand about compile/depompile you can download my Settings.apk here, and push it to system/app
Credits:
-C'imam Boedak Demy
-Naney for the Settings.apk
press thanks if I help you and sorry for my bad english
Click to expand...
Click to collapse
plzzz make it for S6812 !!
link for my SecSetting.apk : https://drive.google.com/file/d/0B16n5KfPlMVfMDQ2am1BYWF3S0E/edit?usp=sharing
dickys11 said:
no matter secsttings.apk or settings.apk they are same. do u have ur original settings.apk? i can edit this for u
Click to expand...
Click to collapse
What about the apk?You told that u will do it for my phone?Any update regarding that?
Thank you
manojnagendra said:
What about the apk?You told that u will do it for my phone?Any update regarding that?
Thank you
Click to expand...
Click to collapse
hey im sorry, im so busy for few days bc my class activity. about ur apk, im so sorry but i don't know why i can't decompile it, sorry
dickys11 said:
hey im sorry, im so busy for few days bc my class activity. about ur apk, im so sorry but i don't know why i can't decompile it, sorry
Click to expand...
Click to collapse
it's ok leave it no problem
dickys11 said:
hey im sorry, im so busy for few days bc my class activity. about ur apk, im so sorry but i don't know why i can't decompile it, sorry
Click to expand...
Click to collapse
Uploaded settings are bad, that is why you cannot decompile it. It should be uploaded to an external source, like gdrive, since it is a fairly large file (more than 20mb).
I've downloaded my settings.apk and changed its name to Sec.Settings.apk because I use stock rom and I put the file in system / app and I change the permissions rw-rr and I restart my handpone and the results are not there please help me? ?

owner info

hi man, i have a dude, i can add my name in lockscreen?
look, when i paint my pattern here i wish can look my name
thanks and sorry for my bad english. i'm argentinian man!
Sent from my GT-S5360L using XDA Free
saltalabanca said:
hi man, i have a dude, i can add my name in lockscreen?
look, when i paint my pattern here i wish can look my name
thanks and sorry for my bad english. i'm argentinian man!
Sent from my GT-S5360L using XDA Free
Click to expand...
Click to collapse
i believe spacecaker have that guide sir
just search his name and you can change your name in lockscreen too
saltalabanca said:
hi man, i have a dude, i can add my name in lockscreen?
look, when i paint my pattern here i wish can look my name
thanks and sorry for my bad english. i'm argentinian man!
Sent from my GT-S5360L using XDA Free
Click to expand...
Click to collapse
1. Decompile framework res.apk
2. Go to res/values/string.xml
3. Edit with notepad++
4. Find this : Draw pattern to unlock
5. Replace with ur name
Note: This'll make the Draw pattern to unlock into ur name
thanks sir, before school i try do this.
thanks for two
Sent from my GT-S5360L using XDA Free mobile app
GalKill said:
1. Decompile framework res.apk
2. Go to res/values/string.xml
3. Edit with notepad++
4. Find this : Draw pattern to unlock
5. Replace with ur name
Note: This'll make the Draw pattern to unlock into ur name
Click to expand...
Click to collapse
when i go to res dont find values
saltalabanca said:
when i go to res dont find values
Click to expand...
Click to collapse
you didnt decompile the apk then - you probably just unzipped it
decompiling means you must use apktool to decompile the apk using baksmali
see my thread in my signature for apktool guide
wehn i decompile the apk with apk manager 5.0 cant view the value carpet help me
saltalabanca said:
wehn i decompile the apk with apk manager 5.0 cant view the value carpet help me
Click to expand...
Click to collapse
like I said use apktool and read my thread for the guide - link in my signature
i search with root explorer the framework-res.apk and i send the apk from gmail for hotmail and download with my computer. this are ok?
okay, i do all, how to add the newframework-res.apk to mi phone??
saltalabanca said:
okay, i do all, how to add the newframework-res.apk to mi phone??
Click to expand...
Click to collapse
rename it back to framework-res.apk and put in a flashable zip and flash in cwm with system mounted
cwm flashable template is
http://d-h.st/sr9
just open with winrar and put your framework-res.apk in system/framework
marcussmith2626 said:
rename it back to framework-res.apk and put in a flashable zip and flash in cwm with system mounted
cwm flashable template is
http://d-h.st/sr9
just open with winrar and put your framework-res.apk in system/framework
Click to expand...
Click to collapse
i sign the apk or no sign?
cant sign with drag2sign
saltalabanca said:
i sign the apk or no sign?
cant sign with drag2sign
Click to expand...
Click to collapse
no need to resign if you havent changed the androidmanifest.xml and dont use drag2sign to sign system apps - use zipsigner from the playstore
marcussmith2626 said:
no need to resign if you havent changed the androidmanifest.xml and dont use drag2sign to sign system apps - use zipsigner from the playstore
Click to expand...
Click to collapse
i flash the zip but nothing change :/
thanks of all mods
saltalabanca said:
i flash the zip but nothing change :/
thanks of all mods
Click to expand...
Click to collapse
did you mount system before you flashed the zip?
in cwm goto mounts and storage and mount system (if system is mounted it will display "unmount system")
remember if you are using a cm kernel like biels kernel you have to unmount system and remount it so its best to just unmount it and remount anyway just to make sure

Categories

Resources