yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] inteks:
systemcleanup shows a dialog before moving apps to system that it can cause problems if moved to system ;)

i think the old version of maps dont has libs or it dont has a problem with that.

1. in context menu you find an entry "reinstall app" this should help. after that you can delete the version in system.

2. in settings you can check to box "ignore system apps with libs" to prevent further problems

have fun

inteks

Gesendet von meinem GT-I9300 mit Tapatalk
[Android Apps and Games] jcespi2005:
I think could be usefull to let the app move not only the /data/app to /system/app or priv-app, but move the /data/app-lib to /system/lib too... I always do manually this way and works fine... If an update app has libraries you can move both to system.

Just suggestion ;)

Enviado desde mi SM-N9005 mediante Tapatalk
[Android Apps and Games] inteks:
this it not so easy as it sounds! it has to work with many phones and Android versions...

Gesendet von meinem GT-I9300 mit Tapatalk
[Android Apps and Games] johnco1972:
What I have been doing is using us app to move/update the files to system. Then, I use root explorer to go into the apk and extract the lib files and move them manually to system/lib.

Not the most efficient way, I admit. But given the lib files inside the apk are sometimes in a sub folder of lib, it is the easiest way to go.

FYI -- Google seems to put their lib files in sub folders "armeabi" or "armeabi-v7a".
[Android Apps and Games] jcespi2005:
I know i know but sounds a good tatget for next versions...

EDIT: found Link2SD app does this in a correct way, tested with Chrome and GSMCore and works fine...

Enviado desde mi SM-N9005 mediante Tapatalk
[Android Apps and Games] traycold:
hi,

I tried the "odex" feature on some system-app (had an odexed rom, but added manually a system widget) but.. bootloop.

Solved with AromaFM, changing the permission of the generated odex files by SystemCleanup. They were set to "rw-------", correct one (all other files into /system/app) should be "rw-r--r--". Maybe you could fix this issue in the next version.

My phone is N7100, Rom 4.4.2 (NE1) stock odexed.

Also: would be possible to odex SystemUI.apk through your app? is not found in the list of system app.

Last question: I think I have some dead folder on my internal sd-card (folder: Android/data/*), left by previous rom. Could be possible that your app also looks into this folder to try and detect dead folders to be safely deleted?

Thanks
[Android Apps and Games] inteks:
i checked this and:

1. systemcleanup normally set the right permissions after odex.

2. you can show core system files via setting in systemcleanup

3. Sdcard internal and external Android/data/* is allready in searchpath for cleanup !

pls check your su/supersu/busybox for updates ...
[Android Apps and Games] traycold:
hi,

on my N7100:

SuperSu: v2.00 (latest)

SuperSu: v2.00 (latest)

BusyBox: v1.22.1-Stericson (2014-01-25)

For wrong permission after odex, I can confirm: I generated another odex file with SystemCleanup and the permission are set wrong ("rw-------" instead of "rw-r--r--"). Of course, if I manually set permission with a file-explorer tool, everything works correctly.

For SystemUI: my fault, I verified that permission of SystemUI.apk were set as "rw-rw----". As soon as I set as "rw-r--r--" SystemCleanup displayed it in the list of apps.

For Android/data/* : I checked again, but these folder are not discovered in the cleanup tab.

Thanks for your help.
[Android Apps and Games] johnco1972:
Android L

Inteks, have you started doing any development for Android L? My experience has been when I try to access the setting screen in the app, the phone (Nexus 5, in my case) reboots.

Just curious. The app works perfectly on 4.4.4
[Android Apps and Games] tobbbie:
I would also much prefer to have libs moved correctly. I don't mind a manual setup (pick the lib directory - in settings or even at the time of moving if there are more than one - which I doubt on a single device). For my S4 mini the target it is /system/lib - while the source is /data/app-lib/<package-name>.

I am now puzzled to see that it never was done by System Cleanup - while it was with link2SD. My device history sees the Xperia Ray first where link2SD was (still is) doing a great job of keeping the package footprint small. When getting the Samsung GT-P3110 tablet, I noticed that link2SD was not working correctly there and I stepped over to System Cleanup to do the job of moving updated apps back to /system - now recognizing that a whole bunch of libraries was also left on my device /data partition still. For my latest gadget (the S4 mini) I am still with System Cleanup, but I have to look for an alternative solution when libs are not moved. link2SD nags when scripts are not installed and mount runs forever when they are but there is no 2.nd partition - no good alternative either :(

Please give us the library move asap!

---------- Post added at 01:09 PM ---------- Previous post was at 01:05 PM ----------

...to add: I now need to find an easy way to identify the duplicate libs on the devices where I have used system cleanup - to clean up the system manually...
[Android Apps and Games] coro1937:
Boot problem

I just installed the application and the only thing i did was cleaning the odex files. But now i get the message Android is updating, every time I start my tablet. Please help. I have a Motorola xoom mz 604 with android 4.0.4
[Android Apps and Games] inteks:
this function is only for odex files you created with systemcleanup.

your phone trys now to recreate this files but this dont work with an odexed rom.... im afraid you have to restore an backup or reflash your rom.

Gesendet von meinem LG-V500 mit Tapatalk
[Android Apps and Games] coro1937:
Boot
[Android Apps and Games] johnco1972:
Open each of the apps for which you removed the odex file. Let them open completely. Once you do that, record your phone. Should fox your problem
[Android Apps and Games] coro1937:
Upgrade

What i going to do is to upgrade to new os. Which one you recomend, team eos, cyanomod, omnirom.
[Android Apps and Games] coro1937:
Upgrade

Which of the latest custom roms is more stable, with less problems?. Also, i need a custom rom with Doubletap2wake and similar options.
[Android Apps and Games] Paget96:
this app also move lib file to system??
[Android Apps and Games] sanzoghenzo:
With my new moto g (4.4.4 rooted) I cannot find the "update system apk" and "update and odex system apk" options. Is it a compatibility problem or am I missing something?
[Android Apps and Games] guidosl:
Compatible with 4.4.X ????
[Android Apps and Games] johnco1972:
Android L

Any progress on making this compatible with Android L?
[Android Apps and Games] johnco1972:
Is dev still watching this thread?

Sent from my Nexus 5
[Android Apps and Games] inteks:
im still watching this thread.

-on android 4.4.x it should working but "update system apk" is not avialable for systemapks that have libs.

-i still try to implement moving libs to system, its not so easy and my time is limited at the moment.

-compatibility with android L .... i still doesnt have a device with android L to play with. but as i read in the news its not even possible to root android L so its not looks so good for android L support. sry

stay tuned i post if an update is ready ;)
[Android Apps and Games] johnco1972:
Good to know you are still out there. :)

It does sound like android l will be difficult to root. I have root on my nexus 5 with developer preview. Do not know if you have seen the android L preview yet. The new app folder structure is a folder for each app instead of simply all of the apks .

Android 4 like this:

System/app/

--apk files

Android 5 like this:

System/app/

-- one folder for each app/

-- one apk and lib folder in each app folder.

You can copy the whole app folder from data/app to system/app and everything is good. :)
[Android Apps and Games] Poppeye0:
Strange, I have a 4.4.2 based tablet and "update system apk" is available and working.

Gesendet von meinem U65GT mit Tapatalk
[Android Apps and Games] Aly007:
Freezing/Disable an app doesn't work on 5.0 for now, right ?
[Android Apps and Games] olegat0r:
Any developement movements for android 5.0?
[Android Apps and Games] inteks:
yes. but it does not work well on android 5.0 for know. i release a beta in google play betachannel ;)

join this group -> https://groups.google.com/forum/#!forum/systemcleanup

https://play.google.com/apps/testing/com.SystemCleanup.Inteks.org

update 5.0:

-hibernate apps when display is off

-new "tasks" tab shows only running apps

-initial android 5.0 support

!!! it does still not working right Android 5.0 or the Root on android 5.0 sometimes doesnt work as expected !!! handle with care !
[Android Apps and Games] Eruil:
little questions for u

hi guys . i got /data; / system ; /mnt/sdcard (internal "usb storage" ) and /mnt/external1 ( micro sd card) in my motorola xt626 ironrock device. is there a possibility to edit your apk for enabling USB STORAGE ? it will be very usefull. ive tried to move to usb but only micro sd is enabled :S

p.d . thanks a lot . your app is awesome and very usefull. ill give 5 stars for you :D :good::good::good::good::good:
[Android Apps and Games] dissid:
How to get rid of hidden folder .SystemCleanup_Backup

After uninstalling SystemCleanup v4.82 there is a hidden folder named .SystemCleanup_Backup left on the external sdcard. So far so good. But after deleting this folder and rebooting the device, the folder .SystemCleanup_Backup gets created again!

How is this possible and how to avoid this?

Seems there is still something running in the backgroud, or at boot time, even after uninstalling the app.

-DissiD
[Android Apps and Games] tobbbie:
A lot of "delete dead datafolder" tasks - but wrong!

Recently I fired up your app again and found a lot of cleanup tasks "delete dead datafolder" tasks - which made me suspicious. They look like wishing to cleanup "/data/appl-lib/<app>-<2digit-count>/ even though this is the only app-lib folder and it is matching the respective installation of the application in /data/app/<app>-<2digit-count>.apk

Executing this will definitely kill the installations of these apps. It seems linked to the fact that the "-number" is a 2 digit number for the reported cases.

My device is a S4 mini on stock KitKat.
[Android Apps and Games] Radder124:
Hi [MENTION=347468]inteks[/MENTION], I firstly want to say that it's a great app you developed here.

But I have a question : Titanium Backup/SD Maid for example sees more than 250 Apps ( data +system) as Systemcleanup only sees maximum 150. I tried to deactivate the options to hide some apps but I don't see everything. Why is that?

Thank you very much for your answer!
[Android Apps and Games] inteks:
new beta... 5.01

https://play.google.com/apps/testing/com.SystemCleanup.Inteks.org

from Android 5 and up Systemcleanup can only work correct if you set SELinux to "permissive mode" (i.e. on Samsung Phones you need a Custom Kernel) !!!
[Android Apps and Games] inteks:
wrong thread???
[Android Apps and Games] ksuuk:
Why I can't find a lot system apps, even using 0.0 in settings? How to see all /system/priv-app apps?
[Android Apps and Games] inteks:
if you use android 5 or higher with SElinix set to strikt than this is one of the problems that takes me so long to figure out!

on Android 5 or higher you have to ser SELinux to permisive !!! (you need a custom Kernel to do so)

this is also the reason why SystemCleanup will stay at beta!!! to not break compatibility with device below Android 5
[Android Apps and Games] ksuuk:
Hmm, I'm using Cyanogen CM 12.1, Lollipop 5.1, root is enabled, and with SELinuxModeChanger selinux is set to permissive, and I still dont see /system/priv-app apps

How to fix this?
[Android Apps and Games] Radder124:
I also have Android 5.0.1 with SELinux set to permissive. I'll test the new beta!

EDIT : It looks like it's working ! I can see all the system apps. But the buttons at the bottom (when I press menu) don't work anymore. I have to go click on the top right corner to access the buttons and then it works!
[Android Apps and Games] preditcon:
Sophos Security reports a threat (Andr/Ztorg-G) after installing this app... Why?
[Android Apps and Games] inteks:
i dont know why... ask them. it false positive (as long you dont get systemcleanup from a suspicious source) ;)
[Android Apps and Games] preditcon:
If anyone, it is you who should be asking them the question. I'm just a user who uninstalled this app as soon as I saw that message after installing it from play store and thought the dev might want to know about it. FWIW, at the very least I'd test this on your test devices and if it reoccurs investigate further. Note that this event may mean that your signing certificate has been compromised and is now being used to sign malware. It could also mean that you've been wronged by Sophos (it wouldn't be the first time for them to publicly apologize for such a thing). I've already confirmed this happening on two different devices.

https://www.sophos.com/en-us/threat-center/threat-analyses/viruses-and-spyware/Andr~Ztorg-G/detailed-analysis.aspx

https://play.google.com/store/apps/details?id=com.sophos.smsec
[Android Apps and Games] inteks:
i wrote this app to manage my own device. i make it public bscause i think it might be useful for others. if you don't like it then dont use it.

it doesn't contain any spyware!

Gesendet von meinem SM-G900F mit Tapatalk
[Android Apps and Games] preditcon:
It was not my intention to offend you in any way. If that is how my two posts in this thread have come across then I apologize.
[Android Apps and Games] xdarthanonx:
False positive. You can double-check apps/files directly from your device with VirusTotal Uplink.
[Android Apps and Games] inteks:
or https://www.virustotal.com/de/file/...f3fe4893b4a1aa0a03d8c98a/analysis/1446467359/

Virustotal 1 from 55
[Android Apps and Games] xdarthanonx:
This is version 5.0?
[Android Apps and Games] inteks:
yes

Gesendet von meinem SM-G900F mit Tapatalk
[Android Apps and Games] weiyu:
I'm still using Jellybean 4.1.2 on my Samsung Note2, but the latest version from Play store broken the 'Update system file', this function is no longer working.
[Android Apps and Games] inteks:
Should work.

What goes wrong? Nothing happens or crash or something else?

If possible send me logdump from within systemcleanup after you tried to update a systemapp.

Gesendet von meinem SM-G900F mit Tapatalk
[Android Apps and Games] weiyu:
no crash, no prompt but just stay there for dong nothing, used Google Play Store as an example, its shown as 'system + data' in red after updated to 6.0.0, clicking 'Update System file..' was popping up 2 menus with com.android.vending as the title: Update system file, Update and odex system file, The first menu 'Update system file' DOES NOTHING, The second menu was asked for sure with Yes or No button though.

P.S. If you could see the comments at Google Play Store website, some one already complaints about 'Update System file' issue.
[Android Apps and Games] olifee:
It's also broken for me with the most recent update.

The manual fix is simple. This is what I found after SystemCleanup tried to move the app to system:

# ls -lrta /preload/symlink/system/app/com.google.android.gms-1.apk
-rw------- 1 root root 39319768 Dec 8 00:15 /preload/symlink/system/app/com.google.android.gms-1.apk

Android did not find the app anymore...

Now I did:

chmod a+r /preload/symlink/system/app/com.google.android.gms-1.apk

and rebooted => all fine :) .

Could you add the a+r after the moving of the APK? Was there something changed in the last version?

By the way, thanks a lot for this extremely useful and lightweight app! :)
[Android Apps and Games] inteks:
new Version 5.03 uploaded.
[Android Apps and Games] weiyu:
the Update system file is still not working, Does nothing at all, same as in 5.02
[Android Apps and Games] weiyu:
Hi,

How to do and fix this for Google Play Store app? I'm a newbie to Android
[Android Apps and Games] inteks:
5.04 uploaded. fixed permission
[Android Apps and Games] weiyu:
Not working either for some reason, e.g. Google Play Store. tThe Logdump was sent to you.
[Android Apps and Games] olifee:
Thanks, confirmed to work for the apk!

However, permissions are still wrong for the .odex, which breaks e.g. Google Play for me... Could you please extend the fix also to the odex files?

Thanks a lot in advance!
[Android Apps and Games] maelfilk:
Neither of the links to GP in OP are working for me.
[Android Apps and Games] inteks:
update 5.05:

-fixed the permission of odexfiles

-removed the code that set selinux to permissive. if you want to use systemcleanup (on android 5) you have to set this for yourself.

PS:

maybe it take a while until it reappear in googleplay. it was removed but i fixed the problem.
[Android Apps and Games] weiyu:
Even worse, Can't lanuch SystemCleanUp anymore, got: 'Unfortunately SystemCleanup has stopped.' error.
[Android Apps and Games] olifee:
Same here :(. Logcat shows the following trace:

E/AndroidRuntime(28055): FATAL EXCEPTION: main
E/AndroidRuntime(28055): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.SystemCleanup.Inteks.org/com.SystemCleanup.Inteks.org.myViewPagerAct}: java.lang.ClassNotFoundException: com.SystemCleanup.Inteks.org.myViewPagerAct
E/AndroidRuntime(28055): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2034)
E/AndroidRuntime(28055): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
E/AndroidRuntime(28055): at android.app.ActivityThread.access$700(ActivityThread.java:140)
E/AndroidRuntime(28055): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
E/AndroidRuntime(28055): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(28055): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(28055): at android.app.ActivityThread.main(ActivityThread.java:4921)
E/AndroidRuntime(28055): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(28055): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(28055): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
E/AndroidRuntime(28055): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
E/AndroidRuntime(28055): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(28055): Caused by: java.lang.ClassNotFoundException: com.SystemCleanup.Inteks.org.myViewPagerAct
E/AndroidRuntime(28055): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
E/AndroidRuntime(28055): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
E/AndroidRuntime(28055): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
E/AndroidRuntime(28055): at android.app.Instrumentation.newActivity(Instrumentation.java:1068)
E/AndroidRuntime(28055): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2025)
E/AndroidRuntime(28055): ... 11 more

Do you need more info?
[Android Apps and Games] wiseman9871:
Im on a galaxy tab 3 with stock 4.4 and now I'm getting the same error as above since the update
[Android Apps and Games] rossarnie:
Same problem here - after latest update I can't open SystemCleanup.
[Android Apps and Games] weiyu:
For the latest version, SystemCleanUp can be launched. but Update System file on Google Play Store (showing "system+data" in red, its not a odex file) still broken, nothing happened at all. Logdump was sent.
[Android Apps and Games] olifee:
From a look at what the latest version is doing in case of update of system apk, for me it did the following:

- Starting point: /preload/symlink/system/app/ contains an old apk + odex, /data/app contains an update installed by google play. /system/app already contains symlinks to the older versions in /preload/symlink/system/app/.

- I start SystemCleanup and want to update system-apk.

- SystemCleanup backups things, deletes the symlinks and old apk+odex in /preload/symlink/system/app/, and copies the new apk over:

cp -r -f '/data/app/com.google.android.play.games-2.apk' '/preload/symlink/system/app/com.google.android.play.games-1.apk'
rm -r -f '/data/app/com.google.android.play.games-2.apk'
/data/data/com.SystemCleanup.Inteks.org/files/dexoptwrapper '/preload/symlink/system/app/com.google.android.play.games-1.apk' '/preload/symlink/system/app/com.google.android.play.games-1.odex'
rm -rf '/data/dalvik-cache/data@app@com.google.android.play.games-2.apk@classes.dex'

i.e. it removes the one from /data (all fine), and creates the new odex, then removes the now useless dalvik-cache file.

However, the final step is missing: It never recreates the symlinks!

I did manually:

ln -s /preload/symlink/system/app/com.google.android.play.games-1.apk /system/app/
ln -s /preload/symlink/system/app/com.google.android.play.games-1.odex /system/app/

to fix things, and rebooted, all fine.

Could this be added back?
[Android Apps and Games] weiyu:
On my phone (Note2, Jellybeam 4.1.2) , Select Update System file on Google Play Store (system+data in red), it pops 2 options: 1) 'Update system file' and 2) Update and odex system file, select 1 does nothing.
[Android Apps and Games] St4mi:
Help! My system is now totally f***ed up! I can't even reinstall the "destroyed" apps. How can I fix them without knowing how the symbolic link folders are called?

Stami
[Android Apps and Games] inteks:
on what android version you are?

if you have a backup. restore it.

if you have a custom recovery you can try "fix permissions"

or:

-reboot recovery

-mount system

-connect adb shell

-cd /system/app

-execute "root@klte:/system/app # chmod 755 com.google.android.apps.chromecast.app-1"

(replace "com.google.android.apps.chromecast.app-1" with the foldername of your app)
[Android Apps and Games] inteks:
new version (5.07) is uploaded this hopefully fix all permission issues.
[Android Apps and Games] weiyu:
Really hesitate to upgrade, tried update system file on the Google Play service, it seemed successfully after a reboot, but then when launch Google Play Store, it prompted that it couldn't find Play service, Play service was not installed, and force to install it from Google again. Whats going on for the last couple of updates?!

Note2, Jeallybean 4.1.2
[Android Apps and Games] St4mi:
I am using an Archos 80 G9 with CM12.1.

5.07 still does not work. My updated systemapps dissapeared.

Stami
[Android Apps and Games] weiyu:
THIS IS GETTING RIDICULOUS NOW, v5.07 fixes NOTHING. the update system file is still not working. This is not what I paid for an app. Please roll it back to the pre 5.0 version.

Where can I get the 4.8.2 version? I paid for the app, and now every 5.0+ version is broken for the update system file...
[Android Apps and Games] St4mi:
Yes, which was the working one? I lost so many hours in testing and recovering for nothing...

Whereas I have to admit it now works on my S4 with Android 5.0.1 Touchwiz with 5.07.

Stami
[Android Apps and Games] Dior DNA:
'Apps' section sizes all show 0.0M and 'Cleanup' section list is always empty on 64bit LP 5.1.1 ROMs such as stock (rooted) CyagonOS Wileyfox Swift and Jiayu S3 DE RC2.

Let me know if/how I can help.
[Android Apps and Games] inteks:
it looks like the new version doesnt work (well) on some roms. i.e. Cyanogen 12 and newer....

for those having trouble with the new version of SystemCleanup here the last (stable) version 4.82
[Android Apps and Games] weiyu:
Yay, All worked. Thanks much for doing this.
[Android Apps and Games] Dior DNA:
version 5.08 works now on 64bit Jiayu S3 DE ! Congratulations !
[Android Apps and Games] inteks:
Everything should work so far. But dont use "move to system" it doesnt work so good. I think its a problem with selinux! Systemcleanup does everything right set the correct permissions but the moved app sometimes dont work anymore [emoji53] so dont use it if you dont have space problems on your device.

I for myself use it mainly to cleanup,deactivate apps and services and autostarts.

Have fun

Inteks

Gesendet von meinem SM-G920F mit Tapatalk