I can't use adb, please don't call me a noob.
I want to install rogro82 modified launcher.
http://forum.xda-developers.com/showthread.php?t=538871&page=10
there's a code in the thread to install using terminal, but it doesn't work.
Can anyone please provide the code to install through terminal.
Thanks!
put it on your sdcard
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp Launcher.apk /system/app
reboot
try that?
You dont even need the code. Just put the .apk into your sd,download Linda File manager or OI file manager, and install with that. It works like a charm. I myself used Linda.
Thanks, but just found out. (also thanks futango )
You can install it using AppManager... since it's .apk.
So far I have ZERO problems too!
Ah ok, didn't think it would work though ...because it installs to /data/app. Eh whatever. good job getting it to work. Switch thread title please.
My text messaging isnt working anymore why is this the rom is super fast for me i love it but i cant get text messages any one having same prob? or know of a solution?
im on this rom and dont have this problem...try pushing a Mms.apk from another hero build
how do you do that?
Code:
adb remount
adb push [directory on your computer that contains the Mms.apk]/Mms.apk /system/sd/app_s/Mms.apk
adb shell reboot
someone correct me if that is the wrong location
since i am going to assume you do not have adb though
go into the recovery terminal and type
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd/app_s
cd system/sd/app_s
rm Mms.apk
reboot
then have the Mms.apk from another build on your sdcard(fat32) and install it via astro or some other package installer
again someone correct me if that is the wrong location because i am not on a hero build right now or i would confirm the directories myself
Im pretty sure u cant install system apps with astro. Either try the super user file browser from the market, terminal, or adb
pistol4413 said:
Im pretty sure u cant install system apps with astro. Either try the super user file browser from the market, terminal, or adb
Click to expand...
Click to collapse
i have installed AlarmClock.apk and the modified Mms.apk by rgv151 with astro after deleting the original one with astro, but then again maybe i am special lol
Recently I've been trying to install the HTC Footprints .apk on to my phone.
I've tried using multiple file managers to install the app, they get to the installation screen and fail to install (yes unknowk sources is turned on), I've also tried installing it via adb but I get errors such as
adb push method:
Code:
Code:
C:\android-sdk-windows\tools>adb push HtcFootprints.apk /system/app/
failed to copy 'HtcFootprints.apk' to '/system/app//HtcFootprints.apk': Read-only file system
Using the adb install method:
Code:
C:\android-sdk-windows\tools>adb install HtcFootprints.apk
1080 KB/s (1054762 bytes in 0.953s)
pkg: /data/local/tmp/HtcFootprints.apk
Failure [INSTALL_FAILED_DEXOPT]
C:\android-sdk-windows\tools>
Any Ideas on what my problem could be?
I orginally roted my phone manully but I had to reset back to stock due to technical issues, but I re-rooted it using the flash recovery method located http://forum.xda-developers.com/showthread.php?t=584029
Another tid bit of information is that yesterday I could not use my SU (super user permissions) until I installed other roms and wiped it and did a nandroid restore.
did you
adb remount
adb push Footprints.apk /system/app
?
I found that using the fresh kitchen is much easier especially when I'm trying out many different Roms. Have you tried it yet i know that i have all my .apks setup in the designated folder makes it really simple if I've just flashed a new ROM and need to push all my apps. Hope I was helpful.
Check out Root Explorer in the market. Worth the money in my honest opinion.
"The ultimate file manager for root users. Access the whole of android's file system(including the elusive data folder!). Includes Text Editor, multi-select, zip files, execute scripts, search, re-mount, permissions, bookmarks, email, home, APK binary XML file viewer."
Root Explorer saves me so much time that I wasted putting in all the adb commands to do the same things. It is also the fastest way to remove Sprint's bloatware.
DJAscendance said:
did you
adb remount
adb push Footprints.apk /system/app
?
Click to expand...
Click to collapse
I tried this and nothing happend, I also tried
Originally Posted by bonesy
Try
adb remount
adb push HtcFootprints.apk /system/app/HtcFootprints.apk
adb push HtcFootprints.odex /system/app/HTcFootprints.odex
Click to expand...
Click to collapse
from http://forum.xda-developers.com/showthread.php?t=551240
and it worked, sort of I got the files to move
Code:
C:\android-sdk-windows\tools>adb push HtcFootprints.apk /system/app/HtcFootprint
s.apk
1173 KB/s (1054762 bytes in 0.878s)
C:\android-sdk-windows\tools>adb push HtcFootprints.odex /system/app/HtcFootprin
ts.odex
816 KB/s (581976 bytes in 0.696s)
C:\android-sdk-windows\tools>
But after I did this, I rebooted my hero but I could not get it to load past the boot screen.
most likely, your system memory is full. try removing another system apk of similar size (something you dont use such as stock, twitter facebook, etc)via adb and reinstall footprints the same way. I have had this happen before as well, and doing what I just stated worked for me
troyboytn said:
most likely, your system memory is full. try removing another system apk of similar size (something you dont use such as stock, twitter facebook, etc)via adb and reinstall footprints the same way. I have had this happen before as well, and doing what I just stated worked for me
Click to expand...
Click to collapse
Would removing the voicemail app work the same? adb shell rm /system/app/Voicemail.apk (not sure if this is the code or not)
you can remove all the ringtones and put them on your SD card... I know RegawMOD uses that trick to save space.
Noirad said:
Would removing the voicemail app work the same? adb shell rm /system/app/Voicemail.apk (not sure if this is the code or not)
Click to expand...
Click to collapse
Yes that would work as well as what mrinehart93 just stated about moving ringtones, etc to the sd which will free up nearly 6 mb of system memory(actually did that myself but didnt think of it). here is a link to accomplish that http://forum.xda-developers.com/showpost.php?p=5936137&postcount=3236
Alright, Moved the ringtones and alarms to my Sdcard, but I'm still getting the same errors
Code:
C:\android-sdk-windows\tools>adb remount
remount succeeded
C:\android-sdk-windows\tools>adb install HtcFootprints.apk
783 KB/s (1054762 bytes in 1.314s)
pkg: /data/local/tmp/HtcFootprints.apk
Failure [INSTALL_FAILED_DEXOPT]
C:\android-sdk-windows\tools>adb shell rm HtcFootprints.apk /system/app
rm failed for HtcFootprints.apk, Read-only file system
C:\android-sdk-windows\tools>adb remount
remount succeeded
C:\android-sdk-windows\tools>adb shell rm HtcFootprints.apk /system/app
rm failed for HtcFootprints.apk, Read-only file system
C:\android-sdk-windows\tools>adb remount
remount succeeded
C:\android-sdk-windows\tools>adb push HtcFootprints.apk /system/app
619 KB/s (1054762 bytes in 1.662s)
C:\android-sdk-windows\tools>adb shell
# reboot
reboot
C:\android-sdk-windows\tools>
Try,
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
exit
adb push HtcFootprints.apk /system/app
See if that helps. Reason it wont boot up is because if you're on a newer rom that doesnt have .odex files, then it wont work.
VinceOB said:
Try,
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
exit
adb push HtcFootprints.apk /system/app
See if that helps. Reason it wont boot up is because if you're on a newer rom that doesnt have .odex files, then it wont work.
Click to expand...
Click to collapse
I have the .odex files, but I'm not quite sure where Im supposed to put them.
Noirad said:
I have the .odex files, but I'm not quite sure where Im supposed to put them.
Click to expand...
Click to collapse
What Rom are you running?
If adb is successfully pushing the files (like it is in your posts) then the phone is successfully being mounted, so that's not your problem. You also have enough system space, because if you did not it would tell you that you didn't, and I didn't see that error message in any of your posts either.
Most likely, you're using a ROM that doesn't use .odex files (almost all of the 2.1 ROMs that are out now don't, with the exception of DarchLegend I believe) so the .apk isn't compatible because it's missing the classes.dex file and the .odex file won't work because it's not compatible with the ROM.
If you are using a ROM that uses .odex files, then you need to be sure that the APK you're using is the right version for your ROM. If you try using HtcFootprints.apk from a 1.5 ROM on a 2.1 ROM, it more than likely will not work, due to different frameworks and all that fun stuff.
Gregalous said:
If adb is successfully pushing the files (like it is in your posts) then the phone is successfully being mounted, so that's not your problem. You also have enough system space, because if you did not it would tell you that you didn't, and I didn't see that error message in any of your posts either.
Most likely, you're using a ROM that doesn't use .odex files (almost all of the 2.1 ROMs that are out now don't, with the exception of DarchLegend I believe) so the .apk isn't compatible because it's missing the classes.dex file and the .odex file won't work because it's not compatible with the ROM.
If you are using a ROM that uses .odex files, then you need to be sure that the APK you're using is the right version for your ROM. If you try using HtcFootprints.apk from a 1.5 ROM on a 2.1 ROM, it more than likely will not work, due to different frameworks and all that fun stuff.
Click to expand...
Click to collapse
Ahh, that could be my problem, Im currently using a Fresh Rom by Flipz running 2.1, but I just found a post by him of the applicastions that he removed and how to reinstall them, I'll try that and let you guys know how it goes
Success! My problem was that I was trying to install the 1.5 files onto my 2.1 ROM
Ahhh. Glad it worked.
all of these apps you can push or install using flips kitchen so you know!
fixxxer2008 said:
all of these apps you can push or install using flips kitchen so you know!
Click to expand...
Click to collapse
Haha thanks! Installing it right now
footprints
Noirad said:
Ahh, that could be my problem, Im currently using a Fresh Rom by Flipz running 2.1, but I just found a post by him of the applicastions that he removed and how to reinstall them, I'll try that and let you guys know how it goes
Click to expand...
Click to collapse
Noirad,
can i have the link to the post you were talking about. I also need to install footprints on a 2.1 rom. thanks
hi, i just had an idea and idk if this has been posted before, so if it has been posted, im sorry.
instead of using terminal emulator, is it possible for me to go into the .zip of the ROM and delete the apps i do not want in the /system/app folder? i want to know if it will "screw up" the ROM and make it unflashable in my hero's recovery. it takes me too long to remove all the apps i want in terminal emulator and think it would be faster doing it the way i described.
**if this question sounds extremely stupid, then im sorry, im still somewhat of a noob at all this rooting stuff**
The zip's have to be signed in order to be flashed. You cannot just open them, modify them, rezip and install. Find out how to sign the OS zip and you can modify all you want.
thanks for answering, thats all i wanted to know
make a bat
open note pad and paste this:
Code:
adb remount
adb shell rm system/app/*Stock*
adb shell rm system/app/IM.apk
adb shell rm system/app/*Facebook*
adb shell rm system/app/Flickr.apk
adb shell rm system/app/Sprint_Navigation.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/HTCNew.apk
adb shell rm system/app/com.htc.TwitterWidget.apk
adb shell rm system/app/com.htc.FriendStreamWidget.apk
adb shell rm system/app/com.damaged.DConfig.apk
adb shell rm system/app/HtcTwitter.apk
adb shell rm system/app/HtcFacebook.apk
adb shell rm system/app/FriendStream.apk
the add or remove lines accordingly, substitute one apk for another if you want then save as a .bat file (mine is named removeapks.bat) place in the tools folder if you wish, flash a rom once booted run the .bat file and poof theyre gone
alexnaoumi said:
thanks for answering, thats all i wanted to know
Click to expand...
Click to collapse
There's a tool written in Java that makes signing zip's really easy. It's included in a suite of apps called AndroidMod.zip
Once you have it, the syntax to sign the new zip is simple. Just:
java -jar signapk.jar testkey.x509.pem testkey.pk8 Inputfile.zip outputfile.zip
Or you can get "root manager" from market which does a lot including removal of unwanted system apps.
Sent from my HERO200 using XDA App
I think Fresh Pre kitchen does it also.
Titanium backup is what I use. Haven't had any trouble using it.
Moved to Q&A.
alexnaoumi said:
hi, i just had an idea and idk if this has been posted before, so if it has been posted, im sorry.
instead of using terminal emulator, is it possible for me to go into the .zip of the ROM and delete the apps i do not want in the /system/app folder? i want to know if it will "screw up" the ROM and make it unflashable in my hero's recovery. it takes me too long to remove all the apps i want in terminal emulator and think it would be faster doing it the way i described.
**if this question sounds extremely stupid, then im sorry, im still somewhat of a noob at all this rooting stuff**
Click to expand...
Click to collapse
I like Root Manager also because there is a "multi-select" option so you can select all of the files you'd like to delete. For the "/system/app" folder you can mount as "read/write", then delete the files. I then reboot into recovery, wipe the cache and Dalvick cache, and reboot. I've had no issues doing this. It's not so much how you delete, rather than what you delete. The forums here at XDA (as well as others that you can Google) that tell you what apps are safe to delete and which should remain untouched. As long as you don't delete an apk that is critical to ROM, you should be okay.
bombaatomica said:
The zip's have to be signed in order to be flashed. You cannot just open them, modify them, rezip and install. Find out how to sign the OS zip and you can modify all you want.
Click to expand...
Click to collapse
Since this is my first post, and I cannot post links, do a search on "modaco zipsigner". This is the utility I found for re-signing zip files, and it has worked flawlessly for me.
Hey there,
I am looking for the Rotary Unlock screen as seen in Darky's latest ROM. I believe its an Android default thing though.
Currently I'm using Doc's ROM with GingerMix v4 Theme.
Any ideas appreciated.
StNick
Try to flash Simply Galaxy ROM by Simone201.
You can find the thread on android development
I'm not looking to replace my ROM, I'm happy with Doc's ROM. I just want the Rotary Unlock screen, is all.
Take my ROM, unzip the rom.zip.
Copy /system/framework folder and the /system/app/Settings.apk file to your ROM. Set the perms with adb or similar to 644 (files).
ADB:
adb shell
su
Mount System R/W (use SGS tools etc.)
chmod -R 644 /system/framework
chmod 644 /system/app/Settings.apk
Easiest would be ADB Magic from Chainfire
Sent from my GT-I9000 using XDA Premium App
Hey Darkyy,
Thank you very much for the info, I will give it a shot!
Hey Darkyy would this work for jvk also?