Here is an easy solution/fix for those who wish to use AdAway v2.8 but end up getting stuck on the final step to enabling ad blocking, "Applying hosts file".
If you are trying to enable AdAway but are stuck on "Applying hosts file" as seen in the screenshot below, then please follow these very simple instructions.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Download a root explorer. I prefer using Root Explorer because I think its the best file explorer on the android market. If you have problems with purchasing apps you can always use the free version Explorer, or if you prefer using another file explorer that's fine, just make sure it has root access enabled.
2. Once you have a file explorer installed that has root access enabled, navigate to "system/etc" and find the file labeled "hosts" as seen in the screenshot below.
3. Hold down/select the file labeled "hosts" and select "permissions" from the selection as seen in the screenshot below.
4. After selecting permissions a window should have popped up where you can change the permissions of the file as seen in the screenshot below.
4. Change the permissions of the hosts file to "rw-rw-rw" just like in the screenshot below. Hit "OK" to apply the permission changes and close the file explorer completely and head back over to AdAway.
5. Once you have AdAway back open, click "Download files and apply ad blocking" and try again. Depending on your internet connection it shouldn't take very long, but you should see something like this, hit "Yes".
6. After your phone has rebooted, open AdAway again and you should see something like this saying newest hosts files enabled.
Congratulations, AdAway is now working and ad blocking is enabled!
Thanks man, it worked great
Cheers for the post, was getting this issue on ASOB 1.3.2 rom & it was starting to get annoying, sometimes it would apply the HOSTS file after a reboot, other times it wouldn't
Thanks, this works for me too !
Thanks...Seems Adaway randomly breaks this permission.
Worked perfect thanks
The reason AdAway does that on newer android versions (some 4.3 roms and most all 4.4) is because of SELinux. If you change it to permissive, the Hosts file applies perfectly. Do so at your own risk, but I can't stand having it on my phone. Blocks too many fun things.
es0tericcha0s said:
The reason AdAway does that on newer android versions (some 4.3 roms and most all 4.4) is because of SELinux. If you change it to permissive, the Hosts file applies perfectly. Do so at your own risk, but I can't stand having it on my phone. Blocks too many fun things.
Click to expand...
Click to collapse
I just got a new app that I have to use every day and it places ads right above the keyboard. Was definitely not going to deal with that **** every day it was really distracting.
advocat3 said:
I just got a new app that I have to use every day and it places ads right above the keyboard. Was definitely not going to deal with that **** every day it was really distracting.
Click to expand...
Click to collapse
That's ridiculous. Not that you have to use the app, of course, but wtf...on top of the keyboard? Do they have a donate version that is ad-free at least? Not everyone has the option to root and disable them. What app is it?
es0tericcha0s said:
That's ridiculous. Not that you have to use the app, of course, but wtf...on top of the keyboard? Do they have a donate version that is ad-free at least? Not everyone has the option to root and disable them. What app is it?
Click to expand...
Click to collapse
It's not on TOP of the keyboard but directly above it. So when you're entering text input and trying to read what you wrote there's a blaring ad right below your text.
Incredibly obnoxious. The app is called "Awoken" and it's when you make a new entry in the dream journal: https://play.google.com/store/apps/details?id=com.lucid_dreaming.awoken
advocat3 said:
It's not on TOP of the keyboard but directly above it. So when you're entering text input and trying to read what you wrote there's a blaring ad right below your text.
Incredibly obnoxious. The app is called "Awoken" and it's when you make a new entry in the dream journal: https://play.google.com/store/apps/details?id=com.lucid_dreaming.awoken
Click to expand...
Click to collapse
Ah ok. Well, at least you can opt out of them buy purchasing the premium version of it. I'd probably just do the AdAway option too, but the premium version does have the dark theme which would probably make it worth it to me. I much prefer white text on black backgrounds.
What also works for me is the same steps but just change to read-write and then apply adaway
Sent from my Nexus 5 using XDA Premium 4 mobile app
Still having problems - you can try this
Had the same issue on my HTC Desire running 4.4.2 OmniRom by Spezi77
I followed all the steps outlined in the OP, but still Adaway was stuck while applying the host file
Finally, managed to get it to work by disabling the toast notification for Adaway in SuperSU.
The original solution has been posted here (towards the end)
On step 3: Using Explorer, I don't have a Permissions option when I select my hosts file. I also couldn't find an alternative File Manager with that option and I can't figure out why it isn't available for myself.
I know I'm probably missing something obvious here. Any ideas?
I installed root explorer -free version just to reprodcue your problem. Yes, I get the same on step 3 - it only shows the properties of the host file. I think this is partly because the program does not ask for root permissions. With SuperSu i couldn't manually grant root permissions to it.
I would suggest you to use "ES file explorer" instead. When you open this program, access the left menu. Open tools and scroll down to find root explorer option. Now in the app click on the button next to it to switch it on. The program will now ask for root permissions from your super user program. Grant there rights. Then you have to click on the word root explorer and you will get a popup menu. In this menu you have to next to the /system select RW option. This will allow you to make changes to system.
Now close this left menu, and navigate to the hosts file and set the permissions. When you long press on the file you will get similar options as listed in the original post.
You can switch off the root explorer option when you are done.
Sent from my HTC Desire using XDA Free mobile app
Worked perfectly! Thank you very much. :laugh:
I am glad I was able to help
Sent from my HTC Desire using XDA Free mobile app
Geforce256 said:
Had the same issue on my HTC Desire running 4.4.2 OmniRom by Spezi77
I followed all the steps outlined in the OP, but still Adaway was stuck while applying the host file
Finally, managed to get it to work by disabling the toast notification for Adaway in SuperSU.
The original solution has been posted here (towards the end)
Click to expand...
Click to collapse
Still hangs on parsing and merging .....
Thank you! :good:
That has resolved the problem, that Adaway was not able to update the Host File.
Hey everyone, I tried the instructions here using both Root Explorer and ES Explorer but similar message on both explorers.
On Root Explorer "Permissions change was not successful. Please note that some file systems (e.g. SD card) do not allow permission changes
On ES Explorer "Sorry, operation failed."
Can anyone shed some light on these errors for me please. Thank you.
N.B. I am using the Huawei Y330
Related
Droid Explorer and Android Commander are cool little programs run through Windows that let you batch install/uninstall apps, contacts, and a ton of other features such as screen shots and moving files around etc.
Droid Explorer Direct Download http://www.mediafire.com/?zjjmwtgimtz
Site: http://de.codeplex.com/
To get Screen Cast (interactive PC/Phone control which you can record as a video or tutorial) to work properly on some systems, dl this.
View attachment androidscreencast.zip
http://forum.xda-developers.com/attachment.php?attachmentid=329993&d=1274450154
Thanks to dianeofarcadia for the link
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Features
Multiple Device Support
Copy and auto-apply update.zip
Copy local files to device
Auto detection of connected/disconnected device
APK file icon and extended information
Device command shell window
Reboot device
Reboot device in to recovery mode
Open files for viewing / execution locally with the default file type executable
Drag & Drop file copy from Explorer
Flash Recovery Image
Package Manager (Install & Uninstall)
No need to mount SD card to access files from computer
Access files in other directories besides SD card
Copy files from device to local clipboard
Paste files from local clipboard to device
Open files on local machine
Display open with dialog to specify what to open a file with
Right click APK and Uninstall
Right click APK and Install
Delete files from device
Take a Screen Shot (landscape or portrait)
Plugins can register as a component to open files
Open from within Computer
Should now work with more ROMs as long as they are Rooted and have busybox
Device "Friendly Name" instead of device serial number.
Android Screencast Plugin - Control your android device with your mouse and keyboard
Install/Uninstall APK files right from explorer
Standalone plugin runner (will mainly be used for windows 7 jump lists and the apk installer but can be used to run any plugin.
Better Hero Support
Backup the "Google Experience" applications and creates an update.zip containing the applications
Android Commander Direct Download Link http://www.mediafire.com/?zzzymtiyezy
Site: http://androidcommander.cyf.pl
Features
Explore files:
- copy multiple files/dirs between Phone and PC
- copy multiple files/dirs between Phone folders
- delete multiple files/dirs from Phone
- new dir and rename options
- drag&drop multiple files/dirs in to progrm
- drag&drop files/dirs between program tabs
- partitions size info
- bookmarks
Manage apps:
- windows integration
- backup multiple apps to any dir on Phone/PC
- batch/single apps install
- install as private
- update
- batch/single uinstall apps
- uninstall with option to keep data or not
Console:
- type any shell command
- run sh script from PC
and more…
- flashing zip and img files
- options to reboot, reboot to recovery, reboot to bootloader, power off phone
- screenshots (beta)
- tools…
Download link to my folder @ MediaFire
http://www.mediafire.com/?sharekey=27287fde074a5250e62ea590dc5e5dbbdc566628acb63ad8d6f20ee4ff677d52
Just wanted to share because it seems not a lot of people know these are out there. Enjoy!
MUST HAVE ROOT... probably...
seems promising
will have to check out Android Commander.
Droid Explorer runs pretty good, a bit laggy at times but it is promising. Hope it is ok to attach this jnlp to go with Droid Explorer in case anyone needs it. It was the only way to get screen cast to work properly. Just un zip, and toss the folder on the desk top. It helps start up the screen cast mode for Droid Explorer, in case anyone has trouble getting the one inside DE to work. Hope this helps.
dianeofarcadia said:
will have to check out Android Commander.
Droid Explorer runs pretty good, a bit laggy at times but it is promising. Hope it is ok to attach this jnlp to go with Droid Explorer in case anyone needs it. It was the only way to get screen cast to work properly. Just un zip, and toss the folder on the desk top. It helps start up the screen cast mode for Droid Explorer, in case anyone has trouble getting the one inside DE to work. Hope this helps.
Click to expand...
Click to collapse
Thank you for that. It already worked for me but I'm sure it will help others. I'll update the post and give you credit if you dont mind.
LexusBrian400 said:
Thank you for that. It already worked for me but I'm sure it will help others. I'll update the post and give you credit if you dont mind.
Click to expand...
Click to collapse
(I should look and find who wrote it, I found it somewhere here digging while troubleshooting). Glad it worked for you, now I need to know what is wrong on mine. lol.
the driod explorer says i am trying to install on the wrong platform? i have 64bit vista.. any ideas?
android commander says it cant find the sdk, i have it but i cant make this thing work for nothing, any ideas?
j-stang said:
the driod explorer says i am trying to install on the wrong platform? i have 64bit vista.. any ideas?
android commander says it cant find the sdk, i have it but i cant make this thing work for nothing, any ideas?
Click to expand...
Click to collapse
Go to the main site links. These links are for Win-7 32 bit. They should have a 64 bit on the main sites.
Will check it out thanks!
I got android commader to work.
-------------------------------------
Sent via the XDA Tapatalk App
This is really cool, thanks.
FIX PERMISSIONS:
0. Download and open Root Explorer
1. Browse to the file that you want to fix permissions
2. Tap Mount R/W button
3. long press the application, a window will pop up:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
4. Select Permissions and change them to rw-r--r--
CHANGE OWNER TO ROOT:
1. Browse to the file that you want to fix permissions
2. Tap Mount R/W button
3. long press the application, a window will pop up:
4. Select Change Owner and change Owner and Group to 0- root (is the first of the list)
Veronica,
Are there are benefits to using Root Explorer over other file managers like ES File Explorer? If I remember correctly, Root Explorer was a paid app, so I ended up just getting ES, haha.
I seem to be managing fine with ES and haven't had any permissions problems after doing a good bit of fooling around with system apps and such. Just wondering if there's anything better about Root Explorer. Thanks.
Solar.Plexus said:
Veronica,
Are there are benefits to using Root Explorer over other file managers like ES File Explorer? If I remember correctly, Root Explorer was a paid app, so I ended up just getting ES, haha.
I seem to be managing fine with ES and haven't had any permissions problems after doing a good bit of fooling around with system apps and such. Just wondering if there's anything better about Root Explorer. Thanks.
Click to expand...
Click to collapse
Well the only benefit so far is that you can change owner with RT, ES file explorer doesn't have that function that is needed for fixes of files (ex. adhoc wifi fix), or hacks in apps that sometimes moving them to /system/app is not enough and you need to change owner.
~ Veronica
Also, in messing with ES a bit, it seems to just allow you access to your SD card...unless I'm missing something.
All in all, I'd recommend Root Explorer just for mult-select alone.
Denmmurray said:
Also, in messing with ES a bit, it seems to just allow you access to your SD card...unless I'm missing something.
All in all, I'd recommend Root Explorer just for mult-select alone.
Click to expand...
Click to collapse
Yes you are missing something in settings>> Home Directory change current directory to /
~ Veronica
Why is it telling me ".apk copy failed" when i try to copy from sd card to system/app? Im using ES File Explorer
xonzer said:
Why is it telling me ".apk copy failed" when i try to copy from sd card to system/app? Im using ES File Explorer
Click to expand...
Click to collapse
do you root explorer enabled in the settings for es file explorer? you need to enable that in order to make the /system folder writable. once that is enabled you should have no problems copying apk's to your /system folder.
lavero.burgos said:
Well the only benefit so far is that you can change owner with RT, ES file explorer doesn't have that function that is needed for fixes of files (ex. adhoc wifi fix), or hacks in apps that sometimes moving them to /system/app is not enough and you need to change owner.
~ Veronica
Click to expand...
Click to collapse
I have just downloaded ES file explorer and it still doesn't have this function Don't know when they want to add it...
zipike said:
I have just downloaded ES file explorer and it still doesn't have this function Don't know when they want to add it...
Click to expand...
Click to collapse
ES File Explorer - settings - root settings - Mount file system
path
I only need to fix the file? or also the complete path to the file?
File is the filename
Path is the complete directory and path to that file.
Which one is necessary??
huh
droopyar said:
I only need to fix the file? or also the complete path to the file?
File is the filename
Path is the complete directory and path to that file.
Which one is necessary??
Click to expand...
Click to collapse
so what is the problem here, can you rephrase your question, as so I can understand what you are looking for so I can offer some help.
Hi. I need to change permissions for the skype app located in /data/app. The problem is, when I go into root explorer, there's nothing in the data folder.
If I use es explorer, I can open the folder and I can find the file I'm looking for, but it's nowhere in root explorer . Is there a way I can change permissions using es explorer? Or some way I can access the file in root explorer?
How shall i add root permissions to app for rom?
via kitchen ?
cicibanko101 said:
How shall i add root permissions to app for rom?
via kitchen ?
Click to expand...
Click to collapse
See http://forum.xda-developers.com/showthread.php?t=1474987.
Hi guys
Just a noob question, if you are gona change the permissions on one file with root explorer is it possible for them to reset again at their original, state ?
Clarify...
sverti said:
Hi guys
Just a noob question, if you are gona change the permissions on one file with root explorer is it possible for them to reset again at their original, state ?
Click to expand...
Click to collapse
Want to move launcher2 to system app, am using es explorer with root
Apologies if I'm being thick-headed, but I've been attempting to change my rooted Verizon Samsung Galaxy S4's efs/carrier/hiddenmenu file from "OFF" to "ON" and simply cannot get it to take. I am rooted, Root Explorer notes that it has been granted SU permission (status?) when I fire it up, and I've got it mounted R/W. I can open this HiddneMenu file in a Text Editor and change OFF to ON, but when I select Save or Save & Exit, and then open it back up, it continues to read "OFF". I've fooled around with changing the permissions on this file already- I've added "Write" permission to both "Group" and "Others" but that isn't helping. What am I missing? I'm running 4.4.2 if that makes a difference...? Thanks for your thoughts.
Parasol is a new app trying to solve the permission problem, especially in Android M.
Here is the link: http://forum.xda-developers.com/android/apps-games/app-parasol-alpha-t3190615
Please test it and give me some feedback. Thanks a lot~
how install apk with lib folder and set correct permissions of them ?
plz help
For those of us who use our phones on corporate networks and use Outlook 2007+ for our mail needs you know that the default font that the Sense Mail.apk uses (Arial 12) hasn't been used for years now and it looks unprofessional and is a dead give away that you're replying from your phone .
This Mail.apk will send all of your e-mails in Calibri 11. It will look as if you sent it from your desktop (Outlook 2007+ default font family and size is Calibri 11) [signature and all]).
Directions:
1. Download apk from attachment
2. Go to Settings -> Accounts and Sync -> Exchange -> Remove your account!
3. Navigate to /system/app (I use Root Explorer) and rename Mail.apk to Mail.apk.bak
4. Copy the downloaded CorpFontMail.apk to /system/app
5. Rename CorpFontMail.apk to Mail.apk
6. Change permissions of Mail.apk to rw-r--r-- (same as Mail.apk.bak)
7. Normal reboot
8. Once you're back up, open the Mail app and add your Exchange account. You now have the new font settings.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I did not add the No Exchange Security modification. I modified the apk below to incorporate the font settings:
Code:
Sense 4.1 Mail.apk No Exchange Security Sauce: http://themikmik.com/showthread.php?14276-MOD-2012-08-31-Mail-apk-w-Exchange-Security-Disabled-*New-Sense-4-1-Version*
none
Good job on this, and I can honestly say I never thought about doing this.
Thanks. I got sick of it months ago being an avid Exchange account user. I like the integration Mail.apk has with Sense 4.1 so I had to change the font. Not only is it not the standard anymore (at least it wasn't Times New Roman 12 like old Sense Mail.apks) but it was ugly and unprofessional. Business users will appreciate this.
Sent from my EVO using xda app-developers app
I tried running this use ES Strong File Explorer and I keep getting Mail has stopped Force Closes. I am rooted so no problem there, but it appears that something must be funky with my otherwise stock sense setup.
bertimus2002 said:
I tried running this use ES Strong File Explorer and I keep getting Mail has stopped Force Closes. I am rooted so no problem there, but it appears that something must be funky with my otherwise stock sense setup.
Click to expand...
Click to collapse
I'm running it on Stock With Goodies and there is no issue but it should work on any all Sense ROM.
Did you follow the directions to a T? Changed permissions?
exSD said:
I'm running it on Stock With Goodies and there is no issue but it should work on any all Sense ROM.
Did you follow the directions to a T? Changed permissions?
Click to expand...
Click to collapse
I did follow the directions exactly (just didn't use Root Explorer to change the settings). I restarted 2x and when I restored the backup, I had to clear the data/cache for the mail.app for me to get it back to what I had previously.
I could probably try Root Explorer and see if that does anything different. I was just hoping I could get it working so I wouldn't have to enter a PIN every time
bertimus2002 said:
I did follow the directions exactly (just didn't use Root Explorer to change the settings). I restarted 2x and when I restored the backup, I had to clear the data/cache for the mail.app for me to get it back to what I had previously.
I could probably try Root Explorer and see if that does anything different. I was just hoping I could get it working so I wouldn't have to enter a PIN every time
Click to expand...
Click to collapse
In your /system/app folder, do you have .odex files in there?
exSD said:
In your /system/app folder, do you have .odex files in there?
Click to expand...
Click to collapse
Yes, there is a Mail.odex file in that folder.
bertimus2002 said:
Yes, there is a Mail.odex file in that folder.
Click to expand...
Click to collapse
Rename that to .bak (Mail.odex.bak) as well when you rename Mail.apk to Mail.apk.bak. Then follow the rest of the directions as is and report back please.
exSD said:
Rename that to .bak (Mail.odex.bak) as well when you rename Mail.apk to Mail.apk.bak. Then follow the rest of the directions as is and report back please.
Click to expand...
Click to collapse
It looks like it is working! The only additional question I have is that the SuperSU app keeps asking for access for the following item:
mksh ip add route 224.0.0.0/4 dev wlan0
It appears that this is happening when turning the WiFi on/off and there may have been some sort of hidden setting (for multicasting) that had that happen from HTC. I see within the forums that others are mentioning the same thing as of today, so it looks like it is ok and is a SuperSU issue.
Is that ok or what is that for? I can have SuperSU ignore those warnings if that is normal.
bertimus2002 said:
It looks like it is working! The only additional question I have is that the SuperSU app keeps asking for access for the following item:
mksh ip add route 224.0.0.0/4 dev wlan0
It appears that this is happening when turning the WiFi on/off and there may have been some sort of hidden setting (for multicasting) that had that happen from HTC. I see within the forums that others are mentioning the same thing as of today, so it looks like it is ok and is a SuperSU issue.
Is that ok or what is that for? I can have SuperSU ignore those warnings if that is normal.
Click to expand...
Click to collapse
That has nothing to do with the Mail.apk and instead the SuperSU update. Wait for an update from the dev and it will relieve the warning.
Do you think you can modify the Mail.apk in the FAPPLE V5 thread?
Ph33zy said:
Do you think you can modify the Mail.apk in the FAPPLE V5 thread?
Click to expand...
Click to collapse
Sure if you ask them for permission.
exSD said:
Sure if you ask them for permission.
Click to expand...
Click to collapse
Steal will not mind at all. In fact he says in his OP that all are free to use it, just give him his due credit and say thanks.
I'm running Viper4G 3.01, fresh clean install
The base apk is named Mail+Prime.apk in the /system/app folder. I tried renaming it to a .bak, and installing the modded apk both named "Mail.apk" and then as "Mail+Prime.apk" and fixed permissions. there are no .odex's. I got Mail has stopped Force Closes both times and ended up re-flashing the ROM to clear it up.
Any thoughts?
Great work!!! I've been searching for a mod like this for a while. this was one of the first mods I always loaded back when I had my Sprint Pre phone. I do a lot of business through exchange and cant stand the default font and size. I would love to make this mod myself but could not find enough info to make the changes. Is it possible you can create on of these mods for the Sense 5 mail.apk or a how to guide?
INTRODUCTION
This guide is for Ivan's 5.0 Lollipop AOSP ROM but will work with other ROMs as well.
FEATURES
Pure AOSP feel.
Many people prefer it, including me.
Workaround for 'hardware key wakeup' bug.
Can use Lollipop features like Screen Pinning easily.
Looks cool
PREREQUISITES
Ivan's Lollipop AOSP ROM.(May work on others too)
MI3.(Again may work on others too)
Root.
ES File Explorer.(or any file manager with root access)
INSTRUCTIONS
Enabling on-screen nav bar.
Open ES File Explorer and grant su access.
Go to system and open build.prop with ES Note Editor and add this line in the end:
Code:
qemu.hw.mainkeys=0
Save build.prop and reboot.
Check if soft keys are enabled.
If enabled successfully, proceed to next section.
Disabling hardware capacitive keys.
Go to system/usr/keylayout and open 'atmel-maxtouch.kl' with ES Note Editor.
In the end of that file there will be following three lines:
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
Add a '#' before each line so it would look like this:
Code:
#key 139 MENU VIRTUAL
#key 102 HOME VIRTUAL
#key 158 BACK VIRTUAL
Save the file and exit.
Disabling capacitive key lights.
Download Capacitive Buttons app from Play Store.
Open it and grant su access.
Select the first option i.e no brightness.
Reboot
DONE
working great!! thanks for sharing!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thank You
Thank you for this guide. Successfully disabled capacitive buttons and added navigation bar.
Welcome mates, @moly82 you have set 420 dpi?
400
How to reduce height of nav bar? I don't want to change dpi but the nav bar is too high.
Edit: Fxied.!
Thx for this mate.
I am unable to boot the system after enabling on-screen nav bar by editing build.prop...... Shows starting MI logo and then a blues flash and again restart. It goes into this loop.
As soon as I remove that "qemu.hw.mainkeys=0" from it, system is botting
error01671 said:
How to reduce height of nav bar? I don't want to change dpi but the nav bar is too high.
Click to expand...
Click to collapse
For that you need to edit the jar files in framework, you can find a guide for that on xda. I could have done that myself but my exams are gonna start in a few days, and moreover I'm sick. ?
mandarpalshikar said:
Thx for this mate.
I am unable to boot the system after enabling on-screen nav bar by editing build.prop...... Shows starting MI logo and then a blues flash and again restart. It goes into this loop.
As soon as I remove that "qemu.hw.mainkeys=0" from it, system is botting
Click to expand...
Click to collapse
Can you tell me in detail what exactly you did and which file manager you used?
deepesh.tickoo said:
Can you tell me in detail what exactly you did and which file manager you used?
Click to expand...
Click to collapse
Hi,
I used ES File Explorer first to edit on phone and then rebooted. Phone didn't start so then I went into CWM recocry, pulled file by adb on my desktop, removed the line which I had inserted and then pushed file back to system. Gave 644 permission and rebooted. Device worked this time.
Lemme know if there is any other way. One thing I cld try is edit the file on desk and push through ADB. Earlier I had inserted required line with ES Explorer and editor.
Thanks in advanced.
Regards,
Mandar
Sent from my MI 3W using XDA Premium HD app
mandarpalshikar said:
Hi,
I used ES File Explorer first to edit on phone and then rebooted. Phone didn't start so then I went into CWM recocry, pulled file by adb on my desktop, removed the line which I had inserted and then pushed file back to system. Gave 644 permission and rebooted. Device worked this time.
Lemme know if there is any other way. One thing I cld try is edit the file on desk and push through ADB. Earlier I had inserted required line with ES Explorer and editor.
Thanks in advanced.
Regards,
Mandar
Sent from my MI 3W using XDA Premium HD app
Click to expand...
Click to collapse
Yea do try that and report, I think the ES method is messing with the build.prop permissions somehow!
i used ES with no problems at all!
Same here, I too used ES without any issue, but I have faced certain problems with ES regarding saving system level files i edited and problems with proper permissions in the past.
deepesh.tickoo said:
Yea do try that and report, I think the ES method is messing with the build.prop permissions somehow!
Click to expand...
Click to collapse
Yup... It worked by this method. Flawless.
Enjoying lollipop to the fullest now. You guys are fantastic. Thx.
I've been using ES for this for over a year now...no problems...
Maybe a typo was at fault?
The Dork Knight Rises said:
I've been using ES for this for over a year now...no problems...
Maybe a typo was at fault?
Click to expand...
Click to collapse
No chance at all. Have been working on Unix / oracle platforms for last 9 yes now . Anyways the issue is resolved now. Thx for help. Enjoying lollipop now.
Sent from my MI 3W using XDA Premium HD app
I guess the issue was with saving the file. May I know how you saved the edited build.prop file in ES Note Editor?
I would like to know this so that I would update that info in the thread, so that in future users can be more careful.
It worked great for me! Thank you!
Will there be a way to make the navbar transparant instead of black?
Thanks in advanced!
Deslang16 said:
It worked great for me! Thank you!
Will there be a way to make the navbar transparant instead of black?
Thanks in advanced!
Click to expand...
Click to collapse
There might be by editing some png in framework-res.apk but I am not sure about which png file needs to be edited.
Although I can assure you that transparent nav-bar will only annoy you!
Ad blocker for Windows 10 Mobile
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer:
Please note: you are installing and using this app solely at your own risk; author does not take responsibility for any possible damage of the phone caused by the app. If you don't agree with this statement, please don't install the app!
Click to expand...
Click to collapse
Simple and intuitive ad blocker for interop-unlocked Windows 10 Mobile handsets.
You can edit HOSTS file sources, and use your own list of hosts to be blocked.
App also apply filtering and sorting to resulting HOSTS file to avoid duplicates.
Installation as usual (don't forget to install dependencies if you sideloading for a first time). You don't need to install app's certificate 'cause package is already signed by my own code signing certificate.
Please, note: large HOSTS file (created by the app's default settings) may affect to the WiFi Internet connection timing - you may have "No internet connection" status for a minute or two.
History
1.2: fixed some bugs, added import HOSTS from file
1.1: "white list" added, also added ability to copy host name from list
1.0: initial release
Just note: I DON'T TRUST any newbie here anymore! If you "don't know how to make and send a screenshot", send me a name you've left a good review of my extension. Only after it's appear in Chrome Web store,
I'll send you a link!
excellent work (as always)
here my addition for blocking, some blocking info for W10M apps
Use Black list to import txt list
not related to app, just observation to hosts lists
seems too much adblocking data cause problem in loading some apps, need more time to load .... if anyone want try with 9Zen Store app how fast load apps info from store
edit 2:
also myAppFree opening app in store is blocked with filter clkde.tradedoubler.com
@dxdy, it's not a big problem, I can easily add a new "white list" settings page. Could you please provide me a host list to exclude from HOSTS blocking?
Thanks!
sensboston said:
@dxdy, it's not a big problem, I can easily add a new "white list" settings page. Could you please provide me a host list to exclude from HOSTS blocking?
Thanks!
Click to expand...
Click to collapse
This is my list which use on WP8/W10 and all working much faster
http://web.vip.hr/dhorva18.vip/hosts.txt
Ads blocking lists are region/country specific so your good list may be not good enough for the others. Many people are using blocking HOSTS file not just for in-app ads but for blocking ads in browsers too.
I'm asking you to help me with another list (of course if you have time for that): "white list" of the sites important for Windows Phone apps and services (and should be excluded from the HOSTS file). I already implemented (took 10 minutes) "white list" feature. Now I want to provide some default "white list" (for example, I already included clkde.tradedoubler.com to this list - it means, this site will be excluded from the HOSTS file and site will be not blocked)
Hi. I tried you app and it was working well, but suddenly I can't navigate the web anymore using either Wi-Fi (shows as "No Internet") or mobile data. Also, I can't revert the host file to default. I'm using a 950. Could you help me?
Nightsteed said:
Hi. I tried you app and it was working well, but suddenly I can't navigate the web anymore using either Wi-Fi (shows as "No Internet") or mobile data. Also, I can't revert the host file to default. I'm using a 950. Could you help me?
Click to expand...
Click to collapse
Did you make Interop unlock for x50 series with vcREG?
dxdy said:
Did you make Interop unlock for x50 series with vcREG?
Click to expand...
Click to collapse
Yes
Nightsteed said:
Also, I can't revert the host file to default. I'm using a 950. Could you help me?
Click to expand...
Click to collapse
Have you read OP? (I already put statement about large HOSTS)
Have you tried to press "Revert HOSTS file" button? What's the app output (log messages on the "home" page)?
P.S. I don't actually know, man, everything is working fine on my tests. Try to ssh to your L-950 and copy/delete/modify hosts file by standard cmd.exe commands.
dxdy said:
Did you make Interop unlock for x50 series with vcREG?
Click to expand...
Click to collapse
sensboston said:
Have you read OP? (I already put statement about large HOSTS)
Have you tried to press "Revert HOSTS file" button? What's the app output (log messages on the "home" page)?
P.S. I don't actually know, man, everything is working fine on my tests. Try to ssh to your L-950 and copy/delete/modify hosts file by standard cmd.exe commands.
Click to expand...
Click to collapse
Of course I've read the OP. When I press "Revert HOSTS file" the message saying it has been reverted appears, but the hist file remains the same. Might try connecting via SSH
Nightsteed said:
When I press "Revert HOSTS file" the message saying it has been reverted appears, but the hist file remains the same.
Click to expand...
Click to collapse
Hmm, it's a really strange. Probably, your HOSTS file is locked somehow (but I have no idea how it's possible). "Revert back" function does nothing than copy default hosts file (shipped with the app) back to "c:\windows\system32\drivers\etc" so if "Update hosts" button worked fine, I don't know why the another copying doesn't work.
Could you tell me please what else you did with the phone and HOSTS file after applying update from my app?
Hello sensboston
this is the app i have been waiting for.. So basically this will work with lumia 950 XL interop unlocked using X50 vcreg?
How do you get access into system file since I thought its not possible for lumia 950 / 950 XL?
edit: my real question is whether it is possible to simply overwrite the original hosts with my own without installing any app
oelapoel said:
edit: my real question is whether it is possible to simply overwrite the original hosts with my own without installing any app
Click to expand...
Click to collapse
no. you can only with this app and make own link to host file you want to put on phone
just tried the app. it works. amazing work. thnx a lot sensboston
cool ... it does really work
Only the long Wifi load times are a bit annoying.
@der_Kief, first, revert HOSTS file back to default, than remove first line in the "HOSTS sources", and apply blocking again, and you'll get back your WiFi time
As mentioned in the OP, HOSTS file from the very first source is extremely large (but it blocks a lot of ads). BTW, you may provide your own HOSTS source file, specific for Germany (use google to find and obtain one).
thx for the hint ... i'm now using THIS list especially for germany
Its about 8000 entries and WiFi load times are nearly same as without adblocker.
I love it
Thanks, @der_Kief, for sharing your find! Will be good if customers from the other countries will share their country-specific HOSTS here (and I can add these links to the OP).
Hmm I dont really see any difference with wifi loading times, none that I could notice anyway.. is it everytime you load?
sensboston, do you know why list from this website cannot be fed into your app?
http://winhelp2002.mvps.org/hosts.txt
I forgot the exact message but it just cannot import the list into the app.