Fix Swype with custom ROM (Aospc in particular) - Optimus V Android Development

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.

Related

Update swype?

I downloaded the swype installer off the web site and it installs, but just recognizes that it is anyway. Is there a way to update to the latest version?
Sent from my SPH-D710 using XDA App
mister2quick said:
I downloaded the swype installer off the web site and it installs, but just recognizes that it is anyway. Is there a way to update to the latest version?
Sent from my SPH-D710 using XDA App
Click to expand...
Click to collapse
I'm assuming you went and joined the "beta" to get the installer...that would be the newest version available. So, if you download the installer and it says you're updated...than you are! I've got the most recent version (I believe) and I'm on v 3.25.91D.31083.t100 (you can find this by hitting menu>settings>language & keyboard>Swype at the very bottom should be the version #.
You may need to uninstall the 'stock' Swype before you can install the beta. I used TitaniumBackup (need to be rooted) and it worked fine. It can autospace one letter words correctly now.
ApocNarok said:
It can autospace one letter words correctly now.
Click to expand...
Click to collapse
Thats the #1 issue i have with the stock swype! Uninstalled with Titanium Backup (one of the greatest purchases I've made) and installing the new version now.
Thanks for the help all!
correct, u have to first uninstall ur stock swype.
Sent from my SPH-D710 using xda premium
How do you uninstall it with titanium backup?
ApocNarok said:
You may need to uninstall the 'stock' Swype before you can install the beta. I used TitaniumBackup (need to be rooted) and it worked fine. It can autospace one letter words correctly now.
Click to expand...
Click to collapse
click on backup/restore, scroll down to Swype, click on it and press wipe data, click on it again and press un-install...i usually press Menu, more and then clean up the dalvik cache.
Sent from my SPH-D710 using xda premium
Or you could download this and simply install it like a normal app.
http://dl.dropbox.com/u/37471265/com.swype.android.inputmethod_30637.apk
I'm using Swype for the original Epic and it works 100% I just renamed the stock Swype with a ".bak" extension and left it in place.
Overstew said:
Or you could download this and simply install it like a normal app.
http://dl.dropbox.com/u/37471265/com.swype.android.inputmethod_30637.apk
Click to expand...
Click to collapse
Ok man you are the best this is awesome, way easier than how I installed it on my previous et4g.
Sent from my Galaxy S2
ravizzle said:
Ok man you are the best this is awesome, way easier than how I installed it on my previous et4g.
Sent from my Galaxy S2
Click to expand...
Click to collapse
love the look of this nexus version and it autospaces with one letter words. Thanks!
do you still need to uninstall the old version to do this? Thanks
graffix31 said:
do you still need to uninstall the old version to do this? Thanks
Click to expand...
Click to collapse
You need to either uninstall the old one or as another poster suggested, rename the stock swype.apk (I opted to keep the stock and renamed it to swype.apk.BAK.) Then install the .apk from the link in this thread and it will work. If you don't uninstall or rename the stock swype.apk, it will revert to stock on reboot.
Is this the all black modded Swype? If not anyone know where I can find it! Been searching high and low, oh yeah already googled
Make sure you delete libswype.so otherwise it will not work
Sent from my SPH-D710 using Tapatalk
Sorry Wrong thread.

Swype Beta 3.26

Hey guys so here's the latest version of swype. This should be the last one you have to install like this since updates from now on will be OTA.
http://beta.swype.com/
Sent from my Epic 4G using XDA Premium App
How can I properly remove the 3.25 nexus s version the swype installer says its "preinstalled" so I can't upgrade to 3.26
Thanks.
Sent from my SPH-D700 using xda premium
eheaps said:
How can I properly remove the 3.25 nexus s version the swype installer says its "preinstalled" so I can't upgrade to 3.26
Thanks.
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Look at the topics in my profile one of them is how to remove preinstallation Swype...it's a old thread but should still work!
Sent from my SPH-D700 using XDA App
Meh...
Too much work to theme all over again
Sent from my SPH-D700
I really liked it. Though today i booted up my phone and got fc like crazy over swype. If you read the apk it says minimum os requirement is 3.1
So far, after a restart, I have it working again.. What I did:
1. Select a different keyboard to stop the force closing of the new Swype.
2. Restore the original pre installed Swype.
3. Dalvik wipe and a cache wipe. after the reboot, FIRST de-select the default Swype input to Android keyboard
5. Delete the old Swype (backup the original) from system/app.
6. Proceed to the Swype installer and install Swype, when it gets to the licensing part, you should get a background fc (I believe that's Swype restarting from unlicensed, to licensed.)
7. Don't enable Swype after licensing is done. Instead move it to system/app.
8. Restart into cwm. Dalvik wipe 3x, and reboot. The force closing is gone. Go into the locale and text input in settings, and notice all keyboards are checked. when you try typing no keyboard should come up.
9. Launch Swype installer and it now says (sorry, Swype is not available on preinstalled devices) close out and as soon as you try typing again, the new Swype will work again . No force closes, still works after reboot and etc.
I hope this delicate procedure helps someone else who wants the latest Swype, its Hella worth it, and you'll be glad you did since here on after it will be ota updates! =D
Force close on cyanogen 7
Sent from my SPH-D700 using Tapatalk
Hm, after I remove 3.25 then reboot it's still there! Guess I'll have to stick with that one...
EDIT: Was able to remove 3.25 with Titanium Backup, rebooted and installed 3.26 successfully. Lost the slick theme from the Nexus S 3.25 but better functionality and OTA updates will be worth it!
Got it to work on my Epic 4g with SRF 1.2 with Twilight 1.1.1
Version of skype on my phone. 3.26.92d.35381.t0
http://forums.androidcentral.com/sp...e-3-26-any-luck-installing-3.html#post1353299
1. Uninstall your current Swype (just the keyboard, leave the installer)
2. Make a backup copy on your sdcard of /system/build.prop (Use ES File Explorer/Root Explorer, etc.. Something that has root access and write access to root level)
3. Go in and open your current build.prop on the device in /system/ and modify the following line.
Change the line:
ro.product.model=Nexus S 4G (on our phone it shows sph-d700, but change it to Nexus S)
To read:
ro.product.model=Nexus S
Save, reboot and run the installer.. You will then have 3.26 when completed. Afterwards go back in and either change your current build.prop back to saying Nexus S 4G or delete out the current and replace with your backup copy.
Thanks from Paul627g and jp22382 from android central
Click to expand...
Click to collapse
I just got it installed, loving the new layout. Bigger spacebar and they removed the language icon finally!
running SR v1.2, just used titanium backup to uninstall the system app. Then installed as normal from the site. Works great.
Update: looks like when I reboot, I get a bunch of Swype force closes. I made the update to build.prop above and it fixed the issue.
1. Uninstall your current Swype (just the keyboard, leave the installer)
2. Make a backup copy on your sdcard of /system/build.prop (Use ES File Explorer/Root Explorer, etc.. Something that has root access and write access to root level)
3. Go in and open your current build.prop on the device in /system/ and modify the following line.
Change the line:
ro.product.model=Nexus S 4G (on our phone it shows sph-d700, but change it to Nexus S)
To read:
ro.product.model=Nexus S
Save, reboot and run the installer.. You will then have 3.26 when completed. Afterwards go back in and either change your current build.prop back to saying Nexus S 4G or delete out the current and replace with your backup copy.
Thanks from Paul627g and jp22382 from android central
Click to expand...
Click to collapse
Good catch. This fixed my FC on reboot problem. I just wish we could have this without the installer.
My version of getting it installed can have installer removed, without faking the build.prop
Hm.. interesting, I'm not able to follow my instructions on GB. They worked fine for Froyo. Guess my Instructions only help if you're on froyo?
Sent from my SPH-D700 using XDA App
I successfully installed 3.26, what I did:
1. Switched to Android Keyboard (turned off Swype)
2. Uninstalled Swype AND Swype Installer with Titanium
3. Went on-line to have new invite email sent.
4. Clicked on link, Installer installed no problem.
5. Swype installed no problem.
Can the Installer now be uninstalled, since Swype is supposed update itself automatically from now on?
If you want 3.26 themed, check out this guy's site. Awesome work, and they're all fully compatible with our phone.
Also very easy to install. All you have to do is download his apk, uninstall swype from ur phone (thru titanium OR delete w/ root explorer), then just install the new swype 3.26 regularly. no need to root explorer push or flash or wutever. just install. 1-2-3.
http://jbthemes.com/djdarkknight/darkswype-morph/
better hurry in case swype shuts this guy down or something, as they've done in the past. or at least request that he takes down all his swype beta apks.
i love this keyboard thanks
can someone please post the latest beta apk? i have deleted the appropriate files/previous version and downloaded the installer but it still wont let me install the beta.
please help
Send you the apk is not allowed cause it's only for beta testers...but you can contact the Swype support
i dont think that is true as you can download it directly from their website but if your phone has swype preinstalled they dont let you download it. Can someone please post the latest version of swype with Dragon?
thanks in advance,
pre2epic4g said:
i dont think that is true as you can download it directly from their website but if your phone has swype preinstalled they dont let you download it. Can someone please post the latest version of swype with Dragon?
thanks in advance,
Click to expand...
Click to collapse
If you are a beta member you can download it. If you have Swype preinstalled remove the apk, lib file, and data folder then install the Swype installer. Swype has asked before that people stop publicly distributing their product, especially their betas.
Sent from my SPH-D700 using Tapatalk

How to update Swype to latest beta on rooted stock rom

I accidentally found a way to update Swype to latest beta and get access to all available languages on a stock rooted rom using Titanium Backup Pro. Here is what I did:
- froze stock Swype
- went to beta.swype.com and initiated download of the current swype beta
- got the installator to the phone
- started installation process
- process hang on the licensing part, where I left it for couple of minutes
- aborted process
- uninstalled swype installator
- defrosted stock swype
- surprisingly, it got updated to the latest version
- went to settings and was able to download additional needed language(Russian)
Ofcourse it could probably be done with just uninstalling the Swype with Titanium Backup Pro, but I didn't want to uninstall anything and preferred just to freeze bloat. Because I didn't know what could break my rom.
sign up for the swype beta program if you have not done so already
then download the installer from their website
install and done
enjoy
P.S. it's that easy
it will not install if you have swype preinstalled by manufacturer/carrier.
AllGamer said:
sign up for the swype beta program if you have not done so already
then download the installer from their website
install and done
enjoy
P.S. it's that easy
Click to expand...
Click to collapse
just select the option to uninstall it, using any of the market Uninstaller (root needed)
AllGamer said:
just select the option to uninstall it, using any of the market Uninstaller (root needed)
Click to expand...
Click to collapse
Some people don't wasn't root so this would be good for them maybe.
Sent from my SGH-T989 using xda premium
xsteven77x said:
Some people don't wasn't root so this would be good for them maybe.
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
check his tittle
How to update Swype to latest beta on rooted stock rom
that seems to say he's already rooted
Yeah It's just for those not brave enough who prefer not to uninstall stuff from stock rom. Just learning few tricks myself, coming to android from Maemo-linux powered N900.
AllGamer said:
check his tittle
How to update Swype to latest beta on rooted stock rom
that seems to say he's already rooted
Click to expand...
Click to collapse
I just tried this on mine, stock rooted ROM, and it installed beta and works great! Way better than the pre installed Swype.
Thanks so much, this is so much better than the stock Swype.
arcticrobot said:
Ofcourse it could probably be done with just uninstalling the Swype with Titanium Backup Pro, but I didn't want to uninstall anything and preferred just to freeze bloat. Because I didn't know what could break my rom.
Click to expand...
Click to collapse
I found that for me, the uninstall method did not work. I removed the apk via ADB Shell to make sure that I got a clean remove. I installed Swype Beta but on the install it still told me that I was replacing a System Application. I proceeded and I was able to activate and type with Swype, but I can't actually Swype with it. So I had to go back to stock via ADB Shell.
I used the freeze method and it did definitely work! Thanks for the awesome workaround!

Help just updated to the new Sprint update with sywpe

I was trying to install the beta version and disabled swype completely how do i re-enable a disabled app? I can't find anywhere. Yet if i try to install it says itis preinstslled. Is it possible to get the beta version to install?
Thank you
Sent from my SPH-L710 using xda app-developers app
agiudici said:
I was trying to install the beta version and disabled swype completely how do i re-enable a disabled app? I can't find anywhere. Yet if i try to install it says itis preinstslled. Is it possible to get the beta version to install?
Thank you
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
No... It is the same app name.. So you are out of luck... Uninstall the new one and reinstall the beta if that is what you want...
Sent from my SPH-L710 using xda premium
Won't let me uninstall iy Is a app from sprint system. I can't even find the app to renable yhe keybd. Is there a wsy to renable?
Sent from my SPH-L710 using xda app-developers app
as I posted in another thread...
You need to be rooted, and need an app to uninstall apps and a file explorer with root access. I used Titanium Backup and ES File Explorer. Make backups if you can to be safe. If you use Titanium Backup, and already have a backup of the Swype beta, keep in mind that you will need to have your max backup settings to 2 or higher.
- Uninstall Swype
- Delete libSwypeCore.so from the directory */system/lib/
- Reboot into recovery and clear the Dalvik cache
- Install Swype!
Beta version - 1.1.1.7628
Sprint version - 1.1.0.7309
Click to expand...
Click to collapse
To re enable it, make sure the box is checked under LANGUAGE AND INPUT settings. When typing, swipe down to bring down the notification menu and select the option to change the keyboard.
I tried it but after uninstalling it as you said (removed with titanium, deleted the file, and cleaning both caches), when I tried running the beta installer, it keeps telling me that there is no new version for my device....
What am I missing?
When the Sprint version installs it overwrites the beta version, so if you had Swype and Swype beta, you really should uninstall both of them to be sure. The error you seem to be getting is the one I got when I had only removed the release version of Swype, not the beta/sprint version .
Double check to be sure neither one is installed. You can also check the following directories if you don't see it.
*/system/app
*/data/app
Z a p i x said:
When the Sprint version installs it overwrites the beta version, so if you had Swype and Swype beta, you really should uninstall both of them to be sure. The error you seem to be getting is the one I got when I had only removed the release version of Swype, not the beta/sprint version .
Double check to be sure neither one is installed. You can also check the following directories if you don't see it.
*/system/app
*/data/app
Click to expand...
Click to collapse
Ok, I uninstalled both, swype AND the beta installer, and then reinstalled the beta installer and this time IT WORKED!!!
Thank you!!!

Most Recent Update Keyboard Issues

So this morning i got the most recent stock update, (yes im not rooted) and within the update samsung adding in swype (Not T9 trace), but the icon on my keyboard never pops up for me to switch to swype.. like its there but not able to use it.. can anyone help me figure this out?
Also ever since the update earlier, auto correct has become really really ****ty D=
I hate the version of Swype that came in the li3 update. I removed it (must be rooted) and installed the beta.
Sent from my SPH-L710 using xda app-developers app
I cant even make swype work. Theres no way to disable it or make it work!
If you are rooted you can remove it, then install the beta which is a later version and is better in my opinion.
To remove it use Root Explorer (or equiv):
- Delete libSwypeCore.so from the directory /system/lib/
- Delete Swype.apk from the directory /system/app/
- Reboot
- Download and install the Swype Beta Installer, and install the latest beta.
I have found that the version that is included with LI3 (v 1.1.0.7309) is not as good as the latest beta (v 1.1.1.7628).
Sent from my SPH-L710 using xda app-developers app
not really what i was wondering..
No update here yet. Only had it a couple days, haven't had the chance to root yet.
Sent from my SPH-L710 using Tapatalk 2
Reaper is there a emblem in the top left corner when you are on a text message that looks like a keyboard if so you can punch that and it gives you the option or i think you can go into settings and languages and keyboards and you can uncheck all but voice and swype and it should default to swype that way. not sure thou i am sure you have tried both of those but without knowing what you have done i gotta start somewhere :laugh:

Categories

Resources