App is not installed after moving .apk to system/app! - LG Optimus 4X HD

Hi there.
I would be very grateful if someone will help me solve my problem.
Well, after moving .apk to system/app (This time it was Google Wallet, but earlier I had the same with other apps) and data/app (tried both), it doesn't appear in the app drawer. What is more, It's not seen by Titanum Backup, nor the adb sees it as the installed package (adb shell, pm list packages) - no app on the list).
As I said, it works with every app - nothing appears after moving .apk to system directory manually.
Okay, wiping Dalvik-Cache and fixing the permissions may solve the problem, but I am afraid it may enable THIS screen appear on EVERY reboot (correct me if I am wrong).
Do you know any other solution? Or wiping dalvik-cache and fixing the permissions from recovery is the only proper one?
P.S. Can wiping dalvik-cache and fixing the permissions cause some problems, like it will delete the records in games or will have to configure the settings again?

use es File Explorer as you need to set the permissions, es automatically sets them correctly
Sent from my 4.3 Xperia S via Tapatalk

Well, what I forgot to add, I of course set the permissions (644 as all system apps)... Is in that case only solution wiping dalvik-cache?
Will wiping dalvik cache delete my games records
'

DidierDrigbi said:
Well, what I forgot to add, I of course set the permissions (644 as all system apps)... Is in that case only solution wiping dalvik-cache?
Will wiping dalvik cache delete my games records
'
Click to expand...
Click to collapse
I would suggest to wipe dalvik and the regular cache.
Any game data won't be touched (those aren't cache files correct me if I'm wrong)
If the problem persists tell us what rom etc. you're on and maybe do a full reinstall with backing up data before.
Sent from my LG-P880

DidierDrigbi said:
Well, after moving .apk to system/app (This time it was Google Wallet, but earlier I had the same with other apps) and data/app (tried both), it doesn't appear in the app drawer. What is more, It's not seen by Titanum Backup, nor the adb sees it as the installed package (adb shell, pm list packages) - no app on the list).
Click to expand...
Click to collapse
Are you using an apk from the stock rom on another rom? I'm asking this because I wanted LG Weather on CM 10.1 and I put it in system/app, rebooted and it didn't appear anywhere. The thing is that the stock rom is not deodexed and CM is. I had to use a tool to deodex the app and then put it in place, fix permissions and reboot.
DidierDrigbi said:
Okay, wiping Dalvik-Cache and fixing the permissions may solve the problem, but I am afraid it may enable THIS screen appear on EVERY reboot (correct me if I am wrong).
Do you know any other solution? Or wiping dalvik-cache and fixing the permissions from recovery is the only proper one?
P.S. Can wiping dalvik-cache and fixing the permissions cause some problems, like it will delete the records in games or will have to configure the settings again?
Click to expand...
Click to collapse
You shouldn't need to wipe the dalvik cache, simply rebooting will appear that screen only for the apps that you manually put in system/app.

tyraek said:
Are you using an apk from the stock rom on another rom? I'm asking this because I wanted LG Weather on CM 10.1 and I put it in system/app, rebooted and it didn't appear anywhere. The thing is that the stock rom is not deodexed and CM is. I had to use a tool to deodex the app and then put it in place, fix permissions and reboot.
I'm on the Stock ROM. So I should odex this file to use it? Could you tell me which tool should I use?
Click to expand...
Click to collapse
Click to expand...
Click to collapse

1. you dont move the apk. you copy it in system/app.
2. the game data is in data not in cache.
3. you dont need to wipe dalvic. a new app installed just creates a new file in dalvic

kessaras said:
1. you dont move the apk. you copy it in system/app.
2. the game data is in data not in cache.
3. you dont need to wipe dalvic. a new app installed just creates a new file in dalvic
Click to expand...
Click to collapse
Yeah, I copy it in system/app. And nothing appears in the app drawer!

DidierDrigbi said:
Yeah, I copy it in system/app. And nothing appears in the app drawer!
Click to expand...
Click to collapse
then its some kind of permission problem. i cant help from here , since i cant see it sorry

kessaras said:
then its some kind of permission problem. i cant help from here , since i cant see it sorry
Click to expand...
Click to collapse
Well I fix thew permissions in file manager. I don't know how to make the apps install this way,

Even if you copy it to /system/app/ and set permissions, it won't be installed for sure. You'd better check logs to know what's happening.

Related

Cache/download.apk...

I noticed in the folder cache/ that I have multiple files like download.apk download1.apk and so on...can anyone tell me what they are and if they're safe to delete? Appreciate any help
anybody know??
metal666fukhead said:
anybody know??
Click to expand...
Click to collapse
If you're talking about the downloadfile.apk, downloadfile1.apk files on your /sdcard/ yes.
If you're talking about the actual /cache folder off of the root, I'd still say yes. I was under the impression only the davlik and lost & found folders where there. Plus the cache folder can be wiped through the recovery menu without causing problems to the phone, it'll just take a while to boot up as it rebuilds the cache with the necessary files.
You could always copy them else where (using ADB, root explorer, estrongs, etc.). Erase them. If there's problems push them back
kyouko said:
If you're talking about the downloadfile.apk, downloadfile1.apk files on your /sdcard/ yes.
If you're talking about the actual /cache folder off of the root, I'd still say yes. I was under the impression only the davlik and lost & found folders where there. Plus the cache folder can be wiped through the recovery menu without causing problems to the phone, it'll just take a while to boot up as it rebuilds the cache with the necessary files.
You could always copy them else where (using ADB, root explorer, estrongs, etc.). Erase them. If there's problems push them back
Click to expand...
Click to collapse
Yes I was referring to the cache folder off of root any idea as to what those files are?
My guess would be that they are leftover temp files from market downloads/installs. If you really want to know, you can use estrongs or root explorer to access the files and open them up (as if you wanted to install the apks)
I tried to install and see what it would say but it just said problem parsing the package
You can erase anything in cache and be fine. If you erase dalvik though just expect a long reboot.
Sent from my HERO200 using XDA App
danaff37 said:
You can erase anything in cache and be fine. If you erase dalvik though just expect a long reboot.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Cool thank you very much...someone from another post told me that download.apk, download-1.apk, etc are just cache files from market downloads and downloaded email attachments is that correct?
Sent from my J BONE using XDA App
Market downloads specifically I think. I never worried about where from. Just erased.
Sent from my HERO200 using XDA App
danaff37 said:
Market downloads specifically I think. I never worried about where from. Just erased.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Right on thank you
Sorry to resurrect this thread, but...
I just discovered this issue. Memory was running down to around 45mb even after using the Firerat MTD mod. I was just about to start from scratch (like I would on an old Windows machine), but then saw these in the /cache directory. Deleted the apk's and I'm back up to 107mb of free memory.
It's really strange. Shouldn't the Market app clear this cache or overwrite the files when they're no longer needed? Is there a setting somewhere to do this automatically or do I need to do so manually every time? Lastly, I'm running AOSP 0.9.9.2. Does this happen on anyone else's phone?
mercado79 said:
Sorry to resurrect this thread, but...
I just discovered this issue. Memory was running down to around 45mb even after using the Firerat MTD mod. I was just about to start from scratch (like I would on an old Windows machine), but then saw these in the /cache directory. Deleted the apk's and I'm back up to 107mb of free memory.
It's really strange. Shouldn't the Market app clear this cache or overwrite the files when they're no longer needed? Is there a setting somewhere to do this automatically or do I need to do so manually every time? Lastly, I'm running AOSP 0.9.9.2. Does this happen on anyone else's phone?
Click to expand...
Click to collapse
Just wipe cache from the recovery screen.
-----
Sent from my CDMA Hero. I got some hot Froyo-on-Hero action here!
user7618 said:
Just wipe cache from the recovery screen.
Click to expand...
Click to collapse
No, I totally get that. It's just odd that these junk files would just pile up in the /cache directory. What would happen if I wasn't rooted and couldn't wipe cache? Weird, right?
Maybe it's just an AOSP thing...

How to restore lost internal space?

i was wondering everytime i uninstall a program the internal memory does not restore from its original size... ex. i install an app with size of 7mb with my internal of 152MB then after i uninstall it, the memory will be 151MB... it doesn't go back to 152MB...
is this a bug? how do i solve this? thanks!!
It's the same for.me
Sent from my E15i using xda premium
Eh ? I never encountered this...
Which ROM are you using ?
Restart your phone after un-installing an app and check the space again.
Mayank77 said:
Eh ? I never encountered this...
Which ROM are you using ?
Restart your phone after un-installing an app and check the space again.
Click to expand...
Click to collapse
im using gingercruzt ROM 7.4... very stable except for this problem...
When you install an app in user application space and android run it a file is wrote in dalvik cache. If you uninstall the app unfortunately this not remove the spam in dalvik cache.
If you have a rooted phone you can simply clean the dalvik cache and you gain the lost space. I use CWM for that, but there are also good tools like System Tune Pro which have a menu for "clear data cache" and "clear dalvik cache".
silverio.di said:
When you install an app in user application space and android run it a file is wrote in dalvik cache. If you uninstall the app unfortunately this not remove the spam in dalvik cache.
If you have a rooted phone you can simply clean the dalvik cache and you gain the lost space. I use CWM for that, but there are also good tools like System Tune Pro which have a menu for "clear data cache" and "clear dalvik cache".
Click to expand...
Click to collapse
Or use an explorer (e.g. file explorer or root explorer) to go to Dalvik cache & delete folders specific to apps you've uninstalled. I've done that a few times before (hardly ever anymore). Dalvik cache exists for a reason. Don't just go around messing with it!
Saipro said:
Or use an explorer (e.g. file explorer or root explorer) to go to Dalvik cache & delete folders specific to apps you've uninstalled. I've done that a few times before (hardly ever anymore). Dalvik cache exists for a reason. Don't just go around messing with it!
Click to expand...
Click to collapse
yes that's why i ask first about this i want to be very careful before doing anything and make sure this will not affect the performance of my phone... any safety tips for clearing davlik cache??
Saipro said:
Or use an explorer (e.g. file explorer or root explorer) to go to Dalvik cache & delete folders specific to apps you've uninstalled. I've done that a few times before (hardly ever anymore). Dalvik cache exists for a reason. Don't just go around messing with it!
Click to expand...
Click to collapse
It worked just fine
Thanks
Sent from my E15i using xda premium
mikel_0004 said:
yes that's why i ask first about this i want to be very careful before doing anything and make sure this will not affect the performance of my phone... any safety tips for clearing davlik cache??
Click to expand...
Click to collapse
Well, unless you're upgrading ROMs, having boot-up/ROM-crash issues, random unusual FCs and a few other special situations, there's really no need for wiping the Dalvik cache. As far as I know.
I wrote an app for this specific purpose, its called "SD Maid".
The link is in my signature.
Sadly though, the only way to deal with randomly named directory on /mnt/sdcard/ is to delete them manually.

[Q] Insufficient Storage Available on a few apps

Okay. So the weirdest, yet most annoyingness (them fake words, though) thing keeps happening. It's a pet peeve of mines to not have all my apps up to date. LoL!! So these 2 apps keep giving me the Insufficient Storage Available error.
It started off with PPSSPP ( https://play.google.com/store/apps/details?id=org.ppsspp.ppsspp ).
I can't update to the newest update. I have the previous one. I once ran Google Edition and it updated fine. I meant to make a backup and just restore it to be up to date. Grr!!
Then all of a sudden it started happening to The Hardest Game Ever 2 ( https://play.google.com/store/apps/details?id=org.orangenose.games ).
It's weird. I want them to update. LoL!! Yes, I have enough space. I mean all my other apps update.
I've wiped Dalvik Cache and Cache. I read over something once about deleting system logs? When these apps finishing updating I try wiping Market Data. Or maybe just wiping the Market cache. I don't feel. Maybe data. It wouldn't hurt anything.
And it's so weird. On my GS2, restarting usually fixed it, or the problem usually fixed itself. Hmm...
Anyone else ever run into this? What did you do to solve it or did it fix itself? This has been an ongoing problem. I know sometime before the GE phones came out. LoL!!
And as I type this a 3rd app has been added. Into The Dead. ( https://play.google.com/store/apps/details?id=com.sidheinteractive.sif.DR ).
I can't have that. That's my game. LoL!!
To not make OP too long, here's some things I've done so far...
Deleted PlayStore Cache and Data...
Checked to see if ROM Toolbox Pro had Apps2SD set to Auto (and it as already on Auto)...
Wiped Cache and Dalvik Cache in recovery...
Deleted the app and tried to reinstall (Had to recover the app. LoL!!)...
Made SURE I had enough space. (I took a 6GB backup off my phone. I KNOW I have at least 6GB off the bat)
It's a slow growing list of apps. Hmm...
The only thing left is to backup apps and reinstall the ROM, since it works on other ROMs. *sigh* That'll take forever. =.S
SOVLED
I have it fixed. Here's what I did. You NEED root to fix since you have to go to a system folder. I think you can do this without root if you use ADB commands. I don't know remember if the computer version of ADB can navigate to these folders. Anyways...
"Follow this and let me know if it works for you.
First step is go into a file explorer with root access. Second in the root directory click on data, once in the data folder click on app-lib folder. Last step is scroll down to the data folder for the app you are trying to update or install and delete it. Thrn go into the market and try to install"
http://www.techfreestyle.com/io
1st comment on the page.
Steps:
1) You will need root. Go into a file explorer and go to the root folder. (I used Root Explorer)
2) Open the directory named "data".
3) Open the directory named "app-lib"
4) Find ALL the folders of the app you're trying to update or install and delete them.
5) Reinstall or update the app and it should work
I don't know if this will delete the data of the app. I've already deleted the data manually from those apps, so I don't know. Do with caution.
also its just solve the app that u can't install , so its not solving the problem permanently.
Jwtiyar said:
also its just solve the app that u can't install , so its not solving the problem permanently.
Click to expand...
Click to collapse
You're right. It happened again. But this time these apps had data. The method I mentioned didn't delete the app data. So that's good.
But this means it can happen again. Its a bit tedious deleting them files. I wonder what's causing it. Hmm... Maybe these lib files are suppose to delete on their own, but they don't. =./
IDK...
Sent from my HTC One using xda app-developers app

[Q] S-Planner.How to reinstall it?

There was a battery drainage from S Planer so i deleted the main app with Ex File Explorer using the menu for uninstalling system apps.It made a backup of the app but now when i try to restore it it gives error.How to reinstall the app without reinstalling the whole rom again?Thanks.
Sl3p1n said:
There was a battery drainage from S Planer so i deleted the main app with Ex File Explorer using the menu for uninstalling system apps.It made a backup of the app but now when i try to restore it it gives error.How to reinstall the app without reinstalling the whole rom again?Thanks.
Click to expand...
Click to collapse
Copy/Paste it in system/app. System apps can't be installed the way you are try to do it.
shut_down said:
Copy/Paste it in system/app. System apps can't be installed the way you are try to do it.
Click to expand...
Click to collapse
Thank you.Now i can see it in the app drawer but as soon as i open it, it shows the calendar layout and then it crashes.I have tried to clear cache and dalvik but didnt work.Any solution?
Sl3p1n said:
Thank you.Now i can see it in the app drawer but as soon as i open it, it shows the calendar layout and then it crashes.I have tried to clear cache and dalvik but didnt work.Any solution?
Click to expand...
Click to collapse
Fix proper permissions, i guess rw-r-r.
Also it seems it cannot be zipaligned using zalignx from HarshJelly.
R_a_z_v_a_n said:
Fix proper permissions, i guess rw-r-r.
Click to expand...
Click to collapse
Fixing permissions didn't work also.I have tryed also with fixing permissions from CWM but wih no result
Sl3p1n said:
Fixing permissions didn't work also.I have tryed also with fixing permissions from CWM but wih no result
Click to expand...
Click to collapse
Maybe that uninstall removed some other file from system that is used by calendar... Flash ROM without factory reset.

[Q] How to install system app from stock lollipop ftf to custom rom

hi i have locked bootloader and using purex L v2.2 everything okey but i have some problems.
i see rajeevs some apps removed his rom. i download stock ftf, edit sin editor and make system.sin to system.ext4 and open extexplorer then compare and listed removed apps from stock lollipop rom between Rajeev's Purex L v2.2 rom
i copy folder by folder what ı want app with root explorer and make permissions i reboot and wipe cache dalvik cache , apps showing menu but when i open it has stopped message showing. what wrong make i dont understand in kitkat this method working. how install stock apps to custom rom.
some apks have stock lollipop in system/app and system/priv-app
i wanna install what i want stock apps to rajeevs rom. thanks
anybody dont know?
deliler said:
anybody dont know?
Click to expand...
Click to collapse
Maybe install as user? Though System install should work the way you describe.
langeveld024 said:
Maybe install as user? Though System install should work the way you describe.
Click to expand...
Click to collapse
i try normall install but dont working
deliler said:
i try normall install but dont working
Click to expand...
Click to collapse
Maybe if you put in system/app/ and system/priv-app/, set correct permission for apk and for folder, reboot, and don't wipe dalvik cache as dalvik is not used in lollipop. In fact, wiping cache wouldn't even be necessary for the apps to install correctly.
langeveld024 said:
Maybe if you put in system/app/ and system/priv-app/, set correct permission for apk and for folder, reboot, and don't wipe dalvik cache as dalvik is not used in lollipop. In fact, wiping cache wouldn't even be necessary for the apps to install correctly.
Click to expand...
Click to collapse
Hi i Check permissions its correct
You can't. You need to re-sign it with the platform certificate for target firmware. Contact your custom ROM developer for platform key, but they're reserve the right to keep it private for security reasons.
Edit: Nevermind, I see you're using stock firmware still. Make a.request for flushable Zip from them, maybe they broke it with some hack.
Sent via Tapatalk on my Xperia Z

Categories

Resources