I love the new stable cyanogen 5.0.7 for the G1, I just miss the 3d gallery. I was able to find the 3d gallery and install it just fine, but now I have double gallery in app tray. Is it possible to remove the default gallery, and if so, how is it done? I have already tried the following:
Code:
rm /system/app/gallery.apk
SG_Shadow said:
I love the new stable cyanogen 5.0.7 for the G1, I just miss the 3d gallery. I was able to find the 3d gallery and install it just fine, but now I have double gallery in app tray. Is it possible to remove the default gallery, and if so, how is it done? I have already tried the following:
Code:
rm /system/app/gallery.apk
Click to expand...
Click to collapse
did you
Code:
adb remount
first? or use root explorer to delete it
samir5421 said:
did you
Code:
adb remount
first? or use root explorer to delete it
Click to expand...
Click to collapse
I entered the code listed above to remove the gallery.apk from the system. What ends of happening is the 3d gallery gets removed, not the default system gallery. Is there another method, aside from the code I entered in my original post?
SG_Shadow said:
I entered the code listed above to remove the gallery.apk from the system. What ends of happening is the 3d gallery gets removed, not the default system gallery. Is there another method, aside from the code I entered in my original post?
Click to expand...
Click to collapse
here:
I wanted the 3d gallery back which was removed from test 6, so what i did was unzip test5 and renamed Gallery3D.apk which is located in the /system/app folder to "Gallery.apk" and then used adb to push it back to my phone after installing test 6
adb remount
adb push Gallery.apk /system/app
worked fine for me
yozpalang said:
here:
I wanted the 3d gallery back which was removed from test 6, so what i did was unzip test5 and renamed Gallery3D.apk which is located in the /system/app folder to "Gallery.apk" and then used adb to push it back to my phone after installing test 6
adb remount
adb push Gallery.apk /system/app
worked fine for me
Click to expand...
Click to collapse
Did you have double galleries?
SG_Shadow said:
Did you have double galleries?
Click to expand...
Click to collapse
NO, when you rename it it will replace the 2D gallery
Can you please post the .apk for the 3D Gallery?
pziv2 said:
Can you please post the .apk for the 3D Gallery?
Click to expand...
Click to collapse
...here ya go. I will try to install via adb from home. I was just at work and couldn't use adb, so I just tried numerous different things via terminal. So hopefully when I get home, I can just rename the file Gallery.apk and push via adb.
yozpalang said:
NO, when you rename it it will replace the 2D gallery
Click to expand...
Click to collapse
Thanks man. I'm at home right now and I just followed the easy, simple instructions and BINGO, done. No double galleries...
SG_Shadow said:
Thanks man. I'm at home right now and I just followed the easy, simple instructions and BINGO, done. No double galleries...
Click to expand...
Click to collapse
NP, glad I could help
any way to remove 3d gallery or the other gallery?? i dont care which one is removed as long as i have 1.. via terminal becuz im no good with adb
yozpalang said:
here:
I wanted the 3d gallery back which was removed from test 6, so what i did was unzip test5 and renamed Gallery3D.apk which is located in the /system/app folder to "Gallery.apk" and then used adb to push it back to my phone after installing test 6
adb remount
adb push Gallery.apk /system/app
worked fine for me
Click to expand...
Click to collapse
Hi Yozpalang,
I am very much newbiee in rooting and after reading this whole thread i didnt got where and how to enter this commands(amd adb remount
adb push Gallery.apk /system/app).
By great effort and loads of reading, i was able to root Cyanogen 5.0.7 Rom to my G1 and its working perfectly. After going through this thread i am also interested in having 3D gallery instead of existing photo gallery. So can u please put the step by step procedure for getting it installed in my G1.
SG_Shadow said:
...here ya go. I will try to install via adb from home. I was just at work and couldn't use adb, so I just tried numerous different things via terminal. So hopefully when I get home, I can just rename the file Gallery.apk and push via adb.
Click to expand...
Click to collapse
Isn't the gallery.apk also the camera app? Aren't the two tied in? Does the "3D gallery" come with the camera tied in?
Related
Can anyone tell me the Files and ADB commands to push the default IM app to Hero. I tried all the ones on the market and the default one is still my favorite.
It's just IM.apk.
adb push IM.apk /data/app
alritewhadeva said:
It's just IM.apk.
adb push IM.apk /data/app
Click to expand...
Click to collapse
tried that already, didnt work.
i see there is a tmoimplugin.apk also, i tried pushing this to, still didnt work
What error do you get?
alritewhadeva said:
What error do you get?
Click to expand...
Click to collapse
it pushes fine, no errors, after i reboot, i still see no IM in app drawer
i hate to post this in one of the hero threads, but can anyone give me an idea of how i go about doing this
If you are running apps to sd you may need to push to /system/sd/app instead. Or maybe app_s Also I would try and run the filesystem repair after push just to make sure everything on the sd card partition is copestetic.
There are actually 3 files that need pushing:
IM.apk
TmoImPlugin.apk
ImProvider.apk
I've attached a zip file with all three that I keep as a back up on my PC. This is NOT an update.zip.
davidemartindale said:
There are actually 3 files that need pushing:
IM.apk
TmoImPlugin.apk
ImProvider.apk
I've attached a zip file with all three that I keep as a back up on my PC. This is NOT an update.zip.
Click to expand...
Click to collapse
Try pushing those 3 files to /system/app_s . That's usually where hero apps go
davidemartindale said:
There are actually 3 files that need pushing:
IM.apk
TmoImPlugin.apk
ImProvider.apk
I've attached a zip file with all three that I keep as a back up on my PC. This is NOT an update.zip.
Click to expand...
Click to collapse
thanx, will try this when i get home.
I have noticed that a lot of roms have voice dialer and footprints removed. I, one of the few, actually use them.. and was wondering if anyone has these files laying around.
I know how to push files (I think), but is that basically all you have to do? Just push the right files into system/apps or whatever?
Nobody eh? Nuts!
Wow thanks. Will give it a shot later today!
edit: link is broken
Seems to work now. Thanks man!
So do you just push all these files to the apps directory?
I pushed the voice search and dialer apks to the app_s dir, didnt try footprints as i already have it installed... but yeah its contained in the same dir, so give it a shot, back up your stuff in case something goes awry
Well I installed voice diaaler and it somewhat works. Recognizes what I say but force closes when I select a number to call.
Footprints won't even install lol.. via adb or through file manager. Oh well, hopefully they get included in other Roms
I dont have that issue, my voice search and dialer work just fine. These were the commands i used
adb remount
adb push<insert file name> /data/app_s
adb shell reboot
Click to expand...
Click to collapse
origins81 said:
I dont have that issue, my voice search and dialer work just fine. These were the commands i used
Click to expand...
Click to collapse
Hmm different commands then what I used. Where are your files located when you push them? Tools directory?
Correct sir, they're in the SDK tools dir
Here's the string I used
adb remount
adb push VoiceDialer.apk /data/app_s
adb push VoiceSearch.apk /data/app_s
adb shell reboot
Click to expand...
Click to collapse
What commands did you use?
On a side note, this place here is a great resource tool to learn from. Check it out when you get a chance
http://developer.android.com/guide/developing/tools/adb.html
origins81 said:
Correct sir, they're in the SDK tools dir
Here's the string I used
What commands did you use?
Click to expand...
Click to collapse
1. adb push VoiceDialer.apk /data/local/tmp
2. adb shell pm install /data/local/tmp/VoiceDialer.apk
3. adb shell rm /data/local/tmp/VoiceDialer.apk
I ran your commands and voice dialer installed. Will test it a bit.
Tried the same thing wtih footprints but for some reason that didn't get installed. i had to use file manager to go to system/apps and try and install it from there, then it just said can't be installed on this phone.
I am not sure what to do with the odex files. i thought they were created by system when the app is installed or system is updated.. don't really know what to do with them.
origins81 said:
I'm using bcrook's qteknology's hero v1.3b rom port, it's got footprints installed but no voice dialer and search so i just pushed them, also I extracted the footprints apk and odex files. Hope it helps...
Weird...it wont let me attach the zip files...
Click to expand...
Click to collapse
is it work on CM ROM ?
wg1 said:
is it work on CM ROM ?
Click to expand...
Click to collapse
What are you trying to install?
I was just looking for voice dialer!
Thanks for the upload!
i have all the apps i want... but i cant fine how to put theme back thru adb push... im sorry but i cant.... can some one please be so kind and show me... again im sorry and thank you in adv advance.....
Big-O-Devil said:
i have all the apps i want... but i cant fine how to put theme back thru adb push... im sorry but i cant.... can some one please be so kind and show me... again im sorry and thank you in adv advance.....
Click to expand...
Click to collapse
hey when you find out can you let me know also please 7604439324 or [email protected] thank you
Big-O-Devil said:
i have all the apps i want... but i cant fine how to put theme back thru adb push... im sorry but i cant.... can some one please be so kind and show me... again im sorry and thank you in adv advance.....
Click to expand...
Click to collapse
Most themes involve multiple apps and usually is best to be flash rather than be pushed via Adb. With pushing u would just push the themed apps to ur phone
Here's how to push apps via adb:
Code:
adb remount
adb push BlahBlah.apk /system/app
But as PapaSmurf said above, most Themes involve multiple .apks and even some framework files too, and most devs have created flashable .zips for their themes, so flashing the .zip is the easier and better way to add a theme to your setup.
ok so to make it flashable... all i have to do is convert it into a zip file.?.?
Big-O-Devil said:
ok so to make it flashable... all i have to do is convert it into a zip file.?.?
Click to expand...
Click to collapse
Best bet is to dl a theme of some sort and replace the apks with the ones u want to flash and then delete the ones u don't want. Then resign the zip with avabox
Here is how to push multiple apps at once.....
create a folder anywhere and name it anything you want. I'll name mine system
inside there make another folder and name it app
put all your apps you want to push in the app folder.
Now go back to your system folder and while holding shift right click on an empty space and select open command windows here.
type in
Code:
adb remount
adb push app /system/app
This will push all apps in the app folder. You can also do with with framework. Just push to /system/framework
After you push apps you will need to wait while they all get loaded and setup even after the push process is done.
So I am having issues with the way Gallery sets wallpapers.
Even though I have a high resolution photo, it insists on cropping the photo and somehow scaling it without zooming. So I end up with a really terrible zoomed in portion of my original picture. I would prefer to just dump my wallpaper in the touchwiz or launcher pro wallpaper chooser.
Thoughts?
Up, any ideas?
they are inside TwWallpaperChooser.apk and about setting up wallpapers is best if u use the correct res 960x800 that way it won't crop it or scale it.
When setting the wallpaper, you can grab the crop border and "pull it out" to fit the entire image so it won't be cropped.
I have done this but it still looks terrible even though the picture looks great on the computer
Sent from my SAMSUNG-SGH-I897 using XDA App
inku said:
they are inside TwWallpaperChooser.apk and about setting up wallpapers is best if u use the correct res 960x800 that way it won't crop it or scale it.
Click to expand...
Click to collapse
Hmm being new to android your statement about it being inside an APK confuses me. I thought APK's were containers to be installed on the phone. Do you have any insight on how to add/remove files from an APK? As far as the proper resolution, it continues to scale the picture from the size presnted on the screen will degraded quality.
Another question, in the android theming forum, Alot of themes are labled CM5/6, does this mean they can only be used with phones with CM? or just optimized?
I'm having this same problem. Anyone figure out a way add pictures to the twWallpaper chooser?
I take no responsibility if you brick your phone doing this. Modifying system files is always done at your own risk.
To modify an .apk (in this case TwWallpaperChooser.apk):
step 0: Make a backup!!!
adb shell
su
cp /system/app/TwWallpaperChooser.apk /sdcard/TwWallpaperChooser.bak
Click to expand...
Click to collapse
then get out of adbshell
exit
exit
Click to expand...
Click to collapse
(that's right, 2 "exit"s, one to exit root, one to exit the shell)
1) pull the file from your phone to your computer:
adb pull /system/app/TwWallpaperChooser.apk
Click to expand...
Click to collapse
2) Open the archive
a) If in linux just use archive manager
b) In Windows it might be easier to change the extension from .apk to .zip first
3) Add the files you want. Wallpapers go in the apk here: /res/drawable-hdpi/
3b)If you changed the extension to .zip change it back to .apk
4) Push the files back to your phone. Theoretically this command should work:
adb push TwWallpaperChooser.apk /system/app/
Click to expand...
Click to collapse
but adb (for me anyway) doesn't like pushing files into /system, so you might have to do this instead:
push the file to the sd card:
adb push TwWallpaperChooser.apk /sdcard
Click to expand...
Click to collapse
Then use root explorer to move the file to /system/app or use adb:
adb shell
su
mv /sdcard/TwWallpaperChooser.apk /system/app
Click to expand...
Click to collapse
5) reboot
adb reboot
Click to expand...
Click to collapse
Ta-da!
Tried the method above except I used Root Explorer to move around the file. Everything is fine except none of the wallpapers I added show up. I tried ADB but I get a Cross-Device link error when I try to move it.
rob989_69 said:
Tried the method above except I used Root Explorer to move around the file. Everything is fine except none of the wallpapers I added show up. I tried ADB but I get a Cross-Device link error when I try to move it.
Click to expand...
Click to collapse
Much easier method...workload justpictures from market and set resolution to miami maximum....nice pretty zoomed in pictures and clear wallpapers
Sent telepathically using vulcan mind meld app.
There is many of you that asks how to remove this and that preinstallaed apps in different ROM
When a developer put apps in system/app it can not be removed so easy.
But if you have RomManager or fakeflash´s update.zip there is a other way.
I have attached a zip fil that contains a ordinare ROM installation script that only contains delete and copy.
Download file and unzip on your computer and take a look in the folders
data/app
META-INF/com/google/android/update-script
system/app
If your only wish is to remove a systemapp
edit the file update-script (textfile)
and add line with the filename of what you want to remove:
(example)
delete SYSTEM:app/unwanted.apk
delete SYSTEM:app/unwanted.odex
If you want to install some apps put them in system/app for not installable
and data/app for apps that can be removed as usual
rezip folders and install zip with RomManager NO WIPE!!
cm6 azures you will get a error because not same structure for data/app
never mind just select reboot. Delete will work anyway.
Sometimes there will be .so files in system/libs too. They are little more difficult to know which to remove so that demands more knowledge of the app.
Use for instance Astro filemanager or Estrong to look in system/app for correct filename to delete
Script work even if *.odex not exist.
The fact that when you zip folders it will not be signed so file will not work with adb recovery
Googleapps filenames:
CarHomeGoogle.apk, CarHomeLauncher.apk, com.amazon.mp3.apk,
Facebook.apk, GenieWidget.apk, Gmail.apk, GoogleBackupTransport.apk,
GoogleCalendarSyncAdapter.apk, GoogleContactsSyncAdapter.apk,
GoogleFeedback.apk, GoogleGoggles.apk, GooglePartnerSetup.apk, GoogleQuickSearchBox.apk, GoogleServicesFramework.apk, googlevoice.apk,
HtcCopyright.apk, HtcEmailPolicy.apk, HtcSettings.apk, kickback.apk, LatinImeGoogle.apk, LatinImeTutorial.apk, Maps.apk, MarketUpdater.apk, MediaUploader.apk, NetworkLocation.apk, OneTimeInitializer.apk, PassionQuickOffice.apk, SetupWizard.apk, soundback.apk, Street.apk, Talk.apk, talkback.apk, Twitter.apk, Vending.apk, VoiceSearch.apk, YouTube.apk, QuickSearchBox.apk, Provision.apk
Other apps:
ADWLauncher.apk, Gallery3D.apk
but filename may be different depending of ROM
Mainpart must exist for using phone normally
Hope that this help to remove "non-removable" systemapps in future.
/Snakehult
Good guide.
via Legend using XDA-app
Thanks snakehult - great guide and very useful!!
snakehult said:
(example)
delete SYSTEM:app/unwanted.apk
delete SYSTEM:app/unwanted.odex
Click to expand...
Click to collapse
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
c_man said:
Thanks snakehult - great guide and very useful!!
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
Click to expand...
Click to collapse
Yes you can use some regular filemanager such Astro or Estrongs and look in system/app
Always delete both, script work even if odex file is missing
c_man said:
It may be worth explaining how people:
- can find out the name of the app they want to remove;
- how they know whether to add the suffix of *.apk or *.odex, or both;
Thanks again for your efforts!
Click to expand...
Click to collapse
cool guide!
anyway you have to detect the filename of the apps this way:
enter the recovery mode (in modaco-root-r4: recovery-windows.bat)
now type:
adb shell
mount -t yaffs2 /dev/block/mtdblock3 /system
ls -l /system/app
(this will give you the list of system apps, with space usage)
you have to delete both .apk and .odex files (the latter may not exist)
I use to delete the bigger ringtones too, the list is given by
ls -l /system/media/audio/ringtones
it is safe to delete, after you setup the google accounts (ie after first boot):
HTCSetup*
com.htc.Setup*
Stock*
HtcFoot*
NewsRead*
wow its working......thanks dude........
Uploaded with ImageShack.us
http://android.modaco.com/content/h...apps-from-the-htc-desire-with-adb-in-windows/
Simple guide from MoDaCo
That must be the hardest way to remove apps i guess Have you seen "modaco guide"? All you have to do is reboot your phone in to recovery mode and type 2-3 commands in ADB. Simple as that.
Thanks anyway for your efforts
Many way för same thing
But with a custom-made zipfile you always remove/install favourite apps without adb. And quick modify new ROM install.
Sent from my Legend using XDA App
Hello,
Good guide.
The Legend may be rooted to do this?
I am a newbie.
Thanks.
bobstar_fr said:
Hello,
Good guide.
The Legend may be rooted to do this?
I am a newbie.
Thanks.
Click to expand...
Click to collapse
As I see it, no use to do much in the dev forum without an rooted Phone
hey guys, thanks for bringing this up. i just tried modaco site method and i deleted stock and its widget only. the internal storage shot from 113 mb to 122 mb and ram from 42 to 134 mb !
what else can i delete
Learners Lisence said:
hey guys, thanks for bringing this up. i just tried modaco site method and i deleted stock and its widget only. the internal storage shot from 113 mb to 122 mb and ram from 42 to 134 mb !
what else can i delete
Click to expand...
Click to collapse
Just delete what you will never use and....no regret
thank you cryshop for your expert advise
i tried deleting Innovation.mp3 by this script -
adb-windows shell rm /system/media/audio/ringtones/Innovation.mp3
said file not found even though its listed.
whats my mistake ?
i will try snakehults method also but later.
thanks
im trying to use modaco's method but what is the green recovery menu?
i dont understand i go in fastboot then recovery and then?thank you
edit done im stupid
Learners Lisence said:
thank you cryshop for your expert advise
i tried deleting Innovation.mp3 by this script -
adb-windows shell rm /system/media/audio/ringtones/Innovation.mp3
said file not found even though its listed.
whats my mistake ?
i will try snakehults method also but later.
thanks
Click to expand...
Click to collapse
Hmm, did you forget a slash or a letter in the command? because I tried and I could actually delete it.
@kdma : install ROM Manager from the Market, and there is an option inside the app : Reboot into Recovery (easiest way to get into recovery mod)
I also deleted /system/etc/clock* and saved some space again
(of course I don't need Htc clock widgets)
cryshop said:
Hmm, did you forget a slash or a letter in the command? because I tried and I could actually delete it.
Click to expand...
Click to collapse
cryshop, i was typing in the wrong directory
Ps - snakehults's appfixer is real delight ! smooooth.
except that my winzip is a trial version and legend dont recognize winrar files.
I was wondering how i got such good figures for change in space and ram the first time. i havent since then. my legend just likes the rebooting involved coz i dont use task killers anymore. and maybe i deleted more than just stock the first time
Will this work with android 2.2 on Hero?
Hey I've been looking all over for something like this. I downloaded the zip, added the lines
delete SYSTEM:app/mms.apk
delete SYSTEM:app/mms.odex
delete SYSTEM:app/email.apk
delete SYSTEM:app/email.odex
and rezipped it.
I used Rom Manager and selected install rom from SD card. It rebooted, seemed to execute the zip. But the original email and mms apps are still installed. What am i doing wrong?
kdma said:
im trying to use modaco's method but what is the green recovery menu?
i dont understand i go in fastboot then recovery and then?thank you
edit done im stupid
Click to expand...
Click to collapse
The first thing you should do is download the required zip file from modaco (I'm a new user of xda and is not permitted to post outside links here. You may easily find that post "24/May r4 - HTC Legend rooting guide - Now with 1.31.x" in android.madaco.com)
I think many of us rooted the device followed the instructions of Paul. So that file might be already in your hands.
Fastboot and then recovery, as you have done before. Run Recovery-linux.sh (or Recovery-windows.bat, if you use Windows) in a terminal window - your device shall be at the green recovery screen.
Open another terminal window and enter:
./adb-linux shell mount /system
and then you can push, pull or rm file. For example,
./adb-linux shell rm /system/app/Calculator.apk
./adb-linux push abc.so /system/lib
--
I didn't notice you have already solved the problem, when I compiled this post. It is no longer useful.