Champion v2 problem - G1 Q&A, Help & Troubleshooting

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

Related

How to replace fonts without USB?

I like to use Helvetica, so every time I flash a new cyanogen ROM, I find myself having to hook up USB and copying over the ttf files from my desktop.
Code:
adb remount
adb push ~/android/fonts/Helvetica/DroidSans.ttf system/fonts
adb push ~/android/fonts/Helvetica/DroidSans-Bold.ttf system/fonts
adb shell reboot
Can someone help me figure out how to do this directly on the phone?
I have the ttf files on my SD card, but I can't figure out how to copy them over to /system/fonts.
I tried using Better Terminal Emulator (a) but it's a pain to type it all, and (b) it doesn't allow it.
Is there a way to create a script to do this?
Can the script be made into an app/icon on my home screen?
It would be great if someone wrote up an app that could change fonts in general.
Thanks!
d0g said:
I like to use Helvetica, so every time I flash a new cyanogen ROM, I find myself having to hook up USB and copying over the ttf files from my desktop.
Code:
adb remount
adb push ~/android/fonts/Helvetica/DroidSans.ttf system/fonts
adb push ~/android/fonts/Helvetica/DroidSans-Bold.ttf system/fonts
adb shell reboot
Can someone help me figure out how to do this directly on the phone?
I have the ttf files on my SD card, but I can't figure out how to copy them over to /system/fonts.
I tried using Better Terminal Emulator (a) but it's a pain to type it all, and (b) it doesn't allow it.
Is there a way to create a script to do this?
Can the script be made into an app/icon on my home screen?
It would be great if someone wrote up an app that could change fonts in general.
Thanks!
Click to expand...
Click to collapse
Is there a way to post in the correct section?
Anyways, have them on the root of your sdcard and
Code:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/*.ttf /system/fonts
reboot
That should change the fonts.
Gscript
d0g said:
I like to use Helvetica, so every time I flash a new cyanogen ROM, I find myself having to hook up USB and copying over the ttf files from my desktop.
Code:
adb remount
adb push ~/android/fonts/Helvetica/DroidSans.ttf system/fonts
adb push ~/android/fonts/Helvetica/DroidSans-Bold.ttf system/fonts
adb shell reboot
Can someone help me figure out how to do this directly on the phone?
I have the ttf files on my SD card, but I can't figure out how to copy them over to /system/fonts.
I tried using Better Terminal Emulator (a) but it's a pain to type it all, and (b) it doesn't allow it.
Is there a way to create a script to do this?
Can the script be made into an app/icon on my home screen?
It would be great if someone wrote up an app that could change fonts in general.
Thanks!
Click to expand...
Click to collapse
ever heard of "gscript" .. it's pretty simple to create a script to do whatever you want it to do .. ie. "cp /sdcard/*.ttf /system/fonts" .. no USB needed .. come to think of it i don't use a USB connection for any of my G1 needs
Thanks! That worked!
I found this handy app -- GScripts (on the market) -- that let me set up the script to run with one click.
PS: I'm sorry -- which section should this go in? Regular Q&A?

Root explorer to move apps into system

Hey guys, I just used root explorer v 2.2 to delete the annoying apps built into the system (amazon mp3)
I am now trying to move my apps into the system so that they cannot easyly be removed. I want to send over lookout and sim checker. That way a theif would not be able to easily delete the apps.
when I select the "move" option (with sim checker) then go to the system apps dirrectpry and then select "paste", it says paste and shows a progress indicator for like 1 second then when I check to see if it actually did the move, it hasn't can anyone help me out
I know I have full root access as I have clicked to allow it and am remounted as r/w so that's not the problem.
Any help to get those two apps into my read only system directory would be greatly apprecaited.
Oh ya I think ill add that I have also tryed to simply change the permissions of the app to readonly (with root explorer) but that did not stop the basic android app manager from uninstalling it.
Try to use adb to move it.
so i went and installed adb, i know its working as well with a little test, could someone please write out a sample command for me to use for this purpose of moving an app out of the apps to sd location and into the system apps.
asb123 said:
so i went and installed adb, i know its working as well with a little test, could someone please write out a sample command for me to use for this purpose of moving an app out of the apps to sd location and into the system apps.
Click to expand...
Click to collapse
mv /system/sd/app/*lookout* /system/app
mv /system/sd/app/*checker* /system/app
It really depends on the name of the file though, if it has lookout in it, then it will be moved to /system/app. The * tells it to move anything with that in the file name
type adb and it will give you the commands + switches
adb pull
adb push
In response to your first attempt, it sounds like system is not being mounted as rw. If it were, the copying would work (I do this all of the time with SUFBS). Try to mount the system as rw via the terminal then copy.
JAguirre1231 said:
mv /system/sd/app/*lookout* /system/app
mv /system/sd/app/*checker* /system/app
It really depends on the name of the file though, if it has lookout in it, then it will be moved to /system/app. The * tells it to move anything with that in the file name
Click to expand...
Click to collapse
so i have the command prompt cd to andorid adk\tools
when i now type in the above :
mv /system/sd/app/*lookout* /system/app
it doesnt recognize the command
so i have C:\android-sdk-windows\tools> mv /system/sd/app/*lookout* /system/app
and it doesnt recognize mv as a command
cloverdale said:
In response to your first attempt, it sounds like system is not being mounted as rw. If it were, the copying would work (I do this all of the time with SUFBS). Try to mount the system as rw via the terminal then copy.
Click to expand...
Click to collapse
hey, sorry for the noob question but could you tell me the command for this. I know in the app i was using it says remount as rw and i do have access to change the system app folder (delted apps) but how can i remount as RW in terminal whats the command? And after, do i need to manually remount back to what i was so that it is back to being unchangeable?
asb123 said:
so i have the command prompt cd to andorid adk\tools
when i now type in the above :
mv /system/sd/app/*lookout* /system/app
it doesnt recognize the command
so i have C:\android-sdk-windows\tools> mv /system/sd/app/*lookout* /system/app
and it doesnt recognize mv as a command
Click to expand...
Click to collapse
If you have the tools directory in your PATH (as you should) no need to cd to the directory. Anyways, sorry to move it in adb do
adb remount
adb shell
*previous commands*
exit
Bingo!
it says failed on /systen/sd/app/com.lookout.apk - cross-device link
asb123 said:
it says failed on /systen/sd/app/com.lookout.apk - cross-device link
Click to expand...
Click to collapse
Ou have 2 android phones plugged in or an emulator running ath the same time
i dont have two phones plugged in and i dont have an emulator that i know of...
but on the bright side i mannaged to solve my problem using droid explorer. I successfully have gotten lookout entrenhed into the system so that it cannot be uninstalled from the menu.
BUT when i tried the same thing for sim checker it did not work, it would not copy into system\apps
i did manage to get it inot system\app but using the copy rather than move option in root explorer, after reinstalling using the simchecker in system\app
but it is showing up as still uninstallable. I have no idea why simcheck is not working but it worked for lookout...

[Help] Installing Footprints and other HTC apps Via adb

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

question about removing apps from ROMS: easy way?

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.

[Q] Stock Captivate Mms.apk on Assonance

So I've recently installed Assonance and have it to the point where I'm almost happy, but I would like to use the stock Captivate Mms.apk. Is this possible? I've tried sending the stock Captivate Mms.apk to the system/app directory, but that did not work.
Thanks for your help.
This is a shameless bump. If it helps anyone, I've also tried to install it via adb, install it via a file explorer from SD, and run it from the system directory with root explorer, all to no avail.
Are you using one from JK3? Or one from Assonance before it had the AOSP MMS? It should work fine. Just push it to /system/app.
MikeyMike01 said:
Are you using one from JK3? Or one from Assonance before it had the AOSP MMS? It should work fine. Just push it to /system/app.
Click to expand...
Click to collapse
I was trying the one from the stock 2.1. I assume that's where my issue lies?
So I found the JK3 ROM and extracted Mms.apk from it, and pushed it to /system/app via adb. I get "Could not launch the requested activity." trying to open it via Launcher Pro. Trying to install it with Root Explorer I get "Application not installed."
Any ideas?
Thanks for you help thus-far.
I'm sorry for posting three times in a row, but at this point I highly doubt anyone is going to reply to this thread unless I bump it.
Does anyone have any ideas at all? I'd really like this solved.
Thank you for your time.
Try this:
adb push Mms.apk /sdcard/
adb shell
su
busybox mount -o rw,remount /system/
cd /system/app
rm Mms.apk
cd /sdcard/
cp Mms.apk /system/app
exit
exit
exit
MikeyMike01 said:
Try this:
adb push Mms.apk /sdcard/
adb shell
su
busybox mount -o rw,remount /system/
cd /system/app
rm Mms.apk
cd /sdcard/
cp Mms.apk /system/app
exit
exit
exit
Click to expand...
Click to collapse
Thanks for your continued assistance, but unfortunately, I get the same issue with that method. I guess I'll just live with the AOSP Mms.apk, unless you have any other ideas
Also, I love the ROM and might have to give Serendipity a try sometime soon.
EDIT: I got it working using the Mms.apk you provided in your Serendipity thread. Thanks for your help again

Categories

Resources