Pushing AOSP apks to stock 2.1 rom - Hero CDMA General

Hey everyone,
First let me say what I love about Sense (or what I assume is a part of sense) is the keyboard, widgets (clock/weather specifically), and the icons. Now on to my long question.
I switched to Damage's SprintUpdate2.zip ROM which is the 2.1 leak (and official?) but rooted. The lag on the keyboard is mind-numbing; after reading through a few threads I gathered that Ic3 ROM is rather quick, and after installing it...Jesus, it's ridiculous. No lag on the keyboard or when selecting threads in the messaging app.
So I was wondering, would pushing the stock Mms.apk smooth things over? I like the stock keyboard, but I miss being able to long press the top row of letters for numbers and having a hide button right there on the keyboard.
I tried pushing it with the fresh pre kitchen but it FC'd every time I would try to use the messaging app. I feel like I have something wrong because if I try to push or pull with ADB it says operation not permitted.
Many thanks,
Nate
EDIT: After renaming the HTC Mms.apk and Mms.odex and using the shell to copy the stock Mms.apk, the keyboard is about 1000% smoother when texting. Now I can keep all the goodness that HTC provided without the ****ty SMS app the bogs the damn phone down.

bacardi198 said:
Hey everyone,
First let me say what I love about Sense (or what I assume is a part of sense) is the keyboard, widgets (clock/weather specifically), and the icons. Now on to my long question.
I switched to Damage's SprintUpdate2.zip ROM which is the 2.1 leak (and official?) but rooted. The lag on the keyboard is mind-numbing; after reading through a few threads I gathered that Ic3 ROM is rather quick, and after installing it...Jesus, it's ridiculous. No lag on the keyboard or when selecting threads in the messaging app.
So I was wondering, would pushing the stock Mms.apk smooth things over? I like the stock keyboard, but I miss being able to long press the top row of letters for numbers and having a hide button right there on the keyboard.
I tried pushing it with the fresh pre kitchen but it FC'd every time I would try to use the messaging app. I feel like I have something wrong because if I try to push or pull with ADB it says operation not permitted.
Many thanks,
Nate
Click to expand...
Click to collapse
You need to type adb remount before you push it in adb.

i know in fresh 2.1.1 the rom was odexed so i had to also remove Mms.odex for the aosp Mms app to work

thrillernight88 said:
i know in fresh 2.1.1 the rom was odexed so i had to also remove Mms.odex for the aosp Mms app to work
Click to expand...
Click to collapse
You should be running the deodexed version imho. But yeah, just do what I said above.

I saw it only after i had flashed the reg one and got everything the way i liked it and im too lazy lol

Do I need to remove the original Mms.apk and Mms.odex before pushing the new one? I've tried rm Mms.apk but it says it's read-only.
Do I need to CHMOD it first? Or is it even necessary to remove if I'm pushing the new one?

I used Fresh kitchen to push the aosp version, and pull/delete the HTC version and it's odex
-------------------------------------
Sent via the XDA Tapatalk App

bacardi198 said:
Do I need to remove the original Mms.apk and Mms.odex before pushing the new one? I've tried rm Mms.apk but it says it's read-only.
Do I need to CHMOD it first? Or is it even necessary to remove if I'm pushing the new one?
Click to expand...
Click to collapse
You just need to delete its odex, and when you push the AOSP version it will overwrite the HTC version.

Do I need to remove the original Mms.apk and Mms.odex before pushing the new one? I've tried rm Mms.apk but it says it's read-only.
Do I need to CH
Click to expand...
Click to collapse
You just need to delete its odex, and when you push the AOSP version it will overwrite the HTC version.
Click to expand...
Click to collapse
What he said ^^
-------------------------------------
Sent via the XDA Tapatalk App

Related

little problem

so
sick of the 2.1 contacts app
downloaded the old one
used root explorer to copy the 2.1 apk and odex to the sdcard
pasted the 1.5 in the system/app folder
and... nothing happened, didn't show up under apps
so put the 2.1 back in there, and now that isn't showing up either... did i miss a step?
edit:
i tried adb push and adb install
got install errors with the 1.5 and the 2.1 apks
wtf?
any tips?
thanks!
I've found using Root Explorer to place .apk files back into the /system/app folder won't make them reinstall. I always just push the file there with adb and then restart the phone. That works every time for me.
I would be surprised if the 1.5 app worked in 2.1. I didn't notice a difference between them when I moved to 2.1 a few months ago. What don't you like about it?
having to sync your fb contacts to use photos
and there seems to be a physical memory leak or something because my contacts were at 30mb
restarting didn't seem to work, i will try it again... any other suggestions?
No idea? Phone really sucks without contacts. Guess I could restore a nandroid.
nvm above method worked now will try 1.5
-------------------------------------
Sent via the XDA Tapatalk App
update
1.5 HtcContacts.apk would not install
Original Google Contacts.apk would not install
maybe they need to be resigned
skanndelus said:
update
1.5 HtcContacts.apk would not install
Original Google Contacts.apk would not install
maybe they need to be resigned
Click to expand...
Click to collapse
Flash whatever rom you currently using over top without wiping. It should fix any apps removed. And keep all data/homescreens the same.
Nandroid before doing so just in case.
Jus10o said:
Flash whatever rom you currently using over top without wiping. It should fix any apps removed. And keep all data/homescreens the same.
Nandroid before doing so just in case.
Click to expand...
Click to collapse
luckily there was no need, since using the adb push method worked just fine for reinstalling the 2.1 contacts app.
thank you for your reply!

Darchdroid v2.7 Keyboard & Apps

Just installed Darchdroid and I like it except for a few things, my question is:
Is there a way to take the keyboard app from Darchoid and put in on another rom? From my understanding it's just the stock android black keyboard but I haven't been able to find it anywhere (it's the only keyboard that is functional for me). Also, I'm going to be moving the phone.apk, contacts.apk, and the text messaging app over to another rom (best dialer, contacts and sms I've seen). I've already pulled the apk's so I assume just pushing them over to the new rom should be alright?
Thanks
I imagine your are wanting to add this stuff to senseUI based rom?
Im not sure of the other apps, but for the keyboard, simply flash the zip konipub posted here.
http://forum.xda-developers.com/showpost.php?p=6182240&postcount=2
This will give you 2 android keyboards, one with voice input, and one without voice input. If you only want the one with voice input, and not the one without voice input simply do this after flashing...
Code:
adb remount
adb shell
cd /system/app
rm LatinIME.apk
exit
exit
Cheers
Thanks that worked perfectly!!
I also moved the Mms.apk and it worked great, however whenever I try to copy the Darchdroid phone.apk and contacts.apk they don't work. I'm trying to get them to work on FreshRom because they are so much more responsive than the htc ones.
Does anyone have an idea how to do this? It seems like theres some more data they require that transferring just the apk doesn't contain.
Thanks
nautical34 said:
Thanks that worked perfectly!!
I also moved the Mms.apk and it worked great, however whenever I try to copy the Darchdroid phone.apk and contacts.apk they don't work. I'm trying to get them to work on FreshRom because they are so much more responsive than the htc ones.
Does anyone have an idea how to do this? It seems like theres some more data they require that transferring just the apk doesn't contain.
Thanks
Click to expand...
Click to collapse
Look at icerom, its a htc rom that has some AOSP apps all in it. So pull the apks from that rom and try to push it to the one you want.

Pros/Cons Push ApK to system

I have noticed that alot of roms come with ADW built into them. When this happens then ADW no longer recieves updates does it? Also if I push other files using adb push do they recieve updates? I really like ADW's newest features!
ADW is free... this isn't an issue.
PimpShit420 said:
I have noticed that alot of roms come with ADW built into them. When this happens then ADW no longer recieves updates does it? Also if I push other files using adb push do they recieve updates? I really like ADW's newest features!
Click to expand...
Click to collapse
Most likely not, I've also found that I can't uninstall them either unless I manually remove them with ADB. Maybe thats just me though and someone more Linux friendly could help you out
Won't they get updates if you move them to /data/app? Or is that just so you can uninstall it. I forget.
Sheen160 said:
Won't they get updates if you move them to /data/app? Or is that just so you can uninstall it. I forget.
Click to expand...
Click to collapse
The ADW that is found in these new roms comes from a modified adw launcher that is in the cyanogen source. It has been changed some(not really sure in what way cause I didn't use the one from the market) by cyanogen. If you want the updates you can install the one from the market as it is technically a different apk.
Also it is correct that the can only be removed by deleting them through adb or root explorer because they are in system/apps and not data/app folder.

[Q] Swype with voice icon

Has anyone ported or got a version working on the vibrant. I have seen it on the droid x and on one of the newer HTC's
If you can get me the swype apk from one of those devices i can bring it over no problem at all i just havnt found a system dump for either but to be fair i havnt really been looking.
I have been looking but posting the file has been banned. I was hoping it was possibly included in the new froyo build or perhaps some of the newer European builds. I might be able to get a copy off a droid x or evo 4g if you can pull it with titanium backup, would I be able to just straight load it up with apploader?
Thanks for all your help I am just learning so will of course have lots of questions
adm1jtg said:
I have been looking but posting the file has been banned. I was hoping it was possibly included in the new froyo build or perhaps some of the newer European builds. I might be able to get a copy off a droid x or evo 4g if you can pull it with titanium backup, would I be able to just straight load it up with apploader?
Thanks for all your help I am just learning so will of course have lots of questions
Click to expand...
Click to collapse
Ahh that is right i forgot all about that lol, if you wanna hit me up on skype or anything pm me i'll give you my info i may have it on my profile.
anyone get this working?
th3fallen said:
If you can get me the swype apk from one of those devices i can bring it over no problem at all i just havnt found a system dump for either but to be fair i havnt really been looking.
Click to expand...
Click to collapse
Here you go
http://forum.androidcentral.com/sprint-epic-4g/29804-epic-4g-system-dump.html
This has the swype version with the voice button
Eazail70x7 said:
Here you go
http://forum.androidcentral.com/sprint-epic-4g/29804-epic-4g-system-dump.html
This has the swype version with the voice button
Click to expand...
Click to collapse
There's another thread about this, but it had a non-obvious title. I posted some stuff in there, but I'll repost here as people are more likely to find it.
Get the Swype.apk from the dump, no I can't post it here for you. The Swype company has asserted their copyright and XDA won't violate it.
Open a text field and change keyboards so Swype isn't active.
adb pull /system/app/Swype.apk Swype.backup
Don't install it, just copy it over the one on your phone. I used this:
adb push Swype.apk /system/app/
Root explorer, SUFBS, etc. can do it. Yes, you need root. Just do it, it's drop dead simple.
Now, switch back to Swype keyboard using the long-press on a text field. You have a voice button. The down side I found, was that the popup window with word choices is yellow with white text. Talk about hard to read. I'll attach a MetaMorph that fixes that.
Just download my Morph, then go to the Market and download the MetaMorph application. Launch Metamorph and let it do its checks. You should have a mostly empty screen with 2 buttons at the bottom. Select "Unzip/Extract new theme". Now use the file browser to find the file you downloaded. It's probably in /sdcard/download if you downloaded in the browser. Select the ZIP and it will tell you about the morph. Just hit "apply all" at the bottom and let it do it's thing. Now your Swype popup will look stock with the black background.
Weird, I'm running Vibrant6 and the epic swype does not work as outlined here. The kb opens, but the 2 lower left and 2 lower right buttons are blank. The kb doesn't respond to input either, showing the blue error outline around the kb.
Actually, when I reverted back to the stock swype, I had the same missing buttons and lack of functionality. I then installed the epic swype (by executing the apk), uninstalled it, and the old Swype started working again.
ttabbal said:
There's another thread about this, but it had a non-obvious title. I posted some stuff in there, but I'll repost here as people are more likely to find it.
Get the Swype.apk from the dump, no I can't post it here for you. The Swype company has asserted their copyright and XDA won't violate it.
Open a text field and change keyboards so Swype isn't active.
adb pull /system/app/Swype.apk Swype.backup
Don't install it, just copy it over the one on your phone. I used this:
adb push Swype.apk /system/app/
Root explorer, SUFBS, etc. can do it. Yes, you need root. Just do it, it's drop dead simple.
Now, switch back to Swype keyboard using the long-press on a text field. You have a voice button. The down side I found, was that the popup window with word choices is yellow with white text. Talk about hard to read. I'll attach a MetaMorph that fixes that.
Just download my Morph, then go to the Market and download the MetaMorph application. Launch Metamorph and let it do its checks. You should have a mostly empty screen with 2 buttons at the bottom. Select "Unzip/Extract new theme". Now use the file browser to find the file you downloaded. It's probably in /sdcard/download if you downloaded in the browser. Select the ZIP and it will tell you about the morph. Just hit "apply all" at the bottom and let it do it's thing. Now your Swype popup will look stock with the black background.
Click to expand...
Click to collapse
Where is that other thread located? Whats the title?
I am having the same problem as the previous poster that gets the keyboard, but no swype buttons, input, or typing ability. I attempted to overwrite the swype.apk with the epic swype.apk using Root Explorer. What do I need to do differently?
iamosborne said:
I am having the same problem as the previous poster that gets the keyboard, but no swype buttons, input, or typing ability. I attempted to overwrite the swype.apk with the epic swype.apk using Root Explorer. What do I need to do differently?
Click to expand...
Click to collapse
Add another to this list. Exactly the same. It wouldn't let me push the file back
Code:
C:\Users\TJHart85\Desktop\Vib_Phone\_REPLACEMENT_FILES>adb push Swype.apk /system/app/
failed to copy 'Swype.apk' to '/system/app//Swype.apk': Permission denied
C:\Users\TJHart85\Desktop\Vib_Phone\_REPLACEMENT_FILES>adb push Swype.apk /system/app
failed to copy 'Swype.apk' to '/system/app/Swype.apk': Permission denied
I then used Root Explorer to copy the new APK to /system/app/
I then got the same keyboard as others have that doesn't accept any input.
Putting the original file back didn't make it work again either, so I'm doing a nandroid restore back to a few hours ago (luckily I replaced a few system files earlier and had decided to make a nandroid just in case).
The only non-stock part of my phone is that I have SIM-unlocked it & applied the lagfix ...lagfix makes it take forever to restore too :-(
Restarting did not make a difference.
Eazail70x7 said:
Where is that other thread located? Whats the title?
Click to expand...
Click to collapse
Something like "why can't we do this"... Not sure why they used that.
Note that I am using the EVO swype, NOT the Epic one. And you have to REPLACE the existing Swype. DO NOT USE THE PACKAGE INSTALLER. You have to place it with adb or something like root explorer should work. It must OVERWRITE the existing one. Make a backup of your Swype so you can get back to it. There should be no reason to have to restore a Nandroid with this mod.
If adb push gives you a permission denied, you have the system mounted read-only or don't have root. Try the JAC kernel, that's what I'm using, and it worked fine. I don't know or care if it works with the stock kernel, the JAC is that much better.
Can you tell me which version of the EVO swype has the speech to text feature? I have a 1.56 apk, but i believe there are more recent versions.
I am using 1.57.32.7688 from evo and it works perfectly
Wow... I have just been through the whole process of adding this to my phone and I must say I have learned a lot! So I figured i'd share for anyone who might benefit:
The main reason it was so hard for me is because I am running eugene373's vibrant7 rom and in that rom swype is removed by default. This allows you to just install the swype file (swype-evo-tts.apk) using package installer without any troubles. *BUT* It makes the Swype_No_Yellow.zip not work. This is because when swype is installed stock it's in the system/app folder but when it's just installed as a regular app it's in a different folder(data/app).
Sooo I went and taught myself how to edit .apk files! Yay!
This thread was AMAZINGLY helpfull: forum.xda-developers.com/showthread.php?t=503007
So basically I followed the steps in that thread except I moved the files in Swype_No_Yellow.zip to the corresponding folder in swype-evo-tts.apk using 7-zip. Then I used the auto-signing tool and tada! I have swype tweaked perfectly for me!
[rant] It sure would be nice if I could just post up the file I created and save y'all the trouble. But I understand the forum rules. I just think everyone coming to this forum has vibrant and has payed for swype! We sure as heck can tweak it as we please, but why can't we upload those tweaks and share amongst ourselves?! The real question is why didn't swype just include a text to speech button on the vibrant?!?! [/rant] Oh wellz
Good luck!
Yes, the morph looks for it in /system/app as that's where I told people to install it.
You could have just modified the morph xml file to point to /data/app, but understanding apk files is very useful if you want to play with the phone at this level.
tt, I've been looking with no luck for the evo swype. Got a link?
ytj87 said:
tt, I've been looking with no luck for the evo swype. Got a link?
Click to expand...
Click to collapse
I don't, sorry. I downloaded it from an XDA thread before the mods caught it. I don't think we are even supposed to link from here. Irritating.
I'd host it myself, but I don't feel like joining Cyanogen in the C&D club.
This didn't work for me I tried to use Vibrant1.zip version of swype to revert back with root explorer and that didn't work so I had to do a nandroid restore, I wouldn't try this you would think it would just work but guess not.

[Q] Swype on CM7

Does anyone know how to get the stock version of swype that came on the preinstalled 2.2.1 rom onto CM7? The only reason i dont use the beta is because the theme it has is so ugly.
If you want that one. Extract the swype apk and lib file from a rom with it in it
esincho said:
If you want that one. Extract the swype apk and lib file from a rom with it in it
Click to expand...
Click to collapse
Sorry but how do you do that
Sent from my HTC Glacier using XDA App
U can download a rom like iced glacier, and you'll need root explorer. extract the the zip. The apk is in system system/ apps. The lib is in the lib folder, although i don't know the name of it. What i do is use search when in the system folder, search swype. The two will show. Then you'll have to put those on the same folders on your system
check filecrop you want wvga version
esincho said:
U can download a rom like iced glacier, and you'll need root explorer. extract the the zip. The apk is in system system/ apps. The lib is in the lib folder, although i don't know the name of it. What i do is use search when in the system folder, search swype. The two will show. Then you'll have to put those on the same folders on your system
Click to expand...
Click to collapse
Thanks man that worked for me.. was the only thing I was starting to miss using cm7.
Pulled the apk and lib from mik 4.3 rom I had downloaded and then pushed them to my phone in recovery.
THunDA said:
Thanks man that worked for me.. was the only thing I was starting to miss using cm7.
Pulled the apk and lib from mik 4.3 rom I had downloaded and then pushed them to my phone in recovery.
Click to expand...
Click to collapse
Cool. Only thing, you'll have to do it everytime u flash a rom
esincho said:
Cool. Only thing, you'll have to do it everytime u flash a rom
Click to expand...
Click to collapse
Only takes a few min's so its worth it.. I didnt even realize I was in the myTouch forum..lol goes to show it pays to search the whole forum..
esincho said:
U can download a rom like iced glacier, and you'll need root explorer. extract the the zip. The apk is in system system/ apps. The lib is in the lib folder, although i don't know the name of it. What i do is use search when in the system folder, search swype. The two will show. Then you'll have to put those on the same folders on your system
Click to expand...
Click to collapse
I was able to put everything in the right folders but when I tried to use swype it had the look of the old swype but no functionality. How so you flash it in recovery like the other guy did?
Sent from my HTC Glacier using XDA App
U can't flash it in recovery, he worded that wrong, make sure the permissions are set right
Jacezo said:
I was able to put everything in the right folders but when I tried to use swype it had the look of the old swype but no functionality. How so you flash it in recovery like the other guy did?
Click to expand...
Click to collapse
Check the post below. It's for the G2, but works for MT4G as well (just verified).
http://forum.xda-developers.com/showpost.php?p=9503569&postcount=6
As the post suggests, put your Swype files in the same folder as ADB and you should be fine. Note that you will have to go to Settings > Language & keyboard, and manually enable Swype since it's disabled by default.
is there any free "root manager" app out there i can get for this?
Thanks in advance!
Rvezz28 said:
is there any free "root manager" app out there i can get for this?
Thanks in advance!
Click to expand...
Click to collapse
I do believe you can use AndroidMate from the market.
ok, so apparently I don't know what I'm doing lol.
Sorry if this appears totally n00bish but thats what I am.
If I extract the .apk and the libswypecore.so from another Rom and place them into their respective folders on the Rom I'd like to use, (ex. placing swype.apk into the "app" folder on cm7) and then flash the Rom and start from scratch, shouldn't that work?
I actually tried it and it didn't. Am i missing something? I was hoping the answer was that obvious but it failed. Swype shows up but i get "swype package you installed is configured for another device" message and it continues to only function as a regular keyboard.
I'd prefer to avoid going through the CMD prompt on my computer again because without super detailed instructions, I really don't know how to go about doing it. So if anyone, anywhere can help me out it would be super appreciated. I checked the forums and I keep getting lost in the words.
(perhaps shouldn't have rooted my phone if I can't make it that far huh? but we all have to start somewhere I suppose)
Forgive me for making this so long winded but the more details i give up front the less back and forth messages that wing clog up forums.
-Rocky
Rvezz28 said:
is there any free "root manager" app out there i can get for this?
Thanks in advance!
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=923130&highlight=root+explorer
MT4G stock apps on CM7
how can i get the stock apps like the message app on my CM7. i dont like the old version of it.

Categories

Resources