{
"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"
}
[size=+3]What is it?[/size]
Devs these days think they need a toast for every little thing. I won't name names or apps, but you know what they are. Well, this module will block those pesky toasts with patterns or strings (escape all .?^&$*-()[]{} with \). See http://developer.android.com/reference/java/util/regex/Pattern.html
[size=+3]Requirements![/size]
* [size=+1]Xposed![/size] Get it here (Xposed repository) or here (XDA thread) and post any Xposed related issues in its thread.
* Your Android smart device. UnToaster should* support Gingerbread and up (the OSs that Xposed supports).
[size=+3]Things to Note[/size]
* I can't guarantee the functionality if this mood if you have another that also hooks into the Toast class. That said, this works with the latest Burnt Toast (1.0) and Buttered Toast (1.1).
* I'm too lazy, and there's not much room for it anyway, to add a Copy button. This can be achieved by clicking the package name you want to copy, change the package name, and click Save. The original file will be preserved and a new file added.
* Renaming is the same plus click the old one and click Delete.
* If you have a bug, give me the error.log from Xposed and a logcat *in this thread* - PM logs will be missed or ignored.
Code:
tail -n 100 /data/data/de.robv.android.xposed.installer/log/error.log >/sdcard/UnToaster.log;
logcat -d | egrep "System\.err|UnToaster" >>/sdcard/UnToaster.log;
** I get very temperamental about this. I will not accept any bug report that just says that it's broken unless it contains the log.
** I'm not flashing a ROM or buy a phone just to debug your problem and I only have an SGS2 and an SGS4.
* If you have a suggestion, post it. I will entertain just about any suggestion so long as it's feasible, practical, and within the scope of this mod.
* Donations are accepted, but are neither required nor expected and currently, there are no perks for donating. Any donations will be logged. And should I add any perks, they will be retroactive.
* If you would like it translated, translate it. You can get the strings.xml file from GitHub, but there's not much there to translate.
[size=+3]Examples[/size]
* (-v1.2.6) To get the package name, you can look in the Xposed log after you see the toast.
* (+v1.2.6) To get the package name, you can look in the logcat after you see the toast. Command line: logcat | grep "I/UnToaster"
* A blank pattern box is the same as ".*".
* (+v1.1.2) Using "all" as a package name will allow you to block the same pattern from all apps. Even newly installed ones. In 1.1.5 and up, you must put something in "all" or it won't get processed.
Code:
Connected to Wi-Fi.*
.*successful
.*loaded.*
Can\'t find phone number [\d]{7,11}
Can\'t find phone number 1{0,1} \([\d]{3}\) [\d]{3}[-\s][\d]{4}
^\[.*\].*
[size=+3]Screenshots[/size]
[size=+3]Disclaimer[/size]
I am not responsible for your device. It you mess it up, it's your fault. Not mine. Not the app's. Yours and yours alone.
[size=+3]License[/size]
Code:
/*
* Copyright 2014 Eric Gingell (c)
*
* UnToasted is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* UnToasted is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with UnToasted. If not, see .
*/
[size=+3]Downloads and Source[/size]
[size=+2]Source[/size]
* GitHub
[size=+2]Current Version[/size]
[size=+1]Version name: 1.2.8[/size]
Download: com.egingell.untoaster_v20_8d0e67.apk (127.6 KB)
MD5 checksum: 8d0e671eb5758345544b7c4cb4826629
Changes: NPE's no longer shown in the log.
[size=+2]Older Versions[/size]
[size=+1]Version name: 1.2.7.1[/size]
Download: com.egingell.untoaster_v19_29957f.apk (127.38 KB)
MD5 checksum: 29957f2ac9f52fb419ea6252c977485e
Changes: Oops. I forgot to "finish" the log activity when switching back to edit mode.
[size=+1]Version name: 1.2.7[/size]
Download: com.egingell.untoaster_v18_be8cd5.apk (127.38 KB)
MD5 checksum: be8cd5b9e54f88e595b54fc0a9b8f09d
Changes: Added in-app logs.
[size=+1]Version name: 1.2.6[/size]
Download: com.egingell.untoaster_v17_112263.apk (72.9 KB)
MD5 checksum: 11226334106fd36542fd49ae3c01d351
Changes: Using logcat instead of Xposed to log info (logcat | grep "UnToaster").
[size=+1]Version name: 1.2.5[/size]
Download: com.egingell.untoaster_v16_706b5b.apk (72.9 KB)
MD5 checksum: 706b5ba4191d47d60d4b1a6f730282a1
Changes: Xposed v52 had issues with my module's constructor. I don't know why it suddenly cropped up, but there you have it.
[size=+1]Version name: 1.2.4[/size]
Download: com.egingell.untoaster_v15_849860.apk (72.75 KB)
MD5 checksum: 84986088b0ab42c13eba98ff3da7c5f1
Changes: Per @rovo89 and @GermainZ in the Xposed Framework thread, I have switched my hook up slightly. It is unlikely that you, the user, will notice a difference.
More...
[size=+3]Other Notes[/size]
* I haven't tested this on KitKat *, JB 4.3 *, ICS, or Gingerbread, but they may work just as well. * Other members have stated that this works on 4.3 and 4.4.
* This doesn't work without an internal (built-in) SD card.
* This was tested on Touchwiz JB 4.1.2 and JB 4.2.2 stock.
[size=+3]Thanks[/size]
* @MohammadAG: For Buttered/Burnt Toast.
* @defim: For suggesting that I cache compiled regex patterns.
* @rovo89: For the Xposed framework without which this would not be possible.
* The numerous people, @FemBlack, @wanam, MohammadAG, rovo89, @zst123, and many others, who posted their source code for me and others to look at and learn from.
* MohammadAG, rovo89, @JamMasterClay, @GermainZ: For assisting me in figuring out the SharedPreferences dilemma.
For example....words with friends, or picsart. Any help appreciated on removing toast notification.
I'm on note3 vzw 4.3 rooted stock.
Sent from my SM-N900V using XDA Premium 4 mobile app
spetzuu said:
For example....words with friends, or picsart. Any help appreciated on removing toast notification.
I'm on note3 vzw 4.3 rooted stock.
Sent from my SM-N900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That explains why it doesn't work with those apps. The toast thinks it's originating from the app that has the ad.
The next version will have a way to put in a pattern for all apps which should alleviate that issue. In the mean time you can use the pattern "\[Xad\].*" in a separate entry for each app. It's not case sensitive.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
spetzuu said:
For example....words with friends, or picsart. Any help appreciated on removing toast notification.
I'm on note3 vzw 4.3 rooted stock.
Sent from my SM-N900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Try the attached*. Use "all" as the package name for blocking the same pattern from multiple apps.
Edit: *It's now linked in the OP.
egingell said:
That explains why it doesn't work with those apps. The toast thinks it's originating from the app that has the ad.
The next version will have a way to put in a pattern for all apps which should alleviate that issue. In the mean time you can use the pattern "\[Xad\].*" in a separate entry for each app. It's not case sensitive.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Click to expand...
Click to collapse
Amazing man!! Thanks you made my day today cause those toasts were killing me lol Thanks again man
Sent from my SM-N900V using XDA Premium 4 mobile app
spetzuu said:
Amazing man!! Thanks you made my day today cause those toasts were killing me lol Thanks again man
Sent from my SM-N900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't blame you. I was about ready to toss my phone in the first 5 minutes of having Xad installed. Not that I needed it, but I like to be sure before I publish.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Seems another problem has come about, though. Fix one thing and break something else. Oy.
Edit: Fixed.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Don't know why it doesn't work for me anymore!
Sent from my GT-I9300 using Tapatalk
pesiran said:
Don't know why it doesn't work for me anymore!
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
Just let me put on my psychic helm and I'll get right on that.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Im sorry, I don't think I get it. Has anyone managed to block all greenify toasts "hibernated."?
I thought this would do it:
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
egingell said:
* A blank pattern box is the same as ".*".
Click to expand...
Click to collapse
lovely, lovely stuff. I just wanted a quick way to disable all notifications.
I added an entry "all" and left the pattern box blank, which didnt seem to work.
However and entry "all" and a pattern ".*" works perfectly
many thanks
Hehe, nice commit https://github.com/egingell/UnToasted/commit/f3b31b7c2e62f8c9e1dc16856b079849441761e3
rootSU said:
Im sorry, I don't think I get it. Has anyone managed to block all greenify toasts "hibernated."?
I thought this would do it:
http://img.tapatalk.com/d/14/01/26/a2uqenus.jpg
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Click to expand...
Click to collapse
Works for me.
oopled said:
lovely, lovely stuff. I just wanted a quick way to disable all notifications.
I added an entry "all" and left the pattern box blank, which didnt seem to work.
However and entry "all" and a pattern ".*" works perfectly
many thanks
Click to expand...
Click to collapse
I changed it so one can't accidentally block all toasts. Just add ".*" (dot star) to the "all" entry.
defim said:
Hehe, nice commit https://github.com/egingell/UnToasted/commit/f3b31b7c2e62f8c9e1dc16856b079849441761e3
Click to expand...
Click to collapse
:thumbup:
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
egingell said:
Works for me.
Click to expand...
Click to collapse
Oh ok, so i'm on the right lines? You can't see any errors?
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
rootSU said:
Oh ok, so i'm on the right lines? You can't see any errors?
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Click to expand...
Click to collapse
I see nothing obvious.
I seem to be having another problem which is not throwing errors (UI related), so that should be fun. (Clicking some items pulls up the wrong entry or sometimes nothing at all and the sort function isn't working. Bleh.)
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Doesn't seem to work for me... Has anybody gotten this working on KitKat?
When I hit Save the save button just gets grayed out, but nothing else happens. It doesn't save the entry.
HTC One, CM11 (4.4.1)
nineplymaple said:
Doesn't seem to work for me... Has anybody gotten this working on KitKat?
When I hit Save the save button just gets grayed out, but nothing else happens. It doesn't save the entry.
HTC One, CM11 (4.4.1)
Click to expand...
Click to collapse
I haven't tested on Kit Kat and I won't likely any time soon, but I compiled it with Kit Kat SDK. It should still work unless the way apps are allowed SD card access has changed.
I may add more logging in future releases. Right now it just logs when it decides if the toast should be allowed or blocked.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Can anyone explain,how to do it step by step
I really didnt got it
My Bad :- Working Now
It does not seem to work with kit Kat 4.4. The logs show allowed.
bggold said:
It does not seem to work with kit Kat 4.4. The logs show allowed.
Click to expand...
Click to collapse
Since you didn't provide any information, I can only assume it's because you didn't make any filters.
logcat -d | egrep "System\.err|UnToaster" also might help.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Related
{
"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"
}
XPrivacy
After weeks of research, development and testing I proudly present the ultimate, yet easy to use, privacy manager: XPrivacy.
XPrivacy can prevent applications from leaking privacy sensitive data. XPrivacy can restrict the categories of data an application can access. This is done by feeding an application with no or fake data. There are several data categories which can be restricted, for example contacts or location. For example, if you restrict access to contacts for an application, this will result in sending an empty contact list to the application. Similarly, restricting an application's access to your location will result in a set location being sent to the application.
You can use the successor XPrivacyLua on Android 6.0 Marshmallow and later.
Features
Simple to use
No need to patch anything (no source, no smali or anything else)
For any (stock) variant of Android version 4.0.3 - 6.0.1 (ICS, JellyBean, Lollipop, Marshmallow)
Newly installed applications are restricted by default
Displays data actually used by an application
Option to restrict on demand
Free and open source
Free from advertisements
Read more on GitHub
Description
Features
Restrictions
Limitations
Compatibility
Installation (quite easy!)
Upgrading
Usage
Permissions
Frequently asked questions
Support
Changelog
Similar solutions
News
Contributing
License
The download link is in the installation instructions
You can also use the XPrivacy Installer as an aid to install XPrivacy.
This forum is for questions only. See here for bug reports and feature requests.
Please post messages related to privacy only.
XPrivacy is not intended to make other application do things they are not supposed to do.
There is only support for the latest official XPrivacy version.
XPrivacy was a lot of work, so please support this project
If you want to donate, see here for all options.
Use at your own risk !
The latest version from a while ago still works properly up to Android 6 Marshmallow, if Xposed works properly on your device
(you can ignore any internal error report of XPrivacy, since these are known to be harmless)
XDA:DevDB Information
XPrivacy, Xposed for all devices (see above for details)
Contributors
M66B
Source Code: https://github.com/M66B/XPrivacy
Xposed Package Name: biz.bokhorst.xprivacy
Version Information
Status: No Longer Updated
Current Stable Version: 3.6.19
Stable Release Date: 2015-07-01
Created 2014-08-03
Last Updated 2018-02-08
Wow! :good:
Can't wait to take this for a test run!
And see what else can be added, of course
Tungstwenty said:
Wow! :good:
Can't wait to take this for a test run!
And see what else can be added, of course
Click to expand...
Click to collapse
Please report about your experiences.
Contributions are more than welcome to make it a better mod.
Thanks a lot. I always missed PDroid as i am on stock Samsung ROM.
BTW, the patches also work on Stock Rom ? ie : even if i don't use CM10, i need to install the CM10_4.1 patch isn't it ?
Tanks again
Looks awesome.
Sent from my Galaxy Nexus using Tapatalk 4 Beta
Namoi said:
Thanks a lot. I always missed PDroid as i am on stock Samsung ROM.
BTW, the patches also work on Stock Rom ? ie : even if i don't use CM10, i need to install the CM10_4.1 patch isn't it ?
Tanks again
Click to expand...
Click to collapse
Yes, the fixes should work on stock ROM too, but I didn't test it.
M66B said:
Yes, the fixes should work on stock ROM too, but I didn't test it.
Click to expand...
Click to collapse
I will try ASAP and report
Im using this since version 0.3 and think it is really a great Mod!
Thank you very much for your hard work!
I'd really like to contribute, but since I'm pretty limited in terms of coding the only thing I can offer is to translate Xprivacy to German if you like.
I already got some experience in app translating (though it has been some time since then), so just PM me, if you want me to translate it
Gesendet von meinem Xperia Mini Pro mit Tapatalk 2
Wow, this application is gone so far from 0.1! :good:
M66B said:
Yes, the fixes should work on stock ROM too, but I didn't test it.
Click to expand...
Click to collapse
So If I'm on a sense based 4.2.2 rom I also need to install the CM 4.2 fix? (just installed the latest version of Xprivacy .11)
the app has improved greatly, its very usable now.
some suggestions/details:
app/usability:
1. the app is usable when it is not enabled, there should be a check on app launch if it is enabled in xposed.
2. some sort of loading indicator instead of just directly jumping into the batch edit category after a wait.
3. search for apps.
4. app filtering
2,3,4 are already implemented in xposed app settings, perhaps you could look at that code.
ui stuff:
1. all the activities except the main one should have menu items and the navigation action http://developer.android.com/guide/topics/ui/actionbar.html#Home
2. the blocked apps/ apps with the particular permission should be sorted above the rest.
i'd say blocked apps->apps with permission but not blocked-> rest of them
3. scroll bar in batch edit
4. action bar spinners or a viewpager like the xposed app separating the batch edit and the list of all apps. (AB spinners would save space though)
these are suggestions, i love the app as it is,
graffixnyc said:
So If I'm on a sense based 4.2.2 rom I also need to install the CM 4.2 fix? (just installed the latest version of Xprivacy .11)
Click to expand...
Click to collapse
Yes, else not each data type will be restricted.
M66B said:
Yes, else not each data type will be restricted.
Click to expand...
Click to collapse
TY Sir
hmm odd. I have everything installed (Xposed 34, xprivacy .11 and the fix) I don't see an Xprivacy button in manage apps like in the 2nd screen shot.
graffixnyc said:
hmm odd. I have everything installed (Xposed 34, xprivacy .11 and the fix) I don't see an Xprivacy button in manage apps like in the 2nd screen shot.
Click to expand...
Click to collapse
First the most obvious: did you reboot? did you enable XPrivacy in the Xposed installer?
Which ROM do you use?
Do you see orange triangles if you start XPrivacy and browse apps?
M66B said:
First the most obvious: did you reboot?
Which ROM do you use?
Do you see orange triangles if you start XPrivacy and browse apps?
Click to expand...
Click to collapse
Yes, I rebooted twice. I'm on TrickDroid 4.2.2 (sense based) on the HTC One. I do see the orange triangle on some apps when I open up Xprivacy but not on all (going into the different categories)
a have a request. The application is really great, but I would much rather like to get notification(and then I can open XPrivacy by just clicking on it) when new application is installed instead of just popping up. I hope you understand me
graffixnyc said:
Yes, I rebooted twice. I'm on TrickDroid 4.2.2 (sense based) on the HTC One. I do see the orange triangle on some apps when I open up Xprivacy but not on all (going into the different categories)
Click to expand...
Click to collapse
If you see orange triangles XPrivacy is in any case working.
Maybe your settings layout is different, so that XPrivacy cannot hook into it.
This is not a big problem, because you can access all settings from the app too.
You can do me a pleasure by sending a logcat, starting from the moment your device boots, so I may be able to figure out why this (not) happens.
kv1dr said:
a have a request. The application is really great, but I would much rather like to get notification(and then I can open XPrivacy by just clicking on it) when new application is installed instead of just popping up. I hope you understand me
Click to expand...
Click to collapse
Please create an issue and I will realize this.
gandhar said:
the app has improved greatly, its very usable now.
some suggestions/details:
app/usability:
1. the app is usable when it is not enabled, there should be a check on app launch if it is enabled in xposed.
2. some sort of loading indicator instead of just directly jumping into the batch edit category after a wait.
3. search for apps.
4. app filtering
2,3,4 are already implemented in xposed app settings, perhaps you could look at that code.
ui stuff:
1. all the activities except the main one should have menu items and the navigation action http://developer.android.com/guide/topics/ui/actionbar.html#Home
2. the blocked apps/ apps with the particular permission should be sorted above the rest.
i'd say blocked apps->apps with permission but not blocked-> rest of them
3. scroll bar in batch edit
4. action bar spinners or a viewpager like the xposed app separating the batch edit and the list of all apps. (AB spinners would save space though)
these are suggestions, i love the app as it is,
Click to expand...
Click to collapse
Thanks for your feedback, gandhar.
Could you please create issues for these, so I can easily track things?
Loading apps in an async task + spinner has already been realized (will be in version 0.12).
PeerBlock is now available in the Google Play Store! https://play.google.com/store/apps/details?id=com.peerblock
{
"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"
}
PeerBlock For Android lets you control who your phone 'talks to' on the Internet.
By selecting appropriate lists of 'known bad' computers, you can block communication with advertising or spyware oriented servers,
computers monitoring your p2p activities, computers which have been 'hacked', even entire countries!
They can't get in to your phone, and your phone won't try to send them anything either.
And best of all, it's free!
Keep in mind that I'm not a member of the PeerBlock team, I just wanted PeerBlock for phone
You're able to grab the lists from iblocklist.com so you can start blocking those evil hosts
To add lists to PeerBlock create a new directory in the root of the sdcard (not external sdcard)
Called 'PeerBlockLists' here should be all the text files
Everytime you added a new/updated list to your PeerBlockLists please press the 'Rebuild cache blocklist' and reboot so that new hosts can be blocked
WARNING:
Root is required for XPosed to be installed
Use at your own risk!
WORK IN PROGRESS. WILL EAT YOUR CAT.
MOD EDIT : WARNING - Read entire thread before use, as well as comments on play store.
Features:
Block million of hosts
Add unlimited amount of block lists
Allow HTTP/HTTPS Traffic when PeerBlock is enabled, this will make a security hole tho so better if u keep it off
Block All Traffic (Paranoid Mode) every single application in android will not have internet
Block DNS - Block DNS Requests
Block the 'Ad' Keyword in host names to give a better success rate for blocking ad's
Permissions
WRITE_EXTERNAL_STORAGE
Todo's
Check if UDP is getting blocked
Remove space used by Ad's
Add MAC-Address filter white/black lists
Show notifications (if enabled)
Making the Ip Range check multi-core
Create a blacklist/whitelist for apps to allow internet
Blocklist updater/downloader
Create a whitelist for hosts/Ip Addresses
Root-Mode with IpTables (I will not remove XPosed from the project)
Remove host from blocked hosts
A popup window which shows allow/deny for establishing a connection
Todo's Finished
Create history of created/blocked connections
Check if other devices are compatible
Blocklist for keywords in the HostName
How To Install
1. Install XPosed Framework
2. Install PeerBlock For Android
3. Create a directory in the sdcard called "PeerBlockLists"
4. Go into XPosed Framework Installer and enable "PeerBlock For Android"
5. Reboot your device
6. Now go to the website iblocklist.com
7. Take any list you wish for example, http://www.iblocklist.com/list.php?list=bt_ads
8. Press the Update button to download the list (or copy the Update URL into your browser to download it)
9. Now simply copy/paste the .txt file into the sdcard in the folder PeerBlockLists
10. Go into the PeerBlock app and tick "Block DNS" and "Block 'Ad' Keyword in the Host name"
11. Go to the second tab "Block Lists" now hit the "Rebuild cache blocklist"
12. Reboot your device and enjoy
How to block the goverment
1. Go to your sdcard and open the folder 'PeerBlock'
2. Open the file HostNames.txt (if not exist create it)
3. Write this in the file ".gov"
4. Save the file and be sure you have Block DNS enabled!
5. Any goverment website should be blocked
ChangeLog
1.00: Initial creation and upload of the app
1.01: Fixed App crash when PeerBlockLists directory did not exist
1.02: Changed the required API SDK to 14, Added a progress window for rebuilding the cache and some minor bug fixes
1.03:
Fixed DNS/Connection counters
Fixed double icons
Memory leak fix
Added history, system apps included (no root required)
Created CSV Format for saving settings
Improved performance
Apps with abnormal I/O behavior will get no internet
Updated error handling in rebuilding the cache list
Block hosts/subnet/ip from the history
App will be shown now in the 'Last Blocked Host'
Added comma's at the 'Blocking xx Ips' to read it better
Hooking a extra API if some rooted apps are calling it directly
Added to changelogs and about scrollbars
Scripts people made:
http://forum.xda-developers.com/showpost.php?p=44614617&postcount=87&nocache=1 Update the iBlockLists - by c0ns0le
Tell your opinion, Share the bugs you find.
How to download:
Find PeerBlock in the google play store by simply searching for "PeerBlock" or "PeerBlock for Android" or click this link https://play.google.com/store/apps/details?id=com.peerblock
I removed downloads from the attachments so people need to grab it from the play store as it will give me all the error reports and total downloads
If the above methods for downloading don't work please contact me
Question's and Answers
Question: Can I use this together with adaway ?
Answer: Yes you can.
Question: Does PeerBlock modifies the hosts file?
Answer: No it does not.
Question: Why does nothing gets blocked?
Answer: Most likely you disabled the option "Block DNS"
Source code: https://github.com/AnguisCaptor/PeerBlockForAndroid
Contact
If you want to contact me for anything or just a chat you can add me at skype using this e-mail or just e-mail me, [email protected]
Nice work, I've been looking for this for ages. I always use xposed for other stuff. I've just installed peer blocker and it's force closing and I can't get into the app. I'm on 4.2.2 Xperia z custom stock Rom as I can unlock my bootloader.
Sent from my C6603 using xda premium
danlivesey said:
Nice work, I've been looking for this for ages. I always use xposed for other stuff. I've just installed peer blocker and it's force closing and I can't get into the app. I'm on 4.2.2 Xperia z custom stock Rom as I can unlock my bootloader.
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Can you take a look at your internal/external sdcard and see if a file exists called "PeerBlock.dbx"
I've only tested my app at the Galaxy S4 since that's the only device I own
Also try to start it a bunch of times and see if that helps
Also don't forget to enable PeerBlock in the XPosed Installer and reboot
Yes sorry my mistake, I didn't add the folder. The app is running now. Just need to add some lists now. How do we know if it's blocking the list? On the pc peer block it shows a list of what's being blocked. Thanks
Sent from my C6603 using xda premium
danlivesey said:
Yes sorry my mistake, I didn't add the folder. The app is running now. Just need to add some lists now. How do we know if it's blocking the list? On the pc peer block it shows a list of what's being blocked. Thanks
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Currently in the app it only shows the last host that's being blocked
Will add soon something like a history list so u can see everything that been blocked
Edit: Uploaded version 1.01 which includes bug fix for not creating the PeerBlockLists directory
Parse error on Verizon Samsung S3 4.1.2 VRBMF1 Jelly"Beans" rom
Sent from my SCH-I535 using Tapatalk 4 Beta
The app appears to run on a Nexus 4, but I can't get the website to download the blocklists on my computer or my phone so I can't really test it.
lopezk38 said:
The app appears to run on a Nexus 4, but I can't get the website to download the blocklists on my computer or my phone so I can't really test it.
Click to expand...
Click to collapse
I uploaded a list for you as attachment in the thread, havefun testing
I've installed the list now rebuilt and rebooted, will test it better when I get home form work.
Sent from my C6603 using xda premium
Is it in your plans to make it compatible with JB 4.1.2?
Thanks
Looki75 said:
Is it in your plans to make it compatible with JB 4.1.2?
Thanks
Click to expand...
Click to collapse
+1
I hope also that compatibility with 4.1.2
badkill said:
+1
I hope also that compatibility with 4.1.2
Click to expand...
Click to collapse
No worries folks will look into it in like 1-2 hours
Was gonna work at the app the whole night anyway
Please report all the bugs u can find
Please add me in skype, [email protected] so u can get versions quicker
I get the odd force close now again but no big deal. Paranoid mode won't work for me, all my apps still have internet. Just hope it is blocking the lists, it does say it's blocking over 70 000. keep up the good work.
Sent from my C6603 using xda premium
DragonHunt3r said:
No worries folks will look into it in like 1-2 hours
Was gonna work at the app the whole night anyway
Please report all the bugs u can find
Please add me in skype, [email protected] so u can get versions quicker
Click to expand...
Click to collapse
Thanks! The thing with JB 4.1.2, is that your module cannot be installed at all.
When trying to install, it says "error while analyzing the package" or similar...
I don't know ANYTHING to java or programming on Android, so I don't know for sure, but it looks like you declared the app as compatible only with 4.2.2, or it uses libraries exclusive to 4.2.2 or something like that...
Since my ROM is unrooted (company policy), I cannot use any of "ad blocking" apps like adaway which require root in order to write the hosts file...
But my ROM has Xposed cooked in it... so I am very excited by your module!!!!
Thanks! Waiting for it!!!
Looki75 said:
Thanks! The thing with JB 4.1.2, is that your module cannot be installed at all.
When trying to install, it says "error while analyzing the package" or similar...
I don't know ANYTHING to java or programming on Android, so I don't know for sure, but it looks like you declared the app as compatible only with 4.2.2, or it uses libraries exclusive to 4.2.2 or something like that...
Since my ROM is unrooted (company policy), I cannot use any of "ad blocking" apps like adaway which require root in order to write the hosts file...
But my ROM has Xposed cooked in it... so I am very excited by your module!!!!
Thanks! Waiting for it!!!
Click to expand...
Click to collapse
XPosed installed and no root ? haha
I think I'm having the 4.1.2 working... well atleast it's working for my emulating android
Just wanna finish some progress window for creating cache and then I think I'll pm it to you for test
PeerBlock has also been tested at the Galaxy S3 and worked
DragonHunt3r said:
XPosed installed and no root ? haha
Click to expand...
Click to collapse
Yeah... I know... I just comply with the policy. Word for word. No root is no root...
I don't have root, I comply...
DragonHunt3r said:
I uploaded a list for you as attachment in the thread, havefun testing
Click to expand...
Click to collapse
Thanks, it works perfectly on my Nexus 4 running 4.3
Looki75 said:
Yeah... I know... I just comply with the policy. Word for word. No root is no root...
I don't have root, I comply...
Click to expand...
Click to collapse
Sended you a PM with version 1.02, hopefully this works for Android 4.1.2
When I'll get a response that it is working I'll share it with others
Version 1.02 is up, Havefun 4.1.2 users
For people who already have 1.01 installed, please go to the sdcard and remove PeerBlock.dbx
U might will see strange chinese characters orsomething if u used it from version 1.0 or 1.01
Need to find a better way to store information, can't use SQL. SharedPerferences appearently those don't work for some reason in XPosed or I'm just using it wrong lol
DragonHunt3r said:
Version 1.02 is up, Havefun 4.1.2 users
For people who already have 1.01 installed, please go to the sdcard and remove PeerBlock.dbx
U might will see strange chinese characters orsomething if u used it from version 1.0 or 1.01
Need to find a better way to store information, can't use SQL. SharedPerferences appearently those don't work for some reason in XPosed or I'm just using it wrong lol
Click to expand...
Click to collapse
Thanks friend, I can finally test your module
I'm using adblock, I have to uninstall this app
{
"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"
}
WARNING! This ROM is for the GT-I9190 variant only!
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KitKat), which is designed to increase performance and reliability over stock Android for your device.
Q/A thread:
http://forum.xda-developers.com/showthread.php?t=2558702
Please use the above unless you have something development-related to contribute here. Thank you.
Code:
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.
Screenshots:
View attachment 2439447 View attachment 2439448 View attachment 2439449
CM-11.0 Install Guide
Note: CM for Galaxy S4 Mini is provided with no warranty. You are installing this software at your own risk. You may be violating your warranty.
Download CM-11.0 and gapps-jb zips and put in /sdcard
Nightly: http://get.cm/?device=serrano3gxx&type=nightly
UPGRADE REQUIRED
gapps version 20140606
MD5SUM: d840e20fba6f0e2b85d1aebe493a88fa
Please verify the md5sum to be sure you got the right one.
Before you install CM-11.0: Preparation (First three are optional. If you want to start fresh, these can be skipped)
Install AppBak from Market, run it and save a list of all your apps.
Install SMS Backup and Restore from Market, run it and backup your SMS history.
Install Call Logs Backup and Restore from Market, run it and backup your call log history.
Boot into ClockworkMod recovery. Make a full backup. You will need this backup later if you decide to go back to your previous ROM and data.
WARNING: Many apps will Force Close crash if you restore data from a previous ROM.
Install
Use ClockworkMod Recovery.
Warning: Only use this recovery to flash CM-11.0. Otherwise, you risk bricking your phone!2
Wipe data and cache.
Flash cm-11*.zip.
Flash gapps*.zip. You must flash gapps after every upgrade to CM11.0 since /system is formatted, wiping your previous add-ons.
Reboot phone.
After you setup your Google account, reinstall the three apps from Market in order to restore most of your apps, call log and SMS history.
Warning: Do not restore backup data of system apps!
If you restore a bad backup with cached settings in telephony.db in data/data/com.*.*.telephony it can break MMS.
It seems that restoring backups can also break Calendar sync.
Upgrades
Upgrades from previous versions of CM11.0 are the same process as install, except you do not need to wipe anything. Contrary to popular belief, you do not need to even wipe cache and dalvik-cache when upgrading between CM11.0 versions. You only need to wipe if you are doing a major upgrade, switching to a different ROM entirely, or attempting to fix bugs caused by bad backups or corrupt app data.
Useful Links:
BBQLog changelog
serrano3gxx CyanogenMod wiki
Jira issue tracker
DO NOT REPORT BUGS FOR NIGHTLY BUILDS!
Source repos for serrano3gxx
https://github.com/CyanogenMod/android_device_samsung_serrano3gxx
https://github.com/CyanogenMod/android_device_samsung_serrano-common
https://github.com/CyanogenMod/android_device_samsung_msm8930-common
https://github.com/CyanogenMod/android_kernel_samsung_msm8930-common
https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-11.0/serrano3gxx
https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-11.0/serrano-common
Other Issues?
Use this for obtaining logs.
For nightlies, bug reports are not accepted. You are relying on yourself and your peers in this thread for support!
Credits:
Epic Touch CM Team for the install instructions
Everyone that donated beers
The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!
Can't wait to try it. The new cwm link is still down though.
I don't even know what's new or improved about kitkat. Just a sucker for version numbers.
Does it support 4G?
Sent from my GT-I9195 using XDA Premium 4 mobile app
Kit kat is working, yay!!! Thank you, thank you, thank you!
For the first nightly it's actually super stable, haven't had a single reboot since last night when i installed it.
Only thing missing is the trebuchet options, like removing the search bar, and choosing which screen is your default home screen, but im sure thats all pretty much in development.
Performance is also excellent, 20900 antutu. Feels as buttery smooth as ever.
Sent from my GT-I9190 using xda app-developers app
---------- Post added at 06:48 PM ---------- Previous post was at 06:46 PM ----------
imputazz said:
Does it support 4G?
Sent from my GT-I9195 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Check out the 9195 cm11 thread, you are in the 3g thread
Sent from my GT-I9190 using xda app-developers app
BushTechy said:
Only thing missing is the trebuchet options, like removing the search bar, and choosing which screen is your default home screen, but im sure thats all pretty much in development.
Click to expand...
Click to collapse
Actually, if you press menu button and select settings, you can change this there.
arco68 said:
Actually, if you press menu button and select settings, you can change this there.
Click to expand...
Click to collapse
I have pretty much scrutinized all the settings, i don't see it.
When u press menu and settings in the home screen the menu below appears, cant remove the search bar there, nor choose which tile is your default home screen.
Sent from my GT-I9190 using xda app-developers app
Edit: cant seem to upload the screenshot, but its a google menu, with only google app and search settings, but not what i have mentioned
Sent from my GT-I9190 using xda app-developers app
BushTechy said:
I have pretty much scrutinized all the settings, i don't see it.
When u press menu and settings in the home screen the menu below appears, cant remove the search bar there, nor choose which tile is your default home screen.
Sent from my GT-I9190 using xda app-developers app
Click to expand...
Click to collapse
You need to be using the launcher3 for those settings, the other launcher is googlish.
@arco68
I have just reflashed the rom and gapps, "launcher3" doesn't appear to be on the gti9190s cm11. In the App manager under all apps tab there is only "launcher", can anybody else with 9190 confirm this?
Sent from my GT-I9190 using xda app-developers app
So i managed to get the launcher going with some help
Found a minor bug, if you remove an app from your home screen, the search bar turns into the word "remove" in red where you can drop the app, but if you disable the search bar, then that word in red is also removed, and you cannot get apps of your homescreen until you have re_enabled the searchbar
Sent from my GT-I9190 using xda app-developers app
First impressions on 4.4.1
It's marvellous so far. Less random reboots and improved battery life. Minor bugs such as camera freezes. But not so important and will definitely be handled by this awesome team (@arco68 & the company).
will this rom support dual sim variant???
or any way to use it on my dual sim variant??
pankaj_GB said:
will this rom support dual sim variant???
or any way to use it on my dual sim variant??
Click to expand...
Click to collapse
Cyanogen mod dont support any dual sim phone...
Gapps package in first post updated.
Downloadinggggggg.............
New gapps overwrites launcher3, had to restore mine from back-up, can anybody confirm this?
Sent from my GT-I9190 using xda app-developers app
there is some weird pixellation in video mode in the camera ,
i hope arco is aware of that
step-2 said:
there is some weird pixellation in video mode in the camera ,
i hope arco is aware of that
Click to expand...
Click to collapse
Same here. But the resulting recorded video is as it should be, non-pixelated.
today swithed cm11. smooth, especially after switching art. but cm is not what it had been 1,5 years ago. a lot of own approaches and some unnecessary apps one should get rid off.
would very appreciate if someone would provide slimkat nightlies... black apps, slim, additional settings as touch a sensistivity are great features normal cm is missing.
nevertheless most is working fine, just some issues with flash and torch at this development stage. all else seems to be quite good. - thanks for sharing!
Sent from my GT-I9195 using xda app-developers app
{[REQUEST] Interface options
Hi guys,
can i first say, great work. And if i knew how to do this myself i would.
Just wondering if you could put in an option to hide the clock in the top right corner... like the option in the interface to hide the battery icon.
Also need an option in the camera to use external SD card for main storage. Have tried 3 other camera apps from the play store but none have this option either.
Keep up the fantastic work.:good:
{
"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"
}
Redirect several internal SD card locations to the external SD card.
This *only* works if the app uses Environment.getExternalStoragePublicDirectory(String), directly or indirectly, to get the location for the download. At present, it won't redirect app data (stuff in /data/data or /sdcard/Android), I may look into that later.
Apps this works with so far:
* /sdcard/Downloads - Chrome, Firefox (@an0n981, @zouhaier1).
* /sdcard/DCIM - Stock JB 4.2 Camera app.
* /sdcard/Pictures - Screenshot (@JamMasterClay).
[size=+3]Requirements[/size]
* [FRAMEWORK ONLY!] Xposed - ROM modding without modifying APKs
[size=+3]Screenshots[/size]
[size=+3]Caveats[/size]
* Due to weird security measures that make no sense, this won't always work on KitKat.
[size=+3]Downloads[/size]
* Source: https://github.com/egingell/Downloads2SD
[size=+2]Version name: 1.0.8[/size]
Download: com.egingell.downloads2sd_v9_acf08f.apk (267.61 KB)
MD5 checksum: acf08f0476e9d1df8997feee1cd12c32
Changes: Using logcat instead of Xposed to log info (logcat | grep "Downloads2SD").
[size=+2]Version name: 1.0.7[/size]
Download: com.egingell.downloads2sd_v8_dcd0c1.apk (267.42 KB)
MD5 checksum: dcd0c152bc1fbf66e14bf3c2422d101e
Changes: Per @rovo89 and @GermainZ in the Xposed Framework thread, I have switched my hook up slightly. It is unlikely that you, the user, will notice a difference.
[size=+2]Version name: 1.0.2[/size]
Download: com.egingell.downloads2sd_v3_77e3e4.apk (264.94 KB)
MD5 checksum: 77e3e49aa80c9ffe968b18141fb19b61
Changes: Added a check to ensure the new destination is viable (e.g. not an unmounted/removed SD card).
[size=+2]Version name: 1.0.1[/size]
Download: com.egingell.downloads2sd_v2_63f388.apk (264.71 KB)
MD5 checksum: 63f3887beb333dd2ea6dff4a4577dd87
Changes: Graphical bug. Reboots may or may not be required for changes, but it never hurts to just reboot anyway.
[size=+2]Version name: 1.0[/size]
Download: com.egingell.downloads2sd_v1_803aac.apk (264.74 KB)
MD5 checksum: 803aac515c56cecc9fc6a39177f1e167
Changes: Initial commit.
Confirmed working with Firefox on Omni 4.4.2
Oy. Seems there's a weird bug on my GS4. Works flawlessly on my GS2.
The bug: Repeated listings on the app UI which are confusing to the mod making it not redirect as it should.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Confirmed working with firefox on SM N9005 running x-note 10.0 leonardo edition. Thnx
sent from my rooted SM-N9005 running x-note 10.0 Leonardo Edition
Just want to report that everything seems to be work here on 4.4.2. So far I tested taking a picture with stock camera and taking a screenshot with the native Android function.
Thanks! :good:
It does not work with downloading a picture in an MMS in Verizon Messages. No surprise there...I absolutely despise that app. Unfortunately since KitKat there's no way to have my messages sync between devices and use a different SMS client. Using the Verizon sync service works better than any 3rd party solution because messages go to Verizon before coming to the phone anyways so often times I'll get a message on my tablet before my phone. 3rd party solutions have to read the SMS database, monitor it for changes, and then forward messages to a separate server. Luckily I hardly ever text people anymore anyways, but I digress.
/rant
JamMasterClay said:
It does not work with downloading a picture in an MMS in Verizon Messages. No surprise there...I absolutely despise that app. Unfortunately since KitKat there's no way to have my messages sync between devices and use a different SMS client. Using the Verizon sync service works better than any 3rd party solution because messages go to Verizon before coming to the phone anyways so often times I'll get a message on my tablet before my phone. 3rd party solutions have to read the SMS database, monitor it for changes, and then forward messages to a separate server. Luckily I hardly ever text people anymore anyways, but I digress.
/rant
Click to expand...
Click to collapse
Does the Xposed log show "DOWNLOADS_PICTURES [OLD] => [NEW]", "DOWNLOADS_PICTURES [OLD] => null", or nothing?
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
egingell said:
Does the Xposed log show "DOWNLOADS_PICTURES [OLD] => [NEW]", "DOWNLOADS_PICTURES [OLD] => null", or nothing?
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Click to expand...
Click to collapse
Not a thing, sir.
Bummer.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
I hope that can be connected to a Bluetooth folder on the external SD card on the next update.
JazzBlueWong said:
I hope that can be connected to a Bluetooth folder on the external SD card on the next update.
Click to expand...
Click to collapse
Eventually. I just need to figure out where Android gets the arbitrary folder name from. Hint: It's not the same place as the ones in this mod.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
@egingell
When I tap 'Direct Download' here: http://forum.xda-developers.com/devdb/project/dl/?id=4318 using Chrome Beta the browser force closes. I've attached a screenshot of the stack trace occurring with no other modules enabled. I did the same test on both my Note 10.1 and S4 both running OmniROM 4.4.2 with the same behavior on both. Downloading other things works fine, for example long-pressing to download a image.
-Sent from My Galaxy Note 10.1 using Tapatalk
JamMasterClay said:
@egingell
When I tap 'Direct Download' here: http://forum.xda-developers.com/devdb/project/dl/?id=4318 using Chrome Beta the browser force closes. I've attached a screenshot of the stack trace occurring with no other modules enabled. I did the same test on both my Note 10.1 and S4 both running OmniROM 4.4.2 with the same behavior on both. Downloading other things works fine, for example long-pressing to download a image.
-Sent from My Galaxy Note 10.1 using Tapatalk
Click to expand...
Click to collapse
Works fine for me, but I'm not using Kit Kat. Even when testing and making other apps crash, I still got my file names and Xposed file names with line numbers in the logcat, so I can't even trap the exception let alone fix it since neither are present in that error log.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
egingell said:
Works fine for me, but I'm not using Kit Kat. Even when testing and making other apps crash, I still got my file names and Xposed file names with line numbers in the logcat, so I can't even trap the exception let alone fix it since neither are present in that error log.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Click to expand...
Click to collapse
I hoped it wouldn't be so involved to track down. Xposed log and logcat attached.
EDIT: It's late...forgot to mention Chrome Beta version 33.0.1750.126.
JamMasterClay said:
I hoped it wouldn't be so involved to track down. Xposed log and logcat attached.
EDIT: It's late...forgot to mention Chrome Beta version 33.0.1750.126.
Click to expand...
Click to collapse
I'm afraid I still don't see a viable error message, but I will give it a better look in the morning... and I successfully downloaded the file using Chrome Beta.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
JamMasterClay said:
@egingell
When I tap 'Direct Download' here: http://forum.xda-developers.com/devdb/project/dl/?id=4318 using Chrome Beta the browser force closes. I've attached a screenshot of the stack trace occurring with no other modules enabled. I did the same test on both my Note 10.1 and S4 both running OmniROM 4.4.2 with the same behavior on both. Downloading other things works fine, for example long-pressing to download a image.
Click to expand...
Click to collapse
JamMasterClay said:
I hoped it wouldn't be so involved to track down. Xposed log and logcat attached.
EDIT: It's late...forgot to mention Chrome Beta version 33.0.1750.126.
Click to expand...
Click to collapse
I managed to get Chrome Beta to crash on my GS2, but for a different reason which I fixed and added an untested fix fr your problem. If you'd like to test it:
[size=+1]Version name: 1.0.3[/size]
Branch: beta
Download: com.egingell.downloads2sd_v4_eb5301.apk (265.48 KB)
MD5 checksum: eb5301465e38f0f7df46b2f24d0dec2c
Changes: Removing Security exception ensuring that the file goes to the "external" storage.
egingell said:
I managed to get Chrome Beta to crash on my GS2, but for a different reason which I fixed and added an untested fix fr your problem. If you'd like to test it:
[size=+1]Version name: 1.0.3[/size]
Branch: beta
Download: com.egingell.downloads2sd_v4_eb5301.apk (265.48 KB)
MD5 checksum: eb5301465e38f0f7df46b2f24d0dec2c
Changes: Removing Security exception ensuring that the file goes to the "external" storage.
Click to expand...
Click to collapse
Well, I'm no longer getting a FC. But the download consistently fails before actually starting (i.e. it never gets to showing the download percentage) I've tried multiple times on WiFi (literally sitting next to the router) and on 4G LTE. With the module enabled download fails, without it succeeds. FWIW, in the downloads app where the filename should be is black, and it says unsuccessful below that.
If you feel like continuing to look into this I've attached a new Xposed log and logcat.
JamMasterClay said:
Well, I'm no longer getting a FC. But the download consistently fails before actually starting (i.e. it never gets to showing the download percentage) I've tried multiple times on WiFi (literally sitting next to the router) and on 4G LTE. With the module enabled download fails, without it succeeds. FWIW, in the downloads app where the filename should be is black, and it says unsuccessful below that.
If you feel like continuing to look into this I've attached a new Xposed log and logcat.
Click to expand...
Click to collapse
I had a feeling it would do that. I'm bypassing that particular exception, but whatever is triggering it is still there. Does Chrome Stable have the same problem? Doesn't much matter, though. I don't think I can do anything about it.
Is purposely thrown and it doesn't make much sense why, but I digress.
Edit: Those error messages are even less useful.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
egingell said:
I had a feeling it would do that. I'm bypassing that particular exception, but whatever is triggering it is still there. Does Chrome Stable have the same problem? Doesn't much matter, though. I don't think I can do anything about it.
Is purposely thrown and it doesn't make much sense why, but I digress.
Edit: Those error messages are even less useful.
Sent from: SGS2 - JB 4.1.2 GB27 / SGS4 - JB 4.2.2 MF9
Click to expand...
Click to collapse
Yup, same behavior with the non-beta version of Chrome.
Just wanted to post that I'm having that same error when trying to download files from Goo.im, Android File Host, and Dev-Host as well. For now I simply changed the Downloads location back to the built-in storage location and everything's working fine. Not a big deal to me, but I just wanted to give you a heads up in case a lot more people on KitKat start using this.
Overview
StorePrefs is module for Google Playstore, which controls the update of applications.
Features:
- Warning when updating app which could break some modules (module author have to implement it)
- Blocking auto update of apps which could break some modules (module author have to implement it)
- Blocking rapid update
- Ignoring some updates (When you have update available in My Applications in Playstore just long click on this update to ignore it)
- Saving and then restoring list of applications from Playstore (it's restored in saved version.To downgrade application with this you need XInstaller module)
If you want me to add any other features related to Google Playstore please let me know
Modules, that currently implement version checking:
Snapprefs (not yet, but will)
XInsta
XHangouts
If you want your module mentioned here let me know
Changelog:
Code:
Version 1.1.0:
- Added INSTALL intent
- Added saving and restoring list of applications
- Bugfixes
Version 1.0.3:
- Fixed preferences (well, it wasn't working to be honest, but now works)
- Added option to clear list of ignored versions
Version 1.0.2:
- Added ignoring versions (long click on application in My Applications)
Version 1.0.1:
- Added Settings activity
- Added blocking rapid update
Version 1.0.0:
- Initial release
Screenshots:
{
"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"
}
Requirements
•Xposed Framework
•Google Playstore
For developers:
Right now whole checking if application and it's version is compatible is done by xposed modules.
You need to create class with no arguments constructor with these methods:
Code:
/**
* This method is called upon creating instance of this class. It is called from separate thread, so here is place for things like files loading and connecting with server.
*/
void init();
/**
* This method is called when user clicks update button. This will not block updating, It will only warn user.
*
* @param packageName package of the application
* @param versionCode version code
* @param versionName version name
* @return should user update this application
*/
boolean shouldUserUpdate(String packageName, int versionCode, String versionName);
/**
* This method is called when play store tries to auto update the application. Returning false causes to block the auto update.
*
* @param packageName package of the application
* @param versionCode version code
* @return can play store auto update this application
*/
boolean canAutoUpdate(String packageName, int versionCode);
If you are lazy like me just make it implements interface from this jar.
After that all you need to do is add this to your AndroidManifest file:
Code:
<meta-data
android:name="storeprefs_mainclass"
android:value="package.ClassWithMethodsFromInterfaceAbove" />
My module will only search for these classes if your module is enabled in Xposed installer.
Since version 1.1.0 you can install application from playstore through intents. This way you can install application with exact version you want. For downgrading user has to have XInstaller module enabled. Example implementation is here:
https://github.com/stirante/StorePrefs/blob/master/app/src/main/java/com/stirante/storeprefs/activities/SettingsActivity.java#L86-L107
Installation
Note: Obviously, you need root access on your phone.
Download the Xposed Installer APK.
Install the app along with the framework.
Download and install the app from the repository.
Activate the module in the Xposed Installer.
Soft reboot your device.
Download
http://repo.xposed.info/module/com.stirante.storeprefs
Source
Source code can be found on GitHub
https://github.com/stirante/StorePrefs
XDA:DevDB Information
StorePrefs, Xposed for the Xposed Framework
Contributors
stirante, MaaarZ, Mr.Yawnie
Source Code: https://github.com/stirante/StorePrefs
Xposed Package Name: com.stirante.storeprefs
Version Information
Status: Testing
Created 2016-02-02
Last Updated 2016-02-09
Good idea! I hope many devs will use this. I don't use snapprefs but I keep an eye on your work.
By the way first.
Nice! Good job mate
Sent from my GT-I9505 using Tapatalk
Great idea man!
Tell the guy from "youtube background playback" to use this!!!
This might be deviating a bit from the module's original purpose, but... There are some apps that I don't want to update unless there's a major update released in the Play Store. So would it be possible to implement, like in fdroid, an "ignore this one version" option, so the app will only appear on the list of updates the next time a new version is released, making it easier to follow the changes?
garciaw said:
This might be deviating a bit from the module's original purpose, but... There are some apps that I don't want to update unless there's a major update released in the Play Store. So would it be possible to implement, like in fdroid, an "ignore this one version" option, so the app will only appear on the list of updates the next time a new version is released, making it easier to follow the changes?
Click to expand...
Click to collapse
Well, the purpose of my module is Playstore tweaks, so yeah. I'll try to add it
When you have update available in My Applications in Playstore just long click on this update to ignore it
Click to expand...
Click to collapse
Is there also a way to get these ignored updates back?
Great module! Is there a way to modify it to download multiple apps? Instead of the download, install, then download the next app. This would be helpful in clean rom installs.
Sent from my SM-G900T3 using XDA Free mobile app
CRXed said:
Is there also a way to get these ignored updates back?
Click to expand...
Click to collapse
There will be sure a way for that, but right now couldn't get it to work. Btw you can still update these apps, but they're not showing on the top. Just scroll a bit, click on app and update. Also when there will be newer version than the one you marked as ignored it will show up at the top.
Cameronkhn12293 said:
Great module! Is there a way to modify it to download multiple apps? Instead of the download, install, then download the next app. This would be helpful in clean rom installs.
Sent from my SM-G900T3 using XDA Free mobile app
Click to expand...
Click to collapse
Well, i can look into that but i won't promise this.
stirante said:
There will be sure a way for that, but right now couldn't get it to work. Btw you can still update these apps, but they're not showing on the top. Just scroll a bit, click on app and update. Also when there will be newer version than the one you marked as ignored it will show up at the top.
Click to expand...
Click to collapse
Awesome, exactly what I was looking for =D
Ensuring compatibility of modules is a much more noble objective than maintaining my OCD in check, so I thank you for taking the time to listen to my request!
An absolutely fantastic module!! I've been looking for a solution like this for years. I have two apps that I'd rather not update, until I'm sure that their respectful xposed modules have been upgraded aswell, so having to manualy go through the process of updating one app at a time, has been such a pain. Thank you so much and keep up the good work!
Awesome! This works (or in the future will work) with package installer too?
kryzeK said:
Awesome! This works (or in the future will work) with package installer too?
Click to expand...
Click to collapse
Right now it don't, but maybe I'll implement this in future.
stirante said:
There will be sure a way for that, but right now couldn't get it to work. Btw you can still update these apps, but they're not showing on the top. Just scroll a bit, click on app and update. Also when there will be newer version than the one you marked as ignored it will show up at the top.
Click to expand...
Click to collapse
It works brilliantly!! :good:
Right now you have a default Android icon.
May I suggest a new icon, something like this? Haha
Great module! This will be added to XInsta in the next update.
If at all possible, can you do the following feature?
When Google Play is set to update applications manually, one has the ability to manually update all the applications with an "Update All" button at the top right of the "My Apps" section. However, I'd like to exclude some applications from ever updating. When this is the case, I have to manually update each application avoiding to update the one or two applications I'm avoiding to be updated.
Can you exclude an application from updating in this scenario?
oreo27 said:
If at all possible, can you do the following feature?
When Google Play is set to update applications manually, one has the ability to manually update all the applications with an "Update All" button at the top right of the "My Apps" section. However, I'd like to exclude some applications from ever updating. When this is the case, I have to manually update each application avoiding to update the one or two applications I'm avoiding to be updated.
Can you exclude an application from updating in this scenario?
Click to expand...
Click to collapse
It's already there, stock play store feature. Disable auto updates for those specific apps by going to play store > app and pressing the 3-dot menu on top right. Now when you press "update all" button, all other apps updating, but those you disabled won't (it will ask whether to update, choose no).
Sent from my GT-I9505 using Tapatalk
This looks great! I was in the process of adding it to XHangouts for inclusion the next release when I noticed some show-stoppers. My enabled_modules.xml from the Xposed Installer was set to 660 instead of 664 or 666 so StorePrefs could not access it. Once I manually made it world readable StorePrefs could continue. Until it hit another IOException trying to read com.stirante.storeprefs_preferences.xml which was also set to 660. It had the same problem with Storeprefs/database.dat which did exist but was also set to 660. Things are just not getting set to world readable. I have a feeling it's an issue with CM...
For reference, I'm on a nightly (Feb 8) build of CM 13 running Xposed v80 with Installer 3 alpha 4.
Edit 1: I've checked the prefs.makeWorldReadable() call in StorePrefsModule and it's definitely failing on my device.
Edit 2: After manually setting the permissions on both enabled_modules.xml and com.stirante.storeprefs_preferences.xml and removing the SimpleDatabase code (permission denied errors) I was able to get it working. I actually had to set enabled_modules.xml twice since it seems to reset. There was a visual issue when it was finally working (see attached).
Kevin M said:
This looks great! I was in the process of adding it to XHangouts for inclusion the next release when I noticed some show-stoppers. My enabled_modules.xml from the Xposed Installer was set to 660 instead of 664 or 666 so StorePrefs could not access it. Once I manually made it world readable StorePrefs could continue. Until it hit another IOException trying to read com.stirante.storeprefs_preferences.xml which was also set to 660. It had the same problem with Storeprefs/database.dat which did exist but was also set to 660. Things are just not getting set to world readable. I have a feeling it's an issue with CM...
For reference, I'm on a nightly (Feb 8) build of CM 13 running Xposed v80 with Installer 3 alpha 4.
Edit 1: I've checked the prefs.makeWorldReadable() call in StorePrefsModule and it's definitely failing on my device.
Edit 2: After manually setting the permissions on both enabled_modules.xml and com.stirante.storeprefs_preferences.xml and removing the SimpleDatabase code (permission denied errors) I was able to get it working. I actually had to set enabled_modules.xml twice since it seems to reset. There was a visual issue when it was finally working (see attached).
Click to expand...
Click to collapse
Thanks for feedback and for using it!
It is literaly one of the best posts I've ever received on my code since it's so detailed
About permissions I'll try to set them manually (with android.os.FileUtils.setPermissions). I hope that won't fail. As for the visual issue I've never had such an issue. Could you possibly know if it's just white text or no text at all? I used playstore's styles since it was created in it's context so it should match with other dialogs.