Q>Accidentally delete system camera, how do i bring it back? - Samsung Galaxy S (4G Model)

I was trying to use whitehawx custom camera, but during the proccess i accendetly delete the camera.apk in the system/app folder and the camera short from the launcher disappear.. When i copy the new Camera.apk file into the same folder it still doesn't come back. Is there anyway i can get it back?

Can you run the app from your file explorer? Is it in your app drawer?
Sent from my SGH-T959V using XDA App

Factory reset?... Titanium backup?
Sent from my SGH-T959V using xda premium

No I am unable to run the app from the file explorer and I didn't do a back up on titanium backup before doing this. I was hoping I won't have to reinstall the ROM.

Install app installer from market. Put the camera apk on you SD card. Run app installer and find camera.apk and install it. See if that works.
Sent from my SGH-T959V using xda premium

qpqpqp said:
No I am unable to run the app from the file explorer and I didn't do a back up on titanium backup before doing this. I was hoping I won't have to reinstall the ROM.
Click to expand...
Click to collapse
You may need to fix the permissions on it, too.
Sent from my SGH-T959V using XDA App

just redownload the rom.zip. open the zip file. go to system/app. copy the camera.apk out of it. push that (do not install) to the rom you have flashed now. and you are fine

Related

Deleted Swype on accident :(

I was messing with my newly rooted A2 while driving (I know, it's a big no no ><) and I accidentally deleted swype. I tried factory resetting the phone and now all that shows up is the Multi touch keyboard in settings. Can anyone post it so I can re-install it?
Here ya go. And remember no playing with your phone while driving...You could really mess up your phone.
Thank you! I installed it but it's not working?? I did it like a regular app, am I supposed to install it in a different way??
Sent from my MB865 using XDA App
You have to use root explorer and put it into /system/apps/ folder then restart the phone.
I did and still nothing >< do I need to set permissions??
Edit: or maybe I need the .odex file that comes with it?? I'm just giving ideas :/
Sent from my MB865 using XDA App
Ok so I messed around with the permissions a bit and I can get Swype to appear in the settings and input method BUT it keeps FC whenever I try to access swype settings or switch to it as my keyboard. Any suggestions?? DO I need the .odex file??
Sent from my MB865 using XDA App
you need to fix permissions and need the odex file, as well as the libSwypeCore.so file from /system/lib
I overwrote the latinIME.apk and latinIME.odex on my atrix 2 and forgot to backup can someone get me the stock apk and odex files? and will using root explorer work or will i have to use adb? thanks in advance, i'm kinda new at this.
nevermind, i found the post with all of the system apps, it's right here if anyone needs it.
lilhaiti said:
You have to use root explorer and put it into /system/apps/ folder then restart the phone.
Click to expand...
Click to collapse
Do NOT use root explorer EVER, to put system files in place. ALWAYS use adb to push the files, then chmod them to 550 once they are moved into place.
Jim
Sent from my MB865 using xda premium
Use swift x it is much better ;-)
Sent from my MB865 using XDA App

Download/save APK from appstore

Is there an easy way to pull apps (apk) from appstore (google,amazon) and save it in a dir?
Sent from my ADR6400L using XDA App
Get an file manager like es file explorer. Go under app manager and it will list all installed apps. Long press and choose backup. It will then be in a folder called backup on your SD card.
Sent from my ADR6400L using XDA App
a1exus said:
Is there an easy way to pull apps (apk) from appstore (google,amazon) and save it in a dir?
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Just copy the apk file from /data/app
Es file explorer great option. I allow app monster pro to backup mine automatically. It achieves all versions of any given apk if the auto setting is checked.
Appmonster will save all your apps as apk into a back up folder on your sd card.

Want to install apk's

Ok, I have a rooted Charge running Eclipse Rom
I have downloaded some apk's & placed them on my sd card (buddies now, Samsung weather widget & a couple of other stock ones)
How do I get them from my sd card to system/app??
markkitos said:
Ok, I have a rooted Charge running Eclipse Rom
I have downloaded some apk's & placed them on my sd card (buddies now, Samsung weather widget & a couple of other stock ones)
How do I get them from my sd card to system/app??
Click to expand...
Click to collapse
If they are not system app, you can download 'appinstaller" by FunTrigger and browse to the apk and install. If system app, you can use "root explore" or "ES File Explorer" from the Market and drop the apk in /Sytem/app/
Good luck.
You should just be able to click on them with Root Explorer to install them. If installation fails, just push them to /system/app with Root Explorer.
Sent from my SCH-I510 using xda premium
kvswim said:
You should just be able to click on them with Root Explorer to install them. If installation fails, just push them to /system/app with Root Explorer.
Sent from my SCH-I510 using xda premium
Click to expand...
Click to collapse
it wouldn't install the system apps. I tried to move & copy to the system/app but it said it was a read only file
I really want the buddies now & samsung weather widget but can't figure out how to move them
markkitos said:
it wouldn't install the system apps. I tried to move & copy to the system/app but it said it was a read only file
I really want the buddies now & samsung weather widget but can't figure out how to move them
Click to expand...
Click to collapse
You have to mount /system/app as read/write. If you're using Root Explorer, tap the "Mount R/W" button at the top of the /system/app directory. If you're using another file explorer, you should be able to find an option to do it, but I don't know any of the other ones personally.
Thanks Guys
This is why I love XDA!!!
Some apks will not install with this rom tho like the samsung music player
Sent from my SCH-I510 using XDA App
whattheh said:
Some apks will not install with this rom tho like the samsung music player
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
they're probably not compatible with his modified framework etc... there is/was same issue on Infinity with stock Samsung widgets and a few touchwiz4 ones
blazing through on my Nexus Prime via XDA app

[Q] How could I get system app from firmware?

Is there any way for me to extract system apps from firmware, like file manager, and install it or use it as usual apk?
Try titanium back up. Back up your fw, install any desired system app on another compatible fw using restore...
Did it a couple of times for music app & calculator..
Sent from my GT-I9003 using xda premium
Just extract the ROM's tar file using 7-zip etc. then use MagicISO to extract the System.rfs file. You'll find all the system apps in app folder.
mznk said:
Just extract the ROM's tar file using 7-zip etc. then use MagicISO to extract the System.rfs file. You'll find all the system apps in app folder.
Click to expand...
Click to collapse
I tried that, but when I installing application on device I see: "App is not installed"
You'll have to make it a system app. Do it via Titanium Backup or using any File Explorer with root functionality (Set permission as rw-r--r--).
aannzzoorr said:
I tried that, but when I installing application on device I see: "App is not installed"
Click to expand...
Click to collapse
you need to deodex those apk's first.
xGiox said:
you need to deodex those apk's first.
Click to expand...
Click to collapse
How?
Go dev section
there some deodex cwm zip version for u to download
If u only some apps
Just unzip it and copy it to your system app folder.
just search before post
Sent from my GT-I9003 using XDA
chongns said:
Go dev section
there some deodex cwm zip version for u to download
If u only some apps
Just unzip it and copy it to your system app folder.
just search before post
Click to expand...
Click to collapse
I tried but app is not in drawer, it's only in system/app folder.
aannzzoorr said:
I tried but app is not in drawer, it's only in system/app folder.
Click to expand...
Click to collapse
Set permissions and lib files may be necessary. Place lib files in /system/lib or something like that
Cheers
Sent from my GT-i9003 powered by Stable and Smooth CyanogenMod 9!
aannzzoorr said:
I tried but app is not in drawer, it's only in system/app folder.
Click to expand...
Click to collapse
Change permission to rw r r
Change own to root root
Using root explorer
And restart the phone
Sent from my GT-I9003 using Tapatalk 2
Originally Posted by aannzzoorr
I tried but app is not in drawer, it's only in system/app folder.
Click to expand...
Click to collapse
Change permission to rw r r
Change own to root root
Using root explorer
And restart the phone
Sent from my GT-I9003 using Tapatalk 2
Click to expand...
Click to collapse
Sent from my GT-I9003 using the XDA mobile application powered by Tapatalk
Still can't see it...

Moving Stock Camera?

Is there a way that u can move the original camera app with root user ability using a File Manager to where the camera app is at in JellyBam ROM or is that possible?
Sent from my HTC One S using xda premium
Use adb
Sent from my HTC VLE_U using xda app-developers app
Spastic909 said:
Use adb
Sent from my HTC VLE_U using xda app-developers app
Click to expand...
Click to collapse
So the way I mentioned, can't be done as long I save them in root extensions in File Manager?
Sent from my HTC One S using xda premium
You can copy a system apk and save it in /sdcard/ for example, and then copy it back to /system/app using a filebrowser with root-function, such as ES File Explorer, Root Explorer etc. No need for adb if you dont want to.
But I doubt the stock camera app will work on an AOSP build.
Goatshocker said:
You can copy a system apk and save it in /sdcard/ for example, and then copy it back to /system/app using a filebrowser with root-function, such as ES File Explorer, Root Explorer etc. No need for adb if you dont want to.
But I doubt the stock camera app will work on an AOSP build.
Click to expand...
Click to collapse
This is where your app comes in handy.
Darknites said:
This is where your app comes in handy.
Click to expand...
Click to collapse
The File Manager in root access u mean and do u believe it might work cuz Goat doesn't think so?
Sent from my HTC One S using xda premium
TheCrow1372 said:
The File Manager in root access u mean and do u believe it might work cuz Goat doesn't think so?
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
If you installing the camera from say CM10 which I would call stock for AOSP but I think Goatshocker thinks you on about the Sense camera.
If you use his app then load it up connect it to pc with usb debugging on and then replace Gallery2.apk and then reboot, oh and a tip don't let the app install it but just push the apk.
Also, the All In One Kit can push them too yes?
Sent from my HTC One S using xda premium
TheCrow1372 said:
Also, the All In One Kit can push them too yes?
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
No idea on that but Goatshocker app works fine for what you want to do.
Did you sort this yet?
When you said "stock camera", I obviously assumed you ment the stock camera that comes with the phone, which means - sense.
Moving the camera between different AOSP roms shouldnt cause any issue. Neither should moving the sense camera between sense roms.
But moving the Sense camera to an AOSP rom - thats what I doubt will work.
In any case, you can always (if youre rooted, obviously ) copy the camera apk and replace it. If it doesnt work it wont start, thats it. The actuall copy/replace will still work.
Do note that you might need to reboot the phone after modifying /system/ applications.
In very rare cases you might have to do it through a recovery, using ADB, because the system might block access (similar to windows "the file is in use" message when trying to change an open file).
In any case, you should always back up the file you are replacing, before replacing it, in case the new file doesnt work.
I usually do it an ugly way, simply renaming the old file to "blabla.apk_"
That way the file will still be there, but the system wont recognize it as an application. If the new file works as it should, I go back and delete the ".apk_" file.
Just to clarify a final time: Replacing the camera app in /system/ will in 99% of the cases work with a root explorer on the phone, the last 1% might need to use ADB while in recovery or bootloader.

Categories

Resources