yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] martyfender:
So in playstore settings, you have Auto-update apps turned off, and it still auto-updates? Strange, I have never had that happen. I have only had that happen with the playstore app, itself, and Google Play services. With that setting turned off, I only see updates available and they only update if I click on the update button. Have you tried clearing data from the playstore app and google play services and even maybe deleting the dalvik cache and cache in TWRP?
[Android Apps and Games] zdoe:
1st time for me as well - i've not seen this before (nor yet tried to do anything about it, save for restoring an old backup from titanium.)

i'm mostly interested, however, about how to disable the play store / play services auto-updates. maybe you'd be knowledgeable about this? the disable service -approach is conceptually promising, but i don't know what service to disable.
[Android Apps and Games] martyfender:
Apps2SD has an App component manager where you can disable services and broadcast receivers, which might be a good place to start. I am not sure which ones to disable though and I for one am very hesitant to do this my self as it can break many things. There are also apps such as My Android tools an Servicely that can do similar.

There are threads somewhere on xda that talk about disabling various services and broadcast receivers to suppress play service waklocks, causing battery drain.

I experimented with those on my older, Android 5.1.1 tablet, but did not notice any battery improvements.

Again, what kind of problems are caused by letting the playstore update itself and playservices?

Also, have you tried a clean install of your ROM, without restoring titanium backups? I only tried the free version of it on my older, Nextbook Ares 8 5.1.1 and could not get it to work properly, in the brief time I had it installed, so I have not tried it on my newer Nextbook Ares 8A's with 6.0.1. My guess is that the pro version would work well on my newer tablets, I just haven't explored this and usually depend on TWRP backups and restores. And I have to do this because Nextbook has never released ROM for the restore on these devices.

Is this what you are using: Magisk Module F2FS Loopback Bug Workaround? I am us his sysconfig patcher module.
[Android Apps and Games] misquia:
He probably didn't download the permission remover app and do those steps.

That being said, it seems that on my end I have the Pro key (Titanium Backup PRO Key ★ root) on my LG G5 and Titanium Backup doesn't seem to recognize the key or something after using the permission remover app. Note: notice how the upper left corner behind the message, it says "Free Version".

When I uninstall Titanium Backup (with the edited permissions) and reinstall from the Play store, it changes to the "PRO/Donate Version".
[Android Apps and Games] vickybonick:
Because it changes the signature. If TB devs are still active ask them to remove those 2 permissions
[Android Apps and Games] patrickdrd:
is the swap file necessary?

I've got a "default" 256mb swap

(1gb ram - I didn't create it, I didn't even know it was there and I'm trying to disable it,

because I'm experiencing lagging on my device after some hours),

so, I'm trying to disable it (I switched swapiness to 0 and turned of the switch),

but I can't (last I checked it was using 90mb and the switch was to the right-enabled again)!

I think the swap could be the culprit for increasing reserved system ram (400+ mb!)
[Android Apps and Games] zdoe:
thanks for pointing out the apps2sd module. i hadn't played around with it.

after your post, i did limit some seemingly likeliest services and broadcast receivers, but i didn't find the right ones, playstore updated today. this time with no problem, though. [MENTION=6726362]vickybonick[/MENTION], would you know which ones would be the right ones?

playstore problems - first off, i can't/want to use it, but sideload apps. i'm currently in china behind the GFW so google doesn't work without a VPN. basic principle "if it ain't broken, don't fix it." forced auto-updates make the phone a moving target, and it's hard enough to get a complex environment to work as a static one. +most of the time the updates are there to benefit google in its data harvesting, not me. on this handset the only serious problem so far was the forced apps update described above. but on my old under-powered phone the new versions of the playstore were just too big/complex - rendering the phone useless.

i started from clean stock ROM. now almost everything works, but i'm still in the process of debloating.

titanium is about the best app out there, competing about the top spot with apps2sd. a bit different than TWRP as it lets you backup/restore individual apps and/or their data.

[MENTION=5228676]VR25[/MENTION] - yes, i'm using his Magisk Module F2FS Loopback Bug Workaround and sysconfig patcher both. fbind doesn't work on my moto 5G, but apps2sd does, so i'm ok.

EDIT: [MENTION=8126387]martyfender[/MENTION] and anyone else interested - the solution for rejecting the forced uploads may be here: https://android.stackexchange.com/questions/180833/google-play-services-for-instant-apps-downloads-installs-itself-without-authoriz.

EDIT2: conceptually solid attempt. however, does not work on my phone.
[Android Apps and Games] B3xVrkeHfX:
hi, i'm kinda new to this community, there's a question i want to ask, not sure if it had been asked before though.

when i reboot my phone, there is always an "optimizing apps" screen going on before it actually finish booting (took about 2-3mins), i think even though i've linked the odex file successfully before, when the phone boots, it re-generates odex files for those linked apps.

when i open apps2sd, it said "partially linked" and i have to manually link them again to eventually link the odex file.

although there's an option to "relink odex on startup" within settings, which will automatically do the job and save my time from linking manually, it still regenerates odex on every boot which i think is quite annoying, saying if i had like 50 apps linked, it would take lots of time to boot since regenerating took such a long time.

i'm asking if there would be a workaround for this, maybe force the phone to recognize the already existed odex on the 2nd partition (yes, those odex already got linked to 2nd partition, but not recognized during startup), and prevent it from regenerating new odex every time.

i'm using magisk stable 15.3 on stock rom running android 6.0 marshmallow.
[Android Apps and Games] patrickdrd:
I've set the priority to a very high number, which I think disables the swap's usage,

but I the performance isn't better,

I still get large reserved system memory
[Android Apps and Games] zputnyq:
imo it's necessary.

1 gb ram is small nowadays, but it also depends on the app you use, whether the apps using to much ram or not.

My device has the same ram size as yours & have swap too with 512mb of size.

I think, it's better if swappiness isn't disable since it can help your device ram & if it's possible enlarge the swap to 512.
[Android Apps and Games] B3xVrkeHfX:
guys any ideas?
[Android Apps and Games] psrkallez06:
First, i wanna thank you for this great app! Working perfectly for LOS 14.1, My phone is an LG G4 with android 7.1.2.

But i had some questions. Why do you need two partitions? I mean, I use the partition tool to make one fat32, and one ext4. And when i use app2sd i can choose if i want to move the game to the fat32 or ext4 partition. Since i can choose, why do i even need the ext partition?

Also, What is the difference between the "foldermount" and the "app2sd" setting?

Is it possible to only have one fat32 partition and put all my obb.s to it?

Also, i also have one 64 GB USB + at OTG cable. Is it possible to use my USB instead of SDCARD with this app or another app?

Since my SDCARD only is 8 GB, which one should be bigger, the fat32 partition or the ext4 one?

Cheers!
[Android Apps and Games] vickybonick:
Using the search option here or official website you can get almost all of the answers.

1) 2nd partition (ext2/ext3/ext4/f2fs) is required to create symlinks since fat partitions don't support it.

2) Foldermount uses mount bind (non symlink) while Apps2SD uses both mount bind (for obb and ext data) and symlink (for rest e.g. apk/dex/odex/lib/data)

3) You can use Folder mount to put all obbs to sd card without creating 2nd partition

4) Yes you can use OTG device as SD card. If you just want to use Folder mount then you can browse and set the otg path as destination. But if you want to link apps then goto settings and set External SD card path and Custom block path to that of the OTG device, create partitions, create mount script and link apps

5) It's upto you. It depends on how many apps you want to link
[Android Apps and Games] vickybonick:
Android might not be able to read linked odex files so it's recreating them. It happens due to incorrect Selinux polices on the device. You can fix it by either not linking odex files or setting Selinux to permissive (It's not recommended by me)
[Android Apps and Games] vickybonick:
Did you mean swapiness or Swap priority? Swapiness determines how often Android swaps data from RAM to swap and Swap priority determines which swap space to use 1st, 2nd and so on

If you create new swap partition or swap files on SD card then don't set swap priority. Since the default swap is in internal storage it'll always be faster than the swap on SD card (if you set swap priority of SD card higher than that of default one you'll experience lot of lag)
[Android Apps and Games] vickybonick:
Changing the app signature will stop the auto updates. I think TB has a detach app option which modifies the apk which in turns changes the signature. You can also use any apk editor to modify the play store app and change it's signature
[Android Apps and Games] patrickdrd:
I created another one and set it's priority to 1, the default is 0
[Android Apps and Games] vickybonick:
If it's on SD card then change the priority to 0
[Android Apps and Games] patrickdrd:
yes, it's on the card, but why 0 ?

since I need that to be used second, so after the default 0?
[Android Apps and Games] zdoe:
ok - will try the TiBu -function next. never tried modifying apps so far. i've also since tried to limit play services / play store data access both by android settings and by a firewall app (AFwall). neither works, play store starts to update on reboot, and services had updated behind my back.
[Android Apps and Games] vickybonick:
Note that if you modify the play store app, it may stop working so have a backup
[Android Apps and Games] vickybonick:
If you keep 0 then the kernel will assign a number. Kernel assigns number based on order of activation. The default swap should be activated by default so it'll be assigned 0 priority. The additional swaps will be assigned -1, -2 and so on (if you keep the priority as 0 in Swap manager)
[Android Apps and Games] zdoe:
yeah, i have backups. just did the TiBu thing. will report back the findings.
[Android Apps and Games] psrkallez06:
Thanks for all the answers! So i have my USB plugged in, it is mounted at:

/mnt/media_rw/9861-912D

So i set that as the External SD card path + block path

when making a partition i got "sd card not valid" hmm
[Android Apps and Games] vickybonick:
Attach the mount output
[Android Apps and Games] psrkallez06:
With mount output, do you mean that i enter the "Logcat"?
[Android Apps and Games] vickybonick:
Type mount in terminal or adb shell then share the result
[Android Apps and Games] psrkallez06:
I didn't find a way to copy the text so i took a screenshot instead. Say the word if you need the text instead then I'll download another terminal app.

https://gyazo.com/c8694f6e6c1e382c3a503b0e992e0622
[Android Apps and Games] vickybonick:
I need text. Also attach the output of below command

ls -lR /dev/block
[Android Apps and Games] psrkallez06:
https://pastebin.com/T3SmxTGM

https://pastebin.com/K0VygGYr

also i have no external SD Card attached. Only my USB.
[Android Apps and Games] vickybonick:
It's capital R in ls command
[Android Apps and Games] psrkallez06:
My bad.

https://pastebin.com/Vs5TdLs0
[Android Apps and Games] vickybonick:
Set the block as below and try

/dev/block/sda
[Android Apps and Games] psrkallez06:
Well that did the trick! I can now create the partitions without the error. May i ask how you figured out how it is sda1?

Will it always be sda1 for every usb or do i need to change it if i switch usb? Thanks!

---------- Post added at 10:19 PM ---------- Previous post was at 10:15 PM ----------

Now i have another issue. I partition the USB, it says that it needs to reboot to format it, i reboot, when it's booted i get "corrupted sd card" in android which i just ignore. When i start app2sd again i get "a reboot is required to continue partitioning". I reboot again, then i get "error the file dev/block/sdap1p3 does not exist and no size was specified"
[Android Apps and Games] vickybonick:
It should be sda but i can't guarantee it.

From mount command you can see the mount device is /dev/block/vold/public:8_1

Here 8 is major and 1 is minor number now from ls output you can see it is /dev/block/sda1 this is the first partition in /dev/block/sda (major 8 and minor 0) so /dev/block/sda is the block device for your OTG device
[Android Apps and Games] vickybonick:
It should be /dev/block/sda not /dev/block/sda1
[Android Apps and Games] psrkallez06:
Ops, changed sda1 to sda, Will report back!

Now everything seems to work perfectly. Thank you man! Love your app :D

One more question about the sizes. Let's say that i want to link many apps, which one should be the "main/bigger partition" the fat32 or the ext4 one?
[Android Apps and Games] vickybonick:
Keep it 50/50 or have 16 to 20 gb for 2nd partition
[Android Apps and Games] zdoe:
ok - now the firewall works, so will not immediately find out if the TiBu "detach from play store" does, or not. as to blocking play services - what exactly does it do, [MENTION=6726362]vickybonick[/MENTION]? i assume calendar / contacts will still sync? at least in previous androids there was separate apps for syncing those.
[Android Apps and Games] vickybonick:
Can't say what will work what won't
[Android Apps and Games] zdoe:
ok. a bit off-topic here... ;)
[Android Apps and Games] patrickdrd:
TiBu "detach from play store" works, it's not affected by apps2sd, whether the app is moved or not
[Android Apps and Games] zdoe:
good to know, thanks [MENTION=6532336]patrickdrd[/MENTION]. yeah - i've veered a bit off-topic here abusing [MENTION=6726362]vickybonick[/MENTION]'s knowledge...
[Android Apps and Games] vickybonick:
It's fine:) i can do this for 1 more year probably
[Android Apps and Games] patrickdrd:
is adding another 256mb ok?

(1gb ram phone and 256mb of swap are already there by default)
[Android Apps and Games] pgorod:
Bought Pro, can't use it

Hi. First of all, I admit I didn't read the hundreds of pages in this thread :) so maybe the answer is up there somewhere...

I had App2SD installed. It worked brilliantly and so I went and bought the Pro version just to say thank you.

But then the Pro version installed, yet couldn't get my SuperSU to grant it root access. I uninstalled the not-Pro version, then I deleted the entry in SuperSU for the not-Pro version. At this point, the Pro version vanished from my device! I can't see it anywhere.

Yet in Google Play it shows as "Installed", which makes it impossible to Install again! I'm stuck.

I deleted Google Play Store app's Data, uninstalled their updates, and it suddenly reinstalled App2SD... but not the Pro version. Should I uninstall it?

And mainly, how do I get the Pro version I payed for? Thanks!
[Android Apps and Games] aliyin:
[IMG="error"]https://i.imgur.com/bxT0TtC.png[/IMG]

hi there, can you please add support for mobile legends? after the game linked, it will say can't connect to the network on the loading screen. Game linked without libs. ROM used Lineage 14.1, Nougat 7.1.2.

clicking "Fix Permission" didn't help.

Thank you!
[Android Apps and Games] vickybonick:
Should be fine. If you have space in /data partition then create the swap file in it
[Android Apps and Games] vickybonick:
Uninstall both free version and pro version using any System app remover from play store, reboot then Install the pro version again
[Android Apps and Games] vickybonick:
Open Apps2SD, goto Error Report screen, set your email id and send device info from menu then pm me the email id
[Android Apps and Games] aliyin:
done, thank you so much
[Android Apps and Games] 123xdagsm:
Big thanks for great app

After a while,for me not show size(ext) data,cache in the app2sd

And app info always show storage "computing"

And I can't install new apps because app info storage is computing
[Android Apps and Games] vickybonick:
Use a faster SD card
[Android Apps and Games] 123xdagsm:
Until I not open app2sd, working app info storage

But when I open app2sd, not working app info storage computing

---------- Post added at 04:42 PM ---------- Previous post was at 04:33 PM ----------

Thanks

After delete some apps cache,now working

I think, there is the problem when some apps have many cache files( cache linked)
[Android Apps and Games] vickybonick:
Problem is slow SD card. What is your SD card specification
[Android Apps and Games] 123xdagsm:
My sdcard class 10

My fat partition is encrypted and for link cache I use the partition 1 ( fat32) not use partition 2 (ext4) for link cache path android/data

Sorry for my bad English
[Android Apps and Games] vickybonick:
How did you link cache to 1st partition? It's not supported by the app
[Android Apps and Games] 123xdagsm:
app,odex,lib linked(ext4) and just cache Internal (android/data) linked partition 1 fat

Not linked cache (/data/data/)
[Android Apps and Games] 123xdagsm:
If add keep on screen until finish linking and other import process, that's better

Because when linking turn off screen and broken linking and hang up phone

Thanks
[Android Apps and Games] acolegario2:
This is a must have app for android. Highly recommended.
[Android Apps and Games] vickybonick:
Enable Acquire wakelock option in settings
[Android Apps and Games] aseferfan:
IS there a way to manually relink/rebind an app's OBB folder?

for example i have moved my apps OBB folder to App2SD/Android/obb folder but without moving the huge obb files into internel storage and back to externel storage(via App2SD app) my game cannot recognize it's own obb folder located at App2SD/Android/obb/

IF there is no way to relink/rebind obb without moving the massive obb files, could you please add that option in the next release? :)

Thank you.
[Android Apps and Games] vickybonick:
Use the Rebind external folders option from left navigation drawer in Link apps to SD card module
[Android Apps and Games] vickybonick:
I don't see the obb files. You'll have to reinstall the app. Also follow below steps:

1) Set External card to /storage/BF82-99F0

2) Upgrade to v13.4 and recreate mount script
[Android Apps and Games] crankiro97:
Any solution for this??
[Android Apps and Games] vickybonick:
Try the repair option in the partition tool, reboot and recreate mount script again
[Android Apps and Games] crankiro97:
I tried it, but it shows this after attempting to repair the partition...
[Android Apps and Games] vickybonick:
Did you reboot?
[Android Apps and Games] aseferfan:
When i Connect my phone to my pc, i can not see the contents of my SD card. I can only see the obb folders which i linked in app2sd.

Anyway to temporarily disable binds/links? so i can use MTP to transfer files to my sdcard?

Also any way to bind/link specific folder to another specific folder? I used folder mount option but it loses any mount when i close app2sd app. My target is to to link my whatsapp folder to externel sd card
[Android Apps and Games] rmrbpt:
I there.

Started using the app today.

Everything is working fine. However apps that access the storage show multiple instances that are either empty or unavaliable.

For example Spotify show this:

File explorers also show all these locations.

I only have Internal storage, SD partition 1 as exFAT and SD partition 2 as ext4.

How can I remove the erroneous/duplicate/extra entries?
[Android Apps and Games] sremick:
So although I had paid for Apps2SD I had stopped using it on my Samsung Galaxy S5 due to issues I ultimately could not resolve. However, I just bought a Galaxy S7 and would like to give it another try.

I'll be starting clean on the S7 and am looking for any advice for this 2nd attempt to hopefully get a successful Apps2SD setup. :) Here's my environment:

Samsung Galaxy S7 SM-G930W8 (Exynos)

Rooted

TWRP bootloader

Resurrection Remix ROM (7.1.2, AOSP based?)

128GB MicroSD card

I'm going to be splitting the MicroSD card into a FAT32 (XFAT?) partition and a partition for Apps2SD to move apps to. Particularly interested in any specific Apps2SD settings I should adjust for my environment, what filesystem formats I should be using for each partition, etc Extra hand-holding welcome as I never got this working reliably before so I'm not sure what I was ultimately doing wrong. Hopefully this new clean slate gives me a better chance for success. Thanks in advance. :)
[Android Apps and Games] onegabriel:
I get an error when trying to create a mount script with "I've su.d support on my device/I use magisk interface" it says "Unable to determine su.d path, you can set the "su.d/post-fs-data.d/service.d" path in settings and try again"

but i don't know where to find the su.d/post-fs-data.d/service.d file....

---------- Post added at 12:50 PM ---------- Previous post was at 12:30 PM ----------

And i also tried creating a mount script with the "init.d" option

first i mounted data and system and executed the "sh /data/apps2sd/mount-script-recovery.sh " in recovery (TWRP) and got this message:

/data/apps2sd/mount-script-recovery.sh: line 102: can't create /etc/init.d/01apps2sdinit: nonexistent directory

chmod: /etc/init.d/01apps2sdinit: No such file or directory

restorecon: stat(/system/etc/install-recovery.sh): No such file or directory

restorecon: stat(/system/etc/install-recovery.sh): No such file or directory

but after rebooting it seems fine, though...
[Android Apps and Games] LeoG360:
Apps2SD Error

I'm having problems with Apps2SD. Whenever I go to link apps SD card I get an error message. A screen shot of the error message is attached to this post.

I have tried to fix the problem by

repairing the SD card with the partition tool but that did not work. I also tried formatting and re-creating the partition but that solution did not work either. I have also tried re-creating the mount script as well but I have had no luck.

I am using apps2sd pro vs 13.4
[Android Apps and Games] patrickdrd:
dear [MENTION=6726362]vickybonick[/MENTION], can you please tell me why my 2nd swap file (which is in sd card) is getting disabled after reboot?

respective setting swap -> enable at boot is set to true, as is "stop apps2sd service", "close root shell" and "force garbage collection",

"acquire wake lock" is disabled

error report has some entries with "swapoff failed",

of course I deleted the second swap file and recreated it without success (still wasn't created after reboot)
[Android Apps and Games] pat357:
Can this nice app work systemless ? ie without modifying /system ?

This is important to me because of being able to get & apply OTA's.

I'm trying to get it running with Magic 15.3, but no luck so far ; is Magisk 15.3 maybe not supported yet ?

For now I will use it without the second ext4 partition on my extSD, only using the exFAT partition.

(I know that links will not work this way, but bindings should work)
[Android Apps and Games] vickybonick:
If you have systemless root, a dialog will be shown to get your consent for every function which requires system modification. If you press Yes system partition will be modified else it'll not
[Android Apps and Games] vickybonick:
In Foldermount there's an option mount/unmout only which can unmout Foldermount pairs but there's no functionality to unmount obb and ext data linked using Link apps to SD card option. I'll add an option to mount/unmount all kind of mounts in next version