Overscroll Glow For Advanced User - Galaxy Ace S5830 Themes and Apps

Some of maybe wonder how to enable overscroll glow in your theme..
since we have many ROM, and only some of them have similar framework structure..
Before that, thanks to Jun Hong and fla.sh for their [KPH & KPN] overscroll glow for SGA
don't forget to thanks him
This guide is for advanced user who have an experience in decompiling and compiling files using apkmanager..
So there it is, how to add overscroll glow manually..
1. Download overscrollglow source from HERE. Thanks to dhiru1602 for the source..
2. Decompile your framework-res.apk and framework.jar
3. Navigate to framework.jar.out\smali\android\widget
4. Backup Your AbsListView.smali and open it with notepad++
5. Copy everything inside overscrollglow source.
6. Open your newly copied AbsListView.smali
7. search for .local v1, layoutInflater:Landroid/view/LayoutInflater;, shortly after that you'll find something like const v3, 0x1090070 replace this with your values from original AbsListView.smali
8. Navigate to framework-res/res/values and open public.xml
9. Back to AbsListView.smali search for .line 666 and 2 lines below that you'll find similar value.
9.1. Now go to your public.xml and search for
Code:
<public type="drawable" name="overscroll_edge" id="
and then you'll find some value like 0x0108023d replace the one in AbsListView.smali with this one. DOn't forget to remove the 0 before 1 (example if you have 0x0108023d then replace it as 0x108023d so the line would look like this :
Code:
.line 666
.local v2, res:Landroid/content/res/Resources;
const v3, 0x108023d
9.2. Back to AbsListView.smali and look for .line 667 and 2 line below that you'll find same thing, replace it with overscroll_glow id in your public.xml
so the line would look like this :
Code:
.line 667
.local v0, edge:Landroid/graphics/drawable/Drawable;
const v3, 0x108023e
10. Save the file, and recompile your framework.jar.out, and then go to /framework.jar.out/build/apk/ and copy classes.dex from there inside your original framework.jar (you can open it using 7zip).
11. To change overscroll glow color, you can use UOT (I think), and modify them manually inside /framework-res/res/drawable-mdpi/ overscroll_edge.png and overscroll_glow.png
Yep, that's all
Let me know if you have hard time doing this..

this is very nice tutorial for everyone.
follow it and there shouldnt be any problems

Nicee tutorial bro ...
Good job

I've posted overscroll glow for KPN and KPH
Sent from my GT-S5830 using XDA App

Aadigoku13 said:
Nicee tutorial bro ...
Good job
Click to expand...
Click to collapse
Jun Hong said:
this is very nice tutorial for everyone.
follow it and there shouldnt be any problems
Click to expand...
Click to collapse
Thanks you both
fla.sh said:
I've posted overscroll glow for KPN and KPH
Sent from my GT-S5830 using XDA App
Click to expand...
Click to collapse
yeah, but this is the manual tutorial, so everyone can use it in every rom..
or do you want to be credited too..?

seilent said:
Thanks you both
yeah, but this is the manual tutorial, so everyone can use it in every rom..
or do you want to be credited too..?
Click to expand...
Click to collapse
i think we should credit him... i made overscroll glow for kph but he made overscroll glow for both kpn and kph.

Jun Hong said:
i think we should credit him... i made overscroll glow for kph but he made overscroll glow for both kpn and kph.
Click to expand...
Click to collapse
Thanks. I'm not the "youngest" developer now

fla.sh said:
Thanks. I'm not the "youngest" developer now
Click to expand...
Click to collapse
well, ur just a few months older than me

which decomplier did u use ?

It's not possible to do with the Brazilian FW, it has nothing inside the framework.jar

FMAranda said:
It's not possible to do with the Brazilian FW, it has nothing inside the framework.jar
Click to expand...
Click to collapse
well try deodexing it with this guide: http://androidguyz.blogspot.com/2011/04/howto-deodex-rom.html
you need to be deodexed to get that overscroll glow

Thanks, now my ROM is deodexed and I was able to get the effect to work, but now, all the system apps are having force close, I can open dialer, messages or any other system app, only user app like Gmail and Facebook. What can I do?
I also lost root =/

I fixed by reflashing the ROM, I'll not try to enable the effect or dedoex my ROM again.

Deodexing firmware should be did when your rom still fresh

seilent said:
Deodexing firmware should be did when your rom still fresh
Click to expand...
Click to collapse
But what's the difference between a fresh installed dialer app and a week old one? I was having fcs with system apps and not user apps. We can't modify system app.

FMAranda said:
But what's the difference between a fresh installed dialer app and a week old one? I was having fcs with system apps and not user apps. We can't modify system app.
Click to expand...
Click to collapse
It means the permission isnt fixed properly... i also had this problem. but when i fixed the permission properly it worked without any force close

Did you fixed using ClockWorkMod or you set manually?
Thanks, you were right, I set the permissions to rw-r--r-- and now everything is working, again thanks!
This is the framework.jar to use with the Brazilian FW KP2, replace using Root Explorer and remember to set the permissions to rw-r--r--, the same permission of framework-res.apk.

Jun Hong said:
It means the permission isnt fixed properly... i also had this problem. but when i fixed the permission properly it worked without any force close
Click to expand...
Click to collapse
ah thanks for explanation, I havent faced such problem before
FMAranda said:
Did you fixed using ClockWorkMod or you set manually?
Thanks, you were right, I set the permissions to rw-r--r-- and now everything is working, again thanks!
This is the framework.jar to use with the Brazilian FW KP2, replace using Root Explorer and remember to set the permissions to rw-r--r--, the same permission of framework-res.apk.
Click to expand...
Click to collapse
Glad it works, will post it later the apk of modded framework.jar

Thanks Dude! But, It s not working with my friend's Ace...It just crashes into bootloop!

thanks ...
your tutorial so much easy to be followed
nice work sir

Related

[MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert

[MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert
MMS.apk mod for Samsung Galaxy S II by muveszur (me)
First of all, I have to say Thanks to montymintypie for his work on Galaxy S!!!
Attention! This mod is working only deodexed roms!
I tested on VillainROM 1.1!​
The Mms.apk has the following moddings:
Sent Time displayed instead of the Received Time
No AutoConverting messages to MMS after 4 SMS.
In my mod, it will be converted to MMS after 200 SMS.
Possible to add to the message 200 contacts instead of 20 contacts.
Click to expand...
Click to collapse
HOW TO - For Developers
Change the AutoConverting:
In /res/xml/mms_config.xml change the following values at line 19:
Code:
<int name="smsToMmsTextThreshold">4</int>
to:
Code:
<int name="smsToMmsTextThreshold">200</int>
Increase Contacts adding for the message
In /res/xml/mms_config.xml change the following values at line 19:
Code:
<int name="recipientLimit">10</int>
to:
Code:
<int name="recipientLimit">200</int>
Display Sent Time instead of the Received Time
In /smali/com/android/mms/transaction/SMSReceiverService.smali change the following values at line 589:
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to:
Code:
invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
And change the following values at line 2383:
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to:
Code:
invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J
Click to expand...
Click to collapse
Installing with RootExplorer- For Users
Download the Mms.apk from the attachment
//In /system/app rename the Mms.apk to Mms.apk.bak - It is a backup step
Copy the downloaded Mms.apk to the /system/app folder, and overwrite the original Mms.apk file
Reboot your phone
If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings
Click to expand...
Click to collapse
Installing from CWM- For Users
Download MMS_mod_cwm_by_muveszur.zip from the attachment
Go to the CWM
Select Install zip from sdcard--->Choose zip from sdcard, and select the MMS_mod_cwm.zip
After the installation done, reboot your phone
If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings
Click to expand...
Click to collapse
If you like my work, give me a beer, or just hit the the Thanks button
DONATE
AHA. So that's how you change the time to sent time, rather than received time... I had both these other features, but couldn't find that one.
Nice work
very nice thank u for this !
Thanks for share.
Do you think it is possible to create a mod who disable the 10 contacts limit on sms send ?
clecle69000 said:
Thanks for share.
Do you think it is possible to create a mod who disable the 10 contacts limit on sms send ?
Click to expand...
Click to collapse
This mod is contains too... now the limit is 200
"send time" not working
Hi!
for me it still does NOT show the real sent time.
can anybody confirm?
May I ask how you edit the .xml files? What method or program are you using.
If I am to change just the AutoConverting setting in my own mms.apk file, will this cause me issues as I am still on an odexed rom?
Excuse me, I modified my MMS.apk following your advises .
I still canno't add more than 10 contacts per message.
I have verified the MMS config . xml and the mod is set to 200.
What's wrong ?
Edit : need to clear data for Messaging
Works on Villian Rom 2.0.
hi,
I am trying to make those changes in the official froyo mms sources and another version of mms.apk for my zte blade.
In the file you mention (SmsReceiverService) there is only one match for currentTimeMillis. I cannot find the second reference anywhere.
Could you point the exact class name or part of code where the second change should be made?
Great work!
Noob question, where exactly in settings do i have to go in order to erase the TW Launcher settings?
Thanks in advance..
ammarselo said:
Great work!
Noob question, where exactly in settings do i have to go in order to erase the TW Launcher settings?
Thanks in advance..
Click to expand...
Click to collapse
settings>applications>manage applications , then go to tab "All" and find the TwLauncher.From there just hit the clear data.Hope to help
Why should this not work on stock roms? I'd say it should!
This is not Working on KG1
I have edit step by step exactly with your How to my Mms.apk from KG1.
After compiling and push back to phone, the mms.apk is working but:
this mod take no effect.
Still just 10 contacts to add
Still received time
Any advice how to get it working on KG1?
afilopou said:
settings>applications>manage applications , then go to tab "All" and find the TwLauncher.From there just hit the clear data.Hope to help
Click to expand...
Click to collapse
That's right!, silly me
Thanx!
Does anyone successfully get this work on KG1?
Sent from my GT-I9100 using Tapatalk
_JKay_ said:
Why should this not work on stock roms? I'd say it should!
Click to expand...
Click to collapse
with stock xwkf3 works just fine.no problem at all
Can anyone with the correct experience update this for the XXKG2 that recently came out, the 2.3.4 and not the 2.3.3
Can someone pick up this mod and prep it for XXKG2 and XXKG3 Odex and Deodex versions?
+1. Can someone please make this work on XXKG2 and odexed? Deodexing messes with browser hardware acceleration

[HOWTO] Remove vibrate icon on 2.3.5

FOR DEODEXED ROM ONLY
2.3.5 has vibrate icon that many people found annoying
here is little guide that explains how to remove it.
1. Decompile SystemUI.apk with APK Manager
2. Open the file res/vaules/public.xml and search for the ID of stat_sys_ringer_vibrate
Code:
<public type="drawable" name="stat_sys_ringer_silent" id="0x7f020086" />
<public type="drawable" name="stat_sys_ringer_vibrate" id="[b]0x7f020087[/b]" />
<public type="drawable" name="stat_sys_roaming_cdma_0" id="0x7f020088" />
3. Edit the file smali/com/android/systemui/statusbar/policy/StatusBarPolicy.smali
Look for these lines and delete them:*
Code:
const-string v5, "volume"
const v6, [b]0x7f020087[/b]
invoke-virtual {v4, v5, v6, v7}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;II)V
Look for these lines and delete them:*
Code:
const-string v3, "volume"
const v3, [b]0x7f020087[/b]
invoke-virtual {v2, v6, v3, v4}, Landroid/app/StatusBarManager;->setIcon(Ljava/lang/String;II)V
* Pay attention! Replace the bolded text with the ID you found on step 2
the v5 and v3 can be other numbers its depend on your firmware
4. Compile the file and replace classes.dex from place-apk-here-for-modding/unsignedSystemUI.apk to your SystemUI.apk
5. Have fun ;]
Or just use the system UI apk with all the work done floating around somewhere on the forum probably in themes section .
jje
JJEgan said:
Or just use the system UI apk with all the work done floating around somewhere on the forum probably in themes section .
jje
Click to expand...
Click to collapse
Have you tried this way? I overwrote with a systemUI.apk that I took from a KH3 ROM, and I just got stuck in continual force closes...
Sent from my GT-I9100 using XDA App
I think he mean to take modded apk from KI3 and not from previous versions
Duh, you're right, that would probably be what he meant...
Sent from my GT-I9100 using XDA App
i dont really want to delete it can you be more specific. i want it to work the way it used to in older roms. where it only comes up when you have the phone in vibrate only mode.. ie silent but vibrate turned on...
thanks
What I find most funny is that with every new firmware, Samsung do something worse...
first it was remove the SMS theming, so we're stuck with the crap iPhone-esque one (no wonder Apple has a problem with you), then something else, and now this!
Just tried this on KI8 but it is still there... must have done something wrong?
ephumuris said:
Just tried this on KI8 but it is still there... must have done something wrong?
Click to expand...
Click to collapse
its working for me...
instead of const-string v5 its was const-string v1
be sure you delete it and update the classes.dex to your file
Can you post your file, please...
Sent from my GT-I9100 using XDA App
k1sr said:
Can you post your file, please...
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
here is my file:
http://www.multiupload.com/4LK7W8RNZY
tripc1 said:
its working for me...
instead of const-string v5 its was const-string v1
be sure you delete it and update the classes.dex to your file
Click to expand...
Click to collapse
Yeah I saw that it was v1 but still... I'll try again later if you say it does work. Thanks
Ephumuris
tripc1 said:
here is my file:
http://www.multiupload.com/4LK7W8RNZY
Click to expand...
Click to collapse
Hm... That left me with a vansihed statusbar on KI8 I took a backup though, so no problem.
I tried to follow your instructions in OP, but I fall off at step 3... Where the hell is that file located?
Edit: I'm on stock odexed firmware btw.
you need to use baksamli with SystemUI.odex
Sadly way too advanced for me, but thanks anyway
Alternatively you can use S-MOD - look in the themes section... There are other enhancements you might or might not want, but certainly gave me the fix I needed...
You could probably just extract SystemUI from the package and only use that, but I haven't tried it...
Sent from my GT-I9100 using XDA App
Somehow, after decompiling and editing the changes above, I get errors while recompiling it through APK manager.
Anyways, I found a "raw method" to fix this prob for the time being. Opened up the SystemUI.apk from my phone using WinRAR (no apk tools needed).
Browse to: res\drawable-hdpi\
Drag my png attachment into this location, overwriting the vibrate icon file.
Close winRAR (systemUI.apk) and force it back into the phone (I used RootExplorer for this).
This png file is simply a transparent file (looks black to you). You will never see this on your status bar ever again (regardless your vibrate is on or off).
One disadvantage is that the icon is physically on your status bar, so a blank space is always reserved.
Thanks tripc1 for the inspiration.
Cheers.
*edit* The image attached is invisible. just right-click and save image as
just wanted to verbally say thanks to OP for showing me where to look for this stuff. i knew it was in SystemUI but had no clue as to what was changed. smali files just have so many lines of code. cheers!
Little help plz
I followed your instructions, but the vibrate icon is still there. Here is my system.apk from Smabergs KI8, can you do it for me tripc1 ??
Hi, there!
It worked fine, thank you!
Best regards!

[GUIDE]How to add lidroid 14 statusbar toggle buttons for Galaxy Y

All Credits belongs to Lidroid
Please refers to lidroid original thread below
http://forum.xda-developers.com/showthread.php?t=1289896
Notes:
1. need a Computer which is has JDK installed
2. apktool
3. notepad++ / other text editor
4. know how to compile/decompile apk (dont ask me.. just use the search bar.. there a bunch of tuts how to do that)
firstly download this file :
1. lidroid-res
http://forum.xda-developers.com/attachment.php?attachmentid=750399&d=1318661697
2. LidroidSystemUI
http://forum.xda-developers.com/attachment.php?attachmentid=750756&d=1318701014
3. QuickPanelSettings
http://forum.xda-developers.com/attachment.php?attachmentid=751238&d=1318747162
or u can visit lid thread above n download it from #1 post attachment
How to :
1. Download LidroidSystemUI.apk and decompile it with apktool, then you get LidroidSystemUI dir.
2. Pull and Decompile your SystemUI.apk, copy LidroidSystemUI/smali/* into SystemUI/smali.
3. Open SystemUI/smali/com/android/systemui/status/StatusBarService.smali. Find(Ctrl + F) QuickSettingsView, changes codes below
(this code i've got from mr. sileshnair. big thanks for him )
Code:
.local v3, qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
const v7, 0x7f030002
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
.end local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
check-cast v3, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
.line 352
.restart local v3 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
with
Code:
const v7, 0x3030003
invoke-static {p1, v7, v9}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v3
check-cast v3, Lcom/lidroid/systemui/quickpanel/PowerWidget;
.line 352
.local v3, qsv:Lcom/lidroid/systemui/quickpanel/PowerWidget;
invoke-virtual {v3}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V
4. Compile SystemUI with apktool,
5. open up your SystemUI.apk with winrar or 7zip
6. locate to SystemUI/build/apk/ and find classes.dex onto the winrar/7zip
7. Then Push it into /system/app/
5. push lidroid-res.apk in /system/framework/, push QuickPanelSettings.apk in /system/app, reboot.
More mod :
Originally Posted by [email protected]
To have 6 visible toggles : edit : SystemUI/smali/com/lidroid/systemui/quickpanel/PowerWidget.smali
change :
Code:
.field private static final LAYOUT_SCROLL_BUTTON_THRESHOLD_PORT:I = 0x5
to
.field private static final LAYOUT_SCROLL_BUTTON_THRESHOLD_PORT:I = 0x6
Code:
div-int/lit8 v2, v2, 0x5
to
div-int/lit8 v2, v2, 0x6
Note: i skip editing androidmanfest.xml (cuz when we do this... we should sign all of the apk in /system/app and /system/framework. ..but if u insist.. please see the original thread above how to do that...unless if u dont do editing androidmanifest.xml u'll got FC when pressing Flashlight button. anyway i dont need it.. so its not a big deal)
dont thanks me... please thanks too three man above for their great job
sharing is caring
Nice but its too tough for me to do it
Sent from my GT-S5360 using XDA App
Nice tutorial dude just made a nice bar but a bit complicated though.
Sent from my GT-S5360 using xda premium
u'll never know, unless u try
I will try this. Thanks for sharing dude!
was going to modify the PNG files of this apk,
decompiled all files, recompiled and resigned APK however when i force it into the system status bar gets force close,
deathnotice01 said:
was going to modify the PNG files of this apk,
decompiled all files, recompiled and resigned APK however when i force it into the system status bar gets force close,
Click to expand...
Click to collapse
dont resigned the system .apk unless u must resigned all off the apk file in /system/app and /system/framework
The SystemUI.apk is to be pulled from our SGY unit, right? You forgot to mention this on your tutorial.
bumslayer said:
The SystemUI.apk is to be pulled from our SGY unit, right? You forgot to mention this on your tutorial.
Click to expand...
Click to collapse
Ups .... em sorry ... my bad...
Sent from my GT-S5360 using Tapatalk
Here's my statusbar: I'm using Hybrid 2.1.
Thank you very much for your wonderful tutorial bro! I am one happy camper!
bumslayer said:
Here's my statusbar: I'm using Hybrid 2.1.
Thank you very much for your wonderful tutorial bro! I am one happy camper!
Click to expand...
Click to collapse
Well nice dude thanks to lidroid btw
:-D
rawk
ow this is a nice guide ...im planning to make a ICS status bar from this i wish its not impossible
bumslayer said:
Here's my statusbar: I'm using Hybrid 2.1.
Thank you very much for your wonderful tutorial bro! I am one happy camper!
Click to expand...
Click to collapse
Can you share this bro??
Just follow the tutorial kill3d graciously provided. Worked for me.
Sent from my GT-S5360 using xda premium
Hey OP, apparently this works for deodexed ROMS only, because the SystemUI.apk of the DXLB1 stock ROM does not have a smali folder.
bumslayer said:
Hey OP, apparently this works for deodexed ROMS only, because the SystemUI.apk of the DXLB1 stock ROM does not have a smali folder.
Click to expand...
Click to collapse
Indeed...
Cuz the smali came from came from the classes.dex.
rawk
im having a problem on making the notifcations work, i followed the tutorial, the notification works but the 14 toggles isnt working.. hmm. whats wrong
bumslayer said:
Here's my statusbar: I'm using Hybrid 2.1.
Thank you very much for your wonderful tutorial bro! I am one happy camper!
Click to expand...
Click to collapse
can you upload your SystemUI.apk
I dont understand the tutorial
kimbaduds said:
im having a problem on making the notifcations work, i followed the tutorial, the notification works but the 14 toggles isnt working.. hmm. whats wrong
Click to expand...
Click to collapse
Did u edit the smali code??
Did u miss point 6?
Did u push lidroid-res.apk . Quickpanelsettings.apk . ??
rawk
guys dont forget to change the permissions to the files you will push to the phone as well. just look at the permissions of the other files under /system/apps and /system/framework.
Sent from my GT-S5360 using xda premium

[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? ?

[Guide][tut] [Updated 21/JAN/15] Show/Hide Album art

Hello guys
here is a small tut
What you need is
Deodexed Systemui.apk and Settings.apk
My Files and patience
1. Decompile Systemui.apk
2. Download this View attachment SystemUI.zip and merge
3. Open SystemUI.apk/smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali
And In the same File find this method
Code:
.method public updateMediaMetaData(Z)V
And in that method look for
Code:
iget-object [COLOR="red"]v5[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mMediaMetadata:Landroid/media/MediaMetadata;
if-eqz [COLOR="red"]v5[/COLOR], :cond_[COLOR="red"]3[/COLOR]
Below that code add this code ( Make sure the red pointed values should match the below adding code )
Code:
iget-object [COLOR="red"]v5[/COLOR], p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mContext:Landroid/content/Context;
invoke-virtual {[COLOR="red"]v5[/COLOR]}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
move-result-object [COLOR="red"]v5[/COLOR]
const-string v6, "hide_album_art"
invoke-static {[COLOR="red"]v5[/COLOR], v6, v4}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
move-result [COLOR="red"]v5[/COLOR]
if-eqz [COLOR="red"]v5[/COLOR], :cond_[COLOR="red"]3[/COLOR]
4. Now compile/Sign the SystemUI.apk and push/Replace the old
Now follow the second post on how to add to settings
Settings
Welcome to easy part on adding the option to hide/show in settings
Method 1
1. Decompile the settings.apk
2. Download this View attachment Albumart_Settings.zip and merge to your settings
3. Add the below code to your settings ( i had added to my own settings ) and your wish
Code:
<PreferenceScreen android:title="Lockscreen mod" android:key="lockscreenmod" android:fragment="com.android.settings.rz.Lockscreenmod" />
4. Compile it and Decompile and open
Settings.apk/smali/com/android/settings/rz/lockscreenmod.smali
5. Compare the Public ID and replace it and recompile
6. God you did man,,, now replace and have fun
Method 2
1. Decompile the Settings.apk
2. Download this View attachment settings.zip and merge to your settings
3. Add the below code to your settings ( i had added to my own settings.xml )
you can add in settings.apk/res/xml/Dispaly_settings.xml
Code:
<com.android.settings.cyanogenmod.SystemSettingSwitchPreference android:title="Lockscreen Album Art" android:key="hide_album_art" android:defaultValue="0" android:summaryOn="Lockscreen Album Art Hidden" android:summaryOff="Lockscreen Album Art Shown" />
and then compile/sign and replace your settings
OR
Try download this ROM Control application (View attachment 3616872 ) where you can Easily control
All you is just install and have fun
Thanks to @daxgirl for the app source ​
now have fun guys
Thanks to @willowmaker420 @tdunham and cyanogenmod
Dont Forget to mention me if you used my work
that feels me happy
If you guys facing any problem just start View attachment compare_settings_systemui.zip
If you still tired of this... try my xposed module Click here
Great Work.Thanks for your guide bro:good:
Thanks bro Awesome share :fingers-crossed:
Nice one...
Works on stock rom?
raziel zarafan said:
Works on stock rom?
Click to expand...
Click to collapse
Yes bro
Don't work for me bro i get black screen when I replace the systemui, I make twice the guide and nothig bro how can I solve this?
raziel zarafan said:
Don't work for me bro i get black screen when I replace the systemui, I make twice the guide and nothig bro how can I solve this?
Click to expand...
Click to collapse
May be you need install superusermod bro .
iedafarha said:
May be you need install superusermod bro .
Click to expand...
Click to collapse
No bro i have installed super user mod via services.jar , I'm on 5.1.1 deodex with super user mod
raziel zarafan said:
No bro i have installed super user mod via services.jar , I'm on 5.1.1 deodex with super user mod
Click to expand...
Click to collapse
what your phone mate? going to try this mod on my z1 .
iedafarha said:
what your phone mate? going to try this mod on my z1 .
Click to expand...
Click to collapse
It's a Z1 bro
raziel zarafan said:
It's a Z1 bro
Click to expand...
Click to collapse
okey, will share with you my mod if everything done without problem.
iedafarha said:
okey, will share with you my mod if everything done without problem.
Click to expand...
Click to collapse
Bro this is my systemui with some mods like task killer, visualizer , theme acent and battery bug layout remove http://https://mega.nz/#!5t0UFSAJ!trwGrlbgCZ-jXIOu_2yOsENmK38_scVsJS_iMOmGNd8
raziel zarafan said:
Bro this is my systemui with some mods like task killer, visualizer , theme acent and battery bug layout remove http://https://mega.nz/#!5t0UFSAJ!trwGrlbgCZ-jXIOu_2yOsENmK38_scVsJS_iMOmGNd8
Click to expand...
Click to collapse
not found mate
iedafarha said:
not found mate
Click to expand...
Click to collapse
Sorry
https://mega.nz/#!A9NjgQDI!5UQL3zi5ueRK9hWGWosGpa_nobLgguwMbFKsqQuV8UA
raziel zarafan said:
Sorry
https://mega.nz/#!A9NjgQDI!5UQL3zi5ueRK9hWGWosGpa_nobLgguwMbFKsqQuV8UA
Click to expand...
Click to collapse
try , sorry didnt work, got black screen, hope OP can share his systemUI.apk. mod for comparing TQ
iedafarha said:
try , sorry didnt work, got black screen, hope OP can share his systemUI.apk. mod for comparing TQ
Click to expand...
Click to collapse
Will share you when I get free time bro
Edit @iedafarha posted my apps
Have a compare
venkat kamesh said:
Will share you when I get free time bro
Edit @iedafarha posted my apps
Have a compare
Click to expand...
Click to collapse
Sorry mate, dont see any download link.
iedafarha said:
Sorry mate, dont see any download link.
Click to expand...
Click to collapse
it was already there in my post #2
please read it mate
in mean time today i had fixed switch preferences
just replace settings.zip for this fix

Categories

Resources