installing system apps - Epic 4G Android Development

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

Related

HELP Reinstall APK!!!

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

[Q] DSP Manager

I flashed Cyangenmod 7.1 RC, flashed Frank's Mod to remove all CM7 apps, flashed dark launcher theme.
I copied DSPManager.apk to SDcard prior to flashing Frank's Mod. But it says it can't be installed.
Is there a way to install DSPManager again?
Thanks!
You have to install it back to system/app folder and set permissions if using root explorer or adb push it back. Just hitting install will not do it.
jerrycycle said:
You have to install it back to system/app folder and set permissions if using root explorer or adb push it back. Just hitting install will not do it.
Click to expand...
Click to collapse
Thanks for the reply.
But how do I do that?
I moved the apk file to system/app, changed Permission (selected RWX for owners) but it still won't install.
It won't let me change permissions at all inside sdcard.
Instructions for installing apk with root explorer:
1. navigate to file and copy apk
2. navigate to system/app
3. tap on r/w at the top
4. paste all apk
5. change permissions to match the other apks's in the system/app directory.
6. Reboot

Removing apps from /system/app (Prime)

In older versions of prime, I used to be able to use root explorer to remove applications from /system/app, and they would disappear from the tray. Lately, when I try to delete them using root explorer, they disappear when I hit delete, but they are still in the menu, and still fully functional.
I really despise having facebook on here (they just added it to the rom), and the other bloat that came with it, but not can't seem to remove it. Anyone know how?
compywiz said:
In older versions of prime, I used to be able to use root explorer to remove applications from /system/app, and they would disappear from the tray. Lately, when I try to delete them using root explorer, they disappear when I hit delete, but they are still in the menu, and still fully functional.
I really despise having facebook on here (they just added it to the rom), and the other bloat that came with it, but not can't seem to remove it. Anyone know how?
Click to expand...
Click to collapse
Have you tried using Titanium Backup to uninstall the app after you have removed it from the system/app folder?
Mark.
mskip said:
Have you tried using Titanium Backup to uninstall the app after you have removed it from the system/app folder?
Mark.
Click to expand...
Click to collapse
It appeared to work using Titanium. Does this mean it may be a root explorer bug? I guess I'll try downgrading to an older version of RE. I am not a big fan of titanium.
Tried a known working version of root explorer with no luck. I guess something changed in the rom or superuser which is preventing it from working properly.
compywiz said:
Tried a known working version of root explorer with no luck. I guess something changed in the rom or superuser which is preventing it from working properly.
Click to expand...
Click to collapse
If you remove the app from /system/app also delete the associated dalvik executable file from /data/dalvik-cache. This should kill the app.
Roach2010 said:
If you remove the app from /system/app also delete the associated dalvik executable file from /data/dalvik-cache. This should kill the app.
Click to expand...
Click to collapse
I tried deleting the executable file as well, but still no luck.
Turns out it seems to be more than just the apps, I tried removing the bootanimation from /system/media with no luck. It's like I don't have r/w access.
compywiz said:
I tried deleting the executable file as well, but still no luck.
Turns out it seems to be more than just the apps, I tried removing the bootanimation from /system/media with no luck. It's like I don't have r/w access.
Click to expand...
Click to collapse
This is probably a stupid question but did you make sure the folder was Mounted to R/W (and checking it sayds R/W at the top) via the button at the top of Root Explorer before attempting to delete the file?
Mark.
mskip said:
This is probably a stupid question but did you make sure the folder was Mounted to R/W (and checking it sayds R/W at the top) via the button at the top of Root Explorer before attempting to delete the file?
Mark.
Click to expand...
Click to collapse
It's ok, thanks for trying to help. Root explorer pops up a message if you try to delete something in R/O mode saying "... cannot be deleted because the file system is read-only."
It also seems to be working now, no idea why. Maybe a reboot did the trick. The files I remove from /system/app are now disappearing from the menu.
Still unsure on the boot animation though, is that still stored in /system/media/bootanimation.zip?
compywiz said:
It's ok, thanks for trying to help. Root explorer pops up a message if you try to delete something in R/O mode saying "... cannot be deleted because the file system is read-only."
It also seems to be working now, no idea why. Maybe a reboot did the trick. The files I remove from /system/app are now disappearing from the menu.
Still unsure on the boot animation though, is that still stored in /system/media/bootanimation.zip?
Click to expand...
Click to collapse
Yes bootanimation is still stored in /system/media/
compywiz said:
It's ok, thanks for trying to help. Root explorer pops up a message if you try to delete something in R/O mode saying "... cannot be deleted because the file system is read-only."
It also seems to be working now, no idea why. Maybe a reboot did the trick. The files I remove from /system/app are now disappearing from the menu.
Still unsure on the boot animation though, is that still stored in /system/media/bootanimation.zip?
Click to expand...
Click to collapse
Yes but if you're on Prime 2.0.3, there's one in data/local
Anything bootanimation in data/local will over ride the one in system/media.
compywiz said:
It's ok, thanks for trying to help. Root explorer pops up a message if you try to delete something in R/O mode saying "... cannot be deleted because the file system is read-only."
It also seems to be working now, no idea why. Maybe a reboot did the trick. The files I remove from /system/app are now disappearing from the menu.
Still unsure on the boot animation though, is that still stored in /system/media/bootanimation.zip?
Click to expand...
Click to collapse
Yes it is.
If you copy your new bootanimation.zip file to /data/local then it will look for it there first (before looking in system/media) and load up the new file. Tested it and it works fine using Root Explorer to copy the file across but just make sure the file is made specifically for the Transformer.
Mark.
Thanks guys!

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.

System "semi" Writable?

I recently Wiped my Phone completely and decided to Re-Flash Viper 1.2.1.
I noticed a problem prior to re-installing but thought nothing of if since it wasn't crucial at the time.
In Root explorer, I am able to delete [i normally delete boot animations] system files but not add where I need to add. Example, I wanted to add a ringtone to my system/media/ringtones folder. I normally [for the last six years] could just copy and paste such files using a root file manager.
However, when I any these files to for example /system/customize/resource/ it doesnt add it. BUT IT DOES rename the file and save it under a dif folder.
Example. Tried copying-copy to-moving to "androidtwirp.mp3" from sdcard to /system/media/notifications and a message pops up saying"notificationsandroidtwirp.mp3 successfully copied-moved to" and it saves notificationsandroidtwirp.mp3 to /system/media/ and it stays there. retrying from that location only results in "notificationsnotificationsandroidtwirp.mp3".
So not only does it rename the file but it saves it in the wrong location. I am at a loss for word. I tried the basics to tryand fix this but i cant seem to hit it on the head.
Thanks!
Edit: Not updating Super SU app, file explorer seems to have worked. Will attempt to duplicate problem to see what actually caused.it.
FOUND IT!
Updating my ES File explorer broke my system writing ability. DO NOT UPDATE is because when you do...
Any file you move, copy/paste to the system will not work properly.
This first happened when I tried to copy and paste a boot animation after I updated ES root explorer. It would rename whatever file i was trying to paste/move/copy over and save it under a sub folder.
example.
copying a ringtone [i.e. androidtwirp.mp3] from SDCard to System folder, the path is /system/media/audio/ringtones/ and it would rename it "ringtonesandroidtwirp.mp3" and save it under /system/media/audio/.
So basically not only was it renamed [which i didnt want it to be] but it would save it to the folder before the actual folder i needed it to be in, plus it would corrupt the file deeming it useless.
moving "ringtonesandroidtwirp.mp3" into the correct folder would only result in "ringtonesringtonesandroidtwirp.mp3"
this happened across the board with all files being moved around
The ES File Explorer version 1.2.1 comes with works flawlessly so don't update it.
I uninstalled ES [also any folders in SDcard related to it] and downloaded JRummy's root explorer and everything is back to normal except i have to reboot the phone to see files [like ringtones and notifications] that i added to the system.
I think it has something to do with our devices having an unlocked bootloaader, but still S-ON. There's S-OFF in the Dev section now if you really need to write to the system folder a lot.
I came from the Vibrant so I know what you're going through
Yeah, im on a low hboot so s-off might not be in my plans since I can practically flash what I want but it was ES file explorer, when I updated the apk the root permissions broke when writting to the system. I emailed the dev and they said they'd have it fixed on the next update.
echo en Android

Categories

Resources