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

Root [ROM] CTMod 3.80 (04/01/13)

has anyone gotten any decent themes going for this one yet? the prevail had tons of themes for ctmod but i havent had much luck finding more than 3 or 4.
 
i think i can't swype cuz this rom is based on zvc and i have zv4 :/ can u please fix it :D id really like to use this rom again but i just like swype too much
 
i think i can't swype cuz this rom is based on zvc and i have zv4 :/ can u please fix it :D id really like to use this rom again but i just like swype too much

That doesn't make any difference and I know it works cause I tested it out before I uploaded it.

After you install it you are enabling it right? You need to long-press on a text field and select input method and select swype.
 
That doesn't make any difference and I know it works cause I tested it out before I uploaded it.

After you install it you are enabling it right? You need to long-press on a text field and select input method and select swype.

yes i have done that many times. its always the same flash of blue border around the keyboard :l
I just reinstalled 3.6.5, installed swype, straight to messaging, enabled swype, and same problem. :confused:
 
running CTMOD 3.6.5 hyper 0.2 kernal everfything works great besides swype . Can i install Markey Beats ?? need help
 
is any one else having issues with bluetooth. as soon i turn it on my phone becomes completely unresponsive i first thought that it may be one of the themes causing the issue but after reflashing i still have the problem.
 
its just a bug in the app, install a different browser if its bothering you and if swype isn't working install swype beta like i mentioned before.

I tried to install it and I got prase error. I even removed Swype and Swype files. I redownloaded it like ten times and got same error :(
 
My 3g is really slow . I'm using the 1.0 hyper Kernal . How can I fix this? Please help

its 3g bro, you can't expect godly speeds from it.

I already optimized the rom to boost 3g as much as I can and there a lot of things can cause it to slow down like weather, time of day, location, the network being worked on, prl, etc.
 
Hey Bloodawn,

I asked monster to include this in Marky Beats, but I have not heard back from him, so I was wondering if you would like to try this out on CTmod.

There is a way to add Virgin Mobile as a carrier for this mod. You will only need to change a few lines of code in framework for the CdmaSMSDispatcher class.

First thing that needs to be added is this method for decoding incoming virgin mobile MMS messages.

Code:
protected static byte[] mmsVirginGetMsgId(byte[] paramArrayOfByte)
  throws CdmaSMSDispatcher.CodingException
  {
	  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId");
	  BitwiseInputStream localBitwiseInputStream;
	  int i;
	  int j;
	  int m;
	  try
	  {
		  localBitwiseInputStream = new BitwiseInputStream(paramArrayOfByte);
		  localBitwiseInputStream.skip(20);
		  i = localBitwiseInputStream.read(8) << 8 | localBitwiseInputStream.read(8);
		  msgref = i;
		  localBitwiseInputStream.skip(12);
		  j = -2 + localBitwiseInputStream.read(8);
		  localBitwiseInputStream.skip(13);
		  byte[] arrayOfByte1 = new byte[j];
		  for (int k = 0; k < j; k++)
			  arrayOfByte1[k] = 0;
		  m = j * 8;
		  if (localBitwiseInputStream.available() < m)
		  {
			  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId inStream.available() = " + localBitwiseInputStream.available() + "wantedBits = " + m);
			  throw new CodingException("insufficient data (wanted " + m + " bits, but only have " + localBitwiseInputStream.available() + ")");
		  }
	  }
	  catch (BitwiseInputStream.AccessException localAccessException)
	  {
		  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId failed: " + localAccessException);
		  throw new CodingException("mmsVirginGetMsgId failed: " + localAccessException);
	  }
	  byte[] arrayOfByte2 = localBitwiseInputStream.readByteArray(m);
	  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId user_length = " + j + "msgid = " + i);
	  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId userdata [0]=" + arrayOfByte2.toString());
	  return arrayOfByte2;
  }

After that it is just a matter of calling this method. In the dispatchMessage method there is a couple lines of code where they initially try to retrieve user data for the message.

Code:
      label335: if ((4098 == j) && (mmsTestBedPushCheck(localSmsMessage.getUserData()) == true))
      {
        this.mms_korea_test = true;
        Log.v("CdmaSMSDispatcher", "[RED] MMS TestBed Return!");
        i = processCdmaWapPdu(mmsTestBedGetMsgId(localSmsMessage.getUserData()), msgref, localSmsMessage.getOriginatingAddress());
        continue;
      }

Right before this is where we need to insert the code to call our virgin mobile function. Virgin Mobile MMS come in encoded with user data returning all 9s so we will check to see if it is a VM mms before trying to decode it. The function throws an error on failure so we will need to enclose it within a try block.

Code:
      Object localObject;
      if ((4098 == j) && (localSmsMessage.getOriginatingAddress().equals("9999999999")))
      {
    	  localObject = null;
    	  try
    	  {
    		  byte[] arrayOfByte1 = mmsVirginGetMsgId(localSmsMessage.getUserData());
    		  localObject = arrayOfByte1;
    	  }
    	  catch (Exception localException)
          {
    		  Log.v("CdmaSMSDispatcher", "[RED] Virgin Mobile Parsing Failed.");
          }
          if (localObject == null)
          {
    		  i = 2;
    		  continue;
    	  }
      }

I hope you will consider including this modification in your rom. I have virgin mobile on my Marquee, and I would love to be able to read my MMS messages sometimes. lol.
 
Hey Bloodawn,

I asked monster to include this in Marky Beats, but I have not heard back from him, so I was wondering if you would like to try this out on CTmod.

There is a way to add Virgin Mobile as a carrier for this mod. You will only need to change a few lines of code in framework for the CdmaSMSDispatcher class.

First thing that needs to be added is this method for decoding incoming virgin mobile MMS messages.

Code:
protected static byte[] mmsVirginGetMsgId(byte[] paramArrayOfByte)
  throws CdmaSMSDispatcher.CodingException
  {
	  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId");
	  BitwiseInputStream localBitwiseInputStream;
	  int i;
	  int j;
	  int m;
	  try
	  {
		  localBitwiseInputStream = new BitwiseInputStream(paramArrayOfByte);
		  localBitwiseInputStream.skip(20);
		  i = localBitwiseInputStream.read(8) << 8 | localBitwiseInputStream.read(8);
		  msgref = i;
		  localBitwiseInputStream.skip(12);
		  j = -2 + localBitwiseInputStream.read(8);
		  localBitwiseInputStream.skip(13);
		  byte[] arrayOfByte1 = new byte[j];
		  for (int k = 0; k < j; k++)
			  arrayOfByte1[k] = 0;
		  m = j * 8;
		  if (localBitwiseInputStream.available() < m)
		  {
			  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId inStream.available() = " + localBitwiseInputStream.available() + "wantedBits = " + m);
			  throw new CodingException("insufficient data (wanted " + m + " bits, but only have " + localBitwiseInputStream.available() + ")");
		  }
	  }
	  catch (BitwiseInputStream.AccessException localAccessException)
	  {
		  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId failed: " + localAccessException);
		  throw new CodingException("mmsVirginGetMsgId failed: " + localAccessException);
	  }
	  byte[] arrayOfByte2 = localBitwiseInputStream.readByteArray(m);
	  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId user_length = " + j + "msgid = " + i);
	  Log.v("CdmaSMSDispatcher", "mmsVirginGetMsgId userdata [0]=" + arrayOfByte2.toString());
	  return arrayOfByte2;
  }

After that it is just a matter of calling this method. In the dispatchMessage method there is a couple lines of code where they initially try to retrieve user data for the message.

Code:
      label335: if ((4098 == j) && (mmsTestBedPushCheck(localSmsMessage.getUserData()) == true))
      {
        this.mms_korea_test = true;
        Log.v("CdmaSMSDispatcher", "[RED] MMS TestBed Return!");
        i = processCdmaWapPdu(mmsTestBedGetMsgId(localSmsMessage.getUserData()), msgref, localSmsMessage.getOriginatingAddress());
        continue;
      }

Right before this is where we need to insert the code to call our virgin mobile function. Virgin Mobile MMS come in encoded with user data returning all 9s so we will check to see if it is a VM mms before trying to decode it. The function throws an error on failure so we will need to enclose it within a try block.

Code:
      Object localObject;
      if ((4098 == j) && (localSmsMessage.getOriginatingAddress().equals("9999999999")))
      {
    	  localObject = null;
    	  try
    	  {
    		  byte[] arrayOfByte1 = mmsVirginGetMsgId(localSmsMessage.getUserData());
    		  localObject = arrayOfByte1;
    	  }
    	  catch (Exception localException)
          {
    		  Log.v("CdmaSMSDispatcher", "[RED] Virgin Mobile Parsing Failed.");
          }
          if (localObject == null)
          {
    		  i = 2;
    		  continue;
    	  }
      }

I hope you will consider including this modification in your rom. I have virgin mobile on my Marquee, and I would love to be able to read my MMS messages sometimes. lol.

I'd have to change stuff in the build.prop and Mms.apk too like I did to get boost working with sprints ZVC rom.

is the marquee your using available on virgin, or did you take a boost/sprint phone and mod the phone to work with it?
 
Hey Blood,
may be a silly question, but was CIQ removed in this ROM? Ive seen it listed as removed on previous versions on other devices, just noticed it wasnt on this list.
 
Hey Blood,
may be a silly question, but was CIQ removed in this ROM? Ive seen it listed as removed on previous versions on other devices, just noticed it wasnt on this list.

I didn't have to remove it cause LG already did it, they removed it in the ZVC/ZV4 update.
 
Back
Top Bottom