• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

[DEVS] Unlocking OMC progress: I HAVE READ ALL NVITEMS!!!

85 posts in this topic

Posted (edited)

Hi guys. See what you can do with these. I decompiled qcnvitems.odex and compiled it into a .jar file, whilst keeping the .smali directory (also attached). What you should find inside this ZIP, is a jar file with all callable classes needed to create the unlock code generator. I am not sure what to do next, as my Eclipse IDE keeps throwing errors, and I don't have any more time (spent 2 hrs!).

I hope you can make something from these. :)

I HAVE SOME NEWS TO ANNOUNCE: USING QPST VERSION 2.7, BUILD 362, I HAVE READ AND BACKED UP "NVITEMS" FROM A BRAND NEW, UNMODDED & UNTOUCHED ORANGE "MONTE CARLO" PHONE!

I PUT THE HANDSET INTO "FTM MODE" (HOLD DOWN VOL MINUS WHILST QUICKLY PRESSING POWER, UNTIL YOU SEE A BLACK SCREEN WITH A WHITE RECTANGLE INSIDE IT, WITH "FTM" DISPLAYED INSIDE THE WHITE RECTANGLE.) NEXT, CONNECT VIA QPST AND SELECT "EFS EXPLORER", AND READ OUT THOSE ITEMS!

NOW, QPST SEES AND READS MY OMC! - WOOOT

If you want backups of my nvitems to analyse, pm me and I'll send to trusted parties

Resources_qualcomm.zip

Edited by glossywhite
2

Share this post


Link to post
Share on other sites

Posted

Come on you guys! If eight of you (so far) have downloaded this, at least ONE of you must have something to say about it, surely. I don't expect a thank you, but at least say what you're thinking! :)

0

Share this post


Link to post
Share on other sites

Posted

What's that virtue you so often preach on this forum, Glossywhite?

Patience, Padawan, patience.

0

Share this post


Link to post
Share on other sites

Posted (edited)

ALL IMAGES DISPLAYED IN ORDER OF SOURCE CODE LISTINGS:

Okay, making some real progress now. I have this working:

package com.hope.is;


import android.app.Activity;

import android.os.Bundle;

import android.widget.TextView;

import com.android.qualcomm.qcnvitems.*;


import java.io.IOException;




public class unlockthisnow extends Activity {

   	/** Called when the activity is first created. */

   	@Override

   	public void onCreate(Bundle savedInstanceState) {

   		super.onCreate(savedInstanceState);

   		TextView tv = new TextView(this);

   		QcNvItems newqc = new QcNvItems();


			try {

				tv.setText (newqc.get_nv_sys_sw_ver());

			} catch (IOException e) {

				// TODO Auto-generated catch block

				e.printStackTrace();

			}


   		setContentView(tv);

   	}

	}

So something is working, from that QcNvItems and its' classes! Also, this code:
package com.hope.is;


import android.app.Activity;

import android.os.Bundle;

import android.widget.TextView;

import com.android.qualcomm.qcnvitems.*;


import java.io.IOException;




public class unlockthisnow extends Activity {

   	/** Called when the activity is first created. */

   	@Override

   	public void onCreate(Bundle savedInstanceState) {

   		super.onCreate(savedInstanceState);

   		TextView tv = new TextView(this);

   		QcNvItems newqc = new QcNvItems();


			try {

				tv.setText (newqc.getBand());

			} catch (IOException e) {

				// TODO Auto-generated catch block

				e.printStackTrace();

			}


   		setContentView(tv);

   	}

	}

And this...
package com.hope.is;


import android.app.Activity;

import android.os.Bundle;

import android.widget.TextView;

import com.android.qualcomm.qcnvitems.*;


import java.io.IOException;




public class unlockthisnow extends Activity {

       /** Called when the activity is first created. */

       @Override

       public void onCreate(Bundle savedInstanceState) {

       	super.onCreate(savedInstanceState);

       	TextView tv = new TextView(this);

       	QcNvItems newqc = new QcNvItems();


			try {

				tv.setText (newqc.getemmanufactoryInfo());

			} catch (IOException e) {

				// TODO Auto-generated catch block

				e.printStackTrace();

			}


       	setContentView(tv);

       }

	}

Updates as and when they come... :P

post-625969-0-14099900-1319037374_thumb.

post-625969-0-49114900-1319037605_thumb.

post-625969-0-69943100-1319037871_thumb.

Edited by glossywhite
2

Share this post


Link to post
Share on other sites

Posted (edited)

What is that code on the 3rd picture? I mean number.

Edited by Navie
0

Share this post


Link to post
Share on other sites

Posted

What is that code on the 3rd picture? I mean number.

newqc.getemmanufactoryInfo

0

Share this post


Link to post
Share on other sites

Posted

Are you able to get an sort of numbers out from what you are doing? Which you think may link to an unlock code?

0

Share this post


Link to post
Share on other sites

Posted

Try getlockcode or get_lock_code - does it work?

0

Share this post


Link to post
Share on other sites

Posted

Try getlockcode or get_lock_code - does it work?

getLockCode()

returns nothing - blank, but I won't give up! :D

0

Share this post


Link to post
Share on other sites

Posted

getLockCode()

returns nothing - blank, but I won't give up! :D

Try all variations - getlockcode get_lock_code getLock_code etc.

0

Share this post


Link to post
Share on other sites

Posted

Try all variations - getlockcode get_lock_code getLock_code etc.

I am, don't you worry! Peace be with you, I'm working hard on this.

0

Share this post


Link to post
Share on other sites

Posted (edited)

To be honest i'm amazed how you guys know how to do this kind of stuff :lol:

Glossy may I ask how you are doing this?...i'm no phone hacker so I have no idea.

Edited by Navie
0

Share this post


Link to post
Share on other sites

Posted

To be honest i'm amazed how you guys know how to do this kind of stuff :lol:

Glossy may I ask how you are doing this?...i'm no phone hacker so I have no idea.

Nor am I! I'm relatively new to Android dev & Java, but I am just using common sense... hard to explain experience, without you experiencing it... sorry!

0

Share this post


Link to post
Share on other sites

Posted

Nor am I! I'm relatively new to Android dev & Java, but I am just using common sense... hard to explain experience, without you experiencing it... sorry!

I'm just super excited that's all - could you be the person that finally creates the unlock code generator?

1

Share this post


Link to post
Share on other sites

Posted

I'm just super excited that's all - could you be the person that finally creates the unlock code generator?

Wouldn't that be nice! If I do, it's gonna be a freebie! :)

2

Share this post


Link to post
Share on other sites

Posted

Wouldn't that be nice! If I do, it's gonna be a freebie! :)

Well thank god for that :)

0

Share this post


Link to post
Share on other sites

Posted (edited)

Wouldn't that be nice! If I do, it's gonna be a freebie! :)

i wish you every success rolleyes.gif hate orangemad.gif

Edited by philmein
1

Share this post


Link to post
Share on other sites

Posted

LogCat output for any developers that can help, while calling getLockCode()

It seems an error is preventing nv items being read... but why?

post-625969-0-41336200-1319044697_thumb.

0

Share this post


Link to post
Share on other sites

Posted

LogCat output for any developers that can help, while calling getLockCode()

It seems an error is preventing nv items being read... but why?

What ROM are you using?

0

Share this post


Link to post
Share on other sites

Posted

What ROM are you using?

I am using BlueMonte - why?

0

Share this post


Link to post
Share on other sites

Posted

I am using BlueMonte - why?

I would return to stock odexed orange - the error seems to be in RIL and could have been caused by a mod tillaz made.

0

Share this post


Link to post
Share on other sites

Posted

I would return to stock odexed orange - the error seems to be in RIL and could have been caused by a mod tillaz made.

Would you tell me if I can temporarily revert to this using clockworkmod, and point me to the correct ROM file please? Thanks! :)

0

Share this post


Link to post
Share on other sites

Posted (edited)

In CWM do a backup before flashing http://loadbalancing...bdaqo33olngwqo.

Thanks dude! Will keep you posted :)

[EDIT]

PS: What is "RIL"?

Edited by glossywhite
0

Share this post


Link to post
Share on other sites

Posted (edited)

matt@(none):~/Downloads/android-sdk-linux_x86/platform-tools/smalietc$ java -jar baksmali-1.2.8.jar -x -d framework -o out qcnvitems.odex 

Error while disassembling method Lcom/android/qualcomm/qcnvitems/QcNvItems;->doNvRead(I)[B. Continuing.

org.jf.dexlib.Code.Analysis.ValidationException: class Lcom/android/qualcomm/qcrilhook/QcRilHook; cannot be resolved.

	at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.unresolvedValidationException(ClassPath.java:535)

	at org.jf.dexlib.Code.Analysis.ClassPath$UnresolvedClassDef.getClassDepth(ClassPath.java:543)

	at org.jf.dexlib.Code.Analysis.ClassPath.getCommonSuperclass(ClassPath.java:383)

	at org.jf.dexlib.Code.Analysis.RegisterType.merge(RegisterType.java:275)

	at org.jf.dexlib.Code.Analysis.AnalyzedInstruction.mergeRegister(AnalyzedInstruction.java:185)

	at org.jf.dexlib.Code.Analysis.MethodAnalyzer.propagateRegisterToSuccessors(MethodAnalyzer.java:444)

	at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setPostRegisterTypeAndPropagateChanges(MethodAnalyzer.java:424)

	at org.jf.dexlib.Code.Analysis.MethodAnalyzer.setDestinationRegisterTypeAndPropagateChanges(MethodAnalyzer.java:396)

	at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeIgetWideObject(MethodAnalyzer.java:2601)

	at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:776)

	at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:208)

	at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:370)

	at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:292)

	at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)

	at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:323)

	at org.jf.baksmali.Adaptors.ClassDefinition.writeDirectMethods(ClassDefinition.java:292)

	at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:136)

	at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:201)

	at org.jf.baksmali.main.main(main.java:282)

opcode: iget-object

CodeAddress: 11

It looks like Qualcomm radio interface layer (qcrilhook) is either missing, broken, not seen or something else... ideas?

Edited by glossywhite
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.