• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [UPDATED 8/8/12]Breath of fresh air....an update

Source of the boot problems is surely kernel related. Merging kernel changes is the next step.
 
I wouldnt call AOKP a minimal build, more like another cm kang even though when AOKP started out they were going to build straight from AOSP, they now merge in most of CM's backend stuff at least, as well add in their own coding too. Not taking nothing away from em, just calling what it is... AOSP/CM/AOKP = AOKP ;)

CM = AOSP + added features.
Lol well I learned something today. :-)
 
Fixed the compile. Will it boot? Stay tuned...

EGL is having issues and I'm not sure what to do about it.... :(

Code:
D/libEGL  (  679): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL  (  679): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL  (  679): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL(  679): <qeglDrvAPI_eglInitialize:294>: EGL 1.4 QUALCOMM build: GFXGITP4_AU_LINUX_ANDROID_JB.04.01.01.00.036+PATCH[ES]_msm8960_JB_CL2648890_release_ENGG (CL2648890)
I/Adreno200-EGL(  679): Build Date: 07/31/12 Tue
I/Adreno200-EGL(  679): Local Branch: p4-merge-candidate
I/Adreno200-EGL(  679): Remote Branch: quic/master
I/Adreno200-EGL(  679): Local Patches: 55e064af55e39ed47722bcb6fd79bdab10040164 CL2648890: Oxili HWL : Don't bypass filtering on depth formats if comparison function for look ups is enabled for shadow mapping.
I/Adreno200-EGL(  679):                  bfccf4bb1419e8606fbdcb31bf3472fac4ec72b4 CL2647889: Fixes glComrpessedTexImage so that it checks i
W/Adreno200-EGL(  679): <qeglDrvAPI_eglCreateContext:2324>: EGL_BAD_ALLOC
E/libEGL  (  679): eglMakeCurrent:493 error 3009 (EGL_BAD_MATCH)
E/SurfaceFlinger(  679): Couldn't create a working GLES context. check logs. exiting...
 
Wish I knew more about developing so I could help you more, tdm. You're doing great work though. Thank you.

EDIT: It says adreno 200. Doesn't the spec use adreno 220? Or is it the same thing? Just a thought.
 
This forum has really come to live this past week. I came back after a few days and here is cm9. Come back tonight and we are trying to make cm10 come to life. Awesome work.
 
I'm sure the EGL/adreno issue is simple and stupid, but I tried all the easy stuff to no avail.

I merged branch msm-3.0-jb from the CM iproj kernel and rebuilt. I used the updated kernel headers. I tossed in all the adreno libs from a CM10 nightly. Then all the EGL libs for good measure.

Maybe I'll have better luck tomorrow...
 
New build: quattrimus-VS920-cm9-test3.zip
md5=e296103d8885c841cf4734e2102bc57f

The radio/ril still does not work. GPS depends on the radio so it doesn't work either. Most everything else does.

Visible changes:

* PG's lights fix.
* Cameras work.
* Added bacon.

Under the hood:

* Switched product name to i_vzw for cameras.
* Reworked init scripts to match ics leak.
* Added a handful of proprietary services from ics leak.

Areas for devs to investigate:

/system/bin/qcks is segfaulting at startup. What is this and how does its failure impact operation?

/system/bin/qmiproxy is segfaulting. This is probably a ril/radio related service. It may be part of why the radio doesn't work.

/system/bin/ATFWD-daemon is trying to start a service called AtCmdFwd. This is apparently a proprietary service in the vendor's framework:

Code:
$ strings framework/services.odex | grep AtCmdFwd
AtCmdFwd
AtCmdFwd Service
,Lcom/android/internal/atfwd/AtCmdFwdService;
starting AtCmdFwd Service
$ strings framework/framework2.odex | grep AtCmdFwd
AtCmdFwdService
AtCmdFwdService.java
IAtCmdFwd.java
,Lcom/android/internal/atfwd/AtCmdFwdService;
1Lcom/android/internal/atfwd/IAtCmdFwd$Stub$Proxy;
+Lcom/android/internal/atfwd/IAtCmdFwd$Stub;
&Lcom/android/internal/atfwd/IAtCmdFwd;
$com.android.internal.atfwd.IAtCmdFwd
This may be a part of why the radio doesn't work. "AtCmd" may refer to the radio/modem commands, eg. "AT command" (Hayes modem command set). The modem used in MSM devices doesn't use AT commands, but other devices do (like the OMAP3 based Marquee). Can anyone decompile com.android.internal.atfwd.* so it can be reconstructed and added to the build? That would be a huge help!
TDM, just sent you an email about this, linked you the source i could get from decompiling stock ics framework2

Hope it helps

For anyone else who is interested:
http://www.mediafire.com/?0grgmy1au2khm4m

//Off-topic

I'm back ;)
 
No problem, and thank you.

Let me know if that helps.

It's kinda hard to read but better than raw smali I'm sure.

The AT+CMAR handler is scary...

Code:
  private void processResetCommand()
  {
    String str = Environment.getExternalStorageState();
    if (("bad_removal".equals(str)) || ("removed".equals(str)) || (!this.mSdReset))
    {
      Log.d("AtCmarCmdHandler", " Phone Storage MASTER RESET triggered");
      this.mContext.sendBroadcast(new Intent("android.intent.action.MASTER_CLEAR"));
    }
    while (true)
    {
      return;
      Log.d("AtCmarCmdHandler", " External Storage MASTER RESET triggered");
      Intent localIntent = new Intent("com.android.internal.os.storage.FORMAT_AND_FACTORY_RESET");
      localIntent.setComponent(ExternalStorageFormatter.COMPONENT_NAME);
      this.mContext.startService(localIntent);
    }
  }

I think maybe I'll just implement a stub service and see what kind of requests it gets...
 
Hey d2a, I didn't see any ril classes in that zip. Could you check to see if they are there?

I'm guessing one possible scenario for 3g/lte/gsm is switching the ril class on the fly. But that is going to be almost impossible to implement without a dev that has vzw service and 4g coverage ...
 
there are none in the AtCmdFwd stuff thats just the framework2.jar, need framework.jar?

Edit/Update:

Here are about 6 more framework jars that i decompiled for you:
Code:
*com.lg.mdm.jar      -->      com.lge.mdm.src.zip
*framework.jar        -->      framework.src.zip
*lgsvcitems.jar        -->      lgsvcitems.src.zip
*modemwarmup.jar  -->      modemwarmup.src.zip
*qcnvitems.jar        -->      qcnvitems.src.zip
*qcrilhook.jar          -->      qcrilhook.src.zip

http://www.mediafire.com/?yn5dk14loj02lv1
 
  • Like
Reactions: tdm
Back
Top Bottom