[MOD] Remove Ongoing Wifi Notification - AT&T, Rogers, Bell, Telus Samsung Galaxy S III

Heres a guide to remove the annoying ongoing wifi notification, theres been guides on how to do it via changing the database but those cant be used by rom devs in there roms, so I decided to look into it. Disclaimer: I am not responsible if for some reason this mod makes your gs3 explode or bust into flames etc.... lol
The mod has been posted on my github the changes can be seen here on this commit Remove Ongoing Wifi Notification
Incase you dont want to go on github ill paste it here.
Decompile SecSettings.apk its located in system/apps/ (I removed the dex then used baksmali to decompile)
Find these 3 lines in com/android/settings/wifi/WifiStatusReceiver.smali
Code:
invoke-virtual {v3, p1, v2, v0, v4}, Landroid/app/Notification;->setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V
sget-object v3, Lcom/android/settings/wifi/WifiStatusReceiver;->mNotification:Landroid/app/Notification;
invoke-virtual {v1, v7, v3}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
comment them out by adding a # in front of them like so
Code:
#invoke-virtual {v3, p1, v2, v0, v4}, Landroid/app/Notification;->setLatestEventInfo(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;Landroid/app/PendingIntent;)V
#sget-object v3, Lcom/android/settings/wifi/WifiStatusReceiver;->mNotification:Landroid/app/Notification;
#invoke-virtual {v1, v7, v3}, Landroid/app/NotificationManager;->notify(ILandroid/app/Notification;)V
Recompile using smali put the new dex into the apk and push the file to your phone, set the permissions and reboot.
Bask in the glory of removing the notification
Special Shoutouts to jdbeitz for helping figure this out and testing the changes=D

Who's the man? VLARA IS THE MAN!

thanks dude works like a charm ive been wanting to do this just havent looked into to much so this saves me a ton of time

Glad to know it worked
smartguy044 said:
thanks dude works like a charm ive been wanting to do this just havent looked into to much so this saves me a ton of time
Click to expand...
Click to collapse

Thank you!
Sent from my SAMSUNG-SGH-I747 using xda premium

everyone kept asking me how to do this and i just kept saying it's a smali change somewhere lol i knew it thanks mate!

vlara said:
If you dont want to do the mod heres a stock SecSettings.apk with the mod
Download
Click to expand...
Click to collapse
If I use that modded apk, will it reset any of my system settings?

what exactly does it get rid of?

When connected to Wi-Fi, you would get a "Wi-Fi connected" notification in the drop-down. This gets rid of that.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

I installed the modded apk in the OP, but it didn't work. I put the app in the system/app folder and changed permissions to rw-r--r--, then rebooted. No luck. What am I doing wrong? Do i need to do something with the SecSettings.odex file?

kingwp1 said:
I installed the modded apk in the OP, but it didn't work. I put the app in the system/app folder and changed permissions to rw-r--r--, then rebooted. No luck. What am I doing wrong? Do i need to do something with the SecSettings.odex file?
Click to expand...
Click to collapse
The file is for deodexed roms.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

kingwp1 said:
I installed the modded apk in the OP, but it didn't work. I put the app in the system/app folder and changed permissions to rw-r--r--, then rebooted. No luck. What am I doing wrong? Do i need to do something with the SecSettings.odex file?
Click to expand...
Click to collapse
Delete the odex.
im on my phone. expect terrible typos.

Edit...late to the party.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

howtomen said:
Delete the odex.
im on my phone. expect terrible typos.
Click to expand...
Click to collapse
Agreed, I renamed the .odex file and the notification is no longer present.
Sent from my SAMSUNG-SGH-I747 using xda premium

howtomen said:
Delete the odex.
im on my phone. expect terrible typos.
Click to expand...
Click to collapse
Thank you, sir! Notification gone

Any way to have a CWM version of this?

I'll post one up when I get home from work if no one else has posted one by that time
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

afropoet said:
Any way to have a CWM version of this?
Click to expand...
Click to collapse
Really.. theres an apk man no need to spoonfeed it to youxD but really if u dont know how to push to system app we have issues
im on my phone. expect terrible typos.

howtomen said:
Really.. theres an apk man no need to spoonfeed it to youxD but really if u dont know how to push to system app we have issues
im on my phone. expect terrible typos.
Click to expand...
Click to collapse
+1

afropoet said:
Any way to have a CWM version of this?
Click to expand...
Click to collapse
Here's a recovery flashable zip with the mod applied to UCALG1.

Related

Overscroll Glow For Advanced User

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

[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

How to add 14 toggles statusbar for Galaxy Gio

This is for anyone who need help on this
(Also, so I can refer back to it)
All credit goes to: lidroid ==> Original Guide
Install your framework(s) using apktool
Then decompile LidroidSystemUI.apk and SystemUI.apk
If your device does not have flashlight, add this code. If it does, ignore this code.
Modify AndroidManifest.xml. Add this before </application>:
Code:
<activity android:name="com.lidroid.systemui.quickpanel.FlashlightActivity" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:clearTaskOnLaunch="true" android:configChanges="orientation|keyboardHidden" android:launchMode="singleTask" />
Open: SystemUI/smali/com/android/systemui/status/StatusBarService.smali
Search for: Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
OR
Search for: 0x7f030002
You'll find this:
Code:
const v8, 0x7f030002
invoke-static {p1, v8, v10}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v4
.end local v4 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
check-cast v4, Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
.restart local v4 #qsv:Lcom/android/systemui/statusbar/quickpanel/QuickSettingsView;
goto :goto_0
Modify to:
Code:
const v8, [COLOR="RED"]0x3030003[/COLOR]
invoke-static {p1, v8, v10}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;
move-result-object v4
.end local v4 #[COLOR="RED"]Lcom/lidroid/systemui/quickpanel/PowerWidget;[/COLOR]
check-cast v4, [COLOR="RED"]Lcom/lidroid/systemui/quickpanel/PowerWidget;
.local v4, qsv:Lcom/lidroid/systemui/quickpanel/PowerWidget;
invoke-virtual {v4}, Lcom/lidroid/systemui/quickpanel/PowerWidget;->setupWidget()V[/COLOR]
goto :goto_0
Compile SystemUI.apk with apktool and then Sign it.
Copy SystemUI.apk and QuickPanelSettings.apk to: /system/app
Copy lidroid-res.apk to: /system/framework
Reboot & Enjoy!
Thanks, but if i want add signed app (with edited androidmanifest) to my custom rom my statusbar not work. Any solution ?
If you edit or modify androidmanifest in any way you need to resign the apk. But all system apps and framework need to use the same key, so even if you self-sign the apk or use test keys to sign it, untill you sign all files with the same key it will force close.
coccolino_dbro said:
If you edit or modify androidmanifest in any way you need to resign the apk. But all system apps and framework need to use the same key, so even if you self-sign the apk or use test keys to sign it, untill you sign all files with the same key it will force close.
Click to expand...
Click to collapse
You always need to sign a newly compiled APK or JAR, because the AndroidManifest.xml also changes, even if you didn't modify anything.
Because >> The MD5 and CRC32 of the AndroidManifest.xml changes. Even if there was no changes
Actually when editing system files you copy the original signature. That works only if you don't touch androidmanifest.xml. If you do mess with it, file needs signing with a new key, and all system apps need to be signed with the same key.
Point is, if someone wants to edit androidmanifest.xml of a system file, he needs to resign all other system files with the same key, or else it won't work.
Can i use APKMultiTool to sign all System Apps?
Sent from my GT-S5660 using xda app-developers app
If i use in light orange rom then icon change or not?
Sent from my GT-S5660 using xda premium
DQiB said:
Can i use APKMultiTool to sign all System Apps?
Click to expand...
Click to collapse
Any tool that handles signing would be fine. Yes you can use APKMultiTool
cahidkaya said:
If i use in light orange rom then icon change or not?
Click to expand...
Click to collapse
What icon?
nice work tanx
Which program can I use for decompiling and recompiling framework-res.apk? I'm trying to change battery stats icons and apktool and apk manager can't properly recompile apk - there are errors about translations...
Sent from my GT-S5660 using Tapatalk 2
sangokas said:
Which program can I use for decompiling and recompiling framework-res.apk? I'm trying to change battery stats icons and apktool and apk manager can't properly recompile apk - there are errors about translations...
Sent from my GT-S5660 using Tapatalk 2
Click to expand...
Click to collapse
Nothing is wrong with the tool or program, you have to fix those translation errors.
If I leave them, will something bad happen?
sangokas said:
If I leave them, will something bad happen?
Click to expand...
Click to collapse
If you leave them, you still get the same errors and the apk won't compile.
Send me your recompile log, I'll see the translation errors
There seems to be no errors if i put resources from extracted apk to decompiled framework folder. But its size is few megabytes less than original one. I tried to push it with adb in system, but the phone stucks on galaxy gio logo when booting.
Sent from my GT-S5660 using Tapatalk 2
Hello guys. I have a little problem. I do all right and i got this working but i want to mod the libdroid-res.apk only to switch the color of the tex or to hide the it. I decopiled the libdroid-res.apk and swiched wat i want, recopiled again but now im getting FC on systemUi. It is possible to mod the libdroid-res? Or im doing it wrong? Thanks
Sent from my GT-S5660 using xda app-developers app
Nop all is right ...
It contains all res things about it
Sent from my GT-S5660 using xda app-developers app
DQiB said:
Nop all is right ...
It contains all res things about it
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
So why im getting FC? Or it cant be decopiled?
Sent from my GT-S5660 using xda app-developers app
lol dont decompile it ...
exract it using winrar and theme it a bit
and then repack it using 7zip and compressmode: store
oh and rename .zip in .apk! thats it
Sent from my GT-P1000 using xda app-developers app
MatZ69 said:
Hello guys. I have a little problem. I do all right and i got this working but i want to mod the libdroid-res.apk only to switch the color of the tex or to hide the it. I decopiled the libdroid-res.apk and swiched wat i want, recopiled again but now im getting FC on systemUi. It is possible to mod the libdroid-res? Or im doing it wrong? Thanks
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
Lidroid res apk has been made with a unique moddified apktool wich arent available
Sent from my GT-S5830 using xda premium
DQiB said:
lol dont decompile it ...
exract it using winrar and theme it a bit
and then repack it using 7zip and compressmode: store
oh and rename .zip in .apk! thats it
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
Yh a know that. I only swiched the the images and works fine.
CoolCatGetHome said:
Lidroid res apk has been made with a unique moddified apktool wich arent available
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Yh but look, white background and white text dond combine x)
Please take a look. Do i can solve the problem?
Sent from my GT-S5660 using xda app-developers app

[guide/How-To] Disable Verizon CD Installer

This is based on Verizon Note 3 NC4 Android 4.4.2 Deodexed. This was a group effort by Versatile1 and myself, please don't forget to thank Versatile1.
First thing you need to do is have a current Nandroid or backup. Then grab your services.jar from /system/framework.
Decompile with APKTOOL of your choice.
First step is to edit /smali/com/android/server/usb/UsbDeviceManager$UsbHandler.smali
Look For: 2 instances of "const v6, 0x1040707" and change to "const v6, 0x1040706"
Then edit /smali/com/android/server/KiesConnectivity/KiesUsbManager.smali
Look for: 1 instance of "const-wide/16 v2, 0x7530" and change to "const-wide/16 v2, 0x0"
That's it. Compile and Enjoy!!!
If you want to use this in your ROM please don't forget to give credit to Versatile1 and myself.
Do not re-post our work!!! If you have questions or need this Mod on another phone just ask in a post!!!
Please don't forget to hit THANKS!!!
Installer
EMSpilot said:
This is based on Verizon Note 3 NC4 Android 4.4.2 Deodexed. This was a group effort by Versatile1 and myself, please don't forget to thank Versatile1.
Click to expand...
Click to collapse
Thank you! Great find guys. :good:
need some help i decompiled and look for the line const v6, 0x1040707" but it does not exist in my /smali/com/android/server/usb/UsbDeviceManager$UsbHandler.smali file
Are you running NC4?
Sent from my SM-G900V using Tapatalk 2
EMSpilot said:
Are you running NC4?
Sent from my SM-G900V using Tapatalk 2
Click to expand...
Click to collapse
No but shouldent it be the same as the nc2 im running
Sent from my SM-N900V using XDA Premium 4 mobile app
NC4
jolly_roger_hook said:
No but shouldent it be the same as the nc2 im running
Sent from my SM-N900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No sir,
Please send me the following:
From framework-res.apk I need res/values/public.xml
From serivces.jar I need the 2 smali files as mentioned in my OP. Or your whole services.jar
Thanks
Has anyone tried this on 4.3 MJE ROMs such as Jelly Beans?
No
AngryManMLS said:
Has anyone tried this on 4.3 MJE ROMs such as Jelly Beans?
Click to expand...
Click to collapse
No sir,
Please send me the following:
From framework-res.apk I need res/values/public.xml Or just send me your whole framework-res.apk
Then I will need from /system/framework your services.jar if you are oxed. I also need services.odex.
Thanks
jolly_roger_hook said:
need some help i decompiled and look for the line const v6, 0x1040707" but it does not exist in my /smali/com/android/server/usb/UsbDeviceManager$UsbHandler.smali file
Click to expand...
Click to collapse
+1 I am on NC4 (hyperdrive)

Categories

Resources