FORUMS
Remove All Ads from XDA

[NEW] [DEV] [APP] [2012-07-23] HWA BlackList Settings 1.04 [Translators needed]

435 posts
Thanks Meter: 636
 
Thread Closed Email Thread

Basically this is an app to add files in /data/local/hwui.deny folder, so that the corresponding package is denied hwui. Usage : Just untick the apps that you want hwui denied. (you should be using atleast http://defy.wdscript.fr/defy-cm9/CM9...20710-Defy.zip)

Please not that this app is in beta phase and is only for the use of developers. Don't install it if you don't know what you're doing.

Install : Just flash the latest zip file in your cwm recovery. (Old versions :Just use any app like X-plore to copy it to /system/app/. And rename the apk to HwaSettings.apk. )

About permissions, this is a system app. It uses an attribute `android:sharedUserId="android.uid.system"`, so this app have access to all the permissions available in android. Also it can change any file in your data partition. Check out the source code.

Changelog :
Code:
Version 1.04 *(2012-07-23)*
---------------------------
* New : Keep system apps at the end of the list  
* New : Traditional Chinese translations : kckc0220  
* New : Croatian translations : ppero196  
* New : Spanish Spain translation : martin6230  
* New : Slovak translations : pepcisko  
* New : Bulgarian translations : SFisherBG  
* Fix : Ignore exceptions on boot  

Version 1.03 *(2012-07-18)*
---------------------------
* New : Improve list performance  
* New : Show blacklisted apps always on top  
* New : App label changed to Hwa Settings  
* New : Filtered list starts with queried text  
* New : Code optimisation  
* New : Use a new service to apply changes  
* New : Latin American Spanish translations - javonera, cdlq456  
* New : French translation update - epsylon3  
* New : Polish translation - ???, mike_oldfield  
* New : Hungarian translation - Tamas  
* New : Czech translations - mikrom.cz, klovan200  
* New : German translations - AnTerNoZ, TheBoegl  
* New : Indonesian translations - marhensa  
* New : Italian translations - sonyc2011  
* New : Netherlands Dutch translations : Martijn1971  
* New : Romanian translations - sonyc2011  
* New : Greek translations - saltofx_v  
* New : Russian translations - Quarx  
* New : Brazilian Portugese translations : Gafanhotz  
* Fix : Minor bugs  
* Known issue : Crash on filtering after few checks/unchecks, only in ICS. Might be a frameworks bug.  

Version 1.02 *(2012-07-16)*
---------------------------
* New : French translations (epsylon3)  
* New : Better UI  
* New : Improve list performance  
* New : Remove uninstalled packages during scan  
* New : Disable keyboard popup at start  
* New : Sort by application label  
* Fix : Crash on boot completed  

Version 1.01 *(2012-07-15)*
---------------------------

* New : Icon from epsylon3  
* New : Faster loading  
* Fix : An FC  
* Fix : CheckBox state not retained when soft keyboard popups.

Ubuntu install script (install.sh) :
Code:
#!/bin/bash
adb shell mount -o rw,remount /system
adb shell rm /system/app/HwaSettings.apk
sleep 2
adb push HwaSettings-release-1.00-beta-royale1223.apk /system/app/HwaSettings.apk
sleep 2
adb shell mount -o ro,remount /system
exit 0
My hwui.deny folder :
Code:
$ adb shell ls -la /data/local/hwui.deny
drwxrwxr-x    2 system   nobody        4096 Jul 22 12:48 .
drwxrwx--x    8 shell    shell         4096 Jul 18 23:28 ..
-rw-------    1 system   system           0 Jul 22 03:39 ccc71.bmw.pro
-rw-------    1 system   system           0 Jul 22 03:39 com.aldiko.android
-rw-------    1 system   system           0 Jul 21 03:09 com.andrew.apollo
-rw-------    1 system   system           0 Jul 21 03:12 com.android.backupconfirm
-rw-------    1 system   system           0 Jul 21 03:09 com.android.browser
-rw-------    1 system   system           0 Jul 21 03:09 com.android.calendar
-rw-------    1 system   system           0 Jul 21 03:09 com.android.certinstaller
-rw-------    1 system   system           0 Jul 21 03:11 com.android.defcontainer
-rw-------    1 system   system           0 Jul 21 03:10 com.android.email
-rw-------    1 system   system           0 Jul 21 03:10 com.android.exchange
-rw-------    1 system   system           0 Jul 21 03:10 com.android.htmlviewer
-rw-------    1 system   system           0 Jul 21 03:09 com.android.inputmethod.latin
-rw-------    1 system   system           0 Jul 21 03:10 com.android.keychain
-rw-------    1 system   system           0 Jul 21 03:11 com.android.mms
-rw-------    1 system   system           0 Jul 21 03:11 com.android.providers.applications
-rw-------    1 system   system           0 Jul 21 03:09 com.android.providers.calendar
-rw-------    1 system   system           0 Jul 21 03:09 com.android.providers.contacts
-rw-------    1 system   system           0 Jul 21 03:10 com.android.providers.downloads
-rw-------    1 system   system           0 Jul 21 03:10 com.android.providers.drm
-rw-------    1 system   system           0 Jul 21 03:11 com.android.providers.media
-rw-------    1 system   system           0 Jul 21 03:12 com.android.sharedstoragebackup
-rw-------    1 system   system           0 Jul 21 03:12 com.android.smspush
-rw-------    1 system   system           0 Jul 22 03:40 com.android.vending
-rw-------    1 system   system           0 Jul 21 03:11 com.android.vending.updater
-rw-------    1 system   system           0 Jul 22 12:48 com.android.voicedialer
-rw-------    1 system   system           0 Jul 22 03:39 com.bittorrent.client
-rw-------    1 system   system           0 Jul 21 03:08 com.bytestorm.speedx
-rw-------    1 system   system           0 Jul 21 03:09 com.dooblou.WiFiFileExplorerPRO
-rw-------    1 system   system           0 Jul 22 03:39 com.droidhen.defender2
-rw-------    1 system   system           0 Jul 22 03:39 com.evernote
-rw-------    1 system   system           0 Jul 21 03:07 com.facebook.katana
-rw-------    1 system   system           0 Jul 21 03:07 com.gh4a
-rw-------    1 system   system           0 Jul 22 03:39 com.github.mobile
-rw-------    1 system   system           0 Jul 21 03:11 com.google.android.apps.genie.geniewidget
-rw-------    1 system   system           0 Jul 22 03:40 com.google.android.apps.plus
-rw-------    1 system   system           0 Jul 21 03:07 com.google.android.apps.unveil
-rw-------    1 system   system           0 Jul 21 03:11 com.google.android.apps.uploader
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.backup
-rw-------    1 system   system           0 Jul 21 03:11 com.google.android.feedback
-rw-------    1 system   system           0 Jul 22 03:39 com.google.android.gm
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.googlequicksearchbox
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.gsf
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.gsf.login
-rw-------    1 system   system           0 Jul 21 03:11 com.google.android.location
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.onetimeinitializer
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.partnersetup
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.syncadapters.bookmarks
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.syncadapters.calendar
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.syncadapters.contacts
-rw-------    1 system   system           0 Jul 21 03:11 com.google.android.talk
-rw-------    1 system   system           0 Jul 21 03:10 com.google.android.tts
-rw-------    1 system   system           0 Jul 22 03:40 com.hanhuy.android.irc.lite
-rw-------    1 system   system           0 Jul 22 03:40 com.ideashower.readitlater.pro
-rw-------    1 system   system           0 Jul 21 03:09 com.imo.android.imoimbeta
-rw-------    1 system   system           0 Jul 21 03:07 com.mfunzbasebandswitcher
-rw-------    1 system   system           0 Jul 21 03:11 com.motorola.android.AudioEffectSettings
-rw-------    1 system   system           0 Jul 21 03:10 com.motorola.android.fmradio
-rw-------    1 system   system           0 Jul 21 03:11 com.motorola.android.motophoneportal.androidui
-rw-------    1 system   system           0 Jul 21 03:10 com.motorola.fmradio
-rw-------    1 system   system           0 Jul 21 03:11 com.motorola.usb
-rw-------    1 system   system           0 Jul 21 03:07 com.nolanlawson.logcat
-rw-------    1 system   system           0 Jul 22 03:40 com.opera.mini.android
-rw-------    1 system   system           0 Jul 21 03:09 com.quoord.tapatalkxda.activity
-rw-------    1 system   system           0 Jul 22 03:39 com.realarcade.DOJ
-rw-------    1 system   system           0 Jul 22 03:39 com.rovio.angrybirdsrio
-rw-------    1 system   system           0 Jul 22 03:39 com.rovio.angrybirdsseasons
-rw-------    1 system   system           0 Jul 22 03:39 com.sirma.mobile.bible.android
-rw-------    1 system   system           0 Jul 21 03:11 com.svox.pico
-rw-------    1 system   system           0 Jul 21 03:08 com.swype.android.inputmethod
-rw-------    1 system   system           0 Jul 22 03:40 com.tinyco.village
-rw-------    1 system   system           0 Jul 21 03:09 com.tunewiki.lyricplayer.android
-rw-------    1 system   system           0 Jul 21 03:09 com.twitter.android
-rw-------    1 system   system           0 Jul 21 03:07 com.vivis.android.livetv
-rw-------    1 system   system           0 Jul 21 03:07 de.bwulfert.buildpropedit
-rw-------    1 system   system           0 Jul 21 03:09 devian.tubemate.home
-rw-------    1 system   system           0 Jul 21 03:06 dk.logisoft.aircontrolbeta
-rw-------    1 system   system           0 Jul 21 03:07 info.kfsoft.android.TrafficIndicator
-rw-------    1 system   system           0 Jul 21 03:09 mobi.infolife.itag
-rw-------    1 system   system           0 Jul 21 03:07 net.micode.compass
-rw-------    1 system   system           0 Jul 21 03:07 org.games4all.android.games.indianrummy.prod
-rw-------    1 system   system           0 Jul 21 03:09 org.wordpress.android
-rw-------    1 system   system           0 Jul 21 03:08 tw.com.quickmark
-rw-------    1 system   system           0 Jul 21 03:07 uk.co.aifactory.chessfree
Basicaly you can deny hwui to any app that targets API 10 or below, any app that uses Holo.Light theme(Eg: Gmail : No gradient needed, but you have to be carefull because apps like Google+ and Github relies on hwui for animations/effects) or any app that doesn't have a UI. You see when hwui is not denies some libs are loaded :
Code:
07-17 14:20:37.968: D/libEGL(4041): loaded /system/lib/egl/libGLES_android.so
07-17 14:20:37.976: D/libEGL(4041): loaded /system/lib/egl/libEGL_POWERVR_SGX530_125.so
07-17 14:20:37.991: D/libEGL(4041): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_125.so
07-17 14:20:37.991: D/libEGL(4041): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_125.so
If you deny hwui, these are not loaded. So denying hwui for one or two apps won't make a diffrence, but disabling hwui for many apps can save you some memory or even some battery.

Source : https://github.com/royale1223/HwaSettings
Translators : https://github.com/royale1223/HwaSet...es/strings.xml
The Following 37 Users Say Thank You to royale1223 For This Useful Post: [ View ] Gift royale1223 Ad-Free
 
 
11th July 2012, 10:30 PM |#2  
krlox_rokr's Avatar
Senior Member
Flag Barranquilla
Thanks Meter: 44
 
More
thanks friend, i don't know what's the problem with hwa for all the system, but many people can't be wrong then it's a good idea have a list with the apps that don't need hwa...... for the optimization of the system.
11th July 2012, 10:36 PM |#3  
mikrom.cz's Avatar
Senior Member
Thanks Meter: 31
 
Donate to Me
More
I dunno where is problem, but I am not able to install it. I tap on install, and it say that app is not installed.
Latest quarx. Try download twice.

Odesláno z mého MB526
11th July 2012, 10:53 PM |#4  
Member
Thanks Meter: 25
 
More
Quote:
Originally Posted by mikrom.cz

I dunno where is problem, but I am not able to install it. I tap on install, and it say that app is not installed.
Latest quarx. Try download twice.

Odesláno z mého MB526

Same problem for me

Sent from my MB525 using xda premium
The Following User Says Thank You to mohegan For This Useful Post: [ View ] Gift mohegan Ad-Free
11th July 2012, 11:41 PM |#5  
EtaCarinae's Avatar
Senior Member
Flag Rosario
Thanks Meter: 53
 
More
Same issue for me.

OMG, the app requires a lot of permissions


EDIT:

I pushed the app to /system/app/ and didn't work.
12th July 2012, 12:09 AM |#6  
Account currently disabled
Thanks Meter: 268
 
More
Me too.
12th July 2012, 01:11 AM |#7  
royale1223's Avatar
OP Senior Member
Flag Calicut
Thanks Meter: 636
 
Donate to Me
More
Post
Quote:
Originally Posted by mikrom.cz

I dunno where is problem, but I am not able to install it. I tap on install, and it say that app is not installed.
Latest quarx. Try download twice.

Odesláno z mého MB526

Quote:
Originally Posted by john9

Me too.

Quote:
Originally Posted by EtaCarinae

Same issue for me.

OMG, the app requires a lot of permissions


EDIT:

I pushed the app to /system/app/ and didn't work.

Quote:
Originally Posted by mohegan

Same problem for me

Sent from my MB525 using xda premium

I think I somehow uploaded the unsigned apk. I should get some sleep. It should work now. Just use any app like X-plore to copy it to /system/app/. And rename the apk to HwaSettings.apk. About permissions, this is a system app. It uses an attribute `android:sharedUserId="android.uid.system"`, so this app have access to all the permissions available in android. Also it can change any file in your data partition. Check out the source code.
12th July 2012, 01:29 AM |#8  
EtaCarinae's Avatar
Senior Member
Flag Rosario
Thanks Meter: 53
 
More
Thanks! It works now.

Are you gonna make a list of the system apps that don't require hwa?
12th July 2012, 01:34 AM |#9  
royale1223's Avatar
OP Senior Member
Flag Calicut
Thanks Meter: 636
 
Donate to Me
More
Post
Quote:
Originally Posted by EtaCarinae

Thanks! It works now.

Are you gonna make a list of the system apps that don't require hwa?

Nope. But feel free to post your findings here. It might help others. Disabling hwa for browser makes it faster.
12th July 2012, 02:07 AM |#10  
Senior Member
Flag Surat, Gujarat
Thanks Meter: 184
 
More
I still get not installed msg.... I changed d chmod of d app too like other sys apps... Help????

Sent from my MB525 using xda app-developers app
12th July 2012, 02:24 AM |#11  
EtaCarinae's Avatar
Senior Member
Flag Rosario
Thanks Meter: 53
 
More
Quote:
Originally Posted by bharaththeunique

I still get not installed msg.... I changed d chmod of d app too like other sys apps... Help????

Sent from my MB525 using xda app-developers app

Install it by pushing to /system/app. The fisrt post was updated.
Thread Closed Subscribe to Thread

Tags
hwa
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes