Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
TheGeekRedneck
Old
#1  
Member - OP
Thanks Meter 9
Posts: 35
Join Date: Jun 2011
Smile 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. :-/
The Following 4 Users Say Thank You to TheGeekRedneck For This Useful Post: [ Click to Expand ]
 
ummkiper
Old
#2  
ummkiper's Avatar
Senior Member
Thanks Meter 27
Posts: 537
Join Date: Jun 2009
Location: Crestview
Thanks for the tutorial. Been missing swype on my on my V since i put a custom rom on it.
Current Phones:
LG Thrill
HTC Inspire 4G x2
Samsung Captivate Glide
Motorola Atrix
 
JerryScript
Old
#3  
JerryScript's Avatar
Senior Member
Thanks Meter 566
Posts: 734
Join Date: Mar 2011
Location: Las Vegas
Swype just released a new Beta 3.0:

http://beta.swype.com/
The Following User Says Thank You to JerryScript For This Useful Post: [ Click to Expand ]
 
ummkiper
Old
#4  
ummkiper's Avatar
Senior Member
Thanks Meter 27
Posts: 537
Join Date: Jun 2009
Location: Crestview
Quote:
Originally Posted by JerryScript View Post
Swype just released a new Beta 3.0:

http://beta.swype.com/
yep it says if Swype came preinstalled on your phone then this beta will not work
Current Phones:
LG Thrill
HTC Inspire 4G x2
Samsung Captivate Glide
Motorola Atrix
 
DustbinK
Old
#5  
Member
Thanks Meter 9
Posts: 79
Join Date: Apr 2011
Location: Seattle
Ha, so that begs the question, how does one get Swype 3.0 working?
 
JerryScript
Old
#6  
JerryScript's Avatar
Senior Member
Thanks Meter 566
Posts: 734
Join Date: Mar 2011
Location: Las Vegas
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.
The Following User Says Thank You to JerryScript For This Useful Post: [ Click to Expand ]
 
aosp
Old
#7  
aosp's Avatar
Recognized Developer
Thanks Meter 1644
Posts: 1,008
Join Date: Aug 2010

 
DONATE TO ME
What JS said

Sent from my Nexus One using Tapatalk
The Following User Says Thank You to aosp For This Useful Post: [ Click to Expand ]
 
DustbinK
Old
#8  
Member
Thanks Meter 9
Posts: 79
Join Date: Apr 2011
Location: Seattle
Quote:
Originally Posted by JerryScript View Post
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.
I used Titanium to uninstall and it didn't work when then trying to install

Sent from my VM670 using XDA App
 
JerryScript
Old
#9  
JerryScript's Avatar
Senior Member
Thanks Meter 566
Posts: 734
Join Date: Mar 2011
Location: Las Vegas
Quote:
Originally Posted by DustbinK View Post
I used Titanium to uninstall and it didn't work when then trying to install

Sent from my VM670 using XDA App
Give us some specifics, what did you do, what happened when you tried to install it?

Details will help us help you.
 
ummkiper
Old
(Last edited by ummkiper; 18th June 2011 at 05:58 AM.)
#10  
ummkiper's Avatar
Senior Member
Thanks Meter 27
Posts: 537
Join Date: Jun 2009
Location: Crestview
Quote:
Originally Posted by JerryScript View Post
Give us some specifics, what did you do, what happened when you tried to install it?

Details will help us help you.
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.
Current Phones:
LG Thrill
HTC Inspire 4G x2
Samsung Captivate Glide
Motorola Atrix

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...