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"
/usr/sbin/reboot
v0.3-8
* Adaptation for 2.0.0.10.
v0.3-7
* Notification changed a little bit. Only one notification every time.
v0.3-6
* Fix of notification icon. Adaptation for 1.1.9.28.
v0.3-5
* Adaptation for 1.1.7.25.
v0.3-4
* Adaptation for 1.1.7.24.
v0.3-3
* Fix of notification icon. Adaptation for 1.1.6.27.
v0.3-2
* Adaptation for 1.1.2.16
v0.2-4
* Adaptation for 1.1.1.27.
v0.2-3
* Added 2 new commands:rm -f /usr/share/applications/apkd_launcher_*
- .desktop files of android appsrm -f /var/lib/apkd/*
- desktop icons of android apps
v0.2-2
* Preventing installation and usage if dev mode not activated (thanks to rainisto for checking command).
v0.1-2
* python added as dependencies.
Donation are welcome :)
Attachment | Size | Date |
---|---|---|
dalvikcleanup-0.3-2.armv7hl.rpm | 16.71 KB | 03/03/2015 - 08:39 |
dalvikcleanup-0.3-3.armv7hl.rpm | 17.95 KB | 16/06/2015 - 15:43 |
dalvikcleanup-0.3-4.armv7hl.rpm | 17.95 KB | 18/07/2015 - 01:42 |
dalvikcleanup-0.3-5.armv7hl.rpm | 17.95 KB | 28/07/2015 - 01:59 |
dalvikcleanup-0.3-6.armv7hl.rpm | 17.9 KB | 12/10/2015 - 23:33 |
dalvikcleanup-0.3-7.armv7hl.rpm | 18.59 KB | 17/10/2015 - 20:04 |
dalvikcleanup-0.3-8.armv7hl.rpm | 18.58 KB | 23/10/2015 - 00:50 |
- Compatible with last system update (2.0.0.10).
Comments
gabrielharrison
Tue, 2017/02/14 - 23:32
Permalink
Hi,
Has this package been tested on Aquafish?
Gabriel
Schturman
Wed, 2017/02/15 - 00:06
Permalink
why you need it ? on carrent sailfish os version ? Just remove alirndalvik, that's all...
unit247
Sun, 2015/10/18 - 19:41
Permalink
hi, when i try to install it, it requires lipstick-qt5-tools. where can i get this package?
Schturman
Sun, 2015/10/18 - 19:59
Permalink
Hi
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
Mon, 2015/10/19 - 17:33
Permalink
Thank you, it works now :)
henque19
Wed, 2015/09/30 - 02:02
Permalink
Hi!
Is this package compatible with 1.1.9.28?
Schturman
Wed, 2015/09/30 - 21:08
Permalink
No. .. When I will get my phone back, I will updates this package.
Jordi
Mon, 2015/03/02 - 00:57
Permalink
Hi Schturman,
Any plans to update your app for the new OS release ?
Schturman
Mon, 2015/03/02 - 02:45
Permalink
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
Sun, 2014/12/14 - 22:01
Permalink
Hi,
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
Mon, 2014/12/15 - 12:10
Permalink
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
Fri, 2014/09/19 - 15:51
Permalink
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
Tue, 2014/12/16 - 20:52
Permalink
Updated... ;)
Schturman
Mon, 2014/12/15 - 15:39
Permalink
No problem ;)
Schturman
Fri, 2014/09/19 - 16:59
Permalink
No problem ;)
I will update verison later today..
okourkoulos
Fri, 2014/09/19 - 15:24
Permalink
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
Fri, 2014/09/19 - 15:44
Permalink
Ok...
I will update package with checking if dev mod installed or not... People not read description before installation...
okourkoulos
Fri, 2014/09/19 - 11:03
Permalink
After Cleaning up, Android support won't instal again and no Android app either!
What do I do?
Schturman
Fri, 2014/09/19 - 14:36
Permalink
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
Thu, 2014/08/14 - 02:48
Permalink
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
Thu, 2014/08/14 - 03:17
Permalink
Do you have dev mode activated and python installed ?
Jollafan
Fri, 2014/08/15 - 00:26
Permalink
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
Fri, 2014/08/15 - 01:15
Permalink
Ok, I'll update description about dev mode and will add python to dependencies.