[SOLVED] Extract Swype .apk? - G2 and Desire Z Q&A, Help & Troubleshooting

Hey all,
I've got a G2 running CM7 RC2. One of the things that I loved about the stock rom was that swype was included. Unfortunately, CyanogenMod only has the default on-screen android keyboard. I made a backup image of my stock rom right before I installed CM. Is there any way that, if I backup my current configuration and reflash my backup of the stock rom, I could copy the package for swype over to the SD card to be reinstalled on CM? Even better yet, could I directly extract it from that image?
I could take the easy (warez) way out, but that isn't as appealing.
Thanks,
-Trey

Swype is open Beta last time I checked. Just go get it for yourself.

Swype extract program
If you have a nandroid backup of a ROM with functioning Swype (which it sounds like you do), there's an app around somewhere on here called SwypeRestore.apk that does it for you. Sorry I don't have it right now.

http://forum.xda-developers.com/showthread.php?t=841603

Yeah go to swypes website and get it....takes less than time than making this thread
Sent from my T-Mobile G2 using XDA App

Related

[Q] ROM Manager

I attempted to search the forum first, but search feature has been down for me for the last 10-15 mins.
I am rooted using unrEVOked, currently using MIUI ROM....I have a question regarding ROM Manager, I made a backup of the Stock rom before installing the MIUI rom, if I want to switch to Fresh rom, and I make a backup of the MIUI rom, can I essentially go back and forth between the 3 ROMs (stock, MIUI, Fresh) by just using the recover ROM ? Will it put back all installed apps, layout of app icons, settings etc...?
This sounds like what the program would be useful for, but I am not sure if it is that easy?
Thanks in advance! sorry if this has been answered before
Thats essentially what it is used for. I would recommend getting the Titanium back up pro also so you can have your apps between different Roms. Have fun and remember to clear caches before flashing, and NANDROID!!
Thank you for your quick response.
I have mybackup pro, so I use that to backup apps.
The nandroid/rom manager backups do not maintain apps then, correct?
Sent from my PC36100 using XDA App
They back up the apps on the rom itself. If you install an app on a different rom it will not transfer over to a backed up rom.

Fix Swype with custom ROM (Aospc in particular)

So I've been messing around this weekend trying to get the LICENSED Swype installation that came with our handsets to work on Aospcmod, and through a mess of trial and error I finally figured out what was going on and got it to work. Yes, I know there is another thread here that has you downloading the trialware beta and doing other 'hinky stuff' to make it work, but I'd rather use the licensed copy that came with my phone, thanks.
Swype appears to peek at the build.prop on our handsets and if certain variables don't match what it expects to find it will error out into unlicensed mode where 'swyping' doesn't work and you get a 'Swype not licensed for this device' type message.
In particular Swype seems to look at ro.product.model and ro.product.brand (in build.prop) - for some reason whoever is compiling Aospcmod for the Optimus V has seen it fit to change these values from what they were in the stock FroYo build.
So - to make a long story short if you are using a custom ROM, you've pulled the Swype.apk and libSwypeCore.so from the stock rom and put them into your custom rom, and you still can't get Swype to work you should edit build.prop and change these lines from:
ro.product.model=LG-VM670
ro.product.brand=virgin_mobile
to:
ro.product.model=VM670
ro.product.brand=VirginMobile
How do you edit build.prop? Well if you've installed a custom ROM I'd like to think you can figure it out for yourself. My method was:
1. Connect your phone and use ROMTools option 4 to mount /system as r/w
2. adb pull /system/build.prop
3. Make the above edits to build.prop (USE A REAL TEXT EDITOR - NOT WINDOWS NOTEPAD!)
4. adb push build.prop /system/build.prop
5. Reboot
Need the original Swype.apk and libSwypeCore.so from the stock ROM? Simple! Use SwypeRestore.apk posted by another user of XDA - it will pull the Swype from a backup of the stock ROM (You DO have a backup, right?) and install it to your current setup. You can find SwypeRestore here:
http://forum.xda-developers.com/showthread.php?t=841603
Once you've fixed the build.prop, installed the Optimus V stock Swype.apk and libSwypeCore.so, and rebooted the phone you should be good to go - a fully legitimate and licensed Swype install on your custom ROM!
Hope this wasn't too complicated sounding.
I was going to attach a fixed build.prop for Aospcmod, but since the various values can change every time a build of Aospcmod is released I figured it would be better to have everyone do their own build.prop editing. :-/
Thanks for the tutorial. Been missing swype on my on my V since i put a custom rom on it.
Swype just released a new Beta 3.0:
http://beta.swype.com/
JerryScript said:
Swype just released a new Beta 3.0:
http://beta.swype.com/
Click to expand...
Click to collapse
yep it says if Swype came preinstalled on your phone then this beta will not work
Ha, so that begs the question, how does one get Swype 3.0 working?
Uninstall the pre-installed Swype, then download the Swype Installer from the Swype Beta website, run it, and you will have the new 3.0 version.
What JS said
Sent from my Nexus One using Tapatalk
JerryScript said:
Uninstall the pre-installed Swype, then download the Swype Installer from the Swype Beta website, run it, and you will have the new 3.0 version.
Click to expand...
Click to collapse
I used Titanium to uninstall and it didn't work when then trying to install
Sent from my VM670 using XDA App
DustbinK said:
I used Titanium to uninstall and it didn't work when then trying to install
Sent from my VM670 using XDA App
Click to expand...
Click to collapse
Give us some specifics, what did you do, what happened when you tried to install it?
Details will help us help you.
JerryScript said:
Give us some specifics, what did you do, what happened when you tried to install it?
Details will help us help you.
Click to expand...
Click to collapse
It just says application not installed. after it downloads swype it asks if you want to replace to system app even though the app is no longer on the phone
Sent from my BumbleV using XDA Premium App.
I'm thinking it's not completly uninstalled or its not getting permission.
Sent from my BumbleV using XDA Premium App.
but well if it wont install since it was preinstalled then ill just wait for AOSP's next release.The beta installs on that because swype isnt preinstalled on the AOSP gingerbread rom.
ok it works.use titanium backup to uninstall but first use titanium backup to wipe data.after it is uninstalled reboot the phone.then run the swype installer.i got it installed and running fine.it much better then the preinstalled version.
ummkiper said:
ok it works.use titanium backup to uninstall but first use titanium backup to wipe data.after it is uninstalled reboot the phone.then run the swype installer.i got it installed and running fine.it much better then the preinstalled version.
Click to expand...
Click to collapse
Sorry I didn't respond sooner, long day at work. Glad you got it working, left over data can be a problem with lots of system apps.
(nothing a good recovery's wipe won't handle in extreme cases)
You guys are making it to complicated, when i installed aosp for the first time, i used to like swype so i just went to thier website, downloaded the installer and registered, and it works 100% fine. No need to do anything to make it work.
Husam2011 said:
You guys are making it to complicated, when i installed aosp for the first time, i used to like swype so i just went to thier website, downloaded the installer and registered, and it works 100% fine. No need to do anything to make it work.
Click to expand...
Click to collapse
Yeah... that's because you're using a ROM that didn't come with Swype. The issue on bumblebee and stock is that Swype pre-installed means lots of files in places you don't want them to be.
Unintalling Pre-Install Swype
Hey guys, to uninstall preload Swype:
Use root explorer to delete Swype.apk from your \system\app\ folder
then delete lib file for swype (sorry I don't remember the exact name) from \system\lib\ (search for *swype* should find it)
reboot
download beta and enjoy!
Or...you could just do it the easy way - download Swype installer and the beta through it.
tomr2004 said:
Or...you could just do it the easy way - download Swype installer and the beta through it.
Click to expand...
Click to collapse
yeah you could.if you ninstall the preinstalled swype that is.How do you think you get the beta anyway? you have to download swype installer.but if you dont uninstall the preinstalled swype it wont install the beta.
ummkiper said:
yeah you could.if you ninstall the preinstalled swype that is.How do you think you get the beta anyway? you have to download swype installer.but if you dont uninstall the preinstalled swype it wont install the beta.
Click to expand...
Click to collapse
Apologies, didn't realize that was a challenge on a rooted phone.

Adding APKs

Is there any way to unzip a ROM, and add the APKs for the apps that I want? Like for instance, a ROM may not come with Google voice, so I wanna add that in and make it like a system app. Is this possible, or do I have to just download it, along with the rest of the apps I want?
Sent from my rooted MIUI Dinc2
I'm not quite sure but there's a program that is supposed to zip the rom into a .zip and do the opposite so I don't see why you cannot unzip a rom, add the apk's u want and then rezip and flash. I would be careful though these developers put alot of work into these roms so who knows you could accidentaly remove something crucial to the system, look into the Android software developement area, there's alot of information on how to make roms and such. I tried learning what I needed to to make a rom but got lost about 3 hours into reading lol. In the main forum area under android developement/hacking should be a noob corner somewhere
What's the point of doing what you're asking anyway? Just to have all your apps installed as you install the rom?
Sent from my Incredible 2 using Tapatalk
yeah, so then I don't have to go find them. Lol more of a vanity thing. I'm not worried about taking stuff out, just adding to.
Sent from my rooted MIUI Dinc2
You don't have to unzip the ROM if you have winrar or 7zip right click on the ROM open as archive find system/app put the apk files in that folder close the ROM zip out and then do as you normally would to flash the ROM it will instal what you add
You can adb pull the .apk files you want them add to the zip it isn't suggested to unzip sometimes it corrupts the zip file
Sent from my VS910 4G using xda premium
That's a good suggestion. Can't you also just do a batch backup with titanium and then do a batch restore once you flash your new rom?
Sent from my Incredible 2 using Tapatalk
Yeah, but then there's the long process of letting the apps install and all that... its just a pain. I mean, I don't mind doing it, I was just asking if it'd be easier to do that
Sent from my rooted MIUI Dinc2
I used to do this in the past to remove and install Apks before flashing a new rom. Kind of personalize it for what I wanted and what I use. I haven't been doing this lately though. I just do a batch restore with Titanium backup now. It's pretty quick, and has worked well.

[Q] Defrost stock calendar (USCC G2)

Feel pretty stupid at this point.
I froze the stock calendar with Titanium Backup on my USCC Galaxy S2 and now it will now defrost.
I did do a back up and have the stock apk, but it will not install. Even if I put it in the system.app folder and correct the priviledges.
I found the ICS thread and have looked at the packages.xml but can not find the right place to enable it.
I am sure I am just missing something in the packages.xml but not shure what...
Anyway, any help would be greatly appreciated.
That's one of the pain for system apps. Little bit dumb way - if you made the whole titanium backup, apply it all together. If no changes on calendar, then reapply the same rom over current rom with modified format all tool.
Sent from my SPH-D710 using xda premium
Thanks for the reply. I tried the full restore from Ti Backup but it did not fix the stock calendar. I will wait and try a rom once a few are out for the USCC Galaxy S2. I will jut use CalenGoo for now.

Anybody else getting "parsing" error when installing Swype?

Had my Gnex for about 3 weeks. Rooted and installed RAScream/Trinity last night. When I tried to re-download swype from the swype installer app, it seems to start, and then fails, giving me the message: "Parse error. There is a problem parsing the package."
There are some posts on the Swype forums about the issue (e.g., http://forum.swype.com/showthread.php?6320-Parsing-errors-Read-this!), but none of the solutions seem to work.
Anybody know a workaround? Typing without swype is ridiculously painful.
For what it's worth, I do have a nandroid backup from before I installed this ROM, and I had swype installed then. But it seems like a bad project to reinstall that nandroid just to extract the swype APK from it. Is it possible to get the swype APK out of that nandroid backup without reloading that backup onto my phone?
Titanium can restore from a nandroid.
Which solutions did you try from the forum?
I had the same problem, but it worked for me when I downloaded it with just 3g.
Swyped on my CM9 Galaxy Nexus
Jubakuba said:
Titanium can restore from a nandroid.
Click to expand...
Click to collapse
I second this.
Herman76 said:
Which solutions did you try from the forum?
I had the same problem, but it worked for me when I downloaded it with just 3g.
Swyped on my CM9 Galaxy Nexus
Click to expand...
Click to collapse
I tried 3g. No luck. I'll try to selectively restore it using Titanium.
Sent from my Galaxy Nexus
Jubakuba said:
Titanium can restore from a nandroid.
Click to expand...
Click to collapse
Sweet I'm back on Swype thanks to this suggestion. Paid the $6 or so for pro version and easily restored just Swype from the nandroid. Perfect!
-Sent from a GSM Galaxy Nexus (RAScream/Trinity).-
I was just about to ask this same question, but I found your thread so thank you lol. I can confirm that the Titanium Backup method works, if you have a back up you can restore swype if you are getting the installation error.
I had to download it via 3g to get it to work.
However, I recently switched to TouchPal Keyboard, another free sliding keyboard. I find I'm more accurate with it, and I find editing easier.
I switched the second time my swype beta license unexpectedly expired, and I didn't find out until I went to respond to an urgent email. I also didn't like the double download for swype, nor the new downloader (for DragonGo) they've added. It's a keyboard... why all the downloaders?
shanenexus said:
I was just about to ask this same question, but I found your thread so thank you lol. I can confirm that the Titanium Backup method works, if you have a back up you can restore swype if you are getting the installation error.
Click to expand...
Click to collapse
Yeah for any future readers of this thread I would just note that when you restore from a nandroid, you restore something named 'com.input.Swype' or 'com.keyboard.Swype' or something like that (I can't remember exactly what it was). There is nothing just named 'Swype'
-Sent from a GSM Galaxy Nexus (RAScream/Trinity).-
I ran into this issue as well after trying a new ROM. I tried everything and nothing would work... until I signed up with a different email address then it worked perfectly. I'm guessing this is the same issue you were having. Since then I've used Titanium and restored it that way
Here is how I got Swype back:
If any of you have a NAND backup of before you lost Swype, you can pull out com.swype.android.input (or something very similar) from the backup and extract it. Once extracted and restored (app + data), wipe cache and dalvik and go enable it in Settings --> Language and Input. BAM!!! You got Swype!!
bigblue95z said:
Here is how I got Swype back:
If any of you have a NAND backup of before you lost Swype, you can pull out com.swype.android.input (or something very similar) from the backup and extract it. Once extracted and restored (app + data), wipe cache and dalvik and go enable it in Settings --> Language and Input. BAM!!! You got Swype!!
Click to expand...
Click to collapse
I didn't even have to wipe anything and it worked like a charm for me.
-Sent from a GSM Galaxy Nexus (RAScream/Trinity).-
i downloaded a themed version off off rootzwiki. they have a crap ton of themed versions. just install the apk as normal.

Categories

Resources