rovo89 / XposedInstaller

3.86k stars 1.51k forks source link

Wrong base directory #395

Open rovo89 opened 6 years ago

rovo89 commented 6 years ago

Xposed stores files in /data/data/de.robv.android.xposed.installer (before Android 7.0 / Nougat) or /data/user_de/0/de.robv.android.xposed.installer (since Android 7.0 Nougat). If this message is shown, the data directory provided by the system differs from this fixed location.

Possible reasons:

The actual and expected paths are shown in the log file. Please post them here if neither of the solutions above worked for you.

yaconsult commented 6 years ago

I updated within xposed installer to version 88 and have this "wrong base directory" warning message on my Blu R1 HD running android 6.0. The error message did not exist on the previous version of the xposed installer. The xposed installer is not installed on external storage - no apps are on external storage. I am the primary/only user of the device. The log file is empty.

rovo89 commented 6 years ago

I'm sorry to hear that. The check was mainly intended for Nougat, but I also added it to older Android versions for completeness. You should be able to install Xposed nevertheless, and after a reboot, the log should be filled. Would be great if you could post it then. I'll add the actual path to the log message for the next release, I missed the fact that the log isn't available of Xposed isn't installed yet.

godai74 commented 6 years ago

On OnePlus X I updated Xposed Installer to the latest v. 3.1.3 and the "wrong base directory" has appeared. The installer is on the internal Memory. Anyway, Xposed always worked well and it is still working fine..

willstanelson commented 6 years ago

On my tecno w3 version 6, that I just flashed in mm mod v4, I'm having this same error message and my WhatsApp can't work anymore it's stoping, don't really know if that's truly the cause but I know it's one of it. All the solutions above are not working... Please I need help. I think an update would be better. Thanks

Massi-X commented 6 years ago

Hi rovo, same issue on an always working marshmallow stock rom. It expects data/data but find data/user/0. The device is unencrypted, maybe this is because it fallback to data/user/0 instead of data/data? Only an idea.

yaconsult commented 6 years ago

Sorry that I wasn't more clear. Xposed is already installed when I get this error message. It happened after updating from the previous version to version 88. The log file is empty, even after hitting the reload button. Do I need to enable logging somewhere?

Again, Xposed is working properly. The only issue from my perspective is the red error message on the Xposed screen complaining about the base directory. I assume that the problem is in the check for the error condition since xposed continues to work properly after the update.

leyan22 commented 6 years ago

warning message on the screen,but xposed is already worked. and xposed log is empty .

aiolos01 commented 6 years ago

The new version displayed this warning. Xposed is working fine though. These are the directories from the log. (OnePlus One on the last Marshmallow of Cyanogen Mod). E/XposedInstaller( 9295): Base directory: /data/user/0/de.robv.android.xposed.installer E/XposedInstaller( 9295): Expected: /data/data/de.robv.android.xposed.installer/

XandrosDarkstorm commented 6 years ago

Same thing happend to me today after updating from 82 to 88.2 and updating Xposed installer. Logs are empty. Android 6.0, Lenovo TB3-850M.

rovo89 commented 6 years ago

Sorry, messed it up for older releases. Xposed Installer 3.1.4 fixes it.

BlueMax commented 6 years ago

see 3 posts below.

Not fixed here. Now says "Xposed Framework is not installed" instead of "wrong base directory". Still working properly though. Nothing related in logs.

LOS13 Magisk Xposed v88.2

aiolos01 commented 6 years ago

Fixed for me. Thanks.

oyxfishere commented 6 years ago

3.1.4 fixed the issue for me, thanks a lot @rovo89

xposed-v88.2-sdk23-arm64.zip redmi 4 prime(markw) miui 8.5 chinese official stable android 6.0.1

BlueMax commented 6 years ago

Edit: Fixed it for now by installing XposedInstaller_3.1.2_Magisk.apk that is exclusively and mandatory for Magisk. It does say that clearly in the Magisk xposed modules description. There is no v3.1.4 yet.

Thx for the links anyway, brbsix.


I've flushed userdata and now it not only says 'xposed not installed' but all modules are disabled as well. I'm locked out of xposed completely.

brbsix commented 6 years ago

@BlueMax

rovo89's "official" installer

https://www.apkmirror.com/apk/rovo89/xposed-installer/

DVDandroid's fork

https://forum.xda-developers.com/devdb/project/?id=13191#downloads

yaconsult commented 6 years ago

All problems fixed with the latest updated installer - thank you, guys!!! I couldn't live without Xposed and GravityBox!

h93910 commented 6 years ago

Can i use it without primary user?how to do

rovo89 commented 6 years ago

Can use it without primary user?how to do

No, only the primary user can manage Xposed. Apart from difficulties to manage per-user modules, it would also be a security risk, as modules are already loaded before the system is even starting up. Users aren't known at that time, therefore modules apply to all users.

h93910 commented 6 years ago

okey , i get it. i use the Android 8.1 is working thanks for reply , my friend

milzly commented 6 years ago

It can not install xposed framework on Alcatel 4034n Xposed displays itself message Cp: can not create '/ system / xposed.prop': Read-only filesytem Error 1