XposedInstaller icon indicating copy to clipboard operation
XposedInstaller copied to clipboard

Wrong base directory

Open rovo89 opened this issue 7 years ago • 20 comments

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:

  • Xposed Installer is installed on external storage. Solution: Move to internal storage in Settings.
  • You're not the primary user of the device. Solution: Switch to primary user.
  • You're using Xposed Installer < 3.1.4. Solution: Please update to the latest installer.

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

rovo89 avatar Oct 26 '17 17:10 rovo89

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.

yaconsult avatar Oct 30 '17 20:10 yaconsult

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.

rovo89 avatar Oct 30 '17 20:10 rovo89

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..

godai74 avatar Oct 30 '17 21:10 godai74

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

willstanelson avatar Oct 30 '17 22:10 willstanelson

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.

Massi-X avatar Oct 30 '17 23:10 Massi-X

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.

yaconsult avatar Oct 31 '17 00:10 yaconsult

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

leyan22 avatar Oct 31 '17 01:10 leyan22

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/

aiolos01 avatar Oct 31 '17 11:10 aiolos01

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.

XandrosDarkstorm avatar Oct 31 '17 11:10 XandrosDarkstorm

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

rovo89 avatar Oct 31 '17 12:10 rovo89

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~~

BlueMax avatar Oct 31 '17 13:10 BlueMax

Fixed for me. Thanks.

aiolos01 avatar Oct 31 '17 17:10 aiolos01

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

oyxfishere avatar Oct 31 '17 18:10 oyxfishere

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.

BlueMax avatar Oct 31 '17 21:10 BlueMax

@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

brbsix avatar Oct 31 '17 21:10 brbsix

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

yaconsult avatar Nov 01 '17 04:11 yaconsult

Can i use it without primary user?how to do

h93910 avatar Feb 10 '18 00:02 h93910

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.

rovo89 avatar Feb 10 '18 15:02 rovo89

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

h93910 avatar Feb 15 '18 13:02 h93910

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

milzly avatar Feb 18 '18 23:02 milzly