Hi,
I'm trying out the APV library for Android which is a native library.
I have made changes in the library to match the package name of my app.
I built the .so files using the script provided in the library which created .so files for armeabi, armeabi-v7a and x86 processors.
I placed them in the jniLibs directory in my app module's src folder and have included the code in the build.gradle file to build flavors for the above 3 architectures.
I ran the app on my Nexus 4 and everything ran perfectly.
Then I decided to run the app on different devices and that's where everything started running loose.
I tried the running the app on Galaxy Note 2 (N7100), Galaxy Tab (10 inch), Asus Memopad, Galaxy S2(T-Mobile variant). In all of these devices I kept getting
Code:
java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1306]: 72 cannot locate '__isnanf'
error.
I tried running the app on Moto G and Xperia T too, and encountered no such issues.
I tried to search online for any solution but couldn't find anything on it.
Can someone please help me solve this nasty issue?
Related
I have been trying to import the android source into Eclipse (the entire root directory along with all of the files and subdirectories) as a single project as specified here in the AOSP documentation: http://source.android.com/source/using-eclipse.html
No matter what I do though, I end up with hundreds, if not thousands of errors. I have the latest Android SDK, have tried to set the build path to use either Android 4.2 AOSP APIs or Google SDK 4.2 APIs to no avail. I have also tried importing it as an Android Project and a standard Java project. I have followed all instructions for setting up the build environment correctly and checked to make sure it builds correctly using make.
I have tried to remove the sample code packages but am met with the same result.
I usually make changes directly to the file in a simple text editor like gedit but I wanted to use Eclipse to do error checking and validation.
Anyone know how to successfully get and build the android source in Eclipse? ANY help is greatly appreciated.
P.S
I am using Mint 64bit and Eclipse Juno
My first question would be, are you able to create a new Android application project that compiles successfully?
Hi guys,
I had recently started studying about Android Exploits and came across the Android Masterkey Vulnerability. I decided to try it out on my own. However to see how exactly it works I decided to test it out on the POC code provided by Poliva. However I am facing difficulties in implementation as I get the following errors while trying to install the modified apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
while the normal apk works and installs completely.
I have tested this on Android 4.2.2 and 2.2 emulators as well as on a device running 4.2.2.
In addition I alse tested that my original apk is signed using jarsigner -verify
However the modified apk gives the following error
error java.lang.SecurityException: SHA1 digest error for res/layout/activity_main.xml
How should i proceed?
Hello XDA World
I have a third-party legacy app that works on Android up to 5.1, that is no longer maintained and I only have the apk and not the source code.
On Android 6+ the following error occurs : java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN7android6Parcel13writeString16EPKtj"
It seems to be the same error that was investigated and solved by mickybart on the post https://forum.xda-developers.com/showpost.php?p=63288490&postcount=2863 for another app.
Unfortunately I don't really have the background and skills to understand and solve this error myself.
My questions are :
- Is there a way to solve this missing symbol issue for a third-party app without having the source code of the app ?
- would this require disassembling and reverse engineering the app ?
- or would it be possible to add some library to Android 6+ that would restore the missing symbol ?
- or using some kind of wrapper around the app to provide the missing link ?
- if one of the above solutions is possible, would it be possible to install / run the app without rooting the phone ?
- or would this require to be root or to build a custom AOSP / LineageOS rom to insert the missing symbol / library ?
Any help, idea, hint are welcome
Thank you !
Additional questions
The missing function / symbol seems to be inside libbinder.so
Do you have more information about this library ? How critical is it for the whole system ?
Do you think there is any chance of success replacing the Android 6+ library in /system/lib with an older lib version from Android 5.1 if I got root access to the phone or using TWRP file manager ?
Would this risk to totally brick the phone ? If replacing the lib doesn't work, would I be able to revert to the old config ?
Also, is there a way in Android to force an app to use another lib than the regular one stored in /system/lib ?
something like changing the path or the name of the lib, or like in windows, copying the dll inside the folder of the app ... :silly:
Thank you !
Hello again,
so of course, as expected replacing Android 6 libbinder.so with an Android 5 libbinder.so doesn't work
the phone stayed stuck at boot logo, but it was possible to replace back the old library with twrp file manager
Yet, the issue is still there ... how can I get a libbinder.so library on Android 6+ without the missing symbol issue ?
I suppose that my best option, would be to get the source code of the libbinder.so for my targeted android version and compile it with the modifications committed by mickybart on github : [github.com/mickybart/android_frameworks_native/commit/8e9d34326128ec2b39e543e016ec21342d1c3deb] (sorry can't post external links as new user)
But I'm totally noob at compiling android, I would really appreciate someone's help : I know there are tutorials to compile a full Lineage or CyanogenMod rom ... but it takes dozens of GB to download and lot of hours to install and then to build the full rom
I only need to download / modify / compile a single library and eventually its dependencies ?
Do you know a way to do it ?
Or a better way to fix the missing symbol issue described in first post ?
Thank you.
I found a file called "PPPPStrand_xxx_Ricky" in my Internal Storage, anyone know what this is? It almost seems like a virus. I opened it as a text file and it seemed like a random string of alpha characters, there's a "VSTA" and "VSTB" in the string.
I tried Googling this but came up with nothing, thought maybe one of you devs would know what this is.
There is some consistency with this file however, it exists on my two Android devices:
1) Nvidia Shield K1 running LineageOS 14.1, Magisk, Adaway
2) Samsung Galaxy Note 4 - Verizon running MODest ROM, Magisk, Adaway
I found this file on both platforms, I thought maybe there's something common between the two?
Can anyone help me with this please...
For me , galaxy s5 the same. an my parner also the same file in root dir. Original rom. What is it?
Curious, do you use any IP cameras from Vstarcam? I use Vstarcam with their Eye4 software on my Android devices and Windows machines, and both Android devices had this file, I deleted the Eye4 software from my Android device, and the file still remained, I deleted the file, and the file never came back.
I installed the Eye4 software, no file, but after logging into my Eye4 profile to access my cams, the file came back. So the conclusion is that it's tied to the Vstarcam/Eye4 in some way...
Just to chime in, I also found that file on my phone and I also use Eye4. Has anyone tested it using Suneyes TS instead to see if this file also comes up? If not, I might switch back as they both are very compatible with each others cameras.
nuclear_bullet said:
Curious, do you use any IP cameras from Vstarcam?
Click to expand...
Click to collapse
Just to confirm that I do use Vstarcam's PNP VsCam and I do have that file.
I have the same...and i use StarCam.Olsow i have bitdefender full license and they tald me that this is not ,,a problem,, . S9 Samsung
When trying to install Anime Mobile APK I see the installation progress bar then the system tells me "App Not Installed", so the app never installs. I can install the same APK in my Pixel 2 (running Android 9) and Nexus 7 (running Android 8.1.0), so I know the app installs fine in other devices.
I'm wondering if maybe there is a setting I need to enable on the MediaPad M5? (Before someone asks, yes I have "Install Unknown Apps" enabled.)
The target SDK on the app is 21 if that matters...I tried using Apktool to change the target SDK to 27, but when trying to install the generated APK, the installation fails (maybe I'm not doing it right??).
Maybe I m out of luck and I won't be able to install it, but any help would be appreciated.
Thanks
I got it working now ?... after a few hours. Here is the breakdown in case someone runs into the same issue with this app or another app
Apktool does work, but after generating the new apk, you need to resign the app with command line tools (zipalign and apksigner).
I tried changing the SDK version to 26, 27 and 25 and although the app would install, it would load and then close. So I decided to regenerate and resign the APK with the original SDK level 21 and voilĂ ! The app installed, opened correctly and I'm able to watch Anime in my new tablet!!! Even download the episodes
I wrote a guide if anyone is interested: How to Change the SDK API Level to a 3rd Party Android APK
That's it ?
Can you post the apk. PLS. The one that work (moded one).