[Release] Android 2.2 Froyo For Defy. ChinaVersion English Included, Rooted.

9

999phonebug

Guest
I'm going to pick-up a Defy. Can I skip the MOTOBLUR registration?

Besides, is there any way to roll-back to the original ROM?

Thx in advnace.
 

crazyVII

Senior Member
Jul 16, 2008
286
14
38
I'm going to pick-up a Defy. Can I skip the MOTOBLUR registration?

Besides, is there any way to roll-back to the original ROM?

Thx in advnace.
moto registration: no, it wasnt possible on my phone

besides...? dont understand what u mean by this..
roll back to what exactly... this rom should be "clean" - but nobody really know what's working any how it looks like :=P

np :=)
 
9

999phonebug

Guest
I removed too much and now Text Messaging cannot be opened and SMS are appearing double, I suspect it's the UniversalInbox.apk/odex, could someone send me those?

THXXXXXXXXXX!

And how can I remove MOTOBLUR's "News" app and Google Voice...................?

Edit: OK... Re-flashed the ROM and was more careful this time... Looks like it's those BlurEmailsth that caused the problem.

And removed the News app by removing NewsWidget.apk/odex

Edit 2: And the Google Voice was from Cyanogen's Gapps... I did find that flashing gapps works only sporadically through. And haven't found a way to reliable run Clockwork Recovery - It runs at the first instance but subsequent reboots often/always leads to blank screen.
 
Last edited:

naenee

Senior Member
Apr 29, 2008
422
56
0
Instead of removing packages, consider merely renaming their extension to something else. Then, if you run into problems, you can restore the package by restoring the apk extension.
 
9

999phonebug

Guest
Instead of removing packages, consider merely renaming their extension to something else. Then, if you run into problems, you can restore the package by restoring the apk extension.
Learnt the hard way. :D

Hopefully Motorola will stick to its words and unlock the bootloader and then we don't have to work so troublesomely to free our handsets.
 
9

999phonebug

Guest
Correction: Only AGPS isn't working...

These are my /system/etc/location.cfg and /data/location/location.cfg

system
Code:
[LCS FDB]
DL_DB_FEATURE_ID_LOCATION_AVAILABLE = 1
DL_DB_FEATURE_ID_LOCATION_ON_OFF_AVAILABLE = 1
DL_DB_FEATURE_ID_LOCATION_STATE = 1

[LCS SEEM]
DL_LCS_CAPABILITY_MSBASED_AGPS =     1
DL_LCS_CAPABILITY_MSASSIST_AGPS =     1
DL_LCS_CAPABILITY_CONV_AGPS =     1
DL_LCS_CAPABILITY_MSBASED_OTDOA =     0
DL_LCS_CAPABILITY_MSASSIST_OTDOA =     0
DL_LCS_CAPABILITY_CELLID =     1
DL_LCS_NETWORK_3GPP =     1
DL_LCS_NETWORK_X1 =     0
DL_LCS_NOTIFY_VERIFY_CAPABILITY =     1
DL_LCS_SS_MOLR_CAPABILITY =     0
DL_LCS_X1_ERROR_RETRY_PROVISIONING =     0
DL_LCS_NETWORK_SUPL =     1
DL_LCS_SUPL_SECURITY_ON =     0
DL_LCS_WHITELIST_ENABLED =     0
DL_LCS_SUPL_TRACK_ENH =     1
DL_LCS_PREF_POSMETHOD =     0
DL_LCS_SUPL_MT_TEST = 0
DL_LCS_SUPL_FALLBACK_TO_3GPP =     0
DL_LCS_SUPL_DEBUG_INDICATIONS =     0
DL_LCS_SUPL_MT_OFF =     1
DL_LCS_SUPL_CARRIER_INDEPENDENT =     1
DL_LCS_3GPP_USER_STATUS_OVERRIDE =     1    
hslp_address = supl.google.com:7276 
default_hslp_address = supl.google.com:7276
http_post_address = https://supl1fp.google.com:7272
DL_LCS_SUPL_SESSION_PREP_TIMER_LEN = 1 
3GPP_LOG_FLEX_ENABLED = 1
SHIM_LOG_FLEX_ENABLED = 1
SUPL_LOG_FLEX_ENABLED = 1 
DL_LCS_CAPABILITY_NOTVER_UPGRADE = 0
DL_LCS_SUPL_VERSION = 1
DL_LCS_CAPABILITY_MO_MSB_SUPL = 1
DL_LCS_CAPABILITY_MO_MSA_SUPL = 1
DL_LCS_SUPL2_DATA_INACTIVITY_CLOSE_TIMER = 300
DL_LCS_SUPL_FALLBACK_SERVER = 0
fallback_hslp_address = supl.google.com:7276 
DL_LCS_SUPL_FALLBACK_SECURITY_ON =  0 
DL_LCS_SUPL_FALLBACK_CARRIER_INDEPENDENT =  0 

[GPS DRV]
leap_seconds =     15
ref_pos_unc_valid =     1
ref_pos_semi_major_unc =     83
ref_pos_semi_minor_unc =     83
ref_pos_altitude_unc =     47
ref_time_unc_valid =     1
ref_time_unc =     145

[CAIDL]
ACTIVE_TRANS_OFFSET = 1000
MIN_WAKEUP_OFFSET = 3000
MAX_WAKEUP_OFFSET = 10000
WAKEUP_OFFSET_PCT = 10
DRV_RSP_INTERVAL = 1000
STOP_TIMEOUT = 2000
APP_REQ_GUARD_OFFSET = 1000
DRV_RSP_GUARD_OFFSET = 4000
SUPL_TRACK_ENH_TIMEOUT = 60000
ASSIST_GATE_TIMEOUT = 20000
IDLING_TIMEOUT = 5000
MIN_EARLY_RANGES = 6
LOC_LOG_LEVEL = 4
DRV_LOG_TO_SP = 0
DRV_LOG_LEVEL = 0
DISABLE_START_DRV_FROM_SP_BOOT = 1
IS_VALID_LAST_DRV_TCXO = 0
LAST_DRV_TCXO = 0
HW_AFC = 1
TTF_3GPP_LATENCY_OFFSET = 1000
INJECT_TCXO = 0
MIN_RANGES_USEFUL_COARSE = 16
LOC_LEARNING = 1
LOC_LEARNING_MAX_SIZE = 50
VCTXO_UNC_VALUE = 299 
SHARED_TCXO_ENABLED = 0
NO_FIX_EARLY_WAKEUP = 60000
MIN_NAV_REQ_INTERVAL = 3600000
HTTP_POST_INTERVAL = 30
HTTP_POST_RETRY_INTERVAL = 60
HTTP_POST_RETRY_MAX = 4
LBS_PERSISTENT_COLD_START = 0
DL_LCS_NMEA_HAL = 0
LAST_SECURE_GPS_TIME = 0
LAST_SECURE_GPS_TIME_THRESHOLD = 1209600
MIN_EARLY_RANGES_HOLDOFF_S = 9
data
Code:
[LCS FDB]
DL_DB_FEATURE_ID_LOCATION_AVAILABLE = 1
DL_DB_FEATURE_ID_LOCATION_ON_OFF_AVAILABLE = 1
DL_DB_FEATURE_ID_LOCATION_STATE = 1

[LCS SEEM]
DL_LCS_CAPABILITY_MSBASED_AGPS =     1
DL_LCS_CAPABILITY_MSASSIST_AGPS =     1
DL_LCS_CAPABILITY_CONV_AGPS =     1
DL_LCS_CAPABILITY_MSBASED_OTDOA =     0
DL_LCS_CAPABILITY_MSASSIST_OTDOA =     0
DL_LCS_CAPABILITY_CELLID =     1
DL_LCS_NETWORK_3GPP =     1
DL_LCS_NETWORK_X1 =     0
DL_LCS_NOTIFY_VERIFY_CAPABILITY =     1
DL_LCS_SS_MOLR_CAPABILITY =     0
DL_LCS_X1_ERROR_RETRY_PROVISIONING =     0
DL_LCS_NETWORK_SUPL =     1
DL_LCS_SUPL_SECURITY_ON =     1
DL_LCS_WHITELIST_ENABLED =     0
DL_LCS_SUPL_TRACK_ENH =     1
DL_LCS_PREF_POSMETHOD =     0
DL_LCS_SUPL_MT_TEST = 0
DL_LCS_SUPL_FALLBACK_TO_3GPP =     0
DL_LCS_SUPL_DEBUG_INDICATIONS =     0
DL_LCS_SUPL_MT_OFF =     1
DL_LCS_SUPL_CARRIER_INDEPENDENT =     1
DL_LCS_3GPP_USER_STATUS_OVERRIDE =     1    
hslp_address = supl.google.com:7276 
default_hslp_address = supl.google.com:7276
http_post_address = https://supl1fp.google.com:7272
DL_LCS_SUPL_SESSION_PREP_TIMER_LEN = 1 
3GPP_LOG_FLEX_ENABLED = 1
SHIM_LOG_FLEX_ENABLED = 1
SUPL_LOG_FLEX_ENABLED = 1 
DL_LCS_CAPABILITY_NOTVER_UPGRADE = 0
DL_LCS_SUPL_VERSION = 1
DL_LCS_CAPABILITY_MO_MSB_SUPL = 1
DL_LCS_CAPABILITY_MO_MSA_SUPL = 1
DL_LCS_SUPL2_DATA_INACTIVITY_CLOSE_TIMER = 300
DL_LCS_SUPL_FALLBACK_SERVER = 0
fallback_hslp_address = supl.google.com:7276 
DL_LCS_SUPL_FALLBACK_SECURITY_ON =  0 
DL_LCS_SUPL_FALLBACK_CARRIER_INDEPENDENT =  0 

[GPS DRV]
leap_seconds =     15
ref_pos_unc_valid =     1
ref_pos_semi_major_unc =     83
ref_pos_semi_minor_unc =     83
ref_pos_altitude_unc =     47
ref_time_unc_valid =     1
ref_time_unc =     145

[CAIDL]
ACTIVE_TRANS_OFFSET = 1000
MIN_WAKEUP_OFFSET = 3000
MAX_WAKEUP_OFFSET = 10000
WAKEUP_OFFSET_PCT = 10
DRV_RSP_INTERVAL = 1000
STOP_TIMEOUT = 2000
APP_REQ_GUARD_OFFSET = 1000
DRV_RSP_GUARD_OFFSET = 4000
SUPL_TRACK_ENH_TIMEOUT = 60000
ASSIST_GATE_TIMEOUT = 20000
IDLING_TIMEOUT = 5000
MIN_EARLY_RANGES = 6
LOC_LOG_LEVEL = 4
DRV_LOG_TO_SP = 0
DRV_LOG_LEVEL = 0
DISABLE_START_DRV_FROM_SP_BOOT = 1
IS_VALID_LAST_DRV_TCXO = 1
LAST_DRV_TCXO = 68
HW_AFC = 1
TTF_3GPP_LATENCY_OFFSET = 1000
INJECT_TCXO = 0
MIN_RANGES_USEFUL_COARSE = 16
LOC_LEARNING = 1
LOC_LEARNING_MAX_SIZE = 50
VCTXO_UNC_VALUE = 299 
SHARED_TCXO_ENABLED = 0
NO_FIX_EARLY_WAKEUP = 60000
MIN_NAV_REQ_INTERVAL = 3600000
HTTP_POST_INTERVAL = 30
HTTP_POST_RETRY_INTERVAL = 60
HTTP_POST_RETRY_MAX = 4
LBS_PERSISTENT_COLD_START = 0
DL_LCS_NMEA_HAL = 0
LAST_SECURE_GPS_TIME = 980523947
LAST_SECURE_GPS_TIME_THRESHOLD = 1209600
MIN_EARLY_RANGES_HOLDOFF_S = 9
I edited them according to this and this.

While we're at it, what are the permissions of these 2 files?

Any idea...?
 
9

999phonebug

Guest
There's a logcat entry when Maps starts...

D/SUPLJ ( 1349): AgpsNetworkManager->[isCarrierSetingEnabled:enable=false]
I suppose it should be "true"? I've already enabled network-based locationing in Settings but... Any idea?
 
Last edited:

jeffokada81

Senior Member
Oct 14, 2008
370
24
0
I tried 5 or 6 different ROMS and this is the only one I could restore and 3G worked directly on reboot.

Thanks.

ps. Motorola's are a pain the the ass compared to Nexus. sheesh
I just noticed there is no Market or Google apps installed... Is there a download link someone can refer me to?
 
Last edited:

nebneb333

Senior Member
Oct 4, 2010
53
3
0
help!

Ok so after installing and clicking the reboot into recovery in the goapk mod clockwokmod recovery thing my defy is stuck in perpetual reboot no matter what I do! how do I fix it?