HELP Reinstall APK!!! - Android Software/Hacking General [Developers Only]

I have tried EVERYTHING I can read. For one thing, when I try
adb install TouchWizCalendar.apk
-> I get an error that says INSTALL_FAILED_DEXOPT
--> I have 64mb of phone memory, and my phone is rooted...
adb push TouchWizCalendar.apk /system/app
-> Permission Denied
I finally copied the TouchWizCalendar.apk back over along with the odex file to the system/app folder using Root Explorer, but the program isn't in my app drawer, and I can't even access it from my calendar widget on launcher pro.
Any help is appreciated... Thank you
EDIT:: I really don't care if it's the TouchWiz calendar that I install or the default stock calendar, I would just like A calendar... Any help is appreciated.. I'm still trying to get it worked....
EDIT::: I just checked logcat and I'm getting an error "Package does not include classes.dex" when trying to install. Anyone know why?

Okay, I figured it out... Sort of.
If anyone else gets this problem you should go to
forum.cyanogenmod.~com/topic/395-cyanogenmod-5-for-nexus-one-kang-central-station-v508-06192010/
Without the ~ before com. I can't post links.
Download Cyanogen's mod, and extract the file, navigate to system/apps and retrieve Calendar.apk and CalendarProvider.apk. Put those on your phone's SD card and install like any regular apk file.
This worked for me. It's not the TouchWizCalendar, but it's A Calendar, that is working atleast...

Have you tried moving the apk to the phone and installing from there and capture the log, it might give some useful information

Related

com.google.process.gapps force close !?

Hello,
I have rooted my X10 and I have R2BA020 and I have removed some apps with Titanium, nothing like Mediascape or Timescape. I have removed Moxier, GTalk, Quadrapop and user manuals. Obviusly I have uninstalled something that I shouldnt ( me IDIOT didnt make backup of those apps in Titanium !! ). Now whenever I start my phone I get this message that it has failed to start and I must press Force close. I have found some solution that I delete data from Google Apps and Gmail in Settings -> Applications but it seems to work one time because when I entered my data again in Gmail I got it again when I boot my phone.
Please, can anybody help me ? Maybe give me GTalk and other app that was below it as .apk so I can install it ?
Tnx a lot !
Removing GTalk was a terrible idea.
I see that now I have found X10 dump and installed Talk.apk and gtalkservice.apk and I got GTalk icon but when I press it I get that message again. I dont get it when I go in Gmail or Market, they are working.
Any other help, please ?
damirbusic said:
I see that now I have found X10 dump and installed Talk.apk and gtalkservice.apk and I got GTalk icon but when I press it I get that message again. I dont get it when I go in Gmail or Market, they are working.
Any other help, please ?
Click to expand...
Click to collapse
You have to push them to /system/app, not just installed regularly
Ok, thanx. How do I do that ? I really have no idea how to do this, I have installed them only like any other .apk.
Thank you very much !
Assuming you put the two apks on your sdcard..
Code:
mount -o remount,rw /dev/block/mtd2 /system
dd if=/sdcard/gtalkservice.apk of=/system/app/gtalkservice.apk
dd if=/sdcard/Talk.apk of=/system/app/Talk.apk
chmod 644 /system/app/Talk.apk
chmod 644 /system/app/gtalkservice.apk
reboot
I put them on root of SD card right ?
Only one last thing, how and where should I copy&paste those commands ? Can you please tell me step by step, I would really appreciate it because I dont want to flash my phone again. Connect the phone on my PC and then Start -> Run or how ? I can see that you are professional and it is very hard for me to understand how to do this.
Thank you SO MUCH !
Android terminal app, YOU NEED NOT WORRY ABOUT THE COMMANDS BUT CAN MANUALLY COPY THE INSTALLED APP FILE FROM sdcard/gtalkservice.apk TO SYSTEM/APP/ ENABLING R/W OPTION TOP LEFT IN ROOT EXPLORER.
I need terminal app on my phone or on my PC ? Here:
http://www.appbrain.com/app/com.android.term
Manually copy this Talk.apk and gtalk.apk file to system/app ? How can I do that ? I dont know how to enter system/app folder on my phone ? Also those read-write permissions, where do I change that ? Can I do it with Astro File Manager ?
Please explain me like to an idiot coz Im not far from that
And on the end, should I uninstall Talk.apk and other one first since I have installed them just like regular .apk app ?
Is this Root Explorer that I need:
http://www.appbrain.com/app/com.speedsoftware.rootexplorer
Tnx a million !
I go in this Root Explorer and cannot copy Talk.apk from SDCard to system/app, it says that file system is read only. When I long press on Talk.apk in SDCard and go in Permissions there is no tick in User row, only in Group, then I tick Read and Write and OK but when I press ok ticks are gone again and I cannot copy that in system/app folder then.
Please guide me how to do it.
zephyrix said:
Assuming you put the two apks on your sdcard..
Code:
mount -o remount,rw /dev/block/mtd2 /system
dd if=/sdcard/gtalkservice.apk of=/system/app/gtalkservice.apk
dd if=/sdcard/Talk.apk of=/system/app/Talk.apk
chmod 644 /system/app/Talk.apk
chmod 644 /system/app/gtalkservice.apk
reboot
Click to expand...
Click to collapse
I have typed this in Better Terminal and apps have installed in system/app and they have permissions there but I still cannot get in GTalk on my phone, I get the sam error ? Is there any extra steps to make it work ? I have checked them in Root Explorer to see if they have R/W permissions.
Tnx a lot
damirbusic said:
I have typed this in Better Terminal and apps have installed in system/app and they have permissions there but I still cannot get in GTalk on my phone, I get the sam error ? Is there any extra steps to make it work ? I have checked them in Root Explorer to see if they have R/W permissions.
Tnx a lot
Click to expand...
Click to collapse
They need to be signed with the same signature as the system afaik. You'll need GTalk and the other app from an x10 build.
I have downloaded Talk.apk and gtalkservice.apk from X10 dump. What do I need more ? I think I will have to flash the phone again since obviusly there is no solution for this...
Tnx
Hey,
I had the same pb and the code on the 1st page worked for me.
Put those 2 .apk files on the root folder of your sdcard.
Write the code on 1st page in Better Terminal. Reboot and you're done !
Good luck
Nope, I have tried it but nothing happened with those last 2 chmod commands and I have reflashed my firmware again and not touching GTalk app
Tnx for the info
Hey guys,
I just rooted my phone, and haven't removed ANY of the google apps and I'm getting this same error... Any ideas?
X
wouldn't hurt to try a re-root
I get also same error, even i've not removed Gtalk. Gtalk works properly
i found these apps so that the error is not repeated all the apps should moved to system/app folder using 644 permissions
i have attached the files at the end
Removed Gtalk
ok, so yesterday I was using Gtalk on my samsung captivate to chat with some friends,until i wanted to sign out and go onto another of my google accounts to chat with other people. but when i clicked sign out it simply closed the app then when i reopened it, it was still on my other account. well me being the impatient person that i am decided to use my root power and remove gtalk and try to reinstall it later.....WRONG.... now i keep getting an error... (com.google.process.gapps. has unexpectedly closed. well i though ill just factory reinstall getting rid of the error. so Now i cant download anything on android market to get the explorer back because i cant use 3rd party apps again because my settings.db was reset! so i need lots of help.. running Ubuntu 10.04 so that makes the process even harder for a noob like me -.- any help is appreciated in advance

installing system apps

I deleted all of the touchwizcalendar.apk files, now I am trying to install a basic android Calendar.apk, and it is not allowing me to.
I have chmod'd EVERYTHING to 777 in the system/app directory, including the file. Still will not let me install it through Astro File manager.
What am I doing wrong? I have the file in the system/app directory, upon reboot it still does not install. Though I notice that rebooting makes all the permissions go back to what they were. At this point, I just want my calendar back. Any calendar.
- KrossXC
KrossXC said:
I deleted all of the touchwizcalendar.apk files, now I am trying to install a basic android Calendar.apk, and it is not allowing me to.
I have chmod'd EVERYTHING to 777 in the system/app directory, including the file. Still will not let me install it through Astro File manager.
What am I doing wrong? I have the file in the system/app directory, upon reboot it still does not install. Though I notice that rebooting makes all the permissions go back to what they were. At this point, I just want my calendar back. Any calendar.
- KrossXC
Click to expand...
Click to collapse
Move it to your sdcard and install it that way.. then if that does work move it over to /system/app and reboot

Help- How do I reinstall stock calendar- nothing working

Ok here is the info
1. LG EVE aka LG GW620 phone is rooted with android 1.6
2. I COPIED some apps from /system/apps dir I thought I could move to the sdcard
3. I copied the Calendar.apk and 3 other calendar xxx.apk and .odx to the sdcard
4. I DELETED the apps that I copied from /system/apps
Problem: It seems that I need to have the stock calendar in order for any calendar widget to work.
So, how do I fix this item.
I also moved some files that seems to stop me from opening the market or connecting with Dolphin Browser. I will fix those the same as the calendar issue.
I tried to copy and past back all of the files from the SDCARD back to the /system/apps directory but no luck. They went back but I notice the permissions are not r-r-w and also it shows the owner as 50 or sdcard or system INSTEAD of ROOT.
Thanks for your help.
anyone???
There has to be a simple way for me to copy back the original files from the SDcard back into the /system/apps dir.
Why is it so difficult to install a simple calendar app?
I tried installing the 2 calendar .apk for 1.6 files that I found but it just says this can't install on this phone.

[Q] HELP ME! I deleted a system app with Titanium Backup

HELP ME...
I have a Samsung Galaxy S2, running Gingerbread XWKDD, Android 2.3.3, Samsung's Touchwiz 4.0.
Rooted my SGS2 and got Titanium Backup, I uninstalled the clock app because I thought it was a widget and I didn't want to see alot of widget. Anyway, turns out the clock 1.0 is actually a system app by the name of com.sec.android.app.clockpackage
and titanium backup can't reinstall it, when i extract the .apk from the backup file and try manually installing, it doesn't install either, just says application not installed.
I also can't find this on Android market.
ok, so after some digging i found that com.sec.android.app.clockpackage.apk still existed in system/apps but just wasn't running. I also noticed for almost every .apk, there was a .odex. But for my clockpackage, there was no .odex, maybe that's why it's not working?
on that thought, maybe anyone here can copy their .odex files for the 2 clock .apks and send them to me? Just use Root Explorer to see the system/app folder, mount R/W if you need to, then copy the 2 .odex files and then upload them somewhere? Pls?!?
if you want root explorer, holla at me via pm
Hi,
I have the same problem with Contacts.apk (no .odex, Titanium or. RootExplorer can't install), so i can't open the number-pad to make a call.
I have tried to copy the backuped Contacts.apk manualy to /system/app, the rebooted, but it don't hlep.
Solved: I have Installed the VillainROM 1.0 and the app is back.
U tried reflashing your current rom??
Its the most clean solution... Because if you copy and paste from another device i'm sure about the system file its not going to work correctly(cache data from another device...mmm i think it will not work...)
sent from my amstrad CPC powered by LOL..(premium xda)

Spice Stellar MI 500

Hi, I have a spice stellar mi 500. i tried rooting the phone which worked fine and then I tried removing some of the system apps like Rail yatra,, facebook, dhingana. i was able to remove them and then i finally booted my device. Since then I am getting the error "unfortunately system UI has stopped working" I am not able to open apps or receive calls. the system hangs. not even able to unroot the phone now as any apps will hang. even the control bar does not slide from the top. I am screwed. I have tried factory reset several times. in all different ways like from with system recovery or android settings. but i guess i am out of luck. can someone help me. :crying::crying::crying::crying::crying::crying::crying::crying:
depanakar said:
Hi, I have a spice stellar mi 500. i tried rooting the phone which worked fine and then I tried removing some of the system apps like Rail yatra,, facebook, dhingana. i was able to remove them and then i finally booted my device. Since then I am getting the error "unfortunately system UI has stopped working" I am not able to open apps or receive calls. the system hangs. not even able to unroot the phone now as any apps will hang. even the control bar does not slide from the top. I am screwed. I have tried factory reset several times. in all different ways like from with system recovery or android settings. but i guess i am out of luck. can someone help me. :crying::crying::crying::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
You have most probably messed the systemUI.apk which is located in /system/app or files associated with it. Did you remove any other apk's in which you weren't sure what it does?
In this case, Factory reset won't work because it just wipes user data and /system partition remains in tact. The nearest possible thing to do is to flash a stock ROM if exists or copy the deleted apk's borrowing from some one else's phone and place those apk's in /system/app partition setting the correct permission.
I remember exactly what I deleted. I I uninstalled Dhingana.com, Facebook and Rail yatra. I cannot start third party apps though I can install them. So I am not sure how to place the systemUI.apk in the directory /system/app. Can it be done through inbuilt file manager?
depankar said:
I remember exactly what I deleted. I I uninstalled Dhingana.com, Facebook and Rail yatra. I cannot start third party apps though I can install them. So I am not sure how to place the systemUI.apk in the directory /system/app. Can it be done through inbuilt file manager?
Click to expand...
Click to collapse
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
coolsandie said:
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
Click to expand...
Click to collapse
it get an error when i try yo copy the file to \system\app\. the error is copy failed. i am doing this with supersu previelege using esexplorer
coolsandie said:
Nope, I guess not possible through default file manager. You have to use ES File Explorer File Manager or Root Explorer to place it in /system/app and change its permissions to rw-r-r.
Click to expand...
Click to collapse
I tried replacing systemUI.apk to \system\app folder using esexplorer but i got error. error: copy failed.
is there a possibility I can get hold of a stock rom and flash it using update from SD card. the default android update manager?
depankar said:
I tried replacing systemUI.apk to \system\app folder using esexplorer but i got error. error: copy failed.
is there a possibility I can get hold of a stock rom and flash it using update from SD card. the default android update manager?
Click to expand...
Click to collapse
Make sure you've mounted the /system partition as R/W before attempting to Copy or setting permissions.
coolsandie said:
Make sure you've mounted the /system partition as R/W before attempting to Copy or setting permissions.
Click to expand...
Click to collapse
now how do i do that ? sorry for my questions.

Categories

Resources