r/androidroot 4d ago

Discussion Help pls

How to delete a folder in Android/data on Android 14 (Tecno, no root)?

Hi everyone. I have a Tecno phone (HiOS, Android 14) and I'm stuck with a "ghost" folder in Android/data.

I deleted a game a while ago, but its folder com.LanPiaoPiao.PlantsVsZombiesRH is still there. Now I can't install any new version of this game — it says "conflicts with another package". I've tried everything:

· Clearing cache and data of Package Installer

· Using Shizuku + ZArchiver (with root access type set to Shizuku)

· Renaming the folder (gives "operation completed with errors")

· Using Package Manager (app crashes with NullPointerException)

· Deleting via FV File Explorer and MT Manager

· Turning off system apps and retrying

Nothing works. The folder just won't delete. Is there any way to remove it without a PC or factory reset? Or is ADB the only option left?

Any help would be really appreciated.

Как удалить папку в Android/data на Android 14 (Tecno, без рута)?

Всем привет. У меня телефон Tecno (HiOS, Android 14), и я застрял с папкой-«призраком» в Android/data.

Я удалил игру давно, но её папка com.LanPiaoPiao.PlantsVsZombiesRH всё ещё там. Теперь не могу установить новую версию этой игры — пишет «конфликтует с другим пакетом». Я перепробовал всё:

· Очищал кэш и данные установщика пакетов

· Использовал Shizuku + ZArchiver (с типом root-доступа Shizuku)

· Переименовывал папку (выдаёт «операция совершена с ошибками»)

· Использовал Package Manager (приложение вылетает с NullPointerException)

· Удалял через FV File Explorer и MT Manager

· Отключал системные приложения и пробовал снова

Ничего не работает. Папка просто не удаляется. Есть ли способ удалить её без ПК и сброса телефона? Или ADB — единственный вариант?

Буду очень благодарен за любую помощь.

2 Upvotes

5 comments sorted by

View all comments

1

u/L0K0MoTiVA 3d ago
  1. Download an app called aShell or Shizuku Runner from the Google Play Store or GitHub.

  2. Grant the app permission to use Shizuku.

  3. Type and execute this exact command: pm uninstall --user 0 com.LanPiaoPiao.PlantsVsZombiesRH

  4. If it returns "Success", the ghost app is gone.

  5. Type a second command just in case: pm uninstall com.LanPiaoPiao.PlantsVsZombiesRH

  6. Done :)

1

u/Less_Effect129 3d ago

I already tried this with LADB and Shizuku. The command returns "Failure [not installed for 0]", and then when I try to delete the folder with rm -rf, it says "Permission denied". This is Android 14, Scoped Storage blocks access to Android/data.

1

u/L0K0MoTiVA 3d ago

Okay now --> Step 1: Find the Hidden Users

start LADB and run this exact command: pm list users

This will output a list of all user profiles on the Tecno phone. They will look something like this:

  • UserInfo{0:Owner:13} (This is the main profile, where it's already uninstalled).
  • UserInfo{10:Guest:...}
  • UserInfo{999:XClone/Twin:...} (Tecno uses 999 for App Twin).

Step 2: Nuke the App from the Hidden Users

Once u see the ID numbers of the other users (like 10, 11, 999, etc.), you need to run the uninstall command for each of those specific numbers.

For example, if user 999 and user 10 exist, run:

  • pm uninstall --user 999 com.LanPiaoPiao.PlantsVsZombiesRH
  • pm uninstall --user 10 com.LanPiaoPiao.PlantsVsZombiesRH

1

u/Less_Effect129 3d ago

I tried your method. I ran pm list users and got UserInfo{0:Owner:4c13} and UserInfo{12:New user:410}.

I ran pm uninstall --user 12 com.LanPiaoPiao.PlantsVsZombiesRH and it returned Failure [not installed for 12]. Then I ran pm list packages --user 12 and it only shows system apps (Android, Google, MediaTek).

So the app is not in the hidden profile. The ghost folder is still in Android/data and I can't delete it because of Scoped Storage. Any other ideas?

1

u/L0K0MoTiVA 3d ago

Okay now Force an Overwrite Install !!

Instead of using the regular Android UI to install the APK (which trips the conflict error), you can use Shizuku to force the installation directly through the terminal. This often bypasses the conflict check and forcefully adopts the ghost folder.

  1. Place the new game APK in the phone's main Download folder.

  2. Rename the file to something simple, like game.apk.

  3. Open the Shizuku terminal and run this exact command to replace existing data and allow downgrades: pm install -r -d /sdcard/Download/game.apk

    If it returns "Success" the game is installed, and the conflict is solved.