Moving user apps to system apps. - General Questions and Answers

I'm not sure if this is the right place to post.
I rooted my Samsung j7 sm700t, I'm trying to move a user app to system app and nothing is working. I've tried we es eplorere and changed permisions, tried lucky patcher, tried system/app/mover same thing.
When I more the app it disappears from user interface but is still in system/app folder.
I've searched a long time on the web but no answers, from what I can tell allot of other people have the same problem.
I'd be super grateful if you can help me out.

Have you installed custom recovery? Try compressing it in .zip & flash it from recovery.

funkysloth said:
I'm not sure if this is the right place to post.
I rooted my Samsung j7 sm700t, I'm trying to move a user app to system app and nothing is working. I've tried we es eplorere and changed permisions, tried lucky patcher, tried system/app/mover same thing.
When I more the app it disappears from user interface but is still in system/app folder.
I've searched a long time on the web but no answers, from what I can tell allot of other people have the same problem.
I'd be super grateful if you can help me out.
Click to expand...
Click to collapse
What are you doing? Moving user apps to system? Or moving system apps to user?
After moving the apps, did you immediately reboot to recovery and wipe cache and or Dalvik/ART cache if you have custom recovery? Of you didn't do this then that's probably why you're having issues.
Any time you move apps "to" or "from" /system/app or /system/priv-app, you have to boot to recovery and wipe ONLY the cache partition and Dalvik/ART cache then reboot.
It has to do this because before you make the move, the app is already loaded and has cached data that was created when it was in its original location, after making the move, if that cached data is still in cache then the device thinks and acts as if the app is still wherever you moved it from. This causes a conflict and it doesn't know what to "do" or "not do". Wiping cache and rebooting let's the system load and create new cached data for the apps new location.
Also, did you enable root explorer in ES File Explorer, did you also set mount r/w permissions in ES File Explorer.
Are you using the most up to date SuperSU and updated su binaries?
On a side note I suggest you read the Forum Rules here. Don't ever mention or use any kind of warez(Lucky Patcher is an example of warez) while you are a member of XDA. This website is created by developers for developers, it's not a good idea to use or discuss software designed to steal their work(warez) in their own kingdom.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Titanium backup??

Related

[Q] Cant install apk, installation fails

Hi, I installed an application on my XT720, but I think the installation hanged so I took out the battery to reset the phone. Now it wont install.
I've encountered this problem before by deleting the temp files using root explorer, but I can't seem to find the temp files on this one. Does anyone know where I can find temp files from installations?
thx
if it's rooted already, just use any of the clear cache apps in market, to clean the temps out
also the Dalvik cache
that almost no one reported problem and almost nobody knows how to fix it, I can say that there are caches market or anything like that, the problem is that there are duplicates in a folder on the SD card, and you have to delete the folder is hidden and not visible on the phone and can not erase, deves do it on the pc, and appears as olcuto file in linux and mac, but you can delete it just by putting "view hidden files" Fortunately, it is easy to fix
AllGamer said:
if it's rooted already, just use any of the clear cache apps in market, to clean the temps out
also the Dalvik cache
Click to expand...
Click to collapse
I have encountered the same problem, but after i cleaned the caches by Cache Cleaner, the problem didn't solve.
When I tried to install the apk file, the device returns the message 'application not installed'.
Can anyone help?
Thanks
I doubt this is your problem, but maybe check the permissions and ownership of your /cache directory. I borked mine once while experimenting and the market was very silently unhappy.
ls -l should give:
drwxrwx--x system cache 2011-03-28 23:13 cache
If it's not owned by the cache group or if the group doesn't have write permission, downloads just go poof. That doesn't sound like your problem, though.
I've had some situations (going all the way back to 2.1) where Market apps wouldn't install the first couple of times I ask, but if I'm persistent and repeatedly keep installing, eventually it will start installing.
Another trick I've found is if the download completes and then the install never starts, try leaving the Market page for the app and come back. Sometimes that kicks the install into gear.
Mioze7Ae said:
I doubt this is your problem, but maybe check the permissions and ownership of your /cache directory. I borked mine once while experimenting and the market was very silently unhappy.
ls -l should give:
drwxrwx--x system cache 2011-03-28 23:13 cache
If it's not owned by the cache group or if the group doesn't have write permission, downloads just go poof. That doesn't sound like your problem, though.
I've had some situations (going all the way back to 2.1) where Market apps wouldn't install the first couple of times I ask, but if I'm persistent and repeatedly keep installing, eventually it will start installing.
Another trick I've found is if the download completes and then the install never starts, try leaving the Market page for the app and come back. Sometimes that kicks the install into gear.
Click to expand...
Click to collapse
My problem seldom associate with the market apps, but rather the apk files that i backed up before. when i pressed install, the installation bar would load for a while, about 1 second, and then it said application not installed.
This happens when I first try to install angry birds few days ago, the application hanged up with no response, just showing the installation bar. After that i removed the battery and try to install, the apk can't be installed and the above situation happened.
I can still install some of the other apk files, but some cannot. I tried to wipe all the caches as well as factory reset by the openrecovery, but the apk still cannot be installed.
Anyone got the same problem?
gn01222116 said:
My problem seldom associate with the market apps, but rather the apk files that i backed up before. when i pressed install, the installation bar would load for a while, about 1 second, and then it said application not installed.
This happens when I first try to install angry birds few days ago, the application hanged up with no response, just showing the installation bar. After that i removed the battery and try to install, the apk can't be installed and the above situation happened.
I can still install some of the other apk files, but some cannot. I tried to wipe all the caches as well as factory reset by the openrecovery, but the apk still cannot be installed.
Anyone got the same problem?
Click to expand...
Click to collapse
Are you on froyo? IIRC Angry Birds tries to install to the SD card using native froyo App 2 SD. Perhaps that's what's not working on your phone. Since not all apps do that it could seem random. See if you can Move to SD any downloaded apps (Settings > Applications > Manage applications > Downloaded > pick one > Move to SD). If you can't there's probably something wrong with your FAT partition on the SD card (e.g. it may need to be reformatted).
Mioze7Ae said:
Are you on froyo? IIRC Angry Birds tries to install to the SD card using native froyo App 2 SD. Perhaps that's what's not working on your phone. Since not all apps do that it could seem random. See if you can Move to SD any downloaded apps (Settings > Applications > Manage applications > Downloaded > pick one > Move to SD). If you can't there's probably something wrong with your FAT partition on the SD card (e.g. it may need to be reformatted).
Click to expand...
Click to collapse
i tried your method, and my apps could move to SD.
So what will be the possible reasons for my problem?

[Q] Can't write to system/app in Slimkat

Hello people,
I have a moto G XT1032 and I've been using slimkat for about 2 weeks, everything working perfectly, till one day I flashed something wrong and I soft-briked my phone. After fixing it and fresh-installing again slimkat, Titanium Backup doesn't uninstall system apps and I cannot install system apps either - with Root Explorer mount /system/app to R/W, paste the .apk and change permissions, reboot - the app is still not in the app drawer and I can't see in my installed apps, but it is in the /system/app folder with the right permissions.
I've searched a lot about this and I found posts recommending mounting system with some adb commands, but I've been uninstalling/installing system apps since I have android and I never had to do anything like that.
Am I doing anything wrong? Any possible solution without doing a full wipe?
Thanks in advance

Unable to delete bloatware from phone

Hello, I've made a threat not so long ago
http://forum.xda-developers.com/general/xda-assist/rooted-delete-bloatware-t3058272
I'm still unable to delete apps, as u might know, lenovo a850 comes with many useless chineese apps. I have disabled/frozen them, now I'm missing some internal memory.
I rooted my phone with framaroot, installed supersu.
then I tried removing apps with Es file explorer, I gained superuser access to it, and to all apps below, but "operation failed" . Same thing happened to Root explorer.
Later on, I have downloaded no bloat, It says "(app) deleted" but when I exit app and come back in, the app is still there. Same thing is with Titanium backup, I can select uninstall app, it fake uninstalled it, but when I reboot my phone, app is still there, no mater what I do.
Also, I tried using recovery exploit, phone reboots, but the app(s) still remain there
If anyone had same or similar issue, I would've really appreciate any help.
I can provide more info, about build, etc.
"Deleted apps"
imgur.com/fzFM9Rp
As you can see, apps are still there
imgur.com/6cG2kBi
More info
imgur.com/iwjgr86
Thanks for taking your time
Try root browser and locate the apps mostly it's in system/apps ....and delete the apk and restart ur phone ...
sent from my GT I9505 5.0.1
Tried it, still, apps are there
Now, I managed to find why it is unable to delete apps, because permissions.
However i can't change them either. Using total commander, es file explorer or using terminal, every time I get the same error.
imgur.com/Mr1acN1
Any way to fix this?
Ur links dsnt work
sent from my GT I9505 5.0.1
navi dl said:
Ur links dsnt work
sent from my GT I9505 5.0.1
Click to expand...
Click to collapse
Add www. In front, cant post links before 10 posts
FahRoDus said:
Hello, I've made a threat not so long ago
http://forum.xda-developers.com/general/xda-assist/rooted-delete-bloatware-t3058272
I'm still unable to delete apps, as u might know, lenovo a850 comes with many useless chineese apps. I have disabled/frozen them, now I'm missing some internal memory.
I rooted my phone with framaroot, installed supersu.
then I tried removing apps with Es file explorer, I gained superuser access to it, and to all apps below, but "operation failed" . Same thing happened to Root explorer.
Later on, I have downloaded no bloat, It says "(app) deleted" but when I exit app and come back in, the app is still there. Same thing is with Titanium backup, I can select uninstall app, it fake uninstalled it, but when I reboot my phone, app is still there, no mater what I do.
Also, I tried using recovery exploit, phone reboots, but the app(s) still remain there
If anyone had same or similar issue, I would've really appreciate any help.
I can provide more info, about build, etc.
"Deleted apps"
imgur.com/fzFM9Rp
As you can see, apps are still there
imgur.com/6cG2kBi
More info
imgur.com/iwjgr86
Thanks for taking your time
Click to expand...
Click to collapse
First thing first,
WHY...WHY DO YOU MANUALLY DELETE IT?
No offense bud, but yeah after you did that, you missed its registry, permissions, licenses and crap.
Ever heard about Uninstaller[ROOT]?
Ever?
This app saves your LIFE,PHONE and ITS LONGEVITY. This app also indicates what app you should delete, what you shouldn't.:good:
https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp
There, I gave you the link.:fingers-crossed:
Still, not working, can only delete user apps, but not the system ones
FahRoDus said:
Still, not working, can only delete user apps, but not the system ones
Click to expand...
Click to collapse
Do you actually got root access? You should make the Uninstaller app to ALWAYS GRANT and try again. If no success screenshot me the error popup you are facing.
The thing is, there is no error showing, after "deleting" app, it disappears, but after re-running app, it appears again. The thing is I cannon't change r/w access on .apk files in system/app folder. Even using apps that can change permissions and after granting them.superuser access, I'm unable to change it. On my old phone, after rooting my phone I could easily delete .apk filrs using ES file browser.
Thanks for replying
FahRoDus said:
The thing is, there is no error showing, after "deleting" app, it disappears, but after re-running app, it appears again. The thing is I cannon't change r/w access on .apk files in system/app folder. Even using apps that can change permissions and after granting them.superuser access, I'm unable to change it. On my old phone, after rooting my phone I could easily delete .apk filrs using ES file browser.
Thanks for replying
Click to expand...
Click to collapse
Logcat would help,maybe. Try posting your log here and see what is it tellimg.
CWM log when trying to force remove app using recovery exploit in titanium backup
Finding update package...
I:Update location: SYSTEM:app/appsearch.apk
E:unknown volume for path [SYSTEM:app/appsearch.apk]
E:Can't mount SYSTEM:app/appsearch.apk
Installation aborted.
FahRoDus, u need to do it with MTK Droid Tools. with 1 single click ALL the chinese craps will be GONE...
FahRoDus said:
CWM log when trying to force remove app using recovery exploit in titanium backup
Finding update package...
I:Update location: SYSTEM:app/appsearch.apk
E:unknown volume for path [SYSTEM:app/appsearch.apk]
E:Can't mount SYSTEM:app/appsearch.apk
Installation aborted.
Click to expand...
Click to collapse
Unknown volume huh? Can you execute it? If you can't, I guess you can clean it up by using SD Maid. If the app is even functional....
"WTF? Is this hardware level?"
I would say the abruptly choice to is to COMPLETE WIPE (ROM,kernel,bootloader) and install new ROM. That's my level of expertise, no beyond that.
I mean, something glitched your volumes that they registered empty in kernel but not in the software, or a triple-A type of administration crapware that's preloaded within the ROM which, "BY ANY MEANS...TOP SECURITY SYSTEM APP PROTECTION PREVENTS ANY SOFTWARE-LEVEL DATA TERMINATIONS! ENSURES APPS ARE IN FACTORY STATE, NO MATTER WHATEVER LEVEL OF BREACH INJECTION! DESIGNED BY CHINA COMPANIES! PROVIDED TO YOU!"....
Well that thing actually exists, FYI, and that's the working theory right now.
In addition, try logging via CatLog, cause that is very little log lines for me to decipher.
This was sent from my fully-Xposed-modded Lenovo A850 rooted stock ROM via XDA mobile app.
irfanadli97 said:
Unknown volume huh? Can you execute it? If you can't, I guess you can clean it up by using SD Maid. If the app is even functional....
"WTF? Is this hardware level?"
I would say the abruptly choice to is to COMPLETE WIPE (ROM,kernel,bootloader) and install new ROM. That's my level of expertise, no beyond that.
I mean, something glitched your volumes that they registered empty in kernel but not in the software, or a triple-A type of administration crapware that's preloaded within the ROM which, "BY ANY MEANS...TOP SECURITY SYSTEM APP PROTECTION PREVENTS ANY SOFTWARE-LEVEL DATA TERMINATIONS! ENSURES APPS ARE IN FACTORY STATE, NO MATTER WHATEVER LEVEL OF BREACH INJECTION! DESIGNED BY CHINA COMPANIES! PROVIDED TO YOU!"....
Well that thing actually exists, FYI, and that's the working theory right now.
In addition, try logging via CatLog, cause that is very little log lines for me to decipher.
This was sent from my fully-Xposed-modded Lenovo A850 rooted stock ROM via XDA mobile app.
Click to expand...
Click to collapse
I tried removing apps by flashing
This is what I wrote:
delete("/system/app/14_Youni.apk");
delete("/system/app/17173.apk");
delete("/system/app/appHao123.apk");
delete("/system/app/appsearch.apk");
delete("/system/app/AppStore-279-209160-signed.apk");
delete("/system/app/baidubrowser.apk");
delete("/system/app/BaiduMap.apk");
delete("/system/app/baidusearch.apk");
delete("/system/app/cleanmaster.apk");
delete("/system/app/com.orangestudio.MuteCamera.apk");
delete("/system/app/com.speedsoftware.rootexplorer.apk");
delete("/system/app/iReader.apk");
delete("/system/app/NewsArticle.apk");
delete("/system/app/ninegame.apk");
delete("/system/app/oupeng.apk");
delete("/system/app/qqbrowser.apk");
delete("/system/app/SogouMall.apk");
delete("/system/app/SohuNewsClient.apk");
delete("/system/app/taobao.apk");
delete("/system/app/tencentmobilemanager.apk");
delete("/system/app/TencentNews.apk");
delete("/system/app/TTPod.apk");
delete("/system/app/UCBrowser.apk");
delete("/system/app/youhuidashi.apk");
delete("/system/app/yingyonghui.apk");
delete("/system/app/ es.pulimento.wifi-1.apk");
delete("/system/app/luckypatcher419.apk");
Managed to remove few apps that came with custom ROM (I had S128 stock rom, flashed s203) like luckypatcher, silentcamerapro, rootexplorer... But Chinese apps remain. I can't even chmod apps
it seems like I don't have any problem remove all the chinese apps with MTK Droid Tools
FahRoDus said:
I tried removing apps by flashing
This is what I wrote:
delete("/system/app/14_Youni.apk");
delete("/system/app/17173.apk");
delete("/system/app/appHao123.apk");
delete("/system/app/appsearch.apk");
delete("/system/app/AppStore-279-209160-signed.apk");
delete("/system/app/baidubrowser.apk");
delete("/system/app/BaiduMap.apk");
delete("/system/app/baidusearch.apk");
delete("/system/app/cleanmaster.apk");
delete("/system/app/com.orangestudio.MuteCamera.apk");
delete("/system/app/com.speedsoftware.rootexplorer.apk");
delete("/system/app/iReader.apk");
delete("/system/app/NewsArticle.apk");
delete("/system/app/ninegame.apk");
delete("/system/app/oupeng.apk");
delete("/system/app/qqbrowser.apk");
delete("/system/app/SogouMall.apk");
delete("/system/app/SohuNewsClient.apk");
delete("/system/app/taobao.apk");
delete("/system/app/tencentmobilemanager.apk");
delete("/system/app/TencentNews.apk");
delete("/system/app/TTPod.apk");
delete("/system/app/UCBrowser.apk");
delete("/system/app/youhuidashi.apk");
delete("/system/app/yingyonghui.apk");
delete("/system/app/ es.pulimento.wifi-1.apk");
delete("/system/app/luckypatcher419.apk");
Managed to remove few apps that came with custom ROM (I had S128 stock rom, flashed s203) like luckypatcher, silentcamerapro, rootexplorer... But Chinese apps remain. I can't even chmod apps
Click to expand...
Click to collapse
Yea, try MTKDroidTools, I never used it but I've been convinced it will work.
This was sent from my fully-Xposed-modded Lenovo A850 rooted stock ROM via XDA mobile app.
I'll try that, and will report results, thanks

Malware acts as system app, cannot delete it

Hi everyone!
I'm having difficulties with the malware that I, nor all AV and anti-malware apps I've tried cannot delete. I'm sorry if this thread was discused previously, if so just send me a link.
Here's what happened:
I clicked on a link in a web browser, and than phone flashed several times as application "Firewall" was starting.
Anyway AV app detected a virus and tried to clean it, but failed.
The malware is on the phone as "SecurityService" system app in /system/priv-app/.gmp.apk
I cannot delet file it's write protected. I've tried several methods nothing worked.
Any ideas?
If you're rooted, you can uninstall system apps.
Sent from Hell
No, I cannot... Can you give me some tip how to, maybe I Didn't try it.
Most of the time the app which you get when you root can be used to uninstall system apps.... If you don't seem to find it google for root apps uninstaller and install one of them
Sent from Hell
Nope... I tried several of them but they all failed. They either crash, freez or say something like "unable to uninstall", "failed to uninstall", "can't uninstall for unknow reason" and things like that. This malware protected itself somehow. Any other ideas?
dtalic said:
/system/priv-app/.gmp.apk
Click to expand...
Click to collapse
Just delete the folder with a root file explorer. If the "." in front of the file name is correct, it looks like it's trying to mark itself as a hidden file, which may be why the other methods aren't working.
Yes there is dot (.) in front of file name. But if you are suggesting me to delete folder "priv-app" where the file is, I don't think that's a good idea at all. It's packed with system apps files such as dialer, calendar, contacts, etc... Anything else?
I could show you some screenshots if it would help anyone to maybe figure out what to do... Although I wrote what is going on...
dtalic said:
Yes there is dot (.) in front of file name. But if you are suggesting me to delete folder "priv-app" where the file is, I don't think that's a good idea at all. It's packed with system apps files such as dialer, calendar, contacts, etc... Anything else?
Click to expand...
Click to collapse
Don't delete the folder, delete the apk
Sent from Hell
I cannot delete it. Root Explorer just say "can`t delete file" (or something like that). And dozens of other apps say the same. That is my main problem.
dtalic said:
I cannot delete it. Root Explorer just say "can`t delete file" (or something like that). And dozens of other apps say the same. That is my main problem.
Click to expand...
Click to collapse
You can delete anything in TWRP. Just mount system and then use unternal file manager to delete the app.
That sounds promising. Im quite unfamiliar and new to all this, can you either explain me how to, or send me a link with explanation...
dtalic said:
Yes there is dot (.) in front of file name. But if you are suggesting me to delete folder "priv-app" where the file is, I don't think that's a good idea at all. It's packed with system apps files such as dialer, calendar, contacts, etc... Anything else?
Click to expand...
Click to collapse
I should have paid more attention to the file path. Since Lollipop, installed apks are given their own folders. It looks like you're on Kitkat or earlier.
Most root explorers have a toggle between read only and read/write. Check that.
Yes i know about that. Switching to r/w mode didn't help.
i googled twrp as optimumpro suggested and it seems like something that really would work, BUT my phone is not supported any other suggestions?
I also tried "force remove app (by recovery exploit)" option offered by titaniumbackup, but that also failed saying that file couldnt be found!?
dtalic said:
That sounds promising. Im quite unfamiliar and new to all this, can you either explain me how to, or send me a link with explanation...
Click to expand...
Click to collapse
You need to have TWRP recovery. Boot in recovery, go to Mounts and mount System. Then go back to the main screen, choose Advanced, then File Manager. Go to the directory where your file is, click on it, then choose Delete. You'll get a warning that operation is irreversible. Swipe to execute. That's it.
If that doesn't work for you, then reinstall your current rom without wiping data. This way, your System partition will be reformatted, original system apps installed and data preserved. Depending on the rom you flash, you may lose root and/or Supersu, so, you'll have to redo those.
Ok, I think im following you, optimumpro. I also saw some instructions on youtube. But did you see that i wrote that my phone is not supported in twrp. I need to install it, right? I mailed them, maybe they will add my phone for installation too. Or can i risk trying to install twrp using settings for some other device? There is a ZTE, but not my model...
dtalic said:
Ok, I think im following you, optimumpro. I also saw some instructions on youtube. But did you see that i wrote that my phone is not supported in twrp. I need to install it, right? I mailed them, maybe they will add my phone for installation too. Or can i risk trying to install twrp using settings for some other device? There is a ZTE, but not my model...
Click to expand...
Click to collapse
Unlikely that another device recovery would work. You can use terminal to execute rm "your file" in the directory your file is in. First type su to get root rights. If your rom has no terminal, get it from f-droid. Also see if whatever recovery you use has a file manager or terminal. But again, just reinstall your rom without wiping data...
Ok, here's where im now: tried to use terminal to remove file, but couldn't, it said that i don't have permissions for that. Tried to change permissions, couldn't. As i see it, i should find a way to delete file in recovery. Because i couldn't install twrp, i looked for another recovery file manager. Found "aroma", tried it, but also couldn't install it (none of several versions, followed instructions, but just got message something like "not able to verify... ",something like that... Now, im willing to reinstall rom, but how do i do it? I don't even care for wiping data, I'll just make backup and start all over again
That type of malware usually makes itself immutable so that it can t be erased (even when in recovery, immutable that is), and by reading your post I guess that it s what is happening on your phone.
It s easy to undo if you are rooted and have busybox installed.
Open your android terminal, or connect your phone through adb, then type:
lsattr system/priv-app/.gmp.apk
Most likely it will show something like:
-------------iA----------
The "i" means that the file is immutable, ie is write protected.
To undo this type:
busybox mount -o remount,rw /system
then type:
chattr -i system/priv-app/.gmp.apk
Now you can erase the file, and don t forget to erase its dex in the dalvik cache ([email protected]@[email protected]).
The malware may have some hidden stuff in the system/etc or the system/usr folder(check the install date and time, it should be the same than for .gmp.apk), and it may be immutable too so if that s the case just follow the above procedure again (you ll have of course to change the path, for example if there s a suspicious file called xyz in the system/etc folder then type chattr -i system/etc/xyz).
Let us know if it worked...

Galaxy S7 SM-G930F (6.0.1) - System Partition Size

Hi All
I am hoping someone can help... I have the Galaxy S7 (SM-G930F / 6.0.1 / UK / EE) and have come up with an issue.
I use Cerberus Apps in case my phone is lost - you are able to install this into the system to avoid someone wiping the phone and removing the software. To do this the phone must be rooted and then I usually use Link2SD to transfer the app to make it a system app. This has always worked on my old phones - but alas not this time.
The problem is that the system partition (4Gb) is full!! I have deleted all the language packs to try and clear some space - but it is still full! Strangely enough I also uninstalled an "Amazon" app which was listed as being a system app and quite large (from memory I think it was just under 100Mb)... but when I removed it and rebooted the system partition free space remained unchanged! It's possible that Amazon was a user app and I mis-read it... but anyway - I thought that the only way to clear some space was to resize the system partition - so I installed TWRP (3.0.2), have done a complete backup (system/efs/etc) apart from \data as this showed 0Mb and "failed to mount" when I tried to back it up originally.
So, my question is - can anyone help me to free some space from the system partition to allow Cerberus App to be stored there? I did think about uninstalling the VR Gear files as I dont have a VR device and assumed I could re-load these from Google Play if needed - but I do have the Galaxy Gear watch - so decided not to remove these files in case it screwed this up. Not sure which Google Apps I can remove and re-install if needed... so if anyone knows this, then that would be a help too
I thought you could resize the partition in TWRP but cant find any clear details on how to do this, so thought I'd ask here before I screw the phone up :silly:
Any ideas/help greatly received.
TWRP doesn't support encryption so that's likely why /data won't mount. Resizing partitions is typically done via Odin with PIT files, but it's very dangerous, so I wouldn't recommend it.
Luxembourg ROMs have around 130mb free system space, so there must be a ton of carrier bloat in yours. This doesn't sound right though, it's required that there is some space for expansion. Could you run the following command in a root terminal and post the results please?
df -k | grep system
CurtisMJ said:
df -k | grep system
Click to expand...
Click to collapse
Thanks Curtis - I left my phone at home today, so will try this tonight and post results. After deleting all the unwanted language files I have about 40Mb space free, but this still doesnt seem to be enough as when I run Link2SD and reboot the phone, Cerberus has vanished and has to be re-installed... although when it re-installs it shows it as an "update" which would indicate that it is installed already - just 'lost' ???
Will update tonight when I get a moment.
Thanks
That's interesting actually. It seems to be indicative of permission issues. The app was successfully moved to the system, but the permissions on its files were wrong and the system refuses to load it(Link2SD's fault, essentially) . It's still acknowledged by the app manager though, which is why it can be "updated". Can you try move it with something apart from Link2SD? I recommend titanium backup.
CurtisMJ said:
Can you try move it with something apart from Link2SD? I recommend titanium backup.
Click to expand...
Click to collapse
Thanks Curtis - I have Titanium Backup (free version) installed already so can give it a go - I have only used it for backups (a long while ago) and have never used it to relocate an app... is it fairly self explanatory how to do it?
Will look tonight when I get in
Thanks
Just tried with titanium myself and it fails in a similar manner. Seems Marshmallow is a little fiddly and Link2SD puts out a generic message when it has issues. Titanium just freezes. You'll have to do it manually
First you'll need to clear the system of failed attempts. Look in the /system/app and /system/priv-app with a root Explorer for Cerberus apks or folders. Next, look in the /data/app folder and find the Cerberus folder. Take note of this path.
Next, fire up a root terminal and enter the following commands. In my case I was moving Greenify.
mount -o remount,rw /system
cp - a /data/app/com.oasisfeng.greenify-1 /system/app/Greenify
Replace the data folder with your noted path. The system path can be anything.
Then reboot and the app should be system.
Hi Curtis
Thanks for spending so much time on this.
OK, I skipped straight to the manual relocation method that you said. Whilst the app is Cerberus the APK etc is called System Framework as I have installed the 'hidden' version rather than the one which shows as Cerberus on the phone. However using OI File Manager, when I look in /system/app and /system/priv-app folders there is nothing called Cerberus or System Framework... so I am assuming that there are no orphaned APKs or other files.
But, this is where the strange thing starts, when I look in the /data/app folder, it is empty... so I am guessing I am looking in the wrong place as there are loads of apps! I am looking from home then selecting data, etc... any thoughts?
Oh, I have checked that hidden files are shown too!
Thanks again
i used to install the same app on my S7
please follow this guide & let me know the result.
1- uninstall Cerberus App, Link2SD, TTb, etc. and reboot
2- install SystemCleanup.
3- from the app SystemCleanup swip to tab apps and remove some bloatware like Google books, music, games, google TTS.
4- Reboot & install Cerberus App, do not run it.
5- from the app SystemCleanup go to apps tab and move Cerberus App to system/app & reboot again.
6- That's all.
Click to expand...
Click to collapse
Hi Abuzar
Thanks for the help... I tried using System Cleanup and initially it didn't work... it didn't show System Framework after cleaning up which made me think it was uninstalled properly. But when I tried to re-install it I got a message asking if I wanted to update the the built in application... so I said yes and re-checked in System Cleanup and it was visible, so I tried uninstalling it and after a couple of attempts it succeeded.
Then I re-installed and it installed it as a new app and it was visible in System Cleanup as installed in /data. So, I moved it to /system and configured it. It now lists in System Cleanup as being installed @auto system+data... so I am assuming it has installed properly... but not 100% sure as it lists some of it in data - so not sure if after a reset it will wipe the user profile from Cerberus or not.
I took a backup in TWRP and thought I would do a factory reset and test it... but on the S7 using factory reset in O/S it asks for my samsung password etc so looks like it may delete my Samsung/Google account's so didn't proceed as I didn't want to delete any online info. So... I tried factory wipe in TWRP but it just said failed "could not mount /data and unable to find crypto footer" and a few more "failed to mount /data" errors... so I gave up and will have to assume its installed properly as a system app
Thanks for all your help.
Just as a final note, the system+data combo sounds normal. Under regular conditions, the system partition is read only, so in order to install any updates to system apps, Android actually installs them as data apps, but cross-references them to system apps and gives them the relevant permissions. You can remove the data part by selecting "Uninstall Updates" in the app info page.

Categories

Resources