[Q] How to use "Restrict background data" WITHOUT notification ? - Desire Q&A, Help & Troubleshooting

Hi,
I wish to permanently use the "Restrict background data" feature ( under settings->data usage ) on my JB rom, but the problem is that when I enable that feature, I always get a notification, asking me to "touch to remove" that feature...
I don't wish to do that, even by mistake! I want that notification GONE completely, but to retain the "restrict" feature...
I understand, it's possible to permanently disable notifications, by altering "Settings.apk" somehow - but I don't know what and where to change ( wish file inside that apk ).
I used "apktool" to unpack the apk, but again - which file should I change ? what value/line should I delete ?
My rom is VJ's AOKP v2.2, so "Settings.apk" file is from that rom's version.
Any help would be great :highfive::fingers-crossed:
EDIT:
Guess it has something to do with "DataUsageSummary.smali" (after unpacking the Settings apk -> smali\com\android\settings):
BUT WHAT SHOULD I CHANGE ?!

please reply
gps3dx said:
Any help would be great :highfive::fingers-crossed:
Click to expand...
Click to collapse
Seriously ? Not even the smallest hint you ppl can give me ?:crying::crying:
Can't you even redirect me to the most prevalent sub-forum, here at XDA, for that kind of question ?:silly:

gps3dx said:
Seriously ? Not even the smallest hint you ppl can give me ?:crying::crying:
Can't you even redirect me to the most prevalent sub-forum, here at XDA, for that kind of question ?:silly:
Click to expand...
Click to collapse
Something called the search function; it's really useful.
You can't just expect others to answer your questions promptly. As for your questions, that's part of the android system and if you want to modify it, go ahead. It's not a notification because you can't swipe it away; it's an ongoing thing. SO if you want to go on with that kind of attitude, you can try it yourself.

droid_<3er said:
Something called the search function; it's really useful.
As for your questions, that's part of the android system and if you want to modify it, go ahead. It's not a notification because you can't swipe it away; it's an ongoing thing.
Click to expand...
Click to collapse
I really do appreciate your reply man - even though I googled xda from top to button.
( there are thread about modifying various stuff inside settings.apk / SystemUI.apk - but NON are about that "restriction notification" i'm talking about. )

I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Update: For a while now it's already available in Xposed modules repository: http://repo.xposed.info/module/org.adam77root.removerestrictednotification.

Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
WOW thnx... but just a few moments before you posted your message I to fulfill that wish of mine... I SOLVED IT !
Although I admit - I DO NOT KNOW if I disabled all of the "restrict background" feature, but I DO managed to enable the "restrict backgound data" checkbox ( then press OK at the popup ) WITHOUT getting any notification at all !
HOW TO DISABLE NOTIFICATION ALERT FOR "RESTRICT BACKGROUND DATA" ( under settings-> data usage-> options )​( I tried that fix on JB 4.2.2 ( to be specific: AOKP VJ Jelly Bean v2.2), BUT I guess it works on all JB 4.2.2 )​1. copy "services.jar" from "/system/framework/services.jar" to your computer.
MAKE A SAFE COPY OF THIS FILE IF SOMETHING HAPPENS TO YOU.
2. extract the jar file using Winrar or any compatible app.
3. using MultiTool decompile the "classes.dex" file as instructed by Multitool's thread.
4. open with any txt editor ( I used Notepad++ ) the file "NetworkPolicyManagerService.smali" under "decompiled\classout\com\android\server\net\" ( which is a sub-folder of Mulitool's folder that you've previously extracted )
5. A . search for:
Code:
invoke-interface/range {v0 .. v6}, Landroid/app/INotificationManager;->enqueueNotificationWithTag(Ljava/lang/String;Ljava/lang/String;ILandroid/app/Notification;[II)V
delete completely that line or add "# " in the start of that line ( which is what I did ) so that line looks like that:
Code:
# invoke-interface/range {v0 .. v6}, Landroid/app/INotificationManager;->enqueueNotificationWithTag(Ljava/lang/String;Ljava/lang/String;ILandroid/app/Notification;[II)V
B. search for:
Code:
invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
add "# " in the start of that line ( which is what I did ) or delete completely that line
6. SAVE that smali file that you've just edited.
7. using Multitool, recompile the classes.dex file.
if everything went good, you'll have classes.dex file under MultiTool's sub-folder named "output"
8. using Winrar, open "services.jar", replace the current "classes.dex" with the recompiled one that you've made.
9. copy the remade "services.jar" to your device(using adb etc ):
Code:
adb push "services.jar" /system/framework/services.jar
10. chmod "services.jar" to "-rw-r--r--", meaning you need to:
Code:
adb shell chmod 644 /system/framework/services.jar
11. restart your device, and It should rebuilt your dalvik cache.
ONLY if it didn't, I guess you should delete "/data/dalvik-cache/[email protected]@[email protected]" file, reboot again so your OS will create that dalvik-cache file.
I'll be happy to know if anyone can verify that indeed my fix just remove his/her notification, but retain the ability to disable background data. THANKS !

Sorry I doubted you. You are a genius!

Many thanks!!
Adam77Root, thank you so much for that module! I can confirm it working on my Galaxy Note 2. That notification was unbelievably annoying.
gps3dx, thank you too for this thread and your fix. While I didn't try it because I already have Xposed framework installed and I'd rather use the less invasive approach, I am still grateful for your seeing a problem, addressing it, and proactively doing something about it. My respects to you. I searched around quite a bit and came across many other forums on different sites where people had this same problem unanswered. I hope they find their way to this thread.
To the above poster who jumped down the OP's throat for bumping this topic 4 days after it went unanswered, obviously you didn't do any search on this topic yourself. I did. And until this thread, I found nothing really useful. And lo-and-behold, someone was kind enough to actually do something useful instead of pointlessly sitting there and criticizing. The squeaky wheel gets the grease. Rudely telling someone to 'check their attitude and search' is not helpful- it's just rude and pointless. Just FYI.

I have an i9300 and I can't find the first line in that archive...

eXtremeDevil said:
I have an i9300 and I can't find the first line in that archive...
Click to expand...
Click to collapse
mybe it is because you run JB 4.1.2 not 4.2.2 like I do, plus mybe you're running some custom framework ( it is not AOKP as I suspect from you sig )

Adam77Root said:
...I've quickly put together an Xposed module that removes the notification.
Click to expand...
Click to collapse
@Adam77Root
Big thanks for this module: I installed another 4.2.2 JB rom for my HTC Desire, and your module works !:good::good:

Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
this was working fine on my aokp jb mr1 Milestone 2, but stopped working when i installed the nigthly nightly (jb-mr1)2013-08-21 (wich fixes my camera issues and soe other stuff)
is there anything i can try myself to fix this or is it just incopatible with that nightly? (its still 4.2)

I'm using Lenovo phone, 4.2.1 Version. In "services.jar" I see only folder "META-INF" and file "MANIFEST.MF". I tried to rename the file to classes.dex then using MultiTool decompile but I receive: "Unexpected top-level exception:java.lang.RuntimeException:bad magic value...etc"
So what's wrong, where to find classes.dex? Someone?
new edit: Thanks a lot for all the replies, also Xposed framework+module didn't work.

Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
Thanks a lot. Works awesome. Is it possible to post the source code to this?

css771 said:
Thanks a lot. Works awesome. Is it possible to post the source code to this?
Click to expand...
Click to collapse
I'm almost certain I don't have the original files anymore. Since it's pretty simple, you can either decompile the apk or check Android source of the class I mentioned in the post you quoted. Only one function is replaced with returning null.
Edit: Just checked, the function is enqueueRestrictedNotification.
Sent from my OmniROM-powered LG Optimus 4X HD

Xposed module works perfect on LG G2. Thanks a bunch!
Sent from my VS980 4G using Tapatalk

Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
nice module.. work perfectly.. thanks

rooting?
do i have to root my phone to do this? will the module work without rooting? i'm new to playing with codes on my phone but I have done a lot of work with linux before so i can understand the process, i've just never rooted my phone before. i'd really like to get rid of this notification and the "usb connectivity" app's notification: internal storage &SD card- internal storage &SD card connected to PC. I mean, do i really need a notification to tell me that my phone is connected to my PC?
that last request isn't as important, at least if i accidentally click on that i'm not turning on background data use!
-yasboss
xperia z1s
jb 4.3
(just joined xda devs)
p.s.
is this the right place to ask this question?

yasboss said:
do i have to root my phone to do this? will the module work without rooting? i'm new to playing with codes on my phone but I have done a lot of work with linux before so i can understand the process, i've just never rooted my phone before. i'd really like to get rid of this notification and the "usb connectivity" app's notification: internal storage &SD card- internal storage &SD card connected to PC. I mean, do i really need a notification to tell me that my phone is connected to my PC?
that last request isn't as important, at least if i accidentally click on that i'm not turning on background data use!
-yasboss
xperia z1s
jb 4.3
(just joined xda devs)
p.s.
is this the right place to ask this question?
Click to expand...
Click to collapse
you need root to use xposed installer..

what else can it be used for?
ajeesh vijayan said:
you need root to use xposed installer..
Click to expand...
Click to collapse
can i use it for other notifications like i asked? I mean there's more than just the USB connectivity etc

Related

Rom Editor

Hi guys,
I've been changing roms on my phone lately and found out that there were some roms that have some apps on the rom that I don't want on it.
Or just the other way around, that it doesn't have some apps on it that I do want when I install a new rom.
After a while I got irritated by this and thought that I could create a program that could help people like me by adding/removing apps from the rom without diving into the rom zip file and maybe delete files that I shouldn't touch.
It's finally finished and it works, i've tested it on my HTC Desire multiple times now .
let me know what you think! And if you have any tips/questions check my website to get my e-mail address!
you can find more info/screenshots at beardman.eu
And here's the Download link!
Updates:
V1.5
- It's even bigger
- You are able to change your boot animation
- You are able to change sounds (Alarms, notifications, ringtones)
- Code optimization
V1.4
- It’s a bit bigger
- You can now maximize the window
- It no longer looks like it’s frozen when you unpack/save a rom
- Bar at the top of the program with the “settings”
- Progress bar on the bottom to show the unpacking/saving progress
- Report bug option for when you’ve found something that isn’t working!
- Code optimization
V1.3
- Extra tab for some settings which can be turned on and off as you wish
- Changelog is now included
- Check for update is included
- You can open the last rom as how you left it, no need to drop it on there again
- Automatically remove the safe to remove apps
- Automatically load previous edited rom
- Small bugfixes
V1.2
- Information is shown while extracting rom
- When saving rom, a location and file name is asked
- When right clicking on an item in the System list a pop-up will show which allows the user to mark an app as safe/unsafe to remove
- Items will be colored red or green or black depending on if they are safe or unsafe to remove
- Option to delete all the safe to remove items
V1.1
- Added compatible with update-script
Todo:
- Save state
- get your own list of apps to remove automatically
This program is supposed to work on most devices, if you've tested it and it works let me know!
Working devices:
- HTC Desire
is that like the rom kitchen?
but works on windows??
I don't really know, I haven't looked into it. The only thing you can change so far is adding and removing apps to the system and user partition. If you have a tip on what I should add, let me know!
Yes, it works on windows.
I haven't really dabbled in it much - but when i did it looked like you needed a linux VM/boot to play around with it much...
one thing that might be sensible is to try and code in a flag to identify apps that shouldn't be removed, because of fc etc.? even if they are just flagged as italics or something with a warning that they may cause fc if you don't have a default launcher or something
Well, it works on windows because you'll need to download a rom first, and then you open the rom zip file with this program and you'll just basically edit the files in the rom zip file!
Thanks, that's a good one! I'll look into it soon!
something like this is always good for getting rid of htc stocks (stock.apk and the widget too com.htc.stockwidget.apk - oh and plurk too nowadays)
and the apps that annoy you because you replace them instantly with an updated/different version from market, like quickoffice, the google apps that are out of date very quickly...
if you can make the app recommend ones not to remove, perhaps its worth highlighting ones that are recommended to remove too?
list could be provided quickly by people using the app as to which ones are commonly removed
edit: especially as you have a nice little log of apps that are removed:
17:50:21 - Removing app com.htc.linkedin.apk
17:50:21 - Removing app com.htc.PlurkWidget.apk
17:50:21 - Removing app com.htc.StockWidget.apk
17:50:21 - Removing app HtcPlurk.apk
17:50:21 - Removing app Quickoffice.apk
17:50:37 - Removing app Stock.apk
Click to expand...
Click to collapse
Think you might need a save as button or something though
also i am getting an error when saving:
17:51:15 - NOT saving rom
17:51:20 - NOT saving rom
17:51:31 - NOT saving rom
17:51:44 - NOT saving rom
Click to expand...
Click to collapse
was playing about with this rom if it helps: Cool-AceS-v7.zip
--- oh
and if it helps, it might be an idea to put a 'please wait' box popup or something when loading a rom - it took a minute or so when i tried it - and the app window hangs (as well as the explorer one I dragged the .zip from) - if a progress bar can be made that'd be better, but it'd be good just to tell people that it's doing something and not just crashing
Thanks for the error report, gonna look into it in a hour or so!
Think that's a good idea, i'll see what I can do for it .
-edit:
Found what the problem is, currently it only works when a rom is using the updater-script, not the update-script.
Think i'll be able to fix it this week .
Not to disappoint you or anything but what you can do with this program you can do it anyway. I was hoping for a proper full on program really, not just deleteing applications. I can do this anyway by opening rom.zip and deleteing the apps myself.
Probably a nice little app for newbies though.
Had another idea, to set your own list of defined apks to remove so you can have quick open and deletion (and addition) of apk list, and recompile of a zip.
Sent from my HTC Desire using XDA Premium App
Meaple said:
Not to disappoint you or anything but what you can do with this program you can do it anyway. I was hoping for a proper full on program really, not just deleteing applications. I can do this anyway by opening rom.zip and deleteing the apps myself.
Click to expand...
Click to collapse
I'm not disappointed by your comment, and I know that
What would you like to see this program do? Any tips?
Meaple said:
Not to disappoint you or anything but what you can do with this program you can do it anyway. I was hoping for a proper full on program really, not just deleteing applications. I can do this anyway by opening rom.zip and deleteing the apps myself.
Click to expand...
Click to collapse
But in the outset its doing what he intended it to do
Sent from my HTC Desire using Tapatalk
f0xy said:
But in the outset its doing what he intended it to do
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
indeed.
not everyone is familiar and happy to start ripping open zips and deleting stuff so for those people this will be a nice way to get stuff done without the fear of screwing it up
And you can add apps to the user data partition. If the rom hasn't included the data install in the updater-script that will be added !
does the download link include the fix to actually recompile the rom/zip now?
Lothaen said:
does the download link include the fix to actually recompile the rom/zip now?
Click to expand...
Click to collapse
Not yet, if I have some time I'll try to fix it today!
thank you for this program, I'll try it
New version is now online!
Now compatible with update-script
Check main post for link!
Chrusb said:
New version is now online!
Now compatible with update-script
Check main post for link!
Click to expand...
Click to collapse
when saving I got the error 'rom file is in use by another process' or similar
I guess that's because I opened it in the app and it is trying to save over the top?
'save as' feature would fix it
or is it cause the .zip is in the same folder as the .exe ?
Lothaen said:
or is it cause the .zip is in the same folder as the .exe ?
Click to expand...
Click to collapse
yes it is.
a save as and/or an option to rename the .zip when recompiling the zip would be best probably - or an error that says 'do not have the .zip you want to edit in the same folder as the .exe'

SGS3 themed Accuweather widget

Hi everyone,
----Attention to anyone on CM9 wanting to use this package-----
The zip seems to be causing some trouble with CM9 and some users have reported having boot loops after flashing (only on CM9)
If you are on CM9 and want to use the package please push the files across manually to where they need to be.
eg. /system/app and /system/etc read page 2 of this thread for detailed instructions.
**************Update 08/06/2012**************************
Another new update v1.2.1
fixed CWM package file...
added some permission xmls from touchwiz roms, and some libs etc. Hopefully will fix the problems some have been having again with the package.
Link updated below in downloads.
**********
Sorry to those of you who are on a CM based rom who weren't able to get the zip to work, I've updated the zip so it should work on CM, I am unable to test as I'm not on a CM rom so can someone please check it for me and let me know? Thanks.
Download link updated below.
ps. 100 downloads in less than a day!
***********************************************
I like many others have been working hard to port the SGS3's lovely widgets, but like everyone else, I haven't had any real luck ripping them, it seems samsung worked hard to make these ONLY available on the SGS3, but I guess it is just a matter of time until someone is able to port them.... hopefully
Until that time, I decided the next best thing would be to use the SGS2's ported accuweather widget and theme it with the nice images from the SGS3 widget
The background image is semi-transparent and changes depending on daytime/night time/cloudy weather
Have a look at screenshots
Daytime -
Night time -
Cloudy -
Installation
Copy zip file to phone
Then reboot into CWM and flash this file.
Clear dalvik cache
Reboot and enjoy
**If you already have either the digital clock widget or the sgs2 accuweather widgets installed, I would suggest to do a backup with titanium (just in case you want to revert to your old one) and then uninstall them**
Download
http://www.mediafire.com/download.php?r90ug8t219kd5sk
If you are happy with the app please hit the thanks button
And if you are really really happy feel free to buy me a beer / donate
In the zip, there is also a digital clock widget, with the number images from the SGS3 ported over too
IT doesnt work..
Sent from my GT-I9000 using XDA
santosxen said:
IT doesnt work..
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
1st post! welcome to XDA.
Can you tell me which rom are you using, maybe you can try to manually put the files in /system/app and set permissions to 0 , 0 then r-w, r, r,
Did the install with CWM say it was sucessful or not?
xxx posts, still does not work..
Cyanogenmod 9, also setted permissions..
Try here dude,it's a GSIII's weather widget and it works on my GS
http://forum.xda-developers.com/showthread.php?t=1689520
Hi OP, sorry I haven't posted sooner, but it works fine.
Manually copied the two apk with rootexplorer + perms + reboot
Btw, I use Nova Launcher.
Thanks !
work`s on jw4?
saphirrot said:
xxx posts, still does not work..
Cyanogenmod 9, also setted permissions..
Click to expand...
Click to collapse
Haha! I wasn't implying that it wasn't working for santosxen because he has only made one post! that just silly!
I was only welcoming him to this great forum full of helpful people!
I forgot to mention after setting the permissions correctly (to 0 , 0 then r-w, r, r,) that you need to reboot and then it will work.
filou75 said:
Hi OP, sorry I haven't posted sooner, but it works fine.
Manually copied the two apk with rootexplorer + perms + reboot
Btw, I use Nova Launcher.
Thanks !
Click to expand...
Click to collapse
Excellent, thanks for the feedback! It is working fine on Apex launcher too.
norocosul3 said:
work`s on jw4?
Click to expand...
Click to collapse
Yes it should work fine on JW4.
However as you are on a Touchwiz based rom you might be able to get the real sgs3 widget to work from Twics latest 1.5.1 update see here it is a big pack which adds on a lot of content to your phone and changes icons etc. if you dont want all that stuff I can edit his CWM package if you want so it just includes the widgets...
Here is the link, http://www.mediafire.com/download.php?4dwy7yvy5ekhj7i
I edited out all the other stuff and you just have the new touchwiz launcher and the sgs3 widgets. Just put the file on your phone and flash with CWM, I can't guarantee it will work, but if you are on a samsung rom your chances are better than the rest of us I think, let me know how it goes.
New zip added to OP for those of you who are using CM roms, sorry the last zip seems to have only worked for some people, this one should work for everyone fingers crossed.
Haha! I wasn't implying that it wasn't working for santosxen because he has only made one post! that just silly!
I was only welcoming him to this great forum full of helpful people!
I forgot to mention after setting the permissions correctly (to 0 , 0 then r-w, r, r,) that you need to reboot and then it will work.
Click to expand...
Click to collapse
doesnt meant it bad too bro, but it still does not work. Please try your mod with this launcher :
http://forum.xda-developers.com/showthread.php?t=1571527
It wont work :/
sorry it's not working for you
thanks for the heads up with this link, I'll try it out
Yeah but... Touchwiz is... just touchwiz ^^'
It's atm not working for me too. I manually copied these two .apk Files to the /system/app Folder. After that i have wanted to change the permissions but i guess i failed that way...the permissions seem to be basically accurate... Help me guys please
I have just updated the file in the OP, version 1.2
now includes added touchwiz permission xml files and some lib files to system.
Hopefully with these added files it will work for everyone.
Let me know if it works
santosxen said:
It's atm not working for me too. I manually copied these two .apk Files to the /system/app Folder. After that i have wanted to change the permissions but i guess i failed that way...the permissions seem to be basically accurate... Help me guys please
Click to expand...
Click to collapse
I use an app from the market called 'super manager' download that and go into the 4th tab to the file manager, once you are in the file manager choose 'back up level folder' up the top of the list, choose this until it takes you back to / (which is root) up the top you should see '/ (r/o)' then go to system, (when going into system it will ask you if you want to modify the file system, it will give you three options 1. do nothing 2. read only, and 3. r/w choose R/W. Now you are in the system folder of your phone, but be careful here because if you change something without knowing what you are doing you could have big problems.. ok now go into app folder and find your file, it will be near the bottom, it is called accuweather.com and under that it will say 'samsungwidget_weatherclock.apk'.
Once you have found the file choose the tick box next to it, now down the bottom of the screen you will see a list of icons; home, copy, cut, paste etc. now slide across to the right and you will see 'attribute' the icon has 777 on it.
Ok now where it says owner: set this number to 0
and where it says group: set this number to 0 as well.
under that you will have your permissions.
you can set owner to read, write, and execute
you can set group to read, write, and execute as well
and you can set other to read, write, and execute as well
it will also work if you just have owner as r-w-- group as r---- and other as r---- but try the above settings first to see if that works for you.
Now you just have to reboot and your widget should install properly
I will assume that you are on a rooted rom though?
And please try the new version 1.2 in the opening post too
Let me know if you have any troubles
1.2 doesnt work -> signature verification failed
Sent from my GT-I9000 using XDA
I fixed the permissions, still wont work: (
Sent from my GT-I9000 using XDA
Sorry about that... new link uploaded....
v1.2.1
this time I tested it and it is working for me (sorry I didn't test that last one v1.2, must have been a problem with the zip file)
1.2.1 -> sugnature verification failed
Sent from my GT-I9000 using XDA
santosxen said:
1.2.1 -> sugnature verification failed
Sent from my GT-I9000 using XDA
Click to expand...
Click to collapse
You don't need a signed zip if you use a cwm recovery
Witch kernel do you have on your gs ?

[MOD][XPOSED] NFC Icon Remover [HTC One/One X]

NFC Icon Remover
**You can now get NFC Icon Remover on the Xposed Framework's Download tab. In this way, if I update it, you will get update notice via Xposed framework. However, I will still post the most updated file here once available! **
I just wrote this little App for my own use to remove the ugly (IMHO) NFC icon. With the power of XPosed framework, there are no need to modify the NFC.apk and the Icon is complete GONE.
For those you may not know, the NFC icon appears on HTC One and One X (after Android 2.2 update). This take out the precious space of status bar while looking really ugly.
Please be noted to use this mod, you need XPosed framework by rovo89. You could get the Framework at http://forum.xda-developers.com/showthread.php?t=1574401
This App has no icon of it's own. Just side load attached NFCIconRemover.apk and enable it in the Xposed Installer then reboot. You will notice the NFC icon will be gone after reboot.
Since this is my first Android app (Actually my last time writing any SW is 20 years ago! Haha!) so feel free to risk your phone by installing this. I am NOT responsible if it anything went wrong after install this mod.
I had only test this on my HTC One X (international version) with MaximusHD 21.1.0 (a very good custom ROM). Please feel free to feedback on this thread and I will try to resolve as much as I could.
If you find this useful, it would be appreciated to push the "Thank" button!
Great thanks go to rovo89 for this fabulous framework!!!
When I try to install from within xposed framework, I get the following error message:
Package name is incorrect (downloaded: com.lssong.nfciconremover, expected: NFCIconRemover)
Any idea?
edit: Just noticed that manual installation of the .apk works. So more or less a non-issue, but maybe worth solving anyway.
BigBlue007 said:
When I try to install from within xposed framework, I get the following error message:
Package name is incorrect (downloaded: com.lssong.nfciconremover, expected: NFCIconRemover)
Any idea?
edit: Just noticed that manual installation of the .apk works. So more or less a non-issue, but maybe worth solving anyway.
Click to expand...
Click to collapse
Yeah, I get the same thing happening.
As said above, manual installation of the .apk worked fine. The module is now listed in xposed framework, and I could enable it. Unfortunately it's not removing the NFC icon on my device (LG G2).
Deleted due to double post
BigBlue007 said:
As said above, manual installation of the .apk worked fine. The module is now listed in xposed framework, and I could enable it. Unfortunately it's not removing the NFC icon on my device (LG G2).
Click to expand...
Click to collapse
Thanks for trying out! I just fixed the download installation issue in the Xposed framework. It should work now... *My Bad*...
As for LG G2 not working... Since I don't have a LG, could you please help by checking if the LG G2's NFC service package name is com.android.nfc? If not, what is the name?
Thanks!
Hi. How can i have the nfc back again? Thanks
Installed, works great, thanks!
rharta said:
Hi. How can i have the nfc back again? Thanks
Click to expand...
Click to collapse
If you want the NFC icon back, just disable this module in XPosed frameworks and reboot. The NFC icon will be back. (uninstalling the module then reboot will do the same trick)
SephirothXIIIX said:
Do you know if this is supposed to work with the 4.3 update? I've installed the Xposed Framework and enabled the module and rebooted, but I still have the annoying icon.
Click to expand...
Click to collapse
Since my One X doesn't have 4.3 yet, so I cannot test myself. However, as long as Xposed framework works and the NFC process is named "com.android.nfc" then it *should* work.
Feel free to install it and post your result here! It won't hurt anything and if it doesn't work, just remove it.
If it doesn't work, could you please let me know your NFC's process name so I could add it.
Thanks!
Sony Xperia Z
Process name is
com.sonymobile.nfc
Or at least it is on my rooted stock T-Mobile version. Model #C6606. Running 4.1.2 (I know, ridiculous).
Thanks for the mod. I hate that icon!
lssong99 said:
Thanks for trying out! I just fixed the download installation issue in the Xposed framework. It should work now... *My Bad*...
As for LG G2 not working... Since I don't have a LG, could you please help by checking if the LG G2's NFC service package name is com.android.nfc? If not, what is the name?
Thanks!
Click to expand...
Click to collapse
LgNfc.apk
Ok, I will add both when I can get back to my PC with the source code next week!
Sent from my HTC One X using XDA Premium HD app
Palthron said:
LgNfc.apk
Click to expand...
Click to collapse
Sorry, LgNFC.apk is the name of the apk file... Can you try to get the "process name" which looks like com.android.nfc? (I guess LG's might look like com.lge.nfcaddon ...)
If you don't know how to get a process name, try to get Android Tuner free. In that app you can see all the process name!
From the information on XDA, it seems LG had their own implementation of NFC and lot of things are changed under-hook. I had look up into the BaskSamli people provide and pull the com.lge.nfcaddon. Not sure if it's correct and even if it's correct, will it work or not.
Anyway, you can try the attached apk and check yourself! If it works, I will post it on the XPosed framework's download page
Cheers!
probablymartin said:
Process name is
com.sonymobile.nfc
Or at least it is on my rooted stock T-Mobile version. Model #C6606. Running 4.1.2 (I know, ridiculous).
Thanks for the mod. I hate that icon!
Click to expand...
Click to collapse
I have added to hook also Sony's nfc but but sure if it will work or not. Could you please side load this apk and test for me? If it works, I will post it on the XPosed Framework's download page!
Thanks!
maybe try again?
That did not work on my Xperia. But I may have flubbed the service name. Perhaps try:
com.sonymobile.nfc.NfcServiceEx
Thanks!
probablymartin said:
That did not work on my Xperia. But I may have flubbed the service name. Perhaps try:
com.sonymobile.nfc.NfcServiceEx
Thanks!
Click to expand...
Click to collapse
OK. Modified accordingly. However, it seems Sony also modified their NFC service so no guarantee my simple way will work... Anyway please let me know if it works!
sigh
lssong99 said:
OK. Modified accordingly. However, it seems Sony also modified their NFC service so no guarantee my simple way will work... Anyway please let me know if it works!
Click to expand...
Click to collapse
Nope. No luck. I guess Sony doesn't want me to control me own phone experience. But there's nothing to unique about that, I guess. Thanks for your effort and prompt responses!
lssong99 said:
Sorry, LgNFC.apk is the name of the apk file... Can you try to get the "process name" which looks like com.android.nfc? (I guess LG's might look like com.lge.nfcaddon ...)
If you don't know how to get a process name, try to get Android Tuner free. In that app you can see all the process name!
From the information on XDA, it seems LG had their own implementation of NFC and lot of things are changed under-hook. I had look up into the BaskSamli people provide and pull the com.lge.nfcaddon. Not sure if it's correct and even if it's correct, will it work or not.
Anyway, you can try the attached apk and check yourself! If it works, I will post it on the XPosed framework's download page
Cheers!
Click to expand...
Click to collapse
lssong99 thank you, I tired this but unfortunately it didn't work on LG G2 801. There was a zip somewhere to flash in recovery, but I'd love to have an xposed module that took care of it.
I appreciate your hard work!
nathanskidmore said:
lssong99 thank you, I tired this but unfortunately it didn't work on LG G2 801. There was a zip somewhere to flash in recovery, but I'd love to have an xposed module that took care of it.
I appreciate your hard work!
Click to expand...
Click to collapse
Hi, apk did not work for me either. Would love to have the icon removed. Can I help in fixing it for G2? Please let me know how. Appreciate the hard work!

[tool]Installer for xposedLG G2[tool]unofficial

A small tool which makes the installation of xposed an easy process.
-I support only 5.0.x stock. If ot works on other versions - good.
*** I am NOT the author of xposed ***
The XPOSED AUTHORS original thread is here
make sure you thak to @rovo89 for xposed and his hard work.
--IF anyone else is to be added to the xposed dev list please pm me so I WILL add it. Thank you---
I'm just putting everything together so you can install it via 1 click
What does this tool do ?
BUTTON "INSTALL"
-Installs the complete xposed which includes the installer which is also copyrighted by it's authors
-makes backup of LG crucial files which would force close if we don't remove them (for now)
-deletes the mentioned files (smartcover, lgweather)
BUTTON "COMPLETE UNINSTALL"
-removes the complete package of xposed
-restores LG files (smartcover and lgweather)
-makes sure the permissions are the right one
The 3 dot menu contains:
"ABOUT" ---- Please read this...you need to read this as it's important
"DONATE" ---- support the further development etc
"EXIT" ---- EXITS the app
"UNINSTALL" --- This uninstall is only for those who have manually frozen the files and just want to uninstall xposed so they can unfreeze the apps later.
Req: a rooted LG G2 and TWRP installed.
An alternate build will also contain the files for those who just deleted the files and now want them back.
Please read this thoroughly so later there are no headbangs..
LINK
playstore link
Code:
md5:8f0bdd922a4edd6d9449c956aa212d48
bender_007 @ xda
So it works with lollipop right ?
Lollipop only
You just made my night buddy =)
one question which version install? alpha3? or alpha2?
Thanks in advanced!
Alpha3. Tomorrow we'll try to make one for users without recovery
bender_007 said:
Alpha3. Tomorrow we'll try to make on for users without recovery
Click to expand...
Click to collapse
Nice! You've been puttin in some work on the g2...
jamesd1085 said:
Nice! You've been puttin in some work on the g2...
Click to expand...
Click to collapse
I've learned there are people who appreaciate one click tools and the other who don't and are sceptic:"is this gonna work? What else do I have to do?"
bender_007 said:
I've learned there are people who appreaciate one click tools and the other who don't and are sceptic:"is this gonna work? What else do I have to do?"
Click to expand...
Click to collapse
Haha...yeah...but it helps more than you know...this tool will probably prevent at least 100 noobish help i installed xposed and everything force close threads and posts
thanks @bender_007
Mate, I have to ask why. This is such a simple process if you have root, changing the update script and binary you open a new can for bugs... what's wrong with the official zips?
So is this not supported by non stock ROMs?
nice tool. altough I allready installed xposed manually an frozen the apps it will be usefull for unistall process if needed.
FYI do not try without custom recovery. I don't know wtf I was thinking, but I tried without custom recovery. Failed to completely install, but it booted up again. Then tried to uninstall whatever may have installed, rebooted. BRICKED. TOTing back lol. I am such an idiot sometimes.
I had smartcover and lgweather force closes on ls980. I didn't realize it happened to other variants! Thanks this is a nice tool!
The Play Store Link does not indicate a need for TWRP. Is that just an oversight, or does that version not require it. Rather be safe than sorry.
You need TWRP. I bricked my phone and had to tot back. Make sure you have custom recovery.
Sent from my LG-LS980 using XDA Free mobile app
It does require twrp. Playstore rejected the app 3 times so I had to change text not to include some brands etc.
I know it seems I'm beating a dead horse but, any luck on a non recovery version yet? My tablet feels lonely without xposed!
When it's on testing I will send it to you . But get also a kdz of your system os if needed.
Hi, a silly question if I have uninstalled LGSmartCover and theses kind of LG apps that will cause FC, there will be some problem like the installator crashing because can't find LGSmartCover and lead to a bad installation....?

[HOW-TO] Enable MultiWindow on EMUI 4.1 / Android 6 (like EMUI 5)

Hello!
This morning i was just looking in build.prop when ive seen a line regarding multi-window.
On EMUI 5 / Android 7, we can enable MultiWindow by pressing for few seconds the multitasking/recents icon in the navigation bar.
This feature is available on EMUI 4.1 as well.
REQUIREMENTS:
- EMUI 4.1
- Unlocked bootloader
- Rooted phone
- a file manager with root support ( im using the good old version of ES File Explorer)
Click to expand...
Click to collapse
[HOW-TO] Huawei Nova:
1) Grant root access to the file manager.
2) Go to /system and open build.prop.
3) Search for ro.huawei.multiwindow and change it from false to true.
ro.huawei.multiwindow=false becomes ro.huawei.multiwindow=true.
4) Save and reboot. After reboot, you can use MultiWindow by pressing for few seconds the multitasking / recents icon from navigation bar.
Click to expand...
Click to collapse
[HOW-TO] Other Huawei phones:
If you have followed the instructions for Huawei Nova and it didnt work, then check if you have HwMwLauncher folder in /system/app or /system/priv-app.
If it is missing, then check this post. People reported that MultiWindow is working after they got HwMwLauncher.
CONFIRMED DEVICES:
- Huawei Honor 8
If your phone isnt on this list, then it doesnt mean that it doesnt work. Just try and report back. I think it should work on all Huawei phones which are running EMUI 4.1.
Click to expand...
Click to collapse
EDIT: I just seen that you can use MultiWindow by swiping up two fingers on navigation bar too.
When you are in Multiwindow with 2 apps open, press HOME button.
I have a big bug!
The Home is in half screen.
VNS-L21C432B170
Emui 4.1.2
Inviato dal mio HUAWEI VNS-L21 utilizzando Tapatalk
millo1978 said:
When you are in Multiwindow with 2 apps open, press HOME button.
I have a big bug!
The Home is in half screen.
VNS-L21C432B170
Emui 4.1.2
Inviato dal mio HUAWEI VNS-L21 utilizzando Tapatalk
Click to expand...
Click to collapse
I have no issues. When I press home button it just disable MultiWindow.
Nova CAN-L11 running EMUI 4.1 CANC432B100.
Maybe this is my firmware problem... I don't know.
But only with home button.
With back button all is ok.
Screenshot:
http://cloud.tapatalk.com/s/58ff90231cc85/Screenshot_2017-04-25-20-02-43.png?
Inviato dal mio HUAWEI VNS-L21 utilizzando Tapatalk
I enabled this on my mate 7 with emui 4 marshmallow quite a while ago. If I try to use it I just get a pop up message saying this application does not support dual windows. Haven't found a practical use for it yet.
RobboW said:
I enabled this on my mate 7 with emui 4 marshmallow quite a while ago. If I try to use it I just get a pop up message saying this application does not support dual windows. Haven't found a practical use for it yet.
Click to expand...
Click to collapse
It's same for me.
When you press the "+" on homescreen after you enable MultiWindow I think it shows only the apps which support it.
Personally, I'm not using MultiWindow. I just wanted to share the small trick I've found.
Strange - it doesn't seem to have any effect on my rooted Honor 8 (still on MM with EMUI 4.1).
I used BuildProp Editor to set ro.huawei.multiwindow=true and rebooted. Holding the "recents" button does nothing apart from a quick burst of haptic feedback after about half a second or so.
Any ideas?
Thanks.
stooby said:
Strange - it doesn't seem to have any effect on my rooted Honor 8 (still on MM with EMUI 4.1).
I used BuildProp Editor to set ro.huawei.multiwindow=true and rebooted. Holding the "recents" button does nothing apart from a quick burst of haptic feedback after about half a second or so.
Any ideas?
Thanks.
Click to expand...
Click to collapse
Exactly the same phone and software here but it shows the toasts messages and the MultiWindow interface but doesn't work. I think EMUI 4.1 is simply Nougat ready and that is the reason why it has the option to enable or disable MultiWindow but the system (MM) has not this function and that is why it doesn't work. So the result is only the GUI of MultiWindow being shown but is only EMUI trying to do something as layer that system in fact isn't capable.
I was wrong follow @#Henkate instructions here here
stooby said:
Strange - it doesn't seem to have any effect on my rooted Honor 8 (still on MM with EMUI 4.1).
I used BuildProp Editor to set ro.huawei.multiwindow=true and rebooted. Holding the "recents" button does nothing apart from a quick burst of haptic feedback after about half a second or so.
Any ideas?
Thanks.
Click to expand...
Click to collapse
carmeloamg said:
Exactly the same phone and software here but it shows the toasts messages and the MultiWindow interface but doesn't work.
Click to expand...
Click to collapse
1) Do you have HwMwLauncher.apk in /system/app/HwMwLauncher or /system/priv-app/HwMwLauncher ? I don't think it matter if it is in app or priv-app, but it must exist. I have it in /system/app.
2) After you enable MultiWindow, do you see the process named HwDualWindowLauncher at Settings > Developer Options > Running services (check also cached processes there)?
3) In build.prop I have the following line: ro.config.hw_multiscreen=true. I think it might be related to MultiWindow as well, but I'm not sure. I didn't try yet to set it to false and see what happens.
carmeloamg said:
I think EMUI 4.1 is simply Nougat ready and that is the reason why it has the option to enable or disable MultiWindow but the system (MM) has not this function and that is why it doesn't work. So the result is only the GUI of MultiWindow being shown but is only EMUI trying to do something as layer that system in fact isn't capable.
Click to expand...
Click to collapse
Well, it works for me on Nova CAN-L11 running EMUI 4.1
MultiWindow has been introduced in Android 6. Why Huawei hid this option in EMUI 4.1 (Android 6) and introduced it as a new feature in EMUI 5 (Android 7)? That's what I'm asking too.
#Henkate said:
1) Do you have HwMwLauncher.apk in /system/app/HwMwLauncher or /system/priv-app/HwMwLauncher ? I don't think it matter if it is in app or priv-app, but it must exist. I have it in /system/app.
2) After you enable MultiWindow, do you see the process named HwDualWindowLauncher at Settings > Developer Options > Running services (check also cached processes there)?
3) In build.prop I have the following line: ro.config.hw_multiscreen=true. I think it might be related to MultiWindow as well, but I'm not sure. I didn't try yet to set it to false and see what happens.
Click to expand...
Click to collapse
1). I don't have HwMwLauncher.apk in either location (or anywhere, in fact).
2). No, I don't see the HwDualWindowLauncher process running.
3). I tried that, but it doesn't appear to have any affect.
Thanks anyway.
I'm not too bothered whether this works or not, but if it can be enabled, I will just for the fun of it!
stooby said:
1). I don't have HwMwLauncher.apk in either location (or anywhere, in fact).
2). No, I don't see the HwDualWindowLauncher process running.
3). I tried that, but it doesn't appear to have any affect.
Thanks anyway.
I'm not too bothered whether this works or not, but if it can be enabled, I will just for the fun of it!
Click to expand...
Click to collapse
The missing HwMwLauncher could be the problem since it is related to MultiWindow.
I've uploaded HwMwLauncher folder from my Huawei Nova.
1) Download HwMwLauncher.zip from HERE and extract it.
2) Copy HwMwLauncher folder to system/app.
3) Set the correct permissions for folders and files (.apk and .odex). I've attached screenshots with the permissions as well. The permissions of oat and arm64 folders must be same as the one for HwMwLauncher folder. And the permission of .odex file must be same as .apk one.
4) Reboot. Now I'd say that it should work. Make sure that ro.huawei.multiwindow=true in build.prop, but also ro.config.hw_multiscreen=true (just in case, I still don't know the purpose of this line as I didn't try to set it to false yet).
@carmeloamg :
If you don't have HwMwLauncher neither, then follow the same steps I've wrote in this post and report if it works.
#Henkate said:
The missing HwMwLauncher could be the problem since it is related to MultiWindow.
I've uploaded HwMwLauncher folder from my Huawei Nova.
1) Download HwMwLauncher.zip from HERE and extract it.
2) Copy HwMwLauncher folder to system/app.
3) Set the correct permissions for folders and files (.apk and .odex). I've attached screenshots with the permissions as well. The permissions of oat and arm64 folders must be same as the one for HwMwLauncher folder. And the permission of .odex file must be same as .apk one.
4) Reboot. Now I'd say that it should work. Make sure that ro.huawei.multiwindow=true in build.prop, but also ro.config.hw_multiscreen=true (just in case, I still don't know the purpose of this line as I didn't try to set it to false yet).
Click to expand...
Click to collapse
That's fixed it!
Thanks for your help.
#Henkate said:
The missing HwMwLauncher could be the problem since it is related to MultiWindow.
I've uploaded HwMwLauncher folder from my Huawei Nova.
1) Download HwMwLauncher.zip from HERE and extract it.
2) Copy HwMwLauncher folder to system/app.
3) Set the correct permissions for folders and files (.apk and .odex). I've attached screenshots with the permissions as well. The permissions of oat and arm64 folders must be same as the one for HwMwLauncher folder. And the permission of .odex file must be same as .apk one.
4) Reboot. Now I'd say that it should work. Make sure that ro.huawei.multiwindow=true in build.prop, but also ro.config.hw_multiscreen=true (just in case, I still don't know the purpose of this line as I didn't try to set it to false yet).
@carmeloamg :
If you don't have HwMwLauncher neither, then follow the same steps I've wrote in this post and report if it works.
Click to expand...
Click to collapse
I didn't have it. Placed and fixed but it only allows to use three system apps as second window even having some other multi window ready apps. For instance I've got WhatsApp and Telegram I can use multi window each one separately with gallery, files and videos but not both together. Snapshot attached. Same for you @stooby ?
Thanks @#Henkate !
very easy and smart! working very well without problems ...thanks
carmeloamg said:
I didn't have it. Placed and fixed but it only allows to use three system apps as second window even having some other multi window ready apps. For instance I've got WhatsApp and Telegram I can use multi window each one separately with gallery, files and videos but not both together. Snapshot attached. Same for you @stooby ?
Thanks @#Henkate !
Click to expand...
Click to collapse
Yes, same for me. When I had my Note 4, there was an Xposed module that enabled all apps for multi window use. Unfortunately, it's not working on these devices. I'll keep investigating.
stooby said:
Yes, same for me. When I had my Note 4, there was an Xposed module that enabled all apps for multi window use. Unfortunately, it's not working on these devices. I'll keep investigating.
Click to expand...
Click to collapse
HONOR 8: Installing this version of HwMwLauncher makes the multi window natively supported apps to be selectable and the multiwindow_whitelist_apps.xml file placed in /cust/hw/normal/xml make it usable from many other apps that before says not compatible. Only two issues, sometimes launcher (nova launcher) gets stuck on half of it size buy as it comes it goes. The other issue is that you can not use two apps that not appear in HwMwLauncher, just able to open one that is not and then launch another that is on it. See screenshots (example using chrome and instagram).
#Henkate said:
The missing HwMwLauncher could be the problem since it is related to MultiWindow.
I've uploaded HwMwLauncher folder from my Huawei Nova.
...
Click to expand...
Click to collapse
VNS-L21C432B170 Emui 4.1.2 (P9 lite)
I tried now again...
and now it works good!
tested in Portrait and Landscape.
No issues at the moment!
Thanks a lot
working here to
wishing for a fix for Knuckle Sense too...ive searched for that app everywhere with root explorer and just cant find it...
Knuckle sense is renamed branded Qeexo Finger Sense... double knock for screenshot/draw a letter to open an App. ect.
its activated in Intelligence Assistant but not working ...
looks like its disabled by root
---------- Post added at 04:11 PM ---------- Previous post was at 03:55 PM ----------
I have found in /system...
knuckle_gesture.bin...
but cant open it

Categories

Resources