[Xposed Mod] Bypass Exchange Security Policy for Nexus devices and other AOSP ROMs - Nexus 4 Original Android Development

This mod should be used along with Xposed ( http://forum.xda-developers.com/showthread.php?t=1574401 ).
This mod will bypass the Email app from becoming device admin for your phone and prevent it from setting up any security restrictions on your device including pin/password/remote wipe, etc. There are a couple of other mods out there none of which work right now (1 doesn't work at all and 1 doesn't work for N4 4.3)
Instructions for users
- Remove your existing email account from phone and reboot
- Install Xposed installer (from link above)
- Install this mod (Download apk from here: https://github.com/shantanugoel/Exc...geBypassForXposed/ExchangeBypassForXposed.apk )
- Enable the mod in xposed (Preferences for other devices/versions coming Soon)
- Reboot
- Add your email account again. This time, it will ask you that the email
might require security restrictions, say yes to it but it will never actually set the restrictions.
- Done.
Instructions for developers
- Read the xda link at the top and go through basics of xposed development
- Install xposed as an android sdk addon on your system
- Clone this git repo
- Import in Android Studio
- Make changes
- Build
Credits:
- rovo89 from xda (for creating xposed)
- mpcjanssen from xda (for original mod)
Source code: https://github.com/shantanugoel/ExchangeBypassXposed
Apk: https://github.com/shantanugoel/Exc...geBypassForXposed/ExchangeBypassForXposed.apk
My website: http://tech.shantanugoel.com/
My twitter: http://twitter.com/shantanugoel
Feel free to ask your questions, provide feedback here, or my website or on my twitter.
Changelog:
1.6 26-Jan-14
Cleanup. Remove Security Policy changed notification.
1.5 22-Dec-13
Allow updation of policy keys properly on Exchange server's request otherwise sync may hang
1.4 16-Dec-13
Fixing the fixes
1.3 15-Dec-13
Fixed random email app crashes
1.2 14-Dec-13
AOSP ROMs support. Removed some unnecessary logging.
1.1 28-Nov-13
KitKat support. Tested on Nexus 4, Nexus 5, Nexus 7 2012, Nexus 7 2013
1.0 14-Oct-13
Initial version. Working for Nexus 4 Android 4.3

Update: This has now been tested to work successfully on all stock or nearly stock JellyBean (4.3) and KitKat (4.4) ROMs on Nexus 4 / Nexus 5 / Nexus 7

A beta with some additional checks for Android 4.4 and also compiled with 4.4 SDK. Please try it on your phones (even on 4.3 to make sure that compatibility remains fine for older phones) and let me know.

Thanks folks who tested the beta. Have now removed the beta link and the release version can be installed from links given in OP or within the xposed module downloader.

X- actly what I was looking for!!!!!
Sent from my Nexus 4 using Tapatalk

Version 1.2 is out with support of AOSP based ROMs (Thanks to adumont)

Some folks have been facing random email app crashes when using this mod. Could you please try out the attached beta version that should hopefully fix this?
Removed the beta. Please update to latest version through xposed repo or github.

Does this work with TouchDown as well or just Exchange? My company decided (in its infinite IT wisdom) to use this app instead of the built in Exchange client.
https://play.google.com/store/apps/details?id=com.nitrodesk.droid20.nitroid&hl=en
It would be AWESOME if it did.

Hi! I followed the instructions, and the email app hangs at "syncing folders". I don't get a crash, it just stalls on "email is waiting to sync" or whatever that prompt is.
Nexus 5
4.4.2 stock
rooted
Other modules: GravityBox, Greenify
Thoughts? Anything additional I can provide? Thanks for your hard work!

Same problem, syncing hangs
Dolfan058 said:
Hi! I followed the instructions, and the email app hangs at "syncing folders". I don't get a crash, it just stalls on "email is waiting to sync" or whatever that prompt is.
Click to expand...
Click to collapse
I am having the problem where email on the account doesn't ever sync and just hangs.
Nexus 5
KitKat 4.4.2
Modules: GravityBox

Ipse_Tase said:
Does this work with TouchDown as well or just Exchange? My company decided (in its infinite IT wisdom) to use this app instead of the built in Exchange client.
https://play.google.com/store/apps/details?id=com.nitrodesk.droid20.nitroid&hl=en
It would be AWESOME if it did.
Click to expand...
Click to collapse
No, only built in app.
Dolfan058 said:
Hi! I followed the instructions, and the email app hangs at "syncing folders". I don't get a crash, it just stalls on "email is waiting to sync" or whatever that prompt is.
Nexus 5
4.4.2 stock
rooted
Other modules: GravityBox, Greenify
Thoughts? Anything additional I can provide? Thanks for your hard work!
Click to expand...
Click to collapse
veabers said:
I am having the problem where email on the account doesn't ever sync and just hangs.
Nexus 5
KitKat 4.4.2
Modules: GravityBox
Click to expand...
Click to collapse
Could you please post logcat logs when this happens?

Thank you. Works flawlessly on maguro SlimBean stable.

logcat for sync hanging
shantzg001 said:
Could you please post logcat logs when this happens?
Click to expand...
Click to collapse
This looks to be the relevant section. I sanitized my email.
12-20 11:19:59.875 D/GoogleServicesManager(31716): setState: sync = true, wantedSyncState = true
12-20 11:19:59.875 D/GoogleServicesManager(31716): Enabling sync
12-20 11:19:59.905 D/SyncManager( 807): failed sync operation [email protected] u0 (com.google.android.exchange), com.google.android.email.provider, SERVER, latestRunTime 47454987, reason: AutoSync, SyncResult: syncAlreadyInProgress: true stats []
12-20 11:19:59.985 E/qcom_sensors_hal( 807): hal_process_report_ind: Bad item quality: 11
12-20 11:20:05.505 E/Exchange(20156): Sync: Unknown status: 144
12-20 11:20:05.505 E/Exchange(20156): CommandStatusException: 144
12-20 11:20:05.695 W/ContextImpl(20156): Implicit intents with startService are not safe: Intent { act=com.google.android.email.POLICY_INTENT } android.content.ContextWrapper.bindService:517 com.android.emailcommon.service.ServiceProxy.setTask:170 com.android.emailcommon.service.PolicyServiceProxy.setAccountPolicy:73
12-20 11:20:05.725 D/dalvikvm(20156): GC_CONCURRENT freed 383K, 3% free 18181K/18660K, paused 16ms+1ms, total 58ms
12-20 11:20:11.735 D/SyncManager( 807): failed sync operation [email protected] u0 (com.google.android.exchange), com.google.android.email.provider, SERVER, latestRunTime 47465030, reason: AutoSync, SyncResult: syncAlreadyInProgress: true stats []
Let me know if you need more info.

veabers said:
This looks to be the relevant section. I sanitized my email.
12-20 11:19:59.875 D/GoogleServicesManager(31716): setState: sync = true, wantedSyncState = true
12-20 11:19:59.875 D/GoogleServicesManager(31716): Enabling sync
12-20 11:19:59.905 D/SyncManager( 807): failed sync operation [email protected] u0 (com.google.android.exchange), com.google.android.email.provider, SERVER, latestRunTime 47454987, reason: AutoSync, SyncResult: syncAlreadyInProgress: true stats []
12-20 11:19:59.985 E/qcom_sensors_hal( 807): hal_process_report_ind: Bad item quality: 11
12-20 11:20:05.505 E/Exchange(20156): Sync: Unknown status: 144
12-20 11:20:05.505 E/Exchange(20156): CommandStatusException: 144
12-20 11:20:05.695 W/ContextImpl(20156): Implicit intents with startService are not safe: Intent { act=com.google.android.email.POLICY_INTENT } android.content.ContextWrapper.bindService:517 com.android.emailcommon.service.ServiceProxy.setTask:170 com.android.emailcommon.service.PolicyServiceProxy.setAccountPolicy:73
12-20 11:20:05.725 D/dalvikvm(20156): GC_CONCURRENT freed 383K, 3% free 18181K/18660K, paused 16ms+1ms, total 58ms
12-20 11:20:11.735 D/SyncManager( 807): failed sync operation [email protected] u0 (com.google.android.exchange), com.google.android.email.provider, SERVER, latestRunTime 47465030, reason: AutoSync, SyncResult: syncAlreadyInProgress: true stats []
Let me know if you need more info.
Click to expand...
Click to collapse
This looks to be an inherent issue in the exchange app or server, not caused due to the mod..
But I'll check it out later again tonight if something can go wrong in this path due to the mod

shantzg001 said:
This looks to be an inherent issue in the exchange app or server, not caused due to the mod..
But I'll check it out later again tonight if something can go wrong in this path due to the mod
Click to expand...
Click to collapse
Thanks for taking a look. If I remove the mod the syncing works correctly. If I revert to the previous version it will sync in between the crashes.

veabers said:
Thanks for taking a look. If I remove the mod the syncing works correctly. If I revert to the previous version it will sync in between the crashes.
Click to expand...
Click to collapse
Ah, thanks for the additional info. Let me check it out.

An update. I've got some clue on the issue why it's happening and I'm trying to debug it. It's slightly harder as the issue happens only due to some actions done on server side. Will update when I have a solution or a potential fix that needs to be tested (as I can't reproduce this locally)

@veabers @Dolfan058 (and any others facing crash/hang problems), please try the latest version 1.5 (uploading now as I type this) from github or xposed repo and let me know if it fixes your problems? I got reports from some other users that it works for them fine now.

1.5 appears to be working!
v1.5 is the first version which has worked for me with no crashes/hanging. Occasionally when doing a manual refresh I get the message "Security policies have changed". Other than that it appears to be working just fine on my Nexus 5 (4.4.2)
Many thanks for this mod

Shamus69 said:
v1.5 is the first version which has worked for me with no crashes/hanging. Occasionally when doing a manual refresh I get the message "Security policies have changed". Other than that it appears to be working just fine on my Nexus 5 (4.4.2)
Many thanks for this mod
Click to expand...
Click to collapse
Same here, I also get that "security policies have changed" notification (which I'd never seen until I ran the module). But that's a non-issue compared to the fact that this now works and I can use Tasker to control when the keyguard goes on. Many thanks for a great module!
Sent from my Nexus 5 using Tapatalk

Related

[ROM][WIP] CM11 Badadroid v4.4

CM11 for WAVE and WAVE 2
Android Kitkat 4.4.2​
Hi All,
So once again it’s time to upgrade our project to Android 4.4.2
Previous versions:
CM10: http://forum.xda-developers.com/showthread.php?t=1851818
CM10.1: http://forum.xda-developers.com/showthread.php?t=2400126
CM10.2: http://forum.xda-developers.com/showthread.php?t=2550138
Let’s emphasize that-- THIS IS AN ALPHA, RELEASED FOR YOU TO PLAY WITH AND GET A SENSE OF WHAT’S TO COME. AND SOME THINGS DOESN’T WORK. REALLY. IF YOU ARE EXPECTING ANYTHING CLOSE TO PERFECTION, WALK AWAY FROM YOUR COMPUTER, LOWER YOUR EXPECTATIONS FOR AN HOUR OR SO, THEN COME BACK. MORE EXCITING DISCLAIMERS/WARNINGS IN ALL CAPITAL LETTERS CAN BE FOUND BELOW. READ THEM.
FEATURES
Android 4.4.2
CM sources of 13.01.2014
Updated to linux kernel version 3.0.101
270 MB RAM
KNOWN BUGS (what doesn't work):
- Network registration don't work with some SIM cards
- Conference Calls
- Some problems with audio codec settings, but generally it should
- Impossible to shut down phone in android, only restart
- Don't leave phone charging without supervising - if it gets enormously hot, disconnect it - this can literally blow up battery as there is no overheating protection yet. Do not leave it connected on 100% - it'll discharge by 1% all the time, and then recharge, what's very unhealthy for battery.
Maybe something else, what i forgot
SUPPORT
You get none. Zero. Zip. We obligate ourselves to providing nothing further. You are on your own and will have to help each other via this thread. This is provided “as-is”, and if you don’t like it, use Bada or other releases.
We basically lack time to give full dedication to this rom, and we’re looking for skilled devs who know the Android, and/or other things that might be relevant.
Please join us on IRC: some people are on #badadroid (freenode).
BUG REPORTS
This is the format for a bug report: “XXXXX isn’t working. Here is how to fix it: [INCLUDE SOLUTION]” Don’t have source? Too bad.
You’ll have to wait then.
If you report bugs, please don’t be disappointed if we can’t fix them immediately (or even never). It’s not because we don’t care, but because we don’t have time or don’t know how to fix it.
Please attach logcat and dmesg dump in your bug report. Dmesg should contain messages from both - bootup and issue occuring (you can't dump it 1 hour after bootup, rather 2 minutes after)
How to dump logs - Google for "android logcat dmesg" Or... whatever, here's one of 3204109 methods available.
In the Terminal Emulator enter:
"su"
Accept request for SuperUser access.
"dmesg > /storage/sdcard1/dmesg.txt"
"logcat -b system -b radio -b events -b main -d -f /storage/sdcard1/logcat.txt *:V"
"logcat -b radio -d -f /storage/sdcard1/radiolog.txt *:V"
Download them from phone, archive and upload them.
Privacy warning: Your logcat might contain sensitive information like your IMEI, IMSI, cell stations you were nearby, numbers you called and got calls from and SMS sent and received. If you don't want to publish this info - send them privately to one of developers.
Click to expand...
Click to collapse
If the Badadroid is restarting before you're able to catch any log:
Download http://goo.im/devs/Rebellos/wave/bterm.exe
Try to start kernel normally, when you see Badadroid logo start holding the middle key pressed. Keep the middle key pressed until phone restarts and shows the text: FOTA DOWNLOAD MODE & bTerm
Connect phone to PC.
Start bterm.exe
Type 4 commands:
Code:
open
dumpram 0x4FF00000 0x100000
close
exit
There should appear file called dump_ram_0x4FF00000.0x00100000.bin - pack it and attach it to your bug report.
Click to expand...
Click to collapse
Bug reports without logs are completely useless.
NOTE: DEVELOPERS WANTED. Please contact us if you are a developer with something to contribute.
I do heavily encourage to work together on the better, common project instead of making kang releases and demanding money for somebody else's work.
Read as: If you think you can make something better than this by doing less and muchazo Ctrl+C Ctrl+V - you suck, go figure the rest.
HOW TO BUILD
I do recommend perfect tutorial by fattire: https://docs.google.com/document/d/19f7Z1rxJHa5grNlNFSkh7hQ0LmDOuPdKMQUg8HFiyzs/edit?hl=en_US
Of course you have to init with -b cm-11.0 and modify some steps.
local manifest to use: https://raw.github.com/Badadroid/android_wave_local_manifest/cm-11.0/local_manifest.xml
I do it like this:
Code:
cd ~
mkdir wave
cd wave
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
cd .repo
wget https://raw.github.com/Badadroid/android_wave_local_manifest/cm-11.0/local_manifest.xml
cd ..
repo sync -j8
cd vendor/cm/
./get-prebuilts
cd ../../
. build/envsetup.sh
brunch wave
device name is wave so the build invocation can be brunch wave
FIRST INSTALLATION
Bada 2.0 is required
Enter Bada Settings->General->Memory and make sure you have at least:
370MB of free "System" memory
160MB of free "User" memory
400MB of free "Applications" memory
Download BOOTFILES, armlinux_boot for your device:
for 8500:
http://yadi.sk/d/W4RjnjQRC6TfP
http://yadi.sk/d/Yz7_dfpkC6TkC
for 8530
http://yadi.sk/d/kxJ0CZ20C7AKF
http://yadi.sk/d/zqzWZ9LmC7AJA
(please pay attention if it's S8500 or S8530 BOOTFILES and FOTA you're choosing!):
Download ROM from CHANGELOG section
Start Bada.
Extract zImage from zip and copy it to the Bada's User partition (the one about 390MB big).
Copy whole .zip to the Bada's User partition or SD Card.
Flash BOOTFILES and FOTA using Multiloader.
Reboot the phone holding Power and Call key.
FOTA set of red messages should appear, after about 15seconds Badadroid logo shows up.
Be patient, first bootup will keep unresponsible on Badadroid logo for up to 5 minutes.
CWM Recovery starts, pick:
- "install zip"
- "choose zip from from storage/sdcard1"(Bada's User partition) or "choose zip from storage/sdcard0"(SD Card)
- cm-11-wave-<release id>.zip
- Yes - install
Reboot holding the Power key
You can remove installation .zip from the User partition from Android level by connecting through USB in MTP mode.
Do not remove zImage file.
Normal bootup is available using Power+Call keys
CWM Recovery mode is available using Power+Volume Up keys
CWM Flashing does overwrite zImage. So every next update you can just flash .zip through CWM.
For activation Performance and Developer Options categories in Settings you need Settings->About Phone and tap 7 times on Build number
GAPPS
GAPPS make our ROM slowler, because also slim GAPPS take about 15-20 MB RAM permanently
SLIM GAPPS: http://d-h.st/users/ZordanKV/?fld_id=28623#files
HOW TO UNINSTALL
Follow the steps there: http://forum.xda-developers.com/showpost.php?p=35107469&postcount=393
THANKS TO
Special thanks to Rebellos for his CM10 ROM, for his good sources and many time, what he spent for my learning
Another Badadroid devs: Oleg_k, mijoma, nbates66, anghelyi, mikegapinski, hunktb, autra, Tigrouzen and many others.
CyanogenMod team for base ROM
Pawitp, kasper_h and all other aries developers
Paulk and Replicant project for good base for bada-modem RIL
and many other who help us.
CHANGELOG:
v4.4 http://www.multiupload.nl/SX2RTH51BC
- CM sources 2.06.2014
- Patches from SGS
v4.3 http://www.multiupload.nl/QS4A17BXXW
- CM sources 30.03.2014
- Many changes from CM core team
- Kernel with new optimization (Last Mackay Kernel from Nameless ROM)(new Zram algorithm, GPU fixes and etc. )
- Included fix for Wave2 from chemosun. This patch reduce Wave 2 screen wake up bug, i don't know about battery drain. He sent me it several months ago, but i forgot to include it to previous release
- Screen Frame rate path. Thanks to Alberto96
- Disabled 720p recording/playback. Big thanks to Alberto96 for idea and sources. It gave us more RAM.(total available in ROM 283MB) It is correctly disabled in ROM. so Photo camera is fully working, video camera is only 480p. For 720p playback you can use third-party apps like MXPlayer and etc.
If you go from previous releases, you need to clean data for Gallery and Camera application
v4.2 http://www.multiupload.nl/ZGB2Z5YOWD
- CM sources 21.02.2014
- Many changes from CM core team
-Added Basic GPS
v4.1.1 http://www.multiupload.nl/B7M535UJXH
- CM Sources 01.02.2014
- Zram 120Mb by default
- Some improvements for bootanimation
- Fixed some mistake in init, which can be the reason of some wi-fi problems
v4.1 http://www.multiupload.nl/5L9CCWZ4XA
- CM sources 28.01.2014
- Many changes from CM core team: Call delay workaround by pawitp was merged to CM sources, so no need to flash it
- Added test Battery thread to RIL https://github.com/Badadroid/androi...mmit/65d8d549e52761a9b8b673a0620c108773cf9ffd
- Added overlay for hardware camera key
v4 Initial CM11 release: http://www.multiupload.nl/YHC2P74SJZ
- CM Sources 13.01.2014
- Big patch set from mackay kernel http://forum.xda-developers.com/showthread.php?t=2532813 :
updated CPU governors, I/O schedulers, and many other performance patches
- 80Mb zRAM
MORE LINKS
Overall project thread - http://forum.xda-developers.com/showthread.php?t=1459391
question
thanks for update
this cm11 is running dalvik or art?
black0000 said:
thanks for update
this cm11 is running dalvik or art?
Click to expand...
Click to collapse
Dalvik is default Android Runtime for all kitkat ROMs.
Art is experimental feature from Google and still is WIP:
You can read more here:
http://source.android.com/devices/tech/dalvik/art.html
CM officially don't support Art, though it is possible to switch to Art in developer options
volk204 said:
Dalvik is default Android Runtime for all kitkat ROMs.
Art is experimental feature from Google and still is WIP:
You can read more here:
http://source.android.com/devices/tech/dalvik/art.html
CM officially don't support Art, though it is possible to switch to Art in developer options
Click to expand...
Click to collapse
according to you which one is better dalvik or art gor our wave
black0000 said:
according to you which one is better dalvik or art gor our wave
Click to expand...
Click to collapse
I didn't try Art, i can say that after last optimization changes performance is good enough even with dalvik.
@hero355, what you can say about performance of this ROM after playing Asphalt 7 on it?
volk204 said:
I didn't try Art, i can say that after last optimization changes performance is good enough even with dalvik.
@hero355, what you can say about performance of this ROM after playing Asphalt 7 on it?
Click to expand...
Click to collapse
Firstly I want to say big that's to volk204 for his great work
This time really it's a big step in badadroid development.
I've tested several kernel and I can say The phone is simply flying,The performance and optimization is perfect and we got now almost stable for 4 years old Samsung Wave phones
Secondly I've tested game performance and my tests was on Asphalt 7, (I haven't time for test other games- I'm not a gamer )
As you know there are some kernels with bigmem and zram .
I've tested all kernels with asphalt 7 and while all my tests I used 100~1000 MHz with interactive governor and game was running perfect
The best game performance was zram 120 with 1000mhz, I don't even imagine that with bigmem zram120 + 1400mhz it'll fly
So I can say now time to revert android to default
Thanks again volk204 and all badadroid developers
Question: does the bigmem kernel allow photo taking? I can live without video but not without camera/flashlight...
Stevethegreat said:
Question: does the bigmem kernel allow photo taking? I can live without video but not without camera/flashlight...
Click to expand...
Click to collapse
AFAIK camera is not working at all and photo also on Bigmem, added to OP, but i really don't see anysense to use bigmem, because in normal mode all is OK))
volk204 said:
AFAIK camera is not working at all and photo also on Bigmem, added to OP, but i really don't see anysense to use bigmem, because in normal mode all is OK))
Click to expand...
Click to collapse
Hey, nice work as always! But any chance of NAND version for this ROM?
Or can we use without bada n Tigrouzens Fota?
Stevethegreat said:
Question: does the bigmem kernel allow photo taking? I can live without video but not without camera/flashlight...
Click to expand...
Click to collapse
No, camera app will not work, so no photos and video capturing.
sadiq23 said:
Hey, nice work as always! But any chance of NAND version for this ROM?
Or can we use without bada n Tigrouzens Fota?
Click to expand...
Click to collapse
No correct charger - No NAND version
volk204 said:
HOW TO UNINSTALL
Follow the steps there: http://forum.xda-developers.com/show...&postcount=393
Click to expand...
Click to collapse
The Link is not functional anymore. Shows that the forum specified is invalid.
Sandeep Srikantam said:
The Link is not functional anymore. Shows that the forum specified is invalid.
Click to expand...
Click to collapse
fixed
GAPPs
volk204 said:
fixed
Click to expand...
Click to collapse
There are two files in Slim GAPPs, test(newer) and an older version. Which one to download ?
Is this version noticeably faster than the previous one (3.1)?
WiFi Not Working
@volk204, I was running CM Badadroid v2.1 and today I installed CM11 Badadroid v4. Since then the Wifi is not working on my wave 2 s8530.
Other devices are detecting the Wifi and connecting to it but my wave is not connecting to the wifi.
I have also disconnected other devices and tried to connect only wave 2 but the device doesn't even detect wifi network.
Please help.
WaveII_Jil said:
@volk204, I was running CM Badadroid v2.1 and today I installed CM11 Badadroid v4. Since then the Wifi is not working on my wave 2 s8530.
Other devices are detecting the Wifi and connecting to it but my wave is not connecting to the wifi.
I have also disconnected other devices and tried to connect only wave 2 but the device doesn't even detect wifi network.
Please help.
Click to expand...
Click to collapse
Search for Wifi fix zip , I don't know where is ,I think in 3.1 or 2.1 thread
WaveII_Jil said:
@volk204, I was running CM Badadroid v2.1 and today I installed CM11 Badadroid v4. Since then the Wifi is not working on my wave 2 s8530.
Other devices are detecting the Wifi and connecting to it but my wave is not connecting to the wifi.
I have also disconnected other devices and tried to connect only wave 2 but the device doesn't even detect wifi network.
Please help.
Click to expand...
Click to collapse
anyone with wave2 has the same problem?
Did you do clean installation with removing previous version of android and installing new version or just flashed zip via recovery?
No logs - no problems
florynwk3 said:
Search for Wifi fix zip , I don't know where is ,I think in 3.1 or 2.1 thread
Click to expand...
Click to collapse
It is useless
volk204 said:
anyone with wave2 has the same problem?
Did you do clean installation with removing previous version of android and installing new version or just flashed zip via recovery?
No logs - no problems
Click to expand...
Click to collapse
I did a clean installation by uninstalling previous version and installing new version. Sorry, could not get the logs.
Just wanted to know if this issue exists only in my phone or others also...
BUG: encrypt device ...
hi folks,
great work volk thats really exciting..
the interesting lines are:
ActivityManager( 503): Resuming delayed broadcast
I/ActivityManager( 1035): Timeline: Activity_launch_request id:com.android.settings time:3037005
I/ActivityManager( 503): START u0 {cmp=com.android.settings/.CryptKeeperConfirm$Blank (has extras)} from pid 1035
D/PhoneStatusBar( 658): disable: < EXPAND* ICONS* ALERTS* ticker SYSTEM_INFO* BACK* HOME* RECENT* clock SEARCH* >
I/ActivityManager( 503): Displayed com.android.settings/.CryptKeeperConfirm$Blank: +359ms
I/ActivityManager( 1035): Timeline: Activity_idle id: [email protected] time:3037409
I/ActivityManager( 503): Timeline: Activity_windows_visible id: ActivityRecord{41d115a0 u0 com.android.settings/.CryptKeeperConfirm$Blank t4} time:3037702
E/Cryptfs ( 156): Cannot get size of block device
I/ActivityManager( 1035): Timeline: Activity_idle id: [email protected] time:3047091
I/ActivityManager( 503): Timeline: Activity_windows_visible id: ActivityRecord{41ca10d0 u0 com.android.settings/.SubSettings t4} time:3047384
D/Tethering( 503): Exception adding default nw to upstreamIfaceTypes: java.lang.NullPointerException
I/ActivityManager( 1035): Timeline: Activity_launch_request id:com.android.settings time:3051736
I/ActivityManager( 503): START u0 {cmp=com.android.settings/.CryptKeeperConfirm$Blank (has extras)} from pid 1035
I/ActivityManager( 503): Displayed com.android.settings/.CryptKeeperConfirm$Blank: +103ms
I/ActivityManager( 1035): Timeline: Activity_idle id: [email protected] time:3051879
I/ActivityManager( 503): Timeline: Activity_windows_visible id: ActivityRecord{41cbcb58 u0 com.android.settings/.CryptKeeperConfirm$Blank t4} time:3052206
E/Cryptfs ( 156): Cannot get size of block device
I/ActivityManager( 1035): Timeline: Activity_idle id: [email protected] time:3060969
I/ActivityManager( 503): Timeline: Activity_windows_visible id: ActivityRecord{41ca10d0 u0 com.android.settings/.SubSettings t4} time:3061295
I think
E/Cryptfs ( 156): Cannot get size of block device
is the line to be interpreted...
Can someone please have a look into it...
logcat & co are attached

[4.1+] PinNotif - Pin Important Notifications To Avoid Clearing Them Accidentally

Introduction
This module allows you to pin important notifications to avoid clearing them by mistake. You do that by long pressing a notification then selecting "Pin." You can unpin pinned notification in a similar manner.
This will not prevent notifications from being cleared by the application when you open them, and the application can still control the notification at any time (including clearing it). It simply prevents them from being cleared when you tap the "clear all" button or when you try to swipe them away.
Originally requested here: http://www.reddit.com/r/xposed/comments/267hbt/request_pin_any_notification_so_that_it_cannot_be/
Download
http://repo.xposed.info/module/com.germainz.pinnotif
Source Code
https://github.com/GermainZ/PinNotif
Notes
I have to override the long press menu for the notifications. In other words, if your ROM adds custom items, those will be lost.
This module is not compatible with XHaloFloatingWindow's feature that alters the notification long press menu. If you enable both, there's no guarantee which will override the notification menu first, so you might end up with XHaloFloatingWindow's long press menu (App Info/Open In Halo) or this module's (App Info/Pin.)
The goal of this module is to pin important notifications - not pin/unpin any notification at will. As such, ongoing notifications cannot be unpinned. This is by design.
Changelog:
1.3:
Compatibility fixes for 4.1.x and LG devices.
1.1:
Compatibility fixes for pre-4.3 devices.
Don't fail when the notification contains large data (e.g. large icon.)
Other crash fixes.
1.0:
Initial release.
Click to expand...
Click to collapse
Attributions
Icon made by Freepik from www.flaticon.com.
Thanks
rovo89 and Tungstwenty for the Xposed framework;
zst123 for XHaloFloatingWindows from which this module takes some code.
Does anything in the module require xposed 2.6 or would recompiling with xposedminversion for 2.5 work as well?
Does the pinning survive a reboot?
Sent from my Nexus 4 using XDA Free mobile app
great
krackers said:
Does anything in the module require xposed 2.6 or would recompiling with xposedminversion for 2.5 work as well?
Click to expand...
Click to collapse
It should with minor changes, but I won't do it if that's what you're asking.
chrisrozon said:
Does the pinning survive a reboot?
Click to expand...
Click to collapse
No. The app that sent the notification can also cancel or update it at any time.
Updates are handled and the notification is pinned again automatically (if they were pinned in the first place.) Cancellations are not.
ah wait. I'm using paranoid android rom
seems that I cannot open in floating window.
It used to have that option when I long press a noti.
now its just app info and pin? do you know why?
Nice idea thanks GermainZ you always come with handy modules, keep it up
Sent from my GT-I9505 using Tapatalk
Very useful, but unfortunately dosen't work on lg g2, I hope supporting more roms, thanx
zamzameir said:
ah wait. I'm using paranoid android rom
seems that I cannot open in floating window.
It used to have that option when I long press a noti.
now its just app info and pin? do you know why?
Click to expand...
Click to collapse
Same here,
If you look at sources you see developer makes new popup and just adds Info and Pin/Unpin
Systemui force closes... indian MTK 6589 device ... close to AOSP
note: i have XHaloFloatingWindow Installed... and the long press notification mod turned on
Edit: i just saw the notes... sorry for the inconvenience
really cool idea!!..it's just what i search for!!
but in Xperia J JB4.1.2 with custom rom ,it show "ths systemui is stopped"..
Can you try to fix it??
zamzameir said:
ah wait. I'm using paranoid android rom
seems that I cannot open in floating window.
It used to have that option when I long press a noti.
now its just app info and pin? do you know why?
Click to expand...
Click to collapse
pesiran said:
Same here,
If you look at sources you see developer makes new popup and just adds Info and Pin/Unpin
Click to expand...
Click to collapse
Read the OP, please.
am2006 said:
Very useful, but unfortunately dosen't work on lg g2, I hope supporting more roms, thanx
Click to expand...
Click to collapse
"dosen't work" = ?
karajanlee123 said:
really cool idea!!..it's just what i search for!!
but in Xperia J JB4.1.2 with custom rom ,it show "ths systemui is stopped"..
Can you try to fix it??
Click to expand...
Click to collapse
Can you post a logcat?
Simply awesome bud, you're the man:good:
Unfortunately, System UI has stopped.
Doesn't work on SGNII 4.1.2 because:
Code:
-----------------
28 May 2014 15:21:50 UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'JZO54K.N7100XXDME6' with fingerprint 'samsung/t03gxx/t03g:4.1.2/JZO54K/N7100XXDME6:user/release-keys'
Loading modules from /data/app/hk.valenta.completeactionplus-1.apk
Loading class hk.valenta.completeactionplus.XCompleteActionPlus
Loading modules from /data/app/uk.co.villainrom.pulser.fivebyfourlauncher-1.apk
Loading class uk.co.villainrom.pulser.fivebyfourlauncher.FiveByFourLauncher
Loading modules from /data/app/com.germainz.pinnotif-1.apk
Loading class com.germainz.pinnotif.XposedMod
Loading modules from /data/app/com.germainz.crappalinks-2.apk
Loading class com.germainz.crappalinks.CrappaLinks
Loading modules from /data/app/com.ugglynoodle.allnotificationsexpanded-1.apk
Loading class com.ugglynoodle.allnotificationsexpanded.AllNotificationsExpanded
Loading modules from /data/app/de.robv.android.xposed.mods.appsettings-1.apk
Loading class de.robv.android.xposed.mods.appsettings.XposedMod
Loading modules from /data/app/com.greenbattery-1.apk
Loading class com.dully79.xposed.mods.batteryreplacement.BatteryReplacement
Loading modules from /data/app/com.oasisfeng.greenify-1.apk
Loading class com.oasisfeng.greenify.pro.FrameworkPatch
Loading class com.oasisfeng.greenify.pro.SettingsPatch
Loading modules from /data/app/pk.qwerty12.playstorelinkinappinfo-1.apk
Loading class pk.qwerty12.playstorelinkinappinfo.PlayStoreLinkInAppInfo
Loading modules from /data/app/com.mohammadag.burnttoast-2.apk
Loading class com.mohammadag.burnttoast.XposedMod
Loading modules from /data/app/com.germainz.activityforcenewtask-1.apk
Loading class com.germainz.activityforcenewtask.XposedMod
Loading modules from /data/app/com.germainz.stopswitchdelay-2.apk
Loading class com.germainz.stopswitchdelay.XposedMod
Loading modules from /data/app/com.mohammadag.smoothsystemprogressbars-2.apk
Loading class com.mohammadag.smoothsystemprogressbars.SmoothSystemPBar
Loading modules from /data/app/areeb.xposed.eggster-2.apk
Loading class areeb.xposed.eggster.EggsPoached
Loading modules from /data/app/ma.wanam.youtubeadaway-2.apk
Loading class ma.wanam.youtubeadaway.Xposed
Loading modules from /data/app/ind.fem.black.rayyan.xposed.gesturenavigation-1.apk
Loading class ind.fem.black.rayyan.xposed.gesturenavigation.Ray
java.lang.NoSuchMethodError: com.android.server.NotificationManagerService#enqueueNotificationInternal(java.lang.String,java.lang.String,int,int,java.lang.String,int,android.app.Notification,int[],int)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at com.germainz.pinnotif.XposedMod.loadNotifManagerServiceHooks(XposedMod.java:87)
at com.germainz.pinnotif.XposedMod.handleLoadPackage(XposedMod.java:55)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:228)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
at com.android.server.ServerThread.run(Native Method)
Works great on samsung s3 i9300 4.3 mk6 stock touchwiz rom with agni kernel.
Thanks for this useful module!.
This build should fix pre-4.3 compatibility issues.
Also, instead of sending the whole notification through a broadcast, it only sends the updated flags now. For users, this means PinNotif won't fail to pin notifications with large data (e.g. large notification icons.) Apparently, no one had this issue yet, but it could've happened.
Please test it and let me know if it works, or if there are any regressions.
If it doesn't work, I need the following information:
Which Android version are you running?
An unfiltered logcat (NOT an Xposed log.)
Hi, cool idea. But I get an parsing error while installing on ICS 4.0.3, is it compatible for ICS at all? Couldn't find a hint...
Thanks!
--
Gesendet mit HTC EVO 3D and Tapatalk
chw9999 said:
Hi, cool idea. But I get an parsing error while installing on ICS 4.0.3, is it compatible for ICS at all? Couldn't find a hint...
Thanks!
Click to expand...
Click to collapse
From this thread's title: [4.1+]
I plan to look into adding ICS compatibility later.
Doesn't work my system ui just crashes
https://mega.co.nz/#!SI0DmLJB!JpstPwSk9gss7l7Mzoag3fIJN0U-O-kN9oqXab8qxP4
Here is my logcat
supergonkas said:
Doesn't work my system ui just crashes
https://mega.co.nz/#!SI0DmLJB!JpstPwSk9gss7l7Mzoag3fIJN0U-O-kN9oqXab8qxP4
Here is my logcat
Click to expand...
Click to collapse
One… two… three posts above yours.

[MOD][Xposed] Instagram Like Settings

Insta Like Settings​Introduction
Insta Like Settings is inspired by a module request from r/xposed. It can intercept Instagram's double-tap-to-like feature and the heart icon click to prevent accidential likes. You can choose between a custom like dialog, no interaction at all or the default behavior (like the image).
Features
Customize Double-Tap behavior
Customize heart icon click behavior
Requirements
Xposed Framework
Android 4.0.3+ (including Lollipop)
Download
The module is available on the Xposed repo. Search for: Insta Like Settings
Source Code
The source code is available on GitHub: ollide / Xposed-InstaLikeSettings
Changelog
1.4
added 7.3.0 / 7.4.0 / 7.5.0 / 7.5.1 support
1.2
added 6.20.0 & 6.19.0 support + bugfixes
1.1.2
added 6.18.0 support
1.1.1
added 6.17.0 support
1.1
apply preference changes without reboot
1.0
initial release
Cool it is a great idea because accidental likes make a big problem ?
Thanks i will try it
Pretty cool.
Sent From My HTC One (M8)
Working so far, Only thing missing is a dedicated app icon in the app drawer. To access the module go to Xposed/Modules and look for 'Insta Like Settings'
Thank you, man, this mod is essential for Instagram users like me.
tarroyo said:
Working so far, Only thing missing is a dedicated app icon in the app drawer. To access the module go to Xposed/Modules and look for 'Insta Like Settings'
Click to expand...
Click to collapse
Is this really a feature you're missing? I omitted the app drawer entry intentionally because I thought users were downloading the mod from the repo, chose their favorite setttings and wouldn't access the mod's app anytime soon.
ollide said:
Is this really a feature you're missing? I omitted the app drawer entry intentionally because I thought users were downloading the mod from the repo, chose their favorite setttings and wouldn't access the mod's app anytime soon.
Click to expand...
Click to collapse
That's one way, but I'm sure I won't be the only one confused when they don't see a app icon to access settings.
It doesn't work on my galaxy s5 rom 4.4.2 stock. I try every setting but everytime use instagram stock settings. Hope there is a solution..
Just updated the module and it still is not working on IG version 6.17.1.
Damnit, forgot to turn off the auto update. Instagram is now at version 6.19.0.
ollide said:
Is this really a feature you're missing? I omitted the app drawer entry intentionally because I thought users were downloading the mod from the repo, chose their favorite setttings and wouldn't access the mod's app anytime soon.
Click to expand...
Click to collapse
Are you still working on this mod?
keyrat said:
Damnit, forgot to turn off the auto update. Instagram is now at version 6.19.0.
Click to expand...
Click to collapse
I've just published version 1.2 which contains 6.19.0 & 6.20.0 support. Sorry for the delay!
stevedensmore said:
Are you still working on this mod?
Click to expand...
Click to collapse
Sorry, I have been quite busy lately..
ollide said:
I've just published version 1.2 which contains 6.19.0 & 6.20.0 support. Sorry for the delay!
Click to expand...
Click to collapse
No need to be sorry!
But I can't get it to work. I was on 6.19.0 and I updated Insta Like Settings and it wouldn't bring up the like dialogs.
I've updated today to the latest Instagram (Play Store still says it's 6.19.0 but that's what it said last week, I'm assuming it's 6.20.0 - it brings a new 'fade' feature) and Insta Like still doesn't seem to do anything.
Here is a log. Not sure if it helps:
Code:
-----------------
Apr 22, 2015 1:37:50 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84Q' with fingerprint 'oneplus/bacon/A0001:4.4.4/KTU84Q/XNPH05Q:user/release-keys'
Loading modules from /data/app/com.marz.snapprefs-1.apk
Loading class com.marz.snapprefs.HookMethods
Loading modules from /data/app/tw.fatminmin.xposed.minminguard-1.apk
Loading class tw.fatminmin.xposed.minminguard.Main
Loading modules from /data/app/org.ollide.xposed.instagram-2.apk
Loading class org.ollide.xposed.instagram.MethodHooks
java.lang.NoSuchMethodError: com.instagram.android.feed.a.b.bc#onDoubleTap(android.view.MotionEvent)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at org.ollide.xposed.instagram.MethodHooks.hookDoubleTap(MethodHooks.java:69)
at org.ollide.xposed.instagram.MethodHooks.handleLoadPackage(MethodHooks.java:63)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:208)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1500(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchMethodError: com.instagram.android.feed.a.b.bc#onDoubleTap(android.view.MotionEvent)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at org.ollide.xposed.instagram.MethodHooks.hookDoubleTap(MethodHooks.java:69)
at org.ollide.xposed.instagram.MethodHooks.handleLoadPackage(MethodHooks.java:63)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:208)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1500(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchMethodError: com.instagram.android.feed.a.b.bc#onDoubleTap(android.view.MotionEvent)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at org.ollide.xposed.instagram.MethodHooks.hookDoubleTap(MethodHooks.java:69)
at org.ollide.xposed.instagram.MethodHooks.handleLoadPackage(MethodHooks.java:63)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:208)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
at android.app.ActivityThread.handleBindApplication(Native Method)
at android.app.ActivityThread.access$1500(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1265)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5146)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
Thanks in advance.
ollide said:
I've just published version 1.2 which contains 6.19.0 & 6.20.0 support. Sorry for the delay!
Sorry, I have been quite busy lately..
Click to expand...
Click to collapse
No worries, I just wasn't sure if this mod was being developed anymore. I can't seem to get it to work, in case it matters, I'm using the MOAR 1.0 ROM (4.4.2) on a Samsung S5. Thanks for your hard work, btw.
keyrat said:
I've updated today to the latest Instagram (Play Store still says it's 6.19.0 but that's what it said last week, I'm assuming it's 6.20.0 - it brings a new 'fade' feature) and Insta Like still doesn't seem to do anything.
Here is a log. Not sure if it helps: [...]
Click to expand...
Click to collapse
Thanks for the log, that's always helpful! Well it seems that there are two different Instagram packages, with minSdk = 9 and with minSdk = 14. Both target SDK version 16 and use different method names and also different version names I'll now have to examine both versions and find a way to detect which APK is installed at runtime...
stevedensmore said:
No worries, I just wasn't sure if this mod was being developed anymore. I can't seem to get it to work, in case it matters, I'm using the MOAR 1.0 ROM (4.4.2) on a Samsung S5. Thanks for your hard work, btw.
Click to expand...
Click to collapse
Thanks for the information! I'll get back to you when the next RC is ready, maybe you could test it before I release the next version? :angel:
ollide said:
Thanks for the log, that's always helpful! Well it seems that there are two different Instagram packages, with minSdk = 9 and with minSdk = 14. Both target SDK version 16 and use different method names and also different version names I'll now have to examine both versions and find a way to detect which APK is installed at runtime...
Thanks for the information! I'll get back to you when the next RC is ready, maybe you could test it before I release the next version? :angel:
Click to expand...
Click to collapse
You're welcome, and thanks again. Your module started working for me today after Instagram updated to 6.20.1. I'll give your updates a test run if needed.
Any minimum version requirements? Doesn't work on 6.10.1.
eigen said:
Any minimum version requirements? Doesn't work on 6.10.1.
Click to expand...
Click to collapse
The oldest version of Instagram that I tested was 6.10.1. Can you try it with the latest mod release (1.3, released a couple of minutes ago)?
ollide said:
The oldest version of Instagram that I tested was 6.10.1. Can you try it with the latest mod release (1.3, released a couple of minutes ago)?
Click to expand...
Click to collapse
1.3 confirmed working on 6.10.1. Thanks!
Hi!
I just came here to tell you this APP is very helpful hahaha, is amazing that doesn't exist a similar APP in the Play Store so you are a pioneer in Android like devices about this APP. I hope you continue developing it.
Also, I want to make just a few suggestion, as making this APP work without Xposed framework since it isn't that popular I think. I guess rooted device are more common than one running Xposed, even Xposed FAQ tell us that every Xposed users reject Lollypop due the lack of support for his framework. Anyway, what I am trying with this suggestion is to advice you so the APP goes into the PlayStore, making it more convenience for everyone!
Sadly for me, the APP does not work because I can't install the Xposed Framework into my Samsung Galaxy S3 Mini GT-I8190L with CM12
Will wait for a working Xposed, or a non Xposed-related InstaLikeSetting.apk.
Thanks!

Cache Catcher. Automated cache mantainer

Code:
*** Disclaimer
I'm not responsible for dead phone, dead sdcard, dead pixel, dead person,
dead trees or dead bees also thermonuclear war
If you facing some error because of my module, dont be mad,
provide a reliable logcat to help me to solve
Introduction
Cache Catcher is a a mini modul that brings you features you can activate to maintain your internal storage space,
trim caches and keep it mantained under normal condition. It can be installed on any android device starting from API 4
as long as Xposed Bridge is installed. It will save your internal storage space with no time-consuming methods
and works directly from its sources. Set up your own settings and let it works by its own.
Click to expand...
Click to collapse
Features
Dark/Night theme
Blacklist/Whitelist mode
Notification, will get notified when Cache Catcher saved space
Configurable sizes
Deletes empty cache (0kb)
Conditions to trigger clean up process
Full cache scan
Accurate cache lookup
Click to expand...
Click to collapse
Warning
DO NOT enable all features for first time usage. It may leads to an ANR for some app that wildly dump its cache.
Imagine when you start working on a company and have to do a lot job on first work day.
Set it low and make it strict after a couple day to keep your caches low and controled
Click to expand...
Click to collapse
Q&A
Q: I wanted to mantain (app name)'s cache only
A: Enable Whitelist mode, clear app list and chose only (app name) then reboot to apply
Q: I dont want to clear any cache of (app name), because it breaks some functions
A: Blacklist it and reboot
Q: (app name) keep crashing after this module activated
A: Have you read my warning message?
Q: Yes
A: Make sure you do as my warning message, if it still crashing, just blacklist it and send me some logcat lines
Click to expand...
Click to collapse
How to know that Cache Catcher is doing its jobs
Open Cache Catcher, if the title says Active (or similar in your language), this module is active
If you activate notification options and get notified about cache deletion, it works
Open Xposed log, if there is Cache Catcher initiation line, its main function is works
If there are json-like lines just after initiation line, your settings are loaded
Open Terminal, request for su, and type "logcat -s CC", if activity happens, it works
Open root File Explorer, navigate to /data/data/any.package.name/shared_prefs/, if it contains CC.xml file, it works
Click to expand...
Click to collapse
Common problem related to Xposed Installer
Xposed log is empty
I have no idea what is going on, but if you solved this problem, let me know
No json-like lines after Cache Catcher init line or just showing "{}"
Your settings are not loaded, it may be SELinux causing this problem, you can change its status from enforcing to permissive. Hope it solve
Click to expand...
Click to collapse
In case of error
Open any su granted terminal, any enter "logcat -s CC AndroidRuntime > /sdcard/CCError.logcat"
Generate the error, by doing things that leads error related to this module
Close the terminal
Open Xposed Installer, chose Log, hit the save icon
Send me descriptive events that leads to error and attach these 2 files
Click to expand...
Click to collapse
In case of serious lag just after reboot
Download dont-panic.zip and flash it through custom recovery
Click to expand...
Click to collapse
Download module
Changelog
v2.9.5
[Fixed] Null Pointer Exception error
v2.9.4
[Note] Currently, i have released stable and beta version on Facebook, so, this is not initial release
[New] Condition to trigger clean up
[New] Dark/Light theme
[New] Indonesian language
[New] Notification options
[New] accurate lookup option
Click to expand...
Click to collapse
XDA:DevDB Information
Cache Catcher, Xposed for all devices (see above for details)
Contributors
Dhi
Xposed Package Name: com.andrian.cachecatcher
Version Information
Status: Stable
Current Stable Version: 2.9.5
Stable Release Date: 2017-05-15
Created 2017-05-14
Last Updated 2017-05-15
Pertamax ?
Good luck bro...
Is this similar to going to Storage&USB and clearing cache ?
No, clearing cache from settings menu will erase everything
This module only delete the old ones, or two, or three based on your settings,
ie: you set 1mb for min gained space, it will delete old caches till 1 mb free space gained
Will this work for custom rom?
I got a lewa rom android ver. 4.4.4
warbadz said:
Will this work for custom rom?
I got a lewa rom android ver. 4.4.4
Click to expand...
Click to collapse
Programmatically yes, make sure Xposed Bridge is installed and working on your android
Doesn't work
Android 6.0.1
Osprey XT1543 Cyanogenmod.
Logs attached.
DiePirate said:
Android 6.0.1
Osprey XT1543 Cyanogenmod.
Logs attached.
Click to expand...
Click to collapse
Oops, NPE,
i will fix that soon
Module Updated
Changelog
[Fixed] Null Pointer Exception error
Dhi said:
Oops, NPE,
i will fix that soon
Click to expand...
Click to collapse
Hmmm xposed log look like something is working bad with the module update.
One more time, logs attached.
Edit: is this mod for install and forget or I have to configure it? and why some apps have not the CC.xml file? Screenshot attached.
Sorry for my english.
It works, but your settings is not loaded, SELinux cause this,
same as my mama's phone, i'm working on it
DiePirate said:
Is this mod for install and forget or I have to configure it?
Click to expand...
Click to collapse
Basic function is activated as you activate this module, but not as effective as you configure it later,
but in this case, your configuration wont be loaded, i will fix this
DiePirate said:
and why some apps have not the CC.xml file?
Click to expand...
Click to collapse
1. it does not call getCacheDir() method, in other words, it does not store cache, or not
2. it constructs its own File object directly to /cache dir without calling getCacheDir()
3. it uses native methods to store cache
Dhi said:
It works, but your settings is not loaded, SELinux cause this,
same as my mama's phone, i'm working on it
Basic function is activated as you activate this module, but not as effective as you configure it later,
but in this case, your configuration wont be loaded, i will fix this
1. it does not call getCacheDir() method, in other words, it does not store cache, or not
2. it constructs its own File object directly to /cache dir without calling getCacheDir()
3. it uses native methods to store cache
Click to expand...
Click to collapse
Ok sir im waiting for the selinux fix, thank you.
DiePirate said:
Ok sir im waiting for the selinux fix, thank you.
Click to expand...
Click to collapse
Try to disable it
Dhi said:
Try to disable it
Click to expand...
Click to collapse
How?
DiePirate said:
How?
Click to expand...
Click to collapse
SELinux mode changer, maybe?
I dont know exactly, SELinux is disabled by default in my phone, LOS 13
Dhi said:
SELinux mode changer, maybe?
I dont know exactly, SELinux is disabled by default in my phone, LOS 13
Click to expand...
Click to collapse
Maybe @aviraxp or @veez21 knows and help.
Please check, is now working? Permissive selinux enabled.
Los attached.
DiePirate said:
Maybe @aviraxp knows and help.
Please check, is now working? Permissive selinux enabled.
Los attached.
Click to expand...
Click to collapse
Line #7
05-15 12:52:48.190 I/Xposed ( 545): SELinux enabled: yes, enforcing: yes
I will try everything to make this work, every module developer sould notice this issue before, i will look for the answer
Dhi said:
Line #7
05-15 12:52:48.190 I/Xposed ( 545): SELinux enabled: yes, enforcing: yes
I will try everything to make this work, every module developer sould notice this issue before, i will look for the answer
Click to expand...
Click to collapse
I'll try to disable selinux just now!
EDIT: where are the sources?
NPE error
Here are the logs
For the moment, I uninstalled the module, I wait for stable release. Selinux permissive.

[AOSP 10.0_r40][all-in-one] microG ufOfficial (cve Aug, 2020) arm32/64

[10.0_r40/v222] download : https://androidfilehost.com/?a=show&w=files&flid=286761​All-in-one: "Regular" #phhusson Quack AOSP 10.0 vanilla build with microG patches, embedded #su /system, and multiple foss apps:
(/system partition requires: [arm64:>1.9Gb] [arm32:>1.3Gb] minimum)​
official microG: GmsCore(mapbox) GoogleServicesFramework DroidGuard
addons: NominatimGeocoderBackend DejaVuBackend IchnaeaNlpBackend LocalWifiNlpBackend openbmapRadiocellsOrg LocalGsmNlpBackend
hot-built: emailExchange2 snapMusic calendarEtar Terminal screenRecorder testDevCamera Calculator
prebuilt: Fdroid F-DroidPrivilegedExtension browserQuarks ZxingClient kDI Superuser BromiteWebview NeoLinker
system/bin* : aapt32 grep64(pcre2grep version 10.22 2016-07-29)
Also included are these non-foss 3 Google : Playstore, Calendar/Contact_Sync; like phh-Superuser apk, they are disabled by default, and can be activated via Settings/Apps.
Click to expand...
Click to collapse
not included: Latest compatible Google Maps 9.84.2 optional https://androidfilehost.com/?fid=11410963190603886579​
Extra(s): Nfc and Cafeine tiles, basic photoEditor*, experimental WakelockBlocker via Settings/{}DevOptions <USE WITH CAUTION>.
Nota: android Webview v87 is signed & upgradable from Bromite, Terminal is activated via Settings/System/Advanced/DeveloperOptions and Playstore has to be ForceStop-ed once after registration/wizard, and relaunch. F-Droid V.102.3 auto-update needs FDroid/Settings/ExpertMode/Privileged disabled.
After first rom flash and MicroG prim-initialization, for immediate working location, toggle /Settings /Security&Location /Location off&on. Switching between vtm & mapbox can need wipe for apk cache & account re-creation.
All included prebuilds are fdroid signed editions.
donations: Consider prim-origin @phhusson @MaR-V-iN @csagan5(Bromite)
others : @ale5000 @Setialpha #ThibG(DroidGuard)
+info for microG implementation https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360
If you need more, please let me know about it, but for more "Google": just switch to phhusson "gapps" flavour...
Bugs reporting
ufOfficial rom includes static & passive app kDI (KalturaDeviceInfo) to list all your device specs (treble, widevine...) in a json, and can help you with GSFid or others info(s). This app doesn't connect to internet, and the json (~Android/data/com.oF2pks.kalturadeviceinfo/files/) should not include any private data or ids; it's up to you to share or not.
If you encounter major AOSP "hardware (not software)" related bugs, please switch to #phhusson vanilla v___ edition and help him with proper focused hardware logs. For Camera2 missing features, take time to check OpenCamera first, aosp DevCamera "sample stub" is included for testing purpose : autofocus... ; full cam specs are also in KalturaDeviceInfo (per each "physical" cam).
Click to expand...
Click to collapse
(Specific Redmi Note 9 Pro overlay_joyeuse & props_ curtana/joyeuse are added)
(Huawei/msm8937 Moto/G7Play Razer/cheryl Sony/XZ3 Realme/X2Pro overlays are switched to aosp FusedLocation)
swappiness =28 & dirty_writeback_centisecs =1500: check #suKAdiutor for other tweaks.
For Treble with root, you can do some tests modifying specifically,
/system/bin/rw-system.sh to change some features on post-fs:
https://github.com/phhusson/device_phh_treble/blob/android-10.0/vndk.rc#L1
check also phh-on-boot.sh & phh-on-data.sh​
hot-built links :
Code:
[SIZE="1"]<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="los" fetch="https://github.com/LineageOS/" />
<remote name="of2" fetch="https://gitlab.com/oF2pks/" />
<remote name="qcom" fetch="https://source.codeaurora.org/" />
<remote name="aos" fetch="https://android.googlesource.com/"/>
<project path="packages/apps/ExactCalculator" name="platform/packages/apps/ExactCalculator" remote="aos" revision="master"/>
<project path="packages/apps/Recorder" name="android_packages_apps_Recorder" remote="los" revision="lineage-17.1" />
<project path="packages/apps/Jelly" name="jelly" remote="of2" revision="jQuarksMore" />
<project path="packages/apps/SnapdragonMusic" name="quic/la/platform/packages/apps/SnapdragonMusic" remote="qcom" revision="android_ui.lnx.4.0.r24-rel" />
<project path="packages/apps/Exchange" name="external/gigabyte/platform/packages/apps/Exchange" remote="qcom" revision="caf/LA.UM.7.7.c25" />
<remove-project name="platform/packages/apps/Calendar" />
<project path="packages/apps/Etar" name="android_packages_apps_Etar" remote="los" revision="lineage-17.1" />
<remove-project name="platform/packages/apps/Terminal" />
<project path="packages/apps/Terminal" name="android_packages_apps_Terminal" remote="los" revision="lineage-17.1" />
</manifest>
[/SIZE]
- Bromite latest webView v84, upgradable via F-Droid repo https://fdroid.bromite.org/fdroid/repo
- Optimized browser Quarks ( adBlocker, offline reading mht , print/pdf , share/clipboard target ...) https://gitlab.com/oF2pks/jelly/commits/jQuarksMore. Conversely to embedded WebViewShell, Quarks don't allow permissions for Camera & Microphone capture (WebRTC)
Attached State_Changes___.zip if for rom devs only
Thanks. will definitely see how it works on razer phone 2
Working super great here on OnePlus6 (enchilada), but I noticed a bug with the fingerprint sensor: working fine right after 1st boot, but not anymore after some times (I don't exactly know how to reproduce). Anyone is experiencing the same?
Edit: after a data wipe, fingerprint sensor is working fine during 1st boot but stops working right after any reboot without any modifications to system settings or app installed.
Edit2: it is actually a Quack Phh-Treble issue, confirmed on system-quack-arm64-ab-floss.img .
Edit3: Possible temporary workaround waiting for a real fix: https://github.com/phhusson/treble_experimentations/issues/1432#issuecomment-675568932
@oF2pks is the org.openbmap.unifiedNlpProvider package deprecated and thus can be disabled without any trouble for microG location backend to work?
That's what I think but I would like a confirmation.
Edit: found a confirmation here
https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases
Replaced abandoned FDroid GSM NLP backend with releases from @ploink
Click to expand...
Click to collapse
Thanks for the work, those prebuilds are handful
Everything is running fine here.
there's a problem with google maps download from androidfilehost:
Code:
ava6.androidfilehost.com sent an invalid response.
ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
any chance of a mirror?
edit: nevermind, I've found it
How do I update to more recent build of MicroG GMS Core, for example the one released today?
New home build of GmsCore uploaded in post#1
pvdeejay said:
How do I update to more recent build of MicroG GMS Core, for example the one released today?
Click to expand...
Click to collapse
Due to missing official #MaR-V-iN mapbox.key for extensive use of microG (https://github.com/microg/android_pa...re/issues/1155), I will not maintain home build of 3x microG components, and switch next @phhusson aosp10 (if any ?) to official #MaR-V-iN 3x apk.
( @pvdeejay ) , if you have twrp on your device, I already suggest trying #Setialpha packages with official #MaR-V-iN releases https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928.
Even with a future aosp10 GSi; since I'm using anticipated PlayServices variants to v20.99.99, this will need manual (root #su) cleaning of /data/data/* for all 3 microG apks https://forum.xda-developers.com/showpost.php?p=83540735&postcount=37 or a complete re-install (fastboot erase).
hmm, this is tricky as I have device with no TWRP xiaomi redmi 9 code name galahad.
So I guess I need to tweak the image with new apks and reflash using fastboot. Am I right?
pvdeejay said:
hmm, this is tricky as I have device with no TWRP xiaomi redmi 9 code name galahad.
So I guess I need to tweak the image with new apks and reflash using fastboot. Am I right?
Click to expand...
Click to collapse
For now, use my recent attached. I don't believe a GSi can be tweaked easily. If @phhusson don't update aosp10 anymore (r45 is still on cve Aug 2020 and r46/47 are unfinished by Google), I will re-upload aosp10.0_r40 with official #MaR-V-iN 3x apks, but that would need fastboot erase (or root:#su file manager on /data/data/*).
I'm sorry, I'm getting 404 error on the latest microg upload no matter if I click in the first post or the latest one.
Should I just wait or can you do something about it please?
pvdeejay said:
I'm sorry, I'm getting 404 error on the latest microg upload no matter if I click in the first post or the latest one.
Click to expand...
Click to collapse
AFH link : https://androidfilehost.com/?fid=10763459528675570052
Even I did uploaded it myself on xda , I've same 404E ( @svetius ?). Guess something is wrong with mirrors ( or new xda changes) ?
I am coming back to this after a while.
I don't seem to be able to get google maps work. it always crashes when started.
I have only installed this as an app update and I don't managed to add it as a system app. Might that be a problem?
Latest GmsCore uploaded in post #1 2020-11-19 commits: https://forum.xda-developers.com/attachment.php?attachmentid=5138863&d=1605887888
pvdeejay said:
I am coming back to this after a while.
I don't seem to be able to get google maps work. it always crashes when started.
I have only installed this as an app update and I don't managed to add it as a system app. Might that be a problem?
Click to expand...
Click to collapse
Seems the issue is about cronet JAVA NIO ByteBuffers ; check https://github.com/microg/GmsCore/issues?q=cronet . Latest @MaR-V-iN don't solve it (this issue is not on Webview implementation).
Final(?) release.
Due to missing official #MaR-V-iN mapbox.key for extensive use of microG (https://github.com/microg/GmsCore/issues/1155):
aosp10.0_r40 with official #MaR-V-iN 3x apks is re-uploaded
https://androidfilehost.com/?a=show&w=files&flid=286761​{_Names} = {_Apks}
- DroidGuard = org.microg.gms.droidguard
- GoogleServicesFramework = com.google.android.gsf
- GmsCore = com.google.android.gms
(Because of anticipated to v20.99.99 PlayServicesvariants),
TO UPGRADE from previous rom, you need to imperatively apply following steps:
Remove Google account(s) via Settings/Accounts
Uninstall any update via Settings/Apps/3x_apks (microG_Services_Core)
Clear storage via Settings/Apps for 3x_apks
root:#su with GhostCommander (or other or TWRP) to delete 3x_apks for: /data/data/3x_apks
fastboot flash system10.img and reboot
Click to expand...
Click to collapse
I also switch hot-built jQuarks browser to latest F-Droid signed jQuarks (upgradable) edition: be sure to save your possible *.mht archives prior to fastboot flash system.
pvdeejay said:
How do I update to more recent build of MicroG GMS Core, for example the one released today?
Click to expand...
Click to collapse
Once updated, use F-Droid repo or straight https://microg.org/download.html to update microG 3x_apks.
Hello,
I have issues migrating to the microg.org compatible build.
I have no uninstall option for microg gms core so I have only wiped the data and flashed the updated system image.
After rebooting I can see no packages with compatible signature when looking at microg version in f-droid.
So I have manually tried to remove everything related to GMS under /data and /data/app using su and rm over adb.
But still when reflashing and rebooting I do have this.
How would I go about fixing it?
gsf proxy and microg guard helper are both okay as I had no updates to them installed.
Edit:
Granted signature spoofing through Settings -> Apps -> MicroG GMS Core.
However I still have two permissions missing: receive SMS and background location.
When I tap them on the self check activity nothing changes. I can't enable them from the Settings -> apps...
And still F-Droid can find no compatible versions so I suspect I have semi broken install here.
Edit:
I've downloaded latest apk from microg.org and installed it on the top of what I have so far and it sorted it-self meaning that device registration, FCM and unified NLP are all working great. F-droid now correctly shows compatible versions and I expect that it will be able to install updates in the future.
What I have noticed is that I have only few apps that were able to reregister FCM token after this upgrade dance. A lot of apps are still waiting for push messages with the old token e.g. Microsoft Teams, Viber, Element (former riot.im), Revolut, George (Die Ertzte banking) and more. I am looking for a way on how to invalidate their FCM tokens and force these apps to register for push messages again other than clearing their data and logging in and / or setting up them from scratch.
Is there a way around this?
Thanks and greetings
Peter
It appears I can't edit my previous post...
Okay, figured the last bit of the puzzle and now I'm happy with the migration.
Please note that this rom is prerooted thus I fired up ADB and poked a bit with shared preference storage related to the apps I wished to force refreshing their FCM tokens.
I ended up deleting files related to GMS, FCM, firebase and similar such as these....
FirebaseAppHeartBeat.xml
com.google.android.gms.appid.xml
com.google.android.gms.measurement.prefs.xml
com.google.firebase.crashlytics.xml
com.appboy.push_registration.xml
com.appboy.storage.user_cache.push_token_store.37a6259cc0c1dae299a7866489dff0bd.
This is not straight forward, but it's easily done with a bit of common sense.
Out of 10 apps I had to reinstall only one of them.
Also I have discovered in the process that some apps may refresh their FCM token on upgrade as this has happened to me with one of those 10 apps.
pvdeejay said:
However I still have two permissions missing: receive SMS and background location.
When I tap them on the self check activity nothing changes. I can't enable them from the Settings -> apps...
Click to expand...
Click to collapse
These bugs seem fixed in today GmsCore v0.2.15.204713 .
I"ll build android11 soon and check whether it can be flash straight over android10 without any loss.
oF2pks said:
These bugs seem fixed in today GmsCore v0.2.15.204713 .
I"ll build android11 soon and check whether it can be flash straight over android10 without any loss.
Click to expand...
Click to collapse
table tap to wake dont work. viber that had problems with many custom roms, works ok

Categories

Resources