[NIGHTLY] UNOFFICIAL CM9/ICS For Droid 4 For MotoICS Leak

Search This thread

olegfusion

Senior Member
Sep 24, 2011
823
319
Samsung Galaxy Z Fold3
the string 'ro.telephony.default_network=10' occurs 2 times in the build.prop file, should I change it in both places?

2 times? I think no need to use it 2 times. But I can be mistaken, yes, change both lines to same values.

As well as, change
ro.telephony.gsm-routes-us-smsc = 1
to
ro.telephony.gsm-routes-us-smsc = 0

upd, look at droid 3 thread first post
http://xdaforums.com/showthread.php?t=1591949

I think it's what exactly we need.
 
Last edited:

vyruz1986

Senior Member
May 5, 2009
86
9
Heist op den Berg
2 times? I think no need to use it 2 times. But I can be mistaken, yes, change both lines to same values.

As well as, change
ro.telephony.gsm-routes-us-smsc = 1
to
ro.telephony.gsm-routes-us-smsc = 0

upd, look at droid 3 thread first post
http://xdaforums.com/showthread.php?t=1591949

I think it's what exactly we need.

I tried changing the ro.telephony.default_network to both 0 and 3 in both places,
And also changing ro.telephony.gsm-routes-us-smsc to 1.
I do get reception now but still get a 'Unfortunately, the process com.android.phone has stopped' error when I try to go to settings > more... > mobile networks
This is quite a showstopped since I need to go in there in order to enter my APN to have data connection...

I'll try again with todays nightly and also with the AOKP build which didn't have the problem yesterday.
 

vyruz1986

Senior Member
May 5, 2009
86
9
Heist op den Berg
what if you go to menu *#*#4636#*#*

btw, try to delete latest one default_network parameter at all.

When I enter this code in the dialer I can get into the Testing menu.
If I go to 'phone information' I can see it recognizes my carrier, although no data connection is established (probably since I can't enter the right APN).

I pulled a logcat during startup and found these lines which seem interesting:
Code:
E/TelephonyProvider(  657): Failed setting numeric '20601' to the current operator
D/MotoSimUiHelper(  657): [SHOWSIMSTATUS] MSG: SIM operator 20601
D/MotoSimUiHelper(  657): [SHOWSIMSTATUS] ERROR: Unkown SIM operator
I/ActivityManager(  434): Force stopping package com.google.android.partnersetup uid=10054
I/ActivityManager(  434): Killing proc 1086:com.google.android.partnersetup/10054: force stop

When going into the 'Mobile Networks' screen in settings, the com.android.phone process crashes and keeps crashing until I reboot the phone. When I try to enter the menu and it crashes, this is what the logcat shows:
Code:
D/CdmaOptions(  657): deviceSupportsnvAnRum: prop=NV,RUIM
D/CdmaOptions(  657): deviceSupportsnvAnRum: nvSupported=true ruimSupported=true
D/CdmaOptions(  657): Both NV and Ruim supported, ENABLE subscription type selection
D/NetworkSettings(  657): handleGetPreferredNetworkTypeResponse: modemNetworkMode = 1
D/NetworkSettings(  657): handleGetPreferredNetworkTypeReponse: settingsNetworkMode = 1
D/NetworkSettings(  657): handleGetPreferredNetworkTypeResponse: if 1: modemNetworkMode = 1
D/libEGL  (  657): loaded /system/lib/egl/libGLES_android.so
D/libEGL  (  657): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL  (  657): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL  (  657): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/OpenGLRenderer(  657): Enabling debug mode 0
D/AndroidRuntime(  657): Shutting down VM
W/dalvikvm(  657): threadid=1: thread exiting with uncaught exception (group=0x40a511f8)
E/AndroidRuntime(  657): FATAL EXCEPTION: main
E/AndroidRuntime(  657): java.lang.ArrayIndexOutOfBoundsException: length=2; index=4
E/AndroidRuntime(  657):        at android.preference.ListPreference.getEntry(ListPreference.java:203)
E/AndroidRuntime(  657):        at android.preference.ListPreference.getSummary(ListPreference.java:148)
E/AndroidRuntime(  657):        at android.preference.Preference.onBindView(Preference.java:507)
E/AndroidRuntime(  657):        at android.preference.Preference.getView(Preference.java:453)
E/AndroidRuntime(  657):        at android.preference.PreferenceGroupAdapter.getView(PreferenceGroupAdapter.java:221)
E/AndroidRuntime(  657):        at android.widget.AbsListView.obtainView(AbsListView.java:2035)
E/AndroidRuntime(  657):        at android.widget.ListView.makeAndAddView(ListView.java:1772)
E/AndroidRuntime(  657):        at android.widget.ListView.fillDown(ListView.java:672)
E/AndroidRuntime(  657):        at android.widget.ListView.fillFromTop(ListView.java:732)
E/AndroidRuntime(  657):        at android.widget.ListView.layoutChildren(ListView.java:1611)
E/AndroidRuntime(  657):        at android.widget.AbsListView.onLayout(AbsListView.java:1865)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1486)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.onLayout(LinearLayout.java:1399)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1617)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.onLayout(LinearLayout.java:1401)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1486)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.onLayout(LinearLayout.java:1399)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1486)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.onLayout(LinearLayout.java:1399)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1489)
E/AndroidRuntime(  657):        at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
E/AndroidRuntime(  657):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  657):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(  657):        at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime(  657):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  657):        at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(  657):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime(  657):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime(  657):        at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  434):   Force finishing activity com.android.phone/.Settings
W/ActivityManager(  434):   Force finishing activity com.android.settings/.SubSettings
D/dalvikvm(  434): GC_CONCURRENT freed 2302K, 47% free 5843K/10823K, paused 3ms+4ms
W/ActivityManager(  434): Activity pause timeout for ActivityRecord{40e45a28 com.android.phone/.Settings}
D/OpenGLRenderer( 1278): Flushing caches (mode 0)
W/ActivityManager(  434): Activity destroy timeout for ActivityRecord{40e45a28 com.android.phone/.Settings}

Any other suggestions?
 

vyruz1986

Senior Member
May 5, 2009
86
9
Heist op den Berg
one more thing, I noticed while flashing this ROM that in the safestrap screen, it says 'for ICS leak .200 - .206'
But I have leak .213 installed, could this be the reason?
 

bonesjones

Senior Member
Dec 9, 2009
354
75
35
Birmingham
Anyone else's arrow keys backwards?? Like left right is up down vice versa?
Mines been like that since .203 cm9.
Then went to .213 and aokp.

Sent from my XT894 using Tapatalk 2
 

joojoobee666

Senior Member
Jul 9, 2008
624
504
one more thing, I noticed while flashing this ROM that in the safestrap screen, it says 'for ICS leak .200 - .206'
But I have leak .213 installed, could this be the reason?

No, the latest CM9 builds will work with any of the ICS leaks. They just haven't update the maserati_ota_from_target_files to reflect the changes in the updater script.

Anyone else's arrow keys backwards?? Like left right is up down vice versa?
Mines been like that since .203 cm9.
Then went to .213 and aokp.

Sent from my XT894 using Tapatalk 2

This is definitely fixed in the latest CM9 builds.
 

vyruz1986

Senior Member
May 5, 2009
86
9
Heist op den Berg
When I enter this code in the dialer I can get into the Testing menu.
If I go to 'phone information' I can see it recognizes my carrier, although no data connection is established (probably since I can't enter the right APN).

I pulled a logcat during startup and found these lines which seem interesting:
Code:
E/TelephonyProvider(  657): Failed setting numeric '20601' to the current operator
D/MotoSimUiHelper(  657): [SHOWSIMSTATUS] MSG: SIM operator 20601
D/MotoSimUiHelper(  657): [SHOWSIMSTATUS] ERROR: Unkown SIM operator
I/ActivityManager(  434): Force stopping package com.google.android.partnersetup uid=10054
I/ActivityManager(  434): Killing proc 1086:com.google.android.partnersetup/10054: force stop

When going into the 'Mobile Networks' screen in settings, the com.android.phone process crashes and keeps crashing until I reboot the phone. When I try to enter the menu and it crashes, this is what the logcat shows:
Code:
D/CdmaOptions(  657): deviceSupportsnvAnRum: prop=NV,RUIM
D/CdmaOptions(  657): deviceSupportsnvAnRum: nvSupported=true ruimSupported=true
D/CdmaOptions(  657): Both NV and Ruim supported, ENABLE subscription type selection
D/NetworkSettings(  657): handleGetPreferredNetworkTypeResponse: modemNetworkMode = 1
D/NetworkSettings(  657): handleGetPreferredNetworkTypeReponse: settingsNetworkMode = 1
D/NetworkSettings(  657): handleGetPreferredNetworkTypeResponse: if 1: modemNetworkMode = 1
D/libEGL  (  657): loaded /system/lib/egl/libGLES_android.so
D/libEGL  (  657): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
D/libEGL  (  657): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
D/libEGL  (  657): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
D/OpenGLRenderer(  657): Enabling debug mode 0
D/AndroidRuntime(  657): Shutting down VM
W/dalvikvm(  657): threadid=1: thread exiting with uncaught exception (group=0x40a511f8)
E/AndroidRuntime(  657): FATAL EXCEPTION: main
E/AndroidRuntime(  657): java.lang.ArrayIndexOutOfBoundsException: length=2; index=4
E/AndroidRuntime(  657):        at android.preference.ListPreference.getEntry(ListPreference.java:203)
E/AndroidRuntime(  657):        at android.preference.ListPreference.getSummary(ListPreference.java:148)
E/AndroidRuntime(  657):        at android.preference.Preference.onBindView(Preference.java:507)
E/AndroidRuntime(  657):        at android.preference.Preference.getView(Preference.java:453)
E/AndroidRuntime(  657):        at android.preference.PreferenceGroupAdapter.getView(PreferenceGroupAdapter.java:221)
E/AndroidRuntime(  657):        at android.widget.AbsListView.obtainView(AbsListView.java:2035)
E/AndroidRuntime(  657):        at android.widget.ListView.makeAndAddView(ListView.java:1772)
E/AndroidRuntime(  657):        at android.widget.ListView.fillDown(ListView.java:672)
E/AndroidRuntime(  657):        at android.widget.ListView.fillFromTop(ListView.java:732)
E/AndroidRuntime(  657):        at android.widget.ListView.layoutChildren(ListView.java:1611)
E/AndroidRuntime(  657):        at android.widget.AbsListView.onLayout(AbsListView.java:1865)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1486)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.onLayout(LinearLayout.java:1399)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1617)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.onLayout(LinearLayout.java:1401)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1486)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.onLayout(LinearLayout.java:1399)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1628)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1486)
E/AndroidRuntime(  657):        at android.widget.LinearLayout.onLayout(LinearLayout.java:1399)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
E/AndroidRuntime(  657):        at android.view.View.layout(View.java:11278)
E/AndroidRuntime(  657):        at android.view.ViewGroup.layout(ViewGroup.java:4224)
E/AndroidRuntime(  657):        at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1489)
E/AndroidRuntime(  657):        at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2442)
E/AndroidRuntime(  657):        at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  657):        at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(  657):        at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime(  657):        at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  657):        at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(  657):        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime(  657):        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime(  657):        at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  434):   Force finishing activity com.android.phone/.Settings
W/ActivityManager(  434):   Force finishing activity com.android.settings/.SubSettings
D/dalvikvm(  434): GC_CONCURRENT freed 2302K, 47% free 5843K/10823K, paused 3ms+4ms
W/ActivityManager(  434): Activity pause timeout for ActivityRecord{40e45a28 com.android.phone/.Settings}
D/OpenGLRenderer( 1278): Flushing caches (mode 0)
W/ActivityManager(  434): Activity destroy timeout for ActivityRecord{40e45a28 com.android.phone/.Settings}

Any other suggestions?

Darn... Should have read a couple of pages back, the quote below (page 16 of this thread) is the solution to the problem above, once I changed this everything worked like a charm.
Thanks Poursinet!

Have to change telephony.lteOnCdmaDevice to 0 in build.prop in order to get data working on european GSM network (but it works after that). Phone then pops up the APN menu (doesn't appear with your stock build.prop).

Thanks for your work.
 

thelolotov

Senior Member
Nov 27, 2009
205
46
Last I knew is that Hashcode was working on Kexec. Guess he finally got it up on the solana (Droid 3) and had been pooring most of his time into that. If nightlies go on hold so we can get kexec, I'm happy to wait.:silly:

Yeah, I saw that too, said he was just testing. I'd happily let the ROM go on hold for a month if it meant working Kexec for D4.
 

problematic

Senior Member
Jan 11, 2011
50
11
Yep. We were working late at night and put the nightlies on hold temporarily so compiles didn't conflict.

I expect they'll be back on in a day or 2.

Sent from my XT894 using Tapatalk 2

Came here to see if any progress has been made on the few existing bugs/un-added features, and come to find we'll probably see Jellybean and kexec way sooner than I had expected. Hashcode: never ceases to amaze. So much hope for this device still.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 17
    FLASHING ROMS WILL VOID YOUR WARRANTY AND COULD POTENTIALLY DAMAGE YOUR PHONE -- WHILE I MAKE EVERY ATTEMPT NOT TO LET THIS HAPPEN, IT'S STILL A RISK THAT YOU'RE TAKING. IF SOMETHING BAD SHOULD HAPPEN TO YOUR PHONE, PLEASE DON'T BLAME ME -- HENCE THIS WARNING.

    This isn't so much a ROM announcement as it is a direction to find the unofficial nightly builds of CM9 for the Droid 4 (based on Motorola ICS leaks)

    Download Here from ROMbot

    Download GApps Here (04/29 Goo-Inside GApps Link).
    FLASH THE GAPPS.ZIP FILE AFTER YOU FLASH THE ICS.ZIP


    WHAT do I need to run this ROM?
    - Rooted
    - Running a Motorola ICS leak (.206, .208, .211, etc)
    - I recommend that you run Safestrap v2.00 to install this. Here's how to use Safestrap
    And you can download Safestrap for the Droid 4 (v2.x for ICS-leak users) here:
    Safestrap « Hash-of-Codes

    WHAT can I expect to work right now?
    - 4G and basic phone function
    - All sensors
    - Camera, Panorama and Face-unlock
    - Video Recording
    - HD YouTube
    - Netflix

    Current Known Issues?
    - Data connection is a work in progress. It's MUCH better than it used to be in the old ICS builds, however there is always room for improvement. Due to the "global" data connection style of stock Motorola ICS, this problem will probably continue to be worked on. Feedback is always appreciated, but if you see it posted already then there's a good chance I know about specific issues.
    - Currently, there is a bug in the rotation display of the phone. What I mean is, that when you take the phone and rotate it, the display will squeeze in on itself and then pop back out. This is a *known* issue and I'm working very hard to fix it.
    - The CM9 built-in Wifi Tether won't work. You need to use the "Wifi Tether" app that's bundled into the ROM. Once you open it, hit [menu] and "Settings". Select "Change Device-Profile" to "Generic ICS".
    - I'm sure there's more, I'll update this list here in a bit.

    WHO works on this?
    Myself and @DHacker29 work as a team to build AOSP-based ROMs (and device setups) for several Motorola phones. Typically, I do the coding work in C, C++ or Java while DHacker maintains the blobs, runs merges with CM/AOKP sources, and solves device issues which require less coding.

    WHAT is a "nightly"?
    It's an automated build ran from a script. It basically: deletes the current set of output files, sync's with github, and then attempts to do a brand new build. It can break at times, in which case we'll fix it (usually this happens when there are framework changes which didn't get merged).

    WHY would I want this?
    - Since we work on several devices, this is how we decided to start keeping builds up-to-date. Rather than spend several hours a week on builds and uploading. This happens automatically every night around 2am PST.
    - It's up to you the community to identify good "stable" builds.


    Feel free to follow me on Twitter as I do sometimes make announcements there before I do forum postings:
    Hashcode (@Hashcode0f) on Twitter

    We maintain all of our code at github:
    https://github.com/o...ns/STS-Dev-Team


    Screenshots:
    [ COMING SOON ]
    2
    Reserved for future use
    2
    Well I can assist in your issue.

    I too was skeptical at first about safestrap but its pretty self explanatory.
    You have the concept down that it backs up your original system 1 and creates a system 2 to then be altered and flashed without touching system 1.

    I had the Droid X and that had a locked bootloader as well.
    From my research a locked bootloader just denies the "lowest" level of access to the phone which includes flashing radios and kernels.

    Other than that, Yes you can install D4 Safestrap which acts just as CWM Recovery in order to flash this Rom and or others.

    Remember when flashing to ENABLE safestrap before you flash and always backup, wipe data, cache, and dalvik

    Hope that helps explain some of it to you.

    I have ICS this beta running on my D4 like a champ
    2
    Just tried installing using safestrap and bootlooped. Had to hard reboot to get back to safestrap recovery and back in to stock ROM. Anyone else tried this yet? Might try again tonight when I get home and let the battery charge up a bit.

    Sent from my DROID4 using XDA
    I was able to get it installed and working just fine under safestrap. Did you wipe data, cache, and dalvick?
    2
    I was able to get it installed and working just fine under safestrap. Did you wipe data, cache, and dalvick?

    That was it. First time I've used safestrap. I figured since I did not have a previous ROM installed in Safemode that I did not need to wipe. Went back in, wiped data and cache and now I am in business. Looking good Hash!

    One question though, I tried to wipe dalvik and it said it could not find sd-ext. Any idea what that is about?

    Edit: Feels so good to be flashing ROMs again!!!