Email - Kill attachment limits
Description
This Xposed module removes the default 5MB attachment limit ("Can't attach file over 5MB.") of the AOSP/Play Store email application. It will not override attachment limits set by email server administrators, only the default artificial limits set by the email application are changed.
Warning: the Play Store version is not tested as I don't have a compatible device, but it should work. If someone could confirm this, I'd be happy.
Compatibility
Xposed v54 or later
Currently only a recent version of the email application is supported
The version must be based on the UnifiedEmail package and contain the commit, which introduced getMaxAttachmentSize method (see below for now). Because I'm too lazy to implement and test this for older versions, the minSdkVersion is set to 19.
Contributions for other versions are welcome
To see if your version is supported, try install the module and see the log of Xposed Installer for any errors. If you can't install it, your Android is too old.
Download
http://repo.xposed.info/module/io.github.ljani.xposed.email
Source
https://github.com/ljani/xposed-email
Changes
v1.0 - 2014-07-28
Initial release
I will test n5444 elementalx
Sent from my Nexus 5 using XDA Premium 4 mobile app
For some reasonthe outbox is stuck
Sent from my Nexus 5 using XDA Premium 4 mobile app
Error outbox, in ok logs ready whenever.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Can you send <5MB attachments without this mod? Or is the file you're trying to send, a huge one?
I sent 4 files all amounting to almost 7
Sent from my Nexus 5 using XDA Premium 4 mobile app
---------- Post added at 01:52 AM ---------- Previous post was at 01:45 AM ----------
I will try 2 and get back to you
---------- Post added at 02:45 AM ---------- Previous post was at 01:52 AM ----------
Without this mod i can send less than 5, latest test shows there is no problem receiving any file. Just the outbox stuck at 4 emails I'm trying to send.
Which email provider, protocol and transport? How big is the file you're trying to send?
Personally I've tried ~10MB files using my company mail and GMail, both using Exchange over WiFi.
The mod doesn't touch the sending part at all, only the point where you attach the files to the email. I wonder if the Play Store version is doing some other checks.. Can you provide logcats to see if there are any errors?
Hi, our email I think is Rapid Systems, and I tried to send multiple files all amounting to more than 7 megs but to no avail. My gmail is OK only the Company Exchange is effected. Where shall I send the log to?
Hmm, okay. Could be an issue on the provider side. They might have some limits..
Hmm, XDA doesn't let you attach files to PMs I think. Can you upload to any file sharing site and PM me the link? You can zip and password protect it if you want, as long as you also PM me the password too..
Sure thing, I'll find something and then get back to you
Unable to download it...
{
"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"
}
Sent from my Nexus 5
MordyT said:
Unable to download it...
Click to expand...
Click to collapse
Many thanks! Should be fixed now. Sadly repo.xposed.info doesn't warn you about these, and I had forgot to test the actual download
ljani said:
Many thanks! Should be fixed now. Sadly repo.xposed.info doesn't warn you about these, and I had forgot to test the actual download
Click to expand...
Click to collapse
Download (via web and via Xposed app) still doesn't work. Could you please attach the apk to the OP?
miki.cis said:
Download (via web and via Xposed app) still doesn't work. Could you please attach the apk to the OP?
Click to expand...
Click to collapse
How it doesn't work? The same error as above? I tested downloading via the Xposed app and it works fine. If you're trying to download it through the web, are you sure you're using the new link (changed package name), and not the old one?
Code:
https://repo.xposed.info/module/io.github.ljani.xposed.email
Anyway, here's the apk attached.
ljani said:
How it doesn't work? The same error as above? I tested downloading via the Xposed app and it works fine. If you're trying to download it through the web, are you sure you're using the new link (changed package name), and not the old one?
Code:
https://repo.xposed.info/module/io.github.ljani.xposed.email
Anyway, here's the apk attached.
Click to expand...
Click to collapse
Downloading via the Xposed app is still giving me the same error... Thanks for the apk, but when i download it and try to install it, it says that there was a problem while parsing the package.
miki.cis said:
Downloading via the Xposed app is still giving me the same error... Thanks for the apk, but when i download it and try to install it, it says that there was a problem while parsing the package.
Click to expand...
Click to collapse
That's weird. For parsing the package error, can you check the MD5 sum of the file you downloaded? It should be 81f8c877cb4317e38dd04adac6d2ed58.
MordyT said:
Unable to download it...
Click to expand...
Click to collapse
Hi MordyT, are you able to download the module now?
ljani said:
..., can you check the MD5 sum of the file you downloaded? It should be 81f8c877cb4317e38dd04adac6d2ed58.
Click to expand...
Click to collapse
I downloaded this apk, MD5 is as above. After install and reboot it unfortunately doesnt work.
(I am on KK 4.4.4 108).
I get in Xposed log:
-------------------------------------- cut ------------------------------------------
Loading class io.github.ljani.xposed.email.PackageHook
de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.mail.providers.Settings
at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:52)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at io.github.ljani.xposed.email.PackageHook.handleLoadPackage(PackageHook.java:25)
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:1306)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:212)
at android.app.ActivityThread.main(ActivityThread.java:5135)
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:877)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.android.mail.providers.Settings
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:251)
at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:50)
... 19 more
Caused by: java.lang.NoClassDefFoundError: com/android/mail/providers/Settings
... 23 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.mail.providers.Settings" on path: DexPathList[[zip file "/system/framework/com.sonymobile.smime.jar", zip file "/system/framework/com.sonyericsson.idd.jar", zip file "/system/framework/com.google.protobuf-2.3.0.jar", zip file "/system/framework/com.sonyericsson.uxpres.jar", zip file "/system/priv-app/SemcEmail.apk"],nativeLibraryDirectories=[/data/app-lib/SemcEmail, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
... 23 more
-------------------------------------------------- end ---------------------------------------------------
F308 said:
I downloaded this apk, MD5 is as above. After install and reboot it unfortunately doesnt work.
(I am on KK 4.4.4 108).
I get in Xposed log:
-------------------------------------- cut ------------------------------------------
zip file "/system/priv-app/SemcEmail.apk"
-------------------------------------------------- end ---------------------------------------------------
Click to expand...
Click to collapse
SemcEmail.apk seems to be the Sony Xperia email application, not the AOSP one. Do you have two email apps, the AOSP one and Xperia one, or just the latter? I wonder if the Xperia email app is not up-to-date or have they renamed some packages.. Can you send the apk and I could take a look if they've just renamed stuff?
ljani said:
Do you have two email apps, the AOSP one and Xperia one, or just the latter? I wonder if the Xperia email app is not up-to-date or have they renamed some packages.. Can you send the apk and I could take a look if they've just renamed stuff?
Click to expand...
Click to collapse
I rather do updates.
I don't know what AOSP is but I use Gmail2.apk for gmail account and SemcEmail for somewhere else.
MD5sum:
b994a6233ecf04f3940a5d5ec4ff5f6b SemcEmail.apk
This is the one from path mentioned in your msg.
F308 said:
I rather do updates.
I don't know what AOSP is but I use Gmail2.apk for gmail account and SemcEmail for somewhere else.
Click to expand...
Click to collapse
Yeah, I meant that the developers of the app have been lazy to base it on a recent version of the upstream code. It seems this is indeed the case. Decompiling SemcEmail.odex, you'll get files such as com\android\email\activity\ActionBarController.smali. This is present in the version 4.3.1_r1 of AOSP email, but not in the 4.4_r0.7. So, it's safe to say you're using an email application based on AOSP version 4.3, not 4.4, which is required by this mod.
AOSP being Android Open Source Project, ie the "original" email.apk from Android.
I guess I could catch the exception and warn the user that the version is incompatible or too old.. I wish there was a better way to verify the version.
Related
So, here i'm again porting a tutorial based on DSM_'s Tut
What do you need:
JRE (Java Runtime Environment)
MOD EDIT: Download Removed.
Install:
Windows:
MOD EDIT: Download Removed.
MOD EDIT: Download Removed.
Unpack both pakages you will get three files, copy those files to your Windows directory i.e. C:\WINDOWS
Decoding files:
Open Command. Run>cmd
Type-
Quote
apktool d file.apk [directory]
Example - apktool d D:\nfsshift.apk D:\nfsshift
Done!
{
"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"
}
FrameworkFiles
Apktool needs the framework files to decode and build apks.
Standard framework is embedded into apktool, so you don't need to do anything for most apk files. But some manufacturers, for example Samsung, add their own framework files and use them in system apps. To use apktool against such apps, you must pull framework from a device and install/register it to apktool.
For Example, you want to decode TouchWizLauncher.apk from Android v2.2 of Galaxy 5. If you try to do that, you will get an error message:
You need to install framework in apktool Type-
apktool if [framework location]
I have the got the framework-res.apk & twframework-res.apk by extracting the ROM. You can also copy it from your phone. But take care you must copy framework.apk from that ROM in which you got the Application file.
Then try again
Now is working.
How to build decoded files:
Just type
apktool b [directory in which you have decoded the files]
Example - apktool b D:\nfsshift
Done!
You will find the apk file inside the decoded directory, like I found it in - D:\nfsshift\dist\nfsshift.apk
Now you need to sign your APK file.
How to Sign APK files:
When publishing an application or a custom rom you need to sign the .apk or .zip files with a certificate using a private key. The Android system uses the certificate to identify the author of an application and establish trust relationship between applications. The classic way of doing this was to use keytool then sign it with jarsigner. In this tutorial i’ll explain an alternative method which is relatively easy to use for most people using a tool called SignApk.jar.
First download the SignAPK toolMOD EDIT: Download Removed.
Extract them to a directory you will remember. I have put them in C:\SignApk
Now just open cmd and type -
Quote
cd C:\SignApk
java -jar signapk.jar certificate.pem key.pk8 your-app.apk your-app-signed.apk
Example - java -jar signapk.jar certificate.pem key.pk8 D:\nfsshift\dist\nfsshift.apk D:\nfsshift\dist\nfsshift-signed.apk
Your APK is signed and can be installed.
Why I get errors when trying to decode some apk's from Xperia S? Apk's are okay, working on phone. Decompiling works on other apps.
I've registered framework-res.apk from my phone.
Theonewithideas said:
Why I get errors when trying to decode some apk's from Xperia S? Apk's are okay, working on phone. Decompiling works on other apps.
I've registered framework-res.apk from my phone.
Click to expand...
Click to collapse
You may require another one like the dhd has com.htc.resources.apk
sent from my dhd
i decompiled defaulthemes.apk from my Xperia neo v
now when i compile it again .. do i need to sign it? its a system apk!
and i am not able to build decode files( it means compiling right?).. please help!
Aarush said:
i decompiled defaulthemes.apk from my Xperia neo v
now when i compile it again .. do i need to sign it? its a system apk!
and i am not able to build decode files( it means compiling right?).. please help!
Click to expand...
Click to collapse
I think you need to replace it manually first time. But make a backup, just in case.
---------- Post added at 10:43 PM ---------- Previous post was at 10:18 PM ----------
I've decoded the system app (from Xperia S) (after registering the 2 framework files)
Edited the code inside. Compiled. Signed. But when I want to install it it gives me error. The usual icon doesn't show up either.
Is the error caused by changing something in code? I've only edited some TextSize values.
Theonewithideas said:
I think you need to replace it manually first time. But make a backup, just in case.
---------- Post added at 10:43 PM ---------- Previous post was at 10:18 PM ----------
I've decoded the system app (from Xperia S) (after registering the 2 framework files)
Edited the code inside. Compiled. Signed. But when I want to install it it gives me error. The usual icon doesn't show up either.
Is the error caused by changing something in code? I've only edited some TextSize values.
Click to expand...
Click to collapse
Can be with codes
Are u signing it.? Dont sign it if its a system apk
Sent from my Xperia neo V using SwiftKey!
Great tutorial
Sent from my Droid using Tapatalk
Why shouldn't you sign a system apk? I see people stating this everywhere, never any reason as to why though.
Basically, if I mess with a system apk I should just build it and then it's ready to adb push to /system/app/?
very helpful thanks
I've done all your steps but...
@hyztname
hi, how are you
I've done what you said in post #1 step by step, everything's ok with no error but when I push my new edited "SystemUI.apk" to the device, it doesn't work. I have the same issue when I use APKMultiTool
what do you think?
goldiecalypso said:
@hyztname
hi, how are you
I've done what you said in post #1 step by step, everything's ok with no error but when I push my new edited "SystemUI.apk" to the device, it doesn't work. I have the same issue when I use APKMultiTool
what do you think?
Click to expand...
Click to collapse
You have to sign ur new app. Google how to sign apks in google
Sent from my Droid using Tapatalk 2
cowsquad said:
You have to sign ur new app. Google how to sign apks in google
Sent from my Droid using Tapatalk 2
Click to expand...
Click to collapse
I signed it with "signapk" according to your talks and download link, but still nothing!
@goldiecalypso
SystemUi.apk isn't a simple package.
If I'm right you don't have to decompile sources.
apktool d -s SystemUI.apk
-s, --no-src (Will not decode sources)
could u plz tell me hw to do it in ubuntu
droidxpert said:
could u plz tell me hw to do it in ubuntu
Click to expand...
Click to collapse
What do you want to know?
Sent from my Galaxy Nexus using Tapatalk 2
sir i decompiled framework-res.apk and i have modded the pngs in drawable ldpi folder.but when i am trying to recompile it it shows errors in every png i modded..i modded using photoshop cs6...please help
droidxpert said:
sir i decompiled framework-res.apk and i have modded the pngs in drawable ldpi folder.but when i am trying to recompile it it shows errors in every png i modded..i modded using photoshop cs6...please help
Click to expand...
Click to collapse
What kind of error are you getting? Where you messing with 9.pngs?
Sent from my Galaxy Nexus using Tapatalk 2
ya i was editing .9 pngs.and one of xda member suggested me to flatten it before saving.This compiles successfully but creates a white background for all images
droidxpert said:
ya i was editing .9 pngs.and one of xda member suggested me to flatten it before saving.This compiles successfully but creates a white background for all images
Click to expand...
Click to collapse
Working with 9.pngs isn't easy to do. You must use 9.png tool to work with those. 9.pngs are pain in the ass. There are tutorials out there man
Sent from my Galaxy Nexus using Tapatalk 2
droidxpert said:
ya i was editing .9 pngs.and one of xda member suggested me to flatten it before saving.This compiles successfully but creates a white background for all images
Click to expand...
Click to collapse
You need to use the draw9patch.bat tool if you change the shape of anything in a 9.png. Check out http://developer.android.com/guide/topics/graphics/2d-graphics.html#nine-patch for some basics.
THIS PROJECT IS NOW HELMED BY STAMMLER.
CHECK OUT HIS NEW THREAD!
I (sturmen) AM NO LONGER INVOLVED.
Original post preserved for posterity.
I heard that saurik had finally brought Cydia Substrate to Android, and I used it to whip up with this tweak. However, since Substrate isn't compatible with my phone, I ported it over to the Xposed Framework by rovo89. And now I present it to all of you!
{
"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"
}
KEEPCHATa mod for Snapchat
Features:
Hooks into the Snapchat application; just install and go
Saves both images and videos
Toast popups to notify you of success
Open Source
Free!
Installation:
Install Xposed Framework
Install Keepchat
Enable Keepchat in Xposed
Reboot Phone
Use Snapchat as normal
Find your saved Snaps in /sdcard/keepchat/
IMPORTANT NOTE: While Keepchat is enabled, all Snaps you view will be marked as SCREENSHOTTED! I figured it was only fair to the people sending you Snaps. If you don't like it, Keepchat is open source.
If you do choose to compile your own version of my app, I ask you not share it. It is, for lack of a better term, "unauthorized." You may only freely distribute the APK attached to this post. Any derivatives of this app that I do not sanction are considered warez.
Speaking of the source code, you can find it here.
I hope you like my little tweak. I welcome any questions or comments, and I'll be happy to explain any of the code. I tried to explain what I was doing as I went along, but I'm sure I missed something.
If you're interested, here's a guide to get you started with building your own Xposed Modules:
Install Eclipse+ADT.
Get a project using git (such as mine).
Make sure you've imported the necessary libraries as defined in the Xposed Documentation.
Export your APK and install on your phone!
These instructions rely on Eclipse because it is mature and supported by the Xposed developer. As Android Studio steps out of alpha I'm sure it will be picked up and integrated here.
Excellent work. Has anyone compiled this without screen shot notification yet?
Sent from my GT-I9505 using Tapatalk HD
Fatastic! Thanks for your work
Yay good work
Just wondering, where's the line we need to edit in your code ? I'm not familiar at all with android compilation yet.
Thanks in advance :victory:
Description Resource Path Location Type
Project 'KeepchatXposed' is missing required library: '\XposedLibrary\XposedBridgeApi.jar' KeepchatXposed Build path Build Path Problem
how do I get past this? and which line
do we remove this?
findAndHookMethod("com.snapchat.android.model.ReceivedSnap", lpparam.classLoader, "wasScreenshotted", new XC_MethodReplacement() {
A[L]C said:
Description Resource Path Location Type
Project 'KeepchatXposed' is missing required library: '\XposedLibrary\XposedBridgeApi.jar' KeepchatXposed Build path Build Path Problem
how do I get past this? and which line
do we remove this?
findAndHookMethod("com.snapchat.android.model.ReceivedSnap", lpparam.classLoader, "wasScreenshotted", new XC_MethodReplacement() {
Click to expand...
Click to collapse
I found the XposedBridgeApi.jar online and it fixed that error. Go to configure build path and under libraries where the error is, click edit and find the appropriate .jar you downloaded.
That isn't the line I changed either for successful results.
Screenshots Anyone. still did not understand what dis does
Gautam Padirooted said:
Screenshots Anyone. still did not understand what dis does
Click to expand...
Click to collapse
You istall this and activate it in framework modules and then reboot and when someone sends u a pic on snap chat it automaticly saves the pic on a folder in your SD card
Sent from my SCH-I535 using xda app-developers app
picarito said:
You istall this and activate it in framework modules and then reboot and when someone sends u a pic on snap chat it automaticly saves the pic on a folder in your SD card
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Exactly, but be aware that they'll be notified for each pic that is saved.
azsde said:
Exactly, but be aware that they'll be notified for each pic that is saved.
Click to expand...
Click to collapse
Has anyone found how to remove that line so it doesn't show up as screenshot?
Sent from my SCH-I535 using xda app-developers app
picarito said:
Has anyone found how to remove that line so it doesn't show up as screenshot?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Pushed a change that might help you find it. I ask you don't redistribute the changed APK: basically, the whole idea here is for other people to learn, which is why I'm making them do work. "Teach a man to fish" and all that. :angel:
sturmen said:
Pushed a change that might help you find it. I ask you don't redistribute the changed APK: basically, the whole idea here is for other people to learn, which is why I'm making them do work. "Teach a man to fish" and all that. :angel:
Click to expand...
Click to collapse
That's exactly right. Thank you so much for doing that, I learned so much making the changes! Stuff that I have wanted to learn for a while but haven't. Thanks again!!
Awesome! If anyone figures out how to edit it without notifying please post it!
Thansk
Sent from my SCH-I535 using Tapatalk 2
maltedbarley said:
A[L]C said:
Description Resource Path Location Type
Project 'KeepchatXposed' is missing required library: '\XposedLibrary\XposedBridgeApi.jar' KeepchatXposed Build path Build Path Problem
how do I get past this? and which line
do we remove this?
findAndHookMethod("com.snapchat.android.model.ReceivedSnap", lpparam.classLoader, "wasScreenshotted", new XC_MethodReplacement() {
Click to expand...
Click to collapse
I found the XposedBridgeApi.jar online and it fixed that error. Go to configure build path and under libraries where the error is, click edit and find the appropriate .jar you downloaded.
That isn't the line I changed either for successful results.
Click to expand...
Click to collapse
I can confirm this. I have successfully disabled the screenshot notification as well.
picarito said:
Has anyone found how to remove that line so it doesn't show up as screenshot?
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Yes, it's quite simple if you understand how the code works.
jackpot08 said:
Awesome! If anyone figures out how to edit it without notifying please post it!
Thansk
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Sorry, OP has requested that we don't distribute the APK/say how to do it if we've worked it out.
Edit, think I got it
Sent from my HTC One S using xda app-developers app
Ok so iI found what line to edit, now all i have to do is find a tut explaining how am i supposed to compile an apk :good:
Edit : I downloaded Android Studio and imported your project, but whenever i try to compile, i have an error saying java: package de.robv.android.xposed does not exist, i'm a begginer in android dev, so I went to the Xposed thread but i didn't find the instructions on how to install it ... Any help ?
Thanks in advance
azsde said:
Ok so iI found what line to edit, now all i have to do is find a tut explaining how am i supposed to compile an apk :good:
Edit : I downloaded Android Studio and imported your project, but whenever i try to compile, i have an error saying java: package de.robv.android.xposed does not exist, i'm a begginer in android dev, so I went to the Xposed thread but i didn't find the instructions on how to install it ... Any help ?
Thanks in advance
Click to expand...
Click to collapse
I used Eclipse to compile it. Take a look into setting up eclipse for android apps.
Sent from my Bayer MB525 running Mint 4.1.1 and using the XDA Premium app.
pk92 said:
I used Eclipse to compile it. Take a look into setting up eclipse for android apps.
Sent from my Bayer MB525 running Mint 4.1.1 and using the XDA Premium app.
Click to expand...
Click to collapse
I succeeded with Android Studio, i was using the wrong Xposed jar file, everything works perfectly now
so great. many thank.......
azsde said:
I succeeded with Android Studio, i was using the wrong Xposed jar file, everything works perfectly now
Click to expand...
Click to collapse
Could you please share your results?
Sent from my GT-I9505 using Tapatalk HD
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
Solution is in end of first page
We can install sdk22 v80 for 64 bit in our device
It works very well
But one problem that camera force stop everytime
If we uninstall it then camera works perfectly
Plz help someone how to make camera work for our device with xposed installed
sumitkhkh said:
We can install sdk22 v80 for 64 bit in our device
It works very well
But one problem that camera force stop everytime
If we uninstall it then camera works perfectly
Plz help someone how to make camera work for our device with xposed installed
Click to expand...
Click to collapse
Use another app for camera??
Enviado desde mi D6653 mediante Tapatalk
no camera is best than sony
To fix the camera issue for me it worked to use this method:
http://forum.xda-developers.com/crossdevice-dev/sony/z4-z5-z5c-fix-camera-fc-installing-t3246962
So, give it a try...
can you plz upload deodexed folders
oenke said:
To fix the camera issue for me it worked to use this method:
http://forum.xda-developers.com/crossdevice-dev/sony/z4-z5-z5c-fix-camera-fc-installing-t3246962
So, give it a try...
Click to expand...
Click to collapse
Works very well on E5563, thanks.
I'm having this when trying to deodex the camera app: Boot.oat Extraction Failed
Does anyone know how to solve it
{
"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"
}
PnPZik said:
I'm having this when trying to deodex the camera app: Boot.oat Extraction Failed
Does anyone know how to solve it
Click to expand...
Click to collapse
You could try to update to a newer Java version. As I see in the image you use Java 6. Maybe it depands on that.
In that threat, post #2 it is said:
Works with both Java 7 and 8
Click to expand...
Click to collapse
.
oenke said:
You could try to update to a newer Java version. As I see in the image you use Java 6. Maybe it depands on that.
In that threat, post #2 it is said: .
Click to expand...
Click to collapse
I've update my Java to version 8 but somehow it's still 6 in the sofware. I have to fully uninstall all version of Java on my computer and reinstall the 7 version and now it works.
Thanks !
problem Solved
Copy the files-.apk to their folder using your filemanager app
and /system/priv-app/CameraCommon/CameraCommon.apk
You must have system-partition with read/write/delete access.
Dont forget do change file privilege chmod with the Root explorer touch-interface to permission-mode "644"
Link
http://forum.xda-developers.com/attachment.php?attachmentid=3619981&d=1453581171
Enjoying Phone Now
i want to install xposed on my c5 ultra dual(E5563) lollipop 5.0 . i already download files. but i don't know how to install cwm or twrp recovery on my phone.
waiyanwin said:
i want to install xposed on my c5 ultra dual(E5563) lollipop 5.0 . i already download files. but i don't know how to install cwm or twrp recovery on my phone.
Click to expand...
Click to collapse
Okay, so you have two files, the .apk file for the Xposed Installer app and the .zip, which you need to flash for it to work.
It is now super easy to flash it using TWRP, which is a custom recovery now available for C4/5 thanks to @bigrammy (I'm very thankful for the hard work and detailed instructions!):
forum.xda-developers.com/xperia-c5-ultra/development/bootloader-unlocked-custom-recovery-t3285521
Read everything carefully. I was able to get TWRP and SuperSU then easily flashed the Xposed Framework .zip via TWRP.
According to the second post in the thread I linked to above, it's confirmed to be working on Firmware Version 5.0.2 and 5.1.1 for the C5 Single, Dual, and World Wide for all Variants with Boot Loader 0.5, so the method may work for your phone.
---------- Post added at 11:13 PM ---------- Previous post was at 11:04 PM ----------
sumitkhkh said:
Solution is in end of first page
We can install sdk22 v80 for 64 bit in our device
It works very well
But one problem that camera force stop everytime
If we uninstall it then camera works perfectly
Plz help someone how to make camera work for our device with xposed installed
Click to expand...
Click to collapse
I'm sorry if this is an OT post, but I can't seem to find a dedicated place for the C4, and the C4 and C5 seem so close in terms of specs (other than the screen size, for example) that they're often used interchangeably in this forum, so I wanted to post about my own experience with the Xperia C4 (E5303). I want to confirm that I was also able to get the Xposed Framework working, gave it root privileges via SuperSU, and even installed a module. It seems to be working fine so far.
However, I also ran into the problem of the camera and album FC. Since none of the files linked to here are for my device and I'm afraid that using them might have an adverse affect because they're only compatible with the C5 Ultra, I'm going to try the Deodexer and report back here to let you know what happens.
boot.oat not found . and i keep getting annoying errors...
gsser said:
boot.oat not found . and i keep getting annoying errors...
Click to expand...
Click to collapse
Could you please provide more details about this error? What were you doing?
I think I got a similar error when using LBD2.5, but I know why. I tried to deodex my system folder, and it failed to deodex the CameraCommon app because I didn't delete the "arm" folder in CameraCommon. I delete it then received the error you mentioned above probably because everything but CameraCommon had already been deodexed. What I did to resolve it was copying the respective files from my device to my pc once more then trying again, and it was successful, so it's worth a try.
Okay, I can't seem to figure this out... I was able to download LBD2.5, and it worked fine when deodexing CameraCommon.apk with no errors after I followed all the instructions in the first post (only leaving arm64 in the CameraCommon directory), but after a reboot it still didn't work. My album seems to be working fine now, though, and I'm not sure why that is.
I tried leaving just arm in the directory and then tried neither arm64 nor arm, but they both failed to even doedex completely. Nothing seems to be working for me. I'm able to do everything in the first post, but the camera never works.
I even downloaded the file attached, although it's not for my Xperia C4 (E5303), and that didn't work either. I'm going to try a free camera app for the time being until I can figure this out. If anyone has any suggestions, please let me know.
xperia_c4_hater said:
Could you please provide more details about this error? What were you doing?
I think I got a similar error when using LBD2.5, but I know why. I tried to deodex my system folder, and it failed to deodex the CameraCommon app because I didn't delete the "arm" folder in CameraCommon. I delete it then received the error you mentioned above probably because everything but CameraCommon had already been deodexed. What I did to resolve it was copying the respective files from my device to my pc once more then trying again, and it was successful, so it's worth a try.
Click to expand...
Click to collapse
i just took a deodexed camera apk and gave the right permissions then did a reboot now its working
gsser said:
i just took a deodexed camera apk and gave the right permissions then did a reboot now its working
Click to expand...
Click to collapse
I'm happy for you! :good: However, mine still isn't working, even when I just tried again by downloading an already deodexed apk and giving it the right permissions.
xperia_c4_hater said:
I'm happy for you! :good: However, mine still isn't working, even when I just tried again by downloading an already deodexed apk and giving it the right permissions.
Click to expand...
Click to collapse
I had the same problem with my C5 Ultra Dual E5563. I've tried both downloaded deodexed file on xda and deodexed the file myself but none of them work, of course I've set chmod 644 for the file.
I did it like that: gave root permission to es file manager, deleted cameracommon.apk under system priv app. then reboot and again placed the deodexed apk to priv app and changed name to cameracommon. then gave the permissions 0644 and again did a reboot then it got fixed. hopefully it helps you
gsser said:
I did it like that: gave root permission to es file manager, deleted cameracommon.apk under system priv app. then reboot and again placed the deodexed apk to priv app and changed name to cameracommon. then gave the permissions 0644 and again did a reboot then it got fixed. hopefully it helps you
Click to expand...
Click to collapse
Thanks for explaining what you did in detail!
I just tried it now, but it still didn't work for me.
Advanced Logging is a Xposed to provide more transparency to applications.
Filter Logcat for AdvancedLogging
Features:
1) Bypass SSL Pinning.
2) Dump GCore(This will try to dump a gcore(x32 only for now) to the external sdcard after 5secs of app launch, dump take about ~15mins or longer ,core will be located in /Android/data/org.raslin777.advancedLogging)
3) Dump Dex will try to dump the dex of application to its data folder locations.
4) Unity Hook(Allows you to modify the dex file but redirect the unity loading to another apk ie. modded apk installed but hooked pointed to unmodded version, help when application is checking for sigs or changes in the dex)
5) GrepHookAllMethods(Type a name and if the loaded class contains that name we will hook all methods of that class, This will display in logcat all method calls with their parameters and values with their return values as they are called.)
6) Log All Classes(this will log to a myfile.txt to the data folder of the hooked application all the classes called)
7) Grep LogAllClasses(Filters the output of #6)
8) Hook all methods of classes(This will look in /data/data/org.raslin777.advancedLogging/classes.txt for classes to hook, it will hook all methods of that class, This will display in logcat all method calls with their parameters and values with their return values as they are called)
9) Hook Fields, Will also output classes fields with the logcat.
10) DecodeHex will change Hex to Ascii code
11) Change Return (Type Class and method, and type the return you want. This does not change parameters)
12) Library Injection(This will hook into libc.so select with function you want to send to logcat. Still working on more output for this. write to external sdcard need for this, dont mind the mono hook for dumping unity)
Native/System Function(REQUIRES REBOOT)
1)App Perm[Working on 6.0.1](Application to inject permissions into, will not display in properties but should work check xposed log for success or failure)
1)Perm to add[Working on 6.0.1](Type the permission to add if none typed will add write to external sdcard)
2) Debug all Apps(Enable Debug all apps and allows apps to be selected for debugging via settings debugging(So we can wait for debugger))
Download:
http://repo.xposed.info/module/org.raslin777.advancedlogging
SourceCode:
https://github.com/Raslin777/XposedAdvancedLogging
Holy smokes thanks for this! Literally perfect timing for my needs!
Wow, this sounds amazing! Trying it out...
is this like basic key logger,please tell me ,does it record kestrokes
shasivadhan said:
is this like basic key logger,please tell me ,does it record kestrokes
Click to expand...
Click to collapse
No this is not a key-logger, this is a tool to help with debugging applications. A few useful things would be for people who want to debug their own application code, checking for malware in encrypted/obfuscated code or working on integration for buggy app into ports/roms.
Hi there. Will it be possible to incorporate Reflections for runtime scans/queries? It will be really useful.
https://github.com/ronmamo/reflections
Tomiie said:
Hi there. Will it be possible to incorporate Reflections for runtime scans/queries? It will be really useful.
https://github.com/ronmamo/reflections
Click to expand...
Click to collapse
This is very interesting, currently I am fixing gcore dumping(need to compile arm64 gdb, some bugs too) and adding il2cpp dumping but this looks cool. First I will need to test it and contact the dev too see if he will allow it in my app.
Released Source Code. Its very messy(just have limited time to clean up/add new features)
Code:
03 нояб. 2016 г. 13:50:44 UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'JDQ39' with fingerprint 'Lenovo/A369i/A369i:4.2.2/JDQ39/A369i_ROW_S108_130929:user/release-keys'
Loading modules from /data/app/org.raslin777.advancedLogging-1.apk
Loading class org.raslin777.advancedLogging.HackService
java.lang.ClassNotFoundException: Didn't find class "org.raslin777.advancedLogging.HackService" on path: DexPathList[[zip file "/data/app/org.raslin777.advancedLogging-1.apk"],nativeLibraryDirectories=[/system/lib, /system/lib/arm, /data/downloads]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
I dont think i was able to make it work (
I dont see any logs anywhere
Could you please write very short guide how to use it?
myfile.txt doesnt seem to appear
rostonix said:
Code:
03 нояб. 2016 г. 13:50:44 UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'JDQ39' with fingerprint 'Lenovo/A369i/A369i:4.2.2/JDQ39/A369i_ROW_S108_130929:user/release-keys'
Loading modules from /data/app/org.raslin777.advancedLogging-1.apk
Loading class org.raslin777.advancedLogging.HackService
java.lang.ClassNotFoundException: Didn't find class "org.raslin777.advancedLogging.HackService" on path: DexPathList[[zip file "/data/app/org.raslin777.advancedLogging-1.apk"],nativeLibraryDirectories=[/system/lib, /system/lib/arm, /data/downloads]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
I dont think i was able to make it work (
I dont see any logs anywhere
Could you please write very short guide how to use it?
myfile.txt doesnt seem to appear
Click to expand...
Click to collapse
The error you have seems like the xposed mod is not loading during bootup. If it does not load none of the hooks will work. Did you compile this from github or install this from the repo?
If your trying to locate the myfiles.txt if will be located in /data/data/(apppackagename)/myfile.txt
t436h05t said:
The error you have seems like the xposed mod is not loading during bootup. If it does not load none of the hooks will work. Did you compile this from github or install this from the repo?
If your trying to locate the myfiles.txt if will be located in /data/data/(apppackagename)/myfile.txt
Click to expand...
Click to collapse
Thanks mate. Appreciate your reply.
I used repo version and version of compiled apk from github.
Actually i have the same error on real Android device (alcatel one touch pop3) and bluestacks emulator
Xprivacy mod is working btw.
Upd. I tried other several mods. Everything works besides Advanced Logging. I wanna try it so badly
Code:
-----------------
03 нояб. 2016 г. 13:50:44 UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'JDQ39' with fingerprint 'Lenovo/A369i/A369i:4.2.2/JDQ39/A369i_ROW_S108_130929:user/release-keys'
Loading modules from /data/app/org.raslin777.advancedLogging-1.apk
Loading class org.raslin777.advancedLogging.HackService
java.lang.ClassNotFoundException: Didn't find class "org.raslin777.advancedLogging.HackService" on path: DexPathList[[zip file "/data/app/org.raslin777.advancedLogging-1.apk"],nativeLibraryDirectories=[/system/lib, /system/lib/arm, /data/downloads]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:421)
at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
at dalvik.system.NativeStart.main(Native Method)
Loading modules from /data/app/biz.bokhorst.xprivacy-1.apk
Loading class biz.bokhorst.xprivacy.XPrivacy
java.lang.IllegalStateException: Unable to get package info for com.bluestacks.bstfolder; is package not installed?
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:376)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:329)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:205)
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:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
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:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
java.lang.IllegalStateException: Unable to get package info for com.bluestacks.appguidance; is package not installed?
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:376)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:329)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:205)
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:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
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:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
java.lang.IllegalStateException: Unable to get package info for com.bluestacks.bluestackslocationprovider; is package not installed?
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:376)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:329)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:205)
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:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5021)
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:827)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:643)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
Tried to compile apk from github source.. the same error in xposed log
rostonix said:
Thanks mate. Appreciate your reply.
I used repo version and version of compiled apk from github.
Actually i have the same error on real Android device (alcatel one touch pop3) and bluestacks emulator
Xprivacy mod is working btw.
Upd. I tried other several mods. Everything works besides Advanced Logging. I wanna try it so badly
Tried to compile apk from github source.. the same error in xposed log
Click to expand...
Click to collapse
I haven't tried bluestacks, I will give it a try tomorrow and report back here. I did a full uninstall and reinstall and no issues and there are others up and running without issues(). I would recommend running a earlier version 1.6.3 just as a test. Also note all of my testing has been with Android 6.0.1. What android version are you running? The only other thing could be instant run when compiling but I believe I disabled it when compiling. I will run some tests and check back here.
t436h05t said:
I haven't tried bluestacks, I will give it a try tomorrow and report back here. I did a full uninstall and reinstall and no issues and there are others up and running without issues(). I would recommend running a earlier version 1.6.3 just as a test. Also note all of my testing has been with Android 6.0.1. What android version are you running? The only other thing could be instant run when compiling but I believe I disabled it when compiling. I will run some tests and check back here.
Click to expand...
Click to collapse
It is Andoid 4.4.2 in Bluestacks
4.4.4 in LeapDroid (another emulator)
When i try to install it (compiled version from github) to real device with 4.4.2 i get error while pacage analysis (no installation after this)
Also tried all three precompiled versions from github archive (with 12 and 13 suffixes)
rostonix said:
It is Andoid 4.4.2 in Bluestacks
4.4.4 in LeapDroid (another emulator)
When i try to install it (compiled version from github) to real device with 4.4.2 i get error while pacage analysis (no installation after this)
Also tried all three precompiled versions from github archive (with 12 and 13 suffixes)
Click to expand...
Click to collapse
I can confirm this error happens on bluestacks. Running Version 1.6.3 does work as a temporary fix. You can down load this via the xposed application in the repo list. I will release a new version shortly to fix the issue. Ty for the help on this!
t436h05t said:
I can confirm this error happens on bluestacks. Running Version 1.6.3 does work as a temporary fix. You can down load this via the xposed application in the repo list. I will release a new version shortly to fix the issue. Ty for the help on this!
Click to expand...
Click to collapse
Thank you It really works
If you don't mind i have another question. I used eagle eye recently for reverse android application ( to logdata that is requested by apps and values that they got in return). I thought your application can do something like this.
For example if app request Android build version
Code:
I/Xposed ( 2982): android.os.Build$VERSION
Can i see returned values in log with your application?
rostonix said:
Thank you It really works
If you don't mind i have another question. I used eagle eye recently for reverse android application ( to logdata that is requested by apps and values that they got in return). I thought your application can do something like this.
For example if app request Android build version
Code:
I/Xposed ( 2982): android.os.Build$VERSION
Can i see returned values in log with your application?
Click to expand...
Click to collapse
Logging the classes will only log the classes to myfile.txt, I think your looking to log the methods from 5(grep name of hooked methods) or 8(provide classes for hook methods in classes.txt) listed in the features(this will output to logcat).
This will dump the methods params and returns values. Also note that dumping field values is only when using classes.txt (feature 8)
{
"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"
}
t436h05t said:
Logging the classes will only log the classes to myfile.txt, I think your looking to log the methods from 5(grep name of hooked methods) or 8(provide classes for hook methods in classes.txt) listed in the features(this will output to logcat).
This will dump the methods params and returns values. Also note that dumping field values is only when using classes.txt (feature 8)
Click to expand...
Click to collapse
This is what i gor in my classes.txt in data/data/advancedlogging folder:
android.os
android.os.Build$VERSION
android.os.Build
I dont think i can see the difference in logcat for these strings. Or maybe i do something wrong
I have checked 8 setting in software.
rostonix said:
This is what i gor in my classes.txt in data/data/advancedlogging folder:
android.os
android.os.Build$VERSION
android.os.Build
I dont think i can see the difference in logcat for these strings. Or maybe i do something wrong
I have checked 8 setting in software.
Click to expand...
Click to collapse
i would try the grep method for android just as a test and see if you get the proper logcat.
t436h05t said:
i would try the grep method for android just as a test and see if you get the proper logcat.
Click to expand...
Click to collapse
I added android.os.Build$VERSION there
Nothing changed.
Rebooted. Clean test
I cant help it....
shasivadhan said:
is this like basic key logger,please tell me ,does it record kestrokes
Click to expand...
Click to collapse
did you even pay attention, to the description, for what this module does? Its the most descriptive, description I've seen on any of the modules thus far...I'm thinking I'd be embarrassed if I were you.. Keylogger are you serious?