[Q] Manually link app files and dalvik cache via Terminal Emulator - General Questions and Answers

Hay!
I have been using s2ext and Link2sd for a while now and I'm tired of having problems like:
- mount error
- permission denied
- phone storage space is getting low
- phone storage not changing (even after uninstalling several large apps)
- wondering if the links worked or if storage is getting used by duplicate files
- or just simply not having any idea what these apps are doing.
I saw in a few posts people posting that they linked the apk and dalvik cache themselves and I have been searching xda, androidforums and google without finding how. Is there a guide or a link somehow that explains:
1. How to determine if a file is a symlink or a regular file in terminal emulator.
2. The folders in which I should create the aliases and the folders to which the latter should point.
** I know that when I will update my apps, the links won't be valid and I will have to relink, I can live with that.

NaturalBornCamper said:
Hay!
I have been using s2ext and Link2sd for a while now and I'm tired of having problems like:
- mount error
- permission denied
- phone storage space is getting low
- phone storage not changing (even after uninstalling several large apps)
- wondering if the links worked or if storage is getting used by duplicate files
- or just simply not having any idea what these apps are doing.
I saw in a few posts people posting that they linked the apk and dalvik cache themselves and I have been searching xda, androidforums and google without finding how. Is there a guide or a link somehow that explains:
1. How to determine if a file is a symlink or a regular file in terminal emulator.
2. The folders in which I should create the aliases and the folders to which the latter should point.
** I know that when I will update my apps, the links won't be valid and I will have to relink, I can live with that.
Click to expand...
Click to collapse
I would like to know that too

Related

[Q] what is the process for upgrade pre-installed app?

Hi,
In my understand, the pre-installed apps are placed on path /system/app, and the /system partition should be read-only partition without rooted, right?
So how the pre-installed apps can be upgraded?
For example, the pre-installed Google Maps app can be updated from Android Market. How it can replace the old Google Maps app with a new one on /system/app? What is the process?
Can someone help me to understand it?
They're installed normally to /data/app, then system uses them instead of files from /system/app. You could have checked this out by yourself.
what is the details about Google maps upgrade?
Hi, Brut
Thank you.
But could you please explain more details? I'm using Motorola ME600, no built-in Google Maps and Android Market. I can't check it by myself.
If the updated apps are installed in /data/app, how can they do that? I mean they should not be installed successfully if the updated apps used the same package name as the olds. It should fail due to the old one still exist. And how about the signature of updated app? Should it same as the old one?
Even the update apps can be installed, how does the system use them to replace the built-ins? I think we should find 2 icons in the Lanucher if they have same main entry. But in fact, there is only one icon. Why?
PS: Sorry, I have no way to find the details by myself. Please give me a hand. Thanks in advance.
I think Android OS treats system apps differently. It knows these apps can't be overwritten directly, so it uses above technique for updating them. It permits to have these apps installed twice and then it ignores system ones. Of course both files have to be signed by the same key.
If you have root, then you could check this by yourself without Market or Maps.
Remount /system .
If you have 0 free space on this partition, then remove something to have at least 100KB.
Create empty app, build it and sign.
"adb push YourApp.apk /system/app/" - Android OS should detect this and install your app. You could see this in the logcat.
"adb install -r YourApp.apk" - Android will install it to /data and use it instead of version installed to /system .
Maybe Android not always prefers /data app, but one with greater versionCode. I don't know, didn't test this.
Thanks, Brut
I followed your suggestion and tried. Yes, system replace the /system one with /data one.
Thank you help me to know this behavior of Android system.

[HOW TO] Clean up system/app

On the german "android-hilfe"-forum the users managed to delete the default apps from the system/app folder. I'm going to translate it to english and post it here. Original thread: android-hilfe.de
All changes are done at own risk. I'm not responsible for a bricked phone. If you don't know what you do, stop reading here.
First of all you need to root your mobile: [HOW TO] Root Motorola Defy.
If you rooted with z4root: you need the androidSDK to go on with the next steps. So have a look at the link above and get the tools and information need to go ahead.
After that you need to:
1. type in the command line on your PC
Code:
adb shell
2. now you need to get super user rights:
Code:
su
3. you need to remount the system partition
Code:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
4. change to the /system/app directory and you can now rename/delete all files in there
I hope you make a copy of this folder, so you can always revert back to factory default. A hardreset doesn't restaure the deletet apps, so be carefull. Also you need to check on your own IF you can really delete a app or not. I don't know what features you use.
Successfull deletet apps:
- amazon
- adservice
- arcphotoworkshop
- arcvideoeditorlite
- bluremail
- blursnmessagingengine
- blurupdater
- cardock
- contactsunconnected
- es musica
- fota
- friendfeed
- hilfe center
- hiphop official
- kpt (kodak perfect touch)
- homesyncwizard
- livewallpapers
- livewallpaperspicker
- magicsmokewallpaper
- messageswidget
- newswidget
- protips (tips für den startbildschirm)
- quickcontactwidget
- quickoffice
- revolvertv
- socialmessaging
- sprachwahl
- statuswidget
- stk (sim-tool-kit)
- toggle widgets
- truecountry
- ttsservice
- visualizationwallpapers
- universalinbox
- weatherwidget
- workcontacts
Taken from android-hilfe.de
Click to expand...
Click to collapse
Stand by for more information
It will be great!
is it posible to replace any of the "blured" apps?
Code:
BlurAlarmClock - AlarmClock (whats special with blured AlarmClock?)
BlurCalendar - Calendar
BlurContacts - Contacts (I only want google contacts and groups)
BlurEmail - Email (what's the difference between default?)
BlurHome - I Assume this is MotoBlur launcher (Wild Guess; it's really bad idea to remove this)
BlurPhone - Dialer?
is it posible to stop services from starting?
I have this services started, I have removed ALL widgets on ALL motoblur-homescreens and rebooted my phone and using ZeamLauncher. Still I have a few services started that I don't like to have started.
FeedReciverService - Social networking (com.motorola.blur.friendfeed)
WeatherService - Weather (com.motorola.blur.home.other)
Click to expand...
Click to collapse
Considering the name of the services I don't use them. I have no Social Networking stuff on my phone and no weather widget.
When and where do services start? if apps can start services when needed (I assume they can) is it posible to track down which services an app starts?
Ok, a couple of noob-ish questions here...
Sqoerk said:
First of all you need to root your mobile: [HOW TO] Root Motorola Defy
Click to expand...
Click to collapse
I've done this, though not through the method listed in the thread that's linked-to.
I used z4root, which was significantly simpler but I'm wondering if it's left me poorer equipped to do what comes next.
Sqoerk said:
1. type in the command line
Code:
adb shell
2. now you need to get super user rights:
Code:
su
3. you need to remount the system partition
Code:
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
4. change to the /system/app directory and you can now rename/delete all files in there
I hope you make a copy of this folder, so you can always revert back to factory default. A hardreset doesn't restaure the deletet apps, so be carefull. Also you need to check on your own IF you can really delete a app or not. I don't know what features you use.
Click to expand...
Click to collapse
Ok, so now we seem to have jumped forward a bit.
I assume by command line we're doing this on a PC, right?
If so, is there a particular mode I should select when connecting the handset?
And one last one - you list 'adservice' as something that's safe to remove, does what I suspect and kill off adverts on the handset?
Step666 said:
Ok, so now we seem to have jumped forward a bit.
I assume by command line we're doing this on a PC, right?
If so, is there a particular mode I should select when connecting the handset?
And one last one - you list 'adservice' as something that's safe to remove, does what I suspect and kill off adverts on the handset?
Click to expand...
Click to collapse
If you used the rooting method I've linked to, there wouldn't be a jump
Anyway you are right, its the command line from the PC. But you need the androiSDK for this commands. The adb.exe can be found in the tools subfolder. Go to the rooting method I've linked to and just get the infos missing here.
I don'T think that adservice will kill ALL your ad's on your phone. Those are included IN the games or apps. Have a look at adfree on the marked. This will work on your rooted phone.
Thanks for your respond...I've changed the first post a little bit.
deleted most of the stuff above...
CMP_AmazonFR_InternalFM_1.0.179.apk
what is exactly are?...
- bluremail
- blursnmessagingengine
- blurupdater
not sure.. i'd like to have blur email ... afterwards.. .so.. is it the app..?
crazyVII said:
deleted most of the stuff above...
CMP_AmazonFR_InternalFM_1.0.179.apk
Click to expand...
Click to collapse
That's the (awesome!) music player app
Deleting Blur
If you delete all the blur stuff, believe me I want to, how do you setup and get emails?
nickzee said:
If you delete all the blur stuff, believe me I want to, how do you setup and get emails?
Click to expand...
Click to collapse
I havn't deblured my phone, but I've added the 2.1 Mail.apk ...
The motorola mail app just synced my exchange once each time I've configured it. If you're interested in the apk....pm me or quicksearch at google
4. change to the /system/app directory and you can now rename/delete all files in there
Click to expand...
Click to collapse
So when I try to access the /system/app directory I get a "permission denied" message. I am rooted. Any advice?
blur... now you see it now you don't. ... goodbye
Homesicktexan said:
So when I try to access the /system/app directory I get a "permission denied" message. I am rooted. Any advice?
Click to expand...
Click to collapse
U did the remount? If not, follow all steps again. If you tried to access /system/app directly from you phone with a filemanager: it won't work until you use rootexplorer (payware).
You can use Titanium backup too (free)
Amazing how responsive the phone becomes after removing some of the bloat.
Interesting Topic, is this about deblurring or are there any more Motoblur Tasks running in the Background after the process?
I really want to get rid of Motoblur, (in my opinion it is just useless Crap running in the Background and collecting data) but I would still like to have my Android Updates. Is there any way to do this?
For you guys who have been de-bluring your phones which apps have you removed? It would be interesting to know which apps that are safe to remove and which that are not or have dependencies to other blur-apps. Thanks in advance!
Probably there's only a try and error you can do. I'e posted a list of apk's which are save to remove without going into bootloops. But there's no garuntee that this meets ALL your whishes of services to remove or to stay.
I think that you can give jboogie a try. Also you can try to make a nandroid backup befor starting to remove things. A titanium backup won't help, as it won't backup your system APKs. Don't rely on this.
If you miss a APK (cause you deleted it to fast) feel free to ask, I copied mine all to my SD Card.
Titanium backup will back up the data (edit: not apps) to your SD card and won't restore them to the system/app folder. (so be warned)
Personally I went for:
ESMusica (Didn't notice any difference)
HipHopOfficial (Didn't notice any difference)
TrueCountry (Didn't nitice any difference)
Social Networking 2.1 update 1 (big speed boost)
Social Status 2.1 update 1 (big speed boost)
Social Messaging service update 1 (big speed boost)
Social Messaging update 1 (big speed boost)
AmazonMP3 (nice speed boost)
News 2.1 update 1 (nice speed boost)
Weather 2.1 update 1 (nice speed boost)
CarDock 1.0 (Didn't notice any difference)
Sticky note 2.1 update 1 (Didn't notice much difference)
Browser Message 2.0.2 (Didn't notice much difference)
Connected Music player (nice speed boost) - Spotify + powerAMP user
At this stage the phone was running lag free, so I don't bother with anything else. (esp with custom ROMS on the horizon back then )
Sounds very interesting.
Would be really great if someone could put together a real Noob Tutorial.
I am not familiar with ADB
Here's what I renamed. I just changed the .apk file extension to .fix (just something easy to remember if I want to do a search and change them back)
AdService
ArcPhotoworkshop
ArcVideoEditorLite
blur-services
BlurDemo
BlurEmail
BlurEmailEngine
BlurSNMessagingEngine
ClockWidget
FriendFeed
NewsWidget
SocialMessaging
SocialShare
StatusWidget
VisualVoicemail
WeatherWidget
I have not experienced any problems yet. If I do I'll post what I find.
can i get some help here? how exactly do you change to /system/app? is it as simple as typing "/system/app"? and then what happens does ADB list all the files in there or is there another command you ahve to use?

[Q]Google Play unavailable after installing BETA 0.18.2.1 ICS on Desire

Hello there,
i just installed [BETA 0.18.2.1][17.09] ICS for Desire[ALL HBOOTS][4.0.4] and was also suffering under the bootloop. I fixed that problem using the steps postet in http://forum.xda-developers.com/showpost.php?p=33154719&postcount=16650.
...
After putting you gmail account.
Install from Playstore a file explorer that manage root (mine is ES file explorer). And allow to see root files (in settings flag the 3 options).
Now in settings of cell, applications:
- Google Playstore: clear data, force stop, deactivate.
- Framework android...: clear data, force stop, deactivate
Download a "Vending no restriction apk" (check some post before) on web explorer (or from your PC on micro SD).
Then rename it into vending.apk and put it with your file explorer to "system app" (it will substitute the existing one) and set perm to rw r r.
Go in file data/data: clear file "com.android.vending.updater"
Go in file data: Clear file Dalvik cache
...
Click to expand...
Click to collapse
But now my google Play isn't working. Message: Server Error.
Which steps do i need to go through to bring it back to life without heading back to the Bootloop-Problem.
I am very thankfull for any help.

Android L- code 505 error can't install two navigation apps

http://stackoverflow.com/questions/...ows-unknown-error-code-during-application-ins
I cant install Waze+ Sygic.
Any help?
Reason why
Code 505 is a permissions code. This typically means that the APK file already exists in your /data/app folder. You'll need to locate the APK files in question in the /data/app folder and remove them. You will need root to perform this action.
You came across this problem because you didn't do a wipe of your userdata partition when you jumped from Kitkat to Lollipop. I encountered the same issue because of that reason. I just ended up wiping and starting fresh as my phone hadn't been wiped since I got the device last November.
I can't install amazon app but i have no amazon folder on /data/app

My nexus 5 is showing ads everywhere

My nexus 5 is showing ads everywhere and i don't know why !! I have tried formatting my phone but the problem still exists and also when i try to install system update , the android icon that is shown while updating is crashing .
Help please
I'd suggest doing the following:-
- Copy all your personal data/music/videos etc. off the phone onto a PC.
- Download ADB and learn how to use it.
- Flash the most up to date factory image onto your phone.
- Copy your data back to the phone.
- Once you are clean, be careful what you install.
Good Luck.
You can find instructions on things like ADB by searching the other threads on XDA.
same as above.
You can also try Adaway once the mentioned steps are done. It blocks most of the ads from apps, so you don't end up clicking something and filled with popups.
Cheers
Have you downloaded any porn that had spyware or adware

Categories

Resources