Related
I love the speed of Cyan's Rom, but I hate the HTC camera. Video is always choppy. I don't think I had this problem with the default camera.
Is it possible to swap the cameras?
bittermormon said:
I love the speed of Cyan's Rom, but I hate the HTC camera. Video is always choppy. I don't think I had this problem with the default camera.
Is it possible to swap the cameras?
Click to expand...
Click to collapse
ADB commands to switch out the .apk's of the camera and camcorder with the "default" camera from another build (most likely JF's because that's all Google)
lukekirstein said:
ADB commands to switch out the .apk's of the camera and camcorder with the "default" camera from another build (most likely JF's because that's all Google)
Click to expand...
Click to collapse
ummm, thanks for the reply, but did you mean to list the ADB commands? have playd a little with this in the past but haven't had any luck, so any help would be appreciated. As for now I think I am going to reformat to ext2 and play with Haykuro's Ion r1 for a day or 2.
if you ALREADY HAVE the camera.apk you want to install...then good. IF NOT, go download JF1.51 and pretty sure it will have the Google version camera.apk...MAKE A NANDROID BACKUP BEFORE YOU BEGIN!! I AM NOT RESPONSIBLE FOR ACCIDENTS! This is a simple procedure, so please pay attention and do this carefully, Its not my fault if your phone gets bricked. That being said, i have done this more than once and never bricked my phone. THAT being said, I CANNOT GUARANTEE YOU THE SAME RESULTS, SO PLEASE! PLEASE! BACKUP YOUR DEVICE AND YOUR DATA BEFORE ATTEMPTING THIS!
First go into terminal on your device and type:
Code:
su
mount -o rw,remount -t yaffs2, /dev/block/mtdblock3 /system
rm /system/app/camera.apk
rm /system/app/HTCAlbum.apk
this removes the HTC versions from your phone. Then just go ahead and push the google version camera.apk. The adb commands are:
Code:
adb push /exact/path/to/your/camera.apk /system/app
remember, DO NOT type "/exact/path/to..." replace this line with the path on your computer where you have the camera.apk, for example,
/Desktop/Android/camera.apk is where mine would be...
then thats it. FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY. once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!
-BMFC
bmfc187 said:
MAKE A NANDROID BACKUP BEFORE YOU BEGIN!!
Click to expand...
Click to collapse
Where's the fun in that??
bmfc187 said:
FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY.
Click to expand...
Click to collapse
I think that's what threw me off in the first place. Thanks for the help, I think I'll give it a shot after I get sick of Ion.
bittermormon said:
Where's the fun in that??
Click to expand...
Click to collapse
If you mess up sometimes you're screwed
bmfc187 said:
once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!
-BMFC
Click to expand...
Click to collapse
Ok so here's the problem I have had in the past, and am still having. I backed up and remover the HTC CAmera and HTCAlbum, but even after I push Camera.apk from JF's ROM, it doesn't show up. No Camera and no Gallery.
Having the same problems. I'd also like to restore the stock camera application, but after replacing the apk and so files from the JF1.51 build (and rebooting), neither Camera nor Gallery appears in the app drawer.
Any thoughts?
rogers dream
hi!
does anyone know if this procedure will work fine on a Rogers Dream? Should replacing the apk files work okay?
Thanks!
silvrhat
silvrhat7 said:
hi!
does anyone know if this procedure will work fine on a Rogers Dream? Should replacing the apk files work okay?
Thanks!
silvrhat
Click to expand...
Click to collapse
Nandroid Backup, do it and if it fails just restore backup. There's no reason it shouldn't.
I'm running Cyan 4.0.2 and I'm trying to push the camera.apk from the rooted T-Mobile builds and when I push the files and try to install the apk it says it can't be installed on this phone. Do I need to push the .odex files also? Another thing, what are the commands for console to delete the data/data files for the htc stuff?
Anyone know why I can't push the stock camera to cyan 4.0.2?
How are you going about it? Are you using console or are you trying to use the package installer?
Copy the old camera file from an old rom. I found one with the JF1.5 build.
mount /dev/block/mtdblock5 /data
mount /dev/block/mmcblk0p1 /sdcard
rm -r /data/app_s/HTCCamera.apk
rm -r /data/app_s/HTCCamera.odex
mv /sdcard/Camera.apk /data/app_s
This will delete the HTC camera and put the old one back. The ODEX file should be created once the .apk file installs. Hope this helps!
it says HTCCamera.apk couldn't be found
What rom are you using?
EDIT: Try this -- Using Cyan4.0.1 (I assumed that you were using JacxHeroski1.5r2..my bad!)
[cpde]mount /dev/block/mtdblock3 /system
mount /dev/block/mmcblk0p1 /sdcard
rm -r /system/app/Camera.apk
rm -r /system/app/Camera.odex
mv /sdcard/Camera.apk /system/app[/code]
I'm using 4.0.2 (pretty much the same as 4.0.1) but shouldn't I have to remove the gallery.apk also? What about the folders in /data/data? Should I remove those too?
I'm looking at the file structure and can't find there is a /data/data. As far as the gallery you shouldn't need to (didn't realize that it was updated.) But if you'd like to push that it would be:
Code:
mount /dev/block/mtdblock5 /data
mount /dev/block/mmcblk0p1 /sdcard
rm -r /system/app/HTCCamera.apk
rm -r /system/app/HTCCamera.odex (may or not be there)
mv /sdcard/Camera.apk /system/app
I've been looking and cannot find anything regarding a Gallery/Album.apk. But it should be able to use the Gallery that's already installed. Let me know how it goes.
ThR1LL said:
I'm running Cyan 4.0.2 and I'm trying to push the camera.apk from the rooted T-Mobile builds and when I push the files and try to install the apk it says it can't be installed on this phone. Do I need to push the .odex files also? Another thing, what are the commands for console to delete the data/data files for the htc stuff?
Click to expand...
Click to collapse
They're folders i believe.
Try "rmdir foldername"
bmfc187 said:
if you ALREADY HAVE the camera.apk you want to install...then good. IF NOT, go download JF1.51 and pretty sure it will have the Google version camera.apk...MAKE A NANDROID BACKUP BEFORE YOU BEGIN!! I AM NOT RESPONSIBLE FOR ACCIDENTS! This is a simple procedure, so please pay attention and do this carefully, Its not my fault if your phone gets bricked. That being said, i have done this more than once and never bricked my phone. THAT being said, I CANNOT GUARANTEE YOU THE SAME RESULTS, SO PLEASE! PLEASE! BACKUP YOUR DEVICE AND YOUR DATA BEFORE ATTEMPTING THIS!
First go into terminal on your device and type:
Code:
su
mount -o rw,remount -t yaffs2, /dev/block/mtdblock3 /system
rm -r /system/app/camera.apk
rm -r /system/app/HTCAlbum.apk
this removes the HTC versions from your phone. Then just go ahead and push the google version camera.apk. The adb commands are:
Code:
adb push /exact/path/to/your/camera.apk /system/app
remember, DO NOT type "/exact/path/to..." replace this line with the path on your computer where you have the camera.apk, for example,
/Desktop/Android/camera.apk is where mine would be...
then thats it. FYI, the HTC version has a separate gallery, the HTCAlbum.apk...THE GOOGLE VERSION DOES NOT HAVE A SEPARATE .APK FOR THE GALLERY. once you have pushed to google camera.apk you SHOULD have the camera and gallery and all...Good Luck!
-BMFC
Click to expand...
Click to collapse
This is what I tried to do at first but it kinda failed
nolimit78 said:
I'm looking at the file structure and can't find there is a /data/data. As far as the gallery you shouldn't need to (didn't realize that it was updated.)
I've been looking and cannot find anything regarding a Gallery/Album.apk. But it should be able to use the Gallery that's already installed. Let me know how it goes.
Click to expand...
Click to collapse
i think i figured out the data command its like
Code:
rm -r /data/data/com.android.camera
rm -r /data/data/com.htc.album
or something like that
For some reason, on the G1 with AOSP1.6_r1.2 & expansion, When i write the new maps.apk (3.2) From Here, over the origonal GoogleMaps.apk, It installs Fine. And loads fine, But Once Android is rebooted, the old file comes back... Reminds me of microsoft's shadow copy..... Anybody have a clue on how to stop it or force a particular file????
are you replacing the file in system/app? since that is where most roms store maps?
david1171 said:
are you replacing the file in system/app? since that is where most roms store maps?
Click to expand...
Click to collapse
You are correct.. thats where my GoogleMaps.apk is.
if you are replacing that file, then you could try to remove it, then install maps like a normal app onto the data partition.
david1171 said:
if you are replacing that file, then you could try to remove it, then install maps like a normal app onto the data partition.
Click to expand...
Click to collapse
Im in the middle of trying that right now.... It installed again without problems, now just waiting for the reboot to test if it got overwritten.
EDIT - Still no luck.... Just keeps getting Overwritten..... Can i change the Name of the new Google Maps so it has a new icon???
Any ideas anyone? Is this in the Wrong Forum??????
did you rm the file from /system/app/ and install it like a normal app? did you copy the .apk file from your sdcard to its location in /system/app/?
do you need commands on how to do this?
I deleted system/app/GoogleMaps.apk , and watched it disappear from the app drawer. then Moved the new GoogleMaps.apk into data/app/ . Installed it and ran it no problem... can exit and even go back into 3.2 no problem. but as soon as i reboot,the original GoogleMaps.apk is back in system/app/ ..... so im clueless.
I just installed successfully by copying the file to /system/app/Maps.apk
... not GoogleMaps.apk
Technochris1 said:
I deleted system/app/GoogleMaps.apk , and watched it disappear from the app drawer. then Moved the new GoogleMaps.apk into data/app/ . Installed it and ran it no problem... can exit and even go back into 3.2 no problem. but as soon as i reboot,the original GoogleMaps.apk is back in system/app/ ..... so im clueless.
Click to expand...
Click to collapse
how are you deleting it?
do that in the recovery console and see if that works
Code:
mount system
rm /system/app/GoogleMaps.apk
reboot
did what you said, after reboot the old googlemaps.apk is still there......
ls /system/app
remove maps.apk
david1171 said:
ls /system/app
remove maps.apk
Click to expand...
Click to collapse
in recovery or terminal?
Technochris1 said:
in recovery or terminal?
Click to expand...
Click to collapse
in terminal
Code:
su
ls /system/app/
(will give you a long list of .apk files)
(find the correct name for maps.apk)
reboot recovery
then in the recovery console
Code:
mount system
rm /system/app/-insert appname form above-.apk
reboot
I just did the above and as soon as you reboot again the old google maps is back!
Perhaps you could copy the new maps over while in recovery after deleting the old one?
The Maps apk file is named "GoogleMaps.apk" btw.
Phil
Technochris1 said:
For some reason, on the G1 with AOSP1.6_r1.2 & expansion, When i write the new maps.apk (3.2) From Here, over the origonal GoogleMaps.apk, It installs Fine. And loads fine, But Once Android is rebooted, the old file comes back... Reminds me of microsoft's shadow copy..... Anybody have a clue on how to stop it or force a particular file????
Click to expand...
Click to collapse
I see you are running Enomther's ROM. I was having the same problem - it turns out that Enomther's ROM had an easy fix all along. Run expsetup in terminal and choose Option 15 - you can delete Google Maps right there (I took advantage of deleting a few other apps that I don't use at the same time).
Then just reboot - place your new GoogleMaps.apk in the /system/app folder and you are golden.
Thanks dude. Thats the solution to my question....
I posted in the other thread...It is in the following folder
/system/sd/expstick/vsapps/GoogleMaps.apk
I am running the new app and am on Enoms latest AOSP 1.6.
Great! That worked a treat. Got it working just fine.
Phil
I try to download install it but I get error saying it couldnt be installed.
On the main page it says I need to manually update it? I dont know how to do that. Emailed the dev 2 times with no luck. Anybody can help me please?
Thanks
sti-06 said:
I try to download install it but I get error saying it couldnt be installed.
On the main page it says I need to manually update it? I dont know how to do that. Emailed the dev 2 times with no luck. Anybody can help me please?
Thanks
Click to expand...
Click to collapse
uninstall the old one first....
flybyme said:
uninstall the old one first....
Click to expand...
Click to collapse
that is the thing, when I went under "Manage Applications" setCPU is not even listed in there to uninstall it...
Under the same place I went under "All" clicked on setCPU and uninstall button is not highlighted
sti-06 said:
that is the thing, when I went under "Manage Applications" setCPU is not even listed in there to uninstall it...
Under the same place I went under "All" clicked on setCPU and uninstall button is not highlighted
Click to expand...
Click to collapse
try this in terminal
su
rm /system/app/setcpu.apk
sti-06 said:
that is the thing, when I went under "Manage Applications" setCPU is not even listed in there to uninstall it...
Under the same place I went under "All" clicked on setCPU and uninstall button is not highlighted
Click to expand...
Click to collapse
What ROM are you running? The ROM you are running probably installed setcpu to system so you would have to pull the old version using adb or you might be able to use a file explorer to find it and delete it.
flybyme said:
try this in terminal
su
rm /system/app/setcpu.apk
Click to expand...
Click to collapse
Didnt work, it said "rm failed for /systesm/app/setcpu/setcpu.apk, Read0only file system"
irishrally said:
What ROM are you running? The ROM you are running probably installed setcpu to system so you would have to pull the old version using adb or you might be able to use a file explorer to find it and delete it.
Click to expand...
Click to collapse
I am using kang-o-rama 0.9
I went under /system/app and all I see is setCpuWidgetMod. There is not an app called just setCPU
sti-06 said:
Didnt work, it said "rm failed for /systesm/app/setcpu/setcpu.apk, Read0only file system"
Click to expand...
Click to collapse
Remount and then do it again.
Or download root explorer and browse to /system/app and delete the .apk from there.
mortzz said:
Remount and then do it again.
Or download root explorer and browse to /system/app and delete the .apk from there.
Click to expand...
Click to collapse
I have the astro mananger, browsed inside /system/app but there is not a file called setcpu.apk....
If you have root explorer, do a search for setcpu
Sent from my Liquid using Tapatalk
sti-06 said:
I have the astro mananger, browsed inside /system/app but there is not a file called setcpu.apk....
Click to expand...
Click to collapse
why does it say you cannot install? its the fault of the rom dev of including it in his build. see if you can find and delete the app from /system/app
it may be that mod that you mentioned
su
remount
rm /system/app/setCpuWidgetMod.apk
flybyme said:
why does it say you cannot install? its the fault of the rom dev of including it in his build. see if you can find and delete the app from /system/app
it may be that mod that you mentioned
su
remount
rm /system/app/setCpuWidgetMod.apk
Click to expand...
Click to collapse
From what I see it does not give me reason it just says "Install unsuccessful"
tried:
su
remount
rm /system/app/setCpuWidgetMod.apk
on terminal and gave me same error "Read only file system"
also, when I typed "remount, it said "remount not found"...
If u install it, and while its downloading click the progress bar to get to the setcpu description screen in market, it'll show u the reason it failed.
Most likely it'll say something like insufficient space - which actually is a result of it not being able to overwrite the existing apk thats installed. To find the actual apk try this
find / -name *setcpu*
You should get a list of all files with setcpu on your phone. rm -F the correct apk. If its on /system you will need to do 'adb remount' from your windows command prompt, then open a adb shell before you can delete it.
btw it may actually be these two:
rm /data/data/com.mhuang.overclocking
rm /data/app/com.mhuang.overclocking-1.apk
kam187 said:
If u install it, and while its downloading click the progress bar to get to the setcpu description screen in market, it'll show u the reason it failed.
Most likely it'll say something like insufficient space - which actually is a result of it not being able to overwrite the existing apk thats installed. To find the actual apk try this
find / -name *setcpu*
You should get a list of all files with setcpu on your phone. rm -F the correct apk. If its on /system you will need to do 'adb remount' from your windows command prompt, then open a adb shell before you can delete it.
Click to expand...
Click to collapse
Thanks. It says: "Package file was not signed correctly"
kam187 said:
btw it may actually be these two:
rm /data/data/com.mhuang.overclocking
rm /data/app/com.mhuang.overclocking-1.apk
Click to expand...
Click to collapse
I looked inside the /data/ with ASTRO but there is nothing in there...
Yeah not sure why astro shows it empty. It may be because it doesnt run with root privaledges and only requests them when you try to delete something.
Use adb to check.
sti-06 said:
Thanks. It says: "Package file was not signed correctly"
Click to expand...
Click to collapse
yes this is because the old one is installed.
Use ES file explorer...not sure if its root access will work on that rom but it should
flybyme said:
yes this is because the old one is installed.
Use ES file explorer...not sure if its root access will work on that rom but it should
Click to expand...
Click to collapse
U mean EStrongs File Explorer right?
sti-06 said:
U mean EStrongs File Explorer right?
Click to expand...
Click to collapse
yes
it would be best if you do it through adb though
Hi,
I'm new to Android. I recently got a Samsung Captivate (default f/w version: I897UCJH7), which I upgraded to Froyo (I897UCJI6) and rooted etc. I also deleted a bunch of stock apps.
I'm sure this has been answered an umpteen number of times before but I could not find an answer! I did some searching online to see what is the best way to reinstall some of the apps I lost - specifically the 'music player' and couple others. I did find some of the .apk files but when I tried an adb install, I got the following error message:
./adb install apps/MusicPlayer.apk
pkg: /data/local/tmp/MusicPlayer.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
1896 KB/s (5509666 bytes in 2.837s)
I tried doing this with the 'app installer' app but that didn't work either. Saw somebody suggesting that editing the manifest using eclipse would work - is that the only way to go? Any help greatly appreciated!
Thanks in advance for your time.
balajisv said:
Hi,
I'm new to Android. I recently got a Samsung Captivate (default f/w version: I897UCJH7), which I upgraded to Froyo (I897UCJI6) and rooted etc. I also deleted a bunch of stock apps.
I'm sure this has been answered an umpteen number of times before but I could not find an answer! I did some searching online to see what is the best way to reinstall some of the apps I lost - specifically the 'music player' and couple others. I did find some of the .apk files but when I tried an adb install, I got the following error message:
./adb install apps/MusicPlayer.apk
pkg: /data/local/tmp/MusicPlayer.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
1896 KB/s (5509666 bytes in 2.837s)
I tried doing this with the 'app installer' app but that didn't work either. Saw somebody suggesting that editing the manifest using eclipse would work - is that the only way to go? Any help greatly appreciated!
Thanks in advance for your time.
Click to expand...
Click to collapse
You can always re-flash after backing up your current apps
Can someone upload the Apk file for the Google Movies app for Xoom? The OTA isn't coming fast enough for me.
Sent from my Xoom using XDA App
+1 to this request
yes, we need native Google Movies apk.
my 3.1 up are did not bring this app to me.
as well, no movie rentals feautre in market for me, outside the US.
thanks!
http://forum.xda-developers.com/showpost.php?p=13769278&postcount=8
$ adb shell
cd system/app
# ls -l Videos.apk
-rw-r--r-- root root 3258 2008-08-01 05:00 Videos.apk
$ adb install Videos.apk
1305 KB/s (861401 bytes in 0.644s)
pkg: /data/local/tmp/Videos.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
$ adb install -r Videos.apk
1320 KB/s (861401 bytes in 0.636s)
pkg: /data/local/tmp/Videos.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
I then got out the hammer and did an adb remount (since I'm now rooted) and did a pull/push. Still no dice. I then did a reboot. Still no dice.
Whatever this is it seems to be under Google's thumb back in the cloud.
I'm re-pushing the original .apk and awaiting further developments.
Any way you won't be able to watch movies If you're outside us! I rented a movie on the android market and after I was billed I tried to watch the movie on the movie app and it said That movie contents is only available to watch inside us. I guess it checks IP location. I also tried using a us proxy but it didn't work properly
Enviado desde mi MB860 usando XDA Premium App
any way to get it to read avi or xvid files?
New Version
Has Anyone Got The New Version
I Got It
Mine has tried to install the update for months now, never worked. Finally it installed today, but as I'm in the UK, it says thus service not supported here.... :-(
Sent from my Xoom using XDA Premium App
can someone kindly upload the LATEST version (get it from market using Xoom, and pull using root explorer or ES Explorer)