[Rooted] Unable to install system APKs - Samsung Epic 4G Touch
Hello,
I'm running into a problem with installing system APKs on a the rooted EL29 GB 2.3.6.
I've extracted system APKs from other EL29 GB2.3.6 ROMs as well as copied APKs from my own current ROM's /system/apps folder (examples would include the calculator and camera APKs.)
I try to follow the guide @ http://forum.xda-developers.com/showthread.php?t=1414355Epic
Using Root Explorer I place these APK files in the /system/app folder, mounting the folder as R/W, adjusting the file permissions to (rw-r--r--), I click the file and choose install, and finally I get a progress bar followed by a message that says "Application not installed."
When I try to use ADB I get the following message:
c:\ADB>adb install camera.apk
* daemon not running. starting it now *
* daemon started successfully *
2672 KB/s (1319121 bytes in 0.482s)
pkg: /data/local/tmp/camera.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Can you please help me or at least teach me why some APKs install just fine and others wont.
TheRealJobe said:
Hello,
I'm running into a problem with installing system APKs on a the rooted EL29 GB 2.3.6.
I've extracted system APKs from other EL29 GB2.3.6 ROMs as well as copied APKs from my own current ROM's /system/apps folder (examples would include the calculator and camera APKs.)
I try to follow the guide @ http://forum.xda-developers.com/showthread.php?t=1414355Epic
Using Root Explorer I place these APK files in the /system/app folder, mounting the folder as R/W, adjusting the file permissions to (rw-r--r--), I click the file and choose install, and finally I get a progress bar followed by a message that says "Application not installed."
When I try to use ADB I get the following message:
c:\ADB>adb install camera.apk
* daemon not running. starting it now *
* daemon started successfully *
2672 KB/s (1319121 bytes in 0.482s)
pkg: /data/local/tmp/camera.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Can you please help me or at least teach me why some APKs install just fine and others wont.
Click to expand...
Click to collapse
Hmmm. I have always just put APK's on the SD card, selected them in rootexplorer and installed. When one won't install, it is usually either a conflict between the apk and the OS version OR a conflict between what I am trying to install and something already installed.
From the error message it sounds like a problem reading the internal manifest of the app .... But this is just a guess.
TheRealJobe said:
Hello,
I'm running into a problem with installing system APKs on a the rooted EL29 GB 2.3.6.
I've extracted system APKs from other EL29 GB2.3.6 ROMs as well as copied APKs from my own current ROM's /system/apps folder (examples would include the calculator and camera APKs.)
I try to follow the guide @ http://forum.xda-developers.com/showthread.php?t=1414355Epic
Using Root Explorer I place these APK files in the /system/app folder, mounting the folder as R/W, adjusting the file permissions to (rw-r--r--), I click the file and choose install, and finally I get a progress bar followed by a message that says "Application not installed."
When I try to use ADB I get the following message:
c:\ADB>adb install camera.apk
* daemon not running. starting it now *
* daemon started successfully *
2672 KB/s (1319121 bytes in 0.482s)
pkg: /data/local/tmp/camera.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Can you please help me or at least teach me why some APKs install just fine and others wont.
Click to expand...
Click to collapse
That would be because you are trying to "install" a system app to data. This will not work. Try this..
Code:
adb push yourapp.apk /system/app
Code:
adb reboot
enjoy.
sottey said:
Hmmm. I have always just put APK's on the SD card, selected them in rootexplorer and installed. When one won't install, it is usually either a conflict between the apk and the OS version OR a conflict between what I am trying to install and something already installed.
From the error message it sounds like a problem reading the internal manifest of the app .... But this is just a guess.
Click to expand...
Click to collapse
Thanks for the response. Is there an easy way to view/edit the manifest file on the phone. I would like to skip installing the entire Android SDK/Eclipse on my PC.
barnacles10 said:
That would be because you are trying to "install" a system app to data. This will not work. Try this..
Code:
adb push yourapp.apk /system/app
Code:
adb reboot
enjoy.
Click to expand...
Click to collapse
I tried this as well, and I recieved the same problem when attempting to install the app via launching on phone.
Heres where it gets even stranger:
I copied /system/app/protips.apk and protips.odex to /system/
Then I used ROM toolkit to uninstall the protips program.
I rebooted the phone, mounted /system as RW and copied the apk and odex back to /system/app via Root Explorer. I tried to install this via running the apk in Root Explorer from /systme/app and get the same message about the app not being installed.
So here I am with an APK from the very ROM I'm running and I still cant resintall.
TheRealJobe said:
I tried this as well, and I recieved the same problem when attempting to install the app via launching on phone.
Heres where it gets even stranger:
I copied /system/app/protips.apk and protips.odex to /system/
Then I used ROM toolkit to uninstall the protips program.
I rebooted the phone, mounted /system as RW and copied the apk and odex back to /system/app via Root Explorer. I tried to install this via running the apk in Root Explorer from /systme/app and get the same message about the app not being installed.
So here I am with an APK from the very ROM I'm running and I still cant resintall.
Click to expand...
Click to collapse
The point is for system applications, you just need to copy the .apk file to /system/app, fix permissions, and that's it. After the .apk file is placed in that folder, you do NOT need to select the .apk file and try to install it. It already is installed. Just reboot.
Got error as mentioned above
beezar said:
The point is for system applications, you just need to copy the .apk file to /system/app, fix permissions, and that's it. After the .apk file is placed in that folder, you do NOT need to select the .apk file and try to install it. It already is installed. Just reboot.
Click to expand...
Click to collapse
i follow all the steps
1. copy the apk in /system/app
2. edit the permission to rw-r--r--
3. reboot my phone
but not able to see that apk install in my phone can any buddy tell me whats the problem.
Related
How to install sprint wifirouter back?
I deleted the app with titanium backup and didn't back it up. Now I want it back and don't feel like flashing Ava9 rom again. I tried copying the stock APK from the rom and pasting it on system/apps folder with root explored and it won't install after I open it. Any idea on how I can restore it.
I'm having a similar problem w/ mail.apk. I did however make a Ti Backup first, but now it is gone. I tried installing mail.apk from the OTA 2.2 update, but it fails. Will simply dropping the apk and odex in /system/apps work? Sorry for the hijack, but I'm guessing the solution will be the same for both of us. edits: I've tried the root options in ES FileExplorer, but that doesn't seem to work. adb push tells me "Read-only file system" adb remount gives "remount failed: Operation not permitted" adb root says "adbd cannot run as root in production builds" How can I make /system writable?
Swype
I searched around and couldn't find a definative answer. How can I take my backed up copy of swype from my g2 nandroid backup (or the official rom) and install it after installing cyanogenmod" Sent from my T-Mobile G2 using XDA App
If you want you could always download the stock rom (check dev forums) and take the Swype.apk out of /system/apps. You're also going to need to get the libSwypeCore.so from /system/lib good luck. *thanks nvigrass, wasnt sure where it was
it is in /system/lib
here's a thread with some instructions: http://forum.xda-developers.com/showthread.php?t=837599
I ended up figuring it out with the first post, after figuring out how to open the /system/ nandroid img. Sent from my T-Mobile G2 using XDA App
How Do you take swype.apk out of system/apps? waffleman911 said: If you want you could always download the stock rom (check dev forums) and take the Swype.apk out of /system/apps. You're also going to need to get the libSwypeCore.so from /system/lib good luck. *thanks nvigrass, wasnt sure where it was Click to expand... Click to collapse How do you do that? And what program do you have to use since System is an .img file thanks.
Brazildiogo732 said: How do you do that? And what program do you have to use since System is an .img file thanks. Click to expand... Click to collapse have u heard of google? http://lmgtfy.com/?q=extract+.img+in+windows
Thanks waffleman911 said: If you want you could always download the stock rom (check dev forums) and take the Swype.apk out of /system/apps. You're also going to need to get the libSwypeCore.so from /system/lib good luck. *thanks nvigrass, wasnt sure where it was Click to expand... Click to collapse sundar2012 said: have u heard of google? http://lmgtfy.com/?q=extract+.img+in+windows Click to expand... Click to collapse hey thanks man . i got MagicISO but it is not letting me explore the system file, i can't even open it..what'd you use?
Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager
Brazildiogo732 said: hey thanks man . i got MagicISO but it is not letting me explore the system file, i can't even open it..what'd you use? Click to expand... Click to collapse If you are using windows, there is a command prompt application called unyaffs.exe that extracts the whole thing in windows. Might even work in linux with wine
jkoenig00 said: Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager Click to expand... Click to collapse I actually paid for root explorer because its useful enough to be worth the money and someone took their time to write the application. I did use Root Explorer to go in and paste the files into the appropriate directories after getting them extracted.
Opening System jkoenig00 said: Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager Click to expand... Click to collapse Hey! When you go about opening /system/apps and system/lib, where do you go to open it? And How do you open it? The only system I've seen cannot been opened Idk how to do it and I'm seriously confused, thanks!!
Brazildiogo732 said: Hey! When you go about opening /system/apps and system/lib, where do you go to open it? And How do you open it? The only system I've seen cannot been opened Idk how to do it and I'm seriously confused, thanks!! Click to expand... Click to collapse What app are you using? You need to use a root explorer app like SU File Manager or Root Explorer.
thanks! got the files! i am about to intall! thanks!!
Got the Files, but no luck :/ jkoenig00 said: Okay here is what I did and it worked. Using SU File manager (found in the market if you search "root explorer") and on the stock ROM, copy the lib and apk files from /system/app and /system/lib. I copied them to the root of my sd card. Wipe everything and install CM and the addon. Grab SU File manager again and find the lib file on your SD card. copy it. There are two little buttons on the top of SU File manager with an S and a D. I pressed both of them to mount system and data as read/write. Go to system/lib and paste the lib file. Verify that it is there and since there are so many files sort by size its like 998kb. Then just use SU File Manager or astro or whatever to find Swype.apk on your sd card. Install it from there. With Astro click it and "open app manger." Then go to keyboard settings and enable it as an input method. Go to swype settings and it should not FC if you did this stuff correctly. Set your settings and enjoy! Oh yea dont forget to uninstall and refund SU File manager Click to expand... Click to collapse I got the files, but its not working on Desire Z rom... All it does is force close.. any ideas, anyone?!
you need to make sure the Swype Lib file copied into the /system/lib directory. Even if the app says it copied it, restart the app and navigate to the /system/lib directory and make sure the file is there. Then install swype normally. If the lib file is not successfully copied, swype will FC all the time.
not letting me paste! jkoenig00 said: you need to make sure the Swype Lib file copied into the /system/lib directory. Even if the app says it copied it, restart the app and navigate to the /system/lib directory and make sure the file is there. Then install swype normally. If the lib file is not successfully copied, swype will FC all the time. Click to expand... Click to collapse Cool! thanks guys! I found how to do everything, but its not letting me paste into /system/lib :/ any sugestions? :/
it says "this folder is read only" and its refering to the /system/lib ..what do i do?
Open terminal emulator and type this mount -o remount,rw /system Then try again. [G2/HTC Vision]
Still not working luis86dr said: Open terminal emulator and type this mount -o remount,rw /system Then try again. [G2/HTC Vision] Click to expand... Click to collapse After I put that in, it comes up "mount [-r] [-w] [-o options] [-t type device directory] and it still doesnt let me paste into the lib folder...whats happening? lol
Replacing 'SYSTEM' APK
I want to know how I can replace a system apk with a modified version. I have been unsuccessful by using such tools as 'Root Explorer' where I moved my modified APK to /root/system/app and when I replaced it with 'r/w' permissions all it seem to have done is deleted the original version. I must not that I am on a DT-A2SD ROM, and figured it has something to do with that, so I placed the apk in /sd-ext directory but as the file names are different such as 'com...' it didn't make any difference. Many thanks.
You have to be S-OFF to replace a system file while booted. You can still replace it via the adb method while you are booted into recovery.
Ah, Okay....Could you provide me a guide to replacing system APK using APK preferably. Thank you.
ADB Guide
Stock calculator (TouchWiz) for CWM
I'm using a ROM which came without the stock calculator. I've been trying to install the .apk file with no success (it returns an error). I also tried to copy the 2 files of the calculator to /system/app but it claims to be a read-only folder, and I really can't change it! (tried chmod using terminal as root, with no success). Does anyone have its installation for CWM or some working instructions how to do the copy to make it work? Thanks!
[APP] Samsung Apps for any Custom Roms
Notice: Actually, I don't know this application is necessary for you or not After moved from stock GB to Custom Rom (CM9), sometime we felt some applications are missing One of them that I felt missing from stock ROM is Samsung Apps So I will share apk files from this apps How to install? The zip file is not flashable, extract it, and install 2 files as normally (tap & install) And it easy to Uninstall from Apps Manager Note: This apps is not latest version, but the apps will updates automatically I hope you like it
i can't install it as normal app because it say "application not installed "
Laurentyu1995 said: i can't install it as normal app because it say "application not installed " Click to expand... Click to collapse This can happen if you have your activity declared twice in your AndroidManifest.xml file. And by twice, I mean one: as a normal activity and two: as the launcher. Make sure every activity in the manifest file is declared only once. 1. try another explorer to install it, eg Astro or Root Explorer. 2. If method 1 doesn't help, delete file .android_secure/smdl2tmpl.asec from SD Card. If the folder .android_secure is empty on your file manager, delete it from PC I hope it will help you
temenalie said: This can happen if you have your activity declared twice in your AndroidManifest.xml file. And by twice, I mean one: as a normal activity and two: as the launcher. Make sure every activity in the manifest file is declared only once. 1. try another explorer to install it, eg Astro or Root Explorer. 2. If method 1 doesn't help, delete file .android_secure/smdl2tmpl.asec from SD Card. If the folder .android_secure is empty on your file manager, delete it from PC I hope it will help you Click to expand... Click to collapse samsung apps cant install as common apk files. its require touchwiz framework. try this instead http://forum.xda-developers.com/showthread.php?t=1773983
It worked perfectly for me. Some apps downloaded by the application fail to install, but not all. I managed to install Samsung Apps moving both files to system/app via Root Explorer. After I changed the permissions to RW-R-R. I would like to add my Samsung account on the phone, but I need the apk files. Do you know where can I find?