Link2SD fails to integrate Play Store and YouTube updates into /system - General Questions and Answers

I have a Sony Xperia ZR C5502 on Lollipop 5.1.1 (build number 10.7.A.0.222). It was previously on KitKat 4.4.4 and updated using a self created pre-rooted ZIP using PRFCreator and flashed using Philz Touch recovery. On booting I found out that it was not rooted. Hence I rooted it using Kingroot and then changed to SuperSU. I have Link2SD and linked a few applications to a second partition (ext3) on SD card. I also use Link2SD to integrate any updates to system apps into /system folder so that I can save the precious internal storage.
All other functions have been working correctly except that I am not able to integrate updates of Play Store and YouTube into /system. (updates to even Google Play Services were integrated without any trouble)
Whenever I try to integrate these two after a long time I get a dialog showing a big list of applications failed to install or something due to /system being full. If I go to /system/app or /system/priv-app (according to if the attempt was for YouTube or Play Store) I see either YouTube.t or PhoneSky.t directory which is full of copies of installed .apks of other applications basically duplicating the whole /data/app I think.
While trying to investigate this further I tried to copy the com.android.YouTube.apk installed in /data/app (the updated version) to /system/app/YouTube as YouTube.apk manually using ES File Explorer and Root Explorer both of which have been granted root permission by SuperSU. The copy attempt fails. The same is the story for PhoneSky also. The permissions of both the directory and apk seems to be in order.
Also I cannot absolutely write anything into these folders. But then I also tried to write into any other directory which too fails.
My knowledge has reached its limits here. Hence requesting advice from people with better knowledge for further help.

Related

[Q]APK Backup

i need an app on Android 1.5 which can Backup System apps as APKs.I need to back up the Google apps(Market,gmail etc). Please tell me of an app that can do this and tell me if i need to root my device.
Thanks
You need to root your phone then you can use either SU file manager $1.97 or Root explorer(file manager)$4.00
You need to root it because generally you need super user permissions to manipulate system/app files.
It may be worth it to try a free app that is used for file managing (it will be a related app to the above stated) To attempt to copy the apk file to another location.
Hope that helps
EDIT >> not sure of whether or not those apps are on andriod 1.5 marketplace.
If you don't want to shell out the cash, I believe the free Root Uninstaller (which als requires root permissions) can backup any installed application as an apk or configured to perform backups automatically anytime an app is installed or updated.

[APP] Get your Old Android Market Back

You know what distinguishes a good the from the from a bad on? The good one spend his time is helping others, while the bed one spend his is time consolidation power
There are no stupid question, every question is a quest for knowledge..Knowledge flows freely here at XDA! ask and ye shall b answered.
ThaNx to all the member that TEAM AD with the various tips and trick for this post I walk away, but my knowledge increased by the experiences shared with is wonderful group people. Long Live Android!
Installation:
1. Download files below, do not rename them! Transfer to SD Card.
2.* Use any file explorer and mount system as RW and delete file name (Root Explorer works nicely)‘Vending.APK’ and ‘MarketUpdater.apk’ from /system/app/. You can also delete folders com.android.vending and com.android.vending.updater in /data/data.
*Do a reboot.
* Open File explorer/ Root Explorer and Mount your file system as RW and copy ‘updater.apk’ from SD Card to /system/app/ and do a reboot.
* Now, mount your file system as RW from explorer and copy ‘market.apk’ from SD Card to /system/app/ and Reboot phone.
Edit: I feel retarded.. forgot to mention that this method is iffy on my rooted stock ROM, but it works great on my rooted custom rom.
[B said:
acolwill[/B];16952837]What functionality? All I see is fancy graphics designed for children and iRetards, there's no discernible change in how apps are grouped or searched for since version 2.12.
I have 5 android devices ranging from the HTC Hero up to the Samsung Galaxy Tab and the new market looks **** on every one. Application presentation is marred with oversized text and incessant scrolling, making it slower to actually see information pertinent to what you are looking at. Emphasis should be on the applications contained within the market, not the market application itself.
Other than that, the obfuscated way that application permissions are presented to a user in the newer versions makes it far too easy for the layman to install things with less than honourable permission requests. At least in version 2.12 you HAD to move your fingers around to accept permissions, since then all it takes is two jabs with a finger with little or no perceived consequence.
The fault lies with Google for forcing the new market style on users, no choices outside of root&destroy.
So thanks for actually taking the time for making the Google apps look nice, just let those whom want the 'clean' version have their say.
--
The attached Vending.apk is the "old" market. In order to install it, you must be rooted and you need either a little knowledge of ADB or Root Explorer from the market.
Using ADB;
Reboot into recovery and plug into pc, mount /system using your recovery
From your preferred ADB console:
adb push Vending.apk /system/app
adb shell rm /system/app/MarketUpdater.apk
adb shell chmod 644 /system/app/Vending.apk
adb shell chown root.root /system/app/Vending.apk
Reboot.
Using Root Explorer;
Download apk to sdcard
mount /system rw
browse to /system/app
remove MarketUpdater.apk
remove Vending.apk
browse back to sdcard and copy the Vending.apk to /data/local/tmp
copy the Vending.apk from /data/local/tmp to /system/app
using permissions action, set permissions on Vending.apk [Owner: Read Write. Group: Read. Others: Read]
using set owner action, set owner to 0 - root, group to 0 - root.
Close and reboot.
The Root Explorer method may not work for all phones, and will not work on HTC phones which do not have s-off. The ADB method should work on any rooted device which previously had market access.
Click to expand...
Click to collapse
[B said:
here.david[/B];16956089]Thanks that worked BTW, on the Vibrant (MiUi) here is the command I used to mount without going into CWM....
From your preferred ADB console:
adb shell mount -o rw,remount -t ext4 /dev/block/stl9 /system
adb push Vending.apk /system/app
adb shell rm /system/app/MarketUpdater.apk
adb shell chmod 644 /system/app/Vending.apk
adb shell chown root.root /system/app/Vending.apk
Reboot.
Click to expand...
Click to collapse
[B said:
nygmam[/B];16959137]I use a simple method, which works very well, and so far has not had a down side:
1) Using Titanium Backup (Or another app that lets you do this) either Freeze (Paid app) or Backup, then delete Market Update (Free App)
2) Go to Settings, Applications, Manage Applications, and scroll down to market, and select
3) Uninstall updates from Market
This is very easy to do, and you may be able to use other freeze or backup apps to achieve the same result. Also note, no reboot required.
Click to expand...
Click to collapse
I use a simple method, which works very well, and so far has not had a down side:
1) Using Titanium Backup (Or another app that lets you do this) either Freeze (Paid app) or Backup, then delete Market Update (Free App)
2) Go to Settings, Applications, Manage Applications, and scroll down to market, and select
3) Uninstall updates from Market
This is very easy to do, and you may be able to use other freeze or backup apps to achieve the same result. Also note, no reboot required.
Why would anyone want to do that? To put it in a different way: What are the advantages of the old market?
Thanks man, the new market sucks...
For some people the new market lags a lot especially on lower end phones, the last version was terrible for me so I had to use the old one but this latest update is a huge improvement, so i'll stick with it.
Sent from my HTC Wildfire using XDA Premium App
If you change the density of your phone's display, you wont't be able to download many apps(shazam free for example). It says that your device is incompatible, that's why I reverted back to the old market.
Sent from my HTC Desire
new market sucks..it lags on older phone
Agreed. Installed it, and soon had to restore old version from backup!
Any chance this will work without root? My wife hates the new market.
Sent from my ADR6350 using Tapatalk
QBall45 said:
Any chance this will work without root? My wife hates the new market.
Sent from my ADR6350 using Tapatalk
Click to expand...
Click to collapse
Have you given a brief look at the benefits of root vs stock? Well worth it.. Just a little research about rooting your particular phone and you can do it quite simply
i just downloaded the old market apk again and replaced it over the new one , and it worked , i have samsung galaxy s2 ,but still the new market is slow
I use a simple method, which works very well, and so far has not had a down side:
1) Using Titanium Backup (Or another app that lets you do this) either Freeze (Paid app) or Backup, then delete Market Update (Free App)
2) Go to Settings, Applications, Manage Applications, and scroll down to market, and select
3) Uninstall updates from Market
This is very easy to do, and you may be able to use other freeze or backup apps to achieve the same result. Also note, no reboot required.
shadows of yesterday said:
i just downloaded the old market apk again and replaced it over the new one , and it worked , i have samsung galaxy s2 ,but still the new market is slow
Click to expand...
Click to collapse
If you don't delete or disable Market Updater, new market will return... Maybe not right away, but it will be back. Also no need to reinstall old market, it is still on your phone. Just see my post above on how to uninstall the updates to market (Step 2 and 3), just uninstall updates, and go back to market, accept teh T&C and you will be back using old market again.
This worked for me ONLY after following the steps in OP and:
1. Changing the permissions of both files to rw-r-r
2. Renaming market.apk to Market.apk
3. Renaming updater.apk to Updater.apk
I think you'd need to 'chown root.root' on both files too...
GRRemlin said:
This worked for me ONLY after following the steps in OP and:
1. Changing the permissions of both files to rw-r-r
2. Renaming market.apk to Market.apk
3. Renaming updater.apk to Updater.apk
Click to expand...
Click to collapse
Maybe the mods can add this bit of info to the first post. Thank you!
You can edit it (or should be able to)
hello.
i'm using an xperia x10 mini E10i, and just did those steps. My market dissapeard, and now i don't know how to install it back( i didn't make a backup of the apks i deleted =( ). Can you please tell me what should i do?
I also tried GRRemlin's version and still doesn't work.
Thanks in advance.
li9ht said:
new market sucks..it lags on older phone
Click to expand...
Click to collapse
after themeing the market for the last five versions i would have to say the new market adds fuctionality over the old.
sounds like your blaming google for having a slow outdated phone.
still a good post though for those that like the look of the old market
Try restoring your apps and following the directions posted in post 2 it really is easier, and you don't have to mess with chmod and renaming and rebooting.
Sent from my ACA Gingerbread HTC HD2 using XDA App

[Q] How To Uninstall Apps In System (priv-app)?

The title explains it all. I'm trying to get rid of all the bloatware and other system apps I don't need on my Droid Mini (4.4 19.5.3, rooted, w/p off, BL locked) and some apps (specifically the Amazon appstore) I can't get rid of no matter what I do (it seems to be the apps in the /system/priv-app directory). I use Titanium Backup (I have the pro version), and it acts like it uninstalled it but it's still there. I use Clean Master and try to uninstall it but it fails. I use ES File Explorer (I have /system r/w mounted) and try to delete it and it says device or resource busy. Also get the device or resource busy error if I try to remove it via ADB. So I'm at a loss here.
Try to use system cleanup app from the playstore.
That app can see whats installes in priv-app.
w/p on/off isn't something i quite understand as i have only used bl unlocked maxx/mini, but what I personally do is install Root Browser, navigate to system/priv-app and rename the offending applications to app.apk.bak (example: Amazon.apk becomes Amazon.apk.bak) This way, if an update comes along I can erase the .bak and have the stock crap back. If you can't do this with your setup, i apologize, i just thought it might help, as I hate having to install an app just to do one function, and Root Browser is a great app for many things like this, not just one function.

/system/app vs /system/priv-app?

I have an Android tablet, it is a low cost Alcatel OneTouch Pixi 3 7 tablet for Sprint. After getting Root access I started to try to update the system apps that came with the device, to free up internal storage, only to realize when I updated the system app it vanished.
I used TitaniumBackup to try this, Then I used App2SD Pro, and I even did it manually using ES File Explorer. The only reliable way to do this is to move the apps into /system/priv-apps and not /system/apps. If I move them to /system/apps then the device does not recognize them as there - but in priv-apps the system will recognize them as there and then compile them and they will thus show up in the launcher.
Is there a particular reason for this? From what my research suggests /system/apps would be better and /system/priv-apps is for privileged apps, or am I missing something?
The Android Version is 5.1.1.
adb push

Removing YouTube from system?

Hey guys, so I tried using a system app remover to remove YouTube. On reboot, phone froze, crippled my OS. No biggie, just reflashed my rom. My question is, is freezing YouTube with titanium backup a better option or will that likely yield the same result? Making me just have to reflash my rom again anyway.
I'm running OOS beta 9.
xxx-No Limits works at doing this. As well as replacing it with You Tube vanced if wanted. I prefer NewPipe as my replacement.
Use magisk module Debloater(Terminal Emulator) to remove any system app, you also need to install magisk module busy box and Termux from the playstore.
If you want to install YouTube Vanced you can only disable official YouTube app and install non root Vanced and it will work without problems, root methods will need to disable apk verification, and magisk modules will overwrite official app so, the playstore Will update it even if you deactivated automatic updates.
Sent from my OnePlus7Pro using XDA Labs
Navigate to /System > /System > /App or /Pri-App Some apps are moved into /System > /System > /Product > /App or /Priv-App
With a file manager with root capabilities or just file manager in TWRP don't forget to mount system first. There you can delete any pre installed apps you want just careful what you remove as could lead to issue or loss of features etc. The tomato debloat script or xXx module should have a list of safe to remove apps.
twrp file manager has been the best. Just follow the confusing steps below
Reboot to twrp
Go to mount
Mount system and vendor
Go back to main page
Go to file manager
/system/system/
App
Data
Priv-app
Vendor
Product
there are several folders with these apps installed into so you'll have to go around and delete them
Only thing it doesn't delete is India.img (because oneplus has been sucking Indias dxxx while letting everywhere else struggle)

Categories

Resources