Dalvik cleanup [for U only !]

Your rating: None Average: 4.2 (5 votes)

This app will uninstall aliendalvik package (android support) and will clean some android directories.

Based on this tread (thanks to JAZZ): http://talk.maemo.org/showpost.php?p=1406350&postcount=47

DEVELOPER mode required !

You phone will reboot itself at the end... After this just go to the Jolla store, install android support and you can install your android apps again.

The list of used commands:
systemctl stop aliendalvik.service
pkcon remove -y aliendalvik > /dev/null
rm -rf /opt/alien/system/*
rm -rf /data/system/dropbox/*
rm -rf /data/system/registered_services/*
rm -rf /data/system/sync/*
rm -rf /data/system/usagestats/*
rm -rf /data/system/users/*
rm -rf /data/app/*
rm -rf /data/dalvik-cache/*
rm -rf /data/data/*
rm -rf /data/user/*
rm -f /usr/share/applications/apkd_launcher_*
rm -f /var/lib/apkd/*
rm -f /data/system/packages.list
rm -f /data/system/packages.xml
rm -f /data/system/uiderrors.txt
su -l nemo -c "python /usr/share/openrepos-dalvikcleanup/notifer1.py"

* Adaptation for

* Notification changed a little bit. Only one notification every time.

* Fix of notification icon. Adaptation for

* Adaptation for

* Adaptation for

* Fix of notification icon. Adaptation for

* Adaptation for

* Adaptation for

* Added 2 new commands:
rm -f /usr/share/applications/apkd_launcher_* - .desktop files of android apps
rm -f /var/lib/apkd/* - desktop icons of android apps

* Preventing installation and usage if dev mode not activated (thanks to rainisto for checking command).

* python added as dependencies.

Beware, use it on your own risk !!!

Donation are welcome :)

Application versions: 
File dalvikcleanup-0.3-2.armv7hl.rpm16.71 KB03/03/2015 - 08:39
File dalvikcleanup-0.3-3.armv7hl.rpm17.95 KB16/06/2015 - 15:43
File dalvikcleanup-0.3-4.armv7hl.rpm17.95 KB18/07/2015 - 01:42
File dalvikcleanup-0.3-5.armv7hl.rpm17.95 KB28/07/2015 - 01:59
File dalvikcleanup-0.3-6.armv7hl.rpm17.9 KB12/10/2015 - 23:33
File dalvikcleanup-0.3-7.armv7hl.rpm18.59 KB17/10/2015 - 20:04
File dalvikcleanup-0.3-8.armv7hl.rpm18.58 KB23/10/2015 - 00:50

- Compatible with last system update (


gabrielharrison's picture


Has this package been tested on Aquafish? 


Schturman's picture

why you need it ? on carrent sailfish os version ? Just remove alirndalvik, that's all...

unit247's picture

hi, when i try to install it, it requires lipstick-qt5-tools. where can i get this package?

Schturman's picture


If you have Dev mode activated, it should be installed automatically. if not, just run this command as root:
pkcon install lipstick-qt5-tools

unit247's picture

Thank you, it works now :)

henque19's picture


Is this package compatible with

Schturman's picture

No. .. When I will get my phone back, I will updates this package.

Jordi's picture

Hi Schturman,

Any plans to update your app for the new OS release ?


Schturman's picture

Yep, when I will get official update 11 (I didn't install opt-in u11 and didn't know that home partition moved to /opt/alien).

sumpfgottheit's picture





May I suggest to delete the Android Application Icons after deinstalling the Android support: 

rm -f /usr/share/applications/apkd_launcher_*

I also noticed that python could not import the dbus module, but it only seemed to be connected to the notification.

regards, florian



Schturman's picture

If it doesn't delete them, I can add it, no problem..
P.S. it's not icons, it's desktop files. Physically icons located in another place...
About python command it should work, maybe problem in your device.

okourkoulos's picture

Yes, you're right, my bad.

I installed it long time ago, before update and when used it couple of times had no problem, cause it just didn't work. This time a window opened but didn't warn me about dev, so I didn't remember. I am not blaming you, don't get me wrong, I only can thank you for your work.

Schturman's picture

Updated... ;)

Schturman's picture

No problem ;)

Schturman's picture

No problem ;)

I will update verison later today..

okourkoulos's picture

Finally OK.

First time I did cleanup, was not dev, but cleaning started.

Then, dalvik didn't come back.

I had to go to Terminal for restart aliendealvik.service.

Schturman's picture

I will update package with checking if dev mod installed or not... People not read description before installation...

okourkoulos's picture

After Cleaning up, Android support won't instal again and no Android app either!

What do I do?

Schturman's picture

Do you have dev mode activated ?
When you run this app, did you get messages about cleaning ?
Did you tried to install android support from jolla store ? and what message you got ?
Are you connected to internet when you trying install android support ?
Did you try rebooting ?

Jollafan's picture

Hello Schturman,

thanks for this nice app.

I used Warehouse to install Dalvik cleanup. I got a nice icon on my Jolla homescreen. The install process seems to work without any problems. When I tap on Dalvik cleanup icon the app starts, but aborts 3 seconds later without any notefications. I just can see the little Jolla widget window on my homescreen, that indicates that Dalvik cleanup starts, befor it aborts.

What is my problem?

Schturman's picture

Do you have dev mode activated and python installed ?

Jollafan's picture

THX for your quick answer. I'm an idiot... DevMode was not activated.

Now DevMode on and Python not installed: YES , enter:

3 error messages: "no dalvik loaded", "can't find /usr/share/...", "no dbus modul"

"Dalvik is cleaned successfully!"

(I think the error messages are normal, because of missing python and missing dalvik stuff.)

Thank you

Schturman's picture

Ok, I'll update description about dev mode and will add python to dependencies.