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.
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!
ok i have exhausted my brain with trying to get into all this by myself. All i want to do is change the drawable's and push them back to my phone. I started small by pulling my HtcClockWidget.apk. I pulled res folder edited some imgs and put folder back in. I have also rm via sdk my origanal one from /system/app i cant for the life of me figure out how to open new one back up. I used Freshkitchen to push file back becuase i couldnt do it myself via adb and here i am now. Why cant i open or install this apk. is it becuase of its location in the system? i sure could use a little friendly help. pm or [No1ukno1357 at aol thnks. If i even posted this in right place. I have about ten diff browsers open trying things so i did search before posting lol. ***I did rm old one first.***
adb remount
adb push HtcClockWidget.apk /system/app/
adb reboot
Does that not work ?
-------------------------------------
Sent from my HERO200
well its booting up we will see lol
well it is now pushed to there but how do you install its not own my widgets list anymore and using esfileexplore wont let you touch them pretty much. my logcat is going absolutly nuts lol ok well it loaded it back up but my changes were not made looks the same lol. going to double check that it was correct one i put back in there
did you remove the apk you edited out of your system before pushing it back?
i use this command when i putting apks back into system.
# install /sdcard/HtcClockWidget.apk /system/app/
Some of the widget files are located in com.htc.resources.apk
no1ukno1357 said:
ok i have exhausted my brain with trying to get into all this by myself. All i want to do is change the drawable's and push them back to my phone. I started small by pulling my HtcClockWidget.apk. I pulled res folder edited some imgs and put folder back in. I have also rm via sdk my origanal one from /system/app i cant for the life of me figure out how to open new one back up. I used Freshkitchen to push file back becuase i couldnt do it myself via adb and here i am now. Why cant i open or install this apk. is it becuase of its location in the system? i sure could use a little friendly help. pm or [No1ukno1357 at aol thnks. If i even posted this in right place. I have about ten diff browsers open trying things so i did search before posting lol.
Click to expand...
Click to collapse
why dont u just put the apk into a zip file then use pre kitchen to sign it and then flash it. also some of the backgrounds are in htcresources apk found in the framworks of roms
yes it did install I think I may have edited some of the wrong pics for the clock I wanted. I also was also trying to push file from desktop. lol I sure do appreciate every ones help.
Sent from my HERO
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.
Is it possible to make this battery icon http://forum.xda-developers.com/showthread.php?t=977983 work with KH3?! Thanks..
chasesavestheday said:
Is it possible to make this battery icon http://forum.xda-developers.com/showthread.php?t=977983 work with KH3?! Thanks..
Click to expand...
Click to collapse
You can do a bunch of battery icons in the UOT kitchen
There are a couple for KH3 in this thread
http://forum.xda-developers.com/showthread.php?t=1248826
Yes I just created one at uot. I really liked the one on the OP though. Thanks for your efforts!
I have pulled all of the battery.png files from the package in the OP. Can someone put these into something that will work with KH3. I have it a shot and could not resign the apk. Then ran into other issues.
Shall I upload the icons?
chasesavestheday said:
I have pulled all of the battery.png files from the package in the OP. Can someone put these into something that will work with KH3. I have it a shot and could not resign the apk. Then ran into other issues.
Shall I upload the icons?
Click to expand...
Click to collapse
There's an easier way, assuming you have the android SDK and ADB.
First, reboot into CWM recovery (it'll save you any troubles of root permissions).
Type this command into adb:
adb pull /system/framework/framework-res.apk
Then go into your SDK folder where adb is stored (usually platform-tools) and make a copy of that apk file to somewhere else. That will be your safe backup.
Then get 7zip and right-click on the apk sitting in the directory with adb, and select "open archive". Navigate to /res/drawable-hdpi and copy all the files you extracted into this directory (overwriting where necessary).
Once you've done that, close the archive. Assuming it's still in the same directory as adb, type:
adb push /system/framework/framework-res.apk framework-res.apk
(Yes, it's typed twice on purpose.)
Then just reboot. If all goes well, your battery should show up. If it messes up, just move your backup to the adb folder, reboot to recovery, and reissue the adb push command above.
chasesavestheday said:
I have pulled all of the battery.png files from the package in the OP. Can someone put these into something that will work with KH3. I have it a shot and could not resign the apk. Then ran into other issues.
Shall I upload the icons?
Click to expand...
Click to collapse
you dont need to sign system apks